Moodle 3.4dev+ (Build: 20171021), 01df2313c09befcaff3899c39be741f6b85aaba8 Php: 7.1.10.1.14.04.1.1, mysqli: 5.5.57-0ubuntu0.14.04.1, OS: Linux 3.19.0-32-generic x86_64 PHPUnit 5.5.7 by Sebastian Bergmann and contributors. ...Traceback (most recent call last): File "/usr/lib/python2.7/runpy.py", line 162, in _run_module_as_main "__main__", fname, loader, pkg_name) File "/usr/lib/python2.7/runpy.py", line 72, in _run_code exec code in run_globals File "/usr/local/lib/python2.7/dist-packages/moodlemlbackend/training.py", line 9, in from moodlemlbackend.processor import binary File "/usr/local/lib/python2.7/dist-packages/moodlemlbackend/processor/binary.py", line 15, in import tensorflow as tf File "/usr/local/lib/python2.7/dist-packages/tensorflow/__init__.py", line 24, in from tensorflow.python import * File "/usr/local/lib/python2.7/dist-packages/tensorflow/python/__init__.py", line 75, in from tensorflow.core.framework.graph_pb2 import * File "/usr/local/lib/python2.7/dist-packages/tensorflow/core/framework/graph_pb2.py", line 9, in from google.protobuf import symbol_database as _symbol_database File "/usr/local/lib/python2.7/dist-packages/google/protobuf/symbol_database.py", line 184, in _DEFAULT = SymbolDatabase(pool=descriptor_pool.Default()) AttributeError: 'module' object has no attribute 'Default' ETraceback (most recent call last): File "/usr/lib/python2.7/runpy.py", line 162, in _run_module_as_main "__main__", fname, loader, pkg_name) File "/usr/lib/python2.7/runpy.py", line 72, in _run_code exec code in run_globals File "/usr/local/lib/python2.7/dist-packages/moodlemlbackend/training.py", line 9, in from moodlemlbackend.processor import binary File "/usr/local/lib/python2.7/dist-packages/moodlemlbackend/processor/binary.py", line 15, in import tensorflow as tf File "/usr/local/lib/python2.7/dist-packages/tensorflow/__init__.py", line 24, in from tensorflow.python import * File "/usr/local/lib/python2.7/dist-packages/tensorflow/python/__init__.py", line 75, in from tensorflow.core.framework.graph_pb2 import * File "/usr/local/lib/python2.7/dist-packages/tensorflow/core/framework/graph_pb2.py", line 9, in from google.protobuf import symbol_database as _symbol_database File "/usr/local/lib/python2.7/dist-packages/google/protobuf/symbol_database.py", line 184, in _DEFAULT = SymbolDatabase(pool=descriptor_pool.Default()) AttributeError: 'module' object has no attribute 'Default' E....Traceback (most recent call last): File "/usr/lib/python2.7/runpy.py", line 162, in _run_module_as_main "__main__", fname, loader, pkg_name) File "/usr/lib/python2.7/runpy.py", line 72, in _run_code exec code in run_globals File "/usr/local/lib/python2.7/dist-packages/moodlemlbackend/training.py", line 9, in from moodlemlbackend.processor import binary File "/usr/local/lib/python2.7/dist-packages/moodlemlbackend/processor/binary.py", line 15, in import tensorflow as tf File "/usr/local/lib/python2.7/dist-packages/tensorflow/__init__.py", line 24, in from tensorflow.python import * File "/usr/local/lib/python2.7/dist-packages/tensorflow/python/__init__.py", line 75, in from tensorflow.core.framework.graph_pb2 import * File "/usr/local/lib/python2.7/dist-packages/tensorflow/core/framework/graph_pb2.py", line 9, in from google.protobuf import symbol_database as _symbol_database File "/usr/local/lib/python2.7/dist-packages/google/protobuf/symbol_database.py", line 184, in _DEFAULT = SymbolDatabase(pool=descriptor_pool.Default()) AttributeError: 'module' object has no attribute 'Default' ETraceback (most recent call last): File "/usr/lib/python2.7/runpy.py", line 162, in _run_module_as_main "__main__", fname, loader, pkg_name) File "/usr/lib/python2.7/runpy.py", line 72, in _run_code exec code in run_globals File "/usr/local/lib/python2.7/dist-packages/moodlemlbackend/training.py", line 9, in from moodlemlbackend.processor import binary File "/usr/local/lib/python2.7/dist-packages/moodlemlbackend/processor/binary.py", line 15, in import tensorflow as tf File "/usr/local/lib/python2.7/dist-packages/tensorflow/__init__.py", line 24, in from tensorflow.python import * File "/usr/local/lib/python2.7/dist-packages/tensorflow/python/__init__.py", line 75, in from tensorflow.core.framework.graph_pb2 import * File "/usr/local/lib/python2.7/dist-packages/tensorflow/core/framework/graph_pb2.py", line 9, in from google.protobuf import symbol_database as _symbol_database File "/usr/local/lib/python2.7/dist-packages/google/protobuf/symbol_database.py", line 184, in _DEFAULT = SymbolDatabase(pool=descriptor_pool.Default()) AttributeError: 'module' object has no attribute 'Default' ETraceback (most recent call last): File "/usr/lib/python2.7/runpy.py", line 162, in _run_module_as_main "__main__", fname, loader, pkg_name) File "/usr/lib/python2.7/runpy.py", line 72, in _run_code exec code in run_globals File "/usr/local/lib/python2.7/dist-packages/moodlemlbackend/training.py", line 9, in from moodlemlbackend.processor import binary File "/usr/local/lib/python2.7/dist-packages/moodlemlbackend/processor/binary.py", line 15, in import tensorflow as tf File "/usr/local/lib/python2.7/dist-packages/tensorflow/__init__.py", line 24, in from tensorflow.python import * File "/usr/local/lib/python2.7/dist-packages/tensorflow/python/__init__.py", line 75, in from tensorflow.core.framework.graph_pb2 import * File "/usr/local/lib/python2.7/dist-packages/tensorflow/core/framework/graph_pb2.py", line 9, in from google.protobuf import symbol_database as _symbol_database File "/usr/local/lib/python2.7/dist-packages/google/protobuf/symbol_database.py", line 184, in _DEFAULT = SymbolDatabase(pool=descriptor_pool.Default()) AttributeError: 'module' object has no attribute 'Default' ETraceback (most recent call last): File "/usr/lib/python2.7/runpy.py", line 162, in _run_module_as_main "__main__", fname, loader, pkg_name) File "/usr/lib/python2.7/runpy.py", line 72, in _run_code exec code in run_globals File "/usr/local/lib/python2.7/dist-packages/moodlemlbackend/training.py", line 9, in from moodlemlbackend.processor import binary File "/usr/local/lib/python2.7/dist-packages/moodlemlbackend/processor/binary.py", line 15, in import tensorflow as tf File "/usr/local/lib/python2.7/dist-packages/tensorflow/__init__.py", line 24, in from tensorflow.python import * File "/usr/local/lib/python2.7/dist-packages/tensorflow/python/__init__.py", line 75, in from tensorflow.core.framework.graph_pb2 import * File "/usr/local/lib/python2.7/dist-packages/tensorflow/core/framework/graph_pb2.py", line 9, in from google.protobuf import symbol_database as _symbol_database File "/usr/local/lib/python2.7/dist-packages/google/protobuf/symbol_database.py", line 184, in _DEFAULT = SymbolDatabase(pool=descriptor_pool.Default()) AttributeError: 'module' object has no attribute 'Default' E..Traceback (most recent call last): File "/usr/lib/python2.7/runpy.py", line 162, in _run_module_as_main "__main__", fname, loader, pkg_name) File "/usr/lib/python2.7/runpy.py", line 72, in _run_code exec code in run_globals File "/usr/local/lib/python2.7/dist-packages/moodlemlbackend/evaluation.py", line 9, in from moodlemlbackend.processor import binary File "/usr/local/lib/python2.7/dist-packages/moodlemlbackend/processor/binary.py", line 15, in import tensorflow as tf File "/usr/local/lib/python2.7/dist-packages/tensorflow/__init__.py", line 24, in from tensorflow.python import * File "/usr/local/lib/python2.7/dist-packages/tensorflow/python/__init__.py", line 75, in from tensorflow.core.framework.graph_pb2 import * File "/usr/local/lib/python2.7/dist-packages/tensorflow/core/framework/graph_pb2.py", line 9, in from google.protobuf import symbol_database as _symbol_database File "/usr/local/lib/python2.7/dist-packages/google/protobuf/symbol_database.py", line 184, in _DEFAULT = SymbolDatabase(pool=descriptor_pool.Default()) AttributeError: 'module' object has no attribute 'Default' ETraceback (most recent call last): File "/usr/lib/python2.7/runpy.py", line 162, in _run_module_as_main "__main__", fname, loader, pkg_name) File "/usr/lib/python2.7/runpy.py", line 72, in _run_code exec code in run_globals File "/usr/local/lib/python2.7/dist-packages/moodlemlbackend/evaluation.py", line 9, in from moodlemlbackend.processor import binary File "/usr/local/lib/python2.7/dist-packages/moodlemlbackend/processor/binary.py", line 15, in import tensorflow as tf File "/usr/local/lib/python2.7/dist-packages/tensorflow/__init__.py", line 24, in from tensorflow.python import * File "/usr/local/lib/python2.7/dist-packages/tensorflow/python/__init__.py", line 75, in from tensorflow.core.framework.graph_pb2 import * File "/usr/local/lib/python2.7/dist-packages/tensorflow/core/framework/graph_pb2.py", line 9, in from google.protobuf import symbol_database as _symbol_database File "/usr/local/lib/python2.7/dist-packages/google/protobuf/symbol_database.py", line 184, in _DEFAULT = SymbolDatabase(pool=descriptor_pool.Default()) AttributeError: 'module' object has no attribute 'Default' E.. 19 / 19 (100%) Time: 21.32 seconds, Memory: 60.00MB There were 8 errors: 1) core_analytics_prediction_testcase::test_ml_training_and_prediction with data set "no_splitting-\mlbackend_python\processor" ('\core\analytics\time_splittin...itting', 0, 1, '\mlbackend_python\processor') moodle_exception: No results returned from the predictions processor. Check the output directory contents for more information. /home/damyon/moodles/integration_master/moodle/lib/mlbackend/python/classes/processor.php:145 /home/damyon/moodles/integration_master/moodle/analytics/classes/model.php:629 /home/damyon/moodles/integration_master/moodle/analytics/tests/prediction_test.php:153 /home/damyon/moodles/integration_master/moodle/lib/phpunit/classes/advanced_testcase.php:80 To re-run: vendor/bin/phpunit core_analytics_prediction_testcase analytics/tests/prediction_test.php 2) core_analytics_prediction_testcase::test_ml_training_and_prediction with data set "quarters-\mlbackend_python\processor" ('\core\analytics\time_splittin...arters', 3, 4, '\mlbackend_python\processor') moodle_exception: No results returned from the predictions processor. Check the output directory contents for more information. /home/damyon/moodles/integration_master/moodle/lib/mlbackend/python/classes/processor.php:145 /home/damyon/moodles/integration_master/moodle/analytics/classes/model.php:629 /home/damyon/moodles/integration_master/moodle/analytics/tests/prediction_test.php:153 /home/damyon/moodles/integration_master/moodle/lib/phpunit/classes/advanced_testcase.php:80 To re-run: vendor/bin/phpunit core_analytics_prediction_testcase analytics/tests/prediction_test.php 3) core_analytics_prediction_testcase::test_ml_classifiers_return with data set "1-samples-\mlbackend_python\processor" ('maybe', 1, array(0), '\mlbackend_python\processor') moodle_exception: No results returned from the predictions processor. Check the output directory contents for more information. /home/damyon/moodles/integration_master/moodle/lib/mlbackend/python/classes/processor.php:145 /home/damyon/moodles/integration_master/moodle/analytics/tests/prediction_test.php:336 /home/damyon/moodles/integration_master/moodle/lib/phpunit/classes/advanced_testcase.php:80 To re-run: vendor/bin/phpunit core_analytics_prediction_testcase analytics/tests/prediction_test.php 4) core_analytics_prediction_testcase::test_ml_classifiers_return with data set "2-samples-same-class-\mlbackend_python\processor" ('maybe', 2, array(0), '\mlbackend_python\processor') moodle_exception: No results returned from the predictions processor. Check the output directory contents for more information. /home/damyon/moodles/integration_master/moodle/lib/mlbackend/python/classes/processor.php:145 /home/damyon/moodles/integration_master/moodle/analytics/tests/prediction_test.php:336 /home/damyon/moodles/integration_master/moodle/lib/phpunit/classes/advanced_testcase.php:80 To re-run: vendor/bin/phpunit core_analytics_prediction_testcase analytics/tests/prediction_test.php 5) core_analytics_prediction_testcase::test_ml_classifiers_return with data set "2-samples-different-classes-\mlbackend_python\processor" ('yes', 2, array(0, 1), '\mlbackend_python\processor') moodle_exception: No results returned from the predictions processor. Check the output directory contents for more information. /home/damyon/moodles/integration_master/moodle/lib/mlbackend/python/classes/processor.php:145 /home/damyon/moodles/integration_master/moodle/analytics/tests/prediction_test.php:336 /home/damyon/moodles/integration_master/moodle/lib/phpunit/classes/advanced_testcase.php:80 To re-run: vendor/bin/phpunit core_analytics_prediction_testcase analytics/tests/prediction_test.php 6) core_analytics_prediction_testcase::test_ml_classifiers_return with data set "4-samples-different-classes-\mlbackend_python\processor" ('yes', 4, array(0, 1), '\mlbackend_python\processor') moodle_exception: No results returned from the predictions processor. Check the output directory contents for more information. /home/damyon/moodles/integration_master/moodle/lib/mlbackend/python/classes/processor.php:145 /home/damyon/moodles/integration_master/moodle/analytics/tests/prediction_test.php:336 /home/damyon/moodles/integration_master/moodle/lib/phpunit/classes/advanced_testcase.php:80 To re-run: vendor/bin/phpunit core_analytics_prediction_testcase analytics/tests/prediction_test.php 7) core_analytics_prediction_testcase::test_ml_evaluation with data set "bad-\mlbackend_python\processor" ('random', 50, array(2, 4, 4), '\mlbackend_python\processor') moodle_exception: No results returned from the predictions processor. Check the output directory contents for more information. /home/damyon/moodles/integration_master/moodle/lib/mlbackend/python/classes/processor.php:256 /home/damyon/moodles/integration_master/moodle/analytics/classes/model.php:551 /home/damyon/moodles/integration_master/moodle/analytics/tests/prediction_test.php:427 /home/damyon/moodles/integration_master/moodle/lib/phpunit/classes/advanced_testcase.php:80 To re-run: vendor/bin/phpunit core_analytics_prediction_testcase analytics/tests/prediction_test.php 8) core_analytics_prediction_testcase::test_ml_evaluation with data set "good-\mlbackend_python\processor" ('perfect', 50, array(2, 0, 0), '\mlbackend_python\processor') moodle_exception: No results returned from the predictions processor. Check the output directory contents for more information. /home/damyon/moodles/integration_master/moodle/lib/mlbackend/python/classes/processor.php:256 /home/damyon/moodles/integration_master/moodle/analytics/classes/model.php:551 /home/damyon/moodles/integration_master/moodle/analytics/tests/prediction_test.php:427 /home/damyon/moodles/integration_master/moodle/lib/phpunit/classes/advanced_testcase.php:80 To re-run: vendor/bin/phpunit core_analytics_prediction_testcase analytics/tests/prediction_test.php ERRORS! Tests: 19, Assertions: 107, Errors: 8.