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

45216 continuousbenchmarking nuketmp 20161006 5 #2298

Merged
merged 9 commits into from Oct 7, 2016

Conversation

Projects
None yet
3 participants
@ashawnbandy-te-tfb
Contributor

ashawnbandy-te-tfb commented Oct 6, 2016

As it stands currently, many frameworks are writing to /tmp. So many, in fact, that in our testing environment the pool of inodes are exhausted which causes tests needing to write anything to fail. This commit introduces work to remove files that are generated by a test after that test is done. Note: there is no attempt to remove all files from /tmp (i.e. sudo is not used, nor is the search recursive).

ashawnbandy-te-tfb added some commits Sep 30, 2016

Merge branch 'master' of github.com:TechEmpower/FrameworkBenchmarks i…
…nto 45216-continusoutbenchmarks-updates-20161003-asb-1
Merge branch 'master' of github.com:TechEmpower/FrameworkBenchmarks i…
…nto 45216-continusoutbenchmarks-updates-20161003-asb-1
45216 - As it stands currently, many frameworks are writing to /tmp. …
…So many, in fact, that in our testing environment the pool of inodes are exhausted which causes tests needing to write anything to fail. This commit introduces work to remove files that are generated by a test after that test is done. Note: there is no attempt to remove all files from /tmp (i.e. sudo is not used, nor is the search recursive).
@knewmanTE

This comment has been minimized.

Show comment
Hide comment
@knewmanTE

knewmanTE Oct 6, 2016

Contributor

Could this cause any problems for users who aren't running the testing suite in an isolated VM?

Contributor

knewmanTE commented Oct 6, 2016

Could this cause any problems for users who aren't running the testing suite in an isolated VM?

@ashawnbandy-te-tfb

This comment has been minimized.

Show comment
Hide comment
@ashawnbandy-te-tfb

ashawnbandy-te-tfb Oct 6, 2016

Contributor

That's a really good question. The short answer is "Yes, but really it shouldn't." This will only remove files out of /tmp that are owned (or otherwise writable) by the user that is running benchmarker.py. We should probably document this in the setup instructions for the suite.

Contributor

ashawnbandy-te-tfb commented Oct 6, 2016

That's a really good question. The short answer is "Yes, but really it shouldn't." This will only remove files out of /tmp that are owned (or otherwise writable) by the user that is running benchmarker.py. We should probably document this in the setup instructions for the suite.

@knewmanTE

This comment has been minimized.

Show comment
Hide comment
@knewmanTE

knewmanTE Oct 6, 2016

Contributor

@ashawnbandy-te-tfb document telling users that they should be running in an isolated environment, or telling users that it will only be deleting tmp files owned by testrunner?

Contributor

knewmanTE commented Oct 6, 2016

@ashawnbandy-te-tfb document telling users that they should be running in an isolated environment, or telling users that it will only be deleting tmp files owned by testrunner?

@ashawnbandy-te-tfb

This comment has been minimized.

Show comment
Hide comment
@ashawnbandy-te-tfb

ashawnbandy-te-tfb Oct 6, 2016

Contributor

I would say probably a caution that one should not use one's regular user to run tests in an environment where erasing files out of /tmp would be a problem. The worst case should not be all that bad: /tmp is meant to be temporary in nature.

Contributor

ashawnbandy-te-tfb commented Oct 6, 2016

I would say probably a caution that one should not use one's regular user to run tests in an environment where erasing files out of /tmp would be a problem. The worst case should not be all that bad: /tmp is meant to be temporary in nature.

@ashawnbandy-te-tfb

This comment has been minimized.

Show comment
Hide comment
@ashawnbandy-te-tfb

ashawnbandy-te-tfb Oct 7, 2016

Contributor

@knewmanTE suggested adding a command line switch to turn on this feature (i.e. by default no files are removed). I will add that and re-open this PR when it is complete.

Contributor

ashawnbandy-te-tfb commented Oct 7, 2016

@knewmanTE suggested adding a command line switch to turn on this feature (i.e. by default no files are removed). I will add that and re-open this PR when it is complete.

@knewmanTE

This comment has been minimized.

Show comment
Hide comment
@knewmanTE

knewmanTE Oct 7, 2016

Contributor

@ashawnbandy-te-tfb you can also just add "WIP" to the title of the task to indicate that it is a work in progress!

Contributor

knewmanTE commented Oct 7, 2016

@ashawnbandy-te-tfb you can also just add "WIP" to the title of the task to indicate that it is a work in progress!

@knewmanTE knewmanTE merged commit 59e3ed3 into TechEmpower:master Oct 7, 2016

1 check was pending

continuous-integration/travis-ci/pr The Travis CI build is in progress
Details
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment