On Sun, 20 Nov 2005 14:36 +0100, "H.Merijn Brand" <[EMAIL PROTECTED]> wrote:

> Automated smoke report for 5.9.3 patch 26168
> i2: PPC_604e (PPC/1 cpu)
>     on        AIX - 4.3.3.0/ML11
>     using     gcc version 3.4.4
>     smoketime 19 hours 40 minutes (average 2 hours 27 minutes)
> 
> Summary: FAIL(X)
> 
> O = OK  F = Failure(s), extended report at the bottom
> X = Failure(s) under TEST but not under harness
> ? = still running or test results not (yet) available
> Build failures during:       - = unknown or N/A
> c = Configure, m = make, M = make (after miniperl), t = make test-prep
> 
>    26168     Configuration (common) -Dcc=gcc
> ----------- ---------------------------------------------------------
> O O O O O O 
> O O O O O O -Duse64bitint
> X O O O O O -Duseithreads
> O O O X O O -Duseithreads -Duse64bitint
> | | | | | +- LC_ALL = EN_US.UTF-8 -DDEBUGGING
> | | | | +--- PERLIO = perlio -DDEBUGGING
> | | | +----- PERLIO = stdio  -DDEBUGGING
> | | +------- LC_ALL = EN_US.UTF-8
> | +--------- PERLIO = perlio
> +----------- PERLIO = stdio
> 
> Locally applied patches:
>     DEVEL24148
>     SMOKE26168
> 
> Failures: (common-args) -Dcc=gcc
> [stdio] -Duseithreads
> [stdio] -DDEBUGGING -Duseithreads -Duse64bitint
> Inconsistent test results (between TEST and harness):
>     ../t/op/threads.t.......................FAILED--unexpected output at
> test 3

Problem `fixed'.

Base:
i2  AIX 4.3.3.0/ML11  IBM,7043-150 PowerPC_604e  640 Mb

i2:/pro/3gl/CPAN/perl-current/t > ./perl -Ilib -V
:
    config_args='-Dusedevel -Dusethreads -Duseithreads -des'
:
Characteristics of this binary (from libperl):
  Compile-time options: MULTIPLICITY PERL_DONT_CREATE_GVSV
                        PERL_IMPLICIT_CONTEXT SPRINTF_RETURNS_STRLEN
                        USE_ITHREADS USE_LARGE_FILES USE_PERLIO
                        USE_REENTRANT_API
  Locally applied patches:
        DEVEL26180
        SMOKE26180


i2:/pro/3gl/CPAN/perl-current/t > env PERLIO=stdio make test_harness
:
:
All tests successful (2 subtests UNEXPECTEDLY SUCCEEDED), 29 tests and 225 
subtests skipped.
Files=1059, Tests=147266, 2915 wallclock secs (1594.19 cusr + 496.64 csys = 
2090.83 CPU)

i2:/pro/3gl/CPAN/perl-current/t > env PERLIO=stdio PERL_DESTRUCT_LEVEL=2 ./perl 
op/threads.t
1..4
ok 1 - fresh_perl - delete() under threads
ok 2 - fresh_perl - weaken ref under threads
ok 3 - fresh_perl - weaken ref \#2 under threads
# kid 1 before sort
# parent 27014: continue
# kid 2 before sort
# parent 27014: continue
# parent 27014: waiting for join
# kid 1 after sort, sleeping 1
# kid 2 after sort, sleeping 1
# kid 1 exit
# parent 27014: thread exited
# parent 27014: waiting for join
# kid 2 exit
# parent 27014: thread exited
ok 4
i2:/pro/3gl/CPAN/perl-current/t > env PERL_DESTRUCT_LEVEL=2 PERLIO=stdio ./perl 
TEST op/threads.t
t/op/threads....FAILED--unexpected output at test 3
Failed 1 test script out of 1, 0.00% okay.
### Since not all tests were successful, you may want to run some of
### them individually and examine any diagnostic messages they produce.
### See the INSTALL document's section on "make test".
### You may have to set your dynamic library search path,
### LIBPATH, to point to the build directory:
###   setenv LIBPATH `pwd`; cd t; ./perl harness
###   LIBPATH=`pwd`; export LIBPATH; cd t; ./perl harness
###   export LIBPATH=`pwd`; cd t; ./perl harness
### for csh-style shells, like tcsh; or for traditional/modern
### Bourne-style shells, like bash, ksh, and zsh, respectively.
u=0.19  s=0.09  cu=38.26  cs=0.47  scripts=1  tests=4
Exit 1
i2:/pro/3gl/CPAN/perl-current/t > env PERL_DESTRUCT_LEVEL=2 PERLIO=stdio ./perl 
harness op/threads.t
op/threads....ok
All tests successful.
Files=1, Tests=4, 40 wallclock secs (38.44 cusr +  0.49 csys = 38.93 CPU)
i2:/pro/3gl/CPAN/perl-current/t >

Now add | cat

i2:/pro/3gl/CPAN/perl-current/t > env PERLIO=stdio PERL_DESTRUCT_LEVEL=2 ./perl 
op/threads.t | cat
1..4
ok 1 - fresh_perl - delete() under threads
ok 2 - fresh_perl - weaken ref under threads
ok 3 - fresh_perl - weaken ref \#2 under threads
# parent 27038: continue
# parent 27038: cont# kid 1 after sort, sleeping 1
# kid 2 exit
# parent 27038: cont# kid 1 after sort, sleeping 1
# kid 1 exit
# parent 27038: cont# kid 1 after sort, sleeping 1
# kid 1# parent 27038: thread exited
# parent 27038: waiting for join
# parent 27038: thread exited
ok 4
i2:/pro/3gl/CPAN/perl-current/t > env PERLIO=stdio PERL_DESTRUCT_LEVEL=2 ./perl 
op/threads.t | cat
1..4
ok 1 - fresh_perl - delete() under threads
ok 2 - fresh_perl - weaken ref under threads
ok 3 - fresh_perl - weaken ref \#2 under threads
# parent 27046: continue
# parent 27046: cont# kid 2 after sort, sleeping 1
# kid 1 exit
# parent 27046: cont# kid 2 after sort, sleeping 1
# kid 2 exit
# parent 27046: cont# kid 2 after sort, sleeping 1
# kid 2 exit
nt 27046: thread exited
# parent 27046: waiting for join
# parent 27046: thread exited
ok 4
i2:/pro/3gl/CPAN/perl-current/t 144 >

Mmmm, ^nt will kill test result parsing.
--8<---
--- op/threads.t.org    2005-11-21 15:19:02 +0100
+++ op/threads.t        2005-11-21 15:26:59 +0100
@@ -3,6 +3,7 @@ BEGIN {
      chdir 't' if -d 't';
      @INC = '../lib';
      require './test.pl';      # for which_perl() etc
+     $| = 1;
 }

 use strict;
-->8---

Re-ran the test after that but it didn't fail again

So, it was submitted like:

Change 26183 by [EMAIL PROTECTED] on 2005/11/21 14:11:28

        Thread failures on AIX (and others) caused by interleaved output

        Subject: Smoke [5.9.3] 26168 FAIL(X) AIX 4.3.3.0/ML11 (PPC/1 cpu)
        From: "H.Merijn Brand" <[EMAIL PROTECTED]>
        Date: Sun, 20 Nov 2005 14:36 +0100
        Message-Id: <[EMAIL PROTECTED]>

Affected files ...

... //depot/perl/t/op/threads.t#5 edit

Differences ...

==== //depot/perl/t/op/threads.t#5 (text) ====

5a6
>      $| = 1;

-- 
H.Merijn Brand        Amsterdam Perl Mongers (http://amsterdam.pm.org/)
using Perl 5.6.2, 5.8.0, 5.8.5, & 5.9.2  on HP-UX 10.20, 11.00 & 11.11,
 AIX 4.3 & 5.2, SuSE 9.2 & 9.3, and Cygwin. http://www.cmve.net/~merijn
Smoking perl: http://www.test-smoke.org,    perl QA: http://qa.perl.org
 reports  to: [EMAIL PROTECTED],                [email protected]

Reply via email to