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

support test execution in custom directory #4

Open
amcnicho opened this issue Oct 13, 2021 · 0 comments
Open

support test execution in custom directory #4

amcnicho opened this issue Oct 13, 2021 · 0 comments
Assignees
Labels
enhancement New feature or request

Comments

@amcnicho
Copy link
Member

Some machines (such as NRAO cvpost nodes or ESO Jenkins perf containers) have smaller allocation of space to filesystems mounted at the default location of asv's runner. This can cause test failures, e.g., OSError: [Errno 28] No space left on device: '/tmp/tmp5fmsc3vi'. Not all users will have easy ability to reconfigure their machines to prevent this class of errors but that should not preclude running benchmarks on those platforms.

Refactoring the setup methods to not copy data locally helps, but not for tasks that produce large volume of output data -- which may eventually be required. Therefore it will be useful to configure asv with explicitly specified test location. Also it would have the tangential benefit of facilitating benchmarks that compare test execution with data on disk locally vs. shared file systems.

The definition of _run_benchmark_single_param includes a parameter cwd that, if accessible through the API, should allow for this.

@amcnicho amcnicho added the enhancement New feature or request label Oct 13, 2021
@amcnicho amcnicho self-assigned this Oct 14, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant