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

test_pendulum failing with nonsensical statistics on linux-aarch64 #386

Closed
rotu opened this issue Aug 12, 2019 · 2 comments · Fixed by #385
Closed

test_pendulum failing with nonsensical statistics on linux-aarch64 #386

rotu opened this issue Aug 12, 2019 · 2 comments · Fixed by #385

Comments

@rotu
Copy link
Contributor

rotu commented Aug 12, 2019

Bug report

Required Info:

  • Operating System:
    • Jenkins Linux Arm64
  • Installation type:
    • From Source
  • Version or commit hash:
    • 9efc94fce1123870c9bad33c966a5d81c977826a
  • DDS implementation:
    • OpenSplice
  • Client library (if applicable):
    • N/A

Steps to reproduce issue

Run CI with OpenSplice

Expected behavior

Test "test_pendulum__rmw_opensplice_cpp" passes.

Actual behavior

Test fails and reports absurd statistics. Current latency is very high (1.7 seconds), mean latency is absurdly high (uninitialized memory?). Min latency is higher than max latency. Number of pagefaults is also absurd.

[INFO] [pendulum_demo-2]: process started with pid [55617]
[pendulum_demo-2] Couldn't set scheduling priority and policy: Operation not permitted
[pendulum_demo-2] mlockall failed: Cannot allocate memory
[pendulum_demo-2] Couldn't lock all cached virtual memory.
[pendulum_demo-2] Pagefaults from reading pages not yet mapped into RAM will be recorded.
[pendulum_logger-1] Logger node initialized.
[pendulum_logger-1] Commanded motor angle: 1.570796
[pendulum_logger-1] Actual motor angle: 1.561280
[pendulum_logger-1] Current latency: 1699557180 ns
[pendulum_logger-1] Mean latency: 4458224516038787409289673575093816669551304146650037671236339690561781237058564279746291212376660112936812899278369000229134709514347391053183640763362416971774278560649182152566312699581486525144027387385646723574136033038253156096752904762288198647808.000000 ns
[pendulum_logger-1] Min latency: 1835355439 ns
[pendulum_logger-1] Max latency: 1047684450 ns
[pendulum_logger-1] Minor pagefaults during execution: 8459008377404276325
[pendulum_logger-1] Major pagefaults during execution: 7237087991477200236
[pendulum_logger-1]

https://ci.ros2.org/job/ci_linux-aarch64/3926/testReport/junit/projectroot/test_pendulum__rmw_opensplice_cpp/test_pendulum__rmw_opensplice_cpp/

@rotu
Copy link
Contributor Author

rotu commented Aug 12, 2019

Discovered when doing PR ros2/rosidl_typesupport_opensplice#34
@clalancette

@rotu rotu changed the title test_pendulum has nonsensical mean latency on linux-aarch64 test_pendulum has nonsensical statistics on linux-aarch64 Aug 12, 2019
@rotu rotu changed the title test_pendulum has nonsensical statistics on linux-aarch64 test_pendulum failing with nonsensical statistics on linux-aarch64 Aug 12, 2019
@rotu
Copy link
Contributor Author

rotu commented Sep 23, 2019

Woohoo! Thanks, @clalancette

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

Successfully merging a pull request may close this issue.

1 participant