e '' 1 0 + /usr/lib/rpm/brp-python-hardlink + /usr/lib/rpm/redhat/brp-mangle-shebangs Executing(%check): /bin/sh -e /var/tmp/rpm-tmp.QRl2wA + umask 022 + cd /builddir/build/BUILD ~/build/BUILD/hiredis-0.6.3/usr/share/gems/gems/hiredis-0.6.3 ~/build/BUILD/hiredis-0.6.3 + cd hiredis-0.6.3 + pushd ./usr/share/gems/gems/hiredis-0.6.3 + tar xzf /builddir/build/SOURCES/hiredis-0.6.3-tests.tgz + sed -i '/^ def test_recover_from_partial_write/ a skip' test/connection_test.rb + sed -i '/^\s* def test_connect_wrong_host/ a \ skip' test/connection_test.rb ++ dirs +1 + ruby '-Ilib:~/build/BUILD/hiredis-0.6.3/usr/lib64/gems/ruby/hiredis-0.6.3' -e 'Dir.glob "./test/**/*_test.rb", &method(:require)' Run options: --seed 20123 # Running: .........DEPRECATED: Use assert_nil if expecting nil from /builddir/build/BUILD/hiredis-0.6.3/usr/share/gems/gems/hiredis-0.6.3/test/reader_test.rb:34. This will fail in Minitest 6. ....DEPRECATED: Use assert_nil if expecting nil from /builddir/build/BUILD/hiredis-0.6.3/usr/share/gems/gems/hiredis-0.6.3/test/reader_test.rb:104. This will fail in Minitest 6. ..DEPRECATED: Use assert_nil if expecting nil from /builddir/build/BUILD/hiredis-0.6.3/usr/share/gems/gems/hiredis-0.6.3/test/reader_test.rb:104. This will fail in Minitest 6. ..............DEPRECATED: Use assert_nil if expecting nil from /builddir/build/BUILD/hiredis-0.6.3/usr/share/gems/gems/hiredis-0.6.3/test/reader_test.rb:34. This will fail in Minitest 6. .E.............S# terminated with exception (report_on_exception is true): /usr/share/ruby/socket.rb:1314:in `__accept_nonblock': closed stream (IOError) from /usr/share/ruby/socket.rb:1314:in `accept_nonblock' from /builddir/build/BUILD/hiredis-0.6.3/usr/share/gems/gems/hiredis-0.6.3/test/connection_test.rb:26:in `run' from /builddir/build/BUILD/hiredis-0.6.3/usr/share/gems/gems/hiredis-0.6.3/test/connection_test.rb:69:in `block in listen' E.S... Finished in 2.210770s, 23.0689 runs/s, 28.9492 assertions/s. 1) Error: ExtConnectionTest#test_eagain_on_write_followed_by_remote_drain: Errno::EAGAIN: Resource temporarily unavailable /builddir/build/BUILD/hiredis-0.6.3/usr/share/gems/gems/hiredis-0.6.3/test/connection_test.rb:354:in `flush' /builddir/build/BUILD/hiredis-0.6.3/usr/share/gems/gems/hiredis-0.6.3/test/connection_test.rb:354:in `block in test_eagain_on_write_followed_by_remote_drain' /builddir/build/BUILD/hiredis-0.6.3/usr/share/gems/gems/hiredis-0.6.3/test/connection_test.rb:73:in `listen' /builddir/build/BUILD/hiredis-0.6.3/usr/share/gems/gems/hiredis-0.6.3/test/connection_test.rb:330:in `test_eagain_on_write_followed_by_remote_drain' 2) Error: ExtConnectionTest#test_read_against_timeout_with_other_thread: IOError: closed stream /usr/share/ruby/socket.rb:1314:in `__accept_nonblock' /usr/share/ruby/socket.rb:1314:in `accept_nonblock' /builddir/build/BUILD/hiredis-0.6.3/usr/share/gems/gems/hiredis-0.6.3/test/connection_test.rb:26:in `run' /builddir/build/BUILD/hiredis-0.6.3/usr/share/gems/gems/hiredis-0.6.3/test/connection_test.rb:69:in `block in listen' 51 runs, 64 assertions, 0 failures, 2 errors, 2 skips You have skipped tests. Run with --verbose for details. error: Bad exit status from /var/tmp/rpm-tmp.QRl2wA (%check) RPM build errors: Bad exit status from /var/tmp/rpm-tmp.QRl2wA (%check) Child return code was: 1 EXCEPTION: [Error()] Traceback (most recent call last): File "/usr/lib/python3.8/site-packages/mockbuild/trace_decorator.py", line 95, in trace result = func(*args, **kw) File "/usr/lib/python3.8/site-packages/mockbuild/util.py", line 746, in do_with_status raise exception.Error("Command failed: \n # %s\n%s" % (command, output), child.returncode) mockbuild.exception.Error: Command failed: # bash --login -c /usr/bin/rpmbuild -bb --target riscv64 --nodeps /builddir/build/SPECS/rubygem-hiredis.spec