Skip to content
This repository has been archived by the owner on May 6, 2021. It is now read-only.

cleanup virtualenv found in /tmp #71

Merged
merged 1 commit into from Apr 5, 2016
Merged

cleanup virtualenv found in /tmp #71

merged 1 commit into from Apr 5, 2016

Conversation

ghost
Copy link

@ghost ghost commented Apr 5, 2016

Before building we need to get rid of virtualenv created in /tmp as they
may not contain what we expect.

Signed-off-by: Loic Dachary loic@dachary.org

@ghost ghost assigned jdurgin Apr 5, 2016
@tchaikov
Copy link
Contributor

tchaikov commented Apr 5, 2016

might want to Fixes: http://tracker.ceph.com/issues/15375?

@jdurgin
Copy link
Member

jdurgin commented Apr 5, 2016

lgtm, didn't realize the check bot used this too

Before building we need to get rid of virtualenv created in /tmp as they
may not contain what we expect.

Fixes: http://tracker.ceph.com/issues/15375

Signed-off-by: Loic Dachary <loic@dachary.org>
@ghost
Copy link
Author

ghost commented Apr 5, 2016

@tchaikov repushed thanks :-)

@ghost
Copy link
Author

ghost commented Apr 5, 2016

@jdurgin I tried to go in the direction of having pip installed modules instead of python files that are moved around. The make check needs to know where the ceph-disk and ceph-detect-init modules have been built (i.e. pip install -e), which happens during make all. It is removed by make clean but ... if a build fails and aborts before make clean gets a chance to run, make all will not pip install -e and I think that's what we're having. I'm not 100% sure but that seems a plausible theory at the moment :-)

@liewegas liewegas merged commit a5ff090 into ceph:master Apr 5, 2016
@markhpc
Copy link
Member

markhpc commented Apr 6, 2016

This is better than before, but anything that goes in /tmp should have some kind of unique identifier so that multiple concurrent builds by different users don't fail. See: http://tracker.ceph.com/issues/15385

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants