-
Notifications
You must be signed in to change notification settings - Fork 71
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
auditor fails to parse valid image references #191
Comments
So the right way to fix this is to inject some much-needed unit-tests for the |
/reopen This isn't fixed yet. |
@listx: Reopened this issue. In response to this:
Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. |
Hi @listx. I see you are working on fixing the issue, but could you maybe give few words of summary why parsing this image references was failing? |
The parsing logic was too limited (very brittle!) and didn't cover enough cases. #199 makes the parsing more robust, mainly by empowering the Contains() method to better gauge whether a given promoter manifest is responsible for the child manifest digest in the Pub/Sub payload. |
I created #200 to add more tests, including an e2e test. I then made #201 to just make sure I could reproduce the behavior discussed in this bug (which I did), so #199 and #200 are ripe for merging. See #201 (comment) for more info. After we get those changes merged, I think I will create 1 more PR to fix #183. Then it should be ready for being deployed into prod. |
During the backfill kubernetes/k8s.io#632, a buggy behavior was observed where the auditor could not parse certain image references.
The following images all triggered a
TRANSACTION REJECTED: could not determine source registry:
error:correction: the images are located in the
{asia,eu,us}
regions --- but they have been removed from the above paste for simplicityThe text was updated successfully, but these errors were encountered: