Back
From: metabase:user:0d96120c-29e2-11e5-b049-ede3035d37de
Subject: FAIL Enbugger-2.016 v5.23.0 GNU/Linux
Date: 2015-07-22T07:28:51Z
This distribution has been tested as part of the CPAN Testers
project, supporting the Perl programming language. See
http://wiki.cpantesters.org/ for more information or email
questions to cpan-testers-discuss@perl.org
--
Dear Joshua ben Jore,
This is a computer-generated report for Enbugger-2.016
on perl 5.23.0, created by CPAN-Reporter-1.2014.
Thank you for uploading your work to CPAN. However, there was a problem
testing your distribution.
If you think this report is invalid, please consult the CPAN Testers Wiki
for suggestions on how to avoid getting FAIL reports for missing library
or binary dependencies, unsupported operating systems, and so on:
http://wiki.cpantesters.org/wiki/CPANAuthorNotes
Sections of this report:
* Tester comments
* Program output
* Prerequisites
* Environment and other context
------------------------------
TESTER COMMENTS
------------------------------
Additional comments from tester:
this report is from an automated smoke testing program
and was not reviewed by a human for accuracy
------------------------------
PROGRAM OUTPUT
------------------------------
Output from '/usr/bin/make test':
Running Mkbootstrap for Enbugger ()
chmod 644 "Enbugger.bs"
PERL_DL_NONLAZY=1 "/data/perl5/perlbrew/perls/perl-5.23.0/bin/perl5.23.0" "-MExtUtils::Command::MM" "-MTest::Harness" "-e" "undef *Test::Harness::Switches; test_harness(0, 'blib/lib', 'blib/arch')" t/*.t
Subroutine B::OP::parent redefined at /home/perltest/perl5/perlbrew/perls/perl-5.23.0/lib/site_perl/5.23.0/x86_64-linux/B/Utils.pm line 186.
t/10load.t .............. ok
#!perl
# COPYRIGHT AND LICENCE
#
# Copyright (C) 2007,2008 WhitePages.com, Inc. with primary
# development by Joshua ben Jore.
#
# This program is distributed WITHOUT ANY WARRANTY, including but not
# limited to the implied warranties of merchantability or fitness for
# a particular purpose.
#
# The program is free software. You may distribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation (either version 2 or any later version)
# and the Perl Artistic License as published by OâReilly Media, Inc.
# Please open the files named gpl-2.0.txt and Artistic for a copy of
# these licenses.
use strict;
use warnings;
use Getopt::Long qw( GetOptions );
use vars qw( $Ok );
use lib qw( ./t/ );
BEGIN {
require 'reset_perms.pl';
=head1 DESCRIPTION
This test attempts to run the perl5db debugger, gives it some
commands, then tests that the commands occurred. In general the idea
is that depending on how the Enbugger.xs code is modifying COP nodes,
it could have either removed instrumentation from code that should be
instrumented or done the reverse and instrumented the debugger itself.
The output of this program can be read by another program and used in
a test.
=head1 OPTIONS
=over
=item --noimport
Enbugger will be loaded without calling C<< ->import >>.
=item --import ELT
Adds an item to the C<< ->import >> argument list.
=item --help
Runs perldoc on this program.
=item --load_perl5db
After loading Enbugger, C<< Enbugger->load_perl5db >> will also be called.
=back
=cut
$ENV{PERLDB_OPTS} = 'noTTY';
# Option parsing.
my $import = 1;
my @import = ();
my $loadPerl5Db = 0;
my $onError = 0;
GetOptions(
help => sub { exec {'perldoc'} 'perldoc', $0 },
noimport => sub { $import = 0 },
'import=s' => \@import,
load_perl5db => \ $loadPerl5Db,
onerror => \ $onError,
)
or exec {'perldoc'} 'perldoc', $0;
# Promote some options into constants.
require constant;
constant->import( LoadPerl5Db => !! $loadPerl5Db );
# The test is whether the debugger runs and is controlled by my
# test commands here.
{
no warnings 'once';
push @DB::typeahead, '$main::Ok = 1', 'c', 'q';
}
# All our output will go to *OUT. If this program was given a
# parameter, we accept it as file that we should write our output too.
{
my ( $file ) = shift @ARGV;
if ( defined $file ) {
open OUT, '>', $file
or die "Can't open $file for writing: $!";
}
else {
*OUT = *STDOUT;
}
# OUTPUT is HOT.
select *OUT;
$| = 1;
# Things written to STDERR should also go to our single *OUT.
no warnings 'once';
*STDERR = $DB::OUT = $DB::LINEINFO = *OUT;
}
# Look to see if the debugger is on. Before I go and load
# Enbugger, I figure I can at least count on being able to examine
# $^P to see if we were started with the -d debugger flag.
constant->import( UnderTheDebugger => !! $^P );
# Load Enbugger and completely knacker our process. This little
# snippet used to just be a static `use Enbugger;' but I moved it
# up here when it became obvious that I wanted to optionally avoid
# importing anything.
if ( $onError ) {
require Enbugger::OnError;
Enbugger::OnError->import;
}
else {
require Enbugger;
if ( $import ) {
Enbugger->import( @import );
}
}
# Now dropping into normal run-time.
}
# Load the perl5db debugger if the user asked for us to do it
# manually. Normally the ->stop method call will also do this for us.
if ( LoadPerl5Db ) {
Enbugger->load_perl5db;
}
# Trigger a breakpoint.
#
# At this point, I already supplied some commands to the debugger so
# it should go set our $ok variable and then continue on
# automatically.
Enbugger->stop unless $Ok;
# Check that the debugger was stopped and it processed the commands
# requested of it.
$Ok = 'undef' if not defined $Ok;
print "\$ok = $Ok.\n";
## Local Variables:
## mode: cperl
## mode: auto-fill
## cperl-indent-level: 4
## tab-width: 8
## End:
Subroutine B::OP::parent redefined at /home/perltest/perl5/perlbrew/perls/perl-5.23.0/lib/site_perl/5.23.0/x86_64-linux/B/Utils.pm line 186.
main::(t/11load.pl:159): $Ok = 'undef' if not defined $Ok;
$ok = 1.
Failed to run /data/perl5/perlbrew/perls/perl-5.23.0/bin/perl5.23.0 -Mblib t/11load.pl --load_perl5db --noimport /tmp/ygLJUZzfYS: core dumped signal: 11 at t/Test/Enbugger.pm line 104.
# Looks like you planned 12 tests but ran 3.
# Looks like your test exited with 255 just after 3.
t/11load.t ..............
Dubious, test returned 255 (wstat 65280, 0xff00)
Failed 9/12 subtests
Subroutine B::OP::parent redefined at /home/perltest/perl5/perlbrew/perls/perl-5.23.0/lib/site_perl/5.23.0/x86_64-linux/B/Utils.pm line 186.
t/20error.t ............. ok
t/21error.t ............. ok
Subroutine B::OP::parent redefined at /home/perltest/perl5/perlbrew/perls/perl-5.23.0/lib/site_perl/5.23.0/x86_64-linux/B/Utils.pm line 186.
t/22signal.t ............
All 1 subtests passed
#!perl
# COPYRIGHT AND LICENCE
#
# Copyright (C) 2014 Joshua ben Jore.
#
# This program is distributed WITHOUT ANY WARRANTY, including but not
# limited to the implied warranties of merchantability or fitness for
# a particular purpose.
#
# The program is free software. You may distribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation (either version 2 or any later version)
# and the Perl Artistic License as published by OâReilly Media, Inc.
# Please open the files named gpl-2.0.txt and Artistic for a copy of
# these licenses.
use strict;
use warnings;
use Getopt::Long qw( GetOptions );
use vars qw( $Caught $Value );
use lib qw( ./t );
BEGIN {
require 'reset_perms.pl';
=head1 DESCRIPTION
This test attempts to run the perl5db debugger, break on a line, then
tests that the break occurred where expected. This tests both that
%{"_<30break.pl"} with L magic and @{"_<30break.pl"} with dual-var
strings has been created.
The output of this program can be read by another program and used in
a test.
=head1 OPTIONS
=over
=item --noimport
Enbugger will be loaded without calling C<< ->import >>.
=item --import ELT
Adds an item to the C<< ->import >> argument list.
=item --help
Runs perldoc on this program.
=item --load_perl5db
After loading Enbugger, C<< Enbugger->load_perl5db >> will also be called.
=back
=cut
$ENV{PERLDB_OPTS} = 'noTTY';
# Option parsing.
my $import = 1;
my @import = ();
my $loadPerl5Db = 0;
GetOptions(
help => sub { exec {'perldoc'} 'perldoc', $0 },
noimport => sub { $import = 0 },
'import=s' => \@import,
load_perl5db => \ $loadPerl5Db,
)
or exec {'perldoc'} 'perldoc', $0;
# Promote some options into constants.
require constant;
constant->import( LoadPerl5Db => !! $loadPerl5Db );
# The test is whether the debugger runs and is controlled by my
# test commands here.
{
no warnings 'once';
@DB::typeahead = (
'l 1-200',
'b 146',
'c',
'$main::Caught = $main::Value',
'c',
'q'
);
}
# All our output will go to *OUT. If this program was given a
# parameter, we accept it as file that we should write our output too.
{
my ( $file ) = shift @ARGV;
if ( defined $file ) {
open OUT, '>', $file
or die "Can't open $file for writing: $!";
}
else {
*OUT = *STDOUT;
}
# OUTPUT is HOT.
select *OUT;
$| = 1;
# Things written to STDERR should also go to our single *OUT.
no warnings 'once';
*STDERR = $DB::OUT = $DB::LINEINFO = *OUT;
}
# Look to see if the debugger is on. Before I go and load
# Enbugger, I figure I can at least count on being able to examine
# $^P to see if we were started with the -d debugger flag.
constant->import( UnderTheDebugger => !! $^P );
# Load Enbugger and completely knacker our process. This little
# snippet used to just be a static `use Enbugger;' but I moved it
# up here when it became obvious that I wanted to optionally avoid
# importing anything.
require Enbugger;
if ( $import ) {
Enbugger->import( @import );
}
}
# Commands executed here:
# > l 1-200
# > b 146
# > c
Enbugger->stop;
$Value = 0;
$Value = 1;
$Value = 2;
$Value = 3;
# Commands executed here when the breakpoint works.
# > $main::Caught = $main::Value
# > c
$Value = 4;
$Value = 5;
$Value = 6;
$Value = 7;
$Value = 8;
$Value = 9;
$Value = 0;
$Caught = 'undef' if ! defined $Caught;
print "\$Caught = $main::Caught.\n";
# Commands executed here:
# > q
Subroutine B::OP::parent redefined at /home/perltest/perl5/perlbrew/perls/perl-5.23.0/lib/site_perl/5.23.0/x86_64-linux/B/Utils.pm line 186.
main::(t/30break.pl:138): $Value = 0;
Failed to run /data/perl5/perlbrew/perls/perl-5.23.0/bin/perl5.23.0 -Mblib t/30break.pl /tmp/bVMKgRcBJp: core dumped signal: 6 at t/Test/Enbugger.pm line 104.
# Looks like your test exited with 255 before it could output anything.
t/30break.t .............
Dubious, test returned 255 (wstat 65280, 0xff00)
Failed 24/24 subtests
# report_file: t/nytprof.out
# report_dir: t/nytprof
# nytprofcsv: /home/perltest/perl5/perlbrew/perls/perl-5.23.0/bin/nytprofcsv
Subroutine B::OP::parent redefined at /home/perltest/perl5/perlbrew/perls/perl-5.23.0/lib/site_perl/5.23.0/x86_64-linux/B/Utils.pm line 186.
Subroutine B::OP::parent redefined at /home/perltest/perl5/perlbrew/perls/perl-5.23.0/lib/site_perl/5.23.0/x86_64-linux/B/Utils.pm line 186.
t/nytprof.t ............. ok
t/release-pod-syntax.t .. skipped: these tests are for release candidate testing
t/trepantest.t .......... skipped: Skipped because Devel::Trepan isn't installed
Test Summary Report
-------------------
t/11load.t (Wstat: 65280 Tests: 3 Failed: 0)
Non-zero exit status: 255
Parse errors: Bad plan. You planned 12 tests but ran 3.
t/22signal.t (Wstat: 139 Tests: 1 Failed: 0)
Non-zero wait status: 139
t/30break.t (Wstat: 65280 Tests: 0 Failed: 0)
Non-zero exit status: 255
Parse errors: Bad plan. You planned 24 tests but ran 0.
Files=9, Tests=22, 4 wallclock secs ( 0.03 usr 0.00 sys + 3.54 cusr 0.07 csys = 3.64 CPU)
Result: FAIL
Failed 3/9 test programs. 0/22 subtests failed.
Makefile:1111: recipe for target 'test_dynamic' failed
make: *** [test_dynamic] Error 255
------------------------------
PREREQUISITES
------------------------------
Prerequisite modules loaded:
requires:
Module Need Have
------------------- ---- --------
B::Utils 0.25 0.26
Test::More 0 1.001014
build_requires:
Module Need Have
------------------- ---- --------
ExtUtils::MakeMaker 0 7.04_01
configure_requires:
Module Need Have
------------------- ---- --------
B::Utils 0.22 0.26
ExtUtils::CBuilder 0 0.280223
Test::More 0 1.001014
------------------------------
ENVIRONMENT AND OTHER CONTEXT
------------------------------
Environment variables:
AUTOMATED_TESTING = 1
LANG = en_US.UTF-8
NONINTERACTIVE_TESTING = 1
PATH = /home/perltest/sysperl/bin:/home/perltest/perl5/perlbrew/bin:/home/perltest/perl5/perlbrew/perls/perl-5.23.0/bin:/home/perltest/perltest/bin:/home/perltest/perltest/bin:/home/perltest/perltest/bin:/home/perltest/perl5/perlbrew/bin:/home/perltest/perl5/perlbrew/perls/perl-5.23.0/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/home/perltest/perltest/bin
PERL5LIB = /home/perltest/sysperl/lib/perl5:
PERL5OPT =
PERL5_CPANPLUS_IS_RUNNING = 12648
PERL5_CPAN_IS_RUNNING = 12648
PERL5_CPAN_IS_RUNNING_IN_RECURSION = 19567,12648
PERLBREW_BASHRC_VERSION = 0.73
PERLBREW_HOME = /home/perltest/.perlbrew
PERLBREW_LIB =
PERLBREW_MANPATH = /home/perltest/perl5/perlbrew/perls/perl-5.23.0/man
PERLBREW_PATH = /home/perltest/perl5/perlbrew/bin:/home/perltest/perl5/perlbrew/perls/perl-5.23.0/bin
PERLBREW_PERL = perl-5.23.0
PERLBREW_ROOT = /home/perltest/perl5/perlbrew
PERLBREW_VERSION = 0.73
PERL_CR_SMOKER_CURRENT = Task-Trepan-1.1
PERL_EXTUTILS_AUTOINSTALL = --defaultdeps
PERL_LOCAL_LIB_ROOT = /home/perltest/sysperl:
PERL_MB_OPT = --install_base "//home/perltest/sysperl"
PERL_MM_OPT = INSTALL_BASE=/home/perltest/sysperl
PERL_MM_USE_DEFAULT = 1
SHELL = /bin/bash
TERM = screen
Perl special variables (and OS-specific diagnostics, for MSWin32):
$^X = /data/perl5/perlbrew/perls/perl-5.23.0/bin/perl5.23.0
$UID/$EUID = 2000 / 2000
$GID = 2000 2000
$EGID = 2000 2000
Perl module toolchain versions installed:
Module Have
------------------- --------
CPAN 2.11
CPAN::Meta 2.150005
Cwd 3.56
ExtUtils::CBuilder 0.280223
ExtUtils::Command 1.20
ExtUtils::Install 2.04
ExtUtils::MakeMaker 7.04_01
ExtUtils::Manifest 1.70
ExtUtils::ParseXS 3.28
File::Spec 3.56
JSON 2.90
JSON::PP 2.27300
Module::Build 0.4214
Module::Signature 0.79
Parse::CPAN::Meta 1.4417
Test::Harness 3.35
Test::More 1.001014
YAML 1.15
YAML::Syck 1.29
version 0.9909
--
Summary of my perl5 (revision 5 version 23 subversion 0) configuration:
Platform:
osname=linux, osvers=3.19.0-18-generic, archname=x86_64-linux
uname='linux perltest 3.19.0-18-generic #18-ubuntu smp tue may 19 18:31:35 utc 2015 x86_64 x86_64 x86_64 gnulinux '
config_args='-de -Dprefix=/home/perltest/perl5/perlbrew/perls/perl-5.23.0 -Dusedevel -Aeval:scriptdir=/home/perltest/perl5/perlbrew/perls/perl-5.23.0/bin'
hint=recommended, useposix=true, d_sigaction=define
useithreads=undef, usemultiplicity=undef
use64bitint=define, use64bitall=define, uselongdouble=undef
usemymalloc=n, bincompat5005=undef
Compiler:
cc='cc', ccflags ='-fwrapv -fno-strict-aliasing -pipe -fstack-protector-strong -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64',
optimize='-O2',
cppflags='-fwrapv -fno-strict-aliasing -pipe -fstack-protector-strong -I/usr/local/include'
ccversion='', gccversion='4.9.2', gccosandvers=''
intsize=4, longsize=8, ptrsize=8, doublesize=8, byteorder=12345678, doublekind=3
d_longlong=define, longlongsize=8, d_longdbl=define, longdblsize=16, longdblkind=3
ivtype='long', ivsize=8, nvtype='double', nvsize=8, Off_t='off_t', lseeksize=8
alignbytes=8, prototype=define
Linker and Libraries:
ld='cc', ldflags =' -fstack-protector-strong -L/usr/local/lib'
libpth=/usr/local/lib /usr/lib/gcc/x86_64-linux-gnu/4.9/include-fixed /usr/include/x86_64-linux-gnu /usr/lib /lib/x86_64-linux-gnu /lib/../lib /usr/lib/x86_64-linux-gnu /usr/lib/../lib /lib
libs=-lpthread -lnsl -ldl -lm -lcrypt -lutil -lc
perllibs=-lpthread -lnsl -ldl -lm -lcrypt -lutil -lc
libc=libc-2.21.so, so=so, useshrplib=false, libperl=libperl.a
gnulibc_version='2.21'
Dynamic Linking:
dlsrc=dl_dlopen.xs, dlext=so, d_dlsymun=undef, ccdlflags='-Wl,-E'
cccdlflags='-fPIC', lddlflags='-shared -O2 -L/usr/local/lib -fstack-protector-strong'
Characteristics of this binary (from libperl):
Compile-time options: HAS_TIMES PERLIO_LAYERS PERL_DONT_CREATE_GVSV
PERL_HASH_FUNC_ONE_AT_A_TIME_HARD PERL_MALLOC_WRAP
PERL_NEW_COPY_ON_WRITE PERL_PRESERVE_IVUV
PERL_USE_DEVEL USE_64_BIT_ALL USE_64_BIT_INT
USE_LARGE_FILES USE_LOCALE USE_LOCALE_COLLATE
USE_LOCALE_CTYPE USE_LOCALE_NUMERIC USE_LOCALE_TIME
USE_PERLIO USE_PERL_ATOF
Locally applied patches:
Devel::PatchPerl 1.38
Built under linux
Compiled at Jul 14 2015 18:20:06
%ENV:
PERL5LIB="/home/perltest/sysperl/lib/perl5:"
PERL5OPT=""
PERL5_CPANPLUS_IS_RUNNING="12648"
PERL5_CPAN_IS_RUNNING="12648"
PERL5_CPAN_IS_RUNNING_IN_RECURSION="19567,12648"
PERLBREW_BASHRC_VERSION="0.73"
PERLBREW_HOME="/home/perltest/.perlbrew"
PERLBREW_LIB=""
PERLBREW_MANPATH="/home/perltest/perl5/perlbrew/perls/perl-5.23.0/man"
PERLBREW_PATH="/home/perltest/perl5/perlbrew/bin:/home/perltest/perl5/perlbrew/perls/perl-5.23.0/bin"
PERLBREW_PERL="perl-5.23.0"
PERLBREW_ROOT="/home/perltest/perl5/perlbrew"
PERLBREW_VERSION="0.73"
PERL_CR_SMOKER_CURRENT="Task-Trepan-1.1"
PERL_EXTUTILS_AUTOINSTALL="--defaultdeps"
PERL_LOCAL_LIB_ROOT="/home/perltest/sysperl:"
PERL_MB_OPT="--install_base "//home/perltest/sysperl""
PERL_MM_OPT="INSTALL_BASE=/home/perltest/sysperl"
PERL_MM_USE_DEFAULT="1"
@INC:
/home/perltest/sysperl/lib/perl5/x86_64-linux
/home/perltest/sysperl/lib/perl5
/home/perltest/perl5/perlbrew/perls/perl-5.23.0/lib/site_perl/5.23.0/x86_64-linux
/home/perltest/perl5/perlbrew/perls/perl-5.23.0/lib/site_perl/5.23.0
/home/perltest/perl5/perlbrew/perls/perl-5.23.0/lib/5.23.0/x86_64-linux
/home/perltest/perl5/perlbrew/perls/perl-5.23.0/lib/5.23.0
.