[llvm-bugs] [Bug 31565] New: Windows LLD bot broken after tar file reproducer changes

via llvm-bugs llvm-bugs at lists.llvm.org
Fri Jan 6 11:40:09 PST 2017


https://llvm.org/bugs/show_bug.cgi?id=31565

            Bug ID: 31565
           Summary: Windows LLD bot broken after tar file reproducer
                    changes
           Product: lld
           Version: unspecified
          Hardware: PC
                OS: Windows NT
            Status: NEW
          Severity: normal
          Priority: P
         Component: All Bugs
          Assignee: unassignedbugs at nondot.org
          Reporter: rnk at google.com
                CC: llvm-bugs at lists.llvm.org
    Classification: Unclassified

First failing build:
http://lab.llvm.org:8011/builders/llvm-clang-lld-x86_64-scei-ps4-windows10pro-fast/builds/3449

Locally, only reproduce-windows2.s fails for me. On the bots, we see this:
Failing Tests (2):
    lld :: COFF/linkrepro.test
    lld :: ELF/reproduce-windows.s

FAIL: lld :: ELF/reproduce-windows.s (20975 of 30990)
******************** TEST 'lld :: ELF/reproduce-windows.s' FAILED
********************
Script:
--
rm -rf
C:\Buildbot\Slave\llvm-clang-lld-x86_64-scei-ps4-windows10pro-fast\llvm.obj\tools\lld\test\ELF\Output\reproduce-windows.s.tmp.dir
mkdir -p
C:\Buildbot\Slave\llvm-clang-lld-x86_64-scei-ps4-windows10pro-fast\llvm.obj\tools\lld\test\ELF\Output\reproduce-windows.s.tmp.dir/build
C:/Buildbot/Slave/llvm-clang-lld-x86_64-scei-ps4-windows10pro-fast/llvm.obj/./bin\llvm-mc.EXE
C:\Buildbot\Slave\llvm-clang-lld-x86_64-scei-ps4-windows10pro-fast\llvm.src\tools\lld\test\ELF\reproduce-windows.s
-o
C:\Buildbot\Slave\llvm-clang-lld-x86_64-scei-ps4-windows10pro-fast\llvm.obj\tools\lld\test\ELF\Output\reproduce-windows.s.tmp.dir/build/foo.o
-filetype=obj -triple=x86_64-pc-linux
cd
C:\Buildbot\Slave\llvm-clang-lld-x86_64-scei-ps4-windows10pro-fast\llvm.obj\tools\lld\test\ELF\Output\reproduce-windows.s.tmp.dir
C:/Buildbot/Slave/llvm-clang-lld-x86_64-scei-ps4-windows10pro-fast/llvm.obj/./bin\ld.lld.EXE
--full-shutdown build/foo.o --reproduce repro.tar
tar tf repro.tar |
C:/Buildbot/Slave/llvm-clang-lld-x86_64-scei-ps4-windows10pro-fast/llvm.obj/./bin\FileCheck.EXE
C:\Buildbot\Slave\llvm-clang-lld-x86_64-scei-ps4-windows10pro-fast\llvm.src\tools\lld\test\ELF\reproduce-windows.s
--
Exit Code: 1

Command Output (stdout):
--
$ "rm" "-rf"
"C:\Buildbot\Slave\llvm-clang-lld-x86_64-scei-ps4-windows10pro-fast\llvm.obj\tools\lld\test\ELF\Output\reproduce-windows.s.tmp.dir"
$ "mkdir" "-p"
"C:\Buildbot\Slave\llvm-clang-lld-x86_64-scei-ps4-windows10pro-fast\llvm.obj\tools\lld\test\ELF\Output\reproduce-windows.s.tmp.dir/build"
$
"C:/Buildbot/Slave/llvm-clang-lld-x86_64-scei-ps4-windows10pro-fast/llvm.obj/./bin\llvm-mc.EXE"
"C:\Buildbot\Slave\llvm-clang-lld-x86_64-scei-ps4-windows10pro-fast\llvm.src\tools\lld\test\ELF\reproduce-windows.s"
"-o"
"C:\Buildbot\Slave\llvm-clang-lld-x86_64-scei-ps4-windows10pro-fast\llvm.obj\tools\lld\test\ELF\Output\reproduce-windows.s.tmp.dir/build/foo.o"
"-filetype=obj" "-triple=x86_64-pc-linux"
$
"C:/Buildbot/Slave/llvm-clang-lld-x86_64-scei-ps4-windows10pro-fast/llvm.obj/./bin\ld.lld.EXE"
"--full-shutdown" "build/foo.o" "--reproduce" "repro.tar"
# command stderr:
C:/Buildbot/Slave/llvm-clang-lld-x86_64-scei-ps4-windows10pro-fast/llvm.obj/./bin\ld.lld.EXE:
warning: cannot find entry symbol _start; defaulting to 0x201000


$ "tar" "tf" "repro.tar"
# command stderr:
tar: Record size = 10 blocks

$
"C:/Buildbot/Slave/llvm-clang-lld-x86_64-scei-ps4-windows10pro-fast/llvm.obj/./bin\FileCheck.EXE"
"C:\Buildbot\Slave\llvm-clang-lld-x86_64-scei-ps4-windows10pro-fast\llvm.src\tools\lld\test\ELF\reproduce-windows.s"
# command stderr:
C:\Buildbot\Slave\llvm-clang-lld-x86_64-scei-ps4-windows10pro-fast\llvm.src\tools\lld\test\ELF\reproduce-windows.s:12:10:
error: expected string not found in input

# CHECK: repro/{{.*}}/build/foo.o

         ^

<stdin>:2:1: note: scanning from here

repro/version.txt

^


error: command failed with exit status: 1

FAIL: lld :: COFF/linkrepro.test (26843 of 30990)
******************** TEST 'lld :: COFF/linkrepro.test' FAILED
********************
Script:
--
rm -rf
C:\Buildbot\Slave\llvm-clang-lld-x86_64-scei-ps4-windows10pro-fast\llvm.obj\tools\lld\test\COFF\Output\linkrepro.test.tmp.dir
mkdir -p
C:\Buildbot\Slave\llvm-clang-lld-x86_64-scei-ps4-windows10pro-fast\llvm.obj\tools\lld\test\COFF\Output\linkrepro.test.tmp.dir/build1
C:\Buildbot\Slave\llvm-clang-lld-x86_64-scei-ps4-windows10pro-fast\llvm.obj\tools\lld\test\COFF\Output\linkrepro.test.tmp.dir/build2
C:\Buildbot\Slave\llvm-clang-lld-x86_64-scei-ps4-windows10pro-fast\llvm.obj\tools\lld\test\COFF\Output\linkrepro.test.tmp.dir/build3
C:/Buildbot/Slave/llvm-clang-lld-x86_64-scei-ps4-windows10pro-fast/llvm.obj/./bin\yaml2obj.EXE
<
C:\Buildbot\Slave\llvm-clang-lld-x86_64-scei-ps4-windows10pro-fast\llvm.src\tools\lld\test\COFF/Inputs/hello32.yaml
>
C:\Buildbot\Slave\llvm-clang-lld-x86_64-scei-ps4-windows10pro-fast\llvm.obj\tools\lld\test\COFF\Output\linkrepro.test.tmp.obj
cd
C:\Buildbot\Slave\llvm-clang-lld-x86_64-scei-ps4-windows10pro-fast\llvm.obj\tools\lld\test\COFF\Output\linkrepro.test.tmp.dir/build1
C:/Buildbot/Slave/llvm-clang-lld-x86_64-scei-ps4-windows10pro-fast/llvm.obj/./bin\lld-link.EXE
C:\Buildbot\Slave\llvm-clang-lld-x86_64-scei-ps4-windows10pro-fast\llvm.obj\tools\lld\test\COFF\Output\linkrepro.test.tmp.obj
C:\Buildbot\Slave\llvm-clang-lld-x86_64-scei-ps4-windows10pro-fast\llvm.src\tools\lld\test\COFF/Inputs/std32.lib
/subsystem:console    /entry:main at 0 /linkrepro:.
/out:C:\Buildbot\Slave\llvm-clang-lld-x86_64-scei-ps4-windows10pro-fast\llvm.obj\tools\lld\test\COFF\Output\linkrepro.test.tmp.exe
tar xf repro.tar
diff
C:\Buildbot\Slave\llvm-clang-lld-x86_64-scei-ps4-windows10pro-fast\llvm.obj\tools\lld\test\COFF\Output\linkrepro.test.tmp.obj
repro/C\Buildbot\Slave\llvm-clang-lld-x86_64-scei-ps4-windows10pro-fast\llvm.obj\tools\lld\test\COFF\Output\linkrepro.test.tmp.obj
diff
C:\Buildbot\Slave\llvm-clang-lld-x86_64-scei-ps4-windows10pro-fast\llvm.src\tools\lld\test\COFF/Inputs/std32.lib
repro/C\Buildbot\Slave\llvm-clang-lld-x86_64-scei-ps4-windows10pro-fast\llvm.src\tools\lld\test\COFF/Inputs/std32.lib
C:/Buildbot/Slave/llvm-clang-lld-x86_64-scei-ps4-windows10pro-fast/llvm.obj/./bin\FileCheck.EXE
C:\Buildbot\Slave\llvm-clang-lld-x86_64-scei-ps4-windows10pro-fast\llvm.src\tools\lld\test\COFF\linkrepro.test
--check-prefix=RSP < repro/response.txt
cd
C:\Buildbot\Slave\llvm-clang-lld-x86_64-scei-ps4-windows10pro-fast\llvm.obj\tools\lld\test\COFF\Output\linkrepro.test.tmp.dir/build2
C:/Buildbot/Slave/llvm-clang-lld-x86_64-scei-ps4-windows10pro-fast/llvm.obj/./bin\lld-link.EXE
C:\Buildbot\Slave\llvm-clang-lld-x86_64-scei-ps4-windows10pro-fast\llvm.obj\tools\lld\test\COFF\Output\linkrepro.test.tmp.obj
/libpath:C:\Buildbot\Slave\llvm-clang-lld-x86_64-scei-ps4-windows10pro-fast\llvm.src\tools\lld\test\COFF/Inputs
/defaultlib:std32 /subsystem:console    /entry:main at 0 /linkrepro:.
/out:C:\Buildbot\Slave\llvm-clang-lld-x86_64-scei-ps4-windows10pro-fast\llvm.obj\tools\lld\test\COFF\Output\linkrepro.test.tmp.exe
tar xf repro.tar
diff
C:\Buildbot\Slave\llvm-clang-lld-x86_64-scei-ps4-windows10pro-fast\llvm.obj\tools\lld\test\COFF\Output\linkrepro.test.tmp.obj
repro/C\Buildbot\Slave\llvm-clang-lld-x86_64-scei-ps4-windows10pro-fast\llvm.obj\tools\lld\test\COFF\Output\linkrepro.test.tmp.obj
diff
C:\Buildbot\Slave\llvm-clang-lld-x86_64-scei-ps4-windows10pro-fast\llvm.src\tools\lld\test\COFF/Inputs/std32.lib
repro/C\Buildbot\Slave\llvm-clang-lld-x86_64-scei-ps4-windows10pro-fast\llvm.src\tools\lld\test\COFF/Inputs/std32.lib
C:/Buildbot/Slave/llvm-clang-lld-x86_64-scei-ps4-windows10pro-fast/llvm.obj/./bin\FileCheck.EXE
C:\Buildbot\Slave\llvm-clang-lld-x86_64-scei-ps4-windows10pro-fast\llvm.src\tools\lld\test\COFF\linkrepro.test
--check-prefix=RSP < repro/response.txt
cd
C:\Buildbot\Slave\llvm-clang-lld-x86_64-scei-ps4-windows10pro-fast\llvm.obj\tools\lld\test\COFF\Output\linkrepro.test.tmp.dir/build3
env
LIB=C:\Buildbot\Slave\llvm-clang-lld-x86_64-scei-ps4-windows10pro-fast\llvm.src\tools\lld\test\COFF/Inputs
C:/Buildbot/Slave/llvm-clang-lld-x86_64-scei-ps4-windows10pro-fast/llvm.obj/./bin\lld-link.EXE
C:\Buildbot\Slave\llvm-clang-lld-x86_64-scei-ps4-windows10pro-fast\llvm.obj\tools\lld\test\COFF\Output\linkrepro.test.tmp.obj
/defaultlib:std32 /subsystem:console    /entry:main at 0 /linkrepro:.
/out:C:\Buildbot\Slave\llvm-clang-lld-x86_64-scei-ps4-windows10pro-fast\llvm.obj\tools\lld\test\COFF\Output\linkrepro.test.tmp.exe
tar xf repro.tar
diff
C:\Buildbot\Slave\llvm-clang-lld-x86_64-scei-ps4-windows10pro-fast\llvm.obj\tools\lld\test\COFF\Output\linkrepro.test.tmp.obj
repro/C\Buildbot\Slave\llvm-clang-lld-x86_64-scei-ps4-windows10pro-fast\llvm.obj\tools\lld\test\COFF\Output\linkrepro.test.tmp.obj
diff
C:\Buildbot\Slave\llvm-clang-lld-x86_64-scei-ps4-windows10pro-fast\llvm.src\tools\lld\test\COFF/Inputs/std32.lib
repro/C\Buildbot\Slave\llvm-clang-lld-x86_64-scei-ps4-windows10pro-fast\llvm.src\tools\lld\test\COFF/Inputs/std32.lib
C:/Buildbot/Slave/llvm-clang-lld-x86_64-scei-ps4-windows10pro-fast/llvm.obj/./bin\FileCheck.EXE
C:\Buildbot\Slave\llvm-clang-lld-x86_64-scei-ps4-windows10pro-fast\llvm.src\tools\lld\test\COFF\linkrepro.test
--check-prefix=RSP < repro/response.txt
--
Exit Code: 2

Command Output (stdout):
--
$ "rm" "-rf"
"C:\Buildbot\Slave\llvm-clang-lld-x86_64-scei-ps4-windows10pro-fast\llvm.obj\tools\lld\test\COFF\Output\linkrepro.test.tmp.dir"
$ "mkdir" "-p"
"C:\Buildbot\Slave\llvm-clang-lld-x86_64-scei-ps4-windows10pro-fast\llvm.obj\tools\lld\test\COFF\Output\linkrepro.test.tmp.dir/build1"
"C:\Buildbot\Slave\llvm-clang-lld-x86_64-scei-ps4-windows10pro-fast\llvm.obj\tools\lld\test\COFF\Output\linkrepro.test.tmp.dir/build2"
"C:\Buildbot\Slave\llvm-clang-lld-x86_64-scei-ps4-windows10pro-fast\llvm.obj\tools\lld\test\COFF\Output\linkrepro.test.tmp.dir/build3"
$
"C:/Buildbot/Slave/llvm-clang-lld-x86_64-scei-ps4-windows10pro-fast/llvm.obj/./bin\yaml2obj.EXE"
$
"C:/Buildbot/Slave/llvm-clang-lld-x86_64-scei-ps4-windows10pro-fast/llvm.obj/./bin\lld-link.EXE"
"C:\Buildbot\Slave\llvm-clang-lld-x86_64-scei-ps4-windows10pro-fast\llvm.obj\tools\lld\test\COFF\Output\linkrepro.test.tmp.obj"
"C:\Buildbot\Slave\llvm-clang-lld-x86_64-scei-ps4-windows10pro-fast\llvm.src\tools\lld\test\COFF/Inputs/std32.lib"
"/subsystem:console" "/entry:main at 0" "/linkrepro:."
"/out:C:\Buildbot\Slave\llvm-clang-lld-x86_64-scei-ps4-windows10pro-fast\llvm.obj\tools\lld\test\COFF\Output\linkrepro.test.tmp.exe"
$ "tar" "xf" "repro.tar"
# command stderr:
tar: Unknown file type 'x' for , extracted as normal file
tar: : Could not create file: No such file or directory
tar: : Could not create file: No such file or directory
tar: Unknown file type 'x' for , extracted as normal file
tar: : Could not create file: No such file or directory
tar: : Could not create file: No such file or directory
tar: Error exit delayed from previous errors

error: command failed with exit status: 2

-- 
You are receiving this mail because:
You are on the CC list for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-bugs/attachments/20170106/656d061c/attachment-0001.html>


More information about the llvm-bugs mailing list