{"action":"created","issue":{"url":"https://api.github.com/repos/opencog/opencog/issues/1456","labels_url":"https://api.github.com/repos/opencog/opencog/issues/1456/labels{/name}","comments_url":"https://api.github.com/repos/opencog/opencog/issues/1456/comments","events_url":"https://api.github.com/repos/opencog/opencog/issues/1456/events","html_url":"https://github.com/opencog/opencog/issues/1456","id":64308008,"number":1456,"title":"5 tests failed","user":{"login":"aurelien-rainone","id":476650,"avatar_url":"https://avatars.githubusercontent.com/u/476650?v=3","gravatar_id":"","url":"https://api.github.com/users/aurelien-rainone","html_url":"https://github.com/aurelien-rainone","followers_url":"https://api.github.com/users/aurelien-rainone/followers","following_url":"https://api.github.com/users/aurelien-rainone/following{/other_user}","gists_url":"https://api.github.com/users/aurelien-rainone/gists{/gist_id}","starred_url":"https://api.github.com/users/aurelien-rainone/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/aurelien-rainone/subscriptions","organizations_url":"https://api.github.com/users/aurelien-rainone/orgs","repos_url":"https://api.github.com/users/aurelien-rainone/repos","events_url":"https://api.github.com/users/aurelien-rainone/events{/privacy}","received_events_url":"https://api.github.com/users/aurelien-rainone/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":3,"created_at":"2015-03-25T16:08:36Z","updated_at":"2015-03-26T23:09:08Z","closed_at":null,"body":"i want to inform you that i have been running the tests on the most recent codebase as the time of writing, BUT with the small modification I proposed in this pull request : https://github.com/opencog/opencog/pull/1455 as without it, I couldn't compile UseCountUTest, that is now pasing\r\n\r\nSo these tests failed : \r\n77:TemporalUTest\r\n78:TemporalMapUTest\r\n92:AllPythonModuleTests\r\n108:interpreterUTest\r\n131:dynFeatSelUTest\r\n\r\nhere the detailed build/tests/Testing/Temporary/LastTest.log ouptput for these failed tests : \r\n\r\n**TemporalUTest**\r\n77/158 Testing: TemporalUTest\r\n77/158 Test: TemporalUTest\r\nCommand: \"/home/panty/Documents/dev/opencog/src/build/tests/spatial/TemporalUTest\"\r\nDirectory: /home/panty/Documents/dev/opencog/src/build/tests/spatial\r\n\"TemporalUTest\" start time: Mar 25 15:33 CET\r\nOutput:\r\n----------------------------------------------------------\r\nRunning cxxtest tests (5 tests)\r\nIn TemporalUTest::testConstructor:\r\n/home/panty/Documents/dev/opencog/src/tests/spatial/TemporalUTest.cxxtest:51: Error: Test failed: Temporal - Upper bound reached when creating a Temporal (normal-distribution): 0. (/home/panty/Documents/dev/opencog/src/opencog/spacetime/Temporal.cc:69)\r\nIn TemporalUTest::testGettersAndPrinters:\r\n/home/panty/Documents/dev/opencog/src/tests/spatial/TemporalUTest.cxxtest:109: Error: Test failed: Temporal - Upper bound reached when creating a Temporal (normal-distribution): 10. (/home/panty/Documents/dev/opencog/src/opencog/spacetime/Temporal.cc:69)\r\nIn TemporalUTest::testCompareToAndComparisonOperators:\r\n/home/panty/Documents/dev/opencog/src/tests/spatial/TemporalUTest.cxxtest:155: Error: Test failed: Temporal - Upper bound reached when creating a Temporal (normal-distribution): 0. (/home/panty/Documents/dev/opencog/src/opencog/spacetime/Temporal.cc:69)\r\nIn TemporalUTest::testClone:\r\n/home/panty/Documents/dev/opencog/src/tests/spatial/TemporalUTest.cxxtest:342: Error: Test failed: Temporal - Upper bound reached when creating a Temporal (normal-distribution): 1. (/home/panty/Documents/dev/opencog/src/opencog/spacetime/Temporal.cc:69)\r\nIn TemporalUTest::testTimeNodeNameConversionMethods:\r\n/home/panty/Documents/dev/opencog/src/tests/spatial/TemporalUTest.cxxtest:359: Error: Test failed: Temporal - Upper bound reached when creating a Temporal (normal-distribution): 1. (/home/panty/Documents/dev/opencog/src/opencog/spacetime/Temporal.cc:69)\r\nFailed 5 and Skipped 0 of 5 tests \r\nSuccess rate: 0%\r\n<end of output>\r\nTest time =   0.06 sec\r\n----------------------------------------------------------\r\nTest Failed.\r\n\"TemporalUTest\" end time: Mar 25 15:33 CET\r\n\"TemporalUTest\" time elapsed: 00:00:00\r\n----------------------------------------------------------\r\n\r\n**TemporalTableUTest**\r\n78/158 Testing: TemporalMapUTest\r\n78/158 Test: TemporalMapUTest\r\nCommand: \"/home/panty/Documents/dev/opencog/src/build/tests/spatial/TemporalMapUTest\"\r\nDirectory: /home/panty/Documents/dev/opencog/src/build/tests/spatial\r\n\"TemporalMapUTest\" start time: Mar 25 15:33 CET\r\nOutput:\r\n----------------------------------------------------------\r\nterminate called after throwing an instance of 'opencog::InvalidParamException'\r\n  what():  Temporal - Upper bound reached when creating a Temporal (normal-distribution): 0. (/home/panty/Documents/dev/opencog/src/opencog/spacetime/Temporal.cc:69)\r\n<end of output>\r\nTest time =   1.16 sec\r\n----------------------------------------------------------\r\nTest Failed.\r\n\"TemporalMapUTest\" end time: Mar 25 15:33 CET\r\n\"TemporalMapUTest\" time elapsed: 00:00:01\r\n----------------------------------------------------------\r\n\r\n79/158 Testing: TemporalTableUTest\r\n79/158 Test: TemporalTableUTest\r\nCommand: \"/home/panty/Documents/dev/opencog/src/build/tests/spatial/TemporalTableUTest\"\r\nDirectory: /home/panty/Documents/dev/opencog/src/build/tests/spatial\r\n\"TemporalTableUTest\" start time: Mar 25 15:33 CET\r\nOutput:\r\n----------------------------------------------------------\r\nRunning cxxtest tests (22 tests)......................OK!\r\n<end of output>\r\nTest time =   0.09 sec\r\n----------------------------------------------------------\r\nTest Passed.\r\n\"TemporalTableUTest\" end time: Mar 25 15:33 CET\r\n\"TemporalTableUTest\" time elapsed: 00:00:00\r\n----------------------------------------------------------\r\n\r\n\r\n**AllPythonModuleTests**\r\n92/158 Testing: AllPythonModuleTests\r\n92/158 Test: AllPythonModuleTests\r\nCommand: \"/usr/bin/nosetests\" \"-vs\" \"--with-doctest\" \"/home/panty/Documents/dev/opencog/src/tests/python/\"\r\nDirectory: /home/panty/Documents/dev/opencog/src/build/tests/python\r\n\"AllPythonModuleTests\" start time: Mar 25 15:34 CET\r\nOutput:\r\n----------------------------------------------------------\r\nTesting the bfs function ... SKIP: Unit test disabled, see: https://github.com/opencog/opencog/issues/1280\r\ntest_conjunctions (test_anaphora.AnaphoraUnitTester) ... ok\r\nTesting the getWords function ... ok\r\ntest_pleonastic_if (test_anaphora.AnaphoraUnitTester) ... ok\r\nTesting the propose function ... SKIP: Unit test disabled, see: https://github.com/opencog/opencog/issues/1280\r\nFailure: SkipTest (Unit test temporarily disabled - see: https://github.com/opencog/opencog/issues/442) ... SKIP: Unit test temporarily disabled - see: https://github.com/opencog/opencog/issues/442\r\nFailure: SkipTest (Unit test temporarily disabled - see: https://github.com/opencog/opencog/issues/442) ... SKIP: Unit test temporarily disabled - see: https://github.com/opencog/opencog/issues/442\r\nFailure: SkipTest (Unit test temporarily disabled - see: https://github.com/opencog/opencog/issues/442) ... SKIP: Unit test temporarily disabled - see: https://github.com/opencog/opencog/issues/442\r\ntest_all (test_rules_new.PLNUnitTester) ... FAIL\r\nFailure: SkipTest (ImportError exception: make sure the required dependencies are installed.) ... SKIP: ImportError exception: make sure the required dependencies are installed.\r\n\r\n======================================================================\r\nFAIL: test_all (test_rules_new.PLNUnitTester)\r\n----------------------------------------------------------------------\r\nTraceback (most recent call last):\r\n  File \"/home/panty/Documents/dev/opencog/src/tests/python/test_pln/test_rules_new.py\", line 96, in test_all\r\n    self.run_file(testFile)\r\n  File \"/home/panty/Documents/dev/opencog/src/tests/python/test_pln/test_rules_new.py\", line 268, in run_file\r\n    self.verify_result()\r\n  File \"/home/panty/Documents/dev/opencog/src/tests/python/test_pln/test_rules_new.py\", line 247, in verify_result\r\n    self.assertTrue(allPredictedItemsExist and allItemsWerePredicted)\r\nAssertionError: False is not true\r\n\r\n----------------------------------------------------------------------\r\nRan 10 tests in 3.568s\r\n\r\nFAILED (SKIP=6, failures=1)\r\nTesting file: /home/panty/Documents/dev/opencog/src/tests/python/test_pln/new_scm_tests/AndRule_new.scm\r\nChecking if all predicted items were created:\r\n  Yes, all predicted items exist\r\nChecking if all created items were predicted:\r\n  Yes, all created items were predicted\r\nTesting file: /home/panty/Documents/dev/opencog/src/tests/python/test_pln/new_scm_tests/BooleanTransformationRule_new.scm\r\nChecking if all predicted items were created:\r\n  Yes, all predicted items exist\r\nChecking if all created items were predicted:\r\n  Yes, all created items were predicted\r\nTesting file: /home/panty/Documents/dev/opencog/src/tests/python/test_pln/new_scm_tests/DeductionRule_InheritanceLink.scm\r\nChecking if all predicted items were created:\r\n  Yes, all predicted items exist\r\nChecking if all created items were predicted:\r\n  Yes, all created items were predicted\r\nTesting file: /home/panty/Documents/dev/opencog/src/tests/python/test_pln/new_scm_tests/InheritanceRule.scm\r\nChecking if all predicted items were created:\r\n  Yes, all predicted items exist\r\nChecking if all created items were predicted:\r\n  Yes, all created items were predicted\r\nTesting file: /home/panty/Documents/dev/opencog/src/tests/python/test_pln/new_scm_tests/AbductionRule_InheritanceLink.scm\r\nChecking if all predicted items were created:\r\nUnable to find\r\n(InheritanceLink (av 0 0 0) (stv 0.252525 1.000000)\r\n  (ConceptNode \"Socrates\" (av 0 0 0) (stv 0.010000 1.000000)) ;\r\n  (ConceptNode \"Human\" (av 0 0 0) (stv 0.010000 1.000000)) ;\r\n) ;\r\n\r\n  No, not all predicted items were created (see above for details)\r\nChecking if all created items were predicted:\r\nUnable to find\r\n(InheritanceLink (av 0 0 0) (stv 0.252525 1.000000)\r\n  (ConceptNode \"Human\" (av 0 0 0) (stv 0.010000 1.000000)) ;\r\n  (ConceptNode \"Socrates\" (av 0 0 0) (stv 0.010000 1.000000)) ;\r\n) ;\r\n  No, some created items were not predicted (see above for details)\r\n<end of output>\r\nTest time =   3.84 sec\r\n----------------------------------------------------------\r\nTest Failed.\r\n\"AllPythonModuleTests\" end time: Mar 25 15:34 CET\r\n\"AllPythonModuleTests\" time elapsed: 00:00:03\r\n----------------------------------------------------------\r\n\r\n\r\n**interpreterUTest**\r\n108/158 Testing: interpreterUTest\r\n108/158 Test: interpreterUTest\r\nCommand: \"/home/panty/Documents/dev/opencog/src/build/tests/comboreduct/combo/interpreterUTest\"\r\nDirectory: /home/panty/Documents/dev/opencog/src/build/tests/comboreduct/combo\r\n\"interpreterUTest\" start time: Mar 25 15:34 CET\r\nOutput:\r\n----------------------------------------------------------\r\nRunning cxxtest tests (3 tests)inputs = 2 2 2, expected output = false, returned output = false\r\ninputs = 2 1 1, expected output = false, returned output = false\r\ninputs = 2 1 2, expected output = true, returned output = true\r\ninputs = 1 2 2, expected output = true, returned output = true\r\n.inputs = 1 2 0 0 1 0 0, expected output = 13, returned output = 13\r\ninputs = 0 0 3 4 1 0 0, expected output = 11.75, returned output = 11.75\r\n\r\nIn interpreterUTest::test_contin_interpreter:\r\n/home/panty/Documents/dev/opencog/src/tests/comboreduct/combo/interpreterUTest.cxxtest:76: Error: Expected (res == ir.second), found (12.6094 != 12.6094)\r\ninputs = 0 0 0 0 5 0 0, expected output = 12.6094, returned output = 12.6094\r\ninputs = 0 0 0 0 1 6 0, expected output = 413.429, returned output = 413.429\r\n/home/panty/Documents/dev/opencog/src/tests/comboreduct/combo/interpreterUTest.cxxtest:76: Error: Expected (res == ir.second), found (11.6569 != 11.6569)\r\ninputs = 0 0 0 0 1 0 7, expected output = 11.657, returned output = 11.657\r\ninputs = 1 2 3 4 5 6 7, expected output = 418.445, returned output = 418.445\r\ninputs = 1 2 true, expected output = 0.841471, returned output = 0.841471\r\ninputs = 1 -2 true, expected output = 0, returned output = 0\r\ninputs = 1 2 false, expected output = 0, returned output = 0\r\n.\r\nFailed 1 and Skipped 0 of 3 tests\r\nSuccess rate: 66%\r\n<end of output>\r\nTest time =   0.02 sec\r\n----------------------------------------------------------\r\nTest Failed.\r\n\"interpreterUTest\" end time: Mar 25 15:34 CET\r\n\"interpreterUTest\" time elapsed: 00:00:00\r\n----------------------------------------------------------\r\n\r\n\r\n**dynFeatSelUTest**\r\n\r\n131/158 Testing: dynFeatSelUTest\r\n131/158 Test: dynFeatSelUTest\r\nCommand: \"/home/panty/Documents/dev/opencog/src/build/tests/learning/moses/dynFeatSelUTest\"\r\nDirectory: /home/panty/Documents/dev/opencog/src/build/tests/learning/moses\r\n\"dynFeatSelUTest\" start time: Mar 25 15:50 CET\r\nOutput:\r\n----------------------------------------------------------\r\nRunning cxxtest tests (4 tests)tempfile /tmp/mosesUTestpkJdIM\r\n-20 or(and(or(and($16 $84) and(!$30 !$89 !$167 !$290)) or($16 !$84 $134) !$31 !$130 !$218 !$251 !$275) and($16 $71 !$200) $27 $39 $272)\r\n\r\nIn dynamicFeatsUTest::test_dyn_feat_score:\r\n/home/panty/Documents/dev/opencog/src/tests/learning/moses/moses-framework.h:216: Error: Assertion failed: f_it != expected_tr_strs.end()\r\nWallclock time: 00:00:28.034341\r\ntempfile /tmp/mosesUTest6DPC1o\r\n-20 or(and(or(and($16 $84) and(!$30 !$89 !$167 !$290)) or($16 !$84 $134) !$31 !$130 !$218 !$251 !$275) and($16 $71 !$200) $27 $39 $272)\r\nIn dynamicFeatsUTest::test_dyn_feat_score_threaded:\r\n/home/panty/Documents/dev/opencog/src/tests/learning/moses/moses-framework.h:216: Error: Assertion failed: f_it != expected_tr_strs.end()\r\nWallclock time: 00:00:24.022391\r\ntempfile /tmp/mosesUTesta8bpam\r\nWallclock time: 00:00:12.413422\r\n.tempfile /tmp/mosesUTestNfPR6Z\r\nWallclock time: 00:00:01.821816\r\n.\r\nFailed 2 and Skipped 0 of 4 tests\r\nSuccess rate: 50%\r\n<end of output>\r\nTest time =  66.44 sec\r\n----------------------------------------------------------\r\nTest Failed.\r\n\"dynFeatSelUTest\" end time: Mar 25 15:51 CET\r\n\"dynFeatSelUTest\" time elapsed: 00:01:06\r\n----------------------------------------------------------\r\n"},"comment":{"url":"https://api.github.com/repos/opencog/opencog/issues/comments/86749881","html_url":"https://github.com/opencog/opencog/issues/1456#issuecomment-86749881","issue_url":"https://api.github.com/repos/opencog/opencog/issues/1456","id":86749881,"user":{"login":"aurelien-rainone","id":476650,"avatar_url":"https://avatars.githubusercontent.com/u/476650?v=3","gravatar_id":"","url":"https://api.github.com/users/aurelien-rainone","html_url":"https://github.com/aurelien-rainone","followers_url":"https://api.github.com/users/aurelien-rainone/followers","following_url":"https://api.github.com/users/aurelien-rainone/following{/other_user}","gists_url":"https://api.github.com/users/aurelien-rainone/gists{/gist_id}","starred_url":"https://api.github.com/users/aurelien-rainone/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/aurelien-rainone/subscriptions","organizations_url":"https://api.github.com/users/aurelien-rainone/orgs","repos_url":"https://api.github.com/users/aurelien-rainone/repos","events_url":"https://api.github.com/users/aurelien-rainone/events{/privacy}","received_events_url":"https://api.github.com/users/aurelien-rainone/received_events","type":"User","site_admin":false},"created_at":"2015-03-26T23:09:08Z","updated_at":"2015-03-26T23:09:08Z","body":"**dynFeatSelUTest** is now the only that fails, the other were indeed due to 32bits/64bits timestamp inconsistencies, that should be fixed now with #1466\r\n\r\nI'll have a look at **dynFeatSelUTest** tomorrow"}}