develooper Front page | perl.perl5.porters | Postings from October 2014

Re: New feature proposal : <<>> to disable magic open of ARGV

Thread Previous | Thread Next
From:
Michael Felt
Date:
October 3, 2014 19:00
Subject:
Re: New feature proposal : <<>> to disable magic open of ARGV
Message ID:
CANvxniW3nmwqtA=MyWTrQaG4Ti1fga4mPGELO4TT=z08YG2EZQ@mail.gmail.com
This is from a smoke in progress (out of the log file)
1st one of:
root@x113:[/data/smoker/run]./smokestatus.pl -r -m
./smokestatus.pl-0.014 Test::Smoke-1.61_03 Test::Smoke::Reporter-0.053

Checking status for configuration 'AIX_config' (blead)
  Change number 4cd408bae5cd62850a437b986c09084b3eea6338 started on Fri
Oct  3 08:00:11 2014.
    9 out of 12 configurations finished in 9 hours 58 minutes.
    9 configurations showed failures (F).
    1 failure in the running configuration.
    3 configurations to finish, estimated completion in 2 hours 29 minutes
    Average smoke duration: 1 hour 6 minutes.
  Matrix, using cc -q64 version 11.1.0.19:
  v5.21.4-221-g4cd408b  Configuration (common) none
  ----------- ---------------------------------------------------------
  F F F F     -Duse64bitall -Duselongdouble
  F F F F     -Duse64bitall -Duse64bitint
  F F F F     -Duse64bitall
  F F F F     -Duseithreads -Duselongdouble
  F ? F F     -Duseithreads -Duse64bitint
  | | | +----- PERLIO = perlio -DDEBUGGING
  | | +------- PERLIO = stdio  -DDEBUGGING
  | +--------- PERLIO = perlio
  +----------- PERLIO = stdio
on AIX: 6100-06-08-1216

p.s. - lots of recurring errors because I do not have C++ installed, I am
just ignoring them personally.

TSTENV = stdio  The _test target is deprecated. Please upgrade your smoker
# Failed test 30 - <<>> does not treat - as STDIN at io/argv.t line 191
#      got "Can\'t open -: A file or directory in the path name does not
exist. at -e line 1.\n"
# expected "Can\'t open -: No such file or directory at -e line 1.\n"
# Failed test 31 - <<>> does not treat - as STDIN at io/argv.t line 199
#      got "Can\'t open : A file or directory in the path name does not
exist. at -e line 1.\n"
# expected "Can\'t open : No such file or directory at -e line 1.\n"
t/io/argv ..................................................... FAILED at
test 30
# using temp dir /data/smoker/perl-current/cpan/Module-Metadata/MMD-eNn73mX5
# removing temp dir
/data/smoker/perl-current/cpan/Module-Metadata/MMD-eNn73mX5
Hexadecimal number > 0xffffffff non-portable at t/refaddr.t line 24.
Hexadecimal number > 0xffffffff non-portable at t/refaddr.t line 24.
Hexadecimal number > 0xffffffff non-portable at t/refaddr.t line 24.
Hexadecimal number > 0xffffffff non-portable at t/refaddr.t line 24.
Hexadecimal number > 0xffffffff non-portable at t/refaddr.t line 24.
cc: 1501-228 (W) input file c++ not found
Compilation cannot proceed because one or more IBM compiler product files
are missing or corrupted.  R
einstall the complete IBM XL C/C++ for AIX V11.1 compiler.
cc: 1501-228 (W) input file c++ not found
Compilation cannot proceed because one or more IBM compiler product files
are missing or corrupted.  R
einstall the complete IBM XL C/C++ for AIX V11.1 compiler.
# Will use Digest::MD5
Failed 1 test out of 2181, 99.95% okay.
....

Error while reading test-results: 2
Extending failures with harness:
        ../t/io/argv.t
# Failed test 30 - <<>> does not treat - as STDIN at ../t/io/argv.t line 191
#      got "Can\'t open -: A file or directory in the path name does not
exist. at -e line 1.\n"
# expected "Can\'t open -: No such file or directory at -e line 1.\n"
# Failed test 31 - <<>> does not treat - as STDIN at ../t/io/argv.t line 199
#      got "Can\'t open : A file or directory in the path name does not
exist. at -e line 1.\n"
# expected "Can\'t open : No such file or directory at -e line 1.\n"
# Failed test 32 - <<>> does not treat - as STDIN at ../t/io/argv.t line 205
#      got "Can\'t open : A file or directory in the path name does not
exist. at -e line 1.\n"
# expected "Can\'t open : No such file or directory at -e line 1.\n"
# Failed test 33 - <<>> does not treat ...| as fork at ../t/io/argv.t line
216
#      got "Can\'t open echo foo |: A file or directory in the path name
does not exist. at -e line 1.
\n"
# expected "Can\'t open echo foo |: No such file or directory at -e line
1.\n"
# Failed test 34 - <<>> does not treat ...| as fork after eof at
../t/io/argv.t line 223
#      got "Can\'t open echo foo |: A file or directory in the path name
does not exist. at -e line 1,
 <> line 3.\n"
# expected "Can\'t open echo foo |: No such file or directory at -e line 1,
<> line 3.\n"
../t/io/argv.t ..
Failed 5/36 subtests

Test Summary Report
-------------------
../t/io/argv.t (Wstat: 0 Tests: 36 Failed: 5)
  Failed tests:  30-34
Files=1, Tests=36,  0 wallclock secs ( 0.03 usr  0.01 sys +  0.21 cusr
0.12 csys =  0.37 CPU)
Result: FAIL

    ../t/io/argv.t..............................................FAILED
        30-34

This repeats several times, only real change is the name of
/data/smoker/perl-current/cpan/Module-Metadata/MMD-eNn73mX5

And, it has been occurring in all AIX versions - 5.3 TL7, AIX 5.3 TL12, AIX
6.1 TL{6,7,8}, AIX 7.1 TL{1,2} - in short all of my smokers.

(FYI - I am getting some battery errors, so I am turning my Power5 systems
off to get them out of my "noise container" and change the batteries. For a
few days there will be reports only for 5.3 TL12, 6.1 TL8, and 7.1 TL3.
And, when I am working and travelling these only run as cronjobs - I am not
trying to understand why they failed - but I had noticed this had been
going on for a few days, and not in the Linux ones - as frequently)








On Fri, Oct 3, 2014 at 3:06 PM, Ricardo Signes <perl.p5p@rjbs.manxome.org>
wrote:

> * Rafael Garcia-Suarez <rgs@consttype.org> [2014-10-03T08:07:07]
> > Ah, of course. I now have made the tests a bit more tolerant
> > with df968918245d10232f955ab0965da7f8d6297a29.
>
> Your fix seems A-OK, but in case you did want to verify the message more, I
> found it useful in the past (91514b78, e.g.) to get the errstr explicitly,
> then
> test for that.
>
> --
> rjbs
>

Thread Previous | Thread Next


nntp.perl.org: Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at ask@perl.org | Group listing | About