Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

DBIish is failing its pre-install tests. #50

Closed
cschwenz opened this issue Feb 16, 2016 · 3 comments
Closed

DBIish is failing its pre-install tests. #50

cschwenz opened this issue Feb 16, 2016 · 3 comments

Comments

@cschwenz
Copy link

$ panda install Task::Star
==> Task::Star depends on DBIish, Linenoise, LWP::Simple, JSON::RPC, Pod::To::HTML, p6doc, MIME::Base64
==> Linenoise depends on Native::Resources
==> Native::Resources depends on LibraryMake
URI provides the requested URI::Escape
==> LWP::Simple depends on MIME::Base64
==> JSON::RPC depends on LWP::Simple
URI provides the requested URI::Escape
==> LWP::Simple depends on MIME::Base64
panda provides the requested Panda
==> p6doc depends on File::Temp
==> File::Temp depends on File::Directory::Tree
==> Fetching DBIish
==> Building DBIish
==> Testing DBIish
# Using PGDATABASE: (none)
t/01-connectconfig-pg.t ... ok
Failed
  in method connect at /home/cschwenz/.panda-work/1455620847_1/lib/DBIish.pm6 line 7
  in block <unit> at t/05-mock.t line 6

Actually thrown at:
  in any  at gen/moar/m-Metamodel.nqp line 3041
  in method connect at /home/cschwenz/.panda-work/1455620847_1/lib/DBIish.pm6 line 9
  in block <unit> at t/05-mock.t line 6

t/05-mock.t ...............
Dubious, test returned 255 (wstat 65280, 0xff00)
Failed 9/9 subtests

# Failed test 'Install driver'
# at t/10-mysql.t line 66
Failed
  in block <unit> at t/10-mysql.t line 65

Actually thrown at:
  in any  at gen/moar/m-Metamodel.nqp line 3041
  in block <unit> at t/10-mysql.t line 68

# Looks like you planned 87 tests, but ran 1
# Looks like you failed 1 test of 1
t/10-mysql.t ..............
Dubious, test returned 1 (wstat 256, 0x100)
Failed 87/87 subtests

# Failed test 'Install driver'
# at EVAL_0 line 28
Failed
  in block <unit> at EVAL_0 line 27
  in block <unit> at t/25-mysql-common.t line 17

Actually thrown at:
  in any  at gen/moar/m-Metamodel.nqp line 3041
  in block <unit> at EVAL_0 line 30
  in block <unit> at t/25-mysql-common.t line 17

# Looks like you planned 58 tests, but ran 1
# Looks like you failed 1 test of 1
t/25-mysql-common.t .......
Dubious, test returned 1 (wstat 256, 0x100)
Failed 58/58 subtests
t/30-pg.t ................. ok

# Failed test 'Install driver'
# at EVAL_0 line 28
Failed
  in block <unit> at EVAL_0 line 27
  in block <unit> at t/35-pg-common.t line 25

Actually thrown at:
  in any  at gen/moar/m-Metamodel.nqp line 3041
  in block <unit> at EVAL_0 line 30
  in block <unit> at t/35-pg-common.t line 25

# Looks like you planned 58 tests, but ran 1
# Looks like you failed 1 test of 1
t/35-pg-common.t ..........
Dubious, test returned 1 (wstat 256, 0x100)
Failed 58/58 subtests

# Failed test 'Install driver'
# at EVAL_0 line 28
Failed
  in block <unit> at EVAL_0 line 27
  in block <unit> at t/40-sqlite-common.t line 12

Actually thrown at:
  in any  at gen/moar/m-Metamodel.nqp line 3041
  in block <unit> at EVAL_0 line 30
  in block <unit> at t/40-sqlite-common.t line 12

# Looks like you planned 58 tests, but ran 1
# Looks like you failed 1 test of 1
t/40-sqlite-common.t ......
Dubious, test returned 1 (wstat 256, 0x100)
Failed 58/58 subtests
t/41-sqlite-exec-error.t .. ok

Test Summary Report
-------------------
t/05-mock.t             (Wstat: 65280 Tests: 0 Failed: 0)
  Non-zero exit status: 255
  Parse errors: Bad plan.  You planned 9 tests but ran 0.
t/10-mysql.t            (Wstat: 256 Tests: 1 Failed: 1)
  Failed test:  1
  Non-zero exit status: 1
  Parse errors: Bad plan.  You planned 87 tests but ran 1.
t/25-mysql-common.t     (Wstat: 256 Tests: 1 Failed: 1)
  Failed test:  1
  Non-zero exit status: 1
  Parse errors: Bad plan.  You planned 58 tests but ran 1.
t/35-pg-common.t        (Wstat: 256 Tests: 1 Failed: 1)
  Failed test:  1
  Non-zero exit status: 1
  Parse errors: Bad plan.  You planned 58 tests but ran 1.
t/40-sqlite-common.t    (Wstat: 256 Tests: 1 Failed: 1)
  Failed test:  1
  Non-zero exit status: 1
  Parse errors: Bad plan.  You planned 58 tests but ran 1.
Files=8, Tests=24, 54 wallclock secs ( 0.05 usr  0.01 sys + 50.99 cusr  2.43 csys = 53.48 CPU)
Result: FAIL
The spawned process exited unsuccessfully (exit code: 1)
  in sub run-and-gather-output at /home/cschwenz/.rakudobrew/moar-nom/install/share/perl6/site/sources/DAD29535955E677E319FDF0ACA9A926766180A75 line 85
  in block  at /home/cschwenz/.rakudobrew/moar-nom/install/share/perl6/site/sources/1DCE07CA986A927E98F9EEDC8B5DF87C995E3619 line 22
  in sub indir at /home/cschwenz/.rakudobrew/moar-nom/install/share/perl6/site/sources/DAD29535955E677E319FDF0ACA9A926766180A75 line 20
  in method test at /home/cschwenz/.rakudobrew/moar-nom/install/share/perl6/site/sources/1DCE07CA986A927E98F9EEDC8B5DF87C995E3619 line 5
  in method install at /home/cschwenz/.rakudobrew/moar-nom/install/share/perl6/site/sources/5538417AF9CC9DF68B79F613F1F4897C2AEC2F05 line 156
  in block  at /home/cschwenz/.rakudobrew/moar-nom/install/share/perl6/site/sources/5538417AF9CC9DF68B79F613F1F4897C2AEC2F05 line 229
  in method resolve at /home/cschwenz/.rakudobrew/moar-nom/install/share/perl6/site/sources/5538417AF9CC9DF68B79F613F1F4897C2AEC2F05 line 223
  in sub MAIN at /home/cschwenz/.rakudobrew/moar-nom/install/share/perl6/site/resources/76CD539C815A33F2891D2EF3D6D96B1081567AD1 line 18
  in block <unit> at /home/cschwenz/.rakudobrew/moar-nom/install/share/perl6/site/resources/76CD539C815A33F2891D2EF3D6D96B1081567AD1 line 150

$

This is on a fresh install of perl6 done via rakudobrew build moar && rakudobrew build panda.

$ which perl6
/home/cschwenz/.rakudobrew/bin/perl6
$ perl6 -v
This is Rakudo version 2015.12-362-g4cd2875 built on MoarVM version 2016.01-28-g2136293
implementing Perl 6.c.
$ which panda
/home/cschwenz/.rakudobrew/moar-nom/install/share/perl6/site/bin/panda
$
@Skarsnik
Copy link
Contributor

It's probably a bug in Rakudo, I don't have this issue on a Rakudo from December

@jonathanstowe
Copy link
Member

It's leaking the Failures, this behaviour changed a couple of days ago

@salortiz salortiz mentioned this issue Feb 17, 2016
jonathanstowe added a commit that referenced this issue Feb 17, 2016
@cschwenz
Copy link
Author

Closing this issue as the merged fix resolves the original report. :-)

salortiz added a commit that referenced this issue Mar 31, 2016
Not yet "in an ideal world", TODO #50
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants