Opened 3 years ago

Closed 3 years ago

#2194 closed defect (invalid)

1.21.0: test suite is failing

Reported by: kloczek@… Owned by:
Priority: minor Milestone:
Component: documentation Version: 1.19.x
Keywords: Cc:
uname -a: Linux barrel 5.11.19-300.fc34.x86_64 #1 SMP Fri May 7 14:17:15 UTC 2021 x86_64 x86_64 x86_64 GNU/Linux
nginx -V: [tkloczko@barrel objs]$ ./nginx -V
nginx version: nginx/1.21.0
built with OpenSSL 1.1.1k FIPS 25 Mar 2021
TLS SNI support enabled
configure arguments: --add-dynamic-module=nginx-module-sts-0.1.1 --add-dynamic-module=nginx-module-stream-sts-0.1.1 --conf-path=/etc/nginx/nginx.conf --error-log-path=/var/log/nginx/error.log --group=nginx --http-client-body-temp-path=/var/lib/nginx/tmp/client_body --http-fastcgi-temp-path=/var/lib/nginx/tmp/fastcgi --http-log-path=/var/log/nginx/access.log --http-proxy-temp-path=/var/lib/nginx/tmp/proxy --http-scgi-temp-path=/var/lib/nginx/tmp/scgi --http-uwsgi-temp-path=/var/lib/nginx/tmp/uwsgi --lock-path=/run/lock/subsys/nginx --modules-path=/usr/lib64/nginx/modules --pid-path=/run/nginx.pid --prefix=/usr/share/nginx --sbin-path=/usr/sbin/nginx --user=nginx --with-compat --with-debug --with-file-aio --with-http_addition_module --with-http_auth_request_module --with-http_dav_module --with-http_degradation_module --with-http_degradation_module --with-http_flv_module --with-http_geoip_module=dynamic --with-http_gunzip_module --with-http_gzip_static_module --with-http_image_filter_module=dynamic --with-http_mp4_module --with-http_perl_module=dynamic --with-http_random_index_module --with-http_realip_module --with-http_secure_link_module --with-http_slice_module --with-http_ssl_module --with-http_stub_status_module --with-http_sub_module --with-http_v2_module --with-http_xslt_module=dynamic --with-ipv6 --with-mail=dynamic --with-mail_ssl_module --with-pcre --with-pcre-jit --with-stream=dynamic --with-stream_geoip_module=dynamic --with-stream_realip_module --with-stream_ssl_module --with-stream_ssl_preread_module --with-threads

Description

+ cd nginx-1.21.0
+ cd nginx-tests-master
+ TEST_NGINX_BINARY=../objs/nginx
+ prove . -j48
./binary_upgrade.t ......................... skipped: can leave orphaned process group
./geo_binary.t ............................. skipped: long configuration parsing
./access_log_variables.t ................... ok
./addition_buffered.t ...................... ok
./addition.t ............................... ok
./access.t ................................. ok
./auth_basic.t ............................. ok
./auth_request_satisfy.t ................... ok
./auth_request_set.t ....................... ok
./autoindex.t .............................. ok
./autoindex_format.t ....................... ok
./auth_request.t ........................... ok
./charset.t ................................ ok
./body_chunked.t ........................... ok
./dav.t .................................... ok
./config_dump.t ............................ ok
./gunzip_memcached.t ....................... skipped: Cache::Memcached not installed
./fastcgi_body.t ........................... ok
./fastcgi_buffering.t ...................... ok
./charset_gzip_static.t .................... ok
./dav_chunked.t ............................ ok
./fastcgi_header_params.t .................. ok
./empty_gif.t .............................. ok
./fastcgi.t ................................ ok
./error_log.t .............................. ok
./body.t ................................... ok
./access_log.t ............................. ok
./fastcgi_cache.t .......................... ok
./fastcgi_merge_params2.t .................. ok
./fastcgi_extra_data.t ..................... ok
./fastcgi_merge_params.t ................... ok
./fastcgi_split.t .......................... ok
./fastcgi_variables.t ...................... ok
./geo_unix.t ............................... ok
./fastcgi_unix.t ........................... ok
./geo_ipv6.t ............................... ok
./geoip.t .................................. ok
./grpc_request_buffering.t ................. ok
./grpc_next_upstream.t ..................... ok
./geo.t .................................... ok
./debug_connection_unix.t .................. ok
./debug_connection.t ....................... ok
./gunzip.t ................................. ok
./gunzip_perl.t ............................ ok
./gunzip_ssi.t ............................. ok
./gunzip_static.t .......................... ok
./grpc_pass.t .............................. ok
./h2_auth_request.t ........................ ok
./gzip_flush.t ............................. ok
./gzip.t ................................... ok
./h2_limit_conn.t .......................... ok
./h2_proxy_protocol.t ...................... ok
./http_listen.t ............................ skipped: listen on wildcard address
./grpc_ssl.t ............................... ok
./h2_request_body_js.t ..................... skipped: no njs available
./http_location_win32.t .................... skipped: not win32
./h2_server_tokens.t ....................... ok
./h2_variables.t ........................... ok
./headers.t ................................ ok
./http_disable_symlinks.t .................. ok
./http_error_page.t ........................ ok
./http_absolute_redirect.t ................. ok
./http_include.t ........................... ok
./http_expect_100_continue.t ............... ok
./http_host.t .............................. ok
./h2_trailers.t ............................ ok
./h2_proxy_ssl.t ........................... ok
./http_location.t .......................... ok
./http_location_auto.t ..................... ok
./h2_priority.t ............................ ok
./http_try_files.t ......................... ok
./http_server_name.t ....................... ok
./http_uri.t ............................... ok
./http_variables.t ......................... ok
./ignore_invalid_headers.t ................. ok
./h2_server_push.t ......................... ok
./h2_ssl_variables.t ....................... ok
./http_resolver_aaaa.t ..................... ok
./h2_ssl_verify_client.t ................... ok
./js.t ..................................... skipped: no njs available
./js_body_filter.t ......................... skipped: no njs body filter
./image_filter_webp.t ...................... ok
./js_buffer.t .............................. skipped: no njs buffer
./image_filter.t ........................... ok
./js_dump.t ................................ skipped: no njs dump
./js_async.t ............................... skipped: no njs available
./index.t .................................. ok
./http_header_buffers.t .................... ok
./js_fetch_resolver.t ...................... skipped: no njs.fetch
./js_header_filter.t ....................... skipped: no njs header filter
./js_headers.t ............................. skipped: no njs
./js_fetch.t ............................... skipped: no njs.fetch
./js_internal_redirect.t ................... skipped: no njs available
./js_import.t .............................. skipped: no njs available
./js_modules.t ............................. skipped: no njs modules
./js_ngx.t ................................. skipped: no njs ngx
./js_paths.t ............................... skipped: no njs available
./js_object.t .............................. skipped: no njs request object
./js_promise.t ............................. skipped: no njs available
./js_request_body.t ........................ skipped: no njs request body
./js_return.t .............................. skipped: no njs return
./h2_fastcgi_request_buffering.t ........... ok
./js_subrequests.t ......................... skipped: no njs available
./js_var.t ................................. skipped: no njs js_var
./js_variables.t ........................... skipped: no njs
./grpc.t ................................... ok
./limit_conn_dry_run.t ..................... ok
./limit_conn.t ............................. ok
./limit_req_dry_run.t ...................... ok
./memcached.t .............................. skipped: Cache::Memcached not installed
./h2_proxy_request_buffering_redirect.t .... ok
./mail_capability.t ........................ ok
./mail_max_errors.t ........................ ok
./h2_proxy_request_buffering.t ............. ok
./h2_ssl.t ................................. ok
./mail_proxy_protocol.t .................... ok
./memcached_keepalive.t .................... skipped: Cache::Memcached not installed
./mail_proxy_smtp_auth.t ................... ok
./mail_smtp_greeting_delay.t ............... ok
./mail_smtp_xclient.t ...................... ok
./h2_proxy_request_buffering_ssl.t ......... ok
./map_complex.t ............................ ok
./mail_error_log.t ......................... ok
./map_volatile.t ........................... ok
./memcached_keepalive_stale.t .............. skipped: Cache::Memcached not installed
./map.t .................................... ok
===(    1891;2  0/6  1/7  1/4  1/8  13/17  11/21   76/144   95/1... )===which: no ffprobe in (/home/tkloczko/perl5/bin:/usr/bin:/usr/sbin:/usr/local/sbin)
./mp4.t .................................... skipped: ffprobe not found
===(    1892;2  0/6  1/7  1/4  2/8  13/17  11/21   76/144   95/1... )===which: no ffprobe in (/home/tkloczko/perl5/bin:/usr/bin:/usr/sbin:/usr/local/sbin)
./mp4_ssi.t ................................ skipped: ffprobe not found
./http_resolver_cleanup.t .................. ok
./fastcgi_request_buffering.t .............. ok
./proxy_bind_transparent.t ................. skipped: must be root
./mail_ssl.t ............................... ok
./merge_slashes.t .......................... ok
./mirror.t ................................. ok
./proxy_bind_transparent_capability.t ...... skipped: must be root
./msie_refresh.t ........................... ok
./not_modified.t ........................... ok
./memcached_fake_extra.t ................... ok
./not_modified_proxy.t ..................... ok
./limit_req2.t ............................. ok
./not_modified_finalize.t .................. ok
./perl_ssi.t ............................... ok
./mail_ssl_conf_command.t .................. ok
./post_action.t ............................ ok
./auth_delay.t ............................. ok
./perl_gzip.t .............................. ok
./proxy_bind.t ............................. ok
./limit_req.t .............................. ok
./proxy_cache_manager.t .................... skipped: long test
./perl_sleep.t ............................. ok
./h2_ssl_proxy_cache.t ..................... ok
./proxy_cache_bypass.t ..................... ok
./proxy_cache_convert_head.t ............... ok
./fastcgi_body2.t .......................... ok
./h2_proxy_cache.t ......................... ok
./proxy_cache_min_free.t ................... ok
./proxy_cache_path.t ....................... ok
./proxy_cache_max_range_offset.t ........... ok
./proxy_cache_chunked.t .................... ok
./proxy_chunked.t .......................... ok
./proxy_cache_variables.t .................. ok
./perl.t ................................... ok
./proxy_cookie.t ........................... ok
./proxy_cookie_flags.t ..................... ok
./debug_connection_syslog.t ................ ok
./limit_conn_complex.t ..................... ok
./proxy_extra_data.t ....................... ok
./memcached_fake.t ......................... ok
./proxy_force_ranges.t ..................... ok
./fastcgi_request_buffering_chunked.t ...... ok
./proxy_implicit.t ......................... ok
./proxy_merge_headers.t .................... ok
./proxy_method.t ........................... ok
./proxy_cache_error.t ...................... ok
./proxy_next_upstream.t .................... ok
./proxy_next_upstream_tries.t .............. ok
./proxy_cache_lock_age.t ................... ok
./proxy_non_idempotent.t ................... ok
./proxy_pass_request.t ..................... ok
./proxy_if.t ............................... ok
./proxy_protocol.t ......................... ok
./h2_request_body.t ........................ ok
./proxy_protocol_ipv6.t .................... ok
./proxy_protocol2.t ........................ ok
./proxy_protocol2_server.t ................. ok
./proxy_protocol_unix.t .................... ok
./proxy_protocol_server.t .................. ok
./proxy_chunked_extra.t .................... ok
./proxy_redirect.t ......................... ok
./proxy_request_buffering.t ................ ok
./proxy_request_buffering_keepalive.t ...... ok
./proxy_request_buffering_chunked.t ........ ok
./proxy_ssi_body.t ......................... ok
./proxy_set_body.t ......................... ok
./h2_max_requests.t ........................ ok
./proxy_websocket.t ........................ skipped: Protocol::WebSocket not installed
./proxy_keepalive.t ........................ ok
./proxy_cache_range.t ...................... ok
./limit_req_delay.t ........................ ok
./proxy_request_buffering_ssl.t ............ ok
./proxy_unix.t ............................. ok
./image_filter_finalize.t .................. ok
./proxy_upstream_cookie.t .................. ok
./proxy_ssl_name.t ......................... ok
./random_index.t ........................... ok
./mail_imap.t .............................. ok
./proxy_xar.t .............................. ok
./proxy_ssl_keepalive.t .................... ok
===(    2905;4  5/8   78/144  104/106  3/9   2/11  13/23  14/40 ... )===which: no ffmpeg in (/home/tkloczko/perl5/bin:/usr/bin:/usr/sbin:/usr/local/sbin)
./range_mp4.t .............................. skipped: ffmpeg not found
./proxy_variables.t ........................ ok
./h2_headers.t ............................. ok
./proxy_ssl_certificate.t .................. ok
./range_charset.t .......................... ok
./range.t .................................. ok
./range_flv.t .............................. ok
./mail_pop3.t .............................. ok
./range_if_range.t ......................... ok
./scgi.t ................................... skipped: SCGI not installed
./proxy_ssl_conf_command.t ................. ok
./scgi_cache.t ............................. skipped: SCGI not installed
./scgi_body.t .............................. skipped: SCGI not installed
./scgi_extra_data.t ........................ skipped: SCGI not installed
./proxy_ssl_verify.t ....................... ok
./scgi_merge_params.t ...................... skipped: SCGI not installed
./scgi_gzip.t .............................. skipped: SCGI not installed
./realip.t ................................. ok
./realip_hostname.t ........................ ok
./realip_remote_addr.t ..................... ok
./realip_remote_port.t ..................... ok
./request_id.t ............................. ok
./proxy_ssl_certificate_vars.t ............. ok
./mail_smtp.t .............................. ok
./referer.t ................................ ok
./rewrite.t ................................ ok
./rewrite_set.t ............................ ok
./rewrite_unescape.t ....................... ok
./rewrite_if.t ............................. ok
./ssl_engine_keys.t ........................ skipped: may not work, leaves coredump
./secure_link.t ............................ ok
./server_tokens.t .......................... ok
./split_clients.t .......................... ok
./ssi_waited.t ............................. ok
./http_keepalive.t ......................... ok
./ssi.t .................................... ok
./ssi_include_big.t ........................ ok
./ssi_if.t ................................. ok
./slice.t .................................. ok
./ssl_certificates.t ....................... ok
./ssl_client_escaped_cert.t ................ ok
./proxy_unfinished.t ....................... ok
./proxy_ssl.t .............................. ok
./ssl_certificate_perl.t ................... ok
./stream_access.t .......................... ok
./ssl_proxy_protocol.t ..................... ok
./ssl_sni_reneg.t .......................... ok
./stream_access_log_escape.t ............... ok
./stream_geo_binary.t ...................... skipped: long configuration parsing
./ssl_sni_sessions.t ....................... ok
./ssl_conf_command.t ....................... ok
./stream_access_log_none.t ................. ok
./proxy_cache_valid.t ...................... ok
./ssl_reject_handshake.t ................... ok
./ssl_certificate_chain.t .................. ok
./stream_geo.t ............................. ok
./ssl_sni.t ................................ ok
./ssl_certificate.t ........................ ok
./stream_geo_ipv6.t ........................ ok
./stream_geo_unix.t ........................ ok
./stream_geoip.t ........................... ok
./stream_js.t .............................. skipped: no stream njs available
./ssl_password_file.t ...................... ok
./stream_js_buffer.t ....................... skipped: no njs ngx
./stream_js_exit.t ......................... skipped: no stream njs available
./stream_js_fetch.t ........................ skipped: no stream njs available
./stream_js_import.t ....................... skipped: no njs available
./stream_error_log.t ....................... ok
./stream_js_object.t ....................... skipped: no njs stream session object
./stream_js_ngx.t .......................... skipped: no njs ngx
./stream_js_var.t .......................... skipped: no stream js_var
./ssl_crl.t ................................ ok
./ssl_verify_client.t ...................... ok
./stream_js_variables.t .................... skipped: no stream njs available
./proxy_noclose.t .......................... ok
===(    3752;5  6/8   78/144  6/9   3/11  21/40   2/13  3/9   7/... )===Port limit exceeded at lib/Test/Nginx.pm line 408.
        (in cleanup) Can't open error.log: No such file or directory at lib/Test/Nginx.pm line 567.
# Looks like your test exited with 98 before it could output anything.
./stream_proxy_ssl_name.t .................. Dubious, test returned 98 (wstat 25088, 0x6200)
Failed 7/7 subtests
./stream_limit_conn_dry_run.t .............. ok
./fastcgi_keepalive.t ...................... ok
./stream_map.t ............................. ok
./ssi_delayed.t ............................ ok
./ssl_verify_depth.t ....................... ok
./stream_proxy_complex.t ................... ok
./stream_proxy_bind.t ...................... ok
./stream_proxy_next_upstream.t ............. ok
./stream_proxy_protocol.t .................. ok
./stream_proxy_protocol_ipv6.t ............. ok
./stream_limit_conn_complex.t .............. ok
./stream_limit_conn.t ...................... ok
./stream_realip.t .......................... ok
./proxy_store.t ............................ ok
./proxy_cache.t ............................ ok
./stream_realip_hostname.t ................. ok
./stream_resolver.t ........................ ok
./stream_set.t ............................. ok
./stream_split_clients.t ................... ok
./stream_proxy_protocol_ssl.t .............. ok
./stream_proxy_ssl_name_complex.t .......... ok
./stream_ssl_preread_protocol.t ............ ok
./proxy_upgrade.t .......................... ok
./stream_proxy_ssl_conf_command.t .......... ok
./stream_proxy_ssl_verify.t ................ ok
./stream_udp_wildcard.t .................... skipped: listen on wildcard address
./stream_status_variable.t ................. ok
./proxy_cache_lock_ssi.t ................... ok
./stream_proxy_ssl_certificate.t ........... ok
./stream_ssl_conf_command.t ................ ok
./stream_tcp_nodelay.t ..................... ok
./stream_proxy_ssl_certificate_vars.t ...... ok
./stream_ssl_variables.t ................... ok
./stream_ssl.t ............................. ok
./stream_ssl_preread_alpn.t ................ ok
./stream_ssl_realip.t ...................... ok
./stream_udp_upstream_hash.t ............... ok
./stream_udp_upstream.t .................... ok
./stream_ssl_verify_client.t ............... ok
./stream_ssl_preread.t ..................... ok
./stream_unix.t ............................ ok
./ssl_ocsp.t ............................... ok
./stream_upstream_hash.t ................... ok
./stream_upstream_zone.t ................... ok
./stream_ssl_certificate.t ................. ok
./h2_limit_req.t ........................... ok
./stream_variables.t ....................... ok
./ssl_stapling.t ........................... ok
./sub_filter_buffering.t ................... ok
./sub_filter.t ............................. ok
./stream_access_log.t ...................... ok
./stream_upstream_zone_ssl.t ............... ok
./sub_filter_merge.t ....................... ok
./sub_filter_multi2.t ...................... ok
./upstream_hash_memcached.t ................ skipped: Cache::Memcached not installed
./stream_upstream_max_conns.t .............. ok
./sub_filter_perl.t ........................ ok
./sub_filter_slice.t ....................... ok
./stream_upstream_least_conn.t ............. ok
./sub_filter_ssi.t ......................... ok
./subrequest_output_buffer_size.t .......... ok
===(    4329;7   81/144   3/11  21/40   2/13  4/9   7/14   9/13 ... )===which: no uwsgi in (/home/tkloczko/perl5/bin:/usr/bin:/usr/sbin:/usr/local/sbin)
./uwsgi.t .................................. skipped: uwsgi not found
===(    4332;7   81/144   3/11  21/40   2/13  4/9   7/14   9/13 ... )===which: no uwsgi in (/home/tkloczko/perl5/bin:/usr/bin:/usr/sbin:/usr/local/sbin)
./uwsgi_ssl.t .............................. skipped: uwsgi not found
./trailers.t ............................... ok
./upstream.t ............................... ok
===(    4411;7   81/144   3/11  21/40   2/13  4/9   7/14   9/13 ... )===which: no uwsgi in (/home/tkloczko/perl5/bin:/usr/bin:/usr/sbin:/usr/local/sbin)
./uwsgi_ssl_verify.t ....................... skipped: uwsgi not found
./stub_status.t ............................ ok
./upstream_zone.t .......................... ok
./upstream_ip_hash.t ....................... ok
./ssl_proxy_upgrade.t ...................... ok
./userid_flags.t ........................... ok
./userid.t ................................. ok
./upstream_ip_hash_ipv6.t .................. ok
./upstream_hash.t .......................... ok
./upstream_least_conn.t .................... ok
./upstream_max_conns.t ..................... ok
./upstream_zone_ssl.t ...................... ok
./worker_shutdown_timeout_h2.t ............. ok
./xslt.t ................................... ok
./xslt_params.t ............................ ok
./stream_udp_upstream_least_conn.t ......... ok
./worker_shutdown_timeout_mail.t ........... ok
./worker_shutdown_timeout_stream.t ......... ok
./worker_shutdown_timeout_proxy_upgrade.t .. ok
./uwsgi_ssl_certificate_vars.t ............. ok
./worker_shutdown_timeout.t ................ ok
./sub_filter_multi.t ....................... ok
./uwsgi_ssl_certificate.t .................. ok
./stream_udp_proxy.t ....................... ok
./limit_rate.t ............................. ok
./ssl.t .................................... ok
./h2_request_body_preread.t ................ ok
./mail_resolver.t .......................... ok
./stream_udp_stream.t ...................... ok
./stream_udp_limit_conn.t .................. ok
./stream_proxy.t ........................... ok
./stream_upstream.t ........................ ok
./proxy_limit_rate.t ....................... ok
./stream_proxy_ssl.t ....................... ok
./stream_upstream_random.t ................. ok
./proxy_cache_vary.t ....................... ok
./stream_udp_proxy_requests.t .............. ok
./syslog.t ................................. ok
./upstream_random.t ........................ ok
./upstream_keepalive.t ..................... ok
./proxy_cache_revalidate.t ................. ok
./proxy.t .................................. ok
./stream_udp_limit_rate.t .................. ok
./mirror_proxy.t ........................... ok
./proxy_cache_lock.t ....................... ok
./h2.t ..................................... ok
./stream_limit_rate2.t ..................... ok
./stream_limit_rate.t ...................... ok
./mail_imap_ssl.t .......................... ok
./proxy_cache_use_stale.t .................. ok
./http_resolver_cname.t .................... ok
./http_resolver.t .......................... ok

Test Summary Report
-------------------
./stream_proxy_ssl_name.t                (Wstat: 25088 Tests: 0 Failed: 0)
  Non-zero exit status: 98
  Parse errors: Bad plan.  You planned 7 tests but ran 0.
Files=401, Tests=4940, 28 wallclock secs ( 2.86 usr  1.22 sys + 80.67 cusr 21.79 csys = 106.54 CPU)
Result: FAIL

Change History (1)

comment:1 by Maxim Dounin, 3 years ago

Resolution: invalid
Status: newclosed

The error Port limit exceeded at lib/Test/Nginx.pm line 408. suggests that test suite wasn't able to find a free TCP port to use for tests. You may want to limit -j to a lower value (or not use it at all).

Note: See TracTickets for help on using tickets.