temurin-build: Failed to copy artifacts filter spec fix #1830
About this failed build https://ci.adoptopenjdk.net/job/build-scripts/job/jobs/job/jdk11u/job/jdk11u-windows-x64-openj9-windowsXL/364/
06:44:54 Copied 0 artifacts from "build-scripts » release » create_installer_windows" build number 4410
[Pipeline] }
[Pipeline] // stage
[Pipeline] }
[Pipeline] // node
[Pipeline] echo
06:44:54 Execution error: Failed to copy artifacts from build-scripts/release/create_installer_windows with filter: wix/ReleaseDir/OpenJDK*jdk_*_windows_*.msi
https://ci.adoptopenjdk.net/job/build-scripts/job/release/job/create_installer_windows/4410/console
had produce : OpenJDK11U-jdk_x64_windows_openj9_windowsXL_2020-06-05-23-31.msi
At the begining I was thinking the filter was bad because I have only see _windowsXL
doesn’t match _windows_
… but there is a _windows_
before _windowsXL
… so the filter must have been matched.
Why OpenJDK*jdk_*_windows_*.msi
havn’t matched OpenJDK11U-jdk_x64_windows_openj9_windowsXL_2020-06-05-23-31.msi
seeing copyArtifacts filter doc : https://www.jenkins.io/doc/pipeline/steps/copyartifact/
See the @includes of Ant fileset for the exact format.
I have juste tested with ant :
<project name="TestProject" default="testfilter" basedir=".">
<target name="testfilter">
<copy todir="/tmp/dst" overwrite="true" verbose="true">
<fileset dir="/tmp/src" includes="wix/ReleaseDir/OpenJDK*jdk_*_windows_*.msi" />
</copy>
</target>
</project>
ant
testfilter:
[copy] Copying 1 file to /tmp/dst
[copy] Copying /tmp/src/wix/ReleaseDir/OpenJDK11U-jdk_x64_windows_openj9_windowsXL_2020-06-05-23-31.msi to /tmp/dst/wix/ReleaseDir/OpenJDK11U-jdk_x64_windows_openj9_windowsXL_2020-06-05-23-31.msi
BUILD SUCCESSFUL
Total time: 0 seconds
Either copyartifact don’t exactly use exact filter format as Ant fileset @includes either the filter was not the problem.
About this issue
- Original URL
- State: closed
- Created 4 years ago
- Comments: 18 (18 by maintainers)
Commits related to this issue
- try re-throw exception to see full stacktrace to help debug/understand #1834 — committed to adoptium/temurin-build by douph1 4 years ago
- try re-throw exception to see full stacktrace (#1917) * try re-throw exception to see full stacktrace to help debug/understand #1834 * fix indent — committed to adoptium/temurin-build by douph1 4 years ago
- Dump stack trace on build failure To debug https://github.com/AdoptOpenJDK/openjdk-build/issues/1834 — committed to M-Davies/openjdk-build by deleted user 4 years ago
- Dump stack trace on build failure (#1924) To debug https://github.com/AdoptOpenJDK/openjdk-build/issues/1834 — committed to adoptium/temurin-build by deleted user 4 years ago
- print stacktrace to job console #1834 — committed to adoptium/temurin-build by douph1 4 years ago
- print stacktrace to job console #1834 (#1943) — committed to adoptium/temurin-build by douph1 4 years ago
https://ci.adoptopenjdk.net/view/Failing Builds/job/build-scripts/job/jobs/job/jdk11u/job/jdk11u-windows-x64-openj9/649/console
Still no stacktrace unfortunately. Could we perhaps roll it back and just do
printstacktrace
and get admin permission to do so?@douph1 It doesn’t look like it is printing the full trace 😭 https://ci.adoptopenjdk.net/view/Failing Builds/job/build-scripts/job/jobs/job/jdk14u/job/jdk14u-windows-x64-openj9/116/console
Also see #1858