biometrics / openbr

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

Assertion when running unit test #397

Open terany opened 9 years ago

terany commented 9 years ago

I struggled to get the openbr run properly on the ubuntu, here is the unit test result,

Running tests... Test project /home/user/openbr/openbr/build Start 1: br_initialize 1/9 Test #1: br_initialize ...................... Passed 1.61 sec Start 2: br_objects 2/9 Test #2: br_objects ........................._Exception: Other 0.74 sec Start 3: br_draw_face_detection 3/9 Test #3: br_draw_face_detection ............._Exception: Other 0.26 sec Start 4: gender_estimation_test 4/9 Test #4: gender_estimation_test ............._Exception: Other 1.13 sec Start 5: face_recognition_search_test 5/9 Test #5: face_recognition_search_test ......._Exception: Other 0.38 sec Start 6: face_recognition_train_test 6/9 Test #6: face_recognition_train_test ........_Exception: Other 0.38 sec Start 7: age_estimation_test 7/9 Test #7: age_estimation_test ................_Exception: Other 0.43 sec Start 8: face_recognition_evaluation_test 8/9 Test #8: face_recognition_evaluation_test ..._Exception: Other 0.26 sec Start 9: face_recognition_test 9/9 Test #9: face_recognition_test .............._Exception: Other 0.43 sec

11% tests passed, 8 tests failed out of 9

Total Test time (real) = 5.74 sec

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

With refer to some threads such as https://github.com/biometrics/openbr/issues/86, someone said the QT4 would induce the problem. So I get rid of the QT4.

I've thought this could result from the different ubuntu version from the guidelines (14.04), so I've tried on 13.04, but got the same result.

terany commented 9 years ago

Could someone give clues to trace this problem?

terany commented 9 years ago

I've tried on ubuntu 13, 14 as well as OSX, the same exception is got. This appears this is problem of the head of tree. Could someone share which version is working?

rpagliuca commented 9 years ago

Today I've followed the instructions for Ubuntu 14.04 and I get almost the same results as the OP.

Running tests...
Test project /usr/local/src/openbiometrics/openbr/build
    Start 1: br_initialize
1/7 Test #1: br_initialize ......................   Passed    0.44 sec
    Start 2: gender_estimation_test
2/7 Test #2: gender_estimation_test .............***Exception: Other  6.47 sec
    Start 3: face_recognition_train_test
3/7 Test #3: face_recognition_train_test ........***Exception: Other 17.65 sec
    Start 4: age_estimation_test
4/7 Test #4: age_estimation_test ................***Exception: Other  4.17 sec
    Start 5: face_recognition_test
5/7 Test #5: face_recognition_test ..............***Exception: Other  0.42 sec
    Start 6: face_recognition_evaluation_test
6/7 Test #6: face_recognition_evaluation_test ...   Passed    0.64 sec
    Start 7: face_recognition_search_test
7/7 Test #7: face_recognition_search_test .......***Exception: SegFault  1.46 sec