Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Assertion when running unit test #397

Open
terany opened this issue Jul 13, 2015 · 3 comments
Open

Assertion when running unit test #397

terany opened this issue Jul 13, 2015 · 3 comments

Comments

@terany
Copy link

terany commented Jul 13, 2015

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 #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
Copy link
Author

terany commented Jul 15, 2015

Could someone give clues to trace this problem?

@terany
Copy link
Author

terany commented Jul 17, 2015

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
Copy link

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants