ic-archive /usr/bin/strip + /usr/lib/rpm/redhat/brp-python-bytecompile /usr/bin/python 1 0 + /usr/lib/rpm/brp-python-hardlink + /usr/lib/rpm/redhat/brp-mangle-shebangs Executing(%check): /bin/sh -e /var/tmp/rpm-tmp.FJOGNF + umask 022 + cd /builddir/build/BUILD + cd hiredis-0.6.3 + pushd ./usr/share/gems/gems/hiredis-0.6.3 ~/build/BUILD/hiredis-0.6.3/usr/share/gems/gems/hiredis-0.6.3 ~/build/BUILD/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 ++ 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 37054 # 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: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# 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' ES..............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. . Finished in 2.570076s, 19.8438 runs/s, 25.6802 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:353:in `flush' /builddir/build/BUILD/hiredis-0.6.3/usr/share/gems/gems/hiredis-0.6.3/test/connection_test.rb:353: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:329: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, 66 assertions, 0 failures, 2 errors, 1 skips You have skipped tests. Run with --verbose for details. RPM build errors: error: Bad exit status from /var/tmp/rpm-tmp.FJOGNF (%check) Bad exit status from /var/tmp/rpm-tmp.FJOGNF (%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