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

EntityComponentManagerPerformance test is flaky #429

Open
j-rivero opened this issue Oct 27, 2020 · 2 comments
Open

EntityComponentManagerPerformance test is flaky #429

j-rivero opened this issue Oct 27, 2020 · 2 comments
Labels
performance Runtime performance tests Broken or missing tests / testing infra

Comments

@j-rivero
Copy link
Contributor

It's failing today.

Error Message

/var/lib/jenkins/workspace/ignition_gazebo-ci-ign-gazebo3-bionic-amd64/ign-gazebo/test/performance/each.cc:128
Expected: (cacheEntityAvg) < (cachelessEntityAvg), actual: 348.63 vs 251.44
Matching Entity Count =		1
Nonmatching Entity Count =	1
Each Iterations =		100
Cache total =			34863 ns
Cache avg per iter =		348.63 ns
Cache avg per iter*entity =	348.63 ns
Cacheless total =		25144 ns
Cacheless avg per iter=		251.44 ns
Cacheless avg per iter*entity=	251.44 ns

Stacktrace

/var/lib/jenkins/workspace/ignition_gazebo-ci-ign-gazebo3-bionic-amd64/ign-gazebo/test/performance/each.cc:128
Expected: (cacheEntityAvg) < (cachelessEntityAvg), actual: 348.63 vs 251.44
Matching Entity Count =		1
Nonmatching Entity Count =	1
Each Iterations =		100
Cache total =			34863 ns
Cache avg per iter =		348.63 ns
Cache avg per iter*entity =	348.63 ns
Cacheless total =		25144 ns
Cacheless avg per iter=		251.44 ns
Cacheless avg per iter*entity=	251.44 ns

@chapulina suggested to relax the conditions or disable it and ticket the problem.

@j-rivero j-rivero added the tests Broken or missing tests / testing infra label Oct 27, 2020
@osrf-triage osrf-triage added this to Inbox in Core development Oct 27, 2020
@chapulina chapulina removed this from Inbox in Core development Nov 4, 2020
@chapulina chapulina added the performance Runtime performance label Jan 5, 2021
@jacobperron
Copy link

@scpeters
Copy link
Member

this failed again in the Focal workflow #811

161/164 Test #161: PERFORMANCE_each .......................................***Failed    4.64 sec
  Running main() from /github/workspace/test/gtest/src/gtest_main.cc
  [==========] Running 1 test from 1 test suite.
  [----------] Global test environment set-up.
  [----------] 1 test from EntityComponentManagerPerfrormance
  [ RUN      ] EntityComponentManagerPerfrormance.Each
  /github/workspace/test/performance/each.cc:128: Failure
  Expected: (cacheEntityAvg) < (cachelessEntityAvg), actual: 399.429 vs 394.939
  Matching Entity Count =		510
  Nonmatching Entity Count =	10
  Each Iterations =		100
  Cache total =			20370888 ns
  Cache avg per iter =		203708.88 ns
  Cache avg per iter*entity =	399.42917647058823 ns
  Cacheless total =		20141889 ns
  Cacheless avg per iter=		201418.89000000001 ns
  Cacheless avg per iter*entity=	394.93900000000002 ns
  
  [  FAILED  ] EntityComponentManagerPerfrormance.Each (4561 ms)
  [----------] 1 test from EntityComponentManagerPerfrormance (4561 ms total)
  
  [----------] Global test environment tear-down
  [==========] 1 test from 1 test suite ran. (4561 ms total)
  [  PASSED  ] 0 tests.
  [  FAILED  ] 1 test, listed below:
  [  FAILED  ] EntityComponentManagerPerfrormance.Each
  
   1 FAILED TEST
  
          Start 162: check_PERFORMANCE_each
  162/164 Test #162: check_PERFORMANCE_each .................................   Passed    0.02 sec

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
performance Runtime performance tests Broken or missing tests / testing infra
Projects
None yet
Development

No branches or pull requests

4 participants