-
Notifications
You must be signed in to change notification settings - Fork 1
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
Testing bot PR263 by building and uploading CaDiCaL #73
base: nessi.no-2023.06
Are you sure you want to change the base?
Conversation
Instance
|
bot: build repo:swl-deb10 arch:zen2 |
Updates by the bot instance
|
New job on instance
|
New job on instance
|
New job on instance
|
New job on instance
|
All 4 builds jobs launched via (#73 (comment)) have finished. Job The bot's configuration when processing the bucket_name = {
"nessi-2022.11-swl-deb10": "dev-pr254-3",
"nessi-2023.06-swl-deb10": "dev-pr254-2",
"nessi-2023.06-swl-deb11": "dev-pr254"}
upload_policy = latest
metadata_prefix = {
"nessi-2022.11-swl-deb10": "new11-10/'${github_repository}'/'${pull_request_number}'",
"nessi-2023.06-swl-deb10": "new06-10/'${github_repository}'/'${pull_request_number}'",
"nessi-2023.06-swl-deb11": "new06-11/'${github_repository}'/'${pull_request_number}'"}
tarball_prefix = {
"nessi-2022.11-swl-deb10": "tb22.11/'${github_repository}'/'${pull_request_number}'",
"nessi-2023.06-swl-deb10": "tb23.06-deb10/'${github_repository}'/'${pull_request_number}'",
"nessi-2023.06-swl-deb11": "tb23.06-deb11/'${github_repository}'/'${pull_request_number}'"} |
None of the successful jobs was accurately identified as
|
Added a bit more logging output. |
The string values seem ok. Changed the comparison operator too. diff --git a/tasks/deploy.py b/tasks/deploy.py
index 7855416..7092545 100644
--- a/tasks/deploy.py
+++ b/tasks/deploy.py
@@ -189,7 +189,9 @@ def check_job_status(job_dir):
log(f"{fn}(): no result file '{job_result_file_path}' or reading it failed\n")
return False
- if job_status is job_metadata.JOB_RESULT_SUCCESS:
+ log(f"{fn}(): job status is {job_status} (compare against {job_metadata.JOB_RESULT_SUCCESS})\n")
+
+ if job_status == job_metadata.JOB_RESULT_SUCCESS:
# case (2): result file && status = SUCCESS --> return True
log(f"{fn}(): found status 'SUCCESS' from '{job_result_file_path}'\n")
return True |
Rerun builds after updates to bot PR (also removed unused settings in bot: build repo:swl-deb10 arch:zen2 |
Updates by the bot instance
|
New job on instance
|
New job on instance
|
New job on instance
|
New job on instance
|
Same build result as before. Re-setting |
Some config settings weren't updated which lead to the error
|
PR to test new deploy code relying on result files ... see EESSI/eessi-bot-software-layer#263
Software to be installed:
Test scenarios:
bot:deploy
label and check what gets uploaded and where (which S3 buckets). Documentupload_policy
,_prefix
settings for upload directories, bucket specs, ...