Skip Menu |

This queue is for tickets about the REST-Neo4p CPAN distribution.

Report information
The Basics
Id: 91502
Status: resolved
Priority: 0/
Queue: REST-Neo4p

People
Owner: maj.fortinbras [...] gmail.com
Requestors: symonsjo [...] gmail.com
Cc:
AdminCc:

Bug Information
Severity: Normal
Broken in: 0.126
Fixed in: 0.2222



Subject: Test fails against localhost for Neo4j 2.0.0 (using Neo4j 2.0.0 stable)
[root@larva bin]# cd /var/tmp/REST-Neo4p-0.126 [root@larva REST-Neo4p-0.126]# perl Makefile.PL # running Build.PL Server for live tests: [http://127.0.0.1:7474 ] http://127.0.0.1:7474 Created MYMETA.yml and MYMETA.json Creating new 'Build' script for 'REST-Neo4p' version '0.126' Unknown 'build_class', defaulting to 'Module::Build' [root@larva REST-Neo4p-0.126]# make /usr/bin/perl Build --makefile_env_macros 1 Building REST-Neo4p [root@larva REST-Neo4p-0.126]# make test /usr/bin/perl Build --makefile_env_macros 1 test t/001_load.t ............ ok t/002_agent.t ........... 1/8 # Failed test 'neo4j version 1.8...' # at t/002_agent.t line 37. # '2.0.0' # doesn't match '(?-xism:^1.8)' # Looks like you failed 1 test of 8. t/002_agent.t ........... Dubious, test returned 1 (wstat 256, 0x100) Failed 1/8 subtests t/003_objs.t ............ ok t/004_idx.t ............. ok t/005_db.t .............. ok t/006_query.t ........... ok t/007_accessors.t ....... ok t/008_batch_agent.t ..... ok t/009_batch.t ........... ok t/010_batch_synopsis.t .. 1/? # this may take a while ... t/010_batch_synopsis.t .. ok t/098_pod.t ............. skipped: Test::Pod 1.00 required for testing POD t/099_error.t ........... ok Test Summary Report ------------------- t/002_agent.t (Wstat: 256 Tests: 8 Failed: 1) Failed test: 7 Non-zero exit status: 1 Files=12, Tests=603, 22 wallclock secs ( 0.21 usr 0.04 sys + 10.68 cusr 0.70 csys = 11.63 CPU) Result: FAIL Failed 1/12 test programs. 1/603 subtests failed. make: *** [test] Error 255
Hi - I see you're using REST::Neo4p v0.126. Please upgrade to the latest version (0.2222); 002_agent should pass for you. Let me know if you see the issue (or any others) after upgrade. thanks MAJ On Wed Dec 18 14:42:10 2013, symonsjo@gmail.com wrote: Show quoted text
> [root@larva bin]# cd /var/tmp/REST-Neo4p-0.126 > [root@larva REST-Neo4p-0.126]# perl Makefile.PL > # running Build.PL > Server for live tests: [http://127.0.0.1:7474 ] > http://127.0.0.1:7474 > Created MYMETA.yml and MYMETA.json > Creating new 'Build' script for 'REST-Neo4p' version '0.126' > Unknown 'build_class', defaulting to 'Module::Build' > [root@larva REST-Neo4p-0.126]# make > /usr/bin/perl Build --makefile_env_macros 1 > Building REST-Neo4p > [root@larva REST-Neo4p-0.126]# make test > /usr/bin/perl Build --makefile_env_macros 1 test > t/001_load.t ............ ok > t/002_agent.t ........... 1/8 > # Failed test 'neo4j version 1.8...' > # at t/002_agent.t line 37. > # '2.0.0' > # doesn't match '(?-xism:^1.8)' > # Looks like you failed 1 test of 8. > t/002_agent.t ........... Dubious, test returned 1 (wstat 256, 0x100) > Failed 1/8 subtests > t/003_objs.t ............ ok > t/004_idx.t ............. ok > t/005_db.t .............. ok > t/006_query.t ........... ok > t/007_accessors.t ....... ok > t/008_batch_agent.t ..... ok > t/009_batch.t ........... ok > t/010_batch_synopsis.t .. 1/? # this may take a while ... > t/010_batch_synopsis.t .. ok > t/098_pod.t ............. skipped: Test::Pod 1.00 required for testing > POD > t/099_error.t ........... ok > > Test Summary Report > ------------------- > t/002_agent.t (Wstat: 256 Tests: 8 Failed: 1) > Failed test: 7 > Non-zero exit status: 1 > Files=12, Tests=603, 22 wallclock secs ( 0.21 usr 0.04 sys + 10.68 > cusr 0.70 csys = 11.63 CPU) > Result: FAIL > Failed 1/12 test programs. 1/603 subtests failed. > make: *** [test] Error 255
From: symonsjo [...] gmail.com
On Wed Dec 18 20:07:29 2013, MAJENSEN wrote: Show quoted text
> Hi - > I see you're using REST::Neo4p v0.126. Please upgrade to the latest > version (0.2222); 002_agent should pass for you. > Let me know if you see the issue (or any others) after upgrade. > thanks MAJ > > On Wed Dec 18 14:42:10 2013, symonsjo@gmail.com wrote:
> > [root@larva bin]# cd /var/tmp/REST-Neo4p-0.126 > > [root@larva REST-Neo4p-0.126]# perl Makefile.PL > > # running Build.PL > > Server for live tests: [http://127.0.0.1:7474 ] > > http://127.0.0.1:7474 > > Created MYMETA.yml and MYMETA.json > > Creating new 'Build' script for 'REST-Neo4p' version '0.126' > > Unknown 'build_class', defaulting to 'Module::Build' > > [root@larva REST-Neo4p-0.126]# make > > /usr/bin/perl Build --makefile_env_macros 1 > > Building REST-Neo4p > > [root@larva REST-Neo4p-0.126]# make test > > /usr/bin/perl Build --makefile_env_macros 1 test > > t/001_load.t ............ ok > > t/002_agent.t ........... 1/8 > > # Failed test 'neo4j version 1.8...' > > # at t/002_agent.t line 37. > > # '2.0.0' > > # doesn't match '(?-xism:^1.8)' > > # Looks like you failed 1 test of 8. > > t/002_agent.t ........... Dubious, test returned 1 (wstat 256, 0x100) > > Failed 1/8 subtests > > t/003_objs.t ............ ok > > t/004_idx.t ............. ok > > t/005_db.t .............. ok > > t/006_query.t ........... ok > > t/007_accessors.t ....... ok > > t/008_batch_agent.t ..... ok > > t/009_batch.t ........... ok > > t/010_batch_synopsis.t .. 1/? # this may take a while ... > > t/010_batch_synopsis.t .. ok > > t/098_pod.t ............. skipped: Test::Pod 1.00 required for > > testing > > POD > > t/099_error.t ........... ok > > > > Test Summary Report > > ------------------- > > t/002_agent.t (Wstat: 256 Tests: 8 Failed: 1) > > Failed test: 7 > > Non-zero exit status: 1 > > Files=12, Tests=603, 22 wallclock secs ( 0.21 usr 0.04 sys + 10.68 > > cusr 0.70 csys = 11.63 CPU) > > Result: FAIL > > Failed 1/12 test programs. 1/603 subtests failed. > > make: *** [test] Error 255
Hi Mark, For some reason I had 0.126 bookmarked so my bad on that. I've noticed a bug though with 0.2222 in that you say yes to using localhost as the test but then it tries to connect to www.zzyxx.foo:7474 instead for agent_mod.t and fails for that. Output below: [root@larva REST-Neo4p-0.2222]# perl Makefile.PL # running Build.PL Server for live tests: [http://127.0.0.1:7474 ] http://127.0.0.1:7474 Username: [ ] Pass: [ ] Created MYMETA.yml and MYMETA.json Creating new 'Build' script for 'REST-Neo4p' version '0.2222' Unknown 'build_class', defaulting to 'Module::Build' [root@larva REST-Neo4p-0.2222]# make /usr/bin/perl Build --makefile_env_macros 1 Building REST-Neo4p [root@larva REST-Neo4p-0.2222]# make test /usr/bin/perl Build --makefile_env_macros 1 test t/001_load.t ................ ok t/002_agent.t ............... ok t/003_objs.t ................ ok t/0041_idx_create_unique.t .. ok t/004_idx.t ................. 1/68 # rt80440 t/004_idx.t ................. ok t/0051_handle.t ............. ok t/005_db.t .................. ok t/006_query.t ............... 10/? # rt80343 t/006_query.t ............... ok t/007_accessors.t ........... ok t/008_batch_agent.t ......... ok t/009_batch.t ............... ok t/010_batch_synopsis.t ...... 1/? # this may take a while ... t/010_batch_synopsis.t ...... ok t/011_neo4p_synopsis.t ...... ok t/020_constraint.t .......... ok t/021_validation.t .......... ok t/022_constrain.t ........... ok t/023_constrain_synopsis.t .. ok t/030_idx_escape.t .......... ok t/040_v2_labels.t ........... ok t/041_v2_txns.t ............. ok t/098_pod.t ................. skipped: Test::Pod 1.00 required for testing POD t/099_error.t ............... 1/? # rt80207 t/099_error.t ............... ok t/agent_mod.t ............... 1/? # Failed test 'timed out ok' # at t/agent_mod.t line 41. # 'Can't connect to www.zzyxx.foo:7474 (Bad hostname)' # doesn't match '(?-xism:timeout)' # Looks like you failed 1 test of 4. t/agent_mod.t ............... Dubious, test returned 1 (wstat 256, 0x100) Failed 1/4 subtests t/rt_80150.t ................ ok t/rt_80196.t ................ ok t/rt_80471.t ................ ok t/rt_81128.t ................ ok t/rt_90072.t ................ skipped: Test::CPAN::Changes required for this test Test Summary Report ------------------- t/040_v2_labels.t (Wstat: 0 Tests: 35 Failed: 0) TODO passed: 12 t/agent_mod.t (Wstat: 256 Tests: 4 Failed: 1) Failed test: 3 Non-zero exit status: 1 Files=28, Tests=1052, 36 wallclock secs ( 0.32 usr 0.08 sys + 16.57 cusr 1.49 csys = 18.46 CPU) Result: FAIL Failed 1/28 test programs. 1/1052 subtests failed. make: *** [test] Error 255
Jo - I think this result occasionally comes out of the test (a timing thing). The test is checking for the right fail when trying to connect to a bad address. I have fixed the test to ignore the response below, so it shouldn't appear. Let me know - MAJ On Thu Dec 19 01:15:22 2013, symonsjo@gmail.com wrote: Show quoted text
> On Wed Dec 18 20:07:29 2013, MAJENSEN wrote:
> > Hi - > > I see you're using REST::Neo4p v0.126. Please upgrade to the latest > > version (0.2222); 002_agent should pass for you. > > Let me know if you see the issue (or any others) after upgrade. > > thanks MAJ > > > > On Wed Dec 18 14:42:10 2013, symonsjo@gmail.com wrote:
> > > [root@larva bin]# cd /var/tmp/REST-Neo4p-0.126 > > > [root@larva REST-Neo4p-0.126]# perl Makefile.PL > > > # running Build.PL > > > Server for live tests: [http://127.0.0.1:7474 ] > > > http://127.0.0.1:7474 > > > Created MYMETA.yml and MYMETA.json > > > Creating new 'Build' script for 'REST-Neo4p' version '0.126' > > > Unknown 'build_class', defaulting to 'Module::Build' > > > [root@larva REST-Neo4p-0.126]# make > > > /usr/bin/perl Build --makefile_env_macros 1 > > > Building REST-Neo4p > > > [root@larva REST-Neo4p-0.126]# make test > > > /usr/bin/perl Build --makefile_env_macros 1 test > > > t/001_load.t ............ ok > > > t/002_agent.t ........... 1/8 > > > # Failed test 'neo4j version 1.8...' > > > # at t/002_agent.t line 37. > > > # '2.0.0' > > > # doesn't match '(?-xism:^1.8)' > > > # Looks like you failed 1 test of 8. > > > t/002_agent.t ........... Dubious, test returned 1 (wstat 256, > > > 0x100) > > > Failed 1/8 subtests > > > t/003_objs.t ............ ok > > > t/004_idx.t ............. ok > > > t/005_db.t .............. ok > > > t/006_query.t ........... ok > > > t/007_accessors.t ....... ok > > > t/008_batch_agent.t ..... ok > > > t/009_batch.t ........... ok > > > t/010_batch_synopsis.t .. 1/? # this may take a while ... > > > t/010_batch_synopsis.t .. ok > > > t/098_pod.t ............. skipped: Test::Pod 1.00 required for > > > testing > > > POD > > > t/099_error.t ........... ok > > > > > > Test Summary Report > > > ------------------- > > > t/002_agent.t (Wstat: 256 Tests: 8 Failed: 1) > > > Failed test: 7 > > > Non-zero exit status: 1 > > > Files=12, Tests=603, 22 wallclock secs ( 0.21 usr 0.04 sys + 10.68 > > > cusr 0.70 csys = 11.63 CPU) > > > Result: FAIL > > > Failed 1/12 test programs. 1/603 subtests failed. > > > make: *** [test] Error 255
> > Hi Mark, > > For some reason I had 0.126 bookmarked so my bad on that. I've noticed > a bug though with 0.2222 in that you say yes to using localhost as the > test but then it tries to connect to www.zzyxx.foo:7474 instead for > agent_mod.t and fails for that. Output below: > > [root@larva REST-Neo4p-0.2222]# perl Makefile.PL > # running Build.PL > Server for live tests: [http://127.0.0.1:7474 ] > http://127.0.0.1:7474 > Username: [ ] > > Pass: [ ] > > Created MYMETA.yml and MYMETA.json > Creating new 'Build' script for 'REST-Neo4p' version '0.2222' > Unknown 'build_class', defaulting to 'Module::Build' > [root@larva REST-Neo4p-0.2222]# make > /usr/bin/perl Build --makefile_env_macros 1 > Building REST-Neo4p > [root@larva REST-Neo4p-0.2222]# make test > /usr/bin/perl Build --makefile_env_macros 1 test > t/001_load.t ................ ok > t/002_agent.t ............... ok > t/003_objs.t ................ ok > t/0041_idx_create_unique.t .. ok > t/004_idx.t ................. 1/68 # rt80440 > t/004_idx.t ................. ok > t/0051_handle.t ............. ok > t/005_db.t .................. ok > t/006_query.t ............... 10/? # rt80343 > t/006_query.t ............... ok > t/007_accessors.t ........... ok > t/008_batch_agent.t ......... ok > t/009_batch.t ............... ok > t/010_batch_synopsis.t ...... 1/? # this may take a while ... > t/010_batch_synopsis.t ...... ok > t/011_neo4p_synopsis.t ...... ok > t/020_constraint.t .......... ok > t/021_validation.t .......... ok > t/022_constrain.t ........... ok > t/023_constrain_synopsis.t .. ok > t/030_idx_escape.t .......... ok > t/040_v2_labels.t ........... ok > t/041_v2_txns.t ............. ok > t/098_pod.t ................. skipped: Test::Pod 1.00 required for > testing POD > t/099_error.t ............... 1/? # rt80207 > t/099_error.t ............... ok > t/agent_mod.t ............... 1/? > # Failed test 'timed out ok' > # at t/agent_mod.t line 41. > # 'Can't connect to www.zzyxx.foo:7474 (Bad > hostname)' > # doesn't match '(?-xism:timeout)' > # Looks like you failed 1 test of 4. > t/agent_mod.t ............... Dubious, test returned 1 (wstat 256, > 0x100) > Failed 1/4 subtests > t/rt_80150.t ................ ok > t/rt_80196.t ................ ok > t/rt_80471.t ................ ok > t/rt_81128.t ................ ok > t/rt_90072.t ................ skipped: Test::CPAN::Changes required > for this test > > Test Summary Report > ------------------- > t/040_v2_labels.t (Wstat: 0 Tests: 35 Failed: 0) > TODO passed: 12 > t/agent_mod.t (Wstat: 256 Tests: 4 Failed: 1) > Failed test: 3 > Non-zero exit status: 1 > Files=28, Tests=1052, 36 wallclock secs ( 0.32 usr 0.08 sys + 16.57 > cusr 1.49 csys = 18.46 CPU) > Result: FAIL > Failed 1/28 test programs. 1/1052 subtests failed. > make: *** [test] Error 255
From: symonsjo [...] gmail.com
Hi MAJ, I can confirm I did not encounter this error when building 0.2232. [root@larva REST-Neo4p-0.2232]# perl Makefile.PL # running Build.PL Server for live tests: [http://127.0.0.1:7474 ] http://127.0.0.1:7474 Username: [ ] Pass: [ ] Created MYMETA.yml and MYMETA.json Creating new 'Build' script for 'REST-Neo4p' version '0.2232' Unknown 'build_class', defaulting to 'Module::Build' [root@larva REST-Neo4p-0.2232]# make /usr/bin/perl Build --makefile_env_macros 1 Building REST-Neo4p [root@larva REST-Neo4p-0.2232]# make test /usr/bin/perl Build --makefile_env_macros 1 test t/001_load.t ................ ok t/002_agent.t ............... ok t/003_objs.t ................ ok t/0041_idx_create_unique.t .. ok t/004_idx.t ................. 1/68 # rt80440 t/004_idx.t ................. ok t/0051_handle.t ............. ok t/005_db.t .................. ok t/006_query.t ............... 20/? # rt80343 t/006_query.t ............... ok t/007_accessors.t ........... ok t/008_batch_agent.t ......... ok t/009_batch.t ............... ok t/010_batch_synopsis.t ...... 1/? # this may take a while ... t/010_batch_synopsis.t ...... ok t/011_neo4p_synopsis.t ...... ok t/020_constraint.t .......... ok t/021_validation.t .......... ok t/022_constrain.t ........... ok t/023_constrain_synopsis.t .. ok t/030_idx_escape.t .......... ok t/040_v2_labels.t ........... ok t/041_v2_txns.t ............. ok t/098_pod.t ................. skipped: Test::Pod 1.00 required for testing POD t/099_error.t ............... 1/? # rt91682 # rt80207 t/099_error.t ............... ok t/agent_mod.t ............... ok t/rt_80150.t ................ ok t/rt_80196.t ................ ok t/rt_80471.t ................ ok t/rt_81128.t ................ ok t/rt_90072.t ................ skipped: Test::CPAN::Changes required for this test t/rt_91640.t ................ 1/27 # use utf8 # no utf8 t/rt_91640.t ................ ok t/rt_91748.t ................ ok All tests successful. Test Summary Report ------------------- t/040_v2_labels.t (Wstat: 0 Tests: 35 Failed: 0) TODO passed: 12 Files=30, Tests=1083, 47 wallclock secs ( 0.40 usr 0.11 sys + 18.89 cusr 1.83 csys = 21.23 CPU) Result: PASS All tests passed. Thanks On Tue Dec 31 17:44:48 2013, MAJENSEN wrote: Show quoted text
> Jo - I think this result occasionally comes out of the test (a timing > thing). The test is checking for the right fail when trying to connect > to a bad address. I have fixed the test to ignore the response below, > so it shouldn't appear. Let me know - MAJ > On Thu Dec 19 01:15:22 2013, symonsjo@gmail.com wrote:
> > On Wed Dec 18 20:07:29 2013, MAJENSEN wrote:
> > > Hi - > > > I see you're using REST::Neo4p v0.126. Please upgrade to the latest > > > version (0.2222); 002_agent should pass for you. > > > Let me know if you see the issue (or any others) after upgrade. > > > thanks MAJ > > > > > > On Wed Dec 18 14:42:10 2013, symonsjo@gmail.com wrote:
> > > > [root@larva bin]# cd /var/tmp/REST-Neo4p-0.126 > > > > [root@larva REST-Neo4p-0.126]# perl Makefile.PL > > > > # running Build.PL > > > > Server for live tests: [http://127.0.0.1:7474 ] > > > > http://127.0.0.1:7474 > > > > Created MYMETA.yml and MYMETA.json > > > > Creating new 'Build' script for 'REST-Neo4p' version '0.126' > > > > Unknown 'build_class', defaulting to 'Module::Build' > > > > [root@larva REST-Neo4p-0.126]# make > > > > /usr/bin/perl Build --makefile_env_macros 1 > > > > Building REST-Neo4p > > > > [root@larva REST-Neo4p-0.126]# make test > > > > /usr/bin/perl Build --makefile_env_macros 1 test > > > > t/001_load.t ............ ok > > > > t/002_agent.t ........... 1/8 > > > > # Failed test 'neo4j version 1.8...' > > > > # at t/002_agent.t line 37. > > > > # '2.0.0' > > > > # doesn't match '(?-xism:^1.8)' > > > > # Looks like you failed 1 test of 8. > > > > t/002_agent.t ........... Dubious, test returned 1 (wstat 256, > > > > 0x100) > > > > Failed 1/8 subtests > > > > t/003_objs.t ............ ok > > > > t/004_idx.t ............. ok > > > > t/005_db.t .............. ok > > > > t/006_query.t ........... ok > > > > t/007_accessors.t ....... ok > > > > t/008_batch_agent.t ..... ok > > > > t/009_batch.t ........... ok > > > > t/010_batch_synopsis.t .. 1/? # this may take a while ... > > > > t/010_batch_synopsis.t .. ok > > > > t/098_pod.t ............. skipped: Test::Pod 1.00 required for > > > > testing > > > > POD > > > > t/099_error.t ........... ok > > > > > > > > Test Summary Report > > > > ------------------- > > > > t/002_agent.t (Wstat: 256 Tests: 8 Failed: 1) > > > > Failed test: 7 > > > > Non-zero exit status: 1 > > > > Files=12, Tests=603, 22 wallclock secs ( 0.21 usr 0.04 sys + > > > > 10.68 > > > > cusr 0.70 csys = 11.63 CPU) > > > > Result: FAIL > > > > Failed 1/12 test programs. 1/603 subtests failed. > > > > make: *** [test] Error 255
> > > > Hi Mark, > > > > For some reason I had 0.126 bookmarked so my bad on that. I've > > noticed > > a bug though with 0.2222 in that you say yes to using localhost as > > the > > test but then it tries to connect to www.zzyxx.foo:7474 instead for > > agent_mod.t and fails for that. Output below: > > > > [root@larva REST-Neo4p-0.2222]# perl Makefile.PL > > # running Build.PL > > Server for live tests: [http://127.0.0.1:7474 ] > > http://127.0.0.1:7474 > > Username: [ ] > > > > Pass: [ ] > > > > Created MYMETA.yml and MYMETA.json > > Creating new 'Build' script for 'REST-Neo4p' version '0.2222' > > Unknown 'build_class', defaulting to 'Module::Build' > > [root@larva REST-Neo4p-0.2222]# make > > /usr/bin/perl Build --makefile_env_macros 1 > > Building REST-Neo4p > > [root@larva REST-Neo4p-0.2222]# make test > > /usr/bin/perl Build --makefile_env_macros 1 test > > t/001_load.t ................ ok > > t/002_agent.t ............... ok > > t/003_objs.t ................ ok > > t/0041_idx_create_unique.t .. ok > > t/004_idx.t ................. 1/68 # rt80440 > > t/004_idx.t ................. ok > > t/0051_handle.t ............. ok > > t/005_db.t .................. ok > > t/006_query.t ............... 10/? # rt80343 > > t/006_query.t ............... ok > > t/007_accessors.t ........... ok > > t/008_batch_agent.t ......... ok > > t/009_batch.t ............... ok > > t/010_batch_synopsis.t ...... 1/? # this may take a while ... > > t/010_batch_synopsis.t ...... ok > > t/011_neo4p_synopsis.t ...... ok > > t/020_constraint.t .......... ok > > t/021_validation.t .......... ok > > t/022_constrain.t ........... ok > > t/023_constrain_synopsis.t .. ok > > t/030_idx_escape.t .......... ok > > t/040_v2_labels.t ........... ok > > t/041_v2_txns.t ............. ok > > t/098_pod.t ................. skipped: Test::Pod 1.00 required for > > testing POD > > t/099_error.t ............... 1/? # rt80207 > > t/099_error.t ............... ok > > t/agent_mod.t ............... 1/? > > # Failed test 'timed out ok' > > # at t/agent_mod.t line 41. > > # 'Can't connect to www.zzyxx.foo:7474 (Bad > > hostname)' > > # doesn't match '(?-xism:timeout)' > > # Looks like you failed 1 test of 4. > > t/agent_mod.t ............... Dubious, test returned 1 (wstat 256, > > 0x100) > > Failed 1/4 subtests > > t/rt_80150.t ................ ok > > t/rt_80196.t ................ ok > > t/rt_80471.t ................ ok > > t/rt_81128.t ................ ok > > t/rt_90072.t ................ skipped: Test::CPAN::Changes required > > for this test > > > > Test Summary Report > > ------------------- > > t/040_v2_labels.t (Wstat: 0 Tests: 35 Failed: 0) > > TODO passed: 12 > > t/agent_mod.t (Wstat: 256 Tests: 4 Failed: 1) > > Failed test: 3 > > Non-zero exit status: 1 > > Files=28, Tests=1052, 36 wallclock secs ( 0.32 usr 0.08 sys + 16.57 > > cusr 1.49 csys = 18.46 CPU) > > Result: FAIL > > Failed 1/28 test programs. 1/1052 subtests failed. > > make: *** [test] Error 255
From: symonsjo [...] gmail.com
Just fyi, REST::Neo4p should probably warn if you don't have Tie::IxHash as tests will fail without it. truncated below: [root@miyu REST-Neo4p-0.2232]# make test /usr/bin/perl Build --makefile_env_macros 1 test t/001_load.t ................ 1/1 # Failed test 'use REST::Neo4p;' # at t/001_load.t line 9. # Tried to use 'REST::Neo4p'. # Error: Can't locate Tie/IxHash.pm in @INC (@INC contains: ../../lib /var/tmp/REST-Neo4p-0.2232/blib/lib /var/tmp/REST-Neo4p-0.2232/blib/arch /usr/local/lib64/perl5 /usr/local/share/perl5 /usr/lib64/perl5/vendor_perl /usr/share/perl5/vendor_perl /usr/lib64/perl5 /usr/share/perl5 .) at /var/tmp/REST-Neo4p-0.2232/blib/lib/REST/Neo4p/Query.pm line 7. # BEGIN failed--compilation aborted at /var/tmp/REST-Neo4p-0.2232/blib/lib/REST/Neo4p/Query.pm line 7. # Compilation failed in require at /var/tmp/REST-Neo4p-0.2232/blib/lib/REST/Neo4p.pm line 11. # BEGIN failed--compilation aborted at /var/tmp/REST-Neo4p-0.2232/blib/lib/REST/Neo4p.pm line 11. # Compilation failed in require at (eval 4) line 2. # BEGIN failed--compilation aborted at (eval 4) line 2. # Looks like you failed 1 test of 1. t/001_load.t ................ Dubious, test returned 1 (wstat 256, 0x100) Failed 1/1 subtests On Wed Jan 01 02:50:02 2014, symonsjo@gmail.com wrote: Show quoted text
> Hi MAJ, > > I can confirm I did not encounter this error when building 0.2232. > > [root@larva REST-Neo4p-0.2232]# perl Makefile.PL > # running Build.PL > Server for live tests: [http://127.0.0.1:7474 ] > http://127.0.0.1:7474 > Username: [ ] > > Pass: [ ] > > Created MYMETA.yml and MYMETA.json > Creating new 'Build' script for 'REST-Neo4p' version '0.2232' > Unknown 'build_class', defaulting to 'Module::Build' > [root@larva REST-Neo4p-0.2232]# make > /usr/bin/perl Build --makefile_env_macros 1 > Building REST-Neo4p > [root@larva REST-Neo4p-0.2232]# make test > /usr/bin/perl Build --makefile_env_macros 1 test > t/001_load.t ................ ok > t/002_agent.t ............... ok > t/003_objs.t ................ ok > t/0041_idx_create_unique.t .. ok > t/004_idx.t ................. 1/68 # rt80440 > t/004_idx.t ................. ok > t/0051_handle.t ............. ok > t/005_db.t .................. ok > t/006_query.t ............... 20/? # rt80343 > t/006_query.t ............... ok > t/007_accessors.t ........... ok > t/008_batch_agent.t ......... ok > t/009_batch.t ............... ok > t/010_batch_synopsis.t ...... 1/? # this may take a while ... > t/010_batch_synopsis.t ...... ok > t/011_neo4p_synopsis.t ...... ok > t/020_constraint.t .......... ok > t/021_validation.t .......... ok > t/022_constrain.t ........... ok > t/023_constrain_synopsis.t .. ok > t/030_idx_escape.t .......... ok > t/040_v2_labels.t ........... ok > t/041_v2_txns.t ............. ok > t/098_pod.t ................. skipped: Test::Pod 1.00 required for > testing POD > t/099_error.t ............... 1/? # rt91682 > # rt80207 > t/099_error.t ............... ok > t/agent_mod.t ............... ok > t/rt_80150.t ................ ok > t/rt_80196.t ................ ok > t/rt_80471.t ................ ok > t/rt_81128.t ................ ok > t/rt_90072.t ................ skipped: Test::CPAN::Changes required > for this test > t/rt_91640.t ................ 1/27 # use utf8 > # no utf8 > t/rt_91640.t ................ ok > t/rt_91748.t ................ ok > All tests successful. > > Test Summary Report > ------------------- > t/040_v2_labels.t (Wstat: 0 Tests: 35 Failed: 0) > TODO passed: 12 > Files=30, Tests=1083, 47 wallclock secs ( 0.40 usr 0.11 sys + 18.89 > cusr 1.83 csys = 21.23 CPU) > Result: PASS > > All tests passed. > > Thanks > > On Tue Dec 31 17:44:48 2013, MAJENSEN wrote:
> > Jo - I think this result occasionally comes out of the test (a timing > > thing). The test is checking for the right fail when trying to > > connect > > to a bad address. I have fixed the test to ignore the response below, > > so it shouldn't appear. Let me know - MAJ > > On Thu Dec 19 01:15:22 2013, symonsjo@gmail.com wrote:
> > > On Wed Dec 18 20:07:29 2013, MAJENSEN wrote:
> > > > Hi - > > > > I see you're using REST::Neo4p v0.126. Please upgrade to the > > > > latest > > > > version (0.2222); 002_agent should pass for you. > > > > Let me know if you see the issue (or any others) after upgrade. > > > > thanks MAJ > > > > > > > > On Wed Dec 18 14:42:10 2013, symonsjo@gmail.com wrote:
> > > > > [root@larva bin]# cd /var/tmp/REST-Neo4p-0.126 > > > > > [root@larva REST-Neo4p-0.126]# perl Makefile.PL > > > > > # running Build.PL > > > > > Server for live tests: [http://127.0.0.1:7474 ] > > > > > http://127.0.0.1:7474 > > > > > Created MYMETA.yml and MYMETA.json > > > > > Creating new 'Build' script for 'REST-Neo4p' version '0.126' > > > > > Unknown 'build_class', defaulting to 'Module::Build' > > > > > [root@larva REST-Neo4p-0.126]# make > > > > > /usr/bin/perl Build --makefile_env_macros 1 > > > > > Building REST-Neo4p > > > > > [root@larva REST-Neo4p-0.126]# make test > > > > > /usr/bin/perl Build --makefile_env_macros 1 test > > > > > t/001_load.t ............ ok > > > > > t/002_agent.t ........... 1/8 > > > > > # Failed test 'neo4j version 1.8...' > > > > > # at t/002_agent.t line 37. > > > > > # '2.0.0' > > > > > # doesn't match '(?-xism:^1.8)' > > > > > # Looks like you failed 1 test of 8. > > > > > t/002_agent.t ........... Dubious, test returned 1 (wstat 256, > > > > > 0x100) > > > > > Failed 1/8 subtests > > > > > t/003_objs.t ............ ok > > > > > t/004_idx.t ............. ok > > > > > t/005_db.t .............. ok > > > > > t/006_query.t ........... ok > > > > > t/007_accessors.t ....... ok > > > > > t/008_batch_agent.t ..... ok > > > > > t/009_batch.t ........... ok > > > > > t/010_batch_synopsis.t .. 1/? # this may take a while ... > > > > > t/010_batch_synopsis.t .. ok > > > > > t/098_pod.t ............. skipped: Test::Pod 1.00 required for > > > > > testing > > > > > POD > > > > > t/099_error.t ........... ok > > > > > > > > > > Test Summary Report > > > > > ------------------- > > > > > t/002_agent.t (Wstat: 256 Tests: 8 Failed: 1) > > > > > Failed test: 7 > > > > > Non-zero exit status: 1 > > > > > Files=12, Tests=603, 22 wallclock secs ( 0.21 usr 0.04 sys + > > > > > 10.68 > > > > > cusr 0.70 csys = 11.63 CPU) > > > > > Result: FAIL > > > > > Failed 1/12 test programs. 1/603 subtests failed. > > > > > make: *** [test] Error 255
> > > > > > Hi Mark, > > > > > > For some reason I had 0.126 bookmarked so my bad on that. I've > > > noticed > > > a bug though with 0.2222 in that you say yes to using localhost as > > > the > > > test but then it tries to connect to www.zzyxx.foo:7474 instead for > > > agent_mod.t and fails for that. Output below: > > > > > > [root@larva REST-Neo4p-0.2222]# perl Makefile.PL > > > # running Build.PL > > > Server for live tests: [http://127.0.0.1:7474 ] > > > http://127.0.0.1:7474 > > > Username: [ ] > > > > > > Pass: [ ] > > > > > > Created MYMETA.yml and MYMETA.json > > > Creating new 'Build' script for 'REST-Neo4p' version '0.2222' > > > Unknown 'build_class', defaulting to 'Module::Build' > > > [root@larva REST-Neo4p-0.2222]# make > > > /usr/bin/perl Build --makefile_env_macros 1 > > > Building REST-Neo4p > > > [root@larva REST-Neo4p-0.2222]# make test > > > /usr/bin/perl Build --makefile_env_macros 1 test > > > t/001_load.t ................ ok > > > t/002_agent.t ............... ok > > > t/003_objs.t ................ ok > > > t/0041_idx_create_unique.t .. ok > > > t/004_idx.t ................. 1/68 # rt80440 > > > t/004_idx.t ................. ok > > > t/0051_handle.t ............. ok > > > t/005_db.t .................. ok > > > t/006_query.t ............... 10/? # rt80343 > > > t/006_query.t ............... ok > > > t/007_accessors.t ........... ok > > > t/008_batch_agent.t ......... ok > > > t/009_batch.t ............... ok > > > t/010_batch_synopsis.t ...... 1/? # this may take a while ... > > > t/010_batch_synopsis.t ...... ok > > > t/011_neo4p_synopsis.t ...... ok > > > t/020_constraint.t .......... ok > > > t/021_validation.t .......... ok > > > t/022_constrain.t ........... ok > > > t/023_constrain_synopsis.t .. ok > > > t/030_idx_escape.t .......... ok > > > t/040_v2_labels.t ........... ok > > > t/041_v2_txns.t ............. ok > > > t/098_pod.t ................. skipped: Test::Pod 1.00 required for > > > testing POD > > > t/099_error.t ............... 1/? # rt80207 > > > t/099_error.t ............... ok > > > t/agent_mod.t ............... 1/? > > > # Failed test 'timed out ok' > > > # at t/agent_mod.t line 41. > > > # 'Can't connect to www.zzyxx.foo:7474 (Bad > > > hostname)' > > > # doesn't match '(?-xism:timeout)' > > > # Looks like you failed 1 test of 4. > > > t/agent_mod.t ............... Dubious, test returned 1 (wstat 256, > > > 0x100) > > > Failed 1/4 subtests > > > t/rt_80150.t ................ ok > > > t/rt_80196.t ................ ok > > > t/rt_80471.t ................ ok > > > t/rt_81128.t ................ ok > > > t/rt_90072.t ................ skipped: Test::CPAN::Changes required > > > for this test > > > > > > Test Summary Report > > > ------------------- > > > t/040_v2_labels.t (Wstat: 0 Tests: 35 Failed: 0) > > > TODO passed: 12 > > > t/agent_mod.t (Wstat: 256 Tests: 4 Failed: 1) > > > Failed test: 3 > > > Non-zero exit status: 1 > > > Files=28, Tests=1052, 36 wallclock secs ( 0.32 usr 0.08 sys + > > > 16.57 > > > cusr 1.49 csys = 18.46 CPU) > > > Result: FAIL > > > Failed 1/28 test programs. 1/1052 subtests failed. > > > make: *** [test] Error 255
That's weird, that dep should be in the latest Build.PL. Will check- thanks MAJ On Wed Jan 01 05:27:39 2014, symonsjo@gmail.com wrote: Show quoted text
> Just fyi, REST::Neo4p should probably warn if you don't have > Tie::IxHash as tests will fail without it. > > truncated below: > > [root@miyu REST-Neo4p-0.2232]# make test > /usr/bin/perl Build --makefile_env_macros 1 test > t/001_load.t ................ 1/1 > # Failed test 'use REST::Neo4p;' > # at t/001_load.t line 9. > # Tried to use 'REST::Neo4p'. > # Error: Can't locate Tie/IxHash.pm in @INC (@INC contains: > ../../lib /var/tmp/REST-Neo4p-0.2232/blib/lib /var/tmp/REST-Neo4p- > 0.2232/blib/arch /usr/local/lib64/perl5 /usr/local/share/perl5 > /usr/lib64/perl5/vendor_perl /usr/share/perl5/vendor_perl > /usr/lib64/perl5 /usr/share/perl5 .) at /var/tmp/REST-Neo4p- > 0.2232/blib/lib/REST/Neo4p/Query.pm line 7. > # BEGIN failed--compilation aborted at /var/tmp/REST-Neo4p- > 0.2232/blib/lib/REST/Neo4p/Query.pm line 7. > # Compilation failed in require at /var/tmp/REST-Neo4p- > 0.2232/blib/lib/REST/Neo4p.pm line 11. > # BEGIN failed--compilation aborted at /var/tmp/REST-Neo4p- > 0.2232/blib/lib/REST/Neo4p.pm line 11. > # Compilation failed in require at (eval 4) line 2. > # BEGIN failed--compilation aborted at (eval 4) line 2. > # Looks like you failed 1 test of 1. > t/001_load.t ................ Dubious, test returned 1 (wstat 256, > 0x100) > Failed 1/1 subtests > > > On Wed Jan 01 02:50:02 2014, symonsjo@gmail.com wrote:
> > Hi MAJ, > > > > I can confirm I did not encounter this error when building 0.2232. > > > > [root@larva REST-Neo4p-0.2232]# perl Makefile.PL > > # running Build.PL > > Server for live tests: [http://127.0.0.1:7474 ] > > http://127.0.0.1:7474 > > Username: [ ] > > > > Pass: [ ] > > > > Created MYMETA.yml and MYMETA.json > > Creating new 'Build' script for 'REST-Neo4p' version '0.2232' > > Unknown 'build_class', defaulting to 'Module::Build' > > [root@larva REST-Neo4p-0.2232]# make > > /usr/bin/perl Build --makefile_env_macros 1 > > Building REST-Neo4p > > [root@larva REST-Neo4p-0.2232]# make test > > /usr/bin/perl Build --makefile_env_macros 1 test > > t/001_load.t ................ ok > > t/002_agent.t ............... ok > > t/003_objs.t ................ ok > > t/0041_idx_create_unique.t .. ok > > t/004_idx.t ................. 1/68 # rt80440 > > t/004_idx.t ................. ok > > t/0051_handle.t ............. ok > > t/005_db.t .................. ok > > t/006_query.t ............... 20/? # rt80343 > > t/006_query.t ............... ok > > t/007_accessors.t ........... ok > > t/008_batch_agent.t ......... ok > > t/009_batch.t ............... ok > > t/010_batch_synopsis.t ...... 1/? # this may take a while ... > > t/010_batch_synopsis.t ...... ok > > t/011_neo4p_synopsis.t ...... ok > > t/020_constraint.t .......... ok > > t/021_validation.t .......... ok > > t/022_constrain.t ........... ok > > t/023_constrain_synopsis.t .. ok > > t/030_idx_escape.t .......... ok > > t/040_v2_labels.t ........... ok > > t/041_v2_txns.t ............. ok > > t/098_pod.t ................. skipped: Test::Pod 1.00 required for > > testing POD > > t/099_error.t ............... 1/? # rt91682 > > # rt80207 > > t/099_error.t ............... ok > > t/agent_mod.t ............... ok > > t/rt_80150.t ................ ok > > t/rt_80196.t ................ ok > > t/rt_80471.t ................ ok > > t/rt_81128.t ................ ok > > t/rt_90072.t ................ skipped: Test::CPAN::Changes required > > for this test > > t/rt_91640.t ................ 1/27 # use utf8 > > # no utf8 > > t/rt_91640.t ................ ok > > t/rt_91748.t ................ ok > > All tests successful. > > > > Test Summary Report > > ------------------- > > t/040_v2_labels.t (Wstat: 0 Tests: 35 Failed: 0) > > TODO passed: 12 > > Files=30, Tests=1083, 47 wallclock secs ( 0.40 usr 0.11 sys + 18.89 > > cusr 1.83 csys = 21.23 CPU) > > Result: PASS > > > > All tests passed. > > > > Thanks > > > > On Tue Dec 31 17:44:48 2013, MAJENSEN wrote:
> > > Jo - I think this result occasionally comes out of the test (a > > > timing > > > thing). The test is checking for the right fail when trying to > > > connect > > > to a bad address. I have fixed the test to ignore the response > > > below, > > > so it shouldn't appear. Let me know - MAJ > > > On Thu Dec 19 01:15:22 2013, symonsjo@gmail.com wrote:
> > > > On Wed Dec 18 20:07:29 2013, MAJENSEN wrote:
> > > > > Hi - > > > > > I see you're using REST::Neo4p v0.126. Please upgrade to the > > > > > latest > > > > > version (0.2222); 002_agent should pass for you. > > > > > Let me know if you see the issue (or any others) after upgrade. > > > > > thanks MAJ > > > > > > > > > > On Wed Dec 18 14:42:10 2013, symonsjo@gmail.com wrote:
> > > > > > [root@larva bin]# cd /var/tmp/REST-Neo4p-0.126 > > > > > > [root@larva REST-Neo4p-0.126]# perl Makefile.PL > > > > > > # running Build.PL > > > > > > Server for live tests: [http://127.0.0.1:7474 ] > > > > > > http://127.0.0.1:7474 > > > > > > Created MYMETA.yml and MYMETA.json > > > > > > Creating new 'Build' script for 'REST-Neo4p' version '0.126' > > > > > > Unknown 'build_class', defaulting to 'Module::Build' > > > > > > [root@larva REST-Neo4p-0.126]# make > > > > > > /usr/bin/perl Build --makefile_env_macros 1 > > > > > > Building REST-Neo4p > > > > > > [root@larva REST-Neo4p-0.126]# make test > > > > > > /usr/bin/perl Build --makefile_env_macros 1 test > > > > > > t/001_load.t ............ ok > > > > > > t/002_agent.t ........... 1/8 > > > > > > # Failed test 'neo4j version 1.8...' > > > > > > # at t/002_agent.t line 37. > > > > > > # '2.0.0' > > > > > > # doesn't match '(?-xism:^1.8)' > > > > > > # Looks like you failed 1 test of 8. > > > > > > t/002_agent.t ........... Dubious, test returned 1 (wstat > > > > > > 256, > > > > > > 0x100) > > > > > > Failed 1/8 subtests > > > > > > t/003_objs.t ............ ok > > > > > > t/004_idx.t ............. ok > > > > > > t/005_db.t .............. ok > > > > > > t/006_query.t ........... ok > > > > > > t/007_accessors.t ....... ok > > > > > > t/008_batch_agent.t ..... ok > > > > > > t/009_batch.t ........... ok > > > > > > t/010_batch_synopsis.t .. 1/? # this may take a while ... > > > > > > t/010_batch_synopsis.t .. ok > > > > > > t/098_pod.t ............. skipped: Test::Pod 1.00 required > > > > > > for > > > > > > testing > > > > > > POD > > > > > > t/099_error.t ........... ok > > > > > > > > > > > > Test Summary Report > > > > > > ------------------- > > > > > > t/002_agent.t (Wstat: 256 Tests: 8 Failed: 1) > > > > > > Failed test: 7 > > > > > > Non-zero exit status: 1 > > > > > > Files=12, Tests=603, 22 wallclock secs ( 0.21 usr 0.04 sys + > > > > > > 10.68 > > > > > > cusr 0.70 csys = 11.63 CPU) > > > > > > Result: FAIL > > > > > > Failed 1/12 test programs. 1/603 subtests failed. > > > > > > make: *** [test] Error 255
> > > > > > > > Hi Mark, > > > > > > > > For some reason I had 0.126 bookmarked so my bad on that. I've > > > > noticed > > > > a bug though with 0.2222 in that you say yes to using localhost > > > > as > > > > the > > > > test but then it tries to connect to www.zzyxx.foo:7474 instead > > > > for > > > > agent_mod.t and fails for that. Output below: > > > > > > > > [root@larva REST-Neo4p-0.2222]# perl Makefile.PL > > > > # running Build.PL > > > > Server for live tests: [http://127.0.0.1:7474 ] > > > > http://127.0.0.1:7474 > > > > Username: [ ] > > > > > > > > Pass: [ ] > > > > > > > > Created MYMETA.yml and MYMETA.json > > > > Creating new 'Build' script for 'REST-Neo4p' version '0.2222' > > > > Unknown 'build_class', defaulting to 'Module::Build' > > > > [root@larva REST-Neo4p-0.2222]# make > > > > /usr/bin/perl Build --makefile_env_macros 1 > > > > Building REST-Neo4p > > > > [root@larva REST-Neo4p-0.2222]# make test > > > > /usr/bin/perl Build --makefile_env_macros 1 test > > > > t/001_load.t ................ ok > > > > t/002_agent.t ............... ok > > > > t/003_objs.t ................ ok > > > > t/0041_idx_create_unique.t .. ok > > > > t/004_idx.t ................. 1/68 # rt80440 > > > > t/004_idx.t ................. ok > > > > t/0051_handle.t ............. ok > > > > t/005_db.t .................. ok > > > > t/006_query.t ............... 10/? # rt80343 > > > > t/006_query.t ............... ok > > > > t/007_accessors.t ........... ok > > > > t/008_batch_agent.t ......... ok > > > > t/009_batch.t ............... ok > > > > t/010_batch_synopsis.t ...... 1/? # this may take a while ... > > > > t/010_batch_synopsis.t ...... ok > > > > t/011_neo4p_synopsis.t ...... ok > > > > t/020_constraint.t .......... ok > > > > t/021_validation.t .......... ok > > > > t/022_constrain.t ........... ok > > > > t/023_constrain_synopsis.t .. ok > > > > t/030_idx_escape.t .......... ok > > > > t/040_v2_labels.t ........... ok > > > > t/041_v2_txns.t ............. ok > > > > t/098_pod.t ................. skipped: Test::Pod 1.00 required > > > > for > > > > testing POD > > > > t/099_error.t ............... 1/? # rt80207 > > > > t/099_error.t ............... ok > > > > t/agent_mod.t ............... 1/? > > > > # Failed test 'timed out ok' > > > > # at t/agent_mod.t line 41. > > > > # 'Can't connect to www.zzyxx.foo:7474 (Bad > > > > hostname)' > > > > # doesn't match '(?-xism:timeout)' > > > > # Looks like you failed 1 test of 4. > > > > t/agent_mod.t ............... Dubious, test returned 1 (wstat > > > > 256, > > > > 0x100) > > > > Failed 1/4 subtests > > > > t/rt_80150.t ................ ok > > > > t/rt_80196.t ................ ok > > > > t/rt_80471.t ................ ok > > > > t/rt_81128.t ................ ok > > > > t/rt_90072.t ................ skipped: Test::CPAN::Changes > > > > required > > > > for this test > > > > > > > > Test Summary Report > > > > ------------------- > > > > t/040_v2_labels.t (Wstat: 0 Tests: 35 Failed: 0) > > > > TODO passed: 12 > > > > t/agent_mod.t (Wstat: 256 Tests: 4 Failed: 1) > > > > Failed test: 3 > > > > Non-zero exit status: 1 > > > > Files=28, Tests=1052, 36 wallclock secs ( 0.32 usr 0.08 sys + > > > > 16.57 > > > > cusr 1.49 csys = 18.46 CPU) > > > > Result: FAIL > > > > Failed 1/28 test programs. 1/1052 subtests failed. > > > > make: *** [test] Error 255