make check error in TX1
CMakeFiles/check.dir/build.make:57: recipe for target 'CMakeFiles/check' failed
Comments (13)
-
reporter -
The screenshot seems to indicate that the test
testWrap
failed. Can you runmake check
again and paste the output fromtestWrap
? I'm not positive, but I think the error pasted above is just the output frommake
shutting down ungracefully from multiple simultaneous jobs, e.g.,make -j8 check
. -
reporter This is arm 3399
3/230 Test #3: testWrap ...............................***Failed 0.05 sec <<< DIFF OUTPUT (if none, white-space differences only): 158c158 < def str(self):
def __repr__(self):
/home/firefly/golo_ws/src/gtsam/wrap/tests/testWrap.cpp:500: Failure: "files_equal(epath + "geometry.pyx", apath + "geometry.pyx" )" There were 1 failures
Start 4: testTemplate
4/230 Test
#4: testTemplate ........................... Passed 0.00 sec -
Is ARM 3399 this board? The .pyx extension in the error message leads me to believe that the issue is with the python wrapper. I've never built the python toolbox before, so I can't help. Hopefully, someone else can.
-
reporter THANKS this is TX1 error
101/230 Test
#101: testAdaptAutoDiff ......................***Failed 0.01 sec /home/nvidia/golo_ws/src/gtsam/gtsam/nonlinear/tests/testAdaptAutoDiff.cpp:240: Failure: "expected 328 but was: 336" There were 1 failures161/230 Test
#161: testGaussianBayesTreeB .................***Failed 0.02 sec not equal: expected = [ 5 0 6; 0 -11 -12 ] actual = [ -5 0 -6; 0 -11 -12 ] actual - expected = [ -10 0 -12; 0 -1.77636e-15 3.55271e-15 ] /home/nvidia/golo_ws/src/gtsam/tests/testGaussianBayesTreeB.cpp:322: Failure: "assert_equal(expectedJointJ, actualJointJ)" There were 1 failures -
I think your code might be out of date. On 2018-09-11, a fix for
testAdaptAutoDiff
on TX2 platforms was committed, and on 2018-09-28, a fix fortestGaussianBayesTreeB
on TX2 was committed. Try pulling on the TX1 again and checking once more. -
reporter this is TX1 c++: internal compiler error: Killed (program cc1plus) Please submit a full bug report, with preprocessed source if appropriate. See <file:///usr/share/doc/gcc-5/README.Bugs> for instructions. gtsam/CMakeFiles/gtsam.dir/build.make:2294: recipe for target 'gtsam/CMakeFiles/gtsam.dir/nonlinear/LevenbergMarquardtOptimizer.cpp.o' failed make[2]: [gtsam/CMakeFiles/gtsam.dir/nonlinear/LevenbergMarquardtOptimizer.cpp.o] Error 4 make[2]: Waiting for unfinished jobs.... CMakeFiles/Makefile2:1597: recipe for target 'gtsam/CMakeFiles/gtsam.dir/all' failed make[1]: [gtsam/CMakeFiles/gtsam.dir/all] Error 2 Makefile:160: recipe for target 'all' failed make: [all] Error 2 <== Failed to process package 'gtsam': Command '['/home/nvidia/golo_ws/devel_isolated/cloud_msgs/env.sh', 'make', '-j4', '-l4']' returned non-zero exit status 2
Reproduce this error by running: ==> cd /home/nvidia/golo_ws/build_isolated/gtsam && /home/nvidia/golo_ws/devel_isolated/cloud_msgs/env.sh make -j4 -l4
Command failed, exiting
-
Hi Lu jinji,, indeed, I remember Mike fixing this. Rather than the above message, which does not tell us anything, can you paste the test output as you did 2 days ago? Put please make sure to do
git checkout develop && git pull
before you do, and also paste the output ofgit log --pretty=format:'%h' -n 1
to make 100% sure you have the fixes.
-
reporter nvidia@tegra-ubuntu:~/golo_ws/src/gtsam$ git pull remote: Counting objects: 8, done. remote: Compressing objects: 100% (8/8), done. remote: Total 8 (delta 2), reused 0 (delta 0) Unpacking objects: 100% (8/8), done. From https://bitbucket.org/gtborg/gtsam ff843fc..2a0cee8 develop -> origin/develop ff2fe8a..a934e16 feature/Eigen_3.3.4 -> origin/feature/Eigen_3.3.4 Updating ff843fc..2a0cee8 Fast-forward gtsam/inference/Symbol.h | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) nvidia@tegra-ubuntu:~/golo_ws/src/gtsam$ git log --pretty=format:'%h' -n 1 2a0cee8
-
Awesome, and now run and paste output of
#! make testAdaptAutoDiff.run make testGaussianBayesTreeB.run
?
-
Lu jinji, we think maybe if you pull the current develop (after PR #330) and
make check
again, these problems might be solved. Can you try? -
Lu Jinji, I will close. If you do pull develop and still have the same problems (after clean, install, and check), feel free to re-open.
-
- changed status to closed
Waiting on repro to re-open. Probably fixed after PR #330
- Log in to comment
this is TX1 ERROR but up is arm 3399
c++: internal compiler error: Killed (program cc1plus) Please submit a full bug report, with preprocessed source if appropriate. See <file:///usr/share/doc/gcc-5/README.Bugs> for instructions. gtsam/slam/tests/CMakeFiles/testSmartProjectionCameraFactor.dir/build.make:62: recipe for target 'gtsam/slam/tests/CMakeFiles/testSmartProjectionCameraFactor.dir/testSmartProjectionCameraFactor.cpp.o' failed make[3]: [gtsam/slam/tests/CMakeFiles/testSmartProjectionCameraFactor.dir/testSmartProjectionCameraFactor.cpp.o] Error 4 CMakeFiles/Makefile2:10289: recipe for target 'gtsam/slam/tests/CMakeFiles/testSmartProjectionCameraFactor.dir/all' failed make[2]: [gtsam/slam/tests/CMakeFiles/testSmartProjectionCameraFactor.dir/all] Error 2 make[2]: Waiting for unfinished jobs.... [ 73%] Linking CXX executable testSmartFactorBase [ 73%] Built target testSmartFactorBase CMakeFiles/Makefile2:640: recipe for target 'CMakeFiles/check.dir/rule' failed make[1]: [CMakeFiles/check.dir/rule] Error 2 Makefile:221: recipe for target 'check' failed make: *** [check] Error 2