intel / intel/gprofiler

nodejs: perf: test_from_container failed - fibonacci application wasn't profiled

Open
#562 0 comments 0 reactions 0 assignees View on GitHub
runtime/nodejs tests
Dominant language
Python
Stars
826
Forks
79
PR merge metrics
No merged PRs in 30d

Description

Sporadic fail in `tests/test_sanity.py::test_from_container[True-nodejs-perf]`:
```
function_name = 'fibonacci'
collapsed = Counter({'0;;swapper;secondary_startup_64_no_verify_[k];start_secondary_[k];cpu_startup_entry_[k];do_idle_[k];default_...unknown];[/lib/x86_64-linux-gnu/ld-2.24.so];[/lib/x86_64-linux-gnu/ld-2.24.so];[/lib/x86_64-linux-gnu/ld-2.24.so]': 1})

def assert_function_in_collapsed(function_name: str, collapsed: StackToSampleCount) -> None:
print(f"collapsed: {collapsed}")
> assert is_function_in_collapsed(function_name, collapsed), f"function {function_name!r} missing in collapsed data!"
E AssertionError: function 'fibonacci' missing in collapsed data!

tests/utils.py:162: AssertionError
```
Looks like fibonacci application didn't start. Full logs here:
https://github.com/Granulate/gprofiler/actions/runs/3327993341/jobs/5504674315

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.