Project

General

Profile

Actions

action #45041

closed

Asset cache cleanup still fails if new jobs are created at the same time

Added by mkittler over 5 years ago. Updated over 5 years ago.

Status:
Resolved
Priority:
Normal
Assignee:
Category:
-
Target version:
Start date:
2018-12-12
Due date:
% Done:

0%

Estimated time:

Description

The error message is:

"{UNKNOWN}: repo/SLE-15-SP1-Module-Transactional-Server-POOL-aarch64-Build121.1-Media1 was scheduled during cleanup (max job initially 0, now 2322143) at /usr/share/openqa/script/../lib/OpenQA/Schema/ResultSet/Assets.pm line 273. at /usr/share/openqa/script/../lib/OpenQA/Schema/ResultSet/Assets.pm line 278\n"

(from https://openqa.suse.de/minion/jobs?state=failed&offset=0&task=limit_assets)


We previously wrapped the concerning cleanup code into a transaction so it would not see other changes happening in the meantime. So either the transaction has no effect or there's a bug in the condition for the die.


Related issues 2 (0 open2 closed)

Related to openQA Project - action #19672: GRU may delete assets while jobs are registeredResolvedcoolo2017-06-08

Actions
Related to openQA Project - action #41483: [tools] medium that should belong to job group was deleted after just 2 minutes making our SLE15 tests in build 47.1 useless ... and moreResolvedcoolo2018-09-24

Actions
Actions

Also available in: Atom PDF