biometrics / openbr

Open Source Biometrics, Face Recognition
www.openbiometrics.org
Other
2.85k stars 773 forks source link

Make test Error (Errors while running CTest) #494

Open dilawarali5 opened 8 years ago

dilawarali5 commented 8 years ago

After downloading dataset make test give errors

dilawarali@l402m:~/openbr/build$ make test Running tests... Test project /home/dilawarali/openbr/build Start 1: br_initialize 1/7 Test #1: br_initialize ...................... Passed 2.29 sec Start 2: face_recognition_search_test 2/7 Test #2: face_recognition_search_test ......._Exception: SegFault 3.01 sec Start 3: face_recognition_train_test 3/7 Test #3: face_recognition_train_test ........ Passed 192.30 sec Start 4: gender_estimation_test 4/7 Test #4: gender_estimation_test ............._Exception: Other 21.93 sec Start 5: face_recognition_evaluation_test 5/7 Test #5: face_recognition_evaluation_test ... Passed 4.80 sec Start 6: face_recognition_test 6/7 Test #6: face_recognition_test .............._Exception: Other 1.23 sec Start 7: age_estimation_test 7/7 Test #7: age_estimation_test ................_Exception: Other 7.05 sec

43% tests passed, 4 tests failed out of 7

Total Test time (real) = 234.04 sec

The following tests FAILED: 2 - face_recognition_search_test (SEGFAULT) 4 - gender_estimation_test (OTHER_FAULT) 6 - face_recognition_test (OTHER_FAULT) 7 - age_estimation_test (OTHER_FAULT) Errors while running CTest Makefile:149: recipe for target 'test' failed make: *\ [test] Error 8

EWER115 commented 7 years ago

Hi! Try to re-run the script that downloads the data (downloadDatasets.sh). The problem in my case was that not all the data was downloaded properly.

OS: Ubuntu 16.04 openCV: 2.4.13 Qt: 5.5.1

fananimi commented 5 years ago

I also facing the same problem.

Here my environment: OS Version: OsX version 10.14.3 Cmake Version: 3.13.0 OpenCV: OpenCV 2.4.11

And here the logs: $ make test Running tests... Test project ~/Documents/Project/openbr/build Start 1: br_initialize 1/7 Test #1: br_initialize ...................... Passed 0.31 sec Start 2: age_estimation_test 2/7 Test #2: age_estimation_test ................Child abortedException: 0.46 sec Start 3: face_recognition_test 3/7 Test #3: face_recognition_test ..............Child abortedException: 0.78 sec Start 4: face_recognition_evaluation_test 4/7 Test #4: face_recognition_evaluation_test ...Child abortedException: 0.49 sec Start 5: face_recognition_search_test 5/7 Test #5: face_recognition_search_test .......Child abortedException: 0.78 sec Start 6: face_recognition_train_test 6/7 Test #6: face_recognition_train_test ........Child abortedException: 0.34 sec Start 7: gender_estimation_test 7/7 Test #7: gender_estimation_test .............Child abortedException: 0.34 sec

14% tests passed, 6 tests failed out of 7

Total Test time (real) = 3.53 sec

The following tests FAILED: 2 - age_estimation_test (Child aborted) 3 - face_recognition_test (Child aborted) 4 - face_recognition_evaluation_test (Child aborted) 5 - face_recognition_search_test (Child aborted) 6 - face_recognition_train_test (Child aborted) 7 - gender_estimation_test (Child aborted) Errors while running CTest make: *** [test] Error 8