-
Notifications
You must be signed in to change notification settings - Fork 19
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
arcade-validation fails when multiple asset name+version instances involved #1964
arcade-validation fails when multiple asset name+version instances involved #1964
Comments
From the logs:
Looks like a bad |
FYI, @missymessa and @riarenas, this might be something that needs investigation by your epic. It looks like, for some reason, @missymessa's 1ES PT test builds are being included with regular Arcade builds and triggering the validation pipeline. The validation pipeline sees two BAR IDs which the script cannot handle (the hash arrives as an array of two elements instead of a regular integer). In this case, the IDs are 211531 and 211527, which are published from builds 2371453 and 2371408 respectively. I don't know why these are getting mixed, but it seems strictly related to the 1ES PT testing that's happening, so I do not think there is any FR action to take. Validation is still happening for other builds. |
I'm glad it's failing, if that's any consolation :D |
If y'all think this is just temporary while 1ES PT is sorted, I'm fine closing this and future similar issues. Otherwise handle as you see fit. |
From testing the 1ES PTs. Closing. |
But the arcade-validation official pipeline is blocked right? so we can't do promotions? I don't think we can just close this. I think we should find out why we're picking up builds that are not in the channel that we expect. |
Bar build 211527 is a good build that we should be validating against, as that's the build that opened the dependency update PR and was merged and then ran the official build. Bar build 211531 is a bad build that we should not be validating against, this build is not in any channels, so it shouldn't be getting picked up by anything. That would mean there's a bug somewhere in the publishing validation if we're picking up dev builds for the official validation. |
I don't think it's blocked. Looks like it picked up some other builds I tried earlier and when the arcade-official-ci pipeline produced newer packages, Arcade Validation was successful. |
This is the latest run of the pipeline: https://dev.azure.com/dnceng/internal/_build/results?buildId=2371548&view=results. it's this build. It failed during the validation job, so it didn't promote the arcade build to the latest channel. I queued a retry so hopefully it's indeed unblocked, but I'm not seeing any successful existing builds. |
There's nothing special about the incorrect build that is being picked up, so I don't think this is related to the templates effort, this bug seems to be that our scripts are not choosing the correct builds to validate against.
Shows that this build is not in the validation channel, and we should only validate against builds from the validation channel, such as
Which is in the validation channel |
Second attempt of this build failed: #1965 I'm attempting a clean build of main as a last resort, if that fails, Arcade promotions are currently blocked on this. https://dev.azure.com/dnceng/internal/_build/results?buildId=2371776&view=results |
ahhh, @garath showed me these older builds that are failing with the same symptom: https://dev.azure.com/dnceng/internal/_build/results?buildId=2368985&view=results and @missymessa is totally right that we've had other successful builds since. If running a clean build works, or even if we understand what triggers the problem so we can avoid it when we really need to promote, this is less of an FR issue, and just becomes a bug to file and eventually squash. If we don't have a clear mechanism to unblock the pipeline, and Arcade promotions becomes blocked, that's when I think FR should dig into this job and the darc queries it's using to determine which builds to pick up. |
Manual retry failed, so arcade releases are at risk of being blocked. Taking back for FR. |
I think I see what's happening. The arcade-validation code is not precisely defining the BAR coordinates for the asset being validated.
The solution is to specify the ".NET Eng - Validation" as the source for asset discovery. I'll put together a PR and run tests. |
In case I close the terminal, here's an example of the command and result that the arcade-validation script is seeing:
|
OOOOH, this is only an issue because we are using a different pipeline to produce the same assets, so there's a conflict in versions that would never happen in ordinary circumstances, as the version is partially determined by the build number. The change to filter by channel is a good change, even if this scenario is something that usually shouldn't happen. Good catch. |
I'll be deleting the pipeline I created for testing the 1ES PT stuff when I'm done with it, but this would be a good change in case it happens in the future :) |
Build #20240206.4 failed
❌ : internal / dotnet-arcade-validation-official failed
Summary
Finished - Tue, 06 Feb 2024 21:33:06 GMT
Duration - 72 minutes
Requested for - DotNet Bot
Reason - batchedCI
Details
Validate Publishing
Changes
The text was updated successfully, but these errors were encountered: