-
Notifications
You must be signed in to change notification settings - Fork 4
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
Documentation/advice on differences of direct vs codspeed runner test execution #93
Comments
Since the action runs the provided |
Thanks for the pointer. This now makes clear what is being executed. I am posting the example of my usecase below (slightly formatted for better readability).
This indicates that the PATH is properly propagated. I tried reproducing the behavior locally with this valgrind call pattern. On the test system (Debian sid), git-annex is installed as an official system package, with no PATH manipulation necessary:
The benchmarks run fine with
Switching to
Importantly, the failure pattern is different locally from what is happening in the github action CI run. It looks like some kind of race condition. These particular benchmarks call out to various Git and git-annex command line tools. It seems that the valgrind wrapping of such subprocesses causes significant changes in their behavior. That being said: from a benchmarking perspective, I am not interested in what these external tools do exactly. I am only interested in the performance of the Python code that calls out to them. Would it be sensible to turn off the subprocess tracing? And if so, is this somehow possible from the outside? |
In datalad/datalad-next#644 I have added benchmarks and a codspeed Github action. Benchmarks run fine locally and in the action via
python -m pytest --codspeed datalad_next
(see "Debug" step).However, when executed within CodSpeedHQ/action@v2 the execution fails, because a required command is not found. This is independent of whether that command is installed via the method in the PR, or as an Ubuntu system package.
Can you advice on what to do in this case? Are there additional requirements to be met for compatibility with the codspeed runner?
Thanks in advance!
The text was updated successfully, but these errors were encountered: