Skip to content

Conversation

@lemeurherve
Copy link
Member

@lemeurherve lemeurherve commented Jan 12, 2026

Not for merge, test for:

Testing done

Submitter checklist

  • Make sure you are opening from a topic/feature/bugfix branch (right side) and not your main branch!
  • Ensure that the pull request title represents the desired changelog entry
  • Please describe what you did
  • Link to relevant issues in GitHub or Jira
  • Link to relevant pull requests, esp. upstream and downstream changes
  • Ensure you have provided tests that demonstrate the feature works or the issue is fixed

@lemeurherve
Copy link
Member Author

lemeurherve commented Jan 12, 2026

The error occurs with the first meaningful RUN of wsc2022 images built from a 2025 agent:

11:24:30  Step 4/45 : SHELL ["powershell", "-Command", "$ErrorActionPreference = 'Stop'; $ProgressPreference = 'SilentlyContinue';"]
11:24:30   ---> Running in a88efaecb4d9
11:24:30   ---> Running in da0fc9626ed6
11:24:31   ---> Removed intermediate container da0fc9626ed6
11:24:31   ---> 4693e51aae2f
11:24:31  Step 5/45 : ARG JAVA_VERSION=17.0.17_10
11:24:31   ---> Removed intermediate container a88efaecb4d9
11:24:31   ---> a214139991a9
11:24:31  Step 5/45 : ARG JAVA_VERSION=17.0.17_10
11:24:32   ---> Running in 649be0fdacf6
11:24:32   ---> Running in 49f2b8d42b28
11:24:33   ---> Removed intermediate container 649be0fdacf6
11:24:33   ---> 47c9d6b099d3
11:24:33  Step 6/45 : RUN New-Item -ItemType Directory -Path C:\temp | Out-Null ;     $javaMajorVersion = $env:JAVA_VERSION.substring(0,2) ;     $msiUrl = 'https://api.adoptium.net/v3/installer/version/jdk-{0}/windows/x64/jdk/hotspot/normal/eclipse?project=jdk' -f $env:JAVA_VERSION.Replace('_', '%2B') ;     Invoke-WebRequest $msiUrl -OutFile 'C:\temp\jdk.msi' ;     $proc = Start-Process -FilePath 'msiexec.exe' -ArgumentList '/i', 'C:\temp\jdk.msi', '/L*V', 'C:\temp\OpenJDK.log', '/quiet', 'ADDLOCAL=FeatureEnvironment,FeatureJarFileRunWith,FeatureJavaHome',  "INSTALLDIR=C:\openjdk-${javaMajorVersion}" -Wait -Passthru ;     $proc.WaitForExit() ;     Remove-Item -Path C:\temp -Recurse | Out-Null
11:24:33   ---> Removed intermediate container 49f2b8d42b28
11:24:33   ---> 08c833c733d0
11:24:33  Step 6/45 : RUN New-Item -ItemType Directory -Path C:\temp | Out-Null ;     $javaMajorVersion = $env:JAVA_VERSION.substring(0,2) ;     $msiUrl = 'https://api.adoptium.net/v3/installer/version/jdk-{0}/windows/x64/jdk/hotspot/normal/eclipse?project=jdk' -f $env:JAVA_VERSION.Replace('_', '%2B') ;     Invoke-WebRequest $msiUrl -OutFile 'C:\temp\jdk.msi' ;     $proc = Start-Process -FilePath 'msiexec.exe' -ArgumentList '/i', 'C:\temp\jdk.msi', '/L*V', 'C:\temp\OpenJDK.log', '/quiet', 'ADDLOCAL=FeatureEnvironment,FeatureJarFileRunWith,FeatureJavaHome',  "INSTALLDIR=C:\openjdk-${javaMajorVersion}" -Wait -Passthru ;     $proc.WaitForExit() ;     Remove-Item -Path C:\temp -Recurse | Out-Null
11:24:33   ---> Running in 3a27d1c86638
11:24:33   ---> Running in e7a6b6aae056
11:24:35  hcs::CreateComputeSystem 3a27d1c86638787fef8105d2c569c7af0a12e91804cf8cf3d5dea28e1df45ba6: Incorrect function.

… fail on wsc2022 image builds from wsc2025 agent)
@lemeurherve
Copy link
Member Author

lemeurherve commented Jan 12, 2026

By removing the docker daemon config file with ac3ad28 like in jenkinsci/docker-ssh-agent#581, both images are built with success on a Windows 2025 agent.

https://ci.jenkins.io/job/Packaging/job/docker/job/PR-2194/3/pipeline-overview/?selected-node=33

= Initialize-Docker then exit
C:\ProgramData\Docker\config\daemon.json file content:
{
  "hosts":  [
    "npipe://"
  ]
}

@lemeurherve
Copy link
Member Author

https://ci.jenkins.io/job/Packaging/job/docker/job/PR-2194/4 from the same commit passed too.

@lemeurherve
Copy link
Member Author

Test completed.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant