Skip to content

Instantly share code, notes, and snippets.

@wchristian
Created September 6, 2010 14:44
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 1 You must be signed in to fork a gist
  • Save wchristian/567113 to your computer and use it in GitHub Desktop.
Save wchristian/567113 to your computer and use it in GitHub Desktop.
D:\Ubic-1.14>dmake test
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(0x1cd64ec)') 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(0x1cd620c)', 'Try::Tiny::Catch=REF(0x18dd08c)') called at lib/Ubic/Multiservice.pm line 56
Ubic::Multiservice::service(undef, 'sleeping-daemon') called at lib/Ubic.pm line 214
Ubic::service(undef, 'sleeping-daemon') called at lib/Ubic/Cmd.pm line 191
Ubic::Cmd::traverse('Ubic::Cmd=HASH(0x1c3d3d4)', 'sleeping-daemon', 'CODE(0x1bcdebc)') called at lib/Ubic/Cmd.pm line 67
Ubic::Cmd::_any_method(undef, 'HASH(0x1bdd92c)') 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'
# at t/lock.t line 18.
t/lock.t .................. 1/5 # died: Failed to eval 't/service/sleeping-daemon': The 'user' parameter (undef) to Ubic::Service::SimpleDaemon::new was an 'undef', which is not on
e 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 214
# Ubic::service() called at lib/Ubic.pm line 368
# Ubic::ServiceLock::new() called at lib/Ubic.pm line 348
# 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 214
# Ubic::service() called at lib/Ubic.pm line 368
# Ubic::ServiceLock::new() called at lib/Ubic.pm line 348
# 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 214
Ubic::service() called at lib/Ubic.pm line 368
Ubic::ServiceLock::new() called at lib/Ubic.pm line 348
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/5556/statm: No such file or directory at t/Utils.pm line 50.
# 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 ... # testing has_service for nested unexistent services
t/multiservice-simple.t ... ok
t/ping.t .................. 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(0x1e74e64)') called at t/service/fake-http-service line 21
eval 'package UbicService1;
# 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(0x1e4f6cc)', 'Try::Tiny::Catch=REF(0x1ce474c)') called at lib/Ubic/Multiservice.pm line 56
Ubic::Multiservice::service(undef, 'fake-http-service') called at lib/Ubic.pm line 214
Ubic::service(undef, 'fake-http-service') called at t/ping.t line 32
The getpwnam function is unimplemented at lib/Ubic/Service.pm line 78, <DATA> line 16.
END failed--call queue aborted at t/ping.t line 55, <DATA> line 16.
# Looks like your test exited with 255 before it could output anything.
t/ping.t .................. Dubious, test returned 255 (wstat 65280, 0xff00)
Failed 24/24 subtests
t/pod.t ................... ok
t/pod_coverage.t .......... ok
t/release-pod-coverage.t .. skipped: these tests are for release candidate testing
t/release-pod-syntax.t .... skipped: these tests are for release candidate testing
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 lib/Ubic/Service/SimpleDaemon.pm line 23
Ubic::Service::SimpleDaemon::new(undef, 'HASH(0x1df958c)') 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(0x1e5f4d4)', 'Try::Tiny::Catch=REF(0x193fd44)') called at lib/Ubic/Multiservice.pm line 56
Ubic::Multiservice::service(undef, 'sleeping-daemon') called at lib/Ubic.pm line 214
Ubic::service(undef, 'sleeping-daemon') called at lib/Ubic/Cmd.pm line 322
Ubic::Cmd::_run_impl(undef, 'HASH(0x1e5f2c4)') called at lib/Ubic/Cmd.pm line 278
Ubic::Cmd::run(undef, 'HASH(0x182c314)') called at lib/Ubic/Run.pm line 31
Ubic::Run::import('Ubic::Run') called at t/bin/sleeping-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/sleeping-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 lib/Ubic/Service/SimpleDaemon.pm line 23
Ubic::Service::SimpleDaemon::new(undef, 'HASH(0x1df958c)') 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(0x1e5f794)', 'Try::Tiny::Catch=REF(0x1e5f524)') called at lib/Ubic/Multiservice.pm line 56
Ubic::Multiservice::service(undef, 'sleeping-daemon') called at lib/Ubic.pm line 214
Ubic::service(undef, 'sleeping-daemon') called at lib/Ubic/Cmd.pm line 191
Ubic::Cmd::traverse('Ubic::Cmd=HASH(0x184679c)', 'sleeping-daemon', 'CODE(0x1e5f504)') called at lib/Ubic/Cmd.pm line 247
Ubic::Cmd::print_status('Ubic::Cmd=HASH(0x184679c)', 'sleeping-daemon', undef, 'Ubic::Cmd::Results=HASH(0x1e5f324)') called at 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(0x1e5f374)', 'Try::Tiny::Catch=REF(0x193fd44)') called at lib/Ubic/Cmd.pm line 310
Ubic::Cmd::_run_impl(undef, 'HASH(0x1e5f2c4)') called at lib/Ubic/Cmd.pm line 278
Ubic::Cmd::run(undef, 'HASH(0x182c314)') called at lib/Ubic/Run.pm line 31
Ubic::Run::import('Ubic::Run') called at t/bin/sleeping-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'
t/run.t ................... 1/6 # at t/run.t line 28.
# ''
# 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 lib/Ubic/Service/SimpleDaemon.pm line 23
Ubic::Service::SimpleDaemon::new(undef, 'HASH(0x1df958c)') 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(0x1e5f4d4)', 'Try::Tiny::Catch=REF(0x193fd44)') called at lib/Ubic/Multiservice.pm line 56
Ubic::Multiservice::service(undef, 'sleeping-daemon') called at lib/Ubic.pm line 214
Ubic::service(undef, 'sleeping-daemon') called at lib/Ubic/Cmd.pm line 322
Ubic::Cmd::_run_impl(undef, 'HASH(0x1e5f2c4)') called at lib/Ubic/Cmd.pm line 278
Ubic::Cmd::run(undef, 'HASH(0x182c314)') called at lib/Ubic/Run.pm line 31
Ubic::Run::import('Ubic::Run') called at t/bin/sleeping-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/sleeping-init line 10.
# Failed test 'logrotate command implemented'
# at t/run.t line 32.
t/run.t ................... 3/6 # died: exit code 9 at t/Utils.pm line 39.
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(0x1df958c)') 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(0x1e5f4d4)', 'Try::Tiny::Catch=REF(0x193fd44)') called at lib/Ubic/Multiservice.pm line 56
Ubic::Multiservice::service(undef, 'sleeping-daemon') called at lib/Ubic.pm line 214
Ubic::service(undef, 'sleeping-daemon') called at lib/Ubic/Cmd.pm line 322
Ubic::Cmd::_run_impl(undef, 'HASH(0x1e5f2c4)') called at lib/Ubic/Cmd.pm line 278
Ubic::Cmd::run(undef, 'HASH(0x182c314)') called at lib/Ubic/Run.pm line 31
Ubic::Run::import('Ubic::Run') called at t/bin/sleeping-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/sleeping-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 lib/Ubic/Service/SimpleDaemon.pm line 23
Ubic::Service::SimpleDaemon::new(undef, 'HASH(0x1df958c)') 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(0x1e5f794)', 'Try::Tiny::Catch=REF(0x1e5f524)') called at lib/Ubic/Multiservice.pm line 56
Ubic::Multiservice::service(undef, 'sleeping-daemon') called at lib/Ubic.pm line 214
Ubic::service(undef, 'sleeping-daemon') called at lib/Ubic/Cmd.pm line 191
Ubic::Cmd::traverse('Ubic::Cmd=HASH(0x184679c)', 'sleeping-daemon', 'CODE(0x1e5f504)') called at lib/Ubic/Cmd.pm line 247
Ubic::Cmd::print_status('Ubic::Cmd=HASH(0x184679c)', 'sleeping-daemon', undef, 'Ubic::Cmd::Results=HASH(0x1e5f324)') called at 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(0x1e5f374)', 'Try::Tiny::Catch=REF(0x193fd44)') called at lib/Ubic/Cmd.pm line 310
Ubic::Cmd::_run_impl(undef, 'HASH(0x1e5f2c4)') called at lib/Ubic/Cmd.pm line 278
Ubic::Cmd::run(undef, 'HASH(0x182c314)') called at lib/Ubic/Run.pm line 31
Ubic::Run::import('Ubic::Run') called at t/bin/sleeping-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 37.
# ''
# doesn't match '(?x-ism:sleeping-daemon \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 lib/Ubic/Service/SimpleDaemon.pm line 23
Ubic::Service::SimpleDaemon::new(undef, 'HASH(0x1df985c)') 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 lib/Ubic/Multiservice/Dir.pm line 55
Ubic::Multiservice::Dir::simple_service(undef, 'sleep1') 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(0x184584c)', 'Try::Tiny::Catch=REF(0x18453fc)') called at lib/Ubic/Multiservice.pm line 56
Ubic::Multiservice::service(undef, 'sleep1') 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(0x1e5fba4)', 'Try::Tiny::Catch=REF(0x1e5f8b4)') called at lib/Ubic/Multiservice.pm line 56
Ubic::Multiservice::service(undef, 'multi.sleep1') called at lib/Ubic.pm line 214
Ubic::service(undef, 'multi.sleep1') called at lib/Ubic/Cmd.pm line 191
Ubic::Cmd::traverse('Ubic::Cmd=HASH(0x1e5f5d4)', 'multi.sleep1', 'CODE(0x1e5f894)') called at lib/Ubic/Cmd.pm line 247
Ubic::Cmd::print_status('Ubic::Cmd=HASH(0x1e5f5d4)', 'multi.sleep1', undef, 'Ubic::Cmd::Results=HASH(0x1e5f6b4)') called at 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(0x1e5f704)', 'Try::Tiny::Catch=REF(0x193fd54)') called at lib/Ubic/Cmd.pm line 310
Ubic::Cmd::_run_impl(undef, 'HASH(0x182bcb4)') called at lib/Ubic/Cmd.pm line 278
Ubic::Cmd::run(undef, 'HASH(0x182c324)') called at lib/Ubic/Run.pm line 31
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 43.
# ''
# 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 lib/Ubic/Service/SimpleDaemon.pm line 23
Ubic::Service::SimpleDaemon::new(undef, 'HASH(0x1df931c)') 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 lib/Ubic/Multiservice/Dir.pm line 55
Ubic::Multiservice::Dir::simple_service(undef, 'sleep1') 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(0x1845694)', 'Try::Tiny::Catch=REF(0x1845314)') called at lib/Ubic/Multiservice.pm line 56
Ubic::Multiservice::service(undef, 'sleep1') 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(0x1e5f2bc)', 'Try::Tiny::Catch=REF(0x18453a4)') called at lib/Ubic/Multiservice.pm line 56
Ubic::Multiservice::service(undef, 'multi.sleep1') called at lib/Ubic.pm line 214
Ubic::service(undef, 'multi.sleep1') called at lib/Ubic/Cmd.pm line 322
Ubic::Cmd::_run_impl(undef, 'HASH(0x1e5f24c)') called at lib/Ubic/Cmd.pm line 278
Ubic::Cmd::run(undef, 'HASH(0x1e5f1ac)') called at lib/Ubic/Run.pm line 31
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.
t/run.t ................... 6/6 # Failed test 'status works for multiservice'
# at t/run.t line 45.
# ''
# doesn't match '(?msx-i:
# Starting \s+ multi\.sleep1\.\.\. \s+ started \s+
# Starting \s+ multi\.sleep2\.\.\. \s+ started
# )'
# Looks like you failed 5 tests of 6.
t/run.t ................... Dubious, test returned 5 (wstat 1280, 0x500)
Failed 5/6 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(0x24ac1c)') 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 .................. 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(0x1cd5f64)') called at t/service/broken line 14
eval 'package UbicService1;
# 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(0x1ca94f4)', 'Try::Tiny::Catch=REF(0x1b151e4)') 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(0x1ca92a4)') called at lib/Ubic.pm line 232
Ubic::services('Ubic') called at t/ubic.t line 20
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(0x1cdeb7c)') called at t/service/fake-http-service line 21
eval 'package UbicService2;
# 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(0x1ca94f4)', 'Try::Tiny::Catch=REF(0x1ca96c4)') 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(0x1ca92a4)') called at lib/Ubic.pm line 232
Ubic::services('Ubic') called at t/ubic.t line 20
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 of the allowed types: scalar
at lib/Ubic/Service/Common.pm line 20
Ubic::Service::Common::new(undef, 'HASH(0x1ca9714)') called at t/service/fake-http-service2 line 21
eval 'package UbicService3;
# 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(0x1ca94f4)', 'Try::Tiny::Catch=REF(0x1ca9604)') 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(0x1ca92a4)') called at lib/Ubic.pm line 232
Ubic::services('Ubic') called at t/ubic.t line 20
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(0x1cfef4c)') called at t/service/sleeping-common line 26
eval 'package UbicService5;
# 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(0x1ca94b4)', 'Try::Tiny::Catch=REF(0x1ca9444)') called at lib/Ubic/Multiservice.pm line 56
Ubic::Multiservice::service(undef, 'sleeping-common') called at lib/Ubic/Multiservice.pm line 86
eval {...} called at lib/Ubic/Multiservice.pm line 86
Ubic::Multiservice::services('Ubic::Multiservice::Dir=HASH(0x1ca92a4)') called at lib/Ubic.pm line 232
Ubic::services('Ubic') called at t/ubic.t line 20
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 of the allowed types: scalar
at lib/Ubic/Service/SimpleDaemon.pm line 23
Ubic::Service::SimpleDaemon::new(undef, 'HASH(0x1cf044c)') called at t/service/sleeping-daemon line 4
eval 'package UbicService6;
# 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(0x1ca94b4)', 'Try::Tiny::Catch=REF(0x1ca95a4)') called at lib/Ubic/Multiservice.pm line 56
Ubic::Multiservice::service(undef, 'sleeping-daemon') called at lib/Ubic/Multiservice.pm line 86
eval {...} called at lib/Ubic/Multiservice.pm line 86
Ubic::Multiservice::services('Ubic::Multiservice::Dir=HASH(0x1ca92a4)') called at lib/Ubic.pm line 232
Ubic::services('Ubic') called at t/ubic.t line 20
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(0x1d32cfc)') called at t/service/sleeping-daemon2 line 4
eval 'package UbicService8;
# 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(0x1ca9254)', 'Try::Tiny::Catch=REF(0x1a06ae4)') 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(0x1ca92a4)') called at lib/Ubic.pm line 232
Ubic::services('Ubic') called at t/ubic.t line 20
# Failed test 'enough services returned by services() method'
t/ubic.t .................. 1/18 # at t/ubic.t line 21.
# '4'
# >
# '5'
# Failed test 'sleeping-daemon is presented in services list'
# at t/ubic.t line 23.
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(0x1cf044c)') called at t/service/sleeping-daemon line 4
eval 'package UbicService6;
# 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(0x1ca94b4)', 'Try::Tiny::Catch=REF(0x1ca95a4)') called at lib/Ubic/Multiservice.pm line 56
Ubic::Multiservice::service(undef, 'sleeping-daemon') called at lib/Ubic/Multiservice.pm line 86
eval {...} called at lib/Ubic/Multiservice.pm line 86
Ubic::Multiservice::services('Ubic::Multiservice::Dir=HASH(0x1ca92a4)') called at lib/Ubic.pm line 232
Ubic::services('Ubic') called at t/ubic.t line 20
# Looks like you planned 18 tests but ran 3.
# Looks like you failed 2 tests of 3 run.
# Looks like your test exited with 2 just after 3.
t/ubic.t .................. Dubious, test returned 2 (wstat 512, 0x200)
Failed 17/18 subtests
t/watchdog.t .............. exit code 1 at t/Utils.pm line 39.
# No tests run!
t/watchdog.t .............. Dubious, test returned 255 (wstat 65280, 0xff00)
Failed 6/6 subtests
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: 65280 Tests: 0 Failed: 0)
Non-zero exit status: 255
Parse errors: Bad plan. You planned 24 tests but ran 0.
t/run.t (Wstat: 1280 Tests: 6 Failed: 5)
Failed tests: 1, 3-6
Non-zero exit status: 5
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: 512 Tests: 3 Failed: 2)
Failed tests: 1-2
Non-zero exit status: 2
Parse errors: Bad plan. You planned 18 tests but ran 3.
t/watchdog.t (Wstat: 65280 Tests: 0 Failed: 0)
Non-zero exit status: 255
Parse errors: Bad plan. You planned 6 tests but ran 0.
Files=18, Tests=128, 13 wallclock secs ( 0.11 usr + 0.05 sys = 0.16 CPU)
Result: FAIL
Failed 9/18 test programs. 9/128 subtests failed.
dmake: Error code 255, while making 'test_dynamic'
D:\Ubic-1.14>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment