Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update error message #101

Merged
merged 1 commit into from
Jul 18, 2024
Merged

Update error message #101

merged 1 commit into from
Jul 18, 2024

Conversation

ruhan1
Copy link
Contributor

@ruhan1 ruhan1 commented Jul 17, 2024

This is for https://issues.redhat.com/browse/MMENG-4160

The direct error is
Failed to run validation rule: no-pre-existing-paths, Reason: Parallel execution timeout
caused by
org.commonjava.service.promote.validate.PromotionValidationTools.exists(PromotionValidationTools.java:225)

The total timeout is 30 min to run all the paths of a promotion. The method 'exists' sends HEAD requests to content service (main indy). If main indy has problem to respond, the timeout can happen. (btw, The timeout for each content service call is 5 min)

Mainly this is caused by indy being slow to handle the HEAD requests. It may related to MMENG-4141 "Fix the HEAD request to avoid to read the file"

This pr try to add some useful message when unknown error happens.

@ruhan1 ruhan1 requested a review from sswguo July 17, 2024 07:58
@sswguo
Copy link
Member

sswguo commented Jul 17, 2024

LGTM. Probably a case to verify the HEAD request.

@ruhan1 ruhan1 merged commit 6834024 into Commonjava:main Jul 18, 2024
1 check passed
@ruhan1 ruhan1 deleted the main-errmsg branch July 18, 2024 01:44
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants