-
Notifications
You must be signed in to change notification settings - Fork 3.3k
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
Windows 2022 20230517.1 fails with Trim error #7703
Comments
Hello @Technomann, We faced the same issue last week and fixed it. Please update your repository and try one more time. |
Hi @Alexey-Ayupov! I understand, but HOW did you fix it? Is the fix included in the 20230606.1 release? |
@Technomann we do not guarantee that build from the release is going to be successful, if one is building the image they should always use main, that's what we do ourselves |
@mikhailkoliada if the release is not something that is going to build successfully, then what is it? What is the purpose of creating releases if they are not working? As suggested by @Alexey-Ayupov I tried to build from a newer git tag win22/20230606.1, but it also failed. Please see the linked issue: #7704 I try the main now without further hope, but a release should be buildable without failure. |
@Technomann the release is a pin point of the repository in time, idempotence can not be guaranteed here due to the images always containing the latest changes to the date of generation. |
Hey @Technomann. It's really impossible to have fully reproducible releases in our case. The amount of software we install to runner images is huge and we are doing our best to keep image buildable from |
Description
==> azure-arm.vhd: Method invocation failed because [System.Object[]] does not contain a method named 'Trim'.
==> azure-arm.vhd: At C:\image\SoftwareReport\SoftwareReport.Tools.psm1:91 char:12
==> azure-arm.vhd: + return ($innoSetupVersion -replace "^InnoSetup").Trim()
==> azure-arm.vhd: + ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
==> azure-arm.vhd: + CategoryInfo : InvalidOperation: (:) [], ParentContainsErrorRecordException
==> azure-arm.vhd: + FullyQualifiedErrorId : MethodNotFound
Platforms affected
Runner images affected
Image version and build link
Windows Server 2022 20230517.1
Is it regression?
Expected behavior
Does not fail and completes the VHD generation.
Actual behavior
Fails with error.
Repro steps
Use Service Principal and create a VHD with the script.
Used packer 1.9.1
The text was updated successfully, but these errors were encountered: