Skip Menu |

Preferred bug tracker

Please visit the preferred bug tracker to report your issue.

This queue is for tickets about the IO-Pty-Easy CPAN distribution.

Report information
The Basics
Id: 96826
Status: open
Priority: 0/
Queue: IO-Pty-Easy

People
Owner: Nobody in particular
Requestors: jimhallsun [...] gmail.com
Cc:
AdminCc:

Bug Information
Severity: (no value)
Broken in: (no value)
Fixed in: (no value)



Subject: test read-write.t fails for some reason
Date: Sun, 29 Jun 2014 18:47:15 -0400
To: bug-IO-Pty-Easy [...] rt.cpan.org
From: James Hall <jimhallsun [...] gmail.com>
Hi, Can’t seem to test out IO::Pty::Easy. Seems to fail at read-write.t but not clear to me. Seems to be not closing the tty in time for some reason. IO::Pty seemed to go in ok. Any way to trouble shoot this further? I have: This is perl 5, version 12, subversion 5 (v5.12.5) built for i86pc-solaris-64int Solaris 11.2. Writing Makefile for IO::Pty::Easy Writing MYMETA.yml and MYMETA.json cp lib/IO/Pty/Easy.pm blib/lib/IO/Pty/Easy.pm Manifying blib/man3/IO::Pty::Easy.3 DOY/IO-Pty-Easy-0.09.tar.gz make -- OK Running make test PERL_DL_NONLAZY=1 /usr/perl5/5.12/bin/perl "-MExtUtils::Command::MM" "-MTest::Harness" "-e" "undef *Test::Harness::Switches; test_harness(0, 'blib/lib', 'blib/arch')" t/*.t t/00-compile.t ............ ok t/open-close.t ............ ok t/read-write.t ............ All 3 subtests passed t/release-eol.t ........... skipped: these tests are for release candidate testing t/release-no-tabs.t ....... skipped: these tests are for release candidate testing t/release-pod-coverage.t .. skipped: these tests are for release candidate testing t/release-pod-syntax.t .... skipped: these tests are for release candidate testing t/spawn.t ................. ok t/subprocess.t ............ ok t/system.t ................ ok t/undefined-program.t ..... ok Test Summary Report ------------------- t/read-write.t (Wstat: 14 Tests: 3 Failed: 0) Non-zero wait status: 14 Parse errors: No plan found in TAP output Files=11, Tests=18, 4 wallclock secs ( 0.08 usr 0.05 sys + 0.52 cusr 0.42 csys = 1.07 CPU) Result: FAIL Failed 1/11 test programs. 0/18 subtests failed. *** Error code 255 make: Fatal error: Command failed for target `test_dynamic' DOY/IO-Pty-Easy-0.09.tar.gz make test -- NOT OK //hint// to see the cpan-testers results for installing this module, try: reports DOY/IO-Pty-Easy-0.09.tar.gz Failed during this command: DOY/IO-Pty-Easy-0.09.tar.gz : make_test NO
Subject: [rt.cpan.org #96826] Re: test read-write.t fails for some reason
Date: Sun, 29 Jun 2014 22:05:18 -0400
To: bug-IO-Pty-Easy [...] rt.cpan.org
From: James Hall <jimhallsun [...] gmail.com>
FYI — I commented out line 24: # $pty->write('a'x(1024*1024)); And the test runs successfully. Wondering if there is another way to write this? Everything else works…. JIM
That write call is the entire point of the test - it's supposed to test that blocking on write works. Removing it makes the test not test anything useful. This failure has actually been known for a while - it's a Solaris-specific failure that I haven't been able to track down because I don't have any Solaris machines available. If you could actually track down what is going wrong, that would help me a great deal, but other than that, I can't really be of much help, unfortunately.
Subject: Re: [rt.cpan.org #96826] test read-write.t fails for some reason
Date: Wed, 2 Jul 2014 10:58:52 -0400
To: bug-IO-Pty-Easy [...] rt.cpan.org
From: James Hall <jimhallsun [...] gmail.com>
Ok - worked with Solaris engineering and there is a existing bug that has been identified (Details are available for folks with a MOS account through Oracle): Bug 17467809 POLLHUP events should not be triggered when slave device is closing the fd This is in process of being fixed in Solaris 11. Will update when more progress has been made. Hope this helps! JIM