phylanx
phylanx copied to clipboard
Failing Phylanx Tests after sucessfully building Phylanx
WORK_ENV: python3.8 docker [Debian Docker]
docker pull python
Setup: Run the following setup script in docker. https://gist.github.com/git-kale/7e117e261ea3491071fb97e79883f56e
Testing: Run the script in docker to quickly check the number of tests passing . https://gist.github.com/git-kale/512747d57674e74274d63eacbb4fea76
Expected behaviour: After Successful building the tests should pass. (99/102 pass)
Current Behaviour: Tests Fail after sucessful build (5/102 pass)
As far as I can tell, the smallest sequence of commands to reproduce this issue is:
# docker run -it --rm python:3.8 bash
apt update && apt install -y libblas-dev liblapack-dev libhdf5-dev cmake libboost-all-dev libgoogle-perftools-dev ninja-build
pip3 install setuptools numpy
git clone --depth=1 https://github.com/pybind/pybind11.git /root/pybind11/repo
cmake -H/root/pybind11/repo -B/root/pybind11/build -DPYBIND11_TEST=OFF -DCMAKE_BUILD_TYPE=Release -GNinja
cmake --build /root/pybind11/build --target install
git clone --depth=1 https://github.com/STEllAR-GROUP/hpx.git /root/hpx/repo
cmake -H/root/hpx/repo -B/root/hpx/build -DCMAKE_BUILD_TYPE=Release -DHPX_WITH_MALLOC=tcmalloc -GNinja
cmake --build /root/hpx/build --target install
git clone --depth=1 https://bitbucket.org/blaze-lib/blaze.git /root/blaze/repo
cmake -H/root/blaze/repo -B/root/blaze/build -DCMAKE_BUILD_TYPE=Release -DBLAZE_SMP_THREADS=HPX -GNinja # -DHPX_DIR=/root/hpx/build/
cmake --build /root/blaze/build --target install
git clone --depth=1 https://github.com/STEllAR-GROUP/blaze_tensor.git /root/blaze-tensor/repo
cmake -H/root/blaze-tensor/repo -B/root/blaze-tensor/build -DCMAKE_BUILD_TYPE=Release -GNinja # -DHPX_DIR=/root/hpx/build -Dblaze_DIR=/root/blaze/build
cmake --build /root/blaze-tensor/build --target install
git clone --depth=1 https://github.com/STEllAR-GROUP/phylanx.git /root/phylanx/repo
cmake -H/root/phylanx/repo -B/root/phylanx/build -DCMAKE_BUILD_TYPE=Release -GNinja -DHPX_DIR=/usr/local/lib/cmake/HPX/ # -Dblaze_DIR=/usr/local/share/blaze/cmake/ -Dpybind11_DIR=/usr/local/share/cmake/pybind11/
cmake --build /root/phylanx/build
cmake --build /root/phylanx/build --target tests
(cd /root/phylanx/build && ctest --timeout 10)
Partial CTest output:
...
37/333 Test #37: tests.regressions.plugins.matrixops.1157_astype_bool .............................***Timeout 2.00 sec
Start 38: tests.regressions.plugins.matrixops.1157_astype_bool_axis
38/333 Test #38: tests.regressions.plugins.matrixops.1157_astype_bool_axis ........................***Timeout 2.00 sec
Start 39: tests.regressions.python.python.364_local_variables
39/333 Test #39: tests.regressions.python.python.364_local_variables ..............................***Failed 1.10 sec
Start 40: tests.regressions.python.python.466_compiler_problems
40/333 Test #40: tests.regressions.python.python.466_compiler_problems ............................***Failed 0.46 sec
Start 41: tests.regressions.python.python.508_unknown_named_argument
41/333 Test #41: tests.regressions.python.python.508_unknown_named_argument ....................... Passed 0.41 sec
Start 42: tests.regressions.python.python.522_multidimension_np_arrays
42/333 Test #42: tests.regressions.python.python.522_multidimension_np_arrays .....................***Failed 0.52 sec
Start 43: tests.regressions.python.python.530_augmented_assignment_indexed_lhs
43/333 Test #43: tests.regressions.python.python.530_augmented_assignment_indexed_lhs .............***Failed 0.42 sec
Start 44: tests.regressions.python.python.596_list_arrays
44/333 Test #44: tests.regressions.python.python.596_list_arrays ..................................***Failed 0.45 sec
Start 45: tests.regressions.python.python.624_advanced_indexing
45/333 Test #45: tests.regressions.python.python.624_advanced_indexing ............................***Failed 0.45 sec
Start 46: tests.regressions.python.python.635_arange_args
46/333 Test #46: tests.regressions.python.python.635_arange_args ..................................***Failed 0.43 sec
Start 47: tests.regressions.python.python.636_boolean_array
47/333 Test #47: tests.regressions.python.python.636_boolean_array ................................***Failed 0.46 sec
Start 48: tests.regressions.python.python.640_function_argument
48/333 Test #48: tests.regressions.python.python.640_function_argument ............................***Failed 0.42 sec
Start 49: tests.regressions.python.python.651_vstack_dtype
49/333 Test #49: tests.regressions.python.python.651_vstack_dtype .................................***Failed 0.44 sec
Start 50: tests.regressions.python.python.794_3d_array
50/333 Test #50: tests.regressions.python.python.794_3d_array .....................................***Failed 0.48 sec
Start 51: tests.regressions.python.python.805_lazy_variable
51/333 Test #51: tests.regressions.python.python.805_lazy_variable ................................***Failed 0.43 sec
Start 52: tests.regressions.python.python.805_two_variables
52/333 Test #52: tests.regressions.python.python.805_two_variables ................................***Failed 0.48 sec
Start 53: tests.regressions.python.python.808_print_twice
53/333 Test #53: tests.regressions.python.python.808_print_twice ..................................***Failed 0.47 sec
Start 54: tests.regressions.python.python.815_plain_return
54/333 Test #54: tests.regressions.python.python.815_plain_return .................................***Failed 0.47 sec
Start 55: tests.regressions.python.python.826_default_args
55/333 Test #55: tests.regressions.python.python.826_default_args .................................***Failed 0.50 sec
Start 56: tests.regressions.python.python.827_random_0dim
56/333 Test #56: tests.regressions.python.python.827_random_0dim ..................................***Failed 0.51 sec
Start 57: tests.regressions.python.python.832_performance_data
57/333 Test #57: tests.regressions.python.python.832_performance_data .............................***Failed 0.46 sec
Start 58: tests.regressions.python.python.837_none_default_argument
58/333 Test #58: tests.regressions.python.python.837_none_default_argument ........................***Failed 0.45 sec
Start 59: tests.regressions.python.python.846_if_expression
59/333 Test #59: tests.regressions.python.python.846_if_expression ................................***Failed 0.48 sec
Start 60: tests.regressions.python.python.852_concatenate_list
60/333 Test #60: tests.regressions.python.python.852_concatenate_list .............................***Failed 0.49 sec
Start 61: tests.regressions.python.python.862_var_std_two_axis
61/333 Test #61: tests.regressions.python.python.862_var_std_two_axis .............................***Failed 0.45 sec
Start 62: tests.regressions.python.python.866_dynamic_dtype
62/333 Test #62: tests.regressions.python.python.866_dynamic_dtype ................................***Failed 0.48 sec
Start 63: tests.regressions.python.python.874_0d_shape
63/333 Test #63: tests.regressions.python.python.874_0d_shape .....................................***Failed 0.42 sec
Start 64: tests.regressions.python.python.886_notnone
64/333 Test #64: tests.regressions.python.python.886_notnone ......................................***Failed 0.44 sec
Start 65: tests.regressions.python.python.896_return_none
65/333 Test #65: tests.regressions.python.python.896_return_none ..................................***Failed 0.46 sec
Start 66: tests.regressions.python.python.903_variable_conversion
66/333 Test #66: tests.regressions.python.python.903_variable_conversion ..........................***Failed 0.42 sec
Start 67: tests.regressions.python.python.903_variable_dtype
FATAL: exception not rethrown
67/333 Test #67: tests.regressions.python.python.903_variable_dtype ...............................***Failed 0.49 sec
Start 68: tests.regressions.python.python.904_pass_decorator
68/333 Test #68: tests.regressions.python.python.904_pass_decorator ...............................***Failed 0.40 sec
Start 69: tests.regressions.python.python.905_call_python_snippet
69/333 Test #69: tests.regressions.python.python.905_call_python_snippet ..........................***Failed 0.46 sec
Start 70: tests.regressions.python.python.911_list_comprehension
70/333 Test #70: tests.regressions.python.python.911_list_comprehension ...........................***Failed 0.47 sec
Start 71: tests.regressions.python.python.912_zip
71/333 Test #71: tests.regressions.python.python.912_zip ..........................................***Failed 0.44 sec
Start 72: tests.regressions.python.python.925_none_dtype
72/333 Test #72: tests.regressions.python.python.925_none_dtype ...................................***Failed 0.43 sec
Start 73: tests.regressions.python.python.933_arange
73/333 Test #73: tests.regressions.python.python.933_arange .......................................***Failed 0.46 sec
Start 74: tests.regressions.python.python.933_eval_wrapper
74/333 Test #74: tests.regressions.python.python.933_eval_wrapper .................................***Failed 0.44 sec
Start 75: tests.regressions.python.python.936_arithmetic_operations
75/333 Test #75: tests.regressions.python.python.936_arithmetic_operations ........................***Failed 0.51 sec
Start 76: tests.regressions.python.python.942_lazy_fmap
76/333 Test #76: tests.regressions.python.python.942_lazy_fmap ....................................***Failed 0.47 sec
Start 77: tests.regressions.python.python.956_named_argument_underscore
77/333 Test #77: tests.regressions.python.python.956_named_argument_underscore ....................***Failed 0.43 sec
Start 78: tests.regressions.python.python.962_broadcast_logical_operations
78/333 Test #78: tests.regressions.python.python.962_broadcast_logical_operations .................***Failed 0.45 sec
Start 79: tests.regressions.python.python.966_named_arguments
79/333 Test #79: tests.regressions.python.python.966_named_arguments ..............................***Failed 0.41 sec
Start 80: tests.regressions.python.python.979_lazy_compilation
80/333 Test #80: tests.regressions.python.python.979_lazy_compilation .............................***Failed 0.41 sec
Start 81: tests.regressions.python.python.979_lazy_compilation_with_init
81/333 Test #81: tests.regressions.python.python.979_lazy_compilation_with_init ...................***Failed 0.48 sec
Start 82: tests.regressions.python.python.1052_variable_set_dtype
82/333 Test #82: tests.regressions.python.python.1052_variable_set_dtype ..........................***Failed 0.38 sec
Start 83: tests.regressions.python.python.1054_variable_shape
83/333 Test #83: tests.regressions.python.python.1054_variable_shape ..............................***Failed 0.43 sec
Start 84: tests.regressions.python.python.1056_client_base
84/333 Test #84: tests.regressions.python.python.1056_client_base .................................***Failed 0.41 sec
Start 85: tests.regressions.python.python.1104_no_arg_lambda
85/333 Test #85: tests.regressions.python.python.1104_no_arg_lambda ...............................***Failed 0.50 sec
Start 86: tests.regressions.python.python.1170_no_error
86/333 Test #86: tests.regressions.python.python.1170_no_error ....................................***Failed 0.43 sec
Start 87: tests.regressions.python.python.1224_dictionary_len
87/333 Test #87: tests.regressions.python.python.1224_dictionary_len ..............................***Failed 0.43 sec
Start 88: tests.regressions.python.python.1225_iterate_dictionary
88/333 Test #88: tests.regressions.python.python.1225_iterate_dictionary ..........................***Failed 0.48 sec
Start 89: tests.regressions.python.python.array_len_494
89/333 Test #89: tests.regressions.python.python.array_len_494 ....................................***Failed 0.44 sec
Start 90: tests.regressions.python.python.array_shape_486
90/333 Test #90: tests.regressions.python.python.array_shape_486 ..................................***Failed 0.43 sec
Start 91: tests.regressions.python.python.array_subscript_403
91/333 Test #91: tests.regressions.python.python.array_subscript_403 ..............................***Failed 0.47 sec
Start 92: tests.regressions.python.python.broadcasting_rules_410
92/333 Test #92: tests.regressions.python.python.broadcasting_rules_410 ...........................***Failed 0.47 sec
Start 93: tests.regressions.python.python.create_list_409
93/333 Test #93: tests.regressions.python.python.create_list_409 ..................................***Failed 0.51 sec
Start 94: tests.regressions.python.python.empty_list_509
94/333 Test #94: tests.regressions.python.python.empty_list_509 ...................................***Failed 0.50 sec
Start 95: tests.regressions.python.python.empty_list_510
95/333 Test #95: tests.regressions.python.python.empty_list_510 ...................................***Failed 0.45 sec
Start 96: tests.regressions.python.python.exception_swallowed_369
96/333 Test #96: tests.regressions.python.python.exception_swallowed_369 ..........................***Failed 0.48 sec
Start 97: tests.regressions.python.python.for_map_516
97/333 Test #97: tests.regressions.python.python.for_map_516 ......................................***Failed 0.44 sec
Start 98: tests.regressions.python.python.lambda_492
98/333 Test #98: tests.regressions.python.python.lambda_492 .......................................***Failed 0.45 sec
Start 99: tests.regressions.python.python.list_iteration_524
99/333 Test #99: tests.regressions.python.python.list_iteration_524 ...............................***Failed 0.45 sec
Start 100: tests.regressions.python.python.list_iter_space_429
100/333 Test #100: tests.regressions.python.python.list_iter_space_429 ..............................***Failed 0.49 sec
Start 101: tests.regressions.python.python.list_slice_assign_528
101/333 Test #101: tests.regressions.python.python.list_slice_assign_528 ............................***Failed 0.48 sec
Start 102: tests.regressions.python.python.name_constants_411
102/333 Test #102: tests.regressions.python.python.name_constants_411 ...............................***Failed 0.44 sec
Start 103: tests.regressions.python.python.no_parens_decorator_407
103/333 Test #103: tests.regressions.python.python.no_parens_decorator_407 .......................... Passed 0.36 sec
Start 104: tests.regressions.python.python.np_sum_489
104/333 Test #104: tests.regressions.python.python.np_sum_489 .......................................***Failed 0.41 sec
Start 105: tests.regressions.python.python.passing_compiler_state_453
105/333 Test #105: tests.regressions.python.python.passing_compiler_state_453 .......................***Failed 0.45 sec
Start 106: tests.regressions.python.python.reassign_512
106/333 Test #106: tests.regressions.python.python.reassign_512 .....................................***Failed 0.50 sec
Start 107: tests.regressions.python.python.zero_dimensional_array_502
107/333 Test #107: tests.regressions.python.python.zero_dimensional_array_502 .......................***Failed 0.52 sec
Start 108: tests.unit.algorithm.simple_als
108/333 Test #108: tests.unit.algorithm.simple_als ..................................................***Timeout 2.01 sec
Start 109: tests.unit.algorithm.simple_kmeans
109/333 Test #109: tests.unit.algorithm.simple_kmeans ...............................................***Timeout 2.01 sec
Start 110: tests.unit.ast.generate_ast
110/333 Test #110: tests.unit.ast.generate_ast ......................................................***Timeout 2.01 sec
Start 111: tests.unit.ast.match_ast
111/333 Test #111: tests.unit.ast.match_ast .........................................................***Timeout 2.00 sec
...