-
Notifications
You must be signed in to change notification settings - Fork 20
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
Build race condition #727
Build race condition #727
Conversation
…-race-condition Resolve bad repo state
@@ -166,7 +166,8 @@ def log_updated(self) -> Union[float, None]: | |||
except OSError: | |||
return None | |||
|
|||
def create_build_hash(self) -> str: | |||
@property | |||
def build_hash(self) -> str: |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Cache this to a self._build_hash
.
lib/pavilion/series/test_set.py
Outdated
|
||
for test in local_builds: | ||
hash_thread = threading.Thread( | ||
target=test.build, | ||
args=(self.mb_tracker) | ||
) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Delete
lib/pavilion/test_run/test_run.py
Outdated
if not self.build_origin_path.exists(): | ||
tracker.warn(f"Build origin path {self.build_origin_path} does not exist.", | ||
state=self.status.states.WARNING) | ||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Delete
Code review checklist: