Closed mthalman closed 4 months ago
I couldn't figure out the best area label to add to this issue. If you have write-permissions please help me learn by adding exactly one area label.
Need to update the logic to include more logging so that we can see the path it's attempting to use as well as the paths it's queried to derive the action it takes.
The following error occurs when executing the SBOM generation step:
Example build (internal link)
Not all of the build jobs are failing with this error. Some are able to successfully generate an SBOM even though they have the same version of the ManifestGeneratorTask (0.197.57) as the failing ones. But this may be due to having a cached copy of the previous version of the ManifestGeneratorTask on the agent. The logic to find the task location is meant to handle this:
https://github.com/dotnet/docker-tools/blob/9791b1592829efbcd4da15a4aabed083b66615b7/eng/common/templates/jobs/build-images.yml#L137-L138
But that may have a bug. Need to sort the sort the results first?