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

Datareposrc Occasional Unit Test Error #4287

Open
myungjoo opened this issue Oct 16, 2023 · 4 comments
Open

Datareposrc Occasional Unit Test Error #4287

myungjoo opened this issue Oct 16, 2023 · 4 comments
Assignees
Labels
bug Something isn't working
Milestone

Comments

@myungjoo
Copy link
Member

myungjoo commented Oct 16, 2023

We still have the following occasional error:

[  283s] [       OK ] datareposrc.readTensors (8 ms)
[  283s] [ RUN      ] datareposrc.readFlexibleTensors
[  286s] [       OK ] datareposrc.readFlexibleTensors (2939 ms)
[  286s] [ RUN      ] datareposrc.fps30ReadFlexibleTensors
[  287s] Elapsed time: 0.320374 second
[  287s] ../tests/nnstreamer_datarepo/unittest_datareposrc.cc:686: Failure
[  287s] Expected: (0.8) < (elapsed_time), actual: 0.8 vs 0.320374
[  287s] Elapsed time: 0.000820 second
[  288s] Elapsed time: 1.001003 second
[  288s] [  FAILED  ] datareposrc.fps30ReadFlexibleTensors (1671 ms)
[  288s] [ RUN      ] datareposrc.readSparseTensors

@songgot, please address this issue without removing the test case.
There can be an error in datareposrc's data-generating logic that breaks the timing requirement from the .json file.

We have this issue even with documentation updates:

[238/239] Compiling C++ object 'tests/nnstreamer_datarepo/8107b62@@unittest_datareposrc@exe/gtest-all.cc.o'.
[239/239] Linking target tests/nnstreamer_datarepo/unittest_datareposrc.
 1/17 unittest_common                         OK       0.48 s 
 2/17 unittest_sink                           OK      32.16 s 
 3/17 unittest_tensor_region                  OK       1.08 s 
 4/17 unittest_plugins                        OK      17.19 s 
 5/17 unittest_if                             OK       4.94 s 
 6/17 unittest_rate                           OK       0.37 s 
 7/17 unittest_latency                        OK      13.07 s 
 8/17 unittest_filter_single                  OK       0.01 s 
 9/17 unittest_join                           OK       0.67 s 
10/17 unittest_src_iio                        OK      30.64 s 
11/17 unittest_filter_custom                  OK       2.58 s 
12/17 unittest_tizen_custom                   OK       0.01 s 
13/17 unittest_tizen_custom-set               OK       0.01 s 
14/17 unittest_cppfilter                      OK       0.52 s 
15/17 unittest_datareposink                   OK       2.22 s 
16/17 unittest_datareposrc                    FAIL    10.16 s (exit status 1)
17/17 unittest_trainer                        OK       0.04 s 
@myungjoo myungjoo added the bug Something isn't working label Oct 16, 2023
@taos-ci
Copy link
Collaborator

taos-ci commented Oct 16, 2023

:octocat: cibot: Thank you for posting issue #4287. The person in charge will reply soon.

@myungjoo myungjoo added this to the 2024 Official milestone Oct 20, 2023
@myungjoo myungjoo added this to To Do in Tizen Releases and Products via automation Oct 20, 2023
@myungjoo
Copy link
Member Author

@songgot #4351 shows this error again:

[ RUN      ] datareposrc.fps30ReadFlexibleTensors
Elapsed time: 0.787676 second
../tests/nnstreamer_datarepo/unittest_datareposrc.cc:670: Failure
Expected: (0.8) < (elapsed_time), actual: 0.8 vs 0.787676
Elapsed time: 0.008762 second

@myungjoo
Copy link
Member Author

Happened again:

[ RUN      ] datareposrc.fps30ReadFlexibleTensors
Elapsed time: 0.322722 second
../tests/nnstreamer_datarepo/unittest_datareposrc.cc:670: Failure
Expected: (0.8) < (elapsed_time), actual: 0.8 vs 0.322722
Elapsed time: 0.007630 second
[  FAILED  ] datareposrc.fps30ReadFlexibleTensors (766 ms)

@myungjoo
Copy link
Member Author

[ RUN      ] datareposrc.fps30ReadFlexibleTensors
Elapsed time: 0.653894 second
../tests/nnstreamer_datarepo/unittest_datareposrc.cc:670: Failure
Expected: (0.8) < (elapsed_time), actual: 0.8 vs 0.653894
Elapsed time: 0.002627 second
[  FAILED  ] datareposrc.fps30ReadFlexibleTensors (1068 ms)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
Development

No branches or pull requests

3 participants