Creating an artifact with a duplicate name and location results in two artifacts
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Ubuntu CI Engine |
Triaged
|
Medium
|
Francis Ginther |
Bug Description
Calling the ticketartifact API twice with the same data appears to result in two artifacts being create, even though both have the same name and URL.
I ran into this while trying to add artifacts from the lander while it was stuck in an infinite loop. I soon had dozens of repeating copies of the same set of artifacts in the ticket view, but the container only had 5 real files.
here's an example of the call parameters (the file has been removed from storage):
[http://
I'll file this as medium as the caller shouldn't normally be generating duplicate artifacts.
tags: | added: airline |
Changed in ubuntu-ci-services-itself: | |
assignee: | nobody → Francis Ginther (fginther) |
Changed in uci-engine: | |
assignee: | nobody → Francis Ginther (fginther) |
importance: | Undecided → Medium |
no longer affects: | ubuntu-ci-services-itself |
Changed in uci-engine: | |
status: | New → Triaged |
Francis - was this using my branch that added artifacts to the ticket-system? I was wondering if we shouldn't prefix some of these names from the lander with the jenkins buildnumber or something. That way we can see diffs between re-runs ?