cache icon indicating copy to clipboard operation
cache copied to clipboard

Random failures on macOS

Open garydgregory opened this issue 1 month ago • 3 comments

Our Apache Commons builds on macos-latest are failing randomly with:

Error: The template is not valid. .github/workflows/maven.yml (Line: 48, Col: 14): hashFiles('**/pom.xml') failed. Fail to hash files under directory '/Users/runner/work/commons-jxpath/commons-jxpath'

For example:

  • https://github.com/apache/commons-exec/actions/runs/19612344307/job/56221760722
  • https://github.com/apache/commons-jxpath/actions/runs/19634578250/job/56222100736

If you restart, sometimes it works, most of the time, not.

garydgregory avatar Nov 24 '25 12:11 garydgregory

I've also been experiencing this except more consistently:

https://github.com/pgcentralfoundation/pgrx/actions/runs/19617246577/job/56171823011

Error: The template is not valid. .github/workflows/tests.yml (Line: 498, Col: 16): hashFiles('**/Cargo.lock, .github/workflows/tests.yml, .cargo/config.toml') failed. Fail to hash files under directory '/Users/runner/work/pgrx/pgrx'

No issues before very recently, a few days ago.

workingjubilee avatar Nov 24 '25 19:11 workingjubilee

apparently this is a runner image thing: https://github.com/actions/runner-images/issues/13341#issuecomment-3570231171

workingjubilee avatar Nov 24 '25 19:11 workingjubilee

@workingjubilee Thank you for the link.

garydgregory avatar Nov 25 '25 12:11 garydgregory