feat(req): use sliding window technique for RPS req.lua - #84
Open
epsilon-0 wants to merge 1 commit into
Open
Travis CI / Travis CI - Pull Request
failed
Oct 18, 2025 in 6m 37s
Build Failed
The build failed. This is a change from the previous build, which canceled.
Details
This is a pull request build.
It is running a build against the merge commit, after merging #84 feat: use sliding window technique for RPS req.lua.
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"
],
"env": [
"global={:JOBS=>\"3\"}={: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\"}={:OPENSSL_PREFIX=>\"/opt/ssl\"}={:OPENSSL_LIB=>\"$OPENSSL_PREFIX/lib\"}={:OPENSSL_INC=>\"$OPENSSL_PREFIX/include\"}={:TEST_NGINX_MYSQL_PATH=>\"/var/run/mysqld/mysqld.sock\"}={:LD_LIBRARY_PATH=>\"$LUAJIT_LIB:$LD_LIBRARY_PATH\"}={:TEST_NGINX_SLEEP=>\"0.006\"} jobs={:NGINX_VERSION=>\"1.27.1\", :OPENSSL_VER=>\"1.1.1w\", :OPENSSL_PATCH_VER=>\"1.1.1f\"}"
],
"before_install": [
"sudo apt-get install -qq -y axel cpanminus > build.log 2>&1 || (cat build.log && exit 1)"
],
"install": [
"if [ ! -f download-cache/openssl-$OPENSSL_VER.tar.gz ]; then wget -P download-cache https://www.openssl.org/source/openssl-$OPENSSL_VER.tar.gz || wget -P download-cache https://www.openssl.org/source/old/${OPENSSL_VER//[a-z]/}/openssl-$OPENSSL_VER.tar.gz; fi",
"git clone https://github.com/openresty/test-nginx.git",
"git clone https://github.com/openresty/openresty.git ../openresty",
"git clone https://github.com/openresty/nginx-devel-utils.git",
"git clone https://github.com/openresty/lua-cjson.git",
"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/lua-resty-lrucache.git ../lua-resty-lrucache",
"git clone https://github.com/openresty/lua-resty-core.git ../lua-resty-core",
"git clone -b v2.1-agentzh https://github.com/openresty/luajit2.git"
],
"script": [
"cd test-nginx && (sudo cpanm . > build.log 2>&1 || (cat build.log && exit 1)) && cd ..",
"cd luajit2/",
"make -j$JOBS CCDEBUG=-g Q= PREFIX=$LUAJIT_PREFIX CC=$CC XCFLAGS='-DLUA_USE_APICHECK -DLUA_USE_ASSERT -msse4.2' > 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-cjson && make && sudo PATH=$PATH make install && cd ..",
"tar zxf download-cache/openssl-$OPENSSL_VER.tar.gz",
"cd openssl-$OPENSSL_VER/",
"patch -p1 < ../../openresty/patches/openssl-$OPENSSL_PATCH_VER-sess_set_get_cb_yield.patch",
"./config no-threads shared enable-ssl3 enable-ssl3-method -g --prefix=$OPENSSL_PREFIX -DPURIFY > build.log 2>&1 || (cat build.log && exit 1)",
"make -j$JOBS > build.log 2>&1 || (cat build.log && exit 1)",
"sudo make PATH=$PATH install_sw > build.log 2>&1 || (cat build.log && exit 1)",
"cd ..",
"export PATH=$PWD/work/nginx/sbin:$PWD/nginx-devel-utils:$PATH",
"ngx-build $NGINX_VERSION --without-pcre2 --with-ipv6 --with-http_realip_module --with-http_ssl_module --add-module=../lua-nginx-module --with-debug --with-cc-opt=\"-I$OPENSSL_INC\" --with-ld-opt=\"-L$OPENSSL_LIB -Wl,-rpath,$OPENSSL_LIB\" > build.log 2>&1 || (cat build.log && exit 1)",
"prove -I. -r t"
]
}
Loading