#36 build test fails

closed
5
2013-02-14
2013-02-03
No

ClusterSSH 4.01_01 patched to 4.01_02 from git.
$ sudo ./Build test
t/00-load.t ....... ok
t/01l10n.t ........ ok
t/02base.t ........ ok
t/10host.t ........ ok
t/15config.t ...... ok
t/20helper.t ...... ok
t/30cluster.t ..... 1/?
# Failed test 'The thing isa App::ClusterSSH::Exception::Cluster'
# at t/30cluster.t line 46.
# The thing isn't defined

# Failed test 'Error on reading an existing file ok'
# at t/30cluster.t line 47.
# got: undef
# expected: 'Unable to read file /home/[...]/App-ClusterSSH-4.01_01/t/30cluster.cannot_read: Permission denied'
# Looks like you failed 2 tests of 12.
t/30cluster.t ..... Dubious, test returned 2 (wstat 512, 0x200)
Failed 2/12 subtests
t/80clusterssh.t .. Subroutine CORE::GLOBAL::exit redefined at /usr/lib/perl5/vendor_perl/Tk.pm line 414.
t/80clusterssh.t .. ok
t/boilerplate.t ... ok
t/manifest.t ...... 1/4 # Distribution files are missing in MANIFEST:
# MYMETA.yml

# Failed test 'All files are listed in MANIFEST or skipped'
# at t/manifest.t line 11.
# MANIFEST lists the following missing files:
# META.json

# Failed test 'All files listed in MANIFEST exist on disk'
# at t/manifest.t line 11.
# Looks like you failed 2 tests of 4.
t/manifest.t ...... Dubious, test returned 2 (wstat 512, 0x200)
Failed 2/4 subtests
t/pod-coverage.t .. ok
t/pod.t ........... ok

Test Summary Report
-------------------
t/30cluster.t (Wstat: 512 Tests: 12 Failed: 2)
Failed tests: 7-8
Non-zero exit status: 2
t/boilerplate.t (Wstat: 0 Tests: 3 Failed: 0)
TODO passed: 1-3
t/manifest.t (Wstat: 512 Tests: 4 Failed: 2)
Failed tests: 2-3
Non-zero exit status: 2
Files=12, Tests=588, 1 wallclock secs ( 0.08 usr 0.01 sys + 1.53 cusr 0.09 csys = 1.71 CPU)
Result: FAIL
Failed 2/12 test programs. 4/588 subtests failed.
======================= 8< =======================

If I run the tests as a regular user, the 30cluster.t test passes (the rest remains, though), can't grasp why... But for whatever reasons, at some point I must run this with sudo(8).

Can you help me with this? What other info do you need?

Thanks,
Daniel

Discussion

  • Duncan Ferguson

    Duncan Ferguson - 2013-02-14
    • assigned_to: nobody --> duncan_ferguson
     
  • Duncan Ferguson

    Duncan Ferguson - 2013-02-14

    Fixed in the repository - thanks for the report

    Duncs

     
  • Duncan Ferguson

    Duncan Ferguson - 2013-02-14
    • status: open --> closed
     

Log in to post a comment.