Mock Version: 2.16 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target aarch64 --nodeps /builddir/build/SPECS/rubygem-em-http-request.spec'], chrootPath='/var/lib/mock/rocky-9-aarch64/root'env={'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8'}shell=Falselogger=timeout=0uid=1003gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target aarch64 --nodeps /builddir/build/SPECS/rubygem-em-http-request.spec'] with env {'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8'} and shell False Building target platforms: aarch64 Building for target aarch64 setting SOURCE_DATE_EPOCH=1618531200 Wrote: /builddir/build/SRPMS/rubygem-em-http-request-1.1.7-4.el9.src.rpm Child return code was: 0 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target aarch64 --nodeps /builddir/build/SPECS/rubygem-em-http-request.spec'], chrootPath='/var/lib/mock/rocky-9-aarch64/root'env={'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8'}shell=Falselogger=timeout=0uid=1003gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target aarch64 --nodeps /builddir/build/SPECS/rubygem-em-http-request.spec'] with env {'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8'} and shell False Building target platforms: aarch64 Building for target aarch64 setting SOURCE_DATE_EPOCH=1618531200 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.9C0ySf + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf em-http-request-1.1.7 + /usr/bin/gem unpack /builddir/build/SOURCES/em-http-request-1.1.7.gem Unpacked gem: '/builddir/build/BUILD/em-http-request-1.1.7' + /usr/bin/gem spec /builddir/build/SOURCES/em-http-request-1.1.7.gem --ruby + STATUS=0 + '[' 0 -ne 0 ']' + cd em-http-request-1.1.7 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . Patch #0 (rubygem-em-http-request-1.1.7-explicit-keyword-argument.patch): + echo 'Patch #0 (rubygem-em-http-request-1.1.7-explicit-keyword-argument.patch):' + /usr/bin/patch --no-backup-if-mismatch -p1 --fuzz=0 patching file spec/stallion.rb + RPM_EC=0 ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.sPd1bt + umask 022 + cd /builddir/build/BUILD + cd em-http-request-1.1.7 + gem build ../em-http-request-1.1.7.gemspec WARNING: description and summary are identical WARNING: open-ended dependency on addressable (>= 2.3.4) is not recommended if addressable is semantically versioned, use: add_runtime_dependency 'addressable', '~> 2.3', '>= 2.3.4' WARNING: open-ended dependency on em-socksify (>= 0.3) is not recommended if em-socksify is semantically versioned, use: add_runtime_dependency 'em-socksify', '~> 0.3' WARNING: open-ended dependency on eventmachine (>= 1.0.3) is not recommended if eventmachine is semantically versioned, use: add_runtime_dependency 'eventmachine', '~> 1.0', '>= 1.0.3' WARNING: open-ended dependency on http_parser.rb (>= 0.6.0) is not recommended if http_parser.rb is semantically versioned, use: add_runtime_dependency 'http_parser.rb', '~> 0.6', '>= 0.6.0' WARNING: prerelease dependency on mongrel (~> 1.2.0.pre2, development) is not recommended WARNING: open-ended dependency on multi_json (>= 0, development) is not recommended use a bounded requirement, such as '~> x.y' WARNING: open-ended dependency on rake (>= 0, development) is not recommended use a bounded requirement, such as '~> x.y' WARNING: open-ended dependency on rspec (>= 0, development) is not recommended use a bounded requirement, such as '~> x.y' WARNING: See https://guides.rubygems.org/specification-reference/ for help Successfully built RubyGem Name: em-http-request Version: 1.1.7 File: em-http-request-1.1.7.gem + mkdir -p ./usr/share/gems + CONFIGURE_ARGS='--with-cflags='\''-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection'\'' --with-cxxflags='\''-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection'\'' --with-ldflags='\''-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 '\'' ' + gem install -V --local --build-root . --force --document=ri,rdoc em-http-request-1.1.7.gem WARNING: You build with buildroot. Build root: /builddir/build/BUILD/em-http-request-1.1.7 Bin dir: /builddir/build/BUILD/em-http-request-1.1.7/usr/bin Gem home: /builddir/build/BUILD/em-http-request-1.1.7/usr/share/gems Plugins dir: /builddir/build/BUILD/em-http-request-1.1.7/usr/share/gems/plugins /builddir/build/BUILD/em-http-request-1.1.7/usr/share/gems/gems/em-http-request-1.1.7/.gemtest /builddir/build/BUILD/em-http-request-1.1.7/usr/share/gems/gems/em-http-request-1.1.7/.gitignore /builddir/build/BUILD/em-http-request-1.1.7/usr/share/gems/gems/em-http-request-1.1.7/.rspec /builddir/build/BUILD/em-http-request-1.1.7/usr/share/gems/gems/em-http-request-1.1.7/.travis.yml /builddir/build/BUILD/em-http-request-1.1.7/usr/share/gems/gems/em-http-request-1.1.7/Changelog.md /builddir/build/BUILD/em-http-request-1.1.7/usr/share/gems/gems/em-http-request-1.1.7/Gemfile /builddir/build/BUILD/em-http-request-1.1.7/usr/share/gems/gems/em-http-request-1.1.7/README.md /builddir/build/BUILD/em-http-request-1.1.7/usr/share/gems/gems/em-http-request-1.1.7/Rakefile /builddir/build/BUILD/em-http-request-1.1.7/usr/share/gems/gems/em-http-request-1.1.7/benchmarks/clients.rb /builddir/build/BUILD/em-http-request-1.1.7/usr/share/gems/gems/em-http-request-1.1.7/benchmarks/em-excon.rb /builddir/build/BUILD/em-http-request-1.1.7/usr/share/gems/gems/em-http-request-1.1.7/benchmarks/em-profile.gif /builddir/build/BUILD/em-http-request-1.1.7/usr/share/gems/gems/em-http-request-1.1.7/benchmarks/em-profile.txt /builddir/build/BUILD/em-http-request-1.1.7/usr/share/gems/gems/em-http-request-1.1.7/benchmarks/server.rb /builddir/build/BUILD/em-http-request-1.1.7/usr/share/gems/gems/em-http-request-1.1.7/em-http-request.gemspec /builddir/build/BUILD/em-http-request-1.1.7/usr/share/gems/gems/em-http-request-1.1.7/examples/.gitignore /builddir/build/BUILD/em-http-request-1.1.7/usr/share/gems/gems/em-http-request-1.1.7/examples/digest_auth/client.rb /builddir/build/BUILD/em-http-request-1.1.7/usr/share/gems/gems/em-http-request-1.1.7/examples/digest_auth/server.rb /builddir/build/BUILD/em-http-request-1.1.7/usr/share/gems/gems/em-http-request-1.1.7/examples/fetch.rb /builddir/build/BUILD/em-http-request-1.1.7/usr/share/gems/gems/em-http-request-1.1.7/examples/fibered-http.rb /builddir/build/BUILD/em-http-request-1.1.7/usr/share/gems/gems/em-http-request-1.1.7/examples/multi.rb /builddir/build/BUILD/em-http-request-1.1.7/usr/share/gems/gems/em-http-request-1.1.7/examples/oauth-tweet.rb /builddir/build/BUILD/em-http-request-1.1.7/usr/share/gems/gems/em-http-request-1.1.7/examples/socks5.rb /builddir/build/BUILD/em-http-request-1.1.7/usr/share/gems/gems/em-http-request-1.1.7/lib/em-http-request.rb /builddir/build/BUILD/em-http-request-1.1.7/usr/share/gems/gems/em-http-request-1.1.7/lib/em-http.rb /builddir/build/BUILD/em-http-request-1.1.7/usr/share/gems/gems/em-http-request-1.1.7/lib/em-http/client.rb /builddir/build/BUILD/em-http-request-1.1.7/usr/share/gems/gems/em-http-request-1.1.7/lib/em-http/core_ext/bytesize.rb /builddir/build/BUILD/em-http-request-1.1.7/usr/share/gems/gems/em-http-request-1.1.7/lib/em-http/decoders.rb /builddir/build/BUILD/em-http-request-1.1.7/usr/share/gems/gems/em-http-request-1.1.7/lib/em-http/http_client_options.rb /builddir/build/BUILD/em-http-request-1.1.7/usr/share/gems/gems/em-http-request-1.1.7/lib/em-http/http_connection.rb /builddir/build/BUILD/em-http-request-1.1.7/usr/share/gems/gems/em-http-request-1.1.7/lib/em-http/http_connection_options.rb /builddir/build/BUILD/em-http-request-1.1.7/usr/share/gems/gems/em-http-request-1.1.7/lib/em-http/http_encoding.rb /builddir/build/BUILD/em-http-request-1.1.7/usr/share/gems/gems/em-http-request-1.1.7/lib/em-http/http_header.rb /builddir/build/BUILD/em-http-request-1.1.7/usr/share/gems/gems/em-http-request-1.1.7/lib/em-http/http_status_codes.rb /builddir/build/BUILD/em-http-request-1.1.7/usr/share/gems/gems/em-http-request-1.1.7/lib/em-http/middleware/digest_auth.rb /builddir/build/BUILD/em-http-request-1.1.7/usr/share/gems/gems/em-http-request-1.1.7/lib/em-http/middleware/json_response.rb /builddir/build/BUILD/em-http-request-1.1.7/usr/share/gems/gems/em-http-request-1.1.7/lib/em-http/middleware/oauth.rb /builddir/build/BUILD/em-http-request-1.1.7/usr/share/gems/gems/em-http-request-1.1.7/lib/em-http/middleware/oauth2.rb /builddir/build/BUILD/em-http-request-1.1.7/usr/share/gems/gems/em-http-request-1.1.7/lib/em-http/multi.rb /builddir/build/BUILD/em-http-request-1.1.7/usr/share/gems/gems/em-http-request-1.1.7/lib/em-http/request.rb /builddir/build/BUILD/em-http-request-1.1.7/usr/share/gems/gems/em-http-request-1.1.7/lib/em-http/version.rb /builddir/build/BUILD/em-http-request-1.1.7/usr/share/gems/gems/em-http-request-1.1.7/lib/em/io_streamer.rb /builddir/build/BUILD/em-http-request-1.1.7/usr/share/gems/gems/em-http-request-1.1.7/spec/client_fiber_spec.rb /builddir/build/BUILD/em-http-request-1.1.7/usr/share/gems/gems/em-http-request-1.1.7/spec/client_spec.rb /builddir/build/BUILD/em-http-request-1.1.7/usr/share/gems/gems/em-http-request-1.1.7/spec/digest_auth_spec.rb /builddir/build/BUILD/em-http-request-1.1.7/usr/share/gems/gems/em-http-request-1.1.7/spec/dns_spec.rb /builddir/build/BUILD/em-http-request-1.1.7/usr/share/gems/gems/em-http-request-1.1.7/spec/encoding_spec.rb /builddir/build/BUILD/em-http-request-1.1.7/usr/share/gems/gems/em-http-request-1.1.7/spec/external_spec.rb /builddir/build/BUILD/em-http-request-1.1.7/usr/share/gems/gems/em-http-request-1.1.7/spec/fixtures/google.ca /builddir/build/BUILD/em-http-request-1.1.7/usr/share/gems/gems/em-http-request-1.1.7/spec/fixtures/gzip-sample.gz /builddir/build/BUILD/em-http-request-1.1.7/usr/share/gems/gems/em-http-request-1.1.7/spec/gzip_spec.rb /builddir/build/BUILD/em-http-request-1.1.7/usr/share/gems/gems/em-http-request-1.1.7/spec/helper.rb /builddir/build/BUILD/em-http-request-1.1.7/usr/share/gems/gems/em-http-request-1.1.7/spec/http_proxy_spec.rb /builddir/build/BUILD/em-http-request-1.1.7/usr/share/gems/gems/em-http-request-1.1.7/spec/middleware/oauth2_spec.rb /builddir/build/BUILD/em-http-request-1.1.7/usr/share/gems/gems/em-http-request-1.1.7/spec/middleware_spec.rb /builddir/build/BUILD/em-http-request-1.1.7/usr/share/gems/gems/em-http-request-1.1.7/spec/multi_spec.rb /builddir/build/BUILD/em-http-request-1.1.7/usr/share/gems/gems/em-http-request-1.1.7/spec/pipelining_spec.rb /builddir/build/BUILD/em-http-request-1.1.7/usr/share/gems/gems/em-http-request-1.1.7/spec/redirect_spec.rb /builddir/build/BUILD/em-http-request-1.1.7/usr/share/gems/gems/em-http-request-1.1.7/spec/socksify_proxy_spec.rb /builddir/build/BUILD/em-http-request-1.1.7/usr/share/gems/gems/em-http-request-1.1.7/spec/spec_helper.rb /builddir/build/BUILD/em-http-request-1.1.7/usr/share/gems/gems/em-http-request-1.1.7/spec/ssl_spec.rb /builddir/build/BUILD/em-http-request-1.1.7/usr/share/gems/gems/em-http-request-1.1.7/spec/stallion.rb /builddir/build/BUILD/em-http-request-1.1.7/usr/share/gems/gems/em-http-request-1.1.7/spec/stub_server.rb Successfully installed em-http-request-1.1.7 Parsing documentation for em-http-request-1.1.7 Parsing sources... 5% [ 1/19] lib/em-http-request.rb 10% [ 2/19] lib/em-http.rb 15% [ 3/19] lib/em-http/client.rb 21% [ 4/19] lib/em-http/core_ext/bytesize.rb 26% [ 5/19] lib/em-http/decoders.rb 31% [ 6/19] lib/em-http/http_client_options.rb 36% [ 7/19] lib/em-http/http_connection.rb 42% [ 8/19] lib/em-http/http_connection_options.rb 47% [ 9/19] lib/em-http/http_encoding.rb 52% [10/19] lib/em-http/http_header.rb 57% [11/19] lib/em-http/http_status_codes.rb 63% [12/19] lib/em-http/middleware/digest_auth.rb 68% [13/19] lib/em-http/middleware/json_response.rb 73% [14/19] lib/em-http/middleware/oauth.rb 78% [15/19] lib/em-http/middleware/oauth2.rb 84% [16/19] lib/em-http/multi.rb 89% [17/19] lib/em-http/request.rb 94% [18/19] lib/em-http/version.rb 100% [19/19] lib/em/io_streamer.rb Installing ri documentation for em-http-request-1.1.7 Installing darkfish documentation for em-http-request-1.1.7 Done installing documentation for em-http-request after 0 seconds 1 gem installed + RPM_EC=0 ++ jobs -p + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.JsoxKj + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/rubygem-em-http-request-1.1.7-4.el9.aarch64 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/rubygem-em-http-request-1.1.7-4.el9.aarch64 ++ dirname /builddir/build/BUILDROOT/rubygem-em-http-request-1.1.7-4.el9.aarch64 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/rubygem-em-http-request-1.1.7-4.el9.aarch64 + cd em-http-request-1.1.7 + mkdir -p /builddir/build/BUILDROOT/rubygem-em-http-request-1.1.7-4.el9.aarch64/usr/share/gems + cp -a ./usr/share/gems/build_info ./usr/share/gems/cache ./usr/share/gems/doc ./usr/share/gems/extensions ./usr/share/gems/gems ./usr/share/gems/plugins ./usr/share/gems/specifications /builddir/build/BUILDROOT/rubygem-em-http-request-1.1.7-4.el9.aarch64/usr/share/gems/ + /usr/lib/rpm/find-debuginfo.sh -j8 --strict-build-id -m -i --build-id-seed 1.1.7-4.el9 --unique-debug-suffix -1.1.7-4.el9.aarch64 --unique-debug-src-base rubygem-em-http-request-1.1.7-4.el9.aarch64 --run-dwz --dwz-low-mem-die-limit 10000000 --dwz-max-die-limit 50000000 -S debugsourcefiles.list /builddir/build/BUILD/em-http-request-1.1.7 + /usr/lib/rpm/check-buildroot + /usr/lib/rpm/redhat/brp-ldconfig + /usr/lib/rpm/brp-compress + /usr/lib/rpm/redhat/brp-strip-lto /usr/bin/strip + /usr/lib/rpm/brp-strip-static-archive /usr/bin/strip + /usr/lib/rpm/redhat/brp-python-bytecompile '' 1 0 + /usr/lib/rpm/brp-python-hardlink + /usr/lib/rpm/redhat/brp-mangle-shebangs Executing(%check): /bin/sh -e /var/tmp/rpm-tmp.aLQRWI + umask 022 + cd /builddir/build/BUILD ~/build/BUILD/em-http-request-1.1.7/usr/share/gems/gems/em-http-request-1.1.7 ~/build/BUILD/em-http-request-1.1.7 + cd em-http-request-1.1.7 + pushd ./usr/share/gems/gems/em-http-request-1.1.7 + sed -i '/require '\''bundler\/setup'\''/ s/^/#/' spec/helper.rb + sed -i s/Mongrel/WEBrick/ spec/stallion.rb + sed -i '/^require '\''helper'\''/i require '\''pathname'\''' spec/client_spec.rb + sed -i '/it "should report error if connection was closed by server on client keepalive requests" do/ ,/^ end$/ s/^/#/' spec/client_spec.rb + sed -i '/it "should set content-length to 0 on posts with empty bodies" do/ ,/^ end$/ s/^/#/' spec/client_spec.rb + sed -i '/it "should fail GET on invalid host" do/ ,/^ end$/ s/^/#/' spec/dns_spec.rb + sed -i '/it "should keep default https port in redirect url that include it"/ ,/^ end$/ s/^/#/' spec/redirect_spec.rb + sed -i '/it "should keep default http port in redirect url that include it"/ ,/^ end$/ s/^/#/' spec/redirect_spec.rb + sed -i '/it "should fail gracefully on an invalid host in Location header" do/ ,/^ end$/ s/^/#/' spec/dns_spec.rb + LANG=C.UTF-8 + rspec spec -f d [2022-04-17 06:25:17] INFO WEBrick 1.7.0 [2022-04-17 06:25:17] INFO ruby 3.0.3 (2021-11-24) [aarch64-linux] [2022-04-17 06:25:17] INFO WEBrick::HTTPServer#start: pid=382808 port=8090 ping: socket: Operation not permitted ping: socket: Operation not permitted ping: socket: Operation not permitted ping: socket: Operation not permitted EventMachine::HttpRequest with fibers should be transparent to connection errors EventMachine::HttpRequest 127.0.0.1 - - [17/Apr/2022:06:25:18 UTC] "GET / HTTP/1.1" 200 13 - -> / should perform successful GET should perform successful GET with a URI passed as argument 127.0.0.1 - - [17/Apr/2022:06:25:18 UTC] "GET / HTTP/1.1" 200 13 - -> / should succeed GET on missing path 127.0.0.1 - - [17/Apr/2022:06:25:18 UTC] "GET / HTTP/1.1" 200 13 - -> / should raise error on invalid URL 127.0.0.1 - - [17/Apr/2022:06:25:18 UTC] "HEAD / HTTP/1.1" 200 0 should perform successful HEAD with a URI passed as argument - -> / 127.0.0.1 - - [17/Apr/2022:06:25:18 UTC] "DELETE / HTTP/1.1" 200 0 should perform successful DELETE with a URI passed as argument - -> / 127.0.0.1 - - [17/Apr/2022:06:25:18 UTC] "GET /fail HTTP/1.1" 404 0 should return 404 on invalid path - -> /fail 127.0.0.1 - - [17/Apr/2022:06:25:18 UTC] "GET /fail HTTP/1.1" 404 0 should return HTTP reason - -> /fail 127.0.0.1 - - [17/Apr/2022:06:25:18 UTC] "GET /fail_with_nonstandard_response HTTP/1.1" 420 0 should return HTTP reason 'unknown' on a non-standard status code - -> /fail_with_nonstandard_response should build query parameters from Hash 127.0.0.1 - - [17/Apr/2022:06:25:18 UTC] "GET /?q=test HTTP/1.1" 200 4 - -> /?q=test should pass query parameters string 127.0.0.1 - - [17/Apr/2022:06:25:18 UTC] "GET /?q=test HTTP/1.1" 200 4 - -> /?q=test should encode an array of query parameters 127.0.0.1 - - [17/Apr/2022:06:25:18 UTC] "GET /echo_query?hash[]=value1&hash[]=value2 HTTP/1.1" 200 27 - -> /echo_query?hash[]=value1&hash[]=value2 should perform successful PUT 127.0.0.1 - - [17/Apr/2022:06:25:18 UTC] "PUT / HTTP/1.1" 200 4 - -> / should perform successful POST 127.0.0.1 - - [17/Apr/2022:06:25:18 UTC] "POST / HTTP/1.1" 200 4 - -> / should perform successful PATCH 127.0.0.1 - - [17/Apr/2022:06:25:18 UTC] "PATCH / HTTP/1.1" 200 4 - -> / should escape body on POST 127.0.0.1 - - [17/Apr/2022:06:25:18 UTC] "POST / HTTP/1.1" 200 21 - -> / should perform successful POST with Ruby Hash/Array as params 127.0.0.1 - - [17/Apr/2022:06:25:18 UTC] "POST / HTTP/1.1" 200 26 - -> / should perform successful POST with Ruby Hash/Array as params and with the correct content length 127.0.0.1 - - [17/Apr/2022:06:25:18 UTC] "POST /echo_content_length HTTP/1.1" 200 2 should support expect-continue header (PENDING: Temporarily skipped with xit) - -> /echo_content_length 127.0.0.1 - - [17/Apr/2022:06:25:18 UTC] "GET / HTTP/1.1" 304 0 should perform successful GET with custom header - -> / should perform basic auth 127.0.0.1 - - [17/Apr/2022:06:25:18 UTC] "GET /authtest HTTP/1.1" 200 7 - -> /authtest should perform basic auth via the URL 127.0.0.1 - - [17/Apr/2022:06:25:18 UTC] "GET /authtest HTTP/1.1" 200 7 - -> /authtest 127.0.0.1 - - [17/Apr/2022:06:25:18 UTC] "GET / HTTP/1.1" 200 13 - -> / should return peer's IP address should remove all newlines from long basic auth header 127.0.0.1 - - [17/Apr/2022:06:25:18 UTC] "GET /auth HTTP/1.1" 200 90 - -> /auth should send proper OAuth auth header 127.0.0.1 - - [17/Apr/2022:06:25:18 UTC] "GET /auth HTTP/1.1" 200 73 - -> /auth 127.0.0.1 - - [17/Apr/2022:06:25:18 UTC] "GET /echo_query HTTP/1.1" 200 0 should return ETag and Last-Modified headers - -> /echo_query 127.0.0.1 - - [17/Apr/2022:06:25:18 UTC] "GET /echo_headers HTTP/1.1" 200 0 should return raw headers in a hash - -> /echo_headers 127.0.0.1 - - [17/Apr/2022:06:25:18 UTC] "GET /deflate HTTP/1.1" 200 12 should detect deflate encoding - -> /deflate 127.0.0.1 - - [17/Apr/2022:06:25:18 UTC] "GET /gzip HTTP/1.1" 200 30 should auto-detect and decode gzip encoding - -> /gzip 127.0.0.1 - - [17/Apr/2022:06:25:18 UTC] "GET /gzip-large HTTP/1.1" 200 16344 - -> /gzip-large should stream gzip responses 127.0.0.1 - - [17/Apr/2022:06:25:18 UTC] "GET /gzip HTTP/1.1" 200 30 should not decode the response when configured so - -> /gzip should default to requesting compressed response 127.0.0.1 - - [17/Apr/2022:06:25:18 UTC] "GET /echo_accept_encoding HTTP/1.1" 200 16 - -> /echo_accept_encoding 127.0.0.1 - - [17/Apr/2022:06:25:18 UTC] "GET /echo_accept_encoding HTTP/1.1" 200 0 should default to requesting compressed response - -> /echo_accept_encoding should timeout after 0.1 seconds of inactivity 127.0.0.1 - - [17/Apr/2022:06:25:18 UTC] "GET /relative-location HTTP/1.1" 301 0 should complete a Location: with a relative path - -> /relative-location should optionally pass the response body progressively 127.0.0.1 - - [17/Apr/2022:06:25:18 UTC] "GET / HTTP/1.1" 200 13 - -> / 127.0.0.1 - - [17/Apr/2022:06:25:18 UTC] "GET /deflate HTTP/1.1" 200 12 should optionally pass the deflate-encoded response body progressively - -> /deflate 127.0.0.1 - - [17/Apr/2022:06:25:18 UTC] "GET /set_cookie HTTP/1.1" 200 10 should accept & return cookie header to user - -> /set_cookie should return array of cookies on multiple Set-Cookie headers 127.0.0.1 - - [17/Apr/2022:06:25:18 UTC] "GET /set_multiple_cookies HTTP/1.1" 200 11 - -> /set_multiple_cookies should pass cookie header to server from string 127.0.0.1 - - [17/Apr/2022:06:25:18 UTC] "GET /echo_cookie HTTP/1.1" 200 5 - -> /echo_cookie should pass cookie header to server from Hash 127.0.0.1 - - [17/Apr/2022:06:25:18 UTC] "GET /echo_cookie HTTP/1.1" 200 5 - -> /echo_cookie should get the body without Content-Length should stream a file off disk 127.0.0.1 - - [17/Apr/2022:06:25:18 UTC] "POST / HTTP/1.1" 200 509 - -> / streams POST request from disk via Pathname 127.0.0.1 - - [17/Apr/2022:06:25:18 UTC] "POST / HTTP/1.1" 200 509 - -> / streams POST request from IO object 127.0.0.1 - - [17/Apr/2022:06:25:18 UTC] "POST / HTTP/1.1" 200 509 - -> / 127.0.0.1 - - [17/Apr/2022:06:25:18 UTC] "GET / HTTP/1.1" 200 13 - -> / 127.0.0.1 - - [17/Apr/2022:06:25:18 UTC] "GET /gzip HTTP/1.1" 200 30 should reconnect if connection was closed between requests - -> /gzip should handle malformed Content-Type header repetitions should allow indifferent access to headers should close connection on invalid HTTP response body content-type encoding 127.0.0.1 - - [17/Apr/2022:06:25:18 UTC] "POST /echo_content_type HTTP/1.1" 200 0 - -> /echo_content_type should not set content type on string in body should set content-type automatically when passed a ruby hash/array for body 127.0.0.1 - - [17/Apr/2022:06:25:18 UTC] "POST /echo_content_type HTTP/1.1" 200 33 - -> /echo_content_type should not override content-type when passing in ruby hash/array for body 127.0.0.1 - - [17/Apr/2022:06:25:18 UTC] "POST /echo_content_type HTTP/1.1" 200 19 - -> /echo_content_type should default to external encoding on invalid encoding 127.0.0.1 - - [17/Apr/2022:06:25:18 UTC] "POST /echo_content_type HTTP/1.1" 200 28 - -> /echo_content_type should processed escaped content-type 127.0.0.1 - - [17/Apr/2022:06:25:18 UTC] "POST /echo_content_type HTTP/1.1" 200 31 optional header callback - -> /echo_content_type 127.0.0.1 - - [17/Apr/2022:06:25:18 UTC] "GET / HTTP/1.1" 200 13 - -> / should optionally pass the response headers should allow to terminate current connection from header callback 127.0.0.1 - - [17/Apr/2022:06:25:18 UTC] "GET / HTTP/1.1" 200 13 when talking to a stub HTTP/1.0 server - -> / should get the body without Content-Length should work with \n instead of \r\n should handle invalid HTTP response User-Agent should default to "EventMachine HttpClient" 127.0.0.1 - - [17/Apr/2022:06:25:18 UTC] "GET /echo-user-agent HTTP/1.1" 200 25 - -> /echo-user-agent should keep header if given empty string 127.0.0.1 - - [17/Apr/2022:06:25:18 UTC] "GET /echo-user-agent HTTP/1.1" 200 2 - -> /echo-user-agent should ommit header if given nil 127.0.0.1 - - [17/Apr/2022:06:25:18 UTC] "GET /echo-user-agent HTTP/1.1" 200 3 IPv6 - -> /echo-user-agent should perform successful GET Digest Auth Authentication header generation should generate the correct header should not generate the same header for a different user should not generate the same header if the nounce changes EventMachine::HttpRequest should fail GET on DNS timeout EventMachine::HttpEncoding should transform a basic hash into HTTP POST Params should transform a more complex hash into HTTP POST Params should transform a very complex hash into HTTP POST Params should escape values should escape keys should escape keys and values should not issue warnings on non-ASCII encodings EventMachine::HttpDecoders::GZip should extract the stream of a vanilla gzip should decompress a vanilla gzip should decompress a vanilla gzip file byte by byte should decompress a large file should not care how many chunks the file is split up into should fail with a DecoderError if not a gzip file EventMachine::HttpRequest connections via without *_PROXY env 127.0.0.1 - - [17/Apr/2022:06:25:18 UTC] "GET /?q=test HTTP/1.1" 200 4 - -> /?q=test should use HTTP proxy 127.0.0.1 - - [17/Apr/2022:06:25:18 UTC] "GET /proxyauth?q=test HTTP/1.1" 200 4 - -> /proxyauth?q=test should use HTTP proxy with authentication 127.0.0.1 - - [17/Apr/2022:06:25:18 UTC] "GET /?q=test HTTP/1.1" 200 4 - -> /?q=test should send absolute URIs to the proxy server 127.0.0.1 - - [17/Apr/2022:06:25:18 UTC] "GET /echo_authorization_header HTTP/1.1" 200 32 - -> /echo_authorization_header should strip basic auth from before the host in URI sent to proxy 127.0.0.1 - - [17/Apr/2022:06:25:18 UTC] "GET /?q=test HTTP/1.1" 200 4 - -> /?q=test should include query parameters specified in the options 127.0.0.1 - - [17/Apr/2022:06:25:18 UTC] "GET /redirect HTTP/1.1" 301 8 - -> /redirect 127.0.0.1 - - [17/Apr/2022:06:25:18 UTC] "GET /gzip HTTP/1.1" 200 30 - -> /gzip should use HTTP proxy while redirecting when parsing *_PROXY var (through proxy)s with $HTTP_PROXY env 127.0.0.1 - - [17/Apr/2022:06:25:18 UTC] "GET /?q=test HTTP/1.1" 200 4 - -> /?q=test should use HTTP proxy with $http_proxy env 127.0.0.1 - - [17/Apr/2022:06:25:18 UTC] "GET /?q=test HTTP/1.1" 200 4 - -> /?q=test should use HTTP proxy with $HTTPS_PROXY env should use HTTP proxy (PENDING: Mongrel isn't configured to handle HTTPS, currently) with $https_proxy env should use HTTP proxy (PENDING: Mongrel isn't configured to handle HTTPS, currently) with $ALL_PROXY env 127.0.0.1 - - [17/Apr/2022:06:25:18 UTC] "GET /?q=test HTTP/1.1" 200 4 - -> /?q=test should use HTTP proxy when parsing *_PROXY vars without a *_PROXY var is expected to be nil is expected to eq "example.com" is expected to equal 80 is expected to be falsey is expected to be falsey with $HTTP_PROXY env is expected to eq {:host=>"127.0.0.1", :port=>8083, :type=>:http} is expected to eq "127.0.0.1" is expected to equal 8083 is expected to be truthy with $http_proxy env is expected to eq {:host=>"127.0.0.1", :port=>8083, :type=>:http} is expected to eq "127.0.0.1" is expected to equal 8083 is expected to be truthy with $HTTPS_PROXY env is expected to eq {:host=>"127.0.0.1", :port=>8083, :type=>:http} is expected to eq "127.0.0.1" is expected to equal 8083 is expected to be truthy with $https_proxy env is expected to eq {:host=>"127.0.0.1", :port=>8083, :type=>:http} is expected to eq "127.0.0.1" is expected to equal 8083 is expected to be truthy with $ALL_PROXY env is expected to eq {:host=>"127.0.0.1", :port=>8083, :type=>:http} is expected to eq "127.0.0.1" is expected to equal 8083 is expected to be truthy EventMachine::Middleware::OAuth2 should add an access token to a URI with no query parameters should add an access token to a URI with query parameters EventMachine::HttpRequest should accept middleware configuration should accept middleware initialization parameters 127.0.0.1 - - [17/Apr/2022:06:25:18 UTC] "GET / HTTP/1.1" 200 13 request - -> / 127.0.0.1 - - [17/Apr/2022:06:25:18 UTC] "GET / HTTP/1.1" 200 13 should execute response middleware before user callbacks - -> / should execute global response middleware before user callbacks request 127.0.0.1 - - [17/Apr/2022:06:25:18 UTC] "GET / HTTP/1.1" 200 13 - -> / should execute request middleware before dispatching request jsonify 127.0.0.1 - - [17/Apr/2022:06:25:18 UTC] "POST / HTTP/1.1" 200 13 - -> / 127.0.0.1 - - [17/Apr/2022:06:25:18 UTC] "POST / HTTP/1.1" 200 15 should use middleware to JSON encode and JSON decode the body - -> / EventMachine::MultiRequest 127.0.0.1 - - [17/Apr/2022:06:25:18 UTC] "GET / HTTP/1.1" 200 13 127.0.0.1 - - [17/Apr/2022:06:25:18 UTC] "POST / HTTP/1.1" 200 0 - -> / 127.0.0.1 - - [17/Apr/2022:06:25:18 UTC] "DELETE / HTTP/1.1" 200 0 - -> / 127.0.0.1 - - [17/Apr/2022:06:25:18 UTC] "HEAD / HTTP/1.1" 200 0 - -> / - -> / 127.0.0.1 - - [17/Apr/2022:06:25:18 UTC] "PUT / HTTP/1.1" 200 0 - -> / should submit multiple requests in parallel and return once all of them are complete should require unique keys for each deferrable #requests should return the added requests #responses should have an empty :callback hash should have an empty :errback hash 127.0.0.1 - - [17/Apr/2022:06:25:18 UTC] "POST / HTTP/1.1" 200 0 - -> / should provide access to the requests by name #finished? should be true when no requests have been added 127.0.0.1 - - [17/Apr/2022:06:25:18 UTC] "GET / HTTP/1.1" 200 13 - -> / should be false while the requests are not finished should be finished when all requests are finished 127.0.0.1 - - [17/Apr/2022:06:25:18 UTC] "GET / HTTP/1.1" 200 13 - -> / EventMachine::HttpRequest 127.0.0.1 - - [17/Apr/2022:06:25:18 UTC] "GET /redirect HTTP/1.1" 301 8 - -> /redirect 127.0.0.1 - - [17/Apr/2022:06:25:18 UTC] "GET /gzip HTTP/1.1" 200 30 should follow location redirects - -> /gzip should not follow redirects on created 127.0.0.1 - - [17/Apr/2022:06:25:18 UTC] "GET /redirect/created HTTP/1.1" 201 13 - -> /redirect/created should not forward cookies across domains with http redirect should forward valid cookies across domains with http redirect should normalize path and forward valid cookies across domains 127.0.0.1 - - [17/Apr/2022:06:25:18 UTC] "GET /redirect HTTP/1.1" 301 8 - -> /redirect 127.0.0.1 - - [17/Apr/2022:06:25:18 UTC] "GET /gzip HTTP/1.1" 200 30 should redirect with missing content-length - -> /gzip 127.0.0.1 - - [17/Apr/2022:06:25:18 UTC] "HEAD /redirect/head HTTP/1.1" 301 0 - -> /redirect/head 127.0.0.1 - - [17/Apr/2022:06:25:18 UTC] "HEAD / HTTP/1.1" 200 0 should follow redirects on HEAD method - -> / should report last_effective_url 127.0.0.1 - - [17/Apr/2022:06:25:18 UTC] "GET / HTTP/1.1" 200 13 - -> / should default to 0 redirects 127.0.0.1 - - [17/Apr/2022:06:25:18 UTC] "GET /redirect HTTP/1.1" 301 8 - -> /redirect should not invoke redirect logic on failed(http) connections 127.0.0.1 - - [17/Apr/2022:06:25:18 UTC] "GET /redirect/bad HTTP/1.1" 301 0 - -> /redirect/bad should normalize redirect urls 127.0.0.1 - - [17/Apr/2022:06:25:18 UTC] "GET / HTTP/1.1" 200 13 - -> / 127.0.0.1 - - [17/Apr/2022:06:25:18 UTC] "GET /redirect/nohost HTTP/1.1" 301 0 should fail gracefully on a missing host in absolute Location header - -> /redirect/nohost 127.0.0.1 - - [17/Apr/2022:06:25:18 UTC] "GET /redirect/timeout HTTP/1.1" 301 0 - -> /redirect/timeout should apply timeout settings on redirects 127.0.0.1 - - [17/Apr/2022:06:25:19 UTC] "GET /redirect/multiple-with-cookie HTTP/1.1" 301 8 - -> /redirect/multiple-with-cookie 127.0.0.1 - - [17/Apr/2022:06:25:19 UTC] "GET /redirect HTTP/1.1" 301 8 - -> /redirect 127.0.0.1 - - [17/Apr/2022:06:25:19 UTC] "GET /gzip HTTP/1.1" 200 30 should capture and pass cookies on redirect and pass_cookies by default - -> /gzip 127.0.0.1 - - [17/Apr/2022:06:25:19 UTC] "GET /redirect/multiple-with-cookie HTTP/1.1" 301 8 - -> /redirect/multiple-with-cookie 127.0.0.1 - - [17/Apr/2022:06:25:19 UTC] "GET /redirect HTTP/1.1" 301 8 - -> /redirect 127.0.0.1 - - [17/Apr/2022:06:25:19 UTC] "GET /gzip HTTP/1.1" 200 30 should capture and not pass cookies on redirect if passing is disabled via pass_cookies - -> /gzip 127.0.0.1 - - [17/Apr/2022:06:25:19 UTC] "GET /redirect HTTP/1.1" 301 8 - -> /redirect 127.0.0.1 - - [17/Apr/2022:06:25:19 UTC] "GET /gzip HTTP/1.1" 200 30 should follow location redirects with path - -> /gzip 127.0.0.1 - - [17/Apr/2022:06:25:19 UTC] "GET /redirect/middleware_redirects_1 HTTP/1.1" 301 0 - -> /redirect/middleware_redirects_1 127.0.0.1 - - [17/Apr/2022:06:25:19 UTC] "GET /redirect/middleware_redirects_2 HTTP/1.1" 301 0 - -> /redirect/middleware_redirects_2 127.0.0.1 - - [17/Apr/2022:06:25:19 UTC] "GET /redirect/middleware_redirects_3 HTTP/1.1" 200 0 should call middleware each time it redirects - -> /redirect/middleware_redirects_3 127.0.0.1 - - [17/Apr/2022:06:25:19 UTC] "GET /redirect/middleware_redirects_1 HTTP/1.1" 301 0 - -> /redirect/middleware_redirects_1 127.0.0.1 - - [17/Apr/2022:06:25:19 UTC] "GET /redirect/middleware_redirects_2 HTTP/1.1" 301 0 should call middleware which may reject a redirection - -> /redirect/middleware_redirects_2 127.0.0.1 - - [17/Apr/2022:06:25:19 UTC] "GET /redirect/http_no_port HTTP/1.1" 301 0 - -> /redirect/http_no_port should not add default http port to redirect url that don't include it 127.0.0.1 - - [17/Apr/2022:06:25:19 UTC] "GET /redirect/https_no_port HTTP/1.1" 301 0 - -> /redirect/https_no_port should not add default https port to redirect url that don't include it 127.0.0.1 - - [17/Apr/2022:06:25:19 UTC] "GET /redirect/ignore_query_option?ignore=1 HTTP/1.1" 301 0 - -> /redirect/ignore_query_option?ignore=1 should ignore query option when redirecting 127.0.0.1 - - [17/Apr/2022:06:25:19 UTC] "GET /redirect/url HTTP/1.1" 200 34 - -> /redirect/url should work with keep-alive connections with cross-origin redirect should work with keep-alive connections with same-origin redirect Pending: (Failures listed here are expected and do not affect your suite's status) 1) EventMachine::HttpRequest should support expect-continue header # Temporarily skipped with xit # ./spec/client_spec.rb:260 2) EventMachine::HttpRequest connections via when parsing *_PROXY var (through proxy)s with $HTTPS_PROXY env should use HTTP proxy # Mongrel isn't configured to handle HTTPS, currently # ./spec/http_proxy_spec.rb:4 3) EventMachine::HttpRequest connections via when parsing *_PROXY var (through proxy)s with $https_proxy env should use HTTP proxy # Mongrel isn't configured to handle HTTPS, currently # ./spec/http_proxy_spec.rb:4 Finished in 0.54388 seconds (files took 1.33 seconds to load) 157 examples, 0 failures, 3 pending [2022-04-17 06:25:19] INFO going to shutdown ... 127.0.0.1 - - [17/Apr/2022:06:25:18 UTC] "GET /timeout HTTP/1.1" 200 0 - -> /timeout 127.0.0.1 - - [17/Apr/2022:06:25:18 UTC] "GET /timeout HTTP/1.1" 200 0 - -> /timeout [2022-04-17 06:25:19] INFO WEBrick::HTTPServer#start done. + popd ~/build/BUILD/em-http-request-1.1.7 + RPM_EC=0 ++ jobs -p + exit 0 Processing files: rubygem-em-http-request-1.1.7-4.el9.noarch Provides: rubygem(em-http-request) = 1.1.7 rubygem-em-http-request = 1.1.7-4.el9 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: ruby(rubygems) rubygem(addressable) >= 2.3.4 rubygem(cookiejar) rubygem(em-socksify) >= 0.3 rubygem(eventmachine) >= 1.0.3 rubygem(http_parser.rb) >= 0.6.0 Conflicts: rubygem(cookiejar) = 0.3.1 Processing files: rubygem-em-http-request-doc-1.1.7-4.el9.noarch Provides: rubygem-em-http-request-doc = 1.1.7-4.el9 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/rubygem-em-http-request-1.1.7-4.el9.aarch64 Wrote: /builddir/build/RPMS/rubygem-em-http-request-1.1.7-4.el9.noarch.rpm Wrote: /builddir/build/RPMS/rubygem-em-http-request-doc-1.1.7-4.el9.noarch.rpm Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.gC2B5f + umask 022 + cd /builddir/build/BUILD + cd em-http-request-1.1.7 + /usr/bin/rm -rf /builddir/build/BUILDROOT/rubygem-em-http-request-1.1.7-4.el9.aarch64 + RPM_EC=0 ++ jobs -p + exit 0 Child return code was: 0