The beta-publish-deb job keeps failing to fetch *.deb artifacts from the parent job scap-beta-deb. The console shows:
ERROR: Failed to copy artifacts from scap-beta-deb with filter: *.deb
The beta-publish-deb job keeps failing to fetch *.deb artifacts from the parent job scap-beta-deb. The console shows:
ERROR: Failed to copy artifacts from scap-beta-deb with filter: *.deb
Subject | Repo | Branch | Lines +/- | |
---|---|---|---|---|
jjb: fix race in beta-publish-deb | integration/config | master | +9 -5 |
I am pretty sure it is a race condition, the sequence would be:
scap-beta-deb passes and is a success |
scap-beta-deb triggers beta-publish-deb job without waiting |
beta-publish-deb looks for the last successful scap-beta-deb build and tries to retrieve the artifacts. It fails |
scap-beta-deb archives the artifacts |
Change 585506 had a related patch set uploaded (by Hashar; owner: Hashar):
[integration/config@master] jjb: fix race in beta-publish-deb
I find it odd that the "Failed to copy artifacts" error happens so often. It happens, in fact, almost every time.
Mentioned in SAL (#wikimedia-releng) [2020-04-02T15:20:14Z] <hashar> Updated https://integration.wikimedia.org/ci/job/scap-beta-deb # T249225
So now we have the proper order:
00:01:28.287 Archiving artifacts 00:01:28.424 [PostBuildScript] - [INFO] Executing post build scripts. 00:01:28.425 Waiting for the completion of beta-publish-deb 00:01:28.480 beta-publish-deb #470 started.
:]
Change 585506 merged by jenkins-bot:
[integration/config@master] jjb: fix race in beta-publish-deb