<table border="1" cellspacing="0" cellpadding="8">
    <tr>
        <th>Issue</th>
        <td>
            <a href=https://github.com/llvm/llvm-project/issues/151710>151710</a>
        </td>
    </tr>

    <tr>
        <th>Summary</th>
        <td>
            [CI] Potentially flake lld test
        </td>
    </tr>

    <tr>
      <th>Labels</th>
      <td>
            infrastructure
      </td>
    </tr>

    <tr>
      <th>Assignees</th>
      <td>
            boomanaiden154
      </td>
    </tr>

    <tr>
      <th>Reporter</th>
      <td>
          boomanaiden154
      </td>
    </tr>
</table>

<pre>
    In #151621 I am seeing an LLD test failure on Windows that is unrelated to the PR (which only modifies LLVM tests).

The test in question is `lld.wasm/lto/thinlto-thin-archive-collision.ll` with the following log:
```
Exit Code: 1

Command Output (stdout):
--
# RUN: at line 3
rm -fr C:\_work\llvm-project\llvm-project\build\tools\lld\test\wasm\lto\Output\thinlto-thin-archive-collision.ll.tmp && mkdir C:\_work\llvm-project\llvm-project\build\tools\lld\test\wasm\lto\Output\thinlto-thin-archive-collision.ll.tmp && cd C:\_work\llvm-project\llvm-project\build\tools\lld\test\wasm\lto\Output\thinlto-thin-archive-collision.ll.tmp
# executed command: rm -fr 'C:\_work\llvm-project\llvm-project\build\tools\lld\test\wasm\lto\Output\thinlto-thin-archive-collision.ll.tmp'
# note: command had no output on stdout or stderr
# executed command: mkdir 'C:\_work\llvm-project\llvm-project\build\tools\lld\test\wasm\lto\Output\thinlto-thin-archive-collision.ll.tmp'
# note: command had no output on stdout or stderr
# executed command: cd 'C:\_work\llvm-project\llvm-project\build\tools\lld\test\wasm\lto\Output\thinlto-thin-archive-collision.ll.tmp'
# note: command had no output on stdout or stderr
# RUN: at line 4
mkdir thinlto-archives thinlto-archives/a thinlto-archives/b
# executed command: mkdir thinlto-archives thinlto-archives/a thinlto-archives/b
# note: command had no output on stdout or stderr
# RUN: at line 5
c:\_work\llvm-project\llvm-project\build\bin\opt.exe -thinlto-bc -o thinlto-archives/main.o C:\_work\llvm-project\llvm-project\lld\test\wasm\lto\thinlto-thin-archive-collision.ll
# executed command: 'c:\_work\llvm-project\llvm-project\build\bin\opt.exe' -thinlto-bc -o thinlto-archives/main.o 'C:\_work\llvm-project\llvm-project\lld\test\wasm\lto\thinlto-thin-archive-collision.ll'
# note: command had no output on stdout or stderr
# RUN: at line 6
c:\_work\llvm-project\llvm-project\build\bin\opt.exe -thinlto-bc -o thinlto-archives/a/thin.o C:\_work\llvm-project\llvm-project\lld\test\wasm\lto/Inputs/thin1.ll
# executed command: 'c:\_work\llvm-project\llvm-project\build\bin\opt.exe' -thinlto-bc -o thinlto-archives/a/thin.o 'C:\_work\llvm-project\llvm-project\lld\test\wasm\lto/Inputs/thin1.ll'
# note: command had no output on stdout or stderr
# RUN: at line 7
c:\_work\llvm-project\llvm-project\build\bin\opt.exe -thinlto-bc -o thinlto-archives/b/thin.o C:\_work\llvm-project\llvm-project\lld\test\wasm\lto/Inputs/thin2.ll
# executed command: 'c:\_work\llvm-project\llvm-project\build\bin\opt.exe' -thinlto-bc -o thinlto-archives/b/thin.o 'C:\_work\llvm-project\llvm-project\lld\test\wasm\lto/Inputs/thin2.ll'
# note: command had no output on stdout or stderr
# RUN: at line 8
llvm-ar qcT thinlto-archives/thin.a thinlto-archives/a/thin.o thinlto-archives/b/thin.o
# executed command: llvm-ar qcT thinlto-archives/thin.a thinlto-archives/a/thin.o thinlto-archives/b/thin.o
# note: command had no output on stdout or stderr
# RUN: at line 9
c:\_work\llvm-project\llvm-project\build\bin\wasm-ld.exe thinlto-archives/main.o thinlto-archives/thin.a -o thinlto-archives/main.exe --save-temps
# executed command: 'c:\_work\llvm-project\llvm-project\build\bin\wasm-ld.exe' thinlto-archives/main.o thinlto-archives/thin.a -o thinlto-archives/main.exe --save-temps
# .---command stderr------------
# | failed to open thinlto-archives/main.o.0.preopt.bc: invalid argument
# `-----------------------------
# error: command failed with exit status: 1

--
```

I did not see any recent commits that looked like they could have changed the behavior here (and it failing only on Windows makes that even more odd), so it doesn't seem transient. I could be wrong though. Either way, something to follow up with once we start systematically looking at flaky tests.
</pre>
<img width="1" height="1" alt="" src="http://email.email.llvm.org/o/eJzcWE2P2zYQ_TX0ZSBBoi3LPvjgOjGwwLYNgrQ9FpQ4ttilOA45suN_X1DSBm6zH033A4sIBmSJ4vC9mTeiZlQIZu8QV6L4SUhZEbXKKaPR5cVMSCmKdxPVcUN-9c-xSUX6vLpyIOQ0L_K5zOEKVAsB0bg9KAfX1--AMTDslLGdRyAHfxin6RSAG8VgAnTOo1WMGpiAG4QPH0HIxakxdQPk7Bla0mZnMMD19e8_9_aCkMtUZGuRrT81OCxhHHzuMLAhF82KeWatTk8qtEJuLZOQW26Ms0xJPCfK1405YlKTtSYYcqm1Yp7ByXDT49iRtXSKTCztxTQuJubZ-MvW778Yhg1pFNM15AOYDbWtchp-7fjQcaQRWFPHQi4HA0kSH5RT-PjbL3GeYrDGIUxFtvYtJDsPm_hksfnzRP5GFBtrj21y8PQX1vztZdUZq0WxYSIb-uH-CkMc7LkXm8i92AyQ4uBjTki5PYCQcyHn0N5o88Yg1fpt4BkDiV-w7qJ66yH2MapjJIUs3wZSWY5gHXEv1xErNEqDI6BBruRgkCuQj__Q-wdIDtL4sTnW-gci-K9Xzkxk6yGGt-uPS4dvbgi5VXfdrB6Vx5NNPxPZQmTr-v-EsTJOFBs6cIpfEJJbpFUNCd2Fu1XGpfR9b6j7JfL4hnV_AIQsn85YyPK_k_7eVHkK7-fOhvlrCUSN3yHPJRK5vXKHLn4R9WbzNyOKC6LPJYy7uD63EMrXEkL1skKQb0YI1YsLQb6EEBYiW_dwlIfP9ae7mPWs7ty-LsT_oEceiNBrrf1M7lo-LW9icBOr-9y5f4e53w8PbEx9OiZBHTFhbA_hxbLigkPMjNehkSZJchu6IT7JxTE-JMpNX4IPRTYd0N2PLs3Sg8eY4VX0BRh3VNZoUH7ftej41uQ8Sx46br3sPflLeY0w-iobYwkdWHEXLoroYe5FpS2y9RVoE2XJEBBBuTN4rNFxb9bw2E2wRDeowZqbKCI8Q02djYo-ItS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