Skip Menu |

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

Report information
The Basics
Id: 82716
Status: open
Priority: 0/
Queue: NRD-Daemon

People
Owner: jlmartinez [...] capside.com
Requestors: CHORNY [...] cpan.org
Cc:
AdminCc:

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



Subject: tests hang on Debian
Running make test PERL_DL_NONLAZY=1 /home/c/perl5/perlbrew/perls/perl-5.16.2/bin/perl "-MExtUtils::Command::MM" "-e" "test_harness(0, 'inc', 'blib/lib', 'blib/arch')" t/*.t t/001_load.t ............... ok t/002_serializer.t ......... ok t/003_packets.t ............ ok t/004_packserialized.t ..... ok Using serializer: plain Using writer: cmdfile 2013/01/15-14:43:17 NRD::Daemon (type Net::Server::Single -> MultiType -> Net::Server::Single) starting! pid(23745) Resolved [*]:7669 to [::]:7669, IPv6 Not including resolved host [0.0.0.0] IPv4 because it will be handled by [::] IPv6 Binding to TCP port 7669 on host :: with IPv6 Group Not Defined. Defaulting to EGID '1000 24 25 27 29 30 44 46 108 109 115 1000' User Not Defined. Defaulting to EUID '1000' IPv6 address is fe80::.... localhost: lo Link encap:Local Loopback inet addr:127.0.0.1 Mask:255.0.0.0 inet6 addr: ::1/128 Scope:Host -- Alexandr Ciornii, http://chorny.net
Hello, Can you send the rest of the output of the test? I see the server trying to start, but can't see what tests are failing.
On Thu Jan 17 12:41:20 2013, JLMARTIN wrote: Show quoted text
> Hello, > > Can you send the rest of the output of the test? I see the server > trying to start, but can't see what tests are failing.
$ perl -Mblib t/005_client.t 1..2 Starting nrd with --server_type=Single: /home/c/perl5/perlbrew/perls/perl-5.16.2/bin/perl -I lib bin/nrd --conf_file=t/nrd_plain.cfg --server_type=Single Using serializer: plain Using writer: cmdfile 2013/01/17-23:25:39 NRD::Daemon (type Net::Server::Single -> MultiType -> Net::Server::Single) starting! pid(21472) Resolved [*]:7669 to [::]:7669, IPv6 Not including resolved host [0.0.0.0] IPv4 because it will be handled by [::] IPv6 Binding to TCP port 7669 on host :: with IPv6 Group Not Defined. Defaulting to EGID '1000 24 25 27 29 30 44 46 108 109 115 1000' User Not Defined. Defaulting to EUID '1000' (hangs here) I didn't see when testing first time that Parallel::Forker was not installed due to Proc::ProcessTable failing (latest version has a problem on unthreaded perls). If it's the case of hanging, best would be to check if Parallel::Forker can be loaded and skip tests (if it is not necessary) or just exit with error. -- Alexandr Ciornii, http://chorny.net
$ perl -Mblib t/005_client.t 1..2 new version of Proc::ProcessTable works. here is output with it: Starting nrd with --server_type=Single: /home/c/perl5/perlbrew/perls/perl-5.16.2/bin/perl -I lib bin/nrd --conf_file=t/nrd_plain.cfg --server_type=Single Using serializer: plain Using writer: cmdfile 2013/05/28-15:24:21 NRD::Daemon (type Net::Server::Single -> MultiType -> Net::Server::Single) starting! pid(27603) Resolved [*]:7669 to [::]:7669, IPv6 Not including resolved host [0.0.0.0] IPv4 because it will be handled by [::] IPv6 Binding to TCP port 7669 on host :: with IPv6 Group Not Defined. Defaulting to EGID '1000 24 25 27 29 30 44 46 108 109 115 1000 1001' User Not Defined. Defaulting to EUID '1000' (hangs) ^C2013/05/28-15:31:32 Server closing! No pid file found at t/NSCATest.pm line 37. # Looks like your test exited with 2 before it could output anything. -- Alexandr Ciornii, http://chorny.net