apache / openwhisk-apigateway

Apache OpenWhisk API Gateway service for exposing actions as REST interfaces.
https://openwhisk.apache.org/
Apache License 2.0
64 stars 45 forks source link

Travis constantly raises the following issue #279

Closed houshengbo closed 6 years ago

houshengbo commented 6 years ago
Removing intermediate container 96ecc3bc4399
Step 6/16 : RUN echo " ... adding Openresty, NGINX, NAXSI and PCRE"      && mkdir -p /tmp/api-gateway      && readonly NPROC=$(grep -c ^processor /proc/cpuinfo 2>/dev/null || 1)      && echo "using up to $NPROC threads"      && cd /tmp/api-gateway/      && curl -k -L https://github.com/nbs-system/naxsi/archive/${NAXSI_VERSION}.tar.gz -o /tmp/api-gateway/naxsi-${NAXSI_VERSION}.tar.gz      && curl -k -L http://downloads.sourceforge.net/project/pcre/pcre/${PCRE_VERSION}/pcre-${PCRE_VERSION}.tar.gz -o /tmp/api-gateway/pcre-${PCRE_VERSION}.tar.gz      && curl -k -L https://openresty.org/download/openresty-${OPENRESTY_VERSION}.tar.gz -o /tmp/api-gateway/openresty-${OPENRESTY_VERSION}.tar.gz      && tar -zxf ./openresty-${OPENRESTY_VERSION}.tar.gz      && tar -zxf ./pcre-${PCRE_VERSION}.tar.gz      && tar -zxf ./naxsi-${NAXSI_VERSION}.tar.gz      && cd /tmp/api-gateway/openresty-${OPENRESTY_VERSION}      && if [ x`uname -m` = xs390x ]; then           luajitdir="=/usr/local/"    pcrejit=""         ; elif [ x`uname -m` = xppc64le ]; then           luajitdir="=/usr/local/"           pcrejit="--with-pcre-jit"         ; else    luajitdir=""    pcrejit="--with-pcre-jit"     ; fi      && echo "        - building debugging version of the api-gateway ... "      && ./configure             --prefix=${_exec_prefix}/api-gateway             --sbin-path=${_sbindir}/api-gateway-debug             --conf-path=${_sysconfdir}/api-gateway/api-gateway.conf             --error-log-path=${_localstatedir}/log/api-gateway/error.log             --http-log-path=${_localstatedir}/log/api-gateway/access.log             --pid-path=${_localstatedir}/run/api-gateway.pid             --lock-path=${_localstatedir}/run/api-gateway.lock             --add-module=../naxsi-${NAXSI_VERSION}/naxsi_src/             --with-pcre=../pcre-${PCRE_VERSION}/ ${pcrejit}             --with-stream             --with-stream_ssl_module             --with-http_ssl_module             --with-http_stub_status_module             --with-http_realip_module             --with-http_addition_module             --with-http_sub_module             --with-http_dav_module             --with-http_geoip_module             --with-http_gunzip_module              --with-http_gzip_static_module             --with-http_auth_request_module             --with-http_random_index_module             --with-http_secure_link_module             --with-http_degradation_module             --with-http_auth_request_module              --with-http_v2_module             --with-luajit${luajitdir}             --without-http_ssi_module             --without-http_userid_module             --without-http_uwsgi_module             --without-http_scgi_module             --with-debug             -j${NPROC}     && make -j${NPROC}     && make install     && echo "        - building regular version of the api-gateway ... "     && ./configure             --prefix=${_exec_prefix}/api-gateway             --sbin-path=${_sbindir}/api-gateway             --conf-path=${_sysconfdir}/api-gateway/api-gateway.conf             --error-log-path=${_localstatedir}/log/api-gateway/error.log             --http-log-path=${_localstatedir}/log/api-gateway/access.log             --pid-path=${_localstatedir}/run/api-gateway.pid             --lock-path=${_localstatedir}/run/api-gateway.lock             --add-module=../naxsi-${NAXSI_VERSION}/naxsi_src/             --with-pcre=../pcre-${PCRE_VERSION}/ ${pcrejit}             --with-stream             --with-stream_ssl_module             --with-http_ssl_module             --with-http_stub_status_module             --with-http_realip_module             --with-http_addition_module             --with-http_sub_module             --with-http_dav_module             --with-http_geoip_module             --with-http_gunzip_module              --with-http_gzip_static_module             --with-http_auth_request_module             --with-http_random_index_module             --with-http_secure_link_module             --with-http_degradation_module             --with-http_auth_request_module              --with-http_v2_module             --with-luajit${luajitdir}             --without-http_ssi_module             --without-http_userid_module             --without-http_uwsgi_module             --without-http_scgi_module             -j${NPROC}     && make -j${NPROC}     && make install     && echo "        - adding Nginx Test support"     && curl -k -L https://github.com/openresty/test-nginx/archive/v${TEST_NGINX_VERSION}.tar.gz -o ${_prefix}/test-nginx-${TEST_NGINX_VERSION}.tar.gz     && cd ${_prefix}     && tar -xf ${_prefix}/test-nginx-${TEST_NGINX_VERSION}.tar.gz     && rm ${_prefix}/test-nginx-${TEST_NGINX_VERSION}.tar.gz     && cp -r ${_prefix}/test-nginx-0.24/inc/* /usr/local/share/perl5/site_perl/     && ln -s ${_sbindir}/api-gateway-debug ${_sbindir}/nginx     && cp /tmp/api-gateway/openresty-${OPENRESTY_VERSION}/build/install ${_prefix}/api-gateway/bin/resty-install     && apk del g++ gcc make     && rm -rf /var/cache/apk/*     && rm -rf /tmp/api-gateway
 ---> Running in ef4ab6c0d79f
 ... adding Openresty, NGINX, NAXSI and PCRE
using up to 2 threads
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
100   124    0   124    0     0    601      0 --:--:-- --:--:-- --:--:--   599
100  161k    0  161k    0     0   334k      0 --:--:-- --:--:-- --:--:--  334k
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
  0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0curl: (7) Failed to connect to downloads.sourceforge.net port 80: Connection refused
The command '/bin/sh -c echo " ... adding Openresty, NGINX, NAXSI and PCRE"      && mkdir -p /tmp/api-gateway      && readonly NPROC=$(grep -c ^processor /proc/cpuinfo 2>/dev/null || 1)      && echo "using up to $NPROC threads"      && cd /tmp/api-gateway/      && curl -k -L https://github.com/nbs-system/naxsi/archive/${NAXSI_VERSION}.tar.gz -o /tmp/api-gateway/naxsi-${NAXSI_VERSION}.tar.gz      && curl -k -L http://downloads.sourceforge.net/project/pcre/pcre/${PCRE_VERSION}/pcre-${PCRE_VERSION}.tar.gz -o /tmp/api-gateway/pcre-${PCRE_VERSION}.tar.gz      && curl -k -L https://openresty.org/download/openresty-${OPENRESTY_VERSION}.tar.gz -o /tmp/api-gateway/openresty-${OPENRESTY_VERSION}.tar.gz      && tar -zxf ./openresty-${OPENRESTY_VERSION}.tar.gz      && tar -zxf ./pcre-${PCRE_VERSION}.tar.gz      && tar -zxf ./naxsi-${NAXSI_VERSION}.tar.gz      && cd /tmp/api-gateway/openresty-${OPENRESTY_VERSION}      && if [ x`uname -m` = xs390x ]; then           luajitdir="=/usr/local/"    pcrejit=""         ; elif [ x`uname -m` = xppc64le ]; then           luajitdir="=/usr/local/"           pcrejit="--with-pcre-jit"         ; else    luajitdir=""    pcrejit="--with-pcre-jit"     ; fi      && echo "        - building debugging version of the api-gateway ... "      && ./configure             --prefix=${_exec_prefix}/api-gateway             --sbin-path=${_sbindir}/api-gateway-debug             --conf-path=${_sysconfdir}/api-gateway/api-gateway.conf             --error-log-path=${_localstatedir}/log/api-gateway/error.log             --http-log-path=${_localstatedir}/log/api-gateway/access.log             --pid-path=${_localstatedir}/run/api-gateway.pid             --lock-path=${_localstatedir}/run/api-gateway.lock             --add-module=../naxsi-${NAXSI_VERSION}/naxsi_src/             --with-pcre=../pcre-${PCRE_VERSION}/ ${pcrejit}             --with-stream             --with-stream_ssl_module             --with-http_ssl_module             --with-http_stub_status_module             --with-http_realip_module             --with-http_addition_module             --with-http_sub_module             --with-http_dav_module             --with-http_geoip_module             --with-http_gunzip_module              --with-http_gzip_static_module             --with-http_auth_request_module             --with-http_random_index_module             --with-http_secure_link_module             --with-http_degradation_module             --with-http_auth_request_module              --with-http_v2_module             --with-luajit${luajitdir}             --without-http_ssi_module             --without-http_userid_module             --without-http_uwsgi_module             --without-http_scgi_module             --with-debug             -j${NPROC}     && make -j${NPROC}     && make install     && echo "        - building regular version of the api-gateway ... "     && ./configure             --prefix=${_exec_prefix}/api-gateway             --sbin-path=${_sbindir}/api-gateway             --conf-path=${_sysconfdir}/api-gateway/api-gateway.conf             --error-log-path=${_localstatedir}/log/api-gateway/error.log             --http-log-path=${_localstatedir}/log/api-gateway/access.log             --pid-path=${_localstatedir}/run/api-gateway.pid             --lock-path=${_localstatedir}/run/api-gateway.lock             --add-module=../naxsi-${NAXSI_VERSION}/naxsi_src/             --with-pcre=../pcre-${PCRE_VERSION}/ ${pcrejit}             --with-stream             --with-stream_ssl_module             --with-http_ssl_module             --with-http_stub_status_module             --with-http_realip_module             --with-http_addition_module             --with-http_sub_module             --with-http_dav_module             --with-http_geoip_module             --with-http_gunzip_module              --with-http_gzip_static_module             --with-http_auth_request_module             --with-http_random_index_module             --with-http_secure_link_module             --with-http_degradation_module             --with-http_auth_request_module              --with-http_v2_module             --with-luajit${luajitdir}             --without-http_ssi_module             --without-http_userid_module             --without-http_uwsgi_module             --without-http_scgi_module             -j${NPROC}     && make -j${NPROC}     && make install     && echo "        - adding Nginx Test support"     && curl -k -L https://github.com/openresty/test-nginx/archive/v${TEST_NGINX_VERSION}.tar.gz -o ${_prefix}/test-nginx-${TEST_NGINX_VERSION}.tar.gz     && cd ${_prefix}     && tar -xf ${_prefix}/test-nginx-${TEST_NGINX_VERSION}.tar.gz     && rm ${_prefix}/test-nginx-${TEST_NGINX_VERSION}.tar.gz     && cp -r ${_prefix}/test-nginx-0.24/inc/* /usr/local/share/perl5/site_perl/     && ln -s ${_sbindir}/api-gateway-debug ${_sbindir}/nginx     && cp /tmp/api-gateway/openresty-${OPENRESTY_VERSION}/build/install ${_prefix}/api-gateway/bin/resty-install     && apk del g++ gcc make     && rm -rf /var/cache/apk/*     && rm -rf /tmp/api-gateway' returned a non-zero code: 7
mhamann commented 6 years ago

Fixed via #280.