Skip Menu |

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

Report information
The Basics
Id: 63890
Status: new
Priority: 0/
Queue: RRD-Daemon

People
Owner: Nobody in particular
Requestors: Lachlan.Bowes [...] team.telstra.com
Cc:
AdminCc:

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



Subject: make test failure
Date: Tue, 14 Dec 2010 16:26:14 +1100
To: "bug-RRD-Daemon [...] rt.cpan.org" <bug-RRD-Daemon [...] rt.cpan.org>
From: "Bowes, Lachlan" <Lachlan.Bowes [...] team.telstra.com>
Hello I have absolutely no idea if this is the correct place to post this. But here goes Just posting for a FYI really, I'm going to try and fix it myself but thought I should post in Thanks Lachlan RRD-Daemon-1.01 This is perl, v5.10.1 (*) built for x86_64-linux-gnu-thread-multi (with 40 registered patches, see perl -V for more detail) lachlan@charlie:~/Downloads/RRD-Daemon-1.01/t$ uname -a Linux charlie 2.6.35-23-generic #41-Ubuntu SMP Wed Nov 24 11:55:36 UTC 2010 x86_64 GNU/Linux lachlan@charlie:~/Downloads/RRD-Daemon-1.01/t$ lsb_release -a No LSB modules are available. Distributor ID: Ubuntu Description: Ubuntu 10.10 Release: 10.10 Codename: maverick lachlan@charlie:~/Downloads/RRD-Daemon-1.01/t$ I downloaded RRD-Daemon, un tared the file and ran perl Makefile.Pl then make test originally I was missing a bunch of perl libraries which I just installed. Now I get a message t/prrd-rawinfo.t .. Invalid CODE attribute: CheckP(qw( S S ; HR )) at /home/lachlan/Downloads/RRD-Daemon-1.01/t/../lib/RRD/Daemon/RRDB.pm line 88 BEGIN failed--compilation aborted at /home/lachlan/Downloads/RRD-Daemon-1.01/t/../lib/RRD/Daemon/RRDB.pm line 88. Compilation failed in require at /home/lachlan/Downloads/RRD-Daemon-1.01/t/../bin/prrd line 30. BEGIN failed--compilation aborted at /home/lachlan/Downloads/RRD-Daemon-1.01/t/../bin/prrd line 30. for all tests Full paste below lachlan@charlie:~/Downloads/RRD-Daemon-1.01$ make test /usr/bin/perl Build --makefile_env_macros 1 test t/prrd-fetch.t .... Invalid CODE attribute: CheckP(qw( S S ; HR )) at /home/lachlan/Downloads/RRD-Daemon-1.01/t/../lib/RRD/Daemon/RRDB.pm line 88 BEGIN failed--compilation aborted at /home/lachlan/Downloads/RRD-Daemon-1.01/t/../lib/RRD/Daemon/RRDB.pm line 88. Compilation failed in require at /home/lachlan/Downloads/RRD-Daemon-1.01/t/../bin/prrd line 30. BEGIN failed--compilation aborted at /home/lachlan/Downloads/RRD-Daemon-1.01/t/../bin/prrd line 30. t/prrd-fetch.t .... 1/2 # Failed test 'exit val fetch' # at /home/lachlan/Downloads/RRD-Daemon-1.01/t/test.pm line 51. # got: '0' # expected: '255' # Failed test 'output of fetch' # at /home/lachlan/Downloads/RRD-Daemon-1.01/t/test.pm line 52. # got: '' # expected: 'Intvl: [1279173720 Thu Jul 15 06:02:00 2010 GMT] --- [1279177440 Thu Jul 15 07:04:00 2010 GMT] # Step: 120s # DS: sda # Data#: 31 # Data: # [1279175520 Thu Jul 15 06:32:00 2010 GMT] 27.1 # [1279175640 Thu Jul 15 06:34:00 2010 GMT] 28.1 # [1279175760 Thu Jul 15 06:36:00 2010 GMT] 29.1 # [1279175880 Thu Jul 15 06:38:00 2010 GMT] 30.1 # [1279176000 Thu Jul 15 06:40:00 2010 GMT] 31.0 # [1279176120 Thu Jul 15 06:42:00 2010 GMT] 31.1 # [1279176240 Thu Jul 15 06:44:00 2010 GMT] 32.0 # [1279176360 Thu Jul 15 06:46:00 2010 GMT] 32.1 # [1279176480 Thu Jul 15 06:48:00 2010 GMT] 33.1 # [1279176600 Thu Jul 15 06:50:00 2010 GMT] 34.0 # [1279176720 Thu Jul 15 06:52:00 2010 GMT] 34.0 # [1279176840 Thu Jul 15 06:54:00 2010 GMT] 34.0 # [1279176960 Thu Jul 15 06:56:00 2010 GMT] 35.0 # [1279177080 Thu Jul 15 06:58:00 2010 GMT] 35.0 # [1279177200 Thu Jul 15 07:00:00 2010 GMT] 36.0 # [1279177320 Thu Jul 15 07:02:00 2010 GMT] 36.0 # ' # Looks like you failed 2 tests of 2. t/prrd-fetch.t .... Dubious, test returned 2 (wstat 512, 0x200) Failed 2/2 subtests t/prrd-info.t ..... Invalid CODE attribute: CheckP(qw( S S ; HR )) at /home/lachlan/Downloads/RRD-Daemon-1.01/t/../lib/RRD/Daemon/RRDB.pm line 88 BEGIN failed--compilation aborted at /home/lachlan/Downloads/RRD-Daemon-1.01/t/../lib/RRD/Daemon/RRDB.pm line 88. Compilation failed in require at /home/lachlan/Downloads/RRD-Daemon-1.01/t/../bin/prrd line 30. BEGIN failed--compilation aborted at /home/lachlan/Downloads/RRD-Daemon-1.01/t/../bin/prrd line 30. t/prrd-info.t ..... 1/2 # Failed test 'exit val info' # at /home/lachlan/Downloads/RRD-Daemon-1.01/t/test.pm line 51. # got: '0' # expected: '255' # Failed test 'output of info' # at /home/lachlan/Downloads/RRD-Daemon-1.01/t/test.pm line 52. # got: '' # expected: 'filename : /home/lachlan/Downloads/RRD-Daemon-1.01/t/../data/sda.rrd # last_update : Thu Jul 15 19:31:51 2010 GMT # rrd_version : 0003 # step : 120 # # name type min max htbeat last value unk_sec # sda GAUGE 0 - 300 29 3219 0 # # num cf cur_ruw pdp/row rows xff row dur # ## cdp value unknown # 0 MAX - 1 2880 0.7 2m 4d # 0 - - # 1 MAX - 5 1440 0.7 10m 1w3d # 0 - - # 2 MAX - 15 1440 0.7 30m 4w2d # 0 - - # 3 MAX - 90 29280 0.7 3h 10y 2w6d # 0 - - # ' # Looks like you failed 2 tests of 2. t/prrd-info.t ..... Dubious, test returned 2 (wstat 512, 0x200) Failed 2/2 subtests t/prrd-rawinfo.t .. Invalid CODE attribute: CheckP(qw( S S ; HR )) at /home/lachlan/Downloads/RRD-Daemon-1.01/t/../lib/RRD/Daemon/RRDB.pm line 88 BEGIN failed--compilation aborted at /home/lachlan/Downloads/RRD-Daemon-1.01/t/../lib/RRD/Daemon/RRDB.pm line 88. Compilation failed in require at /home/lachlan/Downloads/RRD-Daemon-1.01/t/../bin/prrd line 30. BEGIN failed--compilation aborted at /home/lachlan/Downloads/RRD-Daemon-1.01/t/../bin/prrd line 30. t/prrd-rawinfo.t .. 1/2 # Failed test 'exit val rawinfo' # at /home/lachlan/Downloads/RRD-Daemon-1.01/t/test.pm line 51. # got: '0' # expected: '255' # Failed test 'output of rawinfo' # at /home/lachlan/Downloads/RRD-Daemon-1.01/t/test.pm line 52. # got: '' # expected: '--- # 'ds[sda]': # last_ds: 29 # max: ~ # min: 0 # minimal_heartbeat: 300 # type: GAUGE # unknown_sec: 0 # value: 3219 # filename: /home/lachlan/Downloads/RRD-Daemon-1.01/t/../data/sda.rrd # last_update: 1279222311 # 'rra[0]': # 'cdp_prep[0]': # unknown_datapoints: 0 # value: ~ # cf: MAX # cur_row: 1301 # pdp_per_row: 1 # rows: 2880 # xff: 0.7 # 'rra[1]': # 'cdp_prep[0]': # unknown_datapoints: 0 # value: ~ # cf: MAX # cur_row: 725 # pdp_per_row: 5 # rows: 1440 # xff: 0.7 # 'rra[2]': # 'cdp_prep[0]': # unknown_datapoints: 0 # value: ~ # cf: MAX # cur_row: 508 # pdp_per_row: 15 # rows: 1440 # xff: 0.7 # 'rra[3]': # 'cdp_prep[0]': # unknown_datapoints: 45 # value: ~ # cf: MAX # cur_row: 18747 # pdp_per_row: 90 # rows: 29280 # xff: 0.7 # rrd_version: 0003 # step: 120 # # ' # Looks like you failed 2 tests of 2. t/prrd-rawinfo.t .. Dubious, test returned 2 (wstat 512, 0x200) Failed 2/2 subtests Test Summary Report ------------------- t/prrd-fetch.t (Wstat: 512 Tests: 2 Failed: 2) Failed tests: 1-2 Non-zero exit status: 2 t/prrd-info.t (Wstat: 512 Tests: 2 Failed: 2) Failed tests: 1-2 Non-zero exit status: 2 t/prrd-rawinfo.t (Wstat: 512 Tests: 2 Failed: 2) Failed tests: 1-2 Non-zero exit status: 2 Files=3, Tests=6, 1 wallclock secs ( 0.03 usr 0.01 sys + 0.39 cusr 0.08 csys = 0.51 CPU) Result: FAIL Failed 3/3 test programs. 6/6 subtests failed. make: *** [test] Error 2 lachlan@charlie:~/Downloads/RRD-Daemon-1.01$