#4352 Race condition in waitrepo task?
Closed: Invalid by tkopecek. Opened by tkopecek.

Sometimes I can see waitrepo failed with "GenericError: Repo request no longer active". From the first look it seems that it could be a race condition that request is satisfied and invalidate before RepoWatcher.wait_repo starts?


Probably the real reason is that related newRepo failed instead and this is just confusing message.

Metadata Update from @tkopecek:
- Custom field Size adjusted to None

New code should print a message about the task failure alongside the "no longer active" message if that is the reason

requests should only be marked inactive if:

1) they are satisfied by a repo. In which case, wait_request() should get a repo and return it
2) the request failed, exhausting retries. This is the case I'd expect to see this message.

If anything else is happening, definitely report the details

can we close this then?

Metadata Update from @tkopecek:
- Issue close_status updated to: Invalid
- Issue status updated to: Closed (was: Open)

Metadata Update from @tkopecek:
- Issue set to the milestone: None (was: 1.36)

This issue has been migrated to Fedora Forge:
https://forge.fedoraproject.org/koji/koji/issues/4352

Please continue any further discussion there.

Metadata