Skip to content

tests: bumped the NGINX core to 1.29.4.

9a624b6
Select commit
Loading
Failed to load commit list.
Open

tests: bumped the NGINX core to 1.29.4. #518

tests: bumped the NGINX core to 1.29.4.
9a624b6
Select commit
Loading
Failed to load commit list.
Travis CI / Travis CI - Pull Request cancelled Dec 17, 2025 in 2m 16s

Build Canceled

The build canceled, just like the previous build.

Details

This is a pull request build.

It is running a build against the merge commit, after merging #518 tests: bumped the NGINX core to 1.29.4..
Any changes that have been made to the master branch before the build ran are also included.

Jobs and Stages

This build only has a single job.
You can use jobs to test against multiple versions of your runtime or dependencies, or to speed up your build.

Build Configuration

Build Option Setting
Language C
Operating System Linux (Focal)
Compiler Version gcc
Build Configuration
{
  "language": "c",
  "os": [
    "linux"
  ],
  "dist": "focal",
  "sudo": true,
  "branches": {
    "only": [
      "master"
    ]
  },
  "compiler": [
    "gcc"
  ],
  "addons": {
    "apt": {
      "packages": [
        "axel",
        "luarocks",
        "daemonize",
        "lsb-release",
        "wget",
        "gnupg",
        "ca-certificates"
      ]
    }
  },
  "cache": {
    "directories": [
      "download-cache"
    ]
  },
  "env": [
    "global={:JOBS=>\"2\"}={:NGX_BUILD_JOBS=>\"$JOBS\"}={:LUAJIT_PREFIX=>\"/opt/luajit21\"}={:LUAJIT_LIB=>\"$LUAJIT_PREFIX/lib\"}={:LUAJIT_INC=>\"$LUAJIT_PREFIX/include/luajit-2.1\"}={:LUA_INCLUDE_DIR=>\"$LUAJIT_INC\"}={:LUA_CMODULE_DIR=>\"/lib\"}={:PCRE2_VER=>\"10.46\"}={:PCRE2_PREFIX=>\"/usr/local/openresty/pcre2\"}={:PCRE2_LIB=>\"$PCRE2_PREFIX/lib\"}={:PCRE2_INC=>\"$PCRE2_PREFIX/include\"}={:OPENSSL_PREFIX=>\"/usr/local/openresty/openssl3\"}={:OPENSSL_LIB=>\"$OPENSSL_PREFIX/lib\"}={:OPENSSL_INC=>\"$OPENSSL_PREFIX/include\"}={:LD_LIBRARY_PATH=>\"$LUAJIT_LIB:$LD_LIBRARY_PATH\"}={:TEST_NGINX_SLEEP=>\"0.005\"}={:TEST_NGINX_RANDOMIZE=>\"1\"}={:LUACHECK_VER=>\"0.21.1\"} jobs={:NGINX_VERSION=>\"1.29.4\", :OPENSSL_VER=>\"3.5.4\", :OPENSSL_PATCH_VER=>\"3.5.4\"}"
  ],
  "services": [
    "memcached"
  ],
  "before_install": [
    "sudo luarocks install luacheck $LUACHECK_VER",
    "luacheck --globals coroutine -q .",
    "! grep -n -P '(?<=.{80}).+' --color `find . -name '*.lua'` || (echo \"ERROR: Found Lua source lines exceeding 80 columns.\" > /dev/stderr; exit 1)",
    "! grep -n -P '\\t+' --color `find . -name '*.lua'` || (echo \"ERROR: Cannot use tabs.\" > /dev/stderr; exit 1)",
    "cpanm --sudo --notest Test::Nginx IPC::Run > build.log 2>&1 || (cat build.log && exit 1)",
    "wget -O - https://openresty.org/package/pubkey.gpg | sudo apt-key add -",
    "echo \"deb http://openresty.org/package/ubuntu $(lsb_release -sc) main\" | sudo tee /etc/apt/sources.list.d/openresty.list",
    "sudo apt-get update",
    "sudo DEBIAN_FRONTEND=noninteractive apt-get install -y --no-install-recommends openresty-pcre2 openresty-openssl3 openresty-pcre2-dev openresty-openssl3-dev"
  ],
  "install": [
    "if [ ! -d download-cache ]; then mkdir download-cache; fi",
    "git clone https://github.com/openresty/openresty.git ../openresty",
    "git clone https://github.com/openresty/openresty-devel-utils.git",
    "git clone https://github.com/simpl/ngx_devel_kit.git ../ndk-nginx-module",
    "git clone https://github.com/openresty/lua-nginx-module.git ../lua-nginx-module",
    "git clone https://github.com/openresty/no-pool-nginx.git ../no-pool-nginx",
    "git clone https://github.com/openresty/echo-nginx-module.git ../echo-nginx-module",
    "git clone https://github.com/openresty/lua-resty-lrucache.git",
    "git clone https://github.com/openresty/headers-more-nginx-module.git ../headers-more-nginx-module",
    "git clone -b v2.1-agentzh https://github.com/openresty/luajit2.git luajit2",
    "git clone https://github.com/openresty/set-misc-nginx-module.git ../set-misc-nginx-module",
    "git clone https://github.com/openresty/mockeagain.git",
    "git clone https://github.com/openresty/test-nginx.git",
    "git clone https://github.com/openresty/stream-lua-nginx-module.git ../stream-lua-nginx-module"
  ],
  "script": [
    "cd luajit2/",
    "make -j$JOBS CCDEBUG=-g Q= PREFIX=$LUAJIT_PREFIX CC=$CC XCFLAGS='-DLUA_USE_APICHECK -DLUA_USE_ASSERT -msse4.2 -O1 -DLUAJIT_SECURITY_STRID=0 -DLUAJIT_SECURITY_STRHASH=0 -DLUAJIT_SECURITY_PRNG=0 -DLUAJIT_SECURITY_MCODE=0 -DLUAJIT_TEST_FIXED_ORDER' > build.log 2>&1 || (cat build.log && exit 1)",
    "sudo make install PREFIX=$LUAJIT_PREFIX > build.log 2>&1 || (cat build.log && exit 1)",
    "cd ..",
    "cd lua-resty-lrucache && sudo make DESTDIR=$LUAJIT_PREFIX LUA_LIB_DIR=/share/lua/5.1 install && cd ..",
    "cd mockeagain/ && make CC=$CC -j$JOBS && cd ..",
    "export PATH=$PWD/work/nginx/sbin:$PWD/openresty-devel-utils:$PATH",
    "export LD_PRELOAD=$PWD/mockeagain/mockeagain.so",
    "export LD_LIBRARY_PATH=$PWD/mockeagain:$LD_LIBRARY_PATH",
    "export TEST_NGINX_RESOLVER=8.8.4.4",
    "export NGX_BUILD_CC=$CC",
    "ngx-build $NGINX_VERSION --with-http_v3_module --with-http_v2_module --with-http_realip_module --with-http_ssl_module --with-pcre-jit --with-cc-opt=\"-I$OPENSSL_INC -I$PCRE2_INC\" --with-ld-opt=\"-L$OPENSSL_LIB -Wl,-rpath,$OPENSSL_LIB -L$PCRE2_LIB -Wl,-rpath,$PCRE2_LIB\" --add-module=../ndk-nginx-module --add-module=../echo-nginx-module --add-module=../set-misc-nginx-module --add-module=../headers-more-nginx-module --add-module=../lua-nginx-module --with-debug --with-stream_ssl_module --with-stream --with-ipv6 --add-module=../stream-lua-nginx-module > build.log 2>&1 || (cat build.log && exit 1)",
    "nginx -V",
    "ldd `which nginx`|grep -E 'luajit|ssl|pcre'",
    "prove -I. -Itest-nginx/lib -j$JOBS -r t"
  ]
}