<< Back to previous view

[QB-2864] Artifacts disappear randomly
Created: 16/Dec/16  Updated: 22/Jan/18

Status: Closed
Project: QuickBuild
Component/s: None
Affects Version/s: 6.1.29
Fix Version/s: 6.1.36

Type: Bug Priority: Major
Reporter: Martin Falkner Assigned To: Robin Shen
Resolution: Cannot Reproduce Votes: 0
Remaining Estimate: Unknown Time Spent: Unknown
Original Estimate: Unknown
Environment: Windows 7 64-bit


 Description   
Artifacts seem to disappear on a random pattern, some are deleted, some are left forever.
'Build Cleanup Strategy' is set to 'Do not clean up builds automatically'
'Artifact Cleanup Strategy' is set 'Do not clean up artifacts automatically'
However, looking at the daily builds, for some builds the artifacts are gone after some days.
Is there a way to find out what is deleting these artifacts?


 Comments   
Comment by Robin Shen [ 17/Dec/16 01:05 AM ]
Please upgrade to 6.1.36 for the fix.
Comment by Martin Falkner [ 21/Dec/16 08:25 AM ]
Is there a way to find out what is deleting these artifacts?
Any log?
Comment by Robin Shen [ 22/Dec/16 12:35 AM ]
You may search in server log for below message:
Removing artifacts of build

But I guess there is not any, as you mentioned that "artifact cleanup strategy" is set to "do not clean up artifacts automatically". Do you have any maintenance configuration schedule to delete artifacts via scripts? Another possibility is that some of your build scripts might be deleting those artifacts unintentionally.
Comment by Martin Falkner [ 22/Dec/16 06:09 AM ]
Thanks, this is what I was looking for. Meanwhile I found one configuration that is supposed to delete after 14 days. Unfortunately I've got only the last 5 hours in the server log because of all the warning messages. In these 5 hours, there was no such message. I do not have any maintenance schedule. What is the trigger to run this clean-up? As I had the problem above, there must be one mustn't it?
Comment by Robin Shen [ 23/Dec/16 12:37 AM ]
By default QB executes maintenance at 1:00 every night, and it can be changed via "maintenance schedule" in system setting.
Generated at Thu May 16 17:52:54 UTC 2024 using JIRA 189.