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
FetchArtifact fetches older version of an artifact and not the latest #6262
Comments
@ProcessMaster Do the 9 upstream pipelines share any (repo) materials? |
If possible, post a screenshot of the VSM please. |
The first 9 pipelines use the same git repo but they are independent. Not sure what did you mean by sharing. |
Any update on this? Thanks. |
No. I haven't had a chance to look. I think this has something to do with fan-in, but it's probably easiest to find out if I set this up and reproduce it. |
@ProcessMaster I tried the setup and wasn't able to replicate on both latest and 19.1.0 version of GoCD. I tried below:
I've pushed all the pipelines configuration to a config-repo here: https://github.com/ankitsri11/testing-6262 My current suspicion is that the behavior you are seeing could happen if the upstream pipeline was manually triggered in between the downstream pipeline was running. In that case, the downstream pipeline will fetch the older artifact and not the latest. |
No response. Stale. Closing. |
Issue Type
Summary
I have 9 pipelines that produce an artifact each that is a file with just one string of about 200 char. I have another pipeline that fetches all those artifacts before doing something. I noticed today that the artifact fetched from one of the pipelines is not the latest one that was created today but is the previous version created about a month ago.
Environment
Basic environment details
Go Server Version: | 19.1.0 (8469-3885582184c6f7c4bbbeb94239e5dba6f5f772f4)
JVM version: | 1.8.0_144
OS Information: | Linux 3.13.0-162-generic
Usable space in artifacts repository: | 18.5 GB
Database schema version: | 1901001
Additional Environment Details
Steps to Reproduce
I am not able to reproduce it.
Expected Results
Was expecting it use the artifact from the latest version of the pipeline. In the case below 3-1134bf0 and not the 2-1134bf0
Actual Results
It used the older artifact.
Possible Fix
Log snippets
From upstream pipeline - look at this line for the version it is using -
[go] Fetching artifact [image] from [annotations-django-stg-build/2-1134bf0/build-tag-push/1/defaultJob]
From downstrem pipeline - see this line for the version -
[go] Start to upload annotations-django-stg-build/3-1134bf0/build-tag-push/1/defaultJob on go-agent-misc-02.aws.counsyl.com [/home/go/work]
Code snippets/Screenshots
Any other info
The text was updated successfully, but these errors were encountered: