History | Log In     View a printable version of the current page.  
Issue Details (XML | Word | Printable)

Key: QB-2864
Type: Bug Bug
Status: Closed Closed
Resolution: Cannot Reproduce
Priority: Major Major
Assignee: Robin Shen
Reporter: Martin Falkner
Votes: 0
Watchers: 0
Operations

If you were logged in you would be able to see more operations.
QuickBuild

Artifacts disappear randomly

Created: 16/Dec/16 03:04 PM   Updated: 22/Jan/18 11:26 PM
Component/s: None
Affects Version/s: 6.1.29
Fix Version/s: 6.1.36

Original Estimate: Unknown Remaining Estimate: Unknown Time Spent: Unknown
Environment: Windows 7 64-bit


 Description  « Hide
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?


 All   Comments   Work Log   Change History      Sort Order:
Robin Shen [17/Dec/16 01:05 AM]
Please upgrade to 6.1.36 for the fix.

Martin Falkner [21/Dec/16 08:25 AM]
Is there a way to find out what is deleting these artifacts?
Any log?

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.

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?

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.