Skip to content

Instantly share code, notes, and snippets.

@znz

znz/test.log Secret

Last active July 14, 2016 15:21
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save znz/687916a42f477347f63990d56babc3ea to your computer and use it in GitHub Desktop.
Save znz/687916a42f477347f63990d56babc3ea to your computer and use it in GitHub Desktop.
rubygems test failures with umask 027
$ ruby -e 'system("make", "test-all", "TESTS=rubygems", umask: 027)' |& tee /vagrant/test.log
CC = ccache clang
LD = ld
LDSHARED = ccache clang -shared
CFLAGS = -O3 -fno-fast-math -ggdb3 -Wall -Wextra -Wno-unused-parameter -Wno-parentheses -Wno-long-long -Wno-missing-field-initializers -Wno-tautological-compare -Wno-parentheses-equality -Wno-constant-logical-operand -Wno-self-assign -Wunused-variable -Werror=implicit-int -Werror=pointer-arith -Werror=write-strings -Werror=declaration-after-statement -Werror=shorten-64-to-32 -Werror=implicit-function-declaration -Werror=division-by-zero -Werror=deprecated-declarations -Werror=extra-tokens -std=gnu99 -fPIC
XCFLAGS = -D_FORTIFY_SOURCE=2 -fstack-protector -fno-strict-overflow -fvisibility=hidden -DRUBY_EXPORT
CPPFLAGS = -DRUBY_DEBUG_ENV -DARRAY_DEBUG -DSHARABLE_MIDDLE_SUBSTRING=1 -I. -I.ext/include/x86_64-linux -I../include -I..
DLDFLAGS = -Wl,-soname,libruby.so.2.4 -fstack-protector
SOLIBS = -lpthread -ldl -lcrypt -lm
Debian clang version 3.5.0-10 (tags/RELEASE_350/final) (based on LLVM 3.5.0)
Target: x86_64-pc-linux-gnu
Thread model: posix
Found candidate GCC installation: /usr/bin/../lib/gcc/x86_64-linux-gnu/4.8
Found candidate GCC installation: /usr/bin/../lib/gcc/x86_64-linux-gnu/4.8.4
Found candidate GCC installation: /usr/bin/../lib/gcc/x86_64-linux-gnu/4.9
Found candidate GCC installation: /usr/bin/../lib/gcc/x86_64-linux-gnu/4.9.2
Found candidate GCC installation: /usr/lib/gcc/x86_64-linux-gnu/4.8
Found candidate GCC installation: /usr/lib/gcc/x86_64-linux-gnu/4.8.4
Found candidate GCC installation: /usr/lib/gcc/x86_64-linux-gnu/4.9
Found candidate GCC installation: /usr/lib/gcc/x86_64-linux-gnu/4.9.2
Selected GCC installation: /usr/bin/../lib/gcc/x86_64-linux-gnu/4.9
Candidate multilib: .;@m64
Selected multilib: .;@m64
generating prelude.c
prelude.c unchanged
Run options: "--ruby=./miniruby -I../lib -I. -I.ext/common ../tool/runruby.rb --extout=.ext -- --disable-gems" --excludes-dir=../test/excludes --name=!/memory_leak/
# Running tests:
Leaked file descriptor: TestGemRemoteFetcher#test_download_with_encoded_auth: 7 : #<TCPServer:fd 7>
Leaked file descriptor: TestGemRemoteFetcher#test_download_with_encoded_auth: 8 : #<TCPServer:fd 8>
Leaked file descriptor: TestGemRemoteFetcher#test_download_with_encoded_auth: 9 : #<IO:fd 9>
Leaked file descriptor: TestGemRemoteFetcher#test_api_endpoint: 10 : #<TCPServer:fd 10>
Leaked file descriptor: TestGemRemoteFetcher#test_api_endpoint: 11 : #<TCPServer:fd 11>
Leaked file descriptor: TestGemRemoteFetcher#test_api_endpoint: 12 : #<IO:fd 12>
Closed file descriptor: TestGemRemoteFetcher#test_download_read_only: 10
Closed file descriptor: TestGemRemoteFetcher#test_download_read_only: 11
Closed file descriptor: TestGemRemoteFetcher#test_download_read_only: 12
Leaked file descriptor: TestGemRemoteFetcher#test_request_block: 10 : #<TCPServer:fd 10>
Leaked file descriptor: TestGemRemoteFetcher#test_request_block: 11 : #<TCPServer:fd 11>
Leaked file descriptor: TestGemRemoteFetcher#test_request_block: 12 : #<IO:fd 12>
Closed file descriptor: TestGemRemoteFetcher#test_do_not_follow_insecure_redirect: 7
Closed file descriptor: TestGemRemoteFetcher#test_do_not_follow_insecure_redirect: 8
Closed file descriptor: TestGemRemoteFetcher#test_do_not_follow_insecure_redirect: 9
Closed file descriptor: TestGemRemoteFetcher#test_do_not_follow_insecure_redirect: 10
Closed file descriptor: TestGemRemoteFetcher#test_do_not_follow_insecure_redirect: 11
Closed file descriptor: TestGemRemoteFetcher#test_do_not_follow_insecure_redirect: 12
Leaked file descriptor: TestGemRemoteFetcher#test_do_not_follow_insecure_redirect: 20 : #<TCPSocket:fd 20>
Closed file descriptor: TestGemRemoteFetcher#test_fetch_s3: 20
Leaked file descriptor: TestGemRemoteFetcher#test_fetch_s3: 7 : #<TCPServer:fd 7>
Leaked file descriptor: TestGemRemoteFetcher#test_fetch_s3: 8 : #<TCPServer:fd 8>
Leaked file descriptor: TestGemRemoteFetcher#test_fetch_s3: 9 : #<IO:fd 9>
Closed file descriptor: TestGemRemoteFetcher#test_download_platform_legacy: 7
Closed file descriptor: TestGemRemoteFetcher#test_download_platform_legacy: 8
Closed file descriptor: TestGemRemoteFetcher#test_download_platform_legacy: 9
Leaked file descriptor: TestGemRemoteFetcher#test_download_unsupported: 7 : #<TCPServer:fd 7>
Leaked file descriptor: TestGemRemoteFetcher#test_download_unsupported: 8 : #<TCPServer:fd 8>
Leaked file descriptor: TestGemRemoteFetcher#test_download_unsupported: 9 : #<IO:fd 9>
Leaked file descriptor: TestGemRemoteFetcher#test_fetch_path_system_call_error: 10 : #<TCPServer:fd 10>
Leaked file descriptor: TestGemRemoteFetcher#test_fetch_path_system_call_error: 11 : #<TCPServer:fd 11>
Leaked file descriptor: TestGemRemoteFetcher#test_fetch_path_system_call_error: 12 : #<IO:fd 12>
Closed file descriptor: TestGemRemoteFetcher#test_fetch_http_redirects: 10
Closed file descriptor: TestGemRemoteFetcher#test_fetch_http_redirects: 11
Closed file descriptor: TestGemRemoteFetcher#test_fetch_http_redirects: 12
Leaked file descriptor: TestGemRemoteFetcher#test_download_with_auth: 10 : #<TCPServer:fd 10>
Leaked file descriptor: TestGemRemoteFetcher#test_download_with_auth: 11 : #<TCPServer:fd 11>
Leaked file descriptor: TestGemRemoteFetcher#test_download_with_auth: 12 : #<IO:fd 12>
Closed file descriptor: TestGemRemoteFetcher#test_fetch_http_with_additional_headers: 7
Closed file descriptor: TestGemRemoteFetcher#test_fetch_http_with_additional_headers: 8
Closed file descriptor: TestGemRemoteFetcher#test_fetch_http_with_additional_headers: 9
Closed file descriptor: TestGemRemoteFetcher#test_fetch_http_with_additional_headers: 10
Closed file descriptor: TestGemRemoteFetcher#test_fetch_http_with_additional_headers: 11
Closed file descriptor: TestGemRemoteFetcher#test_fetch_http_with_additional_headers: 12
Leaked file descriptor: TestGemRemoteFetcher#test_download_cached: 7 : #<TCPServer:fd 7>
Leaked file descriptor: TestGemRemoteFetcher#test_download_cached: 8 : #<TCPServer:fd 8>
Leaked file descriptor: TestGemRemoteFetcher#test_download_cached: 9 : #<IO:fd 9>
Closed file descriptor: TestGemRemoteFetcher#test_yaml_error_on_size: 7
Closed file descriptor: TestGemRemoteFetcher#test_yaml_error_on_size: 8
Closed file descriptor: TestGemRemoteFetcher#test_yaml_error_on_size: 9
Leaked file descriptor: TestGemRemoteFetcher#test_self_fetcher: 7 : #<TCPServer:fd 7>
Leaked file descriptor: TestGemRemoteFetcher#test_self_fetcher: 8 : #<TCPServer:fd 8>
Leaked file descriptor: TestGemRemoteFetcher#test_self_fetcher: 9 : #<IO:fd 9>
Leaked file descriptor: TestGemRemoteFetcher#test_fetch_path_gzip: 10 : #<TCPServer:fd 10>
Leaked file descriptor: TestGemRemoteFetcher#test_fetch_path_gzip: 11 : #<TCPServer:fd 11>
Leaked file descriptor: TestGemRemoteFetcher#test_fetch_path_gzip: 12 : #<IO:fd 12>
Closed file descriptor: TestGemRemoteFetcher#test_implicit_proxy: 7
Closed file descriptor: TestGemRemoteFetcher#test_implicit_proxy: 8
Closed file descriptor: TestGemRemoteFetcher#test_implicit_proxy: 9
Closed file descriptor: TestGemRemoteFetcher#test_implicit_proxy: 10
Closed file descriptor: TestGemRemoteFetcher#test_implicit_proxy: 11
Closed file descriptor: TestGemRemoteFetcher#test_implicit_proxy: 12
Leaked file descriptor: TestGemRemoteFetcher#test_api_endpoint_ignores_trans_domain_values_that_end_with_original: 7 : #<TCPServer:fd 7>
Leaked file descriptor: TestGemRemoteFetcher#test_api_endpoint_ignores_trans_domain_values_that_end_with_original: 8 : #<TCPServer:fd 8>
Leaked file descriptor: TestGemRemoteFetcher#test_api_endpoint_ignores_trans_domain_values_that_end_with_original: 9 : #<IO:fd 9>
Closed file descriptor: TestGemRemoteFetcher#test_do_not_allow_insecure_ssl_connection_by_default: 7
Closed file descriptor: TestGemRemoteFetcher#test_do_not_allow_insecure_ssl_connection_by_default: 8
Closed file descriptor: TestGemRemoteFetcher#test_do_not_allow_insecure_ssl_connection_by_default: 9
Leaked file descriptor: TestGemRemoteFetcher#test_do_not_allow_insecure_ssl_connection_by_default: 20 : #<TCPSocket:fd 20>
Closed file descriptor: TestGemRemoteFetcher#test_fetch_path_unmodified: 20
Leaked file descriptor: TestGemRemoteFetcher#test_fetch_path_unmodified: 7 : #<TCPServer:fd 7>
Leaked file descriptor: TestGemRemoteFetcher#test_fetch_path_unmodified: 8 : #<TCPServer:fd 8>
Leaked file descriptor: TestGemRemoteFetcher#test_fetch_path_unmodified: 9 : #<IO:fd 9>
Leaked file descriptor: TestGemRemoteFetcher#test_fetch_s3_no_creds: 10 : #<TCPServer:fd 10>
Leaked file descriptor: TestGemRemoteFetcher#test_fetch_s3_no_creds: 11 : #<TCPServer:fd 11>
Leaked file descriptor: TestGemRemoteFetcher#test_fetch_s3_no_creds: 12 : #<IO:fd 12>
Closed file descriptor: TestGemRemoteFetcher#test_implicit_proxy_no_env: 7
Closed file descriptor: TestGemRemoteFetcher#test_implicit_proxy_no_env: 8
Closed file descriptor: TestGemRemoteFetcher#test_implicit_proxy_no_env: 9
Closed file descriptor: TestGemRemoteFetcher#test_implicit_proxy_no_env: 10
Closed file descriptor: TestGemRemoteFetcher#test_implicit_proxy_no_env: 11
Closed file descriptor: TestGemRemoteFetcher#test_implicit_proxy_no_env: 12
Leaked file descriptor: TestGemRemoteFetcher#test_api_endpoint_timeout_warning: 7 : #<TCPServer:fd 7>
Leaked file descriptor: TestGemRemoteFetcher#test_api_endpoint_timeout_warning: 8 : #<TCPServer:fd 8>
Leaked file descriptor: TestGemRemoteFetcher#test_api_endpoint_timeout_warning: 9 : #<IO:fd 9>
Leaked file descriptor: TestGemRemoteFetcher#test_api_endpoint_ignores_trans_domain_values_that_starts_with_original: 10 : #<TCPServer:fd 10>
Leaked file descriptor: TestGemRemoteFetcher#test_api_endpoint_ignores_trans_domain_values_that_starts_with_original: 11 : #<TCPServer:fd 11>
Leaked file descriptor: TestGemRemoteFetcher#test_api_endpoint_ignores_trans_domain_values_that_starts_with_original: 12 : #<IO:fd 12>
Closed file descriptor: TestGemRemoteFetcher#test_correct_for_windows_path: 10
Closed file descriptor: TestGemRemoteFetcher#test_correct_for_windows_path: 11
Closed file descriptor: TestGemRemoteFetcher#test_correct_for_windows_path: 12
Leaked file descriptor: TestGemRemoteFetcher#test_cache_update_path_no_update: 10 : #<TCPServer:fd 10>
Leaked file descriptor: TestGemRemoteFetcher#test_cache_update_path_no_update: 11 : #<TCPServer:fd 11>
Leaked file descriptor: TestGemRemoteFetcher#test_cache_update_path_no_update: 12 : #<IO:fd 12>
Closed file descriptor: TestGemRemoteFetcher#test_fetch_size_bad_uri: 10
Closed file descriptor: TestGemRemoteFetcher#test_fetch_size_bad_uri: 11
Closed file descriptor: TestGemRemoteFetcher#test_fetch_size_bad_uri: 12
Leaked file descriptor: TestGemRemoteFetcher#test_fetch_size_socket_error: 10 : #<TCPServer:fd 10>
Leaked file descriptor: TestGemRemoteFetcher#test_fetch_size_socket_error: 11 : #<TCPServer:fd 11>
Leaked file descriptor: TestGemRemoteFetcher#test_fetch_size_socket_error: 12 : #<IO:fd 12>
Closed file descriptor: TestGemRemoteFetcher#test_ssl_connection_allow_verify_none: 7
Closed file descriptor: TestGemRemoteFetcher#test_ssl_connection_allow_verify_none: 8
Closed file descriptor: TestGemRemoteFetcher#test_ssl_connection_allow_verify_none: 9
Closed file descriptor: TestGemRemoteFetcher#test_ssl_connection_allow_verify_none: 10
Closed file descriptor: TestGemRemoteFetcher#test_ssl_connection_allow_verify_none: 11
Closed file descriptor: TestGemRemoteFetcher#test_ssl_connection_allow_verify_none: 12
Leaked file descriptor: TestGemRemoteFetcher#test_fetch_path_io_error: 7 : #<TCPServer:fd 7>
Leaked file descriptor: TestGemRemoteFetcher#test_fetch_path_io_error: 8 : #<TCPServer:fd 8>
Leaked file descriptor: TestGemRemoteFetcher#test_fetch_path_io_error: 9 : #<IO:fd 9>
Closed file descriptor: TestGemRequestSet#test_install_from_gemdeps_explain: 7
Closed file descriptor: TestGemRequestSet#test_install_from_gemdeps_explain: 8
Closed file descriptor: TestGemRequestSet#test_install_from_gemdeps_explain: 9
1) Failure:
TestGemSpecification#test_validate_dependencies_duplicates [/home/vagrant/ruby/test/rubygems/test_gem_specification.rb:2672]:
--- expected
+++ actual
@@ -1,2 +1,5 @@
-"WARNING: See http://guides.rubygems.org/specification-reference/ for help
+"WARNING: bin/exec is not world-readable
+WARNING: lib/code.rb is not world-readable
+WARNING: test/suite.rb is not world-readable
+WARNING: See http://guides.rubygems.org/specification-reference/ for help
"
2) Failure:
TestGemSpecification#test_validate_prerelease_dependencies_with_prerelease_version [/home/vagrant/ruby/test/rubygems/test_gem_specification.rb:2704]:
warning.
--- expected
+++ actual
@@ -1 +1,5 @@
-""
+"WARNING: bin/exec is not world-readable
+WARNING: lib/code.rb is not world-readable
+WARNING: test/suite.rb is not world-readable
+WARNING: See http://guides.rubygems.org/specification-reference/ for help
+"
3) Failure:
TestGemSpecification#test_validate_license_values_plus [/home/vagrant/ruby/test/rubygems/test_gem_specification.rb:2933]:
Expected "WARNING: bin/exec is not world-readable\nWARNING: lib/code.rb is not world-readable\nWARNING: test/suite.rb is not world-readable\nWARNING: See http://guides.rubygems.org/specification-reference/ for help\n" to be empty.
4) Failure:
TestGemSpecification#test_validate_dependencies_allowed_duplicates [/home/vagrant/ruby/test/rubygems/test_gem_specification.rb:2689]:
warning.
--- expected
+++ actual
@@ -1 +1,5 @@
-""
+"WARNING: bin/exec is not world-readable
+WARNING: lib/code.rb is not world-readable
+WARNING: test/suite.rb is not world-readable
+WARNING: See http://guides.rubygems.org/specification-reference/ for help
+"
5) Failure:
TestGemSpecification#test_validate_dependencies [/home/vagrant/ruby/test/rubygems/test_gem_specification.rb:2644]:
warning.
--- expected
+++ actual
@@ -1,4 +1,7 @@
-"WARNING: prerelease dependency on b (>= 1.0.rc1) is not recommended
+"WARNING: bin/exec is not world-readable
+WARNING: lib/code.rb is not world-readable
+WARNING: test/suite.rb is not world-readable
+WARNING: prerelease dependency on b (>= 1.0.rc1) is not recommended
WARNING: prerelease dependency on c (>= 2.0.rc2, development) is not recommended
WARNING: pessimistic dependency on d (~> 1.2.3) may be overly strict
if d is semantically versioned, use:
6) Failure:
TestGemSpecification#test_validate_license_values_with [/home/vagrant/ruby/test/rubygems/test_gem_specification.rb:2944]:
Expected "WARNING: bin/exec is not world-readable\nWARNING: lib/code.rb is not world-readable\nWARNING: test/suite.rb is not world-readable\nWARNING: See http://guides.rubygems.org/specification-reference/ for help\n" to be empty.
Finished tests in 25.561946s, 73.9772 tests/s, 218.1759 assertions/s.
1891 tests, 5577 assertions, 6 failures, 0 errors, 4 skips
ruby -v: ruby 2.4.0dev (2016-07-14 trunk 55680) [x86_64-linux]
uncommon.mk:607: recipe for target 'yes-test-all' failed
make: *** [yes-test-all] Error 6
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment