opencog / cogserver

Distributed AtomSpace Network Server
Other
16 stars 23 forks source link

test failed #19

Closed AlucardNosferatu closed 4 years ago

AlucardNosferatu commented 4 years ago

After building cogserver, I try to write python code with import opencog.cogserver but failed with missing module named "cogserver", then I try running make test under the build folder of cogserver, then I get this: Listening on port 17333 . Failed 1 and Skipped 0 of 5 tests Success rate: 80%

67% tests passed, 2 tests failed out of 6

Total Test time (real) = 182.90 sec

The following tests FAILED: 3 - PythonModuleUTest (SEGFAULT) 6 - ShellUTest (Failed) Errors while running CTest CMakeFiles/test.dir/build.make:57: recipe for target 'CMakeFiles/test' failed make[3]: [CMakeFiles/test] Error 8 CMakeFiles/Makefile2:99: recipe for target 'CMakeFiles/test.dir/all' failed make[2]: [CMakeFiles/test.dir/all] Error 2 CMakeFiles/Makefile2:106: recipe for target 'CMakeFiles/test.dir/rule' failed make[1]: [CMakeFiles/test.dir/rule] Error 2 Makefile:197: recipe for target 'test' failed make: [test] Error 2

during the test session: [2019-11-17 01:23:55:930] [DEBUG] Cannot create unknown request "loadpy" In PythonModuleUTest::testLoadExceptionAgent: /home/scrooge/cogserver/build/tests/cython/../../../tests/cython/PythonModuleUTest.cxxtest:78: Error: Assertion failed: loadpyRequest != __null

Start 4: PyEvalUTest

4/6 Test #4: PyEvalUTest ...................... Passed 0.25 sec Start 5: CythonServer 5/6 Test #5: CythonServer ..................... Passed 1.25 sec Start 6: ShellUTest 6/6 Test #6: ShellUTest .......................***Failed 179.50 sec Running cxxtest tests (5 tests)opencog> Entering scheme shell; use ^D or a single . on a line by itself to exit.

AlucardNosferatu commented 4 years ago

here is the full log: scrooge@scrooge-X455LD:~/cogserver/build$ make test [ 11%] Built target network [ 26%] Built target server [ 28%] Generating ShellUTest.cpp Scanning dependencies of target ShellUTest [ 31%] Building CXX object tests/shell/CMakeFiles/ShellUTest.dir/ShellUTest.cpp.o [ 33%] Linking CXX executable ShellUTest [ 33%] Built target ShellUTest [ 48%] Built target agents [ 51%] Generating AgentModuleUTest.cpp Scanning dependencies of target AgentModuleUTest [ 53%] Building CXX object tests/modules/CMakeFiles/AgentModuleUTest.dir/AgentModuleUTest.cpp.o [ 55%] Linking CXX executable AgentModuleUTest [ 55%] Built target AgentModuleUTest [ 57%] Generating AgentUTest.cpp Scanning dependencies of target AgentUTest [ 60%] Building CXX object tests/modules/CMakeFiles/AgentUTest.dir/AgentUTest.cpp.o [ 62%] Linking CXX executable AgentUTest [ 62%] Built target AgentUTest [ 68%] Built target agent_finder [ 77%] Built target PythonModule [ 80%] Generating PythonModuleUTest.cpp Scanning dependencies of target PythonModuleUTest [ 82%] Building CXX object tests/cython/CMakeFiles/PythonModuleUTest.dir/PythonModuleUTest.cpp.o [ 84%] Linking CXX executable PythonModuleUTest [ 84%] Built target PythonModuleUTest [ 91%] Built target py-shell [ 93%] Generating PyEvalUTest.cpp Scanning dependencies of target PyEvalUTest [ 95%] Building CXX object tests/cython/CMakeFiles/PyEvalUTest.dir/PyEvalUTest.cpp.o [ 97%] Linking CXX executable PyEvalUTest [ 97%] Built target PyEvalUTest Scanning dependencies of target tests [ 97%] Built target tests Scanning dependencies of target test [100%] Running tests... Test project /home/scrooge/cogserver/build/tests Start 1: AgentModuleUTest 1/6 Test #1: AgentModuleUTest ................. Passed 1.15 sec Start 2: AgentUTest 2/6 Test #2: AgentUTest ....................... Passed 0.06 sec Start 3: PythonModuleUTest 3/6 Test #3: PythonModuleUTest ................***Exception: SegFault 0.65 sec Running cxxtest tests (4 tests)[2019-11-17 01:23:55:852] [INFO] Loading module "../../opencog/cogserver/modules/python/libPythonModule.so" [2019-11-17 01:23:55:903] [WARN] Unable to load module "../../opencog/cogserver/modules/python/libPythonModule.so": ../../opencog/cogserver/modules/python/libPythonModule.so: undefined symbol: _ZTIN7opencog5AgentE [2019-11-17 01:23:55:928] [WARN] Failed to load module opencog/cogserver/modules/python/libPythonModule.so [2019-11-17 01:23:55:928] [WARN] Searched for module at /home/scrooge/cogserver/build/opencog/cogserver/modules/agents [2019-11-17 01:23:55:928] [WARN] Searched for module at /home/scrooge/cogserver/build/opencog/cogserver/modules/commands [2019-11-17 01:23:55:928] [WARN] Searched for module at /home/scrooge/cogserver/build/opencog/cogserver/modules/python [2019-11-17 01:23:55:928] [WARN] Searched for module at /home/scrooge/cogserver/build/opencog/cogserver/modules/ [2019-11-17 01:23:55:928] [WARN] Searched for module at /home/scrooge/cogserver/build/opencog/cogserver/server/ [2019-11-17 01:23:55:928] [WARN] Searched for module at /home/scrooge/cogserver/build/opencog/cogserver/shell/ [2019-11-17 01:23:55:928] [WARN] Searched for module at ./ [2019-11-17 01:23:55:928] [WARN] Searched for module at .//opencog [2019-11-17 01:23:55:928] [WARN] Searched for module at .//opencog/modules [2019-11-17 01:23:55:928] [WARN] Searched for module at ../ [2019-11-17 01:23:55:928] [WARN] Searched for module at ..//opencog [2019-11-17 01:23:55:928] [WARN] Searched for module at ..//opencog/modules [2019-11-17 01:23:55:928] [WARN] Searched for module at ../../ [2019-11-17 01:23:55:928] [WARN] Searched for module at ../..//opencog [2019-11-17 01:23:55:928] [WARN] Searched for module at ../..//opencog/modules [2019-11-17 01:23:55:928] [WARN] Searched for module at ../../../ [2019-11-17 01:23:55:928] [WARN] Searched for module at ../../..//opencog [2019-11-17 01:23:55:928] [WARN] Searched for module at ../../..//opencog/modules [2019-11-17 01:23:55:928] [WARN] Searched for module at ../../../../ [2019-11-17 01:23:55:928] [WARN] Searched for module at ../../../..//opencog [2019-11-17 01:23:55:928] [WARN] Searched for module at ../../../..//opencog/modules [2019-11-17 01:23:55:928] [WARN] Searched for module at "/usr/local"/lib [2019-11-17 01:23:55:929] [WARN] Searched for module at "/usr/local"/lib/opencog [2019-11-17 01:23:55:929] [WARN] Searched for module at "/usr/local"/lib/opencog/modules [2019-11-17 01:23:55:929] [WARN] Searched for module at "/usr/local"/share [2019-11-17 01:23:55:929] [WARN] Searched for module at "/usr/local"/share/opencog [2019-11-17 01:23:55:929] [WARN] Searched for module at "/usr/local"/share/opencog/modules [2019-11-17 01:23:55:929] [WARN] Searched for module at /usr/local/share/opencog [2019-11-17 01:23:55:929] [WARN] Searched for module at /usr/local/share/opencog/opencog [2019-11-17 01:23:55:929] [WARN] Searched for module at /usr/local/share/opencog/opencog/modules [2019-11-17 01:23:55:929] [WARN] Searched for module at /usr/local/lib64/ [2019-11-17 01:23:55:929] [WARN] Searched for module at /usr/local/lib64//opencog [2019-11-17 01:23:55:929] [WARN] Searched for module at /usr/local/lib64//opencog/modules [2019-11-17 01:23:55:929] [WARN] Searched for module at /usr/local/lib/ [2019-11-17 01:23:55:929] [WARN] Searched for module at /usr/local/lib//opencog [2019-11-17 01:23:55:929] [WARN] Searched for module at /usr/local/lib//opencog/modules [2019-11-17 01:23:55:929] [WARN] Searched for module at /usr/local/share/ [2019-11-17 01:23:55:929] [WARN] Searched for module at /usr/local/share//opencog [2019-11-17 01:23:55:929] [WARN] Searched for module at /usr/local/share//opencog/modules [2019-11-17 01:23:55:929] [WARN] Searched for module at /usr/lib64/ [2019-11-17 01:23:55:929] [WARN] Searched for module at /usr/lib64//opencog [2019-11-17 01:23:55:929] [WARN] Searched for module at /usr/lib64//opencog/modules [2019-11-17 01:23:55:929] [WARN] Searched for module at /usr/lib/ [2019-11-17 01:23:55:929] [WARN] Searched for module at /usr/lib//opencog [2019-11-17 01:23:55:929] [WARN] Searched for module at /usr/lib//opencog/modules [2019-11-17 01:23:55:929] [WARN] Searched for module at /usr/share/ [2019-11-17 01:23:55:929] [WARN] Searched for module at /usr/share//opencog [2019-11-17 01:23:55:929] [WARN] Searched for module at /usr/share//opencog/modules [2019-11-17 01:23:55:929] [WARN] Searched for module at /opt/ [2019-11-17 01:23:55:929] [WARN] Searched for module at /opt//opencog [2019-11-17 01:23:55:929] [WARN] Searched for module at /opt//opencog/modules [2019-11-17 01:23:55:929] [WARN] Searched for module at / [2019-11-17 01:23:55:929] [WARN] Searched for module at //opencog [2019-11-17 01:23:55:929] [WARN] Searched for module at //opencog/modules [2019-11-17 01:23:55:929] [INFO] Loading module "/home/scrooge/cogserver/build/opencog/cogserver/modules/agents/libagents.so" [2019-11-17 01:23:55:930] [DEBUG] [SystemActivityTable] constructor [2019-11-17 01:23:55:930] [DEBUG] [SystemActivityTable] init

[2019-11-17 01:23:55:930] [DEBUG] Cannot create unknown request "loadpy" In PythonModuleUTest::testLoadExceptionAgent: /home/scrooge/cogserver/build/tests/cython/../../../tests/cython/PythonModuleUTest.cxxtest:78: Error: Assertion failed: loadpyRequest != __null

Start 4: PyEvalUTest

4/6 Test #4: PyEvalUTest ...................... Passed 0.25 sec Start 5: CythonServer 5/6 Test #5: CythonServer ..................... Passed 1.25 sec Start 6: ShellUTest 6/6 Test #6: ShellUTest .......................***Failed 179.50 sec Running cxxtest tests (5 tests)opencog> Entering scheme shell; use ^D or a single . on a line by itself to exit. guile> (ConceptNode "42")

guile> guile> opencog> Entering scheme shell; use ^D or a single . on a line by itself to exit. guile> Exiting the shell 4 guile> opencog> opencog> Entering scheme shell; use ^D or a single . on a line by itself to exit. guile> (ConceptNode "42")

guile> guile> opencog> Entering scheme shell; use ^D or a single . on a line by itself to exit. guile> Exiting the shell 4 guile> opencog> Listening on port 17333 .opencog> Entering scheme shell; use ^D or a single . on a line by itself to exit. guile> guile> opencog> Entering scheme shell; use ^D or a single . on a line by itself to exit. guile> guile> opencog> Entering scheme shell; use ^D or a single . on a line by itself to exit. guile> guile> Listening on port 17333 Elapsed: 0 First elapsed: 0 Second elapsed: 0 .Listening on port 17333 Received 224 bytes: opencog> Entering scheme shell; use ^D or a single . on a line by itself to exit. guile> (ConceptNode "B") (ConceptNode "C") (ConceptNode "A") (ConceptNode "42")

guile> .Listening on port 17333

In ShellUTest::testMessaging: /home/scrooge/cogserver/build/tests/shell/../../../tests/shell/ShellUTest.cxxtest:76: Error: Expected (281 <= reso.size()), found (281 > 0) Error: Create rep 0 of 30 in thread 12 failed Got: 0 >>><<< /home/scrooge/cogserver/build/tests/shell/../../../tests/shell/ShellUTest.cxxtest:76: Error: Expected (281 <= reso.size()), found (281 > 0) Error: Create rep 0 of 30 in thread 13 failed Got: 0 >>><<< /home/scrooge/cogserver/build/tests/shell/../../../tests/shell/ShellUTest.cxxtest:76: Error: Expected (281 <= reso.size()), found (281 > 0) Error: Create rep 0 of 30 in thread 9 failed Got: 0 >>><<< /home/scrooge/cogserver/build/tests/shell/../../../tests/shell/ShellUTest.cxxtest:76: Error: Expected (281 <= reso.size()), found (281 > 125) Error: Create rep 0 of 30 in thread 17 failed Got: 125 >>>opencog> Entering scheme shell; use ^D or a single . on a line by itself to exit. guile> <<< /home/scrooge/cogserver/build/tests/shell/../../../tests/shell/ShellUTest.cxxtest:76: Error: Expected (281 <= reso.size()), found (281 > 125) Error: Create rep 0 of 30 in thread 14 failed Got: 125 >>>opencog> Entering scheme shell; use ^D or a single . on a line by itself to exit. guile> <<< /home/scrooge/cogserver/build/tests/shell/../../../tests/shell/ShellUTest.cxxtest:76: Error: Expected (281 <= reso.size()), found (281 > 255) Error: Create rep 0 of 30 in thread 19 failed Got: 255 >>>opencog> Entering scheme shell; use ^D or a single . on a line by itself to exit. guile> (EvaluationLink (PredicateNode "visible face") (ListLink (NumberNode "29010.000000") ) )

guile> <<< /home/scrooge/cogserver/build/tests/shell/../../../tests/shell/ShellUTest.cxxtest:76: Error: Expected (281 <= reso.size()), found (281 > 125) Error: Create rep 0 of 30 in thread 11 failed Got: 125 >>>opencog> Entering scheme shell; use ^D or a single . on a line by itself to exit. guile> <<< /home/scrooge/cogserver/build/tests/shell/../../../tests/shell/ShellUTest.cxxtest:76: Error: Expected (281 <= reso.size()), found (281 > 255) Error: Create rep 1 of 30 in thread 9 failed Got: 255 >>>opencog> Entering scheme shell; use ^D or a single . on a line by itself to exit. guile> (EvaluationLink (PredicateNode "visible face") (ListLink (NumberNode "19011.000000") ) )

guile> <<< /home/scrooge/cogserver/build/tests/shell/../../../tests/shell/ShellUTest.cxxtest:76: Error: Expected (281 <= reso.size()), found (281 > 255) Error: Create rep 1 of 30 in thread 10 failed Got: 255 >>>opencog> Entering scheme shell; use ^D or a single . on a line by itself to exit. guile> (EvaluationLink (PredicateNode "visible face") (ListLink (NumberNode "20011.000000") ) )

guile> <<< /home/scrooge/cogserver/build/tests/shell/../../../tests/shell/ShellUTest.cxxtest:76: Error: Expected (281 <= reso.size()), found (281 > 255) Error: Create rep 1 of 30 in thread 15 failed Got: 255 >>>opencog> Entering scheme shell; use ^D or a single . on a line by itself to exit. guile> (EvaluationLink (PredicateNode "visible face") (ListLink (NumberNode "25011.000000") ) )

guile> <<< /home/scrooge/cogserver/build/tests/shell/../../../tests/shell/ShellUTest.cxxtest:76: Error: Expected (281 <= reso.size()), found (281 > 255) Error: Create rep 2 of 30 in thread 7 failed Got: 255 >>>opencog> Entering scheme shell; use ^D or a single . on a line by itself to exit. guile> (EvaluationLink (PredicateNode "visible face") (ListLink (NumberNode "17012.000000") ) )

guile> <<< /home/scrooge/cogserver/build/tests/shell/../../../tests/shell/ShellUTest.cxxtest:76: Error: Expected (281 <= reso.size()), found (281 > 255) Error: Create rep 2 of 30 in thread 10 failed Got: 255 >>>opencog> Entering scheme shell; use ^D or a single . on a line by itself to exit. guile> (EvaluationLink (PredicateNode "visible face") (ListLink (NumberNode "20012.000000") ) )

guile> <<< /home/scrooge/cogserver/build/tests/shell/../../../tests/shell/ShellUTest.cxxtest:76: Error: Expected (281 <= reso.size()), found (281 > 125) Error: Create rep 2 of 30 in thread 16 failed Got: 125 >>>opencog> Entering scheme shell; use ^D or a single . on a line by itself to exit. guile> <<< /home/scrooge/cogserver/build/tests/shell/../../../tests/shell/ShellUTest.cxxtest:76: Error: Expected (281 <= reso.size()), found (281 > 125) Error: Create rep 2 of 30 in thread 15 failed Got: 125 >>>opencog> Entering scheme shell; use ^D or a single . on a line by itself to exit. guile> <<< /home/scrooge/cogserver/build/tests/shell/../../../tests/shell/ShellUTest.cxxtest:76: Error: Expected (281 <= reso.size()), found (281 > 255) Error: Create rep 3 of 30 in thread 16 failed Got: 255 >>>opencog> Entering scheme shell; use ^D or a single . on a line by itself to exit. guile> (EvaluationLink (PredicateNode "visible face") (ListLink (NumberNode "26013.000000") ) )

guile> <<< /home/scrooge/cogserver/build/tests/shell/../../../tests/shell/ShellUTest.cxxtest:76: Error: Expected (281 <= reso.size()), found (281 > 255) Error: Create rep 3 of 30 in thread 10 failed Got: 255 >>>opencog> Entering scheme shell; use ^D or a single . on a line by itself to exit. guile> (EvaluationLink (PredicateNode "visible face") (ListLink (NumberNode "20013.000000") ) )

guile> <<< /home/scrooge/cogserver/build/tests/shell/../../../tests/shell/ShellUTest.cxxtest:76: Error: Expected (281 <= reso.size()), found (281 > 255) Error: Create rep 4 of 30 in thread 16 failed Got: 255 >>>opencog> Entering scheme shell; use ^D or a single . on a line by itself to exit. guile> (EvaluationLink (PredicateNode "visible face") (ListLink (NumberNode "26014.000000") ) )

guile> <<< /home/scrooge/cogserver/build/tests/shell/../../../tests/shell/ShellUTest.cxxtest:76: Error: Expected (281 <= reso.size()), found (281 > 255) Error: Create rep 4 of 30 in thread 11 failed Got: 255 >>>opencog> Entering scheme shell; use ^D or a single . on a line by itself to exit. guile> (EvaluationLink (PredicateNode "visible face") (ListLink (NumberNode "21014.000000") ) )

guile> <<< /home/scrooge/cogserver/build/tests/shell/../../../tests/shell/ShellUTest.cxxtest:76: Error: Expected (281 <= reso.size()), found (281 > 125) Error: Create rep 4 of 30 in thread 19 failed Got: 125 >>>opencog> Entering scheme shell; use ^D or a single . on a line by itself to exit. guile> <<< /home/scrooge/cogserver/build/tests/shell/../../../tests/shell/ShellUTest.cxxtest:76: Error: Expected (281 <= reso.size()), found (281 > 255) Error: Create rep 5 of 30 in thread 17 failed Got: 255 >>>opencog> Entering scheme shell; use ^D or a single . on a line by itself to exit. guile> (EvaluationLink (PredicateNode "visible face") (ListLink (NumberNode "27015.000000") ) )

guile> <<< /home/scrooge/cogserver/build/tests/shell/../../../tests/shell/ShellUTest.cxxtest:76: Error: Expected (281 <= reso.size()), found (281 > 255) Error: Create rep 5 of 30 in thread 10 failed Got: 255 >>>opencog> Entering scheme shell; use ^D or a single . on a line by itself to exit. guile> (EvaluationLink (PredicateNode "visible face") (ListLink (NumberNode "20015.000000") ) )

guile> <<< /home/scrooge/cogserver/build/tests/shell/../../../tests/shell/ShellUTest.cxxtest:76: Error: Expected (281 <= reso.size()), found (281 > 125) Error: Create rep 5 of 30 in thread 19 failed Got: 125 >>>opencog> Entering scheme shell; use ^D or a single . on a line by itself to exit. guile> <<< /home/scrooge/cogserver/build/tests/shell/../../../tests/shell/ShellUTest.cxxtest:76: Error: Expected (281 <= reso.size()), found (281 > 255) Error: Create rep 6 of 30 in thread 10 failed Got: 255 >>>opencog> Entering scheme shell; use ^D or a single . on a line by itself to exit. guile> (EvaluationLink (PredicateNode "visible face") (ListLink (NumberNode "20016.000000") ) )

guile> <<< /home/scrooge/cogserver/build/tests/shell/../../../tests/shell/ShellUTest.cxxtest:76: Error: Expected (281 <= reso.size()), found (281 > 255) Error: Create rep 6 of 30 in thread 11 failed Got: 255 >>>opencog> Entering scheme shell; use ^D or a single . on a line by itself to exit. guile> (EvaluationLink (PredicateNode "visible face") (ListLink (NumberNode "21016.000000") ) )

guile> <<< /home/scrooge/cogserver/build/tests/shell/../../../tests/shell/ShellUTest.cxxtest:76: Error: Expected (281 <= reso.size()), found (281 > 125) Error: Create rep 6 of 30 in thread 19 failed Got: 125 >>>opencog> Entering scheme shell; use ^D or a single . on a line by itself to exit. guile> <<< /home/scrooge/cogserver/build/tests/shell/../../../tests/shell/ShellUTest.cxxtest:76: Error: Expected (281 <= reso.size()), found (281 > 255) Error: Create rep 7 of 30 in thread 16 failed Got: 255 >>>opencog> Entering scheme shell; use ^D or a single . on a line by itself to exit. guile> (EvaluationLink (PredicateNode "visible face") (ListLink (NumberNode "26017.000000") ) )

guile> <<< /home/scrooge/cogserver/build/tests/shell/../../../tests/shell/ShellUTest.cxxtest:76: Error: Expected (281 <= reso.size()), found (281 > 125) Error: Create rep 9 of 30 in thread 17 failed Got: 125 >>>opencog> Entering scheme shell; use ^D or a single . on a line by itself to exit. guile> <<< /home/scrooge/cogserver/build/tests/shell/../../../tests/shell/ShellUTest.cxxtest:76: Error: Expected (281 <= reso.size()), found (281 > 255) Error: Create rep 9 of 30 in thread 10 failed Got: 255 >>>opencog> Entering scheme shell; use ^D or a single . on a line by itself to exit. guile> (EvaluationLink (PredicateNode "visible face") (ListLink (NumberNode "20019.000000") ) )

guile> <<< /home/scrooge/cogserver/build/tests/shell/../../../tests/shell/ShellUTest.cxxtest:76: Error: Expected (281 <= reso.size()), found (281 > 255) Error: Create rep 11 of 30 in thread 14 failed Got: 255 >>>opencog> Entering scheme shell; use ^D or a single . on a line by itself to exit. guile> (EvaluationLink (PredicateNode "visible face") (ListLink (NumberNode "24021.000000") ) )

guile> <<< /home/scrooge/cogserver/build/tests/shell/../../../tests/shell/ShellUTest.cxxtest:76: Error: Expected (281 <= reso.size()), found (281 > 255) Error: Create rep 11 of 30 in thread 15 failed Got: 255 >>>opencog> Entering scheme shell; use ^D or a single . on a line by itself to exit. guile> (EvaluationLink (PredicateNode "visible face") (ListLink (NumberNode "25021.000000") ) )

guile> <<< /home/scrooge/cogserver/build/tests/shell/../../../tests/shell/ShellUTest.cxxtest:76: Error: Expected (281 <= reso.size()), found (281 > 255) Error: Create rep 14 of 30 in thread 16 failed Got: 255 >>>opencog> Entering scheme shell; use ^D or a single . on a line by itself to exit. guile> (EvaluationLink (PredicateNode "visible face") (ListLink (NumberNode "26024.000000") ) )

guile> <<< /home/scrooge/cogserver/build/tests/shell/../../../tests/shell/ShellUTest.cxxtest:76: Error: Expected (281 <= reso.size()), found (281 > 255) Error: Create rep 14 of 30 in thread 17 failed Got: 255 >>>opencog> Entering scheme shell; use ^D or a single . on a line by itself to exit. guile> (EvaluationLink (PredicateNode "visible face") (ListLink (NumberNode "27024.000000") ) )

guile> <<< /home/scrooge/cogserver/build/tests/shell/../../../tests/shell/ShellUTest.cxxtest:76: Error: Expected (281 <= reso.size()), found (281 > 255) Error: Create rep 14 of 30 in thread 7 failed Got: 255 >>>opencog> Entering scheme shell; use ^D or a single . on a line by itself to exit. guile> (EvaluationLink (PredicateNode "visible face") (ListLink (NumberNode "17024.000000") ) )

guile> <<< /home/scrooge/cogserver/build/tests/shell/../../../tests/shell/ShellUTest.cxxtest:76: Error: Expected (281 <= reso.size()), found (281 > 125) Error: Create rep 15 of 30 in thread 10 failed Got: 125 >>>opencog> Entering scheme shell; use ^D or a single . on a line by itself to exit. guile> <<< /home/scrooge/cogserver/build/tests/shell/../../../tests/shell/ShellUTest.cxxtest:76: Error: Expected (281 <= reso.size()), found (281 > 125) Error: Create rep 16 of 30 in thread 17 failed Got: 125 >>>opencog> Entering scheme shell; use ^D or a single . on a line by itself to exit. guile> <<< /home/scrooge/cogserver/build/tests/shell/../../../tests/shell/ShellUTest.cxxtest:76: Error: Expected (281 <= reso.size()), found (281 > 255) Error: Create rep 16 of 30 in thread 15 failed Got: 255 >>>opencog> Entering scheme shell; use ^D or a single . on a line by itself to exit. guile> (EvaluationLink (PredicateNode "visible face") (ListLink (NumberNode "25026.000000") ) )

guile> <<< /home/scrooge/cogserver/build/tests/shell/../../../tests/shell/ShellUTest.cxxtest:76: Error: Expected (281 <= reso.size()), found (281 > 255) Error: Create rep 16 of 30 in thread 7 failed Got: 255 >>>opencog> Entering scheme shell; use ^D or a single . on a line by itself to exit. guile> (EvaluationLink (PredicateNode "visible face") (ListLink (NumberNode "17026.000000") ) )

guile> <<< /home/scrooge/cogserver/build/tests/shell/../../../tests/shell/ShellUTest.cxxtest:76: Error: Expected (281 <= reso.size()), found (281 > 125) Error: Create rep 19 of 30 in thread 14 failed Got: 125 >>>opencog> Entering scheme shell; use ^D or a single . on a line by itself to exit. guile> <<< /home/scrooge/cogserver/build/tests/shell/../../../tests/shell/ShellUTest.cxxtest:76: Error: Expected (281 <= reso.size()), found (281 > 125) Error: Create rep 19 of 30 in thread 16 failed Got: 125 >>>opencog> Entering scheme shell; use ^D or a single . on a line by itself to exit. guile> <<< /home/scrooge/cogserver/build/tests/shell/../../../tests/shell/ShellUTest.cxxtest:76: Error: Expected (281 <= reso.size()), found (281 > 255) Error: Create rep 19 of 30 in thread 17 failed Got: 255 >>>opencog> Entering scheme shell; use ^D or a single . on a line by itself to exit. guile> (EvaluationLink (PredicateNode "visible face") (ListLink (NumberNode "27029.000000") ) )

guile> <<< /home/scrooge/cogserver/build/tests/shell/../../../tests/shell/ShellUTest.cxxtest:76: Error: Expected (281 <= reso.size()), found (281 > 255) Error: Create rep 19 of 30 in thread 15 failed Got: 255 >>>opencog> Entering scheme shell; use ^D or a single . on a line by itself to exit. guile> (EvaluationLink (PredicateNode "visible face") (ListLink (NumberNode "25029.000000") ) )

guile> <<< /home/scrooge/cogserver/build/tests/shell/../../../tests/shell/ShellUTest.cxxtest:76: Error: Expected (281 <= reso.size()), found (281 > 255) Error: Create rep 20 of 30 in thread 15 failed Got: 255 >>>opencog> Entering scheme shell; use ^D or a single . on a line by itself to exit. guile> (EvaluationLink (PredicateNode "visible face") (ListLink (NumberNode "25030.000000") ) )

guile> <<< /home/scrooge/cogserver/build/tests/shell/../../../tests/shell/ShellUTest.cxxtest:76: Error: Expected (281 <= reso.size()), found (281 > 255) Error: Create rep 20 of 30 in thread 18 failed Got: 255 >>>opencog> Entering scheme shell; use ^D or a single . on a line by itself to exit. guile> (EvaluationLink (PredicateNode "visible face") (ListLink (NumberNode "28030.000000") ) )

guile> <<< /home/scrooge/cogserver/build/tests/shell/../../../tests/shell/ShellUTest.cxxtest:90: Error: Expected (178 <= delo.size()), found (178 > 125) Error: Delete rep 20 of 30 in thread 7 failed Got: 125 >>>opencog> Entering scheme shell; use ^D or a single . on a line by itself to exit. guile> <<< /home/scrooge/cogserver/build/tests/shell/../../../tests/shell/ShellUTest.cxxtest:76: Error: Expected (281 <= reso.size()), found (281 > 255) Error: Create rep 21 of 30 in thread 16 failed Got: 255 >>>opencog> Entering scheme shell; use ^D or a single . on a line by itself to exit. guile> (EvaluationLink (PredicateNode "visible face") (ListLink (NumberNode "26031.000000") ) )

guile> <<< /home/scrooge/cogserver/build/tests/shell/../../../tests/shell/ShellUTest.cxxtest:76: Error: Expected (281 <= reso.size()), found (281 > 256) Error: Create rep 21 of 30 in thread 15 failed Got: 256 >>>opencog> Entering scheme shell; use ^D or a single . on a line by itself to exit. guile> (EvaluationLink (PredicateNode "visible face") (ListLink (NumberNode "25031.000000") ) )

guile> <<< /home/scrooge/cogserver/build/tests/shell/../../../tests/shell/ShellUTest.cxxtest:76: Error: Expected (281 <= reso.size()), found (281 > 125) Error: Create rep 21 of 30 in thread 7 failed Got: 125 >>>opencog> Entering scheme shell; use ^D or a single . on a line by itself to exit. guile> <<< /home/scrooge/cogserver/build/tests/shell/../../../tests/shell/ShellUTest.cxxtest:76: Error: Expected (281 <= reso.size()), found (281 > 0) Error: Create rep 21 of 30 in thread 18 failed Got: 0 >>><<< /home/scrooge/cogserver/build/tests/shell/../../../tests/shell/ShellUTest.cxxtest:90: Error: Expected (178 <= delo.size()), found (178 > 153) Error: Delete rep 21 of 30 in thread 15 failed Got: 153 >>>opencog> Entering scheme shell; use ^D or a single . on a line by itself to exit. guile> #t guile> <<< /home/scrooge/cogserver/build/tests/shell/../../../tests/shell/ShellUTest.cxxtest:90: Error: Expected (178 <= delo.size()), found (178 > 153) Error: Delete rep 21 of 30 in thread 7 failed Got: 153 >>>opencog> Entering scheme shell; use ^D or a single . on a line by itself to exit. guile> #t guile> <<< /home/scrooge/cogserver/build/tests/shell/../../../tests/shell/ShellUTest.cxxtest:90: Error: Expected (178 <= delo.size()), found (178 > 125) Error: Delete rep 21 of 30 in thread 18 failed Got: 125 >>>opencog> Entering scheme shell; use ^D or a single . on a line by itself to exit. guile> <<< /home/scrooge/cogserver/build/tests/shell/../../../tests/shell/ShellUTest.cxxtest:76: Error: Expected (281 <= reso.size()), found (281 > 125) Error: Create rep 22 of 30 in thread 15 failed Got: 125 >>>opencog> Entering scheme shell; use ^D or a single . on a line by itself to exit. guile> <<< /home/scrooge/cogserver/build/tests/shell/../../../tests/shell/ShellUTest.cxxtest:76: Error: Expected (281 <= reso.size()), found (281 > 125) Error: Create rep 22 of 30 in thread 18 failed Got: 125 >>>opencog> Entering scheme shell; use ^D or a single . on a line by itself to exit. guile> <<< /home/scrooge/cogserver/build/tests/shell/../../../tests/shell/ShellUTest.cxxtest:90: Error: Expected (178 <= delo.size()), found (178 > 125) Error: Delete rep 22 of 30 in thread 19 failed Got: 125 >>>opencog> Entering scheme shell; use ^D or a single . on a line by itself to exit. guile> <<< /home/scrooge/cogserver/build/tests/shell/../../../tests/shell/ShellUTest.cxxtest:90: Error: Expected (178 <= delo.size()), found (178 > 125) Error: Delete rep 22 of 30 in thread 18 failed Got: 125 >>>opencog> Entering scheme shell; use ^D or a single . on a line by itself to exit. guile> <<< /home/scrooge/cogserver/build/tests/shell/../../../tests/shell/ShellUTest.cxxtest:90: Error: Expected (178 <= delo.size()), found (178 > 153) Error: Delete rep 22 of 30 in thread 15 failed Got: 153 >>>opencog> Entering scheme shell; use ^D or a single . on a line by itself to exit. guile> #t guile> <<< /home/scrooge/cogserver/build/tests/shell/../../../tests/shell/ShellUTest.cxxtest:76: Error: Expected (281 <= reso.size()), found (281 > 125) Error: Create rep 23 of 30 in thread 19 failed Got: 125 >>>opencog> Entering scheme shell; use ^D or a single . on a line by itself to exit. guile> <<< /home/scrooge/cogserver/build/tests/shell/../../../tests/shell/ShellUTest.cxxtest:76: Error: Expected (281 <= reso.size()), found (281 > 0) Error: Create rep 23 of 30 in thread 18 failed Got: 0 >>><<< /home/scrooge/cogserver/build/tests/shell/../../../tests/shell/ShellUTest.cxxtest:76: Error: Expected (281 <= reso.size()), found (281 > 0) Error: Create rep 23 of 30 in thread 15 failed Got: 0 >>><<< /home/scrooge/cogserver/build/tests/shell/../../../tests/shell/ShellUTest.cxxtest:90: Error: Expected (178 <= delo.size()), found (178 > 153) Error: Delete rep 23 of 30 in thread 15 failed Got: 153 >>>opencog> Entering scheme shell; use ^D or a single . on a line by itself to exit. guile> #t guile> <<< /home/scrooge/cogserver/build/tests/shell/../../../tests/shell/ShellUTest.cxxtest:90: Error: Expected (178 <= delo.size()), found (178 > 153) Error: Delete rep 23 of 30 in thread 7 failed Got: 153 >>>opencog> Entering scheme shell; use ^D or a single . on a line by itself to exit. guile> #t guile> <<< /home/scrooge/cogserver/build/tests/shell/../../../tests/shell/ShellUTest.cxxtest:76: Error: Expected (281 <= reso.size()), found (281 > 255) Error: Create rep 24 of 30 in thread 7 failed Got: 255 >>>opencog> Entering scheme shell; use ^D or a single . on a line by itself to exit. guile> (EvaluationLink (PredicateNode "visible face") (ListLink (NumberNode "17034.000000") ) )

guile> <<< /home/scrooge/cogserver/build/tests/shell/../../../tests/shell/ShellUTest.cxxtest:90: Error: Expected (178 <= delo.size()), found (178 > 153) Error: Delete rep 25 of 30 in thread 16 failed Got: 153 >>>opencog> Entering scheme shell; use ^D or a single . on a line by itself to exit. guile> #t guile> <<< /home/scrooge/cogserver/build/tests/shell/../../../tests/shell/ShellUTest.cxxtest:90: Error: Expected (178 <= delo.size()), found (178 > 153) Error: Delete rep 25 of 30 in thread 15 failed Got: 153 >>>opencog> Entering scheme shell; use ^D or a single . on a line by itself to exit. guile> #t guile> <<< /home/scrooge/cogserver/build/tests/shell/../../../tests/shell/ShellUTest.cxxtest:90: Error: Expected (178 <= delo.size()), found (178 > 153) Error: Delete rep 25 of 30 in thread 7 failed Got: 153 >>>opencog> Entering scheme shell; use ^D or a single . on a line by itself to exit. guile> #t guile> <<< /home/scrooge/cogserver/build/tests/shell/../../../tests/shell/ShellUTest.cxxtest:90: Error: Expected (178 <= delo.size()), found (178 > 153) Error: Delete rep 25 of 30 in thread 19 failed Got: 153 >>>opencog> Entering scheme shell; use ^D or a single . on a line by itself to exit. guile> #t guile> <<< /home/scrooge/cogserver/build/tests/shell/../../../tests/shell/ShellUTest.cxxtest:76: Error: Expected (281 <= reso.size()), found (281 > 125) Error: Create rep 26 of 30 in thread 9 failed Got: 125 >>>opencog> Entering scheme shell; use ^D or a single . on a line by itself to exit. guile> <<< /home/scrooge/cogserver/build/tests/shell/../../../tests/shell/ShellUTest.cxxtest:76: Error: Expected (281 <= reso.size()), found (281 > 125) Error: Create rep 26 of 30 in thread 15 failed Got: 125 >>>opencog> Entering scheme shell; use ^D or a single . on a line by itself to exit. guile> <<< /home/scrooge/cogserver/build/tests/shell/../../../tests/shell/ShellUTest.cxxtest:76: Error: Expected (281 <= reso.size()), found (281 > 255) Error: Create rep 26 of 30 in thread 18 failed Got: 255 >>>opencog> Entering scheme shell; use ^D or a single . on a line by itself to exit. guile> (EvaluationLink (PredicateNode "visible face") (ListLink (NumberNode "28036.000000") ) )

guile> <<< /home/scrooge/cogserver/build/tests/shell/../../../tests/shell/ShellUTest.cxxtest:76: Error: Expected (281 <= reso.size()), found (281 > 255) Error: Create rep 26 of 30 in thread 19 failed Got: 255 >>>opencog> Entering scheme shell; use ^D or a single . on a line by itself to exit. guile> (EvaluationLink (PredicateNode "visible face") (ListLink (NumberNode "29036.000000") ) )

guile> <<< /home/scrooge/cogserver/build/tests/shell/../../../tests/shell/ShellUTest.cxxtest:90: Error: Expected (178 <= delo.size()), found (178 > 125) Error: Delete rep 26 of 30 in thread 16 failed Got: 125 >>>opencog> Entering scheme shell; use ^D or a single . on a line by itself to exit. guile> <<< /home/scrooge/cogserver/build/tests/shell/../../../tests/shell/ShellUTest.cxxtest:90: Error: Expected (178 <= delo.size()), found (178 > 125) Error: Delete rep 26 of 30 in thread 15 failed Got: 125 >>>opencog> Entering scheme shell; use ^D or a single . on a line by itself to exit. guile> <<< /home/scrooge/cogserver/build/tests/shell/../../../tests/shell/ShellUTest.cxxtest:90: Error: Expected (178 <= delo.size()), found (178 > 27) Error: Delete rep 26 of 30 in thread 19 failed Got: 27 >>>opencog> <<< /home/scrooge/cogserver/build/tests/shell/../../../tests/shell/ShellUTest.cxxtest:76: Error: Expected (281 <= reso.size()), found (281 > 255) Error: Create rep 27 of 30 in thread 7 failed Got: 255 >>>opencog> Entering scheme shell; use ^D or a single . on a line by itself to exit. guile> (EvaluationLink (PredicateNode "visible face") (ListLink (NumberNode "17037.000000") ) )

guile> <<< /home/scrooge/cogserver/build/tests/shell/../../../tests/shell/ShellUTest.cxxtest:90: Error: Expected (178 <= delo.size()), found (178 > 125) Error: Delete rep 27 of 30 in thread 15 failed Got: 125 >>>opencog> Entering scheme shell; use ^D or a single . on a line by itself to exit. guile> <<< /home/scrooge/cogserver/build/tests/shell/../../../tests/shell/ShellUTest.cxxtest:90: Error: Expected (178 <= delo.size()), found (178 > 125) Error: Delete rep 27 of 30 in thread 9 failed Got: 125 >>>opencog> Entering scheme shell; use ^D or a single . on a line by itself to exit. guile> <<< /home/scrooge/cogserver/build/tests/shell/../../../tests/shell/ShellUTest.cxxtest:90: Error: Expected (178 <= delo.size()), found (178 > 125) Error: Delete rep 27 of 30 in thread 7 failed Got: 125 >>>opencog> Entering scheme shell; use ^D or a single . on a line by itself to exit. guile> <<< /home/scrooge/cogserver/build/tests/shell/../../../tests/shell/ShellUTest.cxxtest:76: Error: Expected (281 <= reso.size()), found (281 > 0) Error: Create rep 28 of 30 in thread 19 failed Got: 0 >>><<< /home/scrooge/cogserver/build/tests/shell/../../../tests/shell/ShellUTest.cxxtest:76: Error: Expected (281 <= reso.size()), found (281 > 0) Error: Create rep 28 of 30 in thread 16 failed Got: 0 >>><<< /home/scrooge/cogserver/build/tests/shell/../../../tests/shell/ShellUTest.cxxtest:76: Error: Expected (281 <= reso.size()), found (281 > 125) Error: Create rep 28 of 30 in thread 15 failed Got: 125 >>>opencog> Entering scheme shell; use ^D or a single . on a line by itself to exit. guile> <<< /home/scrooge/cogserver/build/tests/shell/../../../tests/shell/ShellUTest.cxxtest:76: Error: Expected (281 <= reso.size()), found (281 > 125) Error: Create rep 28 of 30 in thread 9 failed Got: 125 >>>opencog> Entering scheme shell; use ^D or a single . on a line by itself to exit. guile> <<< /home/scrooge/cogserver/build/tests/shell/../../../tests/shell/ShellUTest.cxxtest:76: Error: Expected (281 <= reso.size()), found (281 > 125) Error: Create rep 28 of 30 in thread 7 failed Got: 125 >>>opencog> Entering scheme shell; use ^D or a single . on a line by itself to exit. guile> <<< /home/scrooge/cogserver/build/tests/shell/../../../tests/shell/ShellUTest.cxxtest:90: Error: Expected (178 <= delo.size()), found (178 > 153) Error: Delete rep 28 of 30 in thread 15 failed Got: 153 >>>opencog> Entering scheme shell; use ^D or a single . on a line by itself to exit. guile> #t guile> <<< /home/scrooge/cogserver/build/tests/shell/../../../tests/shell/ShellUTest.cxxtest:90: Error: Expected (178 <= delo.size()), found (178 > 153) Error: Delete rep 28 of 30 in thread 16 failed Got: 153 >>>opencog> Entering scheme shell; use ^D or a single . on a line by itself to exit. guile> #t guile> <<< /home/scrooge/cogserver/build/tests/shell/../../../tests/shell/ShellUTest.cxxtest:90: Error: Expected (178 <= delo.size()), found (178 > 125) Error: Delete rep 28 of 30 in thread 9 failed Got: 125 >>>opencog> Entering scheme shell; use ^D or a single . on a line by itself to exit. guile> <<< /home/scrooge/cogserver/build/tests/shell/../../../tests/shell/ShellUTest.cxxtest:90: Error: Expected (178 <= delo.size()), found (178 > 153) Error: Delete rep 28 of 30 in thread 7 failed Got: 153 >>>opencog> Entering scheme shell; use ^D or a single . on a line by itself to exit. guile> #t guile> <<< /home/scrooge/cogserver/build/tests/shell/../../../tests/shell/ShellUTest.cxxtest:76: Error: Expected (281 <= reso.size()), found (281 > 255) Error: Create rep 29 of 30 in thread 19 failed Got: 255 >>>opencog> Entering scheme shell; use ^D or a single . on a line by itself to exit. guile> (EvaluationLink (PredicateNode "visible face") (ListLink (NumberNode "29039.000000") ) )

guile> <<< /home/scrooge/cogserver/build/tests/shell/../../../tests/shell/ShellUTest.cxxtest:76: Error: Expected (281 <= reso.size()), found (281 > 125) Error: Create rep 29 of 30 in thread 15 failed Got: 125 >>>opencog> Entering scheme shell; use ^D or a single . on a line by itself to exit. guile> <<< /home/scrooge/cogserver/build/tests/shell/../../../tests/shell/ShellUTest.cxxtest:76: Error: Expected (281 <= reso.size()), found (281 > 255) Error: Create rep 29 of 30 in thread 9 failed Got: 255 >>>opencog> Entering scheme shell; use ^D or a single . on a line by itself to exit. guile> (EvaluationLink (PredicateNode "visible face") (ListLink (NumberNode "19039.000000") ) )

guile> <<< /home/scrooge/cogserver/build/tests/shell/../../../tests/shell/ShellUTest.cxxtest:90: Error: Expected (178 <= delo.size()), found (178 > 153) Error: Delete rep 29 of 30 in thread 19 failed Got: 153 >>>opencog> Entering scheme shell; use ^D or a single . on a line by itself to exit. guile> #t guile> <<< /home/scrooge/cogserver/build/tests/shell/../../../tests/shell/ShellUTest.cxxtest:90: Error: Expected (178 <= delo.size()), found (178 > 153) Error: Delete rep 29 of 30 in thread 16 failed Got: 153 >>>opencog> Entering scheme shell; use ^D or a single . on a line by itself to exit. guile> #t guile> <<< /home/scrooge/cogserver/build/tests/shell/../../../tests/shell/ShellUTest.cxxtest:90: Error: Expected (178 <= delo.size()), found (178 > 153) Error: Delete rep 29 of 30 in thread 7 failed Got: 153 >>>opencog> Entering scheme shell; use ^D or a single . on a line by itself to exit. guile> #t guile> <<< Listening on port 17333 . Failed 1 and Skipped 0 of 5 tests Success rate: 80%

67% tests passed, 2 tests failed out of 6

Total Test time (real) = 182.90 sec

The following tests FAILED: 3 - PythonModuleUTest (SEGFAULT) 6 - ShellUTest (Failed) Errors while running CTest CMakeFiles/test.dir/build.make:57: recipe for target 'CMakeFiles/test' failed make[3]: [CMakeFiles/test] Error 8 CMakeFiles/Makefile2:99: recipe for target 'CMakeFiles/test.dir/all' failed make[2]: [CMakeFiles/test.dir/all] Error 2 CMakeFiles/Makefile2:106: recipe for target 'CMakeFiles/test.dir/rule' failed make[1]: [CMakeFiles/test.dir/rule] Error 2 Makefile:197: recipe for target 'test' failed make: [test] Error 2

linas commented 4 years ago

OK, multiple comments:

1) pull req #20 will probably resolve the python test failure.

2) the most likely cause of the ShellUTest failure is that you are using a different version of netcat than "most" people. Due to a screwup of colossal proportions, there are two incompatible versions of netcat in widespread use. Both hail from BSD. My version is .. well, that's screwd, because my version does not offer to print its version. The package is netcat-openbsd/stable,now 1.195-2 amd64 [installed] and you probably have netcat-traditional

3) if you are a beginner wanting to mess with opencog-python, do not do it with the cogserver. Just use the straight-up atomspace. Just say

$ python3
Python 3.7.3 (default, Apr  3 2019, 05:39:12) 
Type "help", "copyright", "credits" or "license" for more information.
>>> import opencog.whatever

and go from there. The python modules in the cogserver only wrap that subset of python to talk to the cogserver, and to talk to the agents; you really will not need or want these parts. Just basic AtomSpace stuff is easier, simpler.

The cogserver is great once you have some big cpu-hungry processing pipeline in place, and you need to monitor the status of the system. For that its great. Well, of course, monitoring cpu-hungry pipelines is like "watching paint dry" or like staring at your laundry machine ... but that's a different problem.

linas commented 4 years ago

If there is some wiki page telling you to use the cogserver, its .. obsolete. It needs to be revised. People on the mailing list might help, maybe. Like maybe @noskill or @vsbogd who know python.

AlucardNosferatu commented 4 years ago

If there is some wiki page telling you to use the cogserver, its .. obsolete. It needs to be revised. People on the mailing list might help, maybe. Like maybe @noskill or @vsbogd who know python.

The reply is plausible, Thank you anyway.