weixin_39611389 2020-11-30 02:43
浏览 0

failed to test on ubuntu 12.04

Original issue 43 created by sandwichmaker on 2012-06-10T02:57:02.000Z:

The system_test fails on ceres-solver 1.2.0 It doesn't occur on 1.1.1

Operating system: Ubuntu 12.04 (32bit, 64bit) glog: 3.2.0 gflags: 2.0

The following is the output of the test suite.

Running tests... /usr/bin/ctest --force-new-ctest-process -j1 Test project /build/buildd/ceres-solver-1.2.0/obj-x86_64-linux-gnu Start 1: array_utils_test 1/42 Test # 1: array_utils_test .......................... Passed 0.06 sec Start 2: autodiff_test 2/42 Test # 2: autodiff_test ............................. Passed 0.05 sec Start 3: autodiff_cost_function_test 3/42 Test # 3: autodiff_cost_function_test ............... Passed 0.04 sec Start 4: block_random_access_dense_matrix_test 4/42 Test # 4: block_random_access_dense_matrix_test ..... Passed 0.08 sec Start 5: block_random_access_sparse_matrix_test 5/42 Test # 5: block_random_access_sparse_matrix_test .... Passed 0.09 sec Start 6: block_sparse_matrix_test 6/42 Test # 6: block_sparse_matrix_test .................. Passed 0.07 sec Start 7: canonical_views_clustering_test 7/42 Test # 7: canonical_views_clustering_test ........... Passed 0.05 sec Start 8: compressed_row_sparse_matrix_test 8/42 Test # 8: compressed_row_sparse_matrix_test ......... Passed 0.07 sec Start 9: conditioned_cost_function_test 9/42 Test # 9: conditioned_cost_function_test ............ Passed 0.06 sec Start 10: corrector_test 10/42 Test # 10: corrector_test ............................ Passed 0.20 sec Start 11: dense_sparse_matrix_test 11/42 Test # 11: dense_sparse_matrix_test .................. Passed 2.24 sec Start 12: evaluator_test 12/42 Test # 12: evaluator_test ............................ Passed 0.11 sec Start 13: gradient_checking_cost_function_test 13/42 Test # 13: gradient_checking_cost_function_test ...... Passed 0.09 sec Start 14: graph_test 14/42 Test # 14: graph_test ................................ Passed 0.06 sec Start 15: graph_algorithms_test 15/42 Test # 15: graph_algorithms_test ..................... Passed 0.06 sec Start 16: implicit_schur_complement_test 16/42 Test # 16: implicit_schur_complement_test ............ Passed 0.14 sec Start 17: iterative_schur_complement_solver_test 17/42 Test # 17: iterative_schur_complement_solver_test .... Passed 0.22 sec Start 18: jet_test 18/42 Test # 18: jet_test .................................. Passed 0.06 sec Start 19: levenberg_marquardt_strategy_test 19/42 Test # 19: levenberg_marquardt_strategy_test ......... Passed 0.09 sec Start 20: local_parameterization_test 20/42 Test # 20: local_parameterization_test ............... Passed 0.14 sec Start 21: loss_function_test 21/42 Test # 21: loss_function_test ........................ Passed 0.04 sec Start 22: normal_prior_test 22/42 Test # 22: normal_prior_test ......................... Passed 0.05 sec Start 23: numeric_diff_cost_function_test 23/42 Test # 23: numeric_diff_cost_function_test ........... Passed 0.07 sec Start 24: parameter_block_test 24/42 Test # 24: parameter_block_test ...................... Passed 0.10 sec Start 25: partitioned_matrix_view_test 25/42 Test # 25: partitioned_matrix_view_test .............. Passed 0.07 sec Start 26: problem_test 26/42 Test # 26: problem_test .............................. Passed 0.17 sec Start 27: residual_block_test 27/42 Test # 27: residual_block_test ....................... Passed 0.07 sec Start 28: residual_block_utils_test 28/42 Test # 28: residual_block_utils_test ................. Passed 0.04 sec Start 29: rotation_test 29/42 Test # 29: rotation_test ............................. Passed 0.71 sec Start 30: runtime_numeric_diff_cost_function_test 30/42 Test # 30: runtime_numeric_diff_cost_function_test ... Passed 0.27 sec Start 31: schur_complement_solver_test 31/42 Test # 31: schur_complement_solver_test .............. Passed 0.16 sec Start 32: schur_eliminator_test 32/42 Test # 32: schur_eliminator_test ..................... Passed 79.75 sec Start 33: schur_ordering_test 33/42 Test # 33: schur_ordering_test ....................... Passed 0.05 sec Start 34: solver_impl_test 34/42 Test # 34: solver_impl_test .......................... Passed 0.21 sec Start 35: suitesparse_test 35/42 Test # 35: suitesparse_test .......................... Passed 0.07 sec Start 36: symmetric_linear_solver_test 36/42 Test # 36: symmetric_linear_solver_test .............. Passed 0.15 sec Start 37: triplet_sparse_matrix_test 37/42 Test # 37: triplet_sparse_matrix_test ................ Passed 0.05 sec Start 38: trust_region_minimizer_test 38/42 Test # 38: trust_region_minimizer_test ............... Passed 0.01 sec Start 39: unsymmetric_linear_solver_test 39/42 Test # 39: unsymmetric_linear_solver_test ............ Passed 0.03 sec Start 40: visibility_test 40/42 Test # 40: visibility_test ........................... Passed 0.01 sec Start 41: visibility_based_preconditioner_test 41/42 Test # 41: visibility_based_preconditioner_test ...... Passed 0.20 sec Start 42: system_test 42/42 Test # 42: system_test ...............................***Exception: Other321.06 sec [==========] Running 2 tests from 1 test case. [----------] Global test environment set-up. [----------] 2 tests from SystemTest [ RUN ] SystemTest.PowellsFunction [ OK ] SystemTest.PowellsFunction (3 ms) [ RUN ] SystemTest.BundleAdjustmentProblem CHOLMOD warning: matrix not positive definite CHOLMOD warning: matrix not positive definite CHOLMOD warning: matrix not positive definite CHOLMOD warning: matrix not positive definite CHOLMOD warning: matrix not positive definite CHOLMOD warning: matrix not positive definite CHOLMOD warning: matrix not positive definite CHOLMOD warning: matrix not positive definite CHOLMOD warning: matrix not positive definite CHOLMOD warning: matrix not positive definite CHOLMOD warning: matrix not positive definite CHOLMOD warning: matrix not positive definite CHOLMOD warning: matrix not positive definite CHOLMOD warning: matrix not positive definite CHOLMOD warning: matrix not positive definite CHOLMOD warning: matrix not positive definite CHOLMOD warning: matrix not positive definite CHOLMOD warning: matrix not positive definite CHOLMOD warning: matrix not positive definite CHOLMOD warning: matrix not positive definite CHOLMOD warning: matrix not positive definite CHOLMOD warning: matrix not positive definite CHOLMOD warning: matrix not positive definite CHOLMOD warning: matrix not positive definite

98% tests passed, 1 tests failed out of 42

Total Test time (real) = 408.66 sec

The following tests FAILED: 42 - system_test (OTHER_FAULT) Errors while running CTest make[1]: *** [test] Error 8

该提问来源于开源项目:ceres-solver/ceres-solver

  • 写回答

8条回答 默认 最新

  • weixin_39611389 2020-11-30 02:43
    关注

    Comment #1 originally posted by sandwichmaker on 2012-06-10T06:23:40.000Z:

    Hi Koichi,

    I think this is a timeout issue and not a test failure. on my machine make test runs fine in about 181 seconds. My guess is that your machine is a bit slower and cmake is timing out. The reason is that now that we have cxsparse support, the number of tests in system_test has increased further, making it an even more expensive test.

    Could you run the system_test manually on your machine (assuming you built inside ceres-solver-1.2.0/build)

    ./internal/ceres/system_test -test_srcdir=../data

    and see if you still get a test failure?

    评论

报告相同问题?