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

ShapeFeaturesFixture test failes on i386 #248

Open
j-rivero opened this issue Apr 19, 2021 · 0 comments
Open

ShapeFeaturesFixture test failes on i386 #248

j-rivero opened this issue Apr 19, 2021 · 0 comments
Assignees
Labels
bug Something isn't working tests Broken or missing tests / testing infra

Comments

@j-rivero
Copy link
Contributor

j-rivero commented Apr 19, 2021

Environment

Description

  • Expected behavior: test pass
  • Actual behavior: test fails with bad expected values

Steps to reproduce

  1. From source build of 4.0.1 version inside a docker container. I can try to attaching a custom docker file to reproduce the problem.

Output

60/91 Test #60: UNIT_ShapeFeatures_TEST .....................***Failed    0.88 sec
[==========] Running 2 tests from 1 test case.
[----------] Global test environment set-up.
[----------] 2 tests from ShapeFeaturesFixture
[ RUN      ] ShapeFeaturesFixture.PrimarySlipCompliance
Scaled difference in vectors: 0.312498 | Difference: 0.312498 | Scale: 1 | (Tolerance: 0.0001)
/home/jenkins/workspace/ign-physics4-debbuilder/build/ignition-physics-4.0.0/dartsim/src/ShapeFeatures_TEST.cc:198: Failure
primarySlip * cmdForce and (frameData.linearVelocity) ([0.5   0   0] and [    0.18750187500000556 -1.6987653557269047e-19  4.0716280366776125e-13]) are not equal
[  FAILED  ] ShapeFeaturesFixture.PrimarySlipCompliance (411 ms)
[ RUN      ] ShapeFeaturesFixture.SecondarySlipCompliance
Scaled difference in vectors: 0.156248 | Difference: 0.156248 | Scale: 1 | (Tolerance: 0.0001)
/home/jenkins/workspace/ign-physics4-debbuilder/build/ignition-physics-4.0.0/dartsim/src/ShapeFeatures_TEST.cc:257: Failure
secondarySlip * cmdForce and (frameData.linearVelocity) ([   0 0.25    0] and [1.6493902882390846e-17    0.09375187499999367 4.0716162078801493e-13]) are not equal
[  FAILED  ] ShapeFeaturesFixture.SecondarySlipCompliance (392 ms)
[----------] 2 tests from ShapeFeaturesFixture (803 ms total)
@j-rivero j-rivero added bug Something isn't working tests Broken or missing tests / testing infra labels Apr 19, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working tests Broken or missing tests / testing infra
Projects
None yet
Development

No branches or pull requests

1 participant