RFR: 8326953: Possible race in creation of win-exports.def
Magnus Ihse Bursie
ihse at openjdk.org
Wed Feb 28 12:32:00 UTC 2024
On Wed, 28 Feb 2024 12:26:54 GMT, Magnus Ihse Bursie <ihse at openjdk.org> wrote:
> We have seen a build failure along the lines of:
>
> /usr/bin/mv: cannot move '.../build/windows-x64-open-debug/hotspot/variant-server/libjvm/win-exports.def.tmp' to '.../build/windows-x64-open-debug/hotspot/variant-server/libjvm/win-exports.def': No such file or directory
>
> on Windows.
>
> My guess is that this is a race between creating the win-export.def file for the gtest jvm and the product jvm.
I am not 100% confident that this actually identifies the problem, nor that it really provides a fix, nor that this even is the best way to achieve this even if it should be the correct fix.
Intermittent build problems are the worst. :-( They are hard to reproduce or know for sure if they are gone, but when they occur they cause a havoc in the CI pipeline. Hence this opportunistic fix.
-------------
PR Comment: https://git.openjdk.org/jdk/pull/18043#issuecomment-1968881256
More information about the build-dev
mailing list