Can't pass test test_drbssl.rb after compilation

S

stanv

Hello!

I want to package ruby.

Version: ruby_1_9_2 r30907

But, after compilation I got:

1) Error:
test_01(TestDRbSSLAry):
RuntimeError: execution expired
/usr/src/RPM/BUILD/ruby-1.9.2-alt1.r30896.1/test/drb/drbtest.rb:
30:in `block in ext_service'
/usr/src/RPM/BUILD/ruby-1.9.2-alt1.r30896.1/test/drb/drbtest.rb:
29:in `ext_service'
/usr/src/RPM/BUILD/ruby-1.9.2-alt1.r30896.1/test/drb/
test_drbssl.rb:56:in `setup'

2) Error:
test_02_collect(TestDRbSSLAry):
RuntimeError: execution expired
/usr/src/RPM/BUILD/ruby-1.9.2-alt1.r30896.1/test/drb/drbtest.rb:
30:in `block in ext_service'
/usr/src/RPM/BUILD/ruby-1.9.2-alt1.r30896.1/test/drb/drbtest.rb:
29:in `ext_service'
/usr/src/RPM/BUILD/ruby-1.9.2-alt1.r30896.1/test/drb/
test_drbssl.rb:56:in `setup'

3) Error:
test_03_redo(TestDRbSSLAry):
RuntimeError: execution expired
/usr/src/RPM/BUILD/ruby-1.9.2-alt1.r30896.1/test/drb/drbtest.rb:
30:in `block in ext_service'
/usr/src/RPM/BUILD/ruby-1.9.2-alt1.r30896.1/test/drb/drbtest.rb:
29:in `ext_service'
/usr/src/RPM/BUILD/ruby-1.9.2-alt1.r30896.1/test/drb/
test_drbssl.rb:56:in `setup'

4) Error:
test_05_break(TestDRbSSLAry):
RuntimeError: execution expired
/usr/src/RPM/BUILD/ruby-1.9.2-alt1.r30896.1/test/drb/drbtest.rb:
30:in `block in ext_service'
/usr/src/RPM/BUILD/ruby-1.9.2-alt1.r30896.1/test/drb/drbtest.rb:
29:in `ext_service'
/usr/src/RPM/BUILD/ruby-1.9.2-alt1.r30896.1/test/drb/
test_drbssl.rb:56:in `setup'

5) Error:
test_06_next(TestDRbSSLAry):
RuntimeError: execution expired
/usr/src/RPM/BUILD/ruby-1.9.2-alt1.r30896.1/test/drb/drbtest.rb:
30:in `block in ext_service'
/usr/src/RPM/BUILD/ruby-1.9.2-alt1.r30896.1/test/drb/drbtest.rb:
29:in `ext_service'
/usr/src/RPM/BUILD/ruby-1.9.2-alt1.r30896.1/test/drb/
test_drbssl.rb:56:in `setup'

6) Error:
test_07_break_18(TestDRbSSLAry):
RuntimeError: execution expired
/usr/src/RPM/BUILD/ruby-1.9.2-alt1.r30896.1/test/drb/drbtest.rb:
30:in `block in ext_service'
/usr/src/RPM/BUILD/ruby-1.9.2-alt1.r30896.1/test/drb/drbtest.rb:
29:in `ext_service'
/usr/src/RPM/BUILD/ruby-1.9.2-alt1.r30896.1/test/drb/
test_drbssl.rb:56:in `setup'

7) Failure:
test_timeout(TestTimeout) [/usr/src/RPM/BUILD/ruby-1.9.2-alt1.r30896.1/
test/test_timeout.rb:19]:
[ruby-dev:38319].
Exception raised:
<#<Timeout::Error: execution expired>>.

7658 tests, 2195117 assertions, 1 failures, 6 errors, 0 skips

Test run options: --seed 32189
make: *** [yes-test-all] Error 1
make: Target `check' not remade because of errors.
make: Leaving directory `/usr/src/RPM/BUILD/ruby-1.9.2-alt1.r30896.1'
error: Bad exit status from /usr/src/tmp/rpm-tmp.39559 (%check)



Please help!
 
S

stanv

Hello!

I want to package ruby.

Version: ruby_1_9_2 r30907

But, after compilation I got:

1) Error:
test_01(TestDRbSSLAry):
RuntimeError: execution expired
    /usr/src/RPM/BUILD/ruby-1.9.2-alt1.r30896.1/test/drb/drbtest.rb:
30:in `block in ext_service'
    /usr/src/RPM/BUILD/ruby-1.9.2-alt1.r30896.1/test/drb/drbtest.rb:
29:in `ext_service'
    /usr/src/RPM/BUILD/ruby-1.9.2-alt1.r30896.1/test/drb/
test_drbssl.rb:56:in `setup'

  2) Error:
test_02_collect(TestDRbSSLAry):
RuntimeError: execution expired
    /usr/src/RPM/BUILD/ruby-1.9.2-alt1.r30896.1/test/drb/drbtest.rb:
30:in `block in ext_service'
    /usr/src/RPM/BUILD/ruby-1.9.2-alt1.r30896.1/test/drb/drbtest.rb:
29:in `ext_service'
    /usr/src/RPM/BUILD/ruby-1.9.2-alt1.r30896.1/test/drb/
test_drbssl.rb:56:in `setup'

  3) Error:
test_03_redo(TestDRbSSLAry):
RuntimeError: execution expired
    /usr/src/RPM/BUILD/ruby-1.9.2-alt1.r30896.1/test/drb/drbtest.rb:
30:in `block in ext_service'
    /usr/src/RPM/BUILD/ruby-1.9.2-alt1.r30896.1/test/drb/drbtest.rb:
29:in `ext_service'
    /usr/src/RPM/BUILD/ruby-1.9.2-alt1.r30896.1/test/drb/
test_drbssl.rb:56:in `setup'

  4) Error:
test_05_break(TestDRbSSLAry):
RuntimeError: execution expired
    /usr/src/RPM/BUILD/ruby-1.9.2-alt1.r30896.1/test/drb/drbtest.rb:
30:in `block in ext_service'
    /usr/src/RPM/BUILD/ruby-1.9.2-alt1.r30896.1/test/drb/drbtest.rb:
29:in `ext_service'
    /usr/src/RPM/BUILD/ruby-1.9.2-alt1.r30896.1/test/drb/
test_drbssl.rb:56:in `setup'

  5) Error:
test_06_next(TestDRbSSLAry):
RuntimeError: execution expired
    /usr/src/RPM/BUILD/ruby-1.9.2-alt1.r30896.1/test/drb/drbtest.rb:
30:in `block in ext_service'
    /usr/src/RPM/BUILD/ruby-1.9.2-alt1.r30896.1/test/drb/drbtest.rb:
29:in `ext_service'
    /usr/src/RPM/BUILD/ruby-1.9.2-alt1.r30896.1/test/drb/
test_drbssl.rb:56:in `setup'

  6) Error:
test_07_break_18(TestDRbSSLAry):
RuntimeError: execution expired
    /usr/src/RPM/BUILD/ruby-1.9.2-alt1.r30896.1/test/drb/drbtest.rb:
30:in `block in ext_service'
    /usr/src/RPM/BUILD/ruby-1.9.2-alt1.r30896.1/test/drb/drbtest.rb:
29:in `ext_service'
    /usr/src/RPM/BUILD/ruby-1.9.2-alt1.r30896.1/test/drb/
test_drbssl.rb:56:in `setup'

  7) Failure:
test_timeout(TestTimeout) [/usr/src/RPM/BUILD/ruby-1.9.2-alt1.r30896.1/
test/test_timeout.rb:19]:
[ruby-dev:38319].
Exception raised:
<#<Timeout::Error: execution expired>>.

7658 tests, 2195117 assertions, 1 failures, 6 errors, 0 skips

Test run options: --seed 32189
make: *** [yes-test-all] Error 1
make: Target `check' not remade because of errors.
make: Leaving directory `/usr/src/RPM/BUILD/ruby-1.9.2-alt1.r30896.1'
error: Bad exit status from /usr/src/tmp/rpm-tmp.39559 (%check)

Please help!

Also, I catch:


14838 pts/3 SN+ 0:00 | \_
rpmbuild --rebuild --target=x86_64 ruby-1.9.2-alt1.r30896.1.src.rpm
2229 pts/3 SN+ 0:00 |
\_ /bin/sh -e /usr/src/tmp/rpm-tmp.24263
2231 pts/3 SN+ 0:00
| \_ make -k check
5149 pts/3 RNl+ 14:45
| \_ ./ruby -
rpurelib.rb ./test/runner.rb
7008 pts/3 ZN+ 0:00
| \_ [ruby]
<defunct>
7014 pts/3 ZN+ 0:00
| \_ [ruby]
<defunct>
7031 pts/3 ZN+ 0:00
| \_ [ruby]
<defunct>


Test take 99% CPU:

PID USER PR NI VIRT RES SHR S %CPU %MEM TIME+
COMMAND
5149 stanv_b 36 16 609M 172M 6996 R 99.8 2.2 14:52.45 ruby

I don't how to get around this.
Please help!
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,994
Messages
2,570,223
Members
46,813
Latest member
lawrwtwinkle111

Latest Threads

Top