Subject: | run.t #70 failed: Resource temporarily unavailable: write( 7, '...9760 |
IPC-Run-0.79 run.t #70 failed
====
not ok 70
# Test 70 got: "Resource temporarily unavailable: write( 7, '...9760 \"x\" chars
...DOC2\n' ) at /l/lab/uid/mperl01/CPAN/build/IPC-Run-0.79/blib/lib/IPC/Run/IO.p
m line 547\n" (t/run.t at line 350)
# Expected: ""
# t/run.t line 350 is: ok $x, "";
====
Perl v5.8.7
Solaris 9 SPARC
Sun Compiler
This appears to be the same problem reported in RT in several other tickets
(11411, 11812, 11129, 11956, 11957 .... possibly 11719 ...)
(main difference between reports is the value reported inplace of '9760' in the error message)
Further tests reveal that test fails or succeeds depending on
value of IPCRUNDEBUG
make test TEST_FILES=t/run.t TEST_VERBOSE=1 # not ok 70
make test TEST_FILES=t/run.t TEST_VERBOSE=1 IPCRUNDEBUG=1 # ok 70
make test TEST_FILES=t/run.t TEST_VERBOSE=1 IPCRUNDEBUG=2 # not ok 70
make test TEST_FILES=t/run.t TEST_VERBOSE=1 IPCRUNDEBUG=3 # ok 70
make test TEST_FILES=t/run.t TEST_VERBOSE=1 IPCRUNDEBUG=4 # ok 70
make test TEST_FILES=t/run.t TEST_VERBOSE=1 IPCRUNDEBUG=basic # not ok 70
make test TEST_FILES=t/run.t TEST_VERBOSE=1 IPCRUNDEBUG=data # not ok 70
make test TEST_FILES=t/run.t TEST_VERBOSE=1 IPCRUNDEBUG=details # ok 70
In all cases of failure the error message was identical as quoted above
except that the test without IPCRUNDEBUG had a write arg of 6 instead of 7
Here is a snippet of IPCRUNDEBUG=2 with the 10000 char long string of x's
replaced by X...X
=========
ok 68
IPC::Run 0001 [#15(23348)]: ****** harnessing *****
IPC::Run 0001 [#15(23348)]: parsing [ '/l/colab/test/tool/perl/5.8.7/t01.01/bin/perl', '-pe', 'BEGIN{$|=1}1' ]
IPC::Run 0001 [#15(23348)]: parsing SCALAR
IPC::Run 0001 [#15(23348)]: parsing SCALAR
IPC::Run 0001 [#15(23348)]: ** starting
IPC::Run 0001 [#15(23363) perl]: execing /l/colab/test/tool/perl/5.8.7/t01.01/bin/perl -pe BEGIN{$|=1}1
IPC::Run 0001 [#15(23348)]: read( 8 ) = 0 but true chars ''
IPC::Run 0001 [#15(23348)]: ** pumping
IPC::Run 0001 [#15(23348)]: write( 7, '
IPC::Run 0001 [#15(23348)]: ' ) = 1
IPC::Run 0001 [#15(23348)]: ** pumping
IPC::Run 0001 [#15(23348)]: read( 4 ) = 1 chars '
IPC::Run 0001 [#15(23348)]: '
ok 69 # (t/run.t at line 326 TODO?!)
IPC::Run 0001 [#15(23348)]: ** pumping
IPC::Run 0001 [#15(23348)]: write( 7, 'X...XDOC2
IPC::Run 0001 [#15(23348)]: ' ) = 10240
IPC::Run 0002 [#15(23348)]: ** finishing
not ok 70
# Test 70 got: "Resource temporarily unavailable: write( 7, '...9760 \"x\" chars...DOC2\n' ) at /l/lab/uid/mperl01/CPAN/build/IPC-Run-0.79/blib/lib/IPC/Run/IO.pm line 547\n" (t/run.t at line 350)
# Expected: ""
# t/run.t line 350 is: ok $x, "";
=========
Regards,
Todd Olson