Monorail v0.4 Perl 5 v5.34.1 x86_64-linux

Status
Fail
From
Slaven Rezić
Dist
Monorail v0.4
Platform
Perl 5 v5.34.1 x86_64-linux
Date
2024-01-01 09:46:05
ID
951f01f4-a88a-11ee-9b4b-ef026e8775ea
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 Chris Reinhardt,

This is a computer-generated report for Monorail-0.4
on perl 5.34.1, created by CPAN-Reporter-1.2019.

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:

none provided

------------------------------
PROGRAM OUTPUT
------------------------------

Output from '/usr/bin/make test':

PERL_DL_NONLAZY=1 "/opt/perl-5.34.1/bin/perl" "-MExtUtils::Command::MM" "-MTest::Harness" "-e" "undef *Test::Harness::Switches; test_harness(0, 'blib/lib', 'blib/arch')" t/*.t t/change/*.t t/migration_script/*.t t/role/*.t t/role/change/*.t t/sql_trans/*.t
t/author-pod-syntax.t ......... skipped: these tests are for testing by the author
t/bootstrapper.t .............. ok
t/change/add_field.t .......... ok
t/change/alter_field.t ........ ok
t/change/alter_view.t ......... ok
t/change/create_constraint.t .. ok

#   Failed test 'An add field change transforms a schema'
#   at t/change/create_index.t line 51.
# Compared $data->fields->[0]
#    got : SQL::Translator::Schema::IndexField=HASH(0x5640ec9d58a0)
# expect : 'ride'
# Looks like you failed 1 test of 3.
t/change/create_index.t ....... 
Dubious, test returned 1 (wstat 256, 0x100)
Failed 1/3 subtests 
t/change/create_table.t ....... ok
t/change/create_view.t ........ ok
t/change/drop_constraint.t .... ok
t/change/drop_field.t ......... ok
t/change/drop_table.t ......... ok
t/change/drop_view.t .......... ok
t/change/rename_table.t ....... ok
t/change/run_perl.t ........... ok
t/diff.t ...................... ok
t/migration_script.t .......... ok
t/migration_script/set.t ...... ok
t/migration_script/writer.t ... ok
t/monorail.t .................. ok
t/recorder.t .................. ok
t/renames.t ................... ok
t/role/change.t ............... ok
t/role/change/standard_sql.t .. ok
t/role/migration.t ............ ok
t/sql_trans/diff.t ............ ok
t/sql_trans/producer_proxy.t .. ok

#   Failed test 'The monorail sql translator producer the alter_create_index method should return a perl string for a CreateIndex change' by dying:
#     Attribute (fields) does not pass the type constraint because: Validation failed for 'ArrayRef[Str]' with value [ SQL::Translator::Schema::IndexField={ _ERROR: "", extra: HASH(0x55670724b650), name: "ride" } ] at constructor Monorail::Change::CreateIndex::new (defined at /home/cpansand/.cpan/build/2024010109/Monorail-0.4-1/blib/lib/Monorail/Change/CreateIndex.pm line 33) line 46
	Monorail::Change::CreateIndex::new('Monorail::Change::CreateIndex', 'table', 'epcot', 'name', 'ride_idx', 'fields', 'ARRAY(0x55670724bea8)', 'type', 'normal', 'options', 'ARRAY(0x556707a99b50)') called at /home/cpansand/.cpan/build/2024010109/Monorail-0.4-1/blib/lib/SQL/Translator/Producer/Monorail.pm line 138
	SQL::Translator::Producer::Monorail::alter_create_index('SQL::Translator::Schema::Index=HASH(0x556707a662a0)') called at t/sql_trans_producer.t line 151
	main::__ANON__('Test::Spec::Example=HASH(0x556707a53478)') called at /opt/perl-5.34.1/lib/site_perl/5.34.1/Test/Spec/Context.pm line 411
	eval {...} at /opt/perl-5.34.1/lib/site_perl/5.34.1/Test/Spec/Context.pm line 411
	Test::Spec::Context::contextualize('Test::Spec::Context=HASH(0x556707a571b0)', 'CODE(0x5567052544b0)', 'Test::Spec::Example=HASH(0x556707a53478)') called at /opt/perl-5.34.1/lib/site_perl/5.34.1/Test/Spec/Context.pm line 391
	Test::Spec::Context::_in_anonymous_context('Test::Spec::Context=HASH(0x556705251f60)', 'CODE(0x5567052544b0)', 'Test::Spec::Example=HASH(0x556707a53478)') called at /opt/perl-5.34.1/lib/site_perl/5.34.1/Test/Spec/Example.pm line 134
	Test::Spec::Example::__ANON__('Test::Spec::Example=HASH(0x556707a53478)') called at /opt/perl-5.34.1/lib/site_perl/5.34.1/Test/Spec/Context.pm line 411
	eval {...} at /opt/perl-5.34.1/lib/site_perl/5.34.1/Test/Spec/Context.pm line 411
	Test::Spec::Context::contextualize('Test::Spec::Context=HASH(0x556705251f60)', 'CODE(0x556707a59a70)', 'Test::Spec::Example=HASH(0x556707a53478)') called at /opt/perl-5.34.1/lib/site_perl/5.34.1/Test/Spec/Example.pm line 142
	Test::Spec::Example::_runner('Test::Spec::Example=HASH(0x556707a53478)', 'Test::Spec::Context=HASH(0x556705251f60)') called at /opt/perl-5.34.1/lib/site_perl/5.34.1/Test/Spec/Example.pm line 130
	Test::Spec::Example::__ANON__('Test::Spec::Example=HASH(0x556707a53478)') called at /opt/perl-5.34.1/lib/site_perl/5.34.1/Test/Spec/Context.pm line 411
	eval {...} at /opt/perl-5.34.1/lib/site_perl/5.34.1/Test/Spec/Context.pm line 411
	Test::Spec::Context::contextualize('Test::Spec::Context=HASH(0x5567079d5770)', 'CODE(0x556705d80e50)', 'Test::Spec::Example=HASH(0x556707a53478)') called at /opt/perl-5.34.1/lib/site_perl/5.34.1/Test/Spec/Example.pm line 142
	Test::Spec::Example::_runner('Test::Spec::Example=HASH(0x556707a53478)', 'Test::Spec::Context=HASH(0x5567079d5770)', 'Test::Spec::Context=HASH(0x556705251f60)') called at /opt/perl-5.34.1/lib/site_perl/5.34.1/Test/Spec/Example.pm line 68
	eval {...} at /opt/perl-5.34.1/lib/site_perl/5.34.1/Test/Spec/Example.pm line 68
	Test::Spec::Example::run('Test::Spec::Example=HASH(0x556707a53478)') called at /opt/perl-5.34.1/lib/site_perl/5.34.1/Test/Spec.pm line 160
	Test::Spec::_execute_tests('main', 'Test::Spec::Example=HASH(0x556707a53160)', 'Test::Spec::Example=HASH(0x556707a53238)', 'Test::Spec::Example=HASH(0x556707a532f8)', 'Test::Spec::Example=HASH(0x556707a533b8)', 'Test::Spec::Example=HASH(0x556707a53478)', 'Test::Spec::Example=HASH(0x556707a53538)', 'Test::Spec::Example=HASH(0x556707a535f8)', 'Test::Spec::Example=HASH(0x556707a536b8)', 'Test::Spec::Example=HASH(0x556707a53778)', 'Test::Spec::Example=HASH(0x556707a53838)', 'Test::Spec::Example=HASH(0x556707a567c0)', 'Test::Spec::Example=HASH(0x556707a56880)', 'Test::Spec::Example=HASH(0x556707a56940)') called at /opt/perl-5.34.1/lib/site_perl/5.34.1/Test/Spec.pm line 139
	Test::Spec::runtests at t/sql_trans_producer.t line 466

#   Failed test 'The monorail sql translator producer the produce method should return a perl string that represents the given schema' by dying:
#     Attribute (fields) does not pass the type constraint because: Validation failed for 'ArrayRef[Str]' with value [ SQL::Translator::Schema::IndexField={ _ERROR: "", extra: HASH(0x556707c56cc8), name: "ride" } ] at constructor Monorail::Change::CreateIndex::new (defined at /home/cpansand/.cpan/build/2024010109/Monorail-0.4-1/blib/lib/Monorail/Change/CreateIndex.pm line 33) line 46
	Monorail::Change::CreateIndex::new('Monorail::Change::CreateIndex', 'table', 'epcot', 'name', 'ride_idx', 'fields', 'ARRAY(0x556707c2eef0)', 'type', 'normal', 'options', 'ARRAY(0x556707d19dd0)') called at /home/cpansand/.cpan/build/2024010109/Monorail-0.4-1/blib/lib/SQL/Translator/Producer/Monorail.pm line 138
	SQL::Translator::Producer::Monorail::alter_create_index('SQL::Translator::Schema::Index=HASH(0x556707c02b00)') called at /home/cpansand/.cpan/build/2024010109/Monorail-0.4-1/blib/lib/SQL/Translator/Producer/Monorail.pm line 30
	SQL::Translator::Producer::Monorail::produce('Test::Spec::Mocks::MockObject=HASH(0x556707402438)') called at t/sql_trans_producer.t line 431
	main::__ANON__('Test::Spec::Example=HASH(0x556707a56940)') called at /opt/perl-5.34.1/lib/site_perl/5.34.1/Test/Spec/Context.pm line 411
	eval {...} at /opt/perl-5.34.1/lib/site_perl/5.34.1/Test/Spec/Context.pm line 411
	Test::Spec::Context::contextualize('Test::Spec::Context=HASH(0x556707a57120)', 'CODE(0x556707a51580)', 'Test::Spec::Example=HASH(0x556707a56940)') called at /opt/perl-5.34.1/lib/site_perl/5.34.1/Test/Spec/Context.pm line 391
	Test::Spec::Context::_in_anonymous_context('Test::Spec::Context=HASH(0x556707a4cc10)', 'CODE(0x556707a51580)', 'Test::Spec::Example=HASH(0x556707a56940)') called at /opt/perl-5.34.1/lib/site_perl/5.34.1/Test/Spec/Example.pm line 134
	Test::Spec::Example::__ANON__('Test::Spec::Example=HASH(0x556707a56940)') called at /opt/perl-5.34.1/lib/site_perl/5.34.1/Test/Spec/Context.pm line 411
	eval {...} at /opt/perl-5.34.1/lib/site_perl/5.34.1/Test/Spec/Context.pm line 411
	Test::Spec::Context::contextualize('Test::Spec::Context=HASH(0x556707a4cc10)', 'CODE(0x556707c6fd18)', 'Test::Spec::Example=HASH(0x556707a56940)') called at /opt/perl-5.34.1/lib/site_perl/5.34.1/Test/Spec/Example.pm line 142
	Test::Spec::Example::_runner('Test::Spec::Example=HASH(0x556707a56940)', 'Test::Spec::Context=HASH(0x556707a4cc10)') called at /opt/perl-5.34.1/lib/site_perl/5.34.1/Test/Spec/Example.pm line 130
	Test::Spec::Example::__ANON__('Test::Spec::Example=HASH(0x556707a56940)') called at /opt/perl-5.34.1/lib/site_perl/5.34.1/Test/Spec/Context.pm line 411
	eval {...} at /opt/perl-5.34.1/lib/site_perl/5.34.1/Test/Spec/Context.pm line 411
	Test::Spec::Context::contextualize('Test::Spec::Context=HASH(0x5567079d5770)', 'CODE(0x556707a56c58)', 'Test::Spec::Example=HASH(0x556707a56940)') called at /opt/perl-5.34.1/lib/site_perl/5.34.1/Test/Spec/Example.pm line 142
	Test::Spec::Example::_runner('Test::Spec::Example=HASH(0x556707a56940)', 'Test::Spec::Context=HASH(0x5567079d5770)', 'Test::Spec::Context=HASH(0x556707a4cc10)') called at /opt/perl-5.34.1/lib/site_perl/5.34.1/Test/Spec/Example.pm line 68
	eval {...} at /opt/perl-5.34.1/lib/site_perl/5.34.1/Test/Spec/Example.pm line 68
	Test::Spec::Example::run('Test::Spec::Example=HASH(0x556707a56940)') called at /opt/perl-5.34.1/lib/site_perl/5.34.1/Test/Spec.pm line 160
	Test::Spec::_execute_tests('main', 'Test::Spec::Example=HASH(0x556707a53160)', 'Test::Spec::Example=HASH(0x556707a53238)', 'Test::Spec::Example=HASH(0x556707a532f8)', 'Test::Spec::Example=HASH(0x556707a533b8)', 'Test::Spec::Example=HASH(0x556707a53478)', 'Test::Spec::Example=HASH(0x556707a53538)', 'Test::Spec::Example=HASH(0x556707a535f8)', 'Test::Spec::Example=HASH(0x556707a536b8)', 'Test::Spec::Example=HASH(0x556707a53778)', 'Test::Spec::Example=HASH(0x556707a53838)', 'Test::Spec::Example=HASH(0x556707a567c0)', 'Test::Spec::Example=HASH(0x556707a56880)', 'Test::Spec::Example=HASH(0x556707a56940)') called at /opt/perl-5.34.1/lib/site_perl/5.34.1/Test/Spec.pm line 139
	Test::Spec::runtests at t/sql_trans_producer.t line 466
# Looks like you failed 2 tests of 14.
t/sql_trans_producer.t ........ 
Dubious, test returned 2 (wstat 512, 0x200)
Failed 2/14 subtests 

Test Summary Report
-------------------
t/change/create_index.t     (Wstat: 256 (exited 1) Tests: 3 Failed: 1)
  Failed test:  3
  Non-zero exit status: 1
t/sql_trans_producer.t      (Wstat: 512 (exited 2) Tests: 14 Failed: 2)
  Failed tests:  5, 14
  Non-zero exit status: 2
Files=28, Tests=168,  9 wallclock secs ( 0.10 usr  0.01 sys +  8.60 cusr  0.85 csys =  9.56 CPU)
Result: FAIL
Failed 2/28 test programs. 3/168 subtests failed.
make: *** [Makefile:988: test_dynamic] Error 2

------------------------------
PREREQUISITES
------------------------------

Prerequisite modules loaded:

requires:

    Module                                Need Have    
    ------------------------------------- ---- --------
    base                                  0    2.27    
    Clone                                 0    0.46    
    Data::Dumper                          0    2.183   
    DBIx::Class                           0    0.082843
    DBIx::Class::Schema                   0    0       
    File::Path                            0    2.18    
    File::Slurper                         0    0.014   
    Graph                                 0    0.9727  
    List::Compare                         0    0.55    
    List::Util                            0    1.63    
    Module::Find                          0    0.16    
    Module::Runtime                       0    0.016   
    Moose                                 0    2.2206  
    Moose::Role                           0    2.2206  
    namespace::autoclean                  0    0.29    
    parent                                0    0.238   
    Path::Class                           0    0.37    
    SQL::Translator                       0    1.64    
    SQL::Translator::Diff                 0    0       
    SQL::Translator::Parser::DBIx::Class  0    1.10    
    SQL::Translator::Producer::PostgreSQL 0    1.64    
    SQL::Translator::Schema               0    1.64    
    SQL::Translator::Schema::Constraint   0    1.64    
    SQL::Translator::Schema::Field        0    1.64    
    SQL::Translator::Schema::Index        0    1.64    
    SQL::Translator::Schema::Table        0    1.64    
    SQL::Translator::Schema::View         0    1.64    
    SQL::Translator::Utils                0    1.64    
    strict                                0    1.12    
    Text::MicroTemplate                   0    0.24    
    Text::MicroTemplate::DataSection      0    0.01    
    UUID::Tiny                            0    1.04    
    warnings                              0    1.51    

build_requires:

    Module                                Need Have    
    ------------------------------------- ---- --------
    DBD::SQLite                           0    1.74    
    DBI                                   0    1.643   
    DBIx::Class::Core                     0    0       
    ExtUtils::MakeMaker                   0    7.70    
    FindBin                               0    1.53    
    lib                                   0    0.65    
    Test::Deep                            0    1.204   
    Test::Exception                       0    0.43    
    Test::Spec                            0    0.54    

configure_requires:

    Module                                Need Have    
    ------------------------------------- ---- --------
    ExtUtils::MakeMaker                   0    7.70    


------------------------------
ENVIRONMENT AND OTHER CONTEXT
------------------------------

Environment variables:

    LANG = C
    PATH = /usr/local/bin:/usr/bin:/bin:/usr/local/sbin:/usr/sbin:/sbin:/home/cpansand/bin/linux-gnu:/home/cpansand/bin/sh:/home/cpansand/bin:/usr/games:/home/cpansand/devel:/home/eserte/src/srezic-misc/scripts
    PERL5LIB = /home/cpansand/.local/share/.cpan/build/2024010109/Text-MicroTemplate-DataSection-0.01-1/blib/arch:/home/cpansand/.local/share/.cpan/build/2024010109/Text-MicroTemplate-DataSection-0.01-1/blib/lib:/home/cpansand/.local/share/.cpan/build/2024010109/SQL-Translator-1.64-0/blib/arch:/home/cpansand/.local/share/.cpan/build/2024010109/SQL-Translator-1.64-0/blib/lib
    PERL5OPT = 
    PERL5_CPANPLUS_IS_RUNNING = 1852638
    PERL5_CPAN_IS_RUNNING = 1852638
    PERL5_CPAN_IS_RUNNING_IN_RECURSION = 1852624,1852638
    PERLDOC = -MPod::Perldoc::ToTextOverstrike
    PERL_BATCH = yes
    PERL_CANARY_STABILITY_NOPROMPT = 1
    PERL_CPAN_REPORTER_CONFIG = /var/tmp/cpansmoker-1023/2024010109/cpanreporter_000_config.ini
    PERL_EXTUTILS_AUTOINSTALL = --defaultdeps
    PERL_USE_UNSAFE_INC = 1
    SHELL = /usr/bin/zsh
    TERM = screen
    TMPDIR = /var/tmp/cpansmoker-1023/2024010109

Perl special variables (and OS-specific diagnostics, for MSWin32):

    $^X = /opt/perl-5.34.1/bin/perl
    $UID/$EUID = 1023 / 1023
    $GID = 1023 1023
    $EGID = 1023 1023

Perl module toolchain versions installed:

    Module              Have    
    ------------------- --------
    CPAN                2.28    
    CPAN::Meta          2.150010
    Cwd                 3.80    
    ExtUtils::CBuilder  0.280236
    ExtUtils::Command   7.70    
    ExtUtils::Install   2.22    
    ExtUtils::MakeMaker 7.70    
    ExtUtils::Manifest  1.75    
    ExtUtils::ParseXS   3.51    
    File::Spec          3.80    
    JSON                4.10    
    JSON::PP            4.16    
    Module::Build       0.4234  
    Module::Signature   0.88    
    Parse::CPAN::Meta   2.150010
    Test2               1.302196
    Test::Harness       3.48    
    Test::More          1.302196
    YAML                1.31    
    YAML::Syck          1.34    
    version             0.9929  


--

Summary of my perl5 (revision 5 version 34 subversion 1) configuration:
   
  Platform:
    osname=linux
    osvers=5.15.0-56-generic
    archname=x86_64-linux
    uname='linux cloud14.bbbike.org 5.15.0-56-generic #62-ubuntu smp tue nov 22 19:54:14 utc 2022 x86_64 x86_64 x86_64 gnulinux '
    config_args='-ds -e -Dprefix=/opt/perl-5.34.1 -Dcf_email=srezic@cpan.org'
    hint=recommended
    useposix=true
    d_sigaction=define
    useithreads=undef
    usemultiplicity=undef
    use64bitint=define
    use64bitall=define
    uselongdouble=undef
    usemymalloc=n
    default_inc_excludes_dot=define
  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='11.3.0'
    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/x86_64-linux-gnu /usr/lib /usr/lib64
    libs=-lpthread -lnsl -lgdbm -ldb -ldl -lm -lcrypt -lutil -lc
    perllibs=-lpthread -lnsl -ldl -lm -lcrypt -lutil -lc
    libc=/lib/x86_64-linux-gnu/libc.so.6
    so=so
    useshrplib=false
    libperl=libperl.a
    gnulibc_version='2.35'
  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_COPY_ON_WRITE
    PERL_DONT_CREATE_GVSV
    PERL_MALLOC_WRAP
    PERL_OP_PARENT
    PERL_PRESERVE_IVUV
    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
  Built under linux
  Compiled at Dec 18 2022 15:21:23
  %ENV:
    PERL5LIB="/home/cpansand/.local/share/.cpan/build/2024010109/Text-MicroTemplate-DataSection-0.01-1/blib/arch:/home/cpansand/.local/share/.cpan/build/2024010109/Text-MicroTemplate-DataSection-0.01-1/blib/lib:/home/cpansand/.local/share/.cpan/build/2024010109/SQL-Translator-1.64-0/blib/arch:/home/cpansand/.local/share/.cpan/build/2024010109/SQL-Translator-1.64-0/blib/lib"
    PERL5OPT=""
    PERL5_CPANPLUS_IS_RUNNING="1852638"
    PERL5_CPAN_IS_RUNNING="1852638"
    PERL5_CPAN_IS_RUNNING_IN_RECURSION="1852624,1852638"
    PERLDOC="-MPod::Perldoc::ToTextOverstrike"
    PERL_BATCH="yes"
    PERL_CANARY_STABILITY_NOPROMPT="1"
    PERL_CPAN_REPORTER_CONFIG="/var/tmp/cpansmoker-1023/2024010109/cpanreporter_000_config.ini"
    PERL_EXTUTILS_AUTOINSTALL="--defaultdeps"
    PERL_USE_UNSAFE_INC="1"
  @INC:
    /home/cpansand/.local/share/.cpan/build/2024010109/Text-MicroTemplate-DataSection-0.01-1/blib/arch
    /home/cpansand/.local/share/.cpan/build/2024010109/Text-MicroTemplate-DataSection-0.01-1/blib/lib
    /home/cpansand/.local/share/.cpan/build/2024010109/SQL-Translator-1.64-0/blib/arch
    /home/cpansand/.local/share/.cpan/build/2024010109/SQL-Translator-1.64-0/blib/lib
    /opt/perl-5.34.1/lib/site_perl/5.34.1/x86_64-linux
    /opt/perl-5.34.1/lib/site_perl/5.34.1
    /opt/perl-5.34.1/lib/5.34.1/x86_64-linux
    /opt/perl-5.34.1/lib/5.34.1
    .