Closed floyd-chan closed 10 months ago
Hey... I have exact the same issue since few days. It fails in the same place as in example above (on docker build command). I know that some collegues from my company also have the same problem in other projects.
New-BcContainer Telemetry Correlation Id: d6bcc158-e217-43fb-909c-9f923a5876ff Removing Desktop shortcuts Run-AlPipeline Telemetry Correlation Id: a167d25b-e6a5-4fb8-964f-40a614856395 DockerDo : re-exec error: exit status 1: output: hcsshim::ImportLayer failed in Win32: The system cannot find the path specified. (0x3) ExitCode: 1 Commandline: docker build --isolation=process --memory 7G --no-cache --tag my:sandbox-23.1.13431.14059-pl-mt c:\bcartifacts.cache\evie5cqv.in3 At C:\Program Files\WindowsPowerShell\Modules\bccontainerhelper\6.0.0\ContainerHandling\New-NavImage.ps1:694 char:27
+ CategoryInfo : NotSpecified: (:) [Write-Error], WriteErrorException
+ FullyQualifiedErrorId : Microsoft.PowerShell.Commands.WriteErrorException,DockerDo
Hi I have exact same issue here. It started on Wednesday then I was able to run it during Thursday, but now it crashing again.
Installation complete New-Bcimage Telemetry Correlation Id: 61aa7704-7249-4192-8eb8-f0aec0874335 New-BcContainer Telemetry Correlation Id: 981e0ad8-b998-42af-bbee-f842f6e2c8ff Removing Desktop shortcuts Run-AlPipeline Telemetry Correlation Id: 6397db8b-5eb3-45e0-9f45-92f2fe4b740c
specified. (0x3) ExitCode: 1 Commandline: docker build --isolation=process --memory 8G --no-cache --tag my:onprem-21.2.49946.49990-se c:\bcartifacts.cache\j1gnd3qv.hqp At C:\Program Files\WindowsPowerShell\Modules\bccontainerhelper\6.0.0\ContainerHandling\New-NavImage.ps1:694 char:27
+ CategoryInfo : NotSpecified: (:) [Write-Error], WriteErrorException
+ FullyQualifiedErrorId : Microsoft.PowerShell.Commands.WriteErrorException,DockerDo
##[error]PowerShell exited with code '1'.
We also have the same problem on some of our build servers. It seems to be related to the creation of images. We have one server, which managed to pull the BC image yesterday, and it runs fine now. The other two servers however, fail at the exact same place as above.
@floyd-chan - the reason your script fails is a missing colon between -useSSL and $false in the last line:
-useSSL is a switch parameter which means that your $false will by powershell be used as a parameter to the imageName parameter - so your script will create an image (which fails).
Delete the last line and the terminating ` in the line above. (useSSL is false by default anyway)
The other problems seems to come from image creation - trying to replicate those, but there isn't much data to go with. @Athystrup , @hannib84 and @swomkbb please create a new issue and include script + full output to help me repro this issue.
This script worked yesterday for creating a BC22 sandbox container.
Today, I changed the version variable to create a BC23 sandbox container, but when I run the script it fails with a Docker error and the container is partially created but useable.
What is the likely cause?
Here is the script: