Skip to content

Instantly share code, notes, and snippets.

@wchristian
Created November 3, 2010 20:10
Show Gist options
  • Save wchristian/661633 to your computer and use it in GitHub Desktop.
Save wchristian/661633 to your computer and use it in GitHub Desktop.
D:\Ubic>dzil test
!!! [AutoPrereq] will be removed in Dist::Zilla v5; replace it with [AutoPrereqs] (note the 's')
[DZ] building test distribution under .build\FfXTuvYCFd
[DZ] beginning to build Ubic
[DZ] guessing dist's main_module is lib/Ubic.pm
[DZ] extracting distribution abstract from lib/Ubic.pm
[PodWeaver] [@Default/Name] couldn't find abstract in lib/Ubic/Daemon/OS/POSIX.pm
[PodWeaver] [@Default/Name] couldn't find abstract in lib/Ubic/Daemon/OS/Linux.pm
[@Filter/ExtraTests] rewriting release test xt/release/pod-coverage.t
[@Filter/ExtraTests] rewriting release test xt/release/pod-syntax.t
[DZ] writing Ubic in .build\FfXTuvYCFd
Checking if your kit is complete...
Looks good
Writing Makefile for Ubic
cp lib/Ubic/Service/Skeleton.pm blib\lib\Ubic\Service\Skeleton.pm
cp lib/Ubic/Daemon/OS/Linux.pm blib\lib\Ubic\Daemon\OS\Linux.pm
cp lib/Ubic/Service/SimpleDaemon.pm blib\lib\Ubic\Service\SimpleDaemon.pm
cp lib/Ubic/Daemon/OS/POSIX.pm blib\lib\Ubic\Daemon\OS\POSIX.pm
cp lib/Ubic/Lockf/Alarm.pm blib\lib\Ubic\Lockf\Alarm.pm
cp lib/Ubic/Multiservice/Simple.pm blib\lib\Ubic\Multiservice\Simple.pm
cp lib/Ubic/Service.pm blib\lib\Ubic\Service.pm
cp lib/Ubic/Daemon.pm blib\lib\Ubic\Daemon.pm
cp lib/Ubic/PortMap.pm blib\lib\Ubic\PortMap.pm
cp lib/Ubic/Result.pm blib\lib\Ubic\Result.pm
cp lib/Ubic/Manual/FAQ.pod blib\lib\Ubic\Manual\FAQ.pod
cp lib/Ubic/Multiservice/Dir.pm blib\lib\Ubic\Multiservice\Dir.pm
cp lib/Ubic/Cmd/Results.pm blib\lib\Ubic\Cmd\Results.pm
cp lib/Ubic/Daemon/Status.pm blib\lib\Ubic\Daemon\Status.pm
cp lib/Ubic/AccessGuard.pm blib\lib\Ubic\AccessGuard.pm
cp lib/Ubic/Ping.pm blib\lib\Ubic\Ping.pm
cp lib/Ubic/Run.pm blib\lib\Ubic\Run.pm
cp lib/Ubic/Logger.pm blib\lib\Ubic\Logger.pm
cp lib/Ubic/Result/Class.pm blib\lib\Ubic\Result\Class.pm
cp lib/Ubic/Multiservice.pm blib\lib\Ubic\Multiservice.pm
cp lib/Ubic/Cmd.pm blib\lib\Ubic\Cmd.pm
cp lib/Ubic/Daemon/PidState.pm blib\lib\Ubic\Daemon\PidState.pm
cp lib/Ubic.pm blib\lib\Ubic.pm
cp lib/Ubic/Persistent.pm blib\lib\Ubic\Persistent.pm
cp lib/Ubic/Service/Utils.pm blib\lib\Ubic\Service\Utils.pm
cp lib/Ubic/Lockf.pm blib\lib\Ubic\Lockf.pm
cp lib/Ubic/Daemon/OS.pm blib\lib\Ubic\Daemon\OS.pm
cp lib/Ubic/Service/Common.pm blib\lib\Ubic\Service\Common.pm
cp lib/Ubic/SingletonLock.pm blib\lib\Ubic\SingletonLock.pm
C:\Perl\bin\perl.exe -MExtUtils::Command -e "cp" -- bin/ubic-watchdog blib\script\ubic-watchdog
pl2bat.bat blib\script\ubic-watchdog
C:\Perl\bin\perl.exe -MExtUtils::Command -e "cp" -- bin/ubic blib\script\ubic
pl2bat.bat blib\script\ubic
C:\Perl\bin\perl.exe -MExtUtils::Command -e "cp" -- bin/ubic-daemon blib\script\ubic-daemon
pl2bat.bat blib\script\ubic-daemon
C:\Perl\bin\perl.exe -MExtUtils::Command -e "cp" -- bin/ubic-update blib\script\ubic-update
pl2bat.bat blib\script\ubic-update
C:\Perl\bin\perl.exe "-MExtUtils::Command::MM" "-e" "test_harness(0, 'blib\lib', 'blib\arch')" t/*.t
t/00_compile.t ............ ok
t/cmd.t ................... Failed to eval 't/service/sleeping-daemon': The 'user' parameter (undef) to Ubic::Service::SimpleDaemon::new was an 'undef', which is not one of the all
owed types: scalar
at lib/Ubic/Service/SimpleDaemon.pm line 23
Ubic::Service::SimpleDaemon::new(undef, 'HASH(0x1cf7dc4)') called at t/service/sleeping-daemon line 4
eval 'package UbicService1;
# line 1 t/service/sleeping-daemon
# line 1 t/service/sleeping-daemon
# vim:ft=perl
use Ubic::Service::SimpleDaemon;
Ubic::Service::SimpleDaemon->new({
bin => \'sleep 100\',
user => $ENV{LOGNAME},
});
;' called at lib/Ubic/Multiservice/Dir.pm line 55
Ubic::Multiservice::Dir::simple_service(undef, 'sleeping-daemon') called at lib/Ubic/Multiservice.pm line 33
Ubic::Multiservice::__ANON__() called at C:/Perl/site/lib/Try/Tiny.pm line 76
eval {...} called at C:/Perl/site/lib/Try/Tiny.pm line 67
Try::Tiny::try('CODE(0x1cf7a54)', 'Try::Tiny::Catch=REF(0x197e45c)') called at lib/Ubic/Multiservice.pm line 56
Ubic::Multiservice::service(undef, 'sleeping-daemon') called at lib/Ubic.pm line 249
Ubic::service(undef, 'sleeping-daemon') called at lib/Ubic/Cmd.pm line 191
Ubic::Cmd::traverse('Ubic::Cmd=HASH(0x1b759f4)', 'sleeping-daemon', 'CODE(0x1c46564)') called at lib/Ubic/Cmd.pm line 67
Ubic::Cmd::_any_method(undef, 'HASH(0x1bd95dc)') called at lib/Ubic/Cmd.pm line 73
Ubic::Cmd::start('Ubic::Cmd', 'sleeping-daemon') called at t/cmd.t line 23
# Looks like your test exited with 9 before it could output anything.
t/cmd.t ................... Dubious, test returned 9 (wstat 2304, 0x900)
Failed 8/8 subtests
t/daemon.t ................ Failed 23/23 subtests
t/lock.t ..................
# Failed test 'lock acuquired'
t/lock.t .................. 1/5 # at t/lock.t line 18.
# died: Failed to eval 't/service/sleeping-daemon': The 'user' parameter (undef) to Ubic::Service::SimpleDaemon::new was an 'undef', which is not one of the allowed types: scalar
# at lib/Ubic/Service/SimpleDaemon.pm line 23
# Ubic::Service::SimpleDaemon::new() called at t/service/sleeping-daemon line 4
# eval 'package UbicService1;
# # line 1 t/service/sleeping-daemon
# # line 1 t/service/sleeping-daemon
# # vim:ft=perl
# use Ubic::Service::SimpleDaemon;
#
# Ubic::Service::SimpleDaemon->new({
# bin => \'sleep 100\',
# user => $ENV{LOGNAME},
# });
#
# ;' called at lib/Ubic/Multiservice/Dir.pm line 55
# Ubic::Multiservice::Dir::simple_service() called at lib/Ubic/Multiservice.pm line 33
# Ubic::Multiservice::__ANON__() called at C:/Perl/site/lib/Try/Tiny.pm line 76
# eval {...} called at C:/Perl/site/lib/Try/Tiny.pm line 67
# Try::Tiny::try() called at lib/Ubic/Multiservice.pm line 56
# Ubic::Multiservice::service() called at lib/Ubic.pm line 249
# Ubic::service() called at lib/Ubic.pm line 397
# Ubic::access_guard() called at lib/Ubic.pm line 405
# Ubic::lock() called at t/lock.t line 18
# Test::Exception::lives_ok() called at t/lock.t line 18
# Failed test 'lock acuquired again'
# at t/lock.t line 19.
# died: Failed to eval 't/service/sleeping-daemon': The 'user' parameter (undef) to Ubic::Service::SimpleDaemon::new was an 'undef', which is not one of the allowed types: scalar
# at lib/Ubic/Service/SimpleDaemon.pm line 23
# Ubic::Service::SimpleDaemon::new() called at t/service/sleeping-daemon line 4
# eval 'package UbicService1;
# # line 1 t/service/sleeping-daemon
# # line 1 t/service/sleeping-daemon
# # vim:ft=perl
# use Ubic::Service::SimpleDaemon;
#
# Ubic::Service::SimpleDaemon->new({
# bin => \'sleep 100\',
# user => $ENV{LOGNAME},
# });
#
# ;' called at lib/Ubic/Multiservice/Dir.pm line 55
# Ubic::Multiservice::Dir::simple_service() called at lib/Ubic/Multiservice.pm line 33
# Ubic::Multiservice::__ANON__() called at C:/Perl/site/lib/Try/Tiny.pm line 76
# eval {...} called at C:/Perl/site/lib/Try/Tiny.pm line 67
# Try::Tiny::try() called at lib/Ubic/Multiservice.pm line 56
# Ubic::Multiservice::service() called at lib/Ubic.pm line 249
# Ubic::service() called at lib/Ubic.pm line 397
# Ubic::access_guard() called at lib/Ubic.pm line 405
# Ubic::lock() called at t/lock.t line 18
# Test::Exception::lives_ok() called at t/lock.t line 18
Failed to eval 't/service/sleeping-daemon': The 'user' parameter (undef) to Ubic::Service::SimpleDaemon::new was an 'undef', which is not one of the allowed types: scalar
at lib/Ubic/Service/SimpleDaemon.pm line 23
Ubic::Service::SimpleDaemon::new() called at t/service/sleeping-daemon line 4
eval 'package UbicService1;
# line 1 t/service/sleeping-daemon
# line 1 t/service/sleeping-daemon
# vim:ft=perl
use Ubic::Service::SimpleDaemon;
Ubic::Service::SimpleDaemon->new({
bin => \'sleep 100\',
user => $ENV{LOGNAME},
});
;' called at lib/Ubic/Multiservice/Dir.pm line 55
Ubic::Multiservice::Dir::simple_service() called at lib/Ubic/Multiservice.pm line 33
Ubic::Multiservice::__ANON__() called at C:/Perl/site/lib/Try/Tiny.pm line 76
eval {...} called at C:/Perl/site/lib/Try/Tiny.pm line 67
Try::Tiny::try() called at lib/Ubic/Multiservice.pm line 56
Ubic::Multiservice::service() called at lib/Ubic.pm line 249
Ubic::service() called at lib/Ubic.pm line 397
Ubic::access_guard() called at lib/Ubic.pm line 405
Ubic::lock() called at t/lock.t line 18
Test::Exception::lives_ok() called at t/lock.t line 18
# Looks like you planned 5 tests but ran 2.
# Looks like you failed 2 tests of 2 run.
# Looks like your test exited with 9 just after 2.
t/lock.t .................. Dubious, test returned 9 (wstat 2304, 0x900)
Failed 5/5 subtests
t/memory-leak.t ........... Can't open /proc/6796/statm: No such file or directory at t/Utils.pm line 58.
# Looks like your test exited with 2 before it could output anything.
t/memory-leak.t ........... Dubious, test returned 2 (wstat 512, 0x200)
Failed 2/2 subtests
t/multiservice-names.t .... ok
t/multiservice-simple.t ... ok
t/ping.t .................. Can't open log: No such file or directory at t/ping.t line 39.
Failed to eval 't/service/ubic-ping': syntax error at t/service/ubic-ping line 1, near ";
# line 1 t/service/ubic-ping
# line 1 t/service/ubic-ping
.."
END failed--call queue aborted at t/ping.t line 39.
# Looks like your test exited with 2 before it could output anything.
t/ping.t .................. Dubious, test returned 2 (wstat 512, 0x200)
Failed 24/24 subtests
t/pod.t ................... ok
t/pod_coverage.t .......... ok
t/release-pod-coverage.t .. ok
t/release-pod-syntax.t .... ok
t/result.t ................ ok
t/run.t ................... Failed to eval 't/service/sleeping-daemon': The 'user' parameter (undef) to Ubic::Service::SimpleDaemon::new was an 'undef', which is not one of the all
owed types: scalar
at D:\Ubic\.build\FfXTuvYCFd\blib\lib/Ubic/Service/SimpleDaemon.pm line 23
Ubic::Service::SimpleDaemon::new(undef, 'HASH(0x1e029bc)') called at t/service/sleeping-daemon line 4
eval 'package UbicService1;
# line 1 t/service/sleeping-daemon
# line 1 t/service/sleeping-daemon
# vim:ft=perl
use Ubic::Service::SimpleDaemon;
Ubic::Service::SimpleDaemon->new({
bin => \'sleep 100\',
user => $ENV{LOGNAME},
});
;' called at D:\Ubic\.build\FfXTuvYCFd\blib\lib/Ubic/Multiservice/Dir.pm line 55
Ubic::Multiservice::Dir::simple_service(undef, 'sleeping-daemon') called at D:\Ubic\.build\FfXTuvYCFd\blib\lib/Ubic/Multiservice.pm line 33
Ubic::Multiservice::__ANON__() called at C:/Perl/site/lib/Try/Tiny.pm line 76
eval {...} called at C:/Perl/site/lib/Try/Tiny.pm line 67
Try::Tiny::try('CODE(0x1e6c2ec)', 'Try::Tiny::Catch=REF(0x193fdb4)') called at D:\Ubic\.build\FfXTuvYCFd\blib\lib/Ubic/Multiservice.pm line 56
Ubic::Multiservice::service(undef, 'sleeping-daemon') called at D:\Ubic\.build\FfXTuvYCFd\blib\lib/Ubic.pm line 249
Ubic::service(undef, 'sleeping-daemon') called at D:\Ubic\.build\FfXTuvYCFd\blib\lib/Ubic/Cmd.pm line 322
Ubic::Cmd::_run_impl(undef, 'HASH(0x1e6c12c)') called at D:\Ubic\.build\FfXTuvYCFd\blib\lib/Ubic/Cmd.pm line 278
Ubic::Cmd::run(undef, 'HASH(0x182d024)') called at D:\Ubic\.build\FfXTuvYCFd\blib\lib/Ubic/Run.pm line 44
Ubic::Run::import('Ubic::Run') called at t/bin/any-init line 10
main::BEGIN() called at t/service/sleeping-daemon line 0
eval {...} called at t/service/sleeping-daemon line 0
BEGIN failed--compilation aborted at t/bin/any-init line 10.
# Failed test at t/run.t line 28.
# ''
# doesn't match '(?-xism:^Starting\ sleeping\-daemon\.\.\.\ started\ \(pid\ \d+\)$)'
t/run.t ................... 1/18 Failed to eval 't/service/sleeping-daemon': The 'user' parameter (undef) to Ubic::Service::SimpleDaemon::new was an 'undef', which is not one of th
e allowed types: scalar
at D:\Ubic\.build\FfXTuvYCFd\blib\lib/Ubic/Service/SimpleDaemon.pm line 23
Ubic::Service::SimpleDaemon::new(undef, 'HASH(0x1e029bc)') called at t/service/sleeping-daemon line 4
eval 'package UbicService1;
# line 1 t/service/sleeping-daemon
# line 1 t/service/sleeping-daemon
# vim:ft=perl
use Ubic::Service::SimpleDaemon;
Ubic::Service::SimpleDaemon->new({
bin => \'sleep 100\',
user => $ENV{LOGNAME},
});
;' called at D:\Ubic\.build\FfXTuvYCFd\blib\lib/Ubic/Multiservice/Dir.pm line 55
Ubic::Multiservice::Dir::simple_service(undef, 'sleeping-daemon') called at D:\Ubic\.build\FfXTuvYCFd\blib\lib/Ubic/Multiservice.pm line 33
Ubic::Multiservice::__ANON__() called at C:/Perl/site/lib/Try/Tiny.pm line 76
eval {...} called at C:/Perl/site/lib/Try/Tiny.pm line 67
Try::Tiny::try('CODE(0x1e0e72c)', 'Try::Tiny::Catch=REF(0x1e6c38c)') called at D:\Ubic\.build\FfXTuvYCFd\blib\lib/Ubic/Multiservice.pm line 56
Ubic::Multiservice::service(undef, 'sleeping-daemon') called at D:\Ubic\.build\FfXTuvYCFd\blib\lib/Ubic.pm line 249
Ubic::service(undef, 'sleeping-daemon') called at D:\Ubic\.build\FfXTuvYCFd\blib\lib/Ubic/Cmd.pm line 191
Ubic::Cmd::traverse('Ubic::Cmd=HASH(0x18468e4)', 'sleeping-daemon', 'CODE(0x1e6c36c)') called at D:\Ubic\.build\FfXTuvYCFd\blib\lib/Ubic/Cmd.pm line 247
Ubic::Cmd::print_status('Ubic::Cmd=HASH(0x18468e4)', 'sleeping-daemon', undef, 'Ubic::Cmd::Results=HASH(0x1e6c18c)') called at D:\Ubic\.build\FfXTuvYCFd\blib\lib/Ubic/Cmd.pm line 305
Ubic::Cmd::__ANON__() called at C:/Perl/site/lib/Try/Tiny.pm line 76
eval {...} called at C:/Perl/site/lib/Try/Tiny.pm line 67
Try::Tiny::try('CODE(0x1e6c1dc)', 'Try::Tiny::Catch=REF(0x193fdb4)') called at D:\Ubic\.build\FfXTuvYCFd\blib\lib/Ubic/Cmd.pm line 310
Ubic::Cmd::_run_impl(undef, 'HASH(0x1e6c12c)') called at D:\Ubic\.build\FfXTuvYCFd\blib\lib/Ubic/Cmd.pm line 278
Ubic::Cmd::run(undef, 'HASH(0x182d024)') called at D:\Ubic\.build\FfXTuvYCFd\blib\lib/Ubic/Run.pm line 44
Ubic::Run::import('Ubic::Run') called at t/bin/any-init line 10
main::BEGIN() called at t/service/sleeping-daemon line 0
eval {...} called at t/service/sleeping-daemon line 0
# Failed test 'Ubic::Run works, sleeping-daemon is running'
# at t/run.t line 31.
# ''
# doesn't match '(?x-ism:sleeping-daemon \s+ running)'
Failed to eval 't/service/sleeping-daemon': The 'user' parameter (undef) to Ubic::Service::SimpleDaemon::new was an 'undef', which is not one of the allowed types: scalar
at D:\Ubic\.build\FfXTuvYCFd\blib\lib/Ubic/Service/SimpleDaemon.pm line 23
Ubic::Service::SimpleDaemon::new(undef, 'HASH(0x1e029bc)') called at t/service/sleeping-daemon line 4
eval 'package UbicService1;
# line 1 t/service/sleeping-daemon
# line 1 t/service/sleeping-daemon
# vim:ft=perl
use Ubic::Service::SimpleDaemon;
Ubic::Service::SimpleDaemon->new({
bin => \'sleep 100\',
user => $ENV{LOGNAME},
});
;' called at D:\Ubic\.build\FfXTuvYCFd\blib\lib/Ubic/Multiservice/Dir.pm line 55
Ubic::Multiservice::Dir::simple_service(undef, 'sleeping-daemon') called at D:\Ubic\.build\FfXTuvYCFd\blib\lib/Ubic/Multiservice.pm line 33
Ubic::Multiservice::__ANON__() called at C:/Perl/site/lib/Try/Tiny.pm line 76
eval {...} called at C:/Perl/site/lib/Try/Tiny.pm line 67
Try::Tiny::try('CODE(0x1e6c2ec)', 'Try::Tiny::Catch=REF(0x193fdb4)') called at D:\Ubic\.build\FfXTuvYCFd\blib\lib/Ubic/Multiservice.pm line 56
Ubic::Multiservice::service(undef, 'sleeping-daemon') called at D:\Ubic\.build\FfXTuvYCFd\blib\lib/Ubic.pm line 249
Ubic::service(undef, 'sleeping-daemon') called at D:\Ubic\.build\FfXTuvYCFd\blib\lib/Ubic/Cmd.pm line 322
Ubic::Cmd::_run_impl(undef, 'HASH(0x1e6c12c)') called at D:\Ubic\.build\FfXTuvYCFd\blib\lib/Ubic/Cmd.pm line 278
Ubic::Cmd::run(undef, 'HASH(0x182d024)') called at D:\Ubic\.build\FfXTuvYCFd\blib\lib/Ubic/Run.pm line 44
Ubic::Run::import('Ubic::Run') called at t/bin/any-init line 10
main::BEGIN() called at t/service/sleeping-daemon line 0
eval {...} called at t/service/sleeping-daemon line 0
BEGIN failed--compilation aborted at t/bin/any-init line 10.
# Failed test 'logrotate command implemented'
t/run.t ................... 4/18 # at t/run.t line 35.
# died: exit code 9 at t/Utils.pm line 47.
Failed to eval 't/service/sleeping-daemon': The 'user' parameter (undef) to Ubic::Service::SimpleDaemon::new was an 'undef', which is not one of the allowed types: scalar
at D:\Ubic\.build\FfXTuvYCFd\blib\lib/Ubic/Service/SimpleDaemon.pm line 23
Ubic::Service::SimpleDaemon::new(undef, 'HASH(0x1e029bc)') called at t/service/sleeping-daemon line 4
eval 'package UbicService1;
# line 1 t/service/sleeping-daemon
# line 1 t/service/sleeping-daemon
# vim:ft=perl
use Ubic::Service::SimpleDaemon;
Ubic::Service::SimpleDaemon->new({
bin => \'sleep 100\',
user => $ENV{LOGNAME},
});
;' called at D:\Ubic\.build\FfXTuvYCFd\blib\lib/Ubic/Multiservice/Dir.pm line 55
Ubic::Multiservice::Dir::simple_service(undef, 'sleeping-daemon') called at D:\Ubic\.build\FfXTuvYCFd\blib\lib/Ubic/Multiservice.pm line 33
Ubic::Multiservice::__ANON__() called at C:/Perl/site/lib/Try/Tiny.pm line 76
eval {...} called at C:/Perl/site/lib/Try/Tiny.pm line 67
Try::Tiny::try('CODE(0x1e6c2ec)', 'Try::Tiny::Catch=REF(0x193fdb4)') called at D:\Ubic\.build\FfXTuvYCFd\blib\lib/Ubic/Multiservice.pm line 56
Ubic::Multiservice::service(undef, 'sleeping-daemon') called at D:\Ubic\.build\FfXTuvYCFd\blib\lib/Ubic.pm line 249
Ubic::service(undef, 'sleeping-daemon') called at D:\Ubic\.build\FfXTuvYCFd\blib\lib/Ubic/Cmd.pm line 322
Ubic::Cmd::_run_impl(undef, 'HASH(0x1e6c12c)') called at D:\Ubic\.build\FfXTuvYCFd\blib\lib/Ubic/Cmd.pm line 278
Ubic::Cmd::run(undef, 'HASH(0x182d024)') called at D:\Ubic\.build\FfXTuvYCFd\blib\lib/Ubic/Run.pm line 44
Ubic::Run::import('Ubic::Run') called at t/bin/any-init line 10
main::BEGIN() called at t/service/sleeping-daemon line 0
eval {...} called at t/service/sleeping-daemon line 0
BEGIN failed--compilation aborted at t/bin/any-init line 10.
Failed to eval 't/service/sleeping-daemon': The 'user' parameter (undef) to Ubic::Service::SimpleDaemon::new was an 'undef', which is not one of the allowed types: scalar
at D:\Ubic\.build\FfXTuvYCFd\blib\lib/Ubic/Service/SimpleDaemon.pm line 23
Ubic::Service::SimpleDaemon::new(undef, 'HASH(0x1e029bc)') called at t/service/sleeping-daemon line 4
eval 'package UbicService1;
# line 1 t/service/sleeping-daemon
# line 1 t/service/sleeping-daemon
# vim:ft=perl
use Ubic::Service::SimpleDaemon;
Ubic::Service::SimpleDaemon->new({
bin => \'sleep 100\',
user => $ENV{LOGNAME},
});
;' called at D:\Ubic\.build\FfXTuvYCFd\blib\lib/Ubic/Multiservice/Dir.pm line 55
Ubic::Multiservice::Dir::simple_service(undef, 'sleeping-daemon') called at D:\Ubic\.build\FfXTuvYCFd\blib\lib/Ubic/Multiservice.pm line 33
Ubic::Multiservice::__ANON__() called at C:/Perl/site/lib/Try/Tiny.pm line 76
eval {...} called at C:/Perl/site/lib/Try/Tiny.pm line 67
Try::Tiny::try('CODE(0x1e0e72c)', 'Try::Tiny::Catch=REF(0x1e6c38c)') called at D:\Ubic\.build\FfXTuvYCFd\blib\lib/Ubic/Multiservice.pm line 56
Ubic::Multiservice::service(undef, 'sleeping-daemon') called at D:\Ubic\.build\FfXTuvYCFd\blib\lib/Ubic.pm line 249
Ubic::service(undef, 'sleeping-daemon') called at D:\Ubic\.build\FfXTuvYCFd\blib\lib/Ubic/Cmd.pm line 191
Ubic::Cmd::traverse('Ubic::Cmd=HASH(0x18468e4)', 'sleeping-daemon', 'CODE(0x1e6c36c)') called at D:\Ubic\.build\FfXTuvYCFd\blib\lib/Ubic/Cmd.pm line 247
Ubic::Cmd::print_status('Ubic::Cmd=HASH(0x18468e4)', 'sleeping-daemon', undef, 'Ubic::Cmd::Results=HASH(0x1e6c18c)') called at D:\Ubic\.build\FfXTuvYCFd\blib\lib/Ubic/Cmd.pm line 305
Ubic::Cmd::__ANON__() called at C:/Perl/site/lib/Try/Tiny.pm line 76
eval {...} called at C:/Perl/site/lib/Try/Tiny.pm line 67
Try::Tiny::try('CODE(0x1e6c1dc)', 'Try::Tiny::Catch=REF(0x193fdb4)') called at D:\Ubic\.build\FfXTuvYCFd\blib\lib/Ubic/Cmd.pm line 310
Ubic::Cmd::_run_impl(undef, 'HASH(0x1e6c12c)') called at D:\Ubic\.build\FfXTuvYCFd\blib\lib/Ubic/Cmd.pm line 278
Ubic::Cmd::run(undef, 'HASH(0x182d024)') called at D:\Ubic\.build\FfXTuvYCFd\blib\lib/Ubic/Run.pm line 44
Ubic::Run::import('Ubic::Run') called at t/bin/any-init line 10
main::BEGIN() called at t/service/sleeping-daemon line 0
eval {...} called at t/service/sleeping-daemon line 0
# Failed test 'Ubic::Run works, sleeping-daemon is off'
# at t/run.t line 40.
# ''
# doesn't match '(?x-ism:sleeping-daemon \s+ off)'
Failed to eval 't/service/sleeping-daemon': The 'user' parameter (undef) to Ubic::Service::SimpleDaemon::new was an 'undef', which is not one of the allowed types: scalar
at D:\Ubic\.build\FfXTuvYCFd\blib\lib/Ubic/Service/SimpleDaemon.pm line 23
Ubic::Service::SimpleDaemon::new(undef, 'HASH(0x1e029bc)') called at t/service/sleeping-daemon line 4
eval 'package UbicService1;
# line 1 t/service/sleeping-daemon
# line 1 t/service/sleeping-daemon
# vim:ft=perl
use Ubic::Service::SimpleDaemon;
Ubic::Service::SimpleDaemon->new({
bin => \'sleep 100\',
user => $ENV{LOGNAME},
});
;' called at D:\Ubic\.build\FfXTuvYCFd\blib\lib/Ubic/Multiservice/Dir.pm line 55
Ubic::Multiservice::Dir::simple_service(undef, 'sleeping-daemon') called at D:\Ubic\.build\FfXTuvYCFd\blib\lib/Ubic/Multiservice.pm line 33
Ubic::Multiservice::__ANON__() called at C:/Perl/site/lib/Try/Tiny.pm line 76
eval {...} called at C:/Perl/site/lib/Try/Tiny.pm line 67
Try::Tiny::try('CODE(0x1e6c2ec)', 'Try::Tiny::Catch=REF(0x193fdb4)') called at D:\Ubic\.build\FfXTuvYCFd\blib\lib/Ubic/Multiservice.pm line 56
Ubic::Multiservice::service(undef, 'sleeping-daemon') called at D:\Ubic\.build\FfXTuvYCFd\blib\lib/Ubic.pm line 249
Ubic::service(undef, 'sleeping-daemon') called at D:\Ubic\.build\FfXTuvYCFd\blib\lib/Ubic/Cmd.pm line 322
Ubic::Cmd::_run_impl(undef, 'HASH(0x1e6c12c)') called at D:\Ubic\.build\FfXTuvYCFd\blib\lib/Ubic/Cmd.pm line 278
Ubic::Cmd::run(undef, 'HASH(0x182d024)') called at D:\Ubic\.build\FfXTuvYCFd\blib\lib/Ubic/Run.pm line 44
Ubic::Run::import('Ubic::Run') called at t/bin/any-init line 10
main::BEGIN() called at t/service/sleeping-daemon line 0
eval {...} called at t/service/sleeping-daemon line 0
BEGIN failed--compilation aborted at t/bin/any-init line 10.
# Failed test at t/run.t line 28.
t/run.t ................... 6/18 # ''
# doesn't match '(?-xism:^Starting\ sleeping\-daemon\.\.\.\ started\ \(pid\ \d+\)$)'
Failed to eval 't/service/sleeping-daemon': The 'user' parameter (undef) to Ubic::Service::SimpleDaemon::new was an 'undef', which is not one of the allowed types: scalar
at D:\Ubic\.build\FfXTuvYCFd\blib\lib/Ubic/Service/SimpleDaemon.pm line 23
Ubic::Service::SimpleDaemon::new(undef, 'HASH(0x1e029bc)') called at t/service/sleeping-daemon line 4
eval 'package UbicService1;
# line 1 t/service/sleeping-daemon
# line 1 t/service/sleeping-daemon
# vim:ft=perl
use Ubic::Service::SimpleDaemon;
Ubic::Service::SimpleDaemon->new({
bin => \'sleep 100\',
user => $ENV{LOGNAME},
});
;' called at D:\Ubic\.build\FfXTuvYCFd\blib\lib/Ubic/Multiservice/Dir.pm line 55
Ubic::Multiservice::Dir::simple_service(undef, 'sleeping-daemon') called at D:\Ubic\.build\FfXTuvYCFd\blib\lib/Ubic/Multiservice.pm line 33
Ubic::Multiservice::__ANON__() called at C:/Perl/site/lib/Try/Tiny.pm line 76
eval {...} called at C:/Perl/site/lib/Try/Tiny.pm line 67
Try::Tiny::try('CODE(0x1e0e72c)', 'Try::Tiny::Catch=REF(0x1e6c38c)') called at D:\Ubic\.build\FfXTuvYCFd\blib\lib/Ubic/Multiservice.pm line 56
Ubic::Multiservice::service(undef, 'sleeping-daemon') called at D:\Ubic\.build\FfXTuvYCFd\blib\lib/Ubic.pm line 249
Ubic::service(undef, 'sleeping-daemon') called at D:\Ubic\.build\FfXTuvYCFd\blib\lib/Ubic/Cmd.pm line 191
Ubic::Cmd::traverse('Ubic::Cmd=HASH(0x18468e4)', 'sleeping-daemon', 'CODE(0x1e6c36c)') called at D:\Ubic\.build\FfXTuvYCFd\blib\lib/Ubic/Cmd.pm line 247
Ubic::Cmd::print_status('Ubic::Cmd=HASH(0x18468e4)', 'sleeping-daemon', undef, 'Ubic::Cmd::Results=HASH(0x1e6c18c)') called at D:\Ubic\.build\FfXTuvYCFd\blib\lib/Ubic/Cmd.pm line 305
Ubic::Cmd::__ANON__() called at C:/Perl/site/lib/Try/Tiny.pm line 76
eval {...} called at C:/Perl/site/lib/Try/Tiny.pm line 67
Try::Tiny::try('CODE(0x1e6c1dc)', 'Try::Tiny::Catch=REF(0x193fdb4)') called at D:\Ubic\.build\FfXTuvYCFd\blib\lib/Ubic/Cmd.pm line 310
Ubic::Cmd::_run_impl(undef, 'HASH(0x1e6c12c)') called at D:\Ubic\.build\FfXTuvYCFd\blib\lib/Ubic/Cmd.pm line 278
Ubic::Cmd::run(undef, 'HASH(0x182d024)') called at D:\Ubic\.build\FfXTuvYCFd\blib\lib/Ubic/Run.pm line 44
Ubic::Run::import('Ubic::Run') called at t/bin/any-init line 10
main::BEGIN() called at t/service/sleeping-daemon line 0
eval {...} called at t/service/sleeping-daemon line 0
# Failed test 'Ubic::Run works, sleeping-daemon is running'
# at t/run.t line 31.
# ''
# doesn't match '(?x-ism:sleeping-daemon \s+ running)'
Failed to eval 't/service/sleeping-daemon': The 'user' parameter (undef) to Ubic::Service::SimpleDaemon::new was an 'undef', which is not one of the allowed types: scalar
at D:\Ubic\.build\FfXTuvYCFd\blib\lib/Ubic/Service/SimpleDaemon.pm line 23
Ubic::Service::SimpleDaemon::new(undef, 'HASH(0x1e029bc)') called at t/service/sleeping-daemon line 4
eval 'package UbicService1;
# line 1 t/service/sleeping-daemon
# line 1 t/service/sleeping-daemon
# vim:ft=perl
use Ubic::Service::SimpleDaemon;
Ubic::Service::SimpleDaemon->new({
bin => \'sleep 100\',
user => $ENV{LOGNAME},
});
;' called at D:\Ubic\.build\FfXTuvYCFd\blib\lib/Ubic/Multiservice/Dir.pm line 55
Ubic::Multiservice::Dir::simple_service(undef, 'sleeping-daemon') called at D:\Ubic\.build\FfXTuvYCFd\blib\lib/Ubic/Multiservice.pm line 33
Ubic::Multiservice::__ANON__() called at C:/Perl/site/lib/Try/Tiny.pm line 76
eval {...} called at C:/Perl/site/lib/Try/Tiny.pm line 67
Try::Tiny::try('CODE(0x1e6c2ec)', 'Try::Tiny::Catch=REF(0x193fdb4)') called at D:\Ubic\.build\FfXTuvYCFd\blib\lib/Ubic/Multiservice.pm line 56
Ubic::Multiservice::service(undef, 'sleeping-daemon') called at D:\Ubic\.build\FfXTuvYCFd\blib\lib/Ubic.pm line 249
Ubic::service(undef, 'sleeping-daemon') called at D:\Ubic\.build\FfXTuvYCFd\blib\lib/Ubic/Cmd.pm line 322
Ubic::Cmd::_run_impl(undef, 'HASH(0x1e6c12c)') called at D:\Ubic\.build\FfXTuvYCFd\blib\lib/Ubic/Cmd.pm line 278
Ubic::Cmd::run(undef, 'HASH(0x182d024)') called at D:\Ubic\.build\FfXTuvYCFd\blib\lib/Ubic/Run.pm line 44
Ubic::Run::import('Ubic::Run') called at t/bin/any-init line 10
main::BEGIN() called at t/service/sleeping-daemon line 0
eval {...} called at t/service/sleeping-daemon line 0
BEGIN failed--compilation aborted at t/bin/any-init line 10.
# Failed test 'logrotate command implemented'
# at t/run.t line 35.
# died: exit code 9 at t/Utils.pm line 47.
Failed to eval 't/service/sleeping-daemon': The 'user' parameter (undef) to Ubic::Service::SimpleDaemon::new was an 'undef', which is not one of the allowed types: scalar
at D:\Ubic\.build\FfXTuvYCFd\blib\lib/Ubic/Service/SimpleDaemon.pm line 23
Ubic::Service::SimpleDaemon::new(undef, 'HASH(0x1e029bc)') called at t/service/sleeping-daemon line 4
eval 'package UbicService1;
# line 1 t/service/sleeping-daemon
# line 1 t/service/sleeping-daemon
# vim:ft=perl
use Ubic::Service::SimpleDaemon;
Ubic::Service::SimpleDaemon->new({
bin => \'sleep 100\',
user => $ENV{LOGNAME},
});
;' called at D:\Ubic\.build\FfXTuvYCFd\blib\lib/Ubic/Multiservice/Dir.pm line 55
Ubic::Multiservice::Dir::simple_service(undef, 'sleeping-daemon') called at D:\Ubic\.build\FfXTuvYCFd\blib\lib/Ubic/Multiservice.pm line 33
Ubic::Multiservice::__ANON__() called at C:/Perl/site/lib/Try/Tiny.pm line 76
eval {...} called at C:/Perl/site/lib/Try/Tiny.pm line 67
Try::Tiny::try('CODE(0x1e6c2ec)', 'Try::Tiny::Catch=REF(0x193fdb4)') called at D:\Ubic\.build\FfXTuvYCFd\blib\lib/Ubic/Multiservice.pm line 56
Ubic::Multiservice::service(undef, 'sleeping-daemon') called at D:\Ubic\.build\FfXTuvYCFd\blib\lib/Ubic.pm line 249
Ubic::service(undef, 'sleeping-daemon') called at D:\Ubic\.build\FfXTuvYCFd\blib\lib/Ubic/Cmd.pm line 322
Ubic::Cmd::_run_impl(undef, 'HASH(0x1e6c12c)') called at D:\Ubic\.build\FfXTuvYCFd\blib\lib/Ubic/Cmd.pm line 278
Ubic::Cmd::run(undef, 'HASH(0x182d024)') called at D:\Ubic\.build\FfXTuvYCFd\blib\lib/Ubic/Run.pm line 44
Ubic::Run::import('Ubic::Run') called at t/bin/any-init line 10
main::BEGIN() called at t/service/sleeping-daemon line 0
eval {...} called at t/service/sleeping-daemon line 0
BEGIN failed--compilation aborted at t/bin/any-init line 10.
Failed to eval 't/service/sleeping-daemon': The 'user' parameter (undef) to Ubic::Service::SimpleDaemon::new was an 'undef', which is not one of the allowed types: scalar
at D:\Ubic\.build\FfXTuvYCFd\blib\lib/Ubic/Service/SimpleDaemon.pm line 23
Ubic::Service::SimpleDaemon::new(undef, 'HASH(0x1e029bc)') called at t/service/sleeping-daemon line 4
eval 'package UbicService1;
# line 1 t/service/sleeping-daemon
# line 1 t/service/sleeping-daemon
# vim:ft=perl
use Ubic::Service::SimpleDaemon;
Ubic::Service::SimpleDaemon->new({
bin => \'sleep 100\',
user => $ENV{LOGNAME},
});
;' called at D:\Ubic\.build\FfXTuvYCFd\blib\lib/Ubic/Multiservice/Dir.pm line 55
Ubic::Multiservice::Dir::simple_service(undef, 'sleeping-daemon') called at D:\Ubic\.build\FfXTuvYCFd\blib\lib/Ubic/Multiservice.pm line 33
Ubic::Multiservice::__ANON__() called at C:/Perl/site/lib/Try/Tiny.pm line 76
eval {...} called at C:/Perl/site/lib/Try/Tiny.pm line 67
Try::Tiny::try('CODE(0x1e0e72c)', 'Try::Tiny::Catch=REF(0x1e6c38c)') called at D:\Ubic\.build\FfXTuvYCFd\blib\lib/Ubic/Multiservice.pm line 56
Ubic::Multiservice::service(undef, 'sleeping-daemon') called at D:\Ubic\.build\FfXTuvYCFd\blib\lib/Ubic.pm line 249
Ubic::service(undef, 'sleeping-daemon') called at D:\Ubic\.build\FfXTuvYCFd\blib\lib/Ubic/Cmd.pm line 191
Ubic::Cmd::traverse('Ubic::Cmd=HASH(0x18468e4)', 'sleeping-daemon', 'CODE(0x1e6c36c)') called at D:\Ubic\.build\FfXTuvYCFd\blib\lib/Ubic/Cmd.pm line 247
Ubic::Cmd::print_status('Ubic::Cmd=HASH(0x18468e4)', 'sleeping-daemon', undef, 'Ubic::Cmd::Results=HASH(0x1e6c18c)') called at D:\Ubic\.build\FfXTuvYCFd\blib\lib/Ubic/Cmd.pm line 305
Ubic::Cmd::__ANON__() called at C:/Perl/site/lib/Try/Tiny.pm line 76
eval {...} called at C:/Perl/site/lib/Try/Tiny.pm line 67
Try::Tiny::try('CODE(0x1e6c1dc)', 'Try::Tiny::Catch=REF(0x193fdb4)') called at D:\Ubic\.build\FfXTuvYCFd\blib\lib/Ubic/Cmd.pm line 310
Ubic::Cmd::_run_impl(undef, 'HASH(0x1e6c12c)') called at D:\Ubic\.build\FfXTuvYCFd\blib\lib/Ubic/Cmd.pm line 278
Ubic::Cmd::run(undef, 'HASH(0x182d024)') called at D:\Ubic\.build\FfXTuvYCFd\blib\lib/Ubic/Run.pm line 44
Ubic::Run::import('Ubic::Run') called at t/bin/any-init line 10
main::BEGIN() called at t/service/sleeping-daemon line 0
eval {...} called at t/service/sleeping-daemon line 0
# Failed test 'Ubic::Run works, sleeping-daemon is off'
# at t/run.t line 40.
t/run.t ................... 10/18 # ''
# doesn't match '(?x-ism:sleeping-daemon \s+ off)'
Failed to eval 't/service/sleeping-daemon': The 'user' parameter (undef) to Ubic::Service::SimpleDaemon::new was an 'undef', which is not one of the allowed types: scalar
at D:\Ubic\.build\FfXTuvYCFd\blib\lib/Ubic/Service/SimpleDaemon.pm line 23
Ubic::Service::SimpleDaemon::new(undef, 'HASH(0x1e029bc)') called at t/service/sleeping-daemon line 4
eval 'package UbicService1;
# line 1 t/service/sleeping-daemon
# line 1 t/service/sleeping-daemon
# vim:ft=perl
use Ubic::Service::SimpleDaemon;
Ubic::Service::SimpleDaemon->new({
bin => \'sleep 100\',
user => $ENV{LOGNAME},
});
;' called at D:\Ubic\.build\FfXTuvYCFd\blib\lib/Ubic/Multiservice/Dir.pm line 55
Ubic::Multiservice::Dir::simple_service(undef, 'sleeping-daemon') called at D:\Ubic\.build\FfXTuvYCFd\blib\lib/Ubic/Multiservice.pm line 33
Ubic::Multiservice::__ANON__() called at C:/Perl/site/lib/Try/Tiny.pm line 76
eval {...} called at C:/Perl/site/lib/Try/Tiny.pm line 67
Try::Tiny::try('CODE(0x1e6c2ec)', 'Try::Tiny::Catch=REF(0x193fdb4)') called at D:\Ubic\.build\FfXTuvYCFd\blib\lib/Ubic/Multiservice.pm line 56
Ubic::Multiservice::service(undef, 'sleeping-daemon') called at D:\Ubic\.build\FfXTuvYCFd\blib\lib/Ubic.pm line 249
Ubic::service(undef, 'sleeping-daemon') called at D:\Ubic\.build\FfXTuvYCFd\blib\lib/Ubic/Cmd.pm line 322
Ubic::Cmd::_run_impl(undef, 'HASH(0x1e6c12c)') called at D:\Ubic\.build\FfXTuvYCFd\blib\lib/Ubic/Cmd.pm line 278
Ubic::Cmd::run(undef, 'HASH(0x182d024)') called at D:\Ubic\.build\FfXTuvYCFd\blib\lib/Ubic/Run.pm line 44
Ubic::Run::import('Ubic::Run') called at t/bin/any-init line 10
main::BEGIN() called at t/service/sleeping-daemon line 0
eval {...} called at t/service/sleeping-daemon line 0
BEGIN failed--compilation aborted at t/bin/any-init line 10.
# Failed test at t/run.t line 28.
# ''
# doesn't match '(?-xism:^Starting\ sleeping\-daemon\.\.\.\ started\ \(pid\ \d+\)$)'
Failed to eval 't/service/sleeping-daemon': The 'user' parameter (undef) to Ubic::Service::SimpleDaemon::new was an 'undef', which is not one of the allowed types: scalar
at D:\Ubic\.build\FfXTuvYCFd\blib\lib/Ubic/Service/SimpleDaemon.pm line 23
Ubic::Service::SimpleDaemon::new(undef, 'HASH(0x1e029bc)') called at t/service/sleeping-daemon line 4
eval 'package UbicService1;
# line 1 t/service/sleeping-daemon
# line 1 t/service/sleeping-daemon
# vim:ft=perl
use Ubic::Service::SimpleDaemon;
Ubic::Service::SimpleDaemon->new({
bin => \'sleep 100\',
user => $ENV{LOGNAME},
});
;' called at D:\Ubic\.build\FfXTuvYCFd\blib\lib/Ubic/Multiservice/Dir.pm line 55
Ubic::Multiservice::Dir::simple_service(undef, 'sleeping-daemon') called at D:\Ubic\.build\FfXTuvYCFd\blib\lib/Ubic/Multiservice.pm line 33
Ubic::Multiservice::__ANON__() called at C:/Perl/site/lib/Try/Tiny.pm line 76
eval {...} called at C:/Perl/site/lib/Try/Tiny.pm line 67
Try::Tiny::try('CODE(0x1e0e72c)', 'Try::Tiny::Catch=REF(0x1e6c38c)') called at D:\Ubic\.build\FfXTuvYCFd\blib\lib/Ubic/Multiservice.pm line 56
Ubic::Multiservice::service(undef, 'sleeping-daemon') called at D:\Ubic\.build\FfXTuvYCFd\blib\lib/Ubic.pm line 249
Ubic::service(undef, 'sleeping-daemon') called at D:\Ubic\.build\FfXTuvYCFd\blib\lib/Ubic/Cmd.pm line 191
Ubic::Cmd::traverse('Ubic::Cmd=HASH(0x18468e4)', 'sleeping-daemon', 'CODE(0x1e6c36c)') called at D:\Ubic\.build\FfXTuvYCFd\blib\lib/Ubic/Cmd.pm line 247
Ubic::Cmd::print_status('Ubic::Cmd=HASH(0x18468e4)', 'sleeping-daemon', undef, 'Ubic::Cmd::Results=HASH(0x1e6c18c)') called at D:\Ubic\.build\FfXTuvYCFd\blib\lib/Ubic/Cmd.pm line 305
Ubic::Cmd::__ANON__() called at C:/Perl/site/lib/Try/Tiny.pm line 76
eval {...} called at C:/Perl/site/lib/Try/Tiny.pm line 67
Try::Tiny::try('CODE(0x1e6c1dc)', 'Try::Tiny::Catch=REF(0x193fdb4)') called at D:\Ubic\.build\FfXTuvYCFd\blib\lib/Ubic/Cmd.pm line 310
Ubic::Cmd::_run_impl(undef, 'HASH(0x1e6c12c)') called at D:\Ubic\.build\FfXTuvYCFd\blib\lib/Ubic/Cmd.pm line 278
Ubic::Cmd::run(undef, 'HASH(0x182d024)') called at D:\Ubic\.build\FfXTuvYCFd\blib\lib/Ubic/Run.pm line 44
Ubic::Run::import('Ubic::Run') called at t/bin/any-init line 10
main::BEGIN() called at t/service/sleeping-daemon line 0
eval {...} called at t/service/sleeping-daemon line 0
# Failed test 'Ubic::Run works, sleeping-daemon is running'
# at t/run.t line 31.
# ''
# doesn't match '(?x-ism:sleeping-daemon \s+ running)'
t/run.t ................... 13/18 Failed to eval 't/service/sleeping-daemon': The 'user' parameter (undef) to Ubic::Service::SimpleDaemon::new was an 'undef', which is not one of t
he allowed types: scalar
at D:\Ubic\.build\FfXTuvYCFd\blib\lib/Ubic/Service/SimpleDaemon.pm line 23
Ubic::Service::SimpleDaemon::new(undef, 'HASH(0x1e029bc)') called at t/service/sleeping-daemon line 4
eval 'package UbicService1;
# line 1 t/service/sleeping-daemon
# line 1 t/service/sleeping-daemon
# vim:ft=perl
use Ubic::Service::SimpleDaemon;
Ubic::Service::SimpleDaemon->new({
bin => \'sleep 100\',
user => $ENV{LOGNAME},
});
;' called at D:\Ubic\.build\FfXTuvYCFd\blib\lib/Ubic/Multiservice/Dir.pm line 55
Ubic::Multiservice::Dir::simple_service(undef, 'sleeping-daemon') called at D:\Ubic\.build\FfXTuvYCFd\blib\lib/Ubic/Multiservice.pm line 33
Ubic::Multiservice::__ANON__() called at C:/Perl/site/lib/Try/Tiny.pm line 76
eval {...} called at C:/Perl/site/lib/Try/Tiny.pm line 67
Try::Tiny::try('CODE(0x1e6c2ec)', 'Try::Tiny::Catch=REF(0x193fdb4)') called at D:\Ubic\.build\FfXTuvYCFd\blib\lib/Ubic/Multiservice.pm line 56
Ubic::Multiservice::service(undef, 'sleeping-daemon') called at D:\Ubic\.build\FfXTuvYCFd\blib\lib/Ubic.pm line 249
Ubic::service(undef, 'sleeping-daemon') called at D:\Ubic\.build\FfXTuvYCFd\blib\lib/Ubic/Cmd.pm line 322
Ubic::Cmd::_run_impl(undef, 'HASH(0x1e6c12c)') called at D:\Ubic\.build\FfXTuvYCFd\blib\lib/Ubic/Cmd.pm line 278
Ubic::Cmd::run(undef, 'HASH(0x182d024)') called at D:\Ubic\.build\FfXTuvYCFd\blib\lib/Ubic/Run.pm line 44
Ubic::Run::import('Ubic::Run') called at t/bin/any-init line 10
main::BEGIN() called at t/service/sleeping-daemon line 0
eval {...} called at t/service/sleeping-daemon line 0
BEGIN failed--compilation aborted at t/bin/any-init line 10.
# Failed test 'logrotate command implemented'
# at t/run.t line 35.
# died: exit code 9 at t/Utils.pm line 47.
Failed to eval 't/service/sleeping-daemon': The 'user' parameter (undef) to Ubic::Service::SimpleDaemon::new was an 'undef', which is not one of the allowed types: scalar
at D:\Ubic\.build\FfXTuvYCFd\blib\lib/Ubic/Service/SimpleDaemon.pm line 23
Ubic::Service::SimpleDaemon::new(undef, 'HASH(0x1e029bc)') called at t/service/sleeping-daemon line 4
eval 'package UbicService1;
# line 1 t/service/sleeping-daemon
# line 1 t/service/sleeping-daemon
# vim:ft=perl
use Ubic::Service::SimpleDaemon;
Ubic::Service::SimpleDaemon->new({
bin => \'sleep 100\',
user => $ENV{LOGNAME},
});
;' called at D:\Ubic\.build\FfXTuvYCFd\blib\lib/Ubic/Multiservice/Dir.pm line 55
Ubic::Multiservice::Dir::simple_service(undef, 'sleeping-daemon') called at D:\Ubic\.build\FfXTuvYCFd\blib\lib/Ubic/Multiservice.pm line 33
Ubic::Multiservice::__ANON__() called at C:/Perl/site/lib/Try/Tiny.pm line 76
eval {...} called at C:/Perl/site/lib/Try/Tiny.pm line 67
Try::Tiny::try('CODE(0x1e6c2ec)', 'Try::Tiny::Catch=REF(0x193fdb4)') called at D:\Ubic\.build\FfXTuvYCFd\blib\lib/Ubic/Multiservice.pm line 56
Ubic::Multiservice::service(undef, 'sleeping-daemon') called at D:\Ubic\.build\FfXTuvYCFd\blib\lib/Ubic.pm line 249
Ubic::service(undef, 'sleeping-daemon') called at D:\Ubic\.build\FfXTuvYCFd\blib\lib/Ubic/Cmd.pm line 322
Ubic::Cmd::_run_impl(undef, 'HASH(0x1e6c12c)') called at D:\Ubic\.build\FfXTuvYCFd\blib\lib/Ubic/Cmd.pm line 278
Ubic::Cmd::run(undef, 'HASH(0x182d024)') called at D:\Ubic\.build\FfXTuvYCFd\blib\lib/Ubic/Run.pm line 44
Ubic::Run::import('Ubic::Run') called at t/bin/any-init line 10
main::BEGIN() called at t/service/sleeping-daemon line 0
eval {...} called at t/service/sleeping-daemon line 0
BEGIN failed--compilation aborted at t/bin/any-init line 10.
Failed to eval 't/service/sleeping-daemon': The 'user' parameter (undef) to Ubic::Service::SimpleDaemon::new was an 'undef', which is not one of the allowed types: scalar
at D:\Ubic\.build\FfXTuvYCFd\blib\lib/Ubic/Service/SimpleDaemon.pm line 23
Ubic::Service::SimpleDaemon::new(undef, 'HASH(0x1e029bc)') called at t/service/sleeping-daemon line 4
eval 'package UbicService1;
# line 1 t/service/sleeping-daemon
# line 1 t/service/sleeping-daemon
# vim:ft=perl
use Ubic::Service::SimpleDaemon;
Ubic::Service::SimpleDaemon->new({
bin => \'sleep 100\',
user => $ENV{LOGNAME},
});
;' called at D:\Ubic\.build\FfXTuvYCFd\blib\lib/Ubic/Multiservice/Dir.pm line 55
Ubic::Multiservice::Dir::simple_service(undef, 'sleeping-daemon') called at D:\Ubic\.build\FfXTuvYCFd\blib\lib/Ubic/Multiservice.pm line 33
Ubic::Multiservice::__ANON__() called at C:/Perl/site/lib/Try/Tiny.pm line 76
eval {...} called at C:/Perl/site/lib/Try/Tiny.pm line 67
Try::Tiny::try('CODE(0x1e0e72c)', 'Try::Tiny::Catch=REF(0x1e6c38c)') called at D:\Ubic\.build\FfXTuvYCFd\blib\lib/Ubic/Multiservice.pm line 56
Ubic::Multiservice::service(undef, 'sleeping-daemon') called at D:\Ubic\.build\FfXTuvYCFd\blib\lib/Ubic.pm line 249
Ubic::service(undef, 'sleeping-daemon') called at D:\Ubic\.build\FfXTuvYCFd\blib\lib/Ubic/Cmd.pm line 191
Ubic::Cmd::traverse('Ubic::Cmd=HASH(0x18468e4)', 'sleeping-daemon', 'CODE(0x1e6c36c)') called at D:\Ubic\.build\FfXTuvYCFd\blib\lib/Ubic/Cmd.pm line 247
Ubic::Cmd::print_status('Ubic::Cmd=HASH(0x18468e4)', 'sleeping-daemon', undef, 'Ubic::Cmd::Results=HASH(0x1e6c18c)') called at D:\Ubic\.build\FfXTuvYCFd\blib\lib/Ubic/Cmd.pm line 305
Ubic::Cmd::__ANON__() called at C:/Perl/site/lib/Try/Tiny.pm line 76
eval {...} called at C:/Perl/site/lib/Try/Tiny.pm line 67
Try::Tiny::try('CODE(0x1e6c1dc)', 'Try::Tiny::Catch=REF(0x193fdb4)') called at D:\Ubic\.build\FfXTuvYCFd\blib\lib/Ubic/Cmd.pm line 310
Ubic::Cmd::_run_impl(undef, 'HASH(0x1e6c12c)') called at D:\Ubic\.build\FfXTuvYCFd\blib\lib/Ubic/Cmd.pm line 278
Ubic::Cmd::run(undef, 'HASH(0x182d024)') called at D:\Ubic\.build\FfXTuvYCFd\blib\lib/Ubic/Run.pm line 44
Ubic::Run::import('Ubic::Run') called at t/bin/any-init line 10
main::BEGIN() called at t/service/sleeping-daemon line 0
eval {...} called at t/service/sleeping-daemon line 0
# Failed test 'Ubic::Run works, sleeping-daemon is off'
t/run.t ................... 15/18 # at t/run.t line 40.
# ''
# doesn't match '(?x-ism:sleeping-daemon \s+ off)'
Das System kann den angegebenen Pfad nicht finden.
# Failed test 'Ubic::Run throws exception when script name is unknown'
# at t/run.t line 48.
# ''
# doesn't match '(?-xism:^Strange \$0: /usr/bin/sleeping-daemon)'
Failed to eval 't/service/multi/sleep1': The 'user' parameter (undef) to Ubic::Service::SimpleDaemon::new was an 'undef', which is not one of the allowed types: scalar
at D:\Ubic\.build\FfXTuvYCFd\blib\lib/Ubic/Service/SimpleDaemon.pm line 23
Ubic::Service::SimpleDaemon::new(undef, 'HASH(0x1e028bc)') called at t/service/multi/sleep1 line 4
eval 'package UbicService1;
# line 1 t/service/multi/sleep1
# line 1 t/service/multi/sleep1
# vim:ft=perl
use Ubic::Service::SimpleDaemon;
Ubic::Service::SimpleDaemon->new({
bin => \'sleep 100\',
user => $ENV{LOGNAME},
});
;' called at D:\Ubic\.build\FfXTuvYCFd\blib\lib/Ubic/Multiservice/Dir.pm line 55
Ubic::Multiservice::Dir::simple_service(undef, 'sleep1') called at D:\Ubic\.build\FfXTuvYCFd\blib\lib/Ubic/Multiservice.pm line 33
Ubic::Multiservice::__ANON__() called at C:/Perl/site/lib/Try/Tiny.pm line 76
eval {...} called at C:/Perl/site/lib/Try/Tiny.pm line 67
Try::Tiny::try('CODE(0x1e0eccc)', 'Try::Tiny::Catch=REF(0x1e0e87c)') called at D:\Ubic\.build\FfXTuvYCFd\blib\lib/Ubic/Multiservice.pm line 56
Ubic::Multiservice::service(undef, 'sleep1') called at D:\Ubic\.build\FfXTuvYCFd\blib\lib/Ubic/Multiservice.pm line 49
Ubic::Multiservice::__ANON__() called at C:/Perl/site/lib/Try/Tiny.pm line 76
eval {...} called at C:/Perl/site/lib/Try/Tiny.pm line 67
Try::Tiny::try('CODE(0x1e6c3ac)', 'Try::Tiny::Catch=REF(0x1e6c17c)') called at D:\Ubic\.build\FfXTuvYCFd\blib\lib/Ubic/Multiservice.pm line 56
Ubic::Multiservice::service(undef, 'multi.sleep1') called at D:\Ubic\.build\FfXTuvYCFd\blib\lib/Ubic.pm line 249
Ubic::service(undef, 'multi.sleep1') called at D:\Ubic\.build\FfXTuvYCFd\blib\lib/Ubic/Cmd.pm line 191
Ubic::Cmd::traverse('Ubic::Cmd=HASH(0x1e6be9c)', 'multi.sleep1', 'CODE(0x1e6c15c)') called at D:\Ubic\.build\FfXTuvYCFd\blib\lib/Ubic/Cmd.pm line 247
Ubic::Cmd::print_status('Ubic::Cmd=HASH(0x1e6be9c)', 'multi.sleep1', undef, 'Ubic::Cmd::Results=HASH(0x1e6bf7c)') called at D:\Ubic\.build\FfXTuvYCFd\blib\lib/Ubic/Cmd.pm line 305
Ubic::Cmd::__ANON__() called at C:/Perl/site/lib/Try/Tiny.pm line 76
eval {...} called at C:/Perl/site/lib/Try/Tiny.pm line 67
Try::Tiny::try('CODE(0x1e6bfcc)', 'Try::Tiny::Catch=REF(0x18dac2c)') called at D:\Ubic\.build\FfXTuvYCFd\blib\lib/Ubic/Cmd.pm line 310
Ubic::Cmd::_run_impl(undef, 'HASH(0x182bf54)') called at D:\Ubic\.build\FfXTuvYCFd\blib\lib/Ubic/Cmd.pm line 278
Ubic::Cmd::run(undef, 'HASH(0x182c624)') called at D:\Ubic\.build\FfXTuvYCFd\blib\lib/Ubic/Run.pm line 44
Ubic::Run::import('Ubic::Run') called at t/bin/multi-init line 10
main::BEGIN() called at t/service/multi/sleep1 line 0
eval {...} called at t/service/multi/sleep1 line 0
# Failed test 'status works for multiservice'
# at t/run.t line 54.
# ''
# doesn't match '(?x-ism:multi.sleep1 \s+ off)'
Failed to eval 't/service/multi/sleep1': The 'user' parameter (undef) to Ubic::Service::SimpleDaemon::new was an 'undef', which is not one of the allowed types: scalar
at D:\Ubic\.build\FfXTuvYCFd\blib\lib/Ubic/Service/SimpleDaemon.pm line 23
Ubic::Service::SimpleDaemon::new(undef, 'HASH(0x1e01fcc)') called at t/service/multi/sleep1 line 4
eval 'package UbicService1;
# line 1 t/service/multi/sleep1
# line 1 t/service/multi/sleep1
# vim:ft=perl
use Ubic::Service::SimpleDaemon;
Ubic::Service::SimpleDaemon->new({
bin => \'sleep 100\',
user => $ENV{LOGNAME},
});
;' called at D:\Ubic\.build\FfXTuvYCFd\blib\lib/Ubic/Multiservice/Dir.pm line 55
Ubic::Multiservice::Dir::simple_service(undef, 'sleep1') called at D:\Ubic\.build\FfXTuvYCFd\blib\lib/Ubic/Multiservice.pm line 33
Ubic::Multiservice::__ANON__() called at C:/Perl/site/lib/Try/Tiny.pm line 76
eval {...} called at C:/Perl/site/lib/Try/Tiny.pm line 67
Try::Tiny::try('CODE(0x1846fb4)', 'Try::Tiny::Catch=REF(0x1846c34)') called at D:\Ubic\.build\FfXTuvYCFd\blib\lib/Ubic/Multiservice.pm line 56
Ubic::Multiservice::service(undef, 'sleep1') called at D:\Ubic\.build\FfXTuvYCFd\blib\lib/Ubic/Multiservice.pm line 49
Ubic::Multiservice::__ANON__() called at C:/Perl/site/lib/Try/Tiny.pm line 76
eval {...} called at C:/Perl/site/lib/Try/Tiny.pm line 67
Try::Tiny::try('CODE(0x1e6ba4c)', 'Try::Tiny::Catch=REF(0x1846cc4)') called at D:\Ubic\.build\FfXTuvYCFd\blib\lib/Ubic/Multiservice.pm line 56
Ubic::Multiservice::service(undef, 'multi.sleep1') called at D:\Ubic\.build\FfXTuvYCFd\blib\lib/Ubic.pm line 249
Ubic::service(undef, 'multi.sleep1') called at D:\Ubic\.build\FfXTuvYCFd\blib\lib/Ubic/Cmd.pm line 322
Ubic::Cmd::_run_impl(undef, 'HASH(0x1e6b9dc)') called at D:\Ubic\.build\FfXTuvYCFd\blib\lib/Ubic/Cmd.pm line 278
Ubic::Cmd::run(undef, 'HASH(0x1e6b93c)') called at D:\Ubic\.build\FfXTuvYCFd\blib\lib/Ubic/Run.pm line 44
Ubic::Run::import('Ubic::Run') called at t/bin/multi-init line 10
main::BEGIN() called at t/service/multi/sleep1 line 0
eval {...} called at t/service/multi/sleep1 line 0
BEGIN failed--compilation aborted at t/bin/multi-init line 10.
# Failed test 'status works for multiservice'
# at t/run.t line 56.
# ''
# doesn't match '(?msx-i:
# Starting \s+ multi\.sleep1\.\.\. \s+ started \s+ \(pid \s+ \d+\)\s+
# Starting \s+ multi\.sleep2\.\.\. \s+ started \s+ \(pid \s+ \d+\)
# )'
# Looks like you failed 15 tests of 18.
t/run.t ................... Dubious, test returned 15 (wstat 3840, 0xf00)
Failed 15/18 subtests
t/service.t ............... ok
t/simple-daemon.t ......... The 'user' parameter (undef) to Ubic::Service::SimpleDaemon::new was an 'undef', which is not one of the allowed types: scalar
at lib/Ubic/Service/SimpleDaemon.pm line 23
Ubic::Service::SimpleDaemon::new(undef, 'HASH(0x24ab14)') called at t/simple-daemon.t line 20
# Looks like your test exited with 255 before it could output anything.
t/simple-daemon.t ......... Dubious, test returned 255 (wstat 65280, 0xff00)
Failed 5/5 subtests
t/ubic.t ..................
t/ubic.t .................. 1/18 # Failed test 'custom_commands died (Failed to eval 't/service/sleeping-common': The 'user' parameter (undef) to Ubic::Service::Common::new was a
n 'undef', which is not one of the allowed types: scalar
# at lib/Ubic/Service/Common.pm line 20
# Ubic::Service::Common::new(undef, 'HASH(0x1e0eb8c)') called at t/service/sleeping-common line 26
# eval 'package UbicService1;
# \# line 1 t/service/sleeping-common
# \# line 1 t/service/sleeping-common
# \# vim: ft=perl
# use Ubic::Service::Common;
# use Ubic::Daemon qw(:all);
#
# my $pidfile = "tfiles/sleeping-common.pid";
#
# Ubic::Service::Common->new({
# start => sub {
# my $pid;
# start_daemon({
# function => sub { sleep 100 },
# name => \'sleeping-common\',
# pidfile => $pidfile,
# });
# },
# stop => sub {
# stop_daemon($pidfile);
# },
# status => sub {
# return check_daemon($pidfile);
# },
# custom_commands => {
# \'2plus2\' => sub { return 4 },
# \'3plus3\' => sub { return 6 },
# },
# user => $ENV{LOGNAME},
# });
#
# ;' called at lib/Ubic/Multiservice/Dir.pm line 55
# Ubic::Multiservice::Dir::simple_service(undef, 'sleeping-common') called at lib/Ubic/Multiservice.pm line 33
# Ubic::Multiservice::__ANON__() called at C:/Perl/site/lib/Try/Tiny.pm line 76
# eval {...} called at C:/Perl/site/lib/Try/Tiny.pm line 67
# Try::Tiny::try('CODE(0x1d489dc)', 'Try::Tiny::Catch=REF(0x1c29044)') called at lib/Ubic/Multiservice.pm line 56
# Ubic::Multiservice::service(undef, 'sleeping-common') called at lib/Ubic.pm line 249
# Ubic::service(undef, 'sleeping-common') called at lib/Ubic.pm line 397
# Ubic::access_guard(undef, 'sleeping-common') called at lib/Ubic.pm line 405
# Ubic::lock(undef, 'sleeping-common') called at lib/Ubic.pm line 237
# Ubic::do_custom_command(undef, 'sleeping-common', '2plus2') called at t/ubic.t line 59
# main::custom_commands('main=HASH(0x1d1d3fc)') called at C:/Perl/site/lib/Test/Class.pm line 269
# eval {...} called at C:/Perl/site/lib/Test/Class.pm line 269
# Test::Class::_run_method('main=HASH(0x1d1d3fc)', 'custom_commands', 'ARRAY(0x1b0848c)') called at C:/Perl/site/lib/Test/Class.pm line 362
# Test::Class::runtests('main=HASH(0x1d1d3fc)') called at t/ubic.t line 71)'
# at t/ubic.t line 71.
# (in main->custom_commands)
# Failed test 'enable_disable died (Failed to eval 't/service/sleeping-daemon': The 'user' parameter (undef) to Ubic::Service::SimpleDaemon::new was an 'undef', which is not oneof the allowed types: scalar
# at lib/Ubic/Service/SimpleDaemon.pm line 23
# Ubic::Service::SimpleDaemon::new(undef, 'HASH(0x1d493ec)') called at t/service/sleeping-daemon line 4
# eval 'package UbicService2;
# \# line 1 t/service/sleeping-daemon
# \# line 1 t/service/sleeping-daemon
# \# vim:ft=perl
# use Ubic::Service::SimpleDaemon;
#
# Ubic::Service::SimpleDaemon->new({
# bin => \'sleep 100\',
# user => $ENV{LOGNAME},
# });
#
# ;' called at lib/Ubic/Multiservice/Dir.pm line 55
# Ubic::Multiservice::Dir::simple_service(undef, 'sleeping-daemon') called at lib/Ubic/Multiservice.pm line 33
# Ubic::Multiservice::__ANON__() called at C:/Perl/site/lib/Try/Tiny.pm line 76
# eval {...} called at C:/Perl/site/lib/Try/Tiny.pm line 67
# Try::Tiny::try('CODE(0x1d489ac)', 'Try::Tiny::Catch=REF(0x1d48c6c)') called at lib/Ubic/Multiservice.pm line 56
# Ubic::Multiservice::service(undef, 'sleeping-daemon') called at lib/Ubic.pm line 249
# Ubic::service(undef, 'sleeping-daemon') called at lib/Ubic.pm line 397
# Ubic::access_guard(undef, 'sleeping-daemon') called at lib/Ubic.pm line 405
# Ubic::lock(undef, 'sleeping-daemon') called at lib/Ubic.pm line 184
# Ubic::enable(undef, 'sleeping-daemon') called at t/ubic.t line 28
# main::enable_disable('main=HASH(0x1d1d3fc)') called at C:/Perl/site/lib/Test/Class.pm line 269
# eval {...} called at C:/Perl/site/lib/Test/Class.pm line 269
# Test::Class::_run_method('main=HASH(0x1d1d3fc)', 'enable_disable', 'ARRAY(0x1b0848c)') called at C:/Perl/site/lib/Test/Class.pm line 362
# Test::Class::runtests('main=HASH(0x1d1d3fc)') called at t/ubic.t line 71)'
# at t/ubic.t line 71.
# (in main->enable_disable)
# Failed test 'multi.sleep2 is accessible'
# at t/ubic.t line 47.
# (in main->multiservices)
# died: Failed to eval 't/service/multi/sleep2': The 'user' parameter (undef) to Ubic::Service::SimpleDaemon::new was an 'undef', which is not one of the allowed types: scalar
# at lib/Ubic/Service/SimpleDaemon.pm line 23
# Ubic::Service::SimpleDaemon::new(undef, 'HASH(0x1e0e7dc)') called at t/service/multi/sleep2 line 4
# eval 'package UbicService3;
# # line 1 t/service/multi/sleep2
# # line 1 t/service/multi/sleep2
# # vim:ft=perl
# use Ubic::Service::SimpleDaemon;
#
# Ubic::Service::SimpleDaemon->new({
# bin => \'sleep 100\',
# user => $ENV{LOGNAME},
# });
#
# ;' called at lib/Ubic/Multiservice/Dir.pm line 55
# Ubic::Multiservice::Dir::simple_service(undef, 'sleep2') called at lib/Ubic/Multiservice.pm line 33
# Ubic::Multiservice::__ANON__() called at C:/Perl/site/lib/Try/Tiny.pm line 76
# eval {...} called at C:/Perl/site/lib/Try/Tiny.pm line 67
# Try::Tiny::try('CODE(0x1e1379c)', 'Try::Tiny::Catch=REF(0x1e0e9ec)') called at lib/Ubic/Multiservice.pm line 56
# Ubic::Multiservice::service(undef, 'sleep2') called at t/ubic.t line 47
# main::__ANON__() called at C:/Perl/lib/Sub/Uplevel.pm line 150
# Sub::Uplevel::uplevel(3, 'CODE(0x1d1c6ac)') called at C:/Perl/lib/Test/Exception.pm line 103
# eval {...} called at C:/Perl/lib/Test/Exception.pm line 103
# Test::Exception::_try_as_caller('CODE(0x1d1c6ac)') called at C:/Perl/lib/Test/Exception.pm line 259
# Test::Exception::lives_ok('CODE(0x1d1c6ac)', 'multi.sleep2 is accessible') called at t/ubic.t line 47
# main::multiservices('main=HASH(0x1d1d3fc)') called at C:/Perl/site/lib/Test/Class.pm line 269
# eval {...} called at C:/Perl/site/lib/Test/Class.pm line 269
# Test::Class::_run_method('main=HASH(0x1d1d3fc)', 'multiservices', 'ARRAY(0x1b0848c)') called at C:/Perl/site/lib/Test/Class.pm line 362
# Test::Class::runtests('main=HASH(0x1d1d3fc)') called at t/ubic.t line 71
# Failed test 'multi.sleep2 is accessible through short syntax'
# at t/ubic.t line 49.
# (in main->multiservices)
# died: Failed to eval 't/service/multi/sleep2': The 'user' parameter (undef) to Ubic::Service::SimpleDaemon::new was an 'undef', which is not one of the allowed types: scalar
# at lib/Ubic/Service/SimpleDaemon.pm line 23
# Ubic::Service::SimpleDaemon::new(undef, 'HASH(0x1e1401c)') called at t/service/multi/sleep2 line 4
# eval 'package UbicService4;
# # line 1 t/service/multi/sleep2
# # line 1 t/service/multi/sleep2
# # vim:ft=perl
# use Ubic::Service::SimpleDaemon;
#
# Ubic::Service::SimpleDaemon->new({
# bin => \'sleep 100\',
# user => $ENV{LOGNAME},
# });
#
# ;' called at lib/Ubic/Multiservice/Dir.pm line 55
# Ubic::Multiservice::Dir::simple_service(undef, 'sleep2') called at lib/Ubic/Multiservice.pm line 33
# Ubic::Multiservice::__ANON__() called at C:/Perl/site/lib/Try/Tiny.pm line 76
# eval {...} called at C:/Perl/site/lib/Try/Tiny.pm line 67
# Try::Tiny::try('CODE(0x1e13dac)', 'Try::Tiny::Catch=REF(0x1df475c)') called at lib/Ubic/Multiservice.pm line 56
# Ubic::Multiservice::service(undef, 'sleep2') called at lib/Ubic/Multiservice.pm line 49
# Ubic::Multiservice::__ANON__() called at C:/Perl/site/lib/Try/Tiny.pm line 76
# eval {...} called at C:/Perl/site/lib/Try/Tiny.pm line 67
# Try::Tiny::try('CODE(0x1d7a204)', 'Try::Tiny::Catch=REF(0x1e0e9ec)') called at lib/Ubic/Multiservice.pm line 56
# Ubic::Multiservice::service(undef, 'multi.sleep2') called at lib/Ubic.pm line 249
# Ubic::service(undef, 'multi.sleep2') called at t/ubic.t line 49
# main::__ANON__() called at C:/Perl/lib/Sub/Uplevel.pm line 150
# Sub::Uplevel::uplevel(3, 'CODE(0x1d1c84c)') called at C:/Perl/lib/Test/Exception.pm line 103
# eval {...} called at C:/Perl/lib/Test/Exception.pm line 103
# Test::Exception::_try_as_caller('CODE(0x1d1c84c)') called at C:/Perl/lib/Test/Exception.pm line 259
# Test::Exception::lives_ok('CODE(0x1d1c84c)', 'multi.sleep2 is accessible through short syntax') called at t/ubic.t line 49
# main::multiservices('main=HASH(0x1d1d3fc)') called at C:/Perl/site/lib/Test/Class.pm line 269
# eval {...} called at C:/Perl/site/lib/Test/Class.pm line 269
# Test::Class::_run_method('main=HASH(0x1d1d3fc)', 'multiservices', 'ARRAY(0x1b0848c)') called at C:/Perl/site/lib/Test/Class.pm line 362
# Test::Class::runtests('main=HASH(0x1d1d3fc)') called at t/ubic.t line 71
# Failed test 'multiservices died (Failed to eval 't/service/multi/sleep2': The 'user' parameter (undef) to Ubic::Service::SimpleDaemon::new was an 'undef', which is not one of the allowed types: scalar
# at lib/Ubic/Service/SimpleDaemon.pm line 23
# Ubic::Service::SimpleDaemon::new(undef, 'HASH(0x1e1401c)') called at t/service/multi/sleep2 line 4
# eval 'package UbicService4;
# \# line 1 t/service/multi/sleep2
# \# line 1 t/service/multi/sleep2
# \# vim:ft=perl
# use Ubic::Service::SimpleDaemon;
#
# Ubic::Service::SimpleDaemon->new({
# bin => \'sleep 100\',
# user => $ENV{LOGNAME},
# });
#
# ;' called at lib/Ubic/Multiservice/Dir.pm line 55
# Ubic::Multiservice::Dir::simple_service(undef, 'sleep2') called at lib/Ubic/Multiservice.pm line 33
# Ubic::Multiservice::__ANON__() called at C:/Perl/site/lib/Try/Tiny.pm line 76
# eval {...} called at C:/Perl/site/lib/Try/Tiny.pm line 67
# Try::Tiny::try('CODE(0x1e13dac)', 'Try::Tiny::Catch=REF(0x1df475c)') called at lib/Ubic/Multiservice.pm line 56
# Ubic::Multiservice::service(undef, 'sleep2') called at lib/Ubic/Multiservice.pm line 49
# Ubic::Multiservice::__ANON__() called at C:/Perl/site/lib/Try/Tiny.pm line 76
# eval {...} called at C:/Perl/site/lib/Try/Tiny.pm line 67
# Try::Tiny::try('CODE(0x1d7a204)', 'Try::Tiny::Catch=REF(0x1e0e9ec)') called at lib/Ubic/Multiservice.pm line 56
# Ubic::Multiservice::service(undef, 'multi.sleep2') called at lib/Ubic.pm line 249
# Ubic::service(undef, 'multi.sleep2') called at t/ubic.t line 49
# main::__ANON__() called at C:/Perl/lib/Sub/Uplevel.pm line 150
# Sub::Uplevel::uplevel(3, 'CODE(0x1d1c84c)') called at C:/Perl/lib/Test/Exception.pm line 103
# eval {...} called at C:/Perl/lib/Test/Exception.pm line 103
# Test::Exception::_try_as_caller('CODE(0x1d1c84c)') called at C:/Perl/lib/Test/Exception.pm line 259
# Test::Exception::lives_ok('CODE(0x1d1c84c)', 'multi.sleep2 is accessible through short syntax') called at t/ubic.t line 49
# main::multiservices('main=HASH(0x1d1d3fc)') called at C:/Perl/site/lib/Test/Class.pm line 269
# eval {...} called at C:/Perl/site/lib/Test/Class.pm line 269
# Test::Class::_run_method('main=HASH(0x1d1d3fc)', 'multiservices', 'ARRAY(0x1b0848c)') called at C:/Perl/site/lib/Test/Class.pm line 362
# Test::Class::runtests('main=HASH(0x1d1d3fc)') called at t/ubic.t line 71)'
# at t/ubic.t line 71.
# (in main->multiservices)
Can't construct 'broken': Failed to eval 't/service/broken': The 'user' parameter (undef) to Ubic::Service::Common::new was an 'undef', which is not one of the allowed types: scalar
at lib/Ubic/Service/Common.pm line 20
Ubic::Service::Common::new(undef, 'HASH(0x1e143fc)') called at t/service/broken line 14
eval 'package UbicService5;
# line 1 t/service/broken
# line 1 t/service/broken
# vim: ft=perl
use Ubic::Service::Common;
Ubic::Service::Common->new({
start => sub {
die "oops, this service can\'t start";
},
stop => sub {
die "oops, this service can\'t stop";
},
status => sub {
return \'broken\';
},
user => $ENV{LOGNAME},
});
;' called at lib/Ubic/Multiservice/Dir.pm line 55
Ubic::Multiservice::Dir::simple_service(undef, 'broken') called at lib/Ubic/Multiservice.pm line 33
Ubic::Multiservice::__ANON__() called at C:/Perl/site/lib/Try/Tiny.pm line 76
eval {...} called at C:/Perl/site/lib/Try/Tiny.pm line 67
Try::Tiny::try('CODE(0x1e13f8c)', 'Try::Tiny::Catch=REF(0x1e13cfc)') called at lib/Ubic/Multiservice.pm line 56
Ubic::Multiservice::service(undef, 'broken') called at lib/Ubic/Multiservice.pm line 86
eval {...} called at lib/Ubic/Multiservice.pm line 86
Ubic::Multiservice::services('Ubic::Multiservice::Dir=HASH(0x1d1d46c)') called at lib/Ubic.pm line 267
Ubic::services('Ubic') called at t/ubic.t line 20
main::services('main=HASH(0x1d1d3fc)') called at C:/Perl/site/lib/Test/Class.pm line 269
eval {...} called at C:/Perl/site/lib/Test/Class.pm line 269
Test::Class::_run_method('main=HASH(0x1d1d3fc)', 'services', 'ARRAY(0x1b0848c)') called at C:/Perl/site/lib/Test/Class.pm line 362
Test::Class::runtests('main=HASH(0x1d1d3fc)') called at t/ubic.t line 71
Can't construct 'fake-http-service': Failed to eval 't/service/fake-http-service': The 'user' parameter (undef) to Ubic::Service::Common::new was an 'undef', which is not one of the allowed types: scalar
at lib/Ubic/Service/Common.pm line 20
Ubic::Service::Common::new(undef, 'HASH(0x1e31264)') called at t/service/fake-http-service line 21
eval 'package UbicService6;
# line 1 t/service/fake-http-service
# line 1 t/service/fake-http-service
# vim: ft=perl
use strict;
use warnings;
use Ubic::Service::Common;
use Storable;
my $file = \'tfiles/fake-http-service.status\';
return Ubic::Service::Common->new({
start => sub {
store { status => \'running\' } => $file;
},
stop => sub {
store { status => \'not running\' } => $file;
},
status => sub {
return unless -e $file;
return retrieve($file)->{status};
},
port => 12347,
user => $ENV{LOGNAME},
});
;' called at lib/Ubic/Multiservice/Dir.pm line 55
Ubic::Multiservice::Dir::simple_service(undef, 'fake-http-service') called at lib/Ubic/Multiservice.pm line 33
Ubic::Multiservice::__ANON__() called at C:/Perl/site/lib/Try/Tiny.pm line 76
eval {...} called at C:/Perl/site/lib/Try/Tiny.pm line 67
Try::Tiny::try('CODE(0x1e13f8c)', 'Try::Tiny::Catch=REF(0x1e13d4c)') called at lib/Ubic/Multiservice.pm line 56
Ubic::Multiservice::service(undef, 'fake-http-service') called at lib/Ubic/Multiservice.pm line 86
eval {...} called at lib/Ubic/Multiservice.pm line 86
Ubic::Multiservice::services('Ubic::Multiservice::Dir=HASH(0x1d1d46c)') called at lib/Ubic.pm line 267
Ubic::services('Ubic') called at t/ubic.t line 20
main::services('main=HASH(0x1d1d3fc)') called at C:/Perl/site/lib/Test/Class.pm line 269
eval {...} called at C:/Perl/site/lib/Test/Class.pm line 269
Test::Class::_run_method('main=HASH(0x1d1d3fc)', 'services', 'ARRAY(0x1b0848c)') called at C:/Perl/site/lib/Test/Class.pm line 362
Test::Class::runtests('main=HASH(0x1d1d3fc)') called at t/ubic.t line 71
Can't construct 'fake-http-service2': Failed to eval 't/service/fake-http-service2': The 'user' parameter (undef) to Ubic::Service::Common::new was an 'undef', which is not one ofthe allowed types: scalar
at lib/Ubic/Service/Common.pm line 20
Ubic::Service::Common::new(undef, 'HASH(0x1e311d4)') called at t/service/fake-http-service2 line 21
eval 'package UbicService7;
# line 1 t/service/fake-http-service2
# line 1 t/service/fake-http-service2
# vim: ft=perl
use strict;
use warnings;
use Ubic::Service::Common;
use Storable;
my $file = \'tfiles/fake-http-service2.status\';
return Ubic::Service::Common->new({
start => sub {
store { status => \'running\' } => $file;
},
stop => sub {
store { status => \'not running\' } => $file;
},
status => sub {
return unless -e $file;
return retrieve($file)->{status};
},
port => 12347, # conflicts with fake-http-service
user => $ENV{LOGNAME},
});
;' called at lib/Ubic/Multiservice/Dir.pm line 55
Ubic::Multiservice::Dir::simple_service(undef, 'fake-http-service2') called at lib/Ubic/Multiservice.pm line 33
Ubic::Multiservice::__ANON__() called at C:/Perl/site/lib/Try/Tiny.pm line 76
eval {...} called at C:/Perl/site/lib/Try/Tiny.pm line 67
Try::Tiny::try('CODE(0x1e13f8c)', 'Try::Tiny::Catch=REF(0x1df475c)') called at lib/Ubic/Multiservice.pm line 56
Ubic::Multiservice::service(undef, 'fake-http-service2') called at lib/Ubic/Multiservice.pm line 86
eval {...} called at lib/Ubic/Multiservice.pm line 86
Ubic::Multiservice::services('Ubic::Multiservice::Dir=HASH(0x1d1d46c)') called at lib/Ubic.pm line 267
Ubic::services('Ubic') called at t/ubic.t line 20
main::services('main=HASH(0x1d1d3fc)') called at C:/Perl/site/lib/Test/Class.pm line 269
eval {...} called at C:/Perl/site/lib/Test/Class.pm line 269
Test::Class::_run_method('main=HASH(0x1d1d3fc)', 'services', 'ARRAY(0x1b0848c)') called at C:/Perl/site/lib/Test/Class.pm line 362
Test::Class::runtests('main=HASH(0x1d1d3fc)') called at t/ubic.t line 71
Can't construct 'sleeping-common': Failed to eval 't/service/sleeping-common': The 'user' parameter (undef) to Ubic::Service::Common::new was an 'undef', which is not one of the allowed types: scalar
at lib/Ubic/Service/Common.pm line 20
Ubic::Service::Common::new(undef, 'HASH(0x1e0eb8c)') called at t/service/sleeping-common line 26
eval 'package UbicService1;
# line 1 t/service/sleeping-common
# line 1 t/service/sleeping-common
# vim: ft=perl
use Ubic::Service::Common;
use Ubic::Daemon qw(:all);
my $pidfile = "tfiles/sleeping-common.pid";
Ubic::Service::Common->new({
start => sub {
my $pid;
start_daemon({
function => sub { sleep 100 },
name => \'sleeping-common\',
pidfile => $pidfile,
});
},
stop => sub {
stop_daemon($pidfile);
},
status => sub {
return check_daemon($pidfile);
},
custom_commands => {
\'2plus2\' => sub { return 4 },
\'3plus3\' => sub { return 6 },
},
user => $ENV{LOGNAME},
});
;' called at lib/Ubic/Multiservice/Dir.pm line 55
Ubic::Multiservice::Dir::simple_service(undef, 'sleeping-common') called at lib/Ubic/Multiservice.pm line 33
Ubic::Multiservice::__ANON__() called at C:/Perl/site/lib/Try/Tiny.pm line 76
eval {...} called at C:/Perl/site/lib/Try/Tiny.pm line 67
Try::Tiny::try('CODE(0x1d489dc)', 'Try::Tiny::Catch=REF(0x1c29044)') called at lib/Ubic/Multiservice.pm line 56
Ubic::Multiservice::service(undef, 'sleeping-common') called at lib/Ubic.pm line 249
Ubic::service(undef, 'sleeping-common') called at lib/Ubic.pm line 397
Ubic::access_guard(undef, 'sleeping-common') called at lib/Ubic.pm line 405
Ubic::lock(undef, 'sleeping-common') called at lib/Ubic.pm line 237
Ubic::do_custom_command(undef, 'sleeping-common', '2plus2') called at t/ubic.t line 59
main::custom_commands('main=HASH(0x1d1d3fc)') called at C:/Perl/site/lib/Test/Class.pm line 269
eval {...} called at C:/Perl/site/lib/Test/Class.pm line 269
Test::Class::_run_method('main=HASH(0x1d1d3fc)', 'custom_commands', 'ARRAY(0x1b0848c)') called at C:/Perl/site/lib/Test/Class.pm line 362
Test::Class::runtests('main=HASH(0x1d1d3fc)') called at t/ubic.t line 71
Can't construct 'sleeping-daemon': Failed to eval 't/service/sleeping-daemon': The 'user' parameter (undef) to Ubic::Service::SimpleDaemon::new was an 'undef', which is not one ofthe allowed types: scalar
at lib/Ubic/Service/SimpleDaemon.pm line 23
Ubic::Service::SimpleDaemon::new(undef, 'HASH(0x1d493ec)') called at t/service/sleeping-daemon line 4
eval 'package UbicService2;
# line 1 t/service/sleeping-daemon
# line 1 t/service/sleeping-daemon
# vim:ft=perl
use Ubic::Service::SimpleDaemon;
Ubic::Service::SimpleDaemon->new({
bin => \'sleep 100\',
user => $ENV{LOGNAME},
});
;' called at lib/Ubic/Multiservice/Dir.pm line 55
Ubic::Multiservice::Dir::simple_service(undef, 'sleeping-daemon') called at lib/Ubic/Multiservice.pm line 33
Ubic::Multiservice::__ANON__() called at C:/Perl/site/lib/Try/Tiny.pm line 76
eval {...} called at C:/Perl/site/lib/Try/Tiny.pm line 67
Try::Tiny::try('CODE(0x1d489ac)', 'Try::Tiny::Catch=REF(0x1d48c6c)') called at lib/Ubic/Multiservice.pm line 56
Ubic::Multiservice::service(undef, 'sleeping-daemon') called at lib/Ubic.pm line 249
Ubic::service(undef, 'sleeping-daemon') called at lib/Ubic.pm line 397
Ubic::access_guard(undef, 'sleeping-daemon') called at lib/Ubic.pm line 405
Ubic::lock(undef, 'sleeping-daemon') called at lib/Ubic.pm line 184
Ubic::enable(undef, 'sleeping-daemon') called at t/ubic.t line 28
main::enable_disable('main=HASH(0x1d1d3fc)') called at C:/Perl/site/lib/Test/Class.pm line 269
eval {...} called at C:/Perl/site/lib/Test/Class.pm line 269
Test::Class::_run_method('main=HASH(0x1d1d3fc)', 'enable_disable', 'ARRAY(0x1b0848c)') called at C:/Perl/site/lib/Test/Class.pm line 362
Test::Class::runtests('main=HASH(0x1d1d3fc)') called at t/ubic.t line 71
Can't construct 'sleeping-daemon2': Failed to eval 't/service/sleeping-daemon2': The 'user' parameter (undef) to Ubic::Service::SimpleDaemon::new was an 'undef', which is not one of the allowed types: scalar
at lib/Ubic/Service/SimpleDaemon.pm line 23
Ubic::Service::SimpleDaemon::new(undef, 'HASH(0x1e31a84)') called at t/service/sleeping-daemon2 line 4
eval 'package UbicService10;
# line 1 t/service/sleeping-daemon2
# line 1 t/service/sleeping-daemon2
# vim:ft=perl
use Ubic::Service::SimpleDaemon;
Ubic::Service::SimpleDaemon->new({
bin => \'sleep 100\',
user => $ENV{LOGNAME},
});
;' called at lib/Ubic/Multiservice/Dir.pm line 55
Ubic::Multiservice::Dir::simple_service(undef, 'sleeping-daemon2') called at lib/Ubic/Multiservice.pm line 33
Ubic::Multiservice::__ANON__() called at C:/Perl/site/lib/Try/Tiny.pm line 76
eval {...} called at C:/Perl/site/lib/Try/Tiny.pm line 67
Try::Tiny::try('CODE(0x1e1428c)', 'Try::Tiny::Catch=REF(0x1e13b3c)') called at lib/Ubic/Multiservice.pm line 56
Ubic::Multiservice::service(undef, 'sleeping-daemon2') called at lib/Ubic/Multiservice.pm line 86
eval {...} called at lib/Ubic/Multiservice.pm line 86
Ubic::Multiservice::services('Ubic::Multiservice::Dir=HASH(0x1d1d46c)') called at lib/Ubic.pm line 267
Ubic::services('Ubic') called at t/ubic.t line 20
main::services('main=HASH(0x1d1d3fc)') called at C:/Perl/site/lib/Test/Class.pm line 269
eval {...} called at C:/Perl/site/lib/Test/Class.pm line 269
Test::Class::_run_method('main=HASH(0x1d1d3fc)', 'services', 'ARRAY(0x1b0848c)') called at C:/Perl/site/lib/Test/Class.pm line 362
Test::Class::runtests('main=HASH(0x1d1d3fc)') called at t/ubic.t line 71
Can't construct 'ubic-ping': Failed to eval 't/service/ubic-ping': syntax error at t/service/ubic-ping line 1, near ";
# line 1 t/service/ubic-ping
# line 1 t/service/ubic-ping
.."
# Failed test 'enough services returned by services() method'
# at t/ubic.t line 21.
# (in main->services)
# '4'
# >
# '5'
# Failed test 'sleeping-daemon is presented in services list'
# at t/ubic.t line 23.
# (in main->services)
# Failed test 'start_stop died (Failed to eval 't/service/sleeping-daemon': The 'user' parameter (undef) to Ubic::Service::SimpleDaemon::new was an 'undef', which is not one of the allowed types: scalar
# at lib/Ubic/Service/SimpleDaemon.pm line 23
# Ubic::Service::SimpleDaemon::new(undef, 'HASH(0x1d493ec)') called at t/service/sleeping-daemon line 4
# eval 'package UbicService2;
# \# line 1 t/service/sleeping-daemon
# \# line 1 t/service/sleeping-daemon
# \# vim:ft=perl
# use Ubic::Service::SimpleDaemon;
#
# Ubic::Service::SimpleDaemon->new({
# bin => \'sleep 100\',
# user => $ENV{LOGNAME},
# });
#
# ;' called at lib/Ubic/Multiservice/Dir.pm line 55
# Ubic::Multiservice::Dir::simple_service(undef, 'sleeping-daemon') called at lib/Ubic/Multiservice.pm line 33
# Ubic::Multiservice::__ANON__() called at C:/Perl/site/lib/Try/Tiny.pm line 76
# eval {...} called at C:/Perl/site/lib/Try/Tiny.pm line 67
# Try::Tiny::try('CODE(0x1d489ac)', 'Try::Tiny::Catch=REF(0x1d48c6c)') called at lib/Ubic/Multiservice.pm line 56
# Ubic::Multiservice::service(undef, 'sleeping-daemon') called at lib/Ubic.pm line 249
# Ubic::service(undef, 'sleeping-daemon') called at lib/Ubic.pm line 397
# Ubic::access_guard(undef, 'sleeping-daemon') called at lib/Ubic.pm line 405
# Ubic::lock(undef, 'sleeping-daemon') called at lib/Ubic.pm line 184
# Ubic::enable(undef, 'sleeping-daemon') called at t/ubic.t line 28
# main::enable_disable('main=HASH(0x1d1d3fc)') called at C:/Perl/site/lib/Test/Class.pm line 269
# eval {...} called at C:/Perl/site/lib/Test/Class.pm line 269
# Test::Class::_run_method('main=HASH(0x1d1d3fc)', 'enable_disable', 'ARRAY(0x1b0848c)') called at C:/Perl/site/lib/Test/Class.pm line 362
# Test::Class::runtests('main=HASH(0x1d1d3fc)') called at t/ubic.t line 71)'
# at t/ubic.t line 71.
# (in main->start_stop)
# Looks like you failed 8 tests of 18.
t/ubic.t .................. Dubious, test returned 8 (wstat 2048, 0x800)
Failed 8/18 subtests
(less 7 skipped subtests: 3 okay)
t/watchdog.t .............. Das System kann den angegebenen Pfad nicht finden.
t/watchdog.t .............. skipped: fakeroot is not installed
Test Summary Report
-------------------
t/cmd.t (Wstat: 2304 Tests: 0 Failed: 0)
Non-zero exit status: 9
Parse errors: Bad plan. You planned 8 tests but ran 0.
t/daemon.t (Wstat: 0 Tests: 0 Failed: 0)
Parse errors: Bad plan. You planned 23 tests but ran 0.
t/lock.t (Wstat: 2304 Tests: 2 Failed: 2)
Failed tests: 1-2
Non-zero exit status: 9
Parse errors: Bad plan. You planned 5 tests but ran 2.
t/memory-leak.t (Wstat: 512 Tests: 0 Failed: 0)
Non-zero exit status: 2
Parse errors: Bad plan. You planned 2 tests but ran 0.
t/ping.t (Wstat: 512 Tests: 0 Failed: 0)
Non-zero exit status: 2
Parse errors: Bad plan. You planned 24 tests but ran 0.
t/run.t (Wstat: 3840 Tests: 18 Failed: 15)
Failed tests: 1-2, 4-7, 9-12, 14-18
Non-zero exit status: 15
t/simple-daemon.t (Wstat: 65280 Tests: 0 Failed: 0)
Non-zero exit status: 255
Parse errors: Bad plan. You planned 5 tests but ran 0.
t/ubic.t (Wstat: 2048 Tests: 18 Failed: 8)
Failed tests: 1, 3, 6, 8, 10, 12-14
Non-zero exit status: 8
Files=18, Tests=238, 15 wallclock secs ( 0.14 usr + 0.03 sys = 0.17 CPU)
Result: FAIL
Failed 8/18 test programs. 25/238 subtests failed.
dmake.exe: Error code 255, while making 'test_dynamic'
error running c:\MinGW\dmake\dmake.exe test
D:\Ubic>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment