Skip to content

LLVM :: BugPoint/compile-custom.ll test fails #23

Description

@cippaciong

Hello,
I'm trying to build llvm-svn in a Docker container but the compilation fails at the end on a specific regression test

[100%] Running the LLVM regression tests
FAIL: LLVM :: BugPoint/compile-custom.ll (4744 of 28479)
******************** TEST 'LLVM :: BugPoint/compile-custom.ll' FAILED ********************
Script:
--
: 'RUN: at line 1';   /home/buildy/llvm-svn/src/build/bin/bugpoint -load /home/buildy/llvm-svn/src/build/./lib/BugpointPasses.so --compile-custom --compile-command="/home/buildy/llvm-svn/src/llvm/test/BugPoint/compile-custom.ll.py arg1 arg2" --opt-command /home/buildy/llvm
-svn/src/build/bin/opt --output-prefix /home/buildy/llvm-svn/src/build/test/BugPoint/Output/compile-custom.ll.tmp /home/buildy/llvm-svn/src/llvm/test/BugPoint/compile-custom.ll | /home/buildy/llvm-svn/src/build/bin/FileCheck /home/buildy/llvm-svn/src/llvm/test/BugPoint/com
pile-custom.ll
--
Exit Code: 1

Command Output (stderr):
--
*** Debugging code generator crash!
<crash>
<crash>
<crash>
<crash>
<crash>
<crash>
/home/buildy/llvm-svn/src/llvm/test/BugPoint/compile-custom.ll:8:10: error: CHECK: expected string not found in input
; CHECK: Error: arg1 arg2
         ^
<stdin>:1:1: note: scanning from here
Read input file : '/home/buildy/llvm-svn/src/llvm/test/BugPoint/compile-custom.ll'
^
<stdin>:6:61: note: possible intended match here
 /home/buildy/llvm-svn/src/llvm/test/BugPoint/compile-custom.ll.py arg1 arg2 /home/buildy/llvm-svn/src/build/test/BugPoint/Output/compile-custom.ll.tmp-test-program-691e005.bc arg1 arg2
                                                            ^

--

********************
Testing Time: 180.24s
********************
Failing Tests (1):
    LLVM :: BugPoint/compile-custom.ll

  Expected Passes    : 27248
  Expected Failures  : 144
  Unsupported Tests  : 1086
  Unexpected Failures: 1
make[3]: *** [test/CMakeFiles/check-llvm.dir/build.make:58: test/CMakeFiles/check-llvm] Error 1
make[2]: *** [CMakeFiles/Makefile2:166146: test/CMakeFiles/check-llvm.dir/all] Error 2
make[1]: *** [CMakeFiles/Makefile2:118580: test/CMakeFiles/check.dir/rule] Error 2
make: *** [Makefile:29553: check] Error 2
==> ERROR: A failure occurred in check().
    Aborting...

The container is pretty minimal, this is the Dockerfile I wrote to create the image

from archlinux/base

RUN pacman --noconfirm -Sy archlinux-keyring && \
    pacman --noconfirm -Syu && \
    pacman --noconfirm -S base-devel atool yajl sudo nano vim bash-completion the_silver_searcher && \
    pacman --noconfirm -Scc

RUN useradd -m buildy
RUN echo "buildy ALL=(ALL) NOPASSWD: ALL" >> /etc/sudoers
WORKDIR /home/buildy
RUN su buildy
RUN curl -LO https://aur.archlinux.org/cgit/aur.git/snapshot/cower.tar.gz

ENTRYPOINT "/bin/bash"

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions