Skip to content

Disable default MAX_PATH length limit for rie8t-win11-arm64 Windows agent in RelEng JIPP

Summary

I'm currently in the process of setting up an Eclipse SDK I-build test for Windows on ARM (see https://github.com/eclipse-platform/eclipse.platform.releng.aggregator/pull/2489) but it currently fails with errors like:

     [exec] checkdir error:  cannot create C:/Users/genie.releng.rie8t-win11-arm/jenkins_agent/workspace/AutomatedTests/ep434I-unit-win32-tries-Hannes/workarea/I20241105-1800/eclipse-testing/test-eclipse/eclipse/features/org.eclipse.ecf.filetransfer.httpclientjava.feature_2.0.200.v20240808-1900
     [exec]                  No such file or directory
     [exec]                  unable to process eclipse/features/org.eclipse.ecf.filetransfer.httpclientjava.feature_2.0.200.v20240808-1900/feature.properties.
     [exec] checkdir error:  path too long: C:/Users/genie.releng.rie8t-win11-arm/jenkins_agent/workspace/AutomatedTests/ep434I-unit-win32-tries-Hannes/workarea/I20241105-1800/eclipse-testing/test-eclipse/eclipse/features/org.eclipse.ecf.filetransfer.httpclientjava.feature.source_2.0.200.v20240808-1900

With that I see one possible reason of the failure to be that path's exceed the default MAX_PATH limit on Windows.

Therefore please disable the Maximum Path Length Limitation, that is enabled on Windows by default, for the Windows build agent rie8t-win11-arm64 in the RelEng JIPP:

This article describes how this can be changed in the Windows Registry: https://learn.microsoft.com/en-us/windows/win32/fileio/maximum-file-path-limitation?tabs=powershell#enable-long-paths-in-windows-10-version-1607-and-later

This is similar to #4832 (closed)

Priority

  • Urgent
  • High
  • Medium
  • Low

Severity

  • Blocker
  • Major
  • Normal
  • Low
Edited by Hannes Wellmann