Skip Menu |

This queue is for tickets about the App-Daemon CPAN distribution.

Report information
The Basics
Id: 122731
Status: new
Priority: 0/
Queue: App-Daemon

People
Owner: Nobody in particular
Requestors: sflitman [...] xenoscience.com
Cc:
AdminCc:

Bug Information
Severity: (no value)
Broken in: (no value)
Fixed in: (no value)



Subject: Tests fail when installing from CPAN on perl v5.20.2 built for x86_64-linux-gnu-thread-multi
Date: Sun, 6 Aug 2017 19:34:18 -0700
To: bug-App-Daemon [...] rt.cpan.org
From: "Dr. Steve Flitman" <sflitman [...] xenoscience.com>
root@server:~/.cpan/build/App-Daemon-0.22-0# make test PERL_DL_NONLAZY=1 PERL_USE_UNSAFE_INC=1 /usr/bin/perl "-MExtUtils::Command::MM" "-MTest::Harness" "-e" "undef *Test::Harness::Switches; test_harness(0, 'blib/lib', 'blib/arch')" t/*.t t/001Basic.t .... 1/3 /root/.cpan/build/App-Daemon-0.22-0/blib/lib/App/Daemon.pm-198> App::Daemon die handler triggered. /root/.cpan/build/App-Daemon-0.22-0/blib/lib/App/Daemon.pm-211> Die handler removes pidfile ./001Basic.pid Cannot remove ./001Basic.pid at /root/.cpan/build/App-Daemon-0.22-0/blib/lib/App/Daemon.pm line 212. Cannot open tempfile /tmp/lKViZCPS2O (Permission denied) at t/001Basic.t line 29. # Looks like you planned 3 tests but ran 2. # Looks like your test exited with 2 just after 2. t/001Basic.t .... Dubious, test returned 2 (wstat 512, 0x200) Failed 1/3 subtests t/002Params.t ... 1/3 # Failed test 'log message' # at t/002Params.t line 34. # '' # doesn't match '(?^:Running in foreground)' # Looks like you failed 1 test of 3. t/002Params.t ... Dubious, test returned 1 (wstat 256, 0x100) Failed 1/3 subtests t/003CmdLine.t .. 1/6 t/003CmdLine.t .. ok t/004Pidfile.t .. t/004Pidfile.t-24> tempfile /tmp/HkySp2H7nY.dat created t/004Pidfile.t-24> tapping '/usr/bin/perl' '-I/root/.cpan/build/App-Daemon-0.22-0/t/../blib/lib' '/root/.cpan/build/App-Daemon-0.22-0/t/../eg/test-fork-daemon' '-l' '/tmp/nikZljtH0E/log' '-p' '/tmp/nikZljtH0E/pid' '-v' 'start' Show quoted text
2>/tmp/HkySp2H7nY.dat |
t/004Pidfile.t-24> Slurping data from /tmp/HkySp2H7nY.dat t/004Pidfile.t-24> Read from /tmp/HkySp2H7nY.dat t/004Pidfile.t-24> tap '/usr/bin/perl' '-I/root/.cpan/build/App-Daemon-0.22-0/t/../blib/lib' '/root/.cpan/build/App-Daemon-0.22-0/t/../eg/test-fork-daemon' '-l' '/tmp/nikZljtH0E/log' '-p' '/tmp/nikZljtH0E/pid' '-v' 'start' Show quoted text
2>/tmp/HkySp2H7nY.dat | results: rc=0 stderr=[] stdout=[]
t/004Pidfile.t .. 1/5 t/004Pidfile.t-29> Checking for logfile t/004Pidfile.t-39> Slurping data from /tmp/nikZljtH0E/log t/004Pidfile.t-39> Read (296)[2017.08.06 19.26.23 Proces[snip=244]0 but master pid is 26419.] from /tmp/nikZljtH0E/log t/004Pidfile.t-40> Checking logfile for 'waitpid done': [2017/08/06 19:26:23 Process ID is 26419 2017/08/06 19:26:23 Written to /tmp/nikZljtH0E/pid 2017/08/06 19:26:23 Defining die handler 2017/08/06 19:26:23 child exits 2017/08/06 19:26:23 App::Daemon die handler triggered. 2017/08/06 19:26:23 Die handler called for pid 26420 but master pid is 26419 ] t/004Pidfile.t-39> Slurping data from /tmp/nikZljtH0E/log t/004Pidfile.t-39> Read (369)[2017.08.06 19.26.23 Proces[snip=317].06 19.26.23 parent sleep.] from /tmp/nikZljtH0E/log t/004Pidfile.t-40> Checking logfile for 'waitpid done': [2017/08/06 19:26:23 Process ID is 26419 2017/08/06 19:26:23 Written to /tmp/nikZljtH0E/pid 2017/08/06 19:26:23 Defining die handler 2017/08/06 19:26:23 child exits 2017/08/06 19:26:23 App::Daemon die handler triggered. 2017/08/06 19:26:23 Die handler called for pid 26420 but master pid is 26419 2017/08/06 19:26:23 parent waitpid done 2017/08/06 19:26:23 parent sleep ] t/004Pidfile.t .. 3/5 t/004Pidfile.t-50> tempfile /tmp/5RBdiTSne3.dat created t/004Pidfile.t-50> tapping '/usr/bin/perl' '-I/root/.cpan/build/App-Daemon-0.22-0/t/../blib/lib' '/root/.cpan/build/App-Daemon-0.22-0/t/../eg/test-fork-daemon' '-l' '/tmp/nikZljtH0E/log' '-p' '/tmp/nikZljtH0E/pid' '-v' 'stop' Show quoted text
2>/tmp/5RBdiTSne3.dat |
t/004Pidfile.t-50> Slurping data from /tmp/5RBdiTSne3.dat t/004Pidfile.t-50> Read from /tmp/5RBdiTSne3.dat t/004Pidfile.t-50> tap '/usr/bin/perl' '-I/root/.cpan/build/App-Daemon-0.22-0/t/../blib/lib' '/root/.cpan/build/App-Daemon-0.22-0/t/../eg/test-fork-daemon' '-l' '/tmp/nikZljtH0E/log' '-p' '/tmp/nikZljtH0E/pid' '-v' 'stop' Show quoted text
2>/tmp/5RBdiTSne3.dat | results: rc=0 stderr=[] stdout=[]
t/004Pidfile.t .. ok t/005Detach.t ... ok Test Summary Report ------------------- t/001Basic.t (Wstat: 512 Tests: 2 Failed: 0) Non-zero exit status: 2 Parse errors: Bad plan. You planned 3 tests but ran 2. t/002Params.t (Wstat: 256 Tests: 3 Failed: 1) Failed test: 3 Non-zero exit status: 1 Files=5, Tests=18, 6 wallclock secs ( 0.06 usr 0.02 sys + 1.73 cusr 0.20 csys = 2.01 CPU) Result: FAIL Failed 2/5 test programs. 1/18 subtests failed. Makefile:830: recipe for target 'test_dynamic' failed make: *** [test_dynamic] Error 255 root@server:~/.cpan/build/App-Daemon-0.22-0# root@server:~/.cpan/build/App-Daemon-0.22-0# ll -d /tmp drwxrwxrwt 18 root root 36864 Aug 6 19:28 /tmp root@server:~/.cpan/build/App-Daemon-0.22-0# ll -d /tmp/lKViZCPS2O -rw------- 1 root root 279 Aug 6 19:26 /tmp/lKViZCPS2O Hope that helps, would love to use your module in a production environment since it simplifies things immensely! Best regards, SSF