Skip to content

[CI] Potentially flake lld test #151710

@boomanaiden154

Description

@boomanaiden154

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.

Metadata

Metadata

Labels

infrastructureBugs about LLVM infrastructure

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions