LLVM Bugzilla is read-only and represents the historical archive of all LLVM issues filled before November 26, 2021. Use github to submit LLVM bugs

Bug 32483 - AMDGPU tests just started to fail on Debian unstable
Summary: AMDGPU tests just started to fail on Debian unstable
Status: NEW
Alias: None
Product: libraries
Classification: Unclassified
Component: Backend: AMDGPU (show other bugs)
Version: trunk
Hardware: PC Linux
: P release blocker
Assignee: Sylvestre Ledru
URL:
Keywords:
Depends on: 31610
Blocks:
  Show dependency tree
 
Reported: 2017-03-31 13:12 PDT by Sylvestre Ledru
Modified: 2017-05-25 07:16 PDT (History)
7 users (show)

See Also:
Fixed By Commit(s):


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Sylvestre Ledru 2017-03-31 13:12:29 PDT
+++ This bug was initially created as a clone of Bug #31610 +++

Starting after svn299239, a bunch of AMDGPU started to fail

Testing: 0 .. 10.. 20.. 30.. 40.. 50.. 60.
FAIL: LLVM :: MC/AMDGPU/code-object-metadata-kernel-args.s (13484 of 20170)
******************** TEST 'LLVM :: MC/AMDGPU/code-object-metadata-kernel-args.s' FAILED ********************
Script:
--
/build/llvm-toolchain-snapshot-5.0~svn299142/build-llvm/./bin/llvm-mc -triple=amdgcn-amd-amdhsa -mcpu=gfx700 -show-encoding /build/llvm-toolchain-snapshot-5.0~svn299142/test/MC/AMDGPU/code-object-metadata-kernel-args.s | /build/llvm-toolchain-snapshot-5.0~svn299142/build-llvm/./bin/FileCheck --check-prefix=CHECK --check-prefix=GFX700 /build/llvm-toolchain-snapshot-5.0~svn299142/test/MC/AMDGPU/code-object-metadata-kernel-args.s
/build/llvm-toolchain-snapshot-5.0~svn299142/build-llvm/./bin/llvm-mc -triple=amdgcn-amd-amdhsa -mcpu=gfx800 -show-encoding /build/llvm-toolchain-snapshot-5.0~svn299142/test/MC/AMDGPU/code-object-metadata-kernel-args.s | /build/llvm-toolchain-snapshot-5.0~svn299142/build-llvm/./bin/FileCheck --check-prefix=CHECK --check-prefix=GFX800 /build/llvm-toolchain-snapshot-5.0~svn299142/test/MC/AMDGPU/code-object-metadata-kernel-args.s
/build/llvm-toolchain-snapshot-5.0~svn299142/build-llvm/./bin/llvm-mc -triple=amdgcn-amd-amdhsa -mcpu=gfx900 -show-encoding /build/llvm-toolchain-snapshot-5.0~svn299142/test/MC/AMDGPU/code-object-metadata-kernel-args.s | /build/llvm-toolchain-snapshot-5.0~svn299142/build-llvm/./bin/FileCheck --check-prefix=CHECK --check-prefix=GFX900 /build/llvm-toolchain-snapshot-5.0~svn299142/test/MC/AMDGPU/code-object-metadata-kernel-args.s
--
Exit Code: 1

Command Output (stderr):
--
/build/llvm-toolchain-snapshot-5.0~svn299142/test/MC/AMDGPU/code-object-metadata-kernel-args.s:6:11: error: expected string not found in input
// CHECK: Version: [ 1, 0 ]
          ^
<stdin>:4:1: note: scanning from here
---
^
<stdin>:5:1: note: possible intended match here
Version: 
^

--

********************
Testing: 0 .. 10.. 20.. 30.. 40.. 50.. 60.
FAIL: LLVM :: MC/AMDGPU/code-object-metadata-kernel-debug-props.s (13486 of 20170)
******************** TEST 'LLVM :: MC/AMDGPU/code-object-metadata-kernel-debug-props.s' FAILED ********************
Script:
--
/build/llvm-toolchain-snapshot-5.0~svn299142/build-llvm/./bin/llvm-mc -triple=amdgcn-amd-amdhsa -mcpu=gfx700 -show-encoding /build/llvm-toolchain-snapshot-5.0~svn299142/test/MC/AMDGPU/code-object-metadata-kernel-debug-props.s | /build/llvm-toolchain-snapshot-5.0~svn299142/build-llvm/./bin/FileCheck --check-prefix=CHECK --check-prefix=GFX700 /build/llvm-toolchain-snapshot-5.0~svn299142/test/MC/AMDGPU/code-object-metadata-kernel-debug-props.s
/build/llvm-toolchain-snapshot-5.0~svn299142/build-llvm/./bin/llvm-mc -triple=amdgcn-amd-amdhsa -mcpu=gfx800 -show-encoding /build/llvm-toolchain-snapshot-5.0~svn299142/test/MC/AMDGPU/code-object-metadata-kernel-debug-props.s | /build/llvm-toolchain-snapshot-5.0~svn299142/build-llvm/./bin/FileCheck --check-prefix=CHECK --check-prefix=GFX800 /build/llvm-toolchain-snapshot-5.0~svn299142/test/MC/AMDGPU/code-object-metadata-kernel-debug-props.s
/build/llvm-toolchain-snapshot-5.0~svn299142/build-llvm/./bin/llvm-mc -triple=amdgcn-amd-amdhsa -mcpu=gfx900 -show-encoding /build/llvm-toolchain-snapshot-5.0~svn299142/test/MC/AMDGPU/code-object-metadata-kernel-debug-props.s | /build/llvm-toolchain-snapshot-5.0~svn299142/build-llvm/./bin/FileCheck --check-prefix=CHECK --check-prefix=GFX900 /build/llvm-toolchain-snapshot-5.0~svn299142/test/MC/AMDGPU/code-object-metadata-kernel-debug-props.s
--
Exit Code: 1

Command Output (stderr):
--
/build/llvm-toolchain-snapshot-5.0~svn299142/test/MC/AMDGPU/code-object-metadata-kernel-debug-props.s:6:11: error: expected string not found in input
// CHECK: Version: [ 1, 0 ]
          ^
<stdin>:4:1: note: scanning from here
---
^
<stdin>:5:1: note: possible intended match here
Version: 
^

--

********************
Testing: 0 .. 10.. 20.. 30.. 40.. 50.. 60.
FAIL: LLVM :: MC/AMDGPU/code-object-metadata-kernel-code-props.s (13487 of 20170)
******************** TEST 'LLVM :: MC/AMDGPU/code-object-metadata-kernel-code-props.s' FAILED ********************
Script:
--
/build/llvm-toolchain-snapshot-5.0~svn299142/build-llvm/./bin/llvm-mc -triple=amdgcn-amd-amdhsa -mcpu=gfx700 -show-encoding /build/llvm-toolchain-snapshot-5.0~svn299142/test/MC/AMDGPU/code-object-metadata-kernel-code-props.s | /build/llvm-toolchain-snapshot-5.0~svn299142/build-llvm/./bin/FileCheck --check-prefix=CHECK --check-prefix=GFX700 /build/llvm-toolchain-snapshot-5.0~svn299142/test/MC/AMDGPU/code-object-metadata-kernel-code-props.s
/build/llvm-toolchain-snapshot-5.0~svn299142/build-llvm/./bin/llvm-mc -triple=amdgcn-amd-amdhsa -mcpu=gfx800 -show-encoding /build/llvm-toolchain-snapshot-5.0~svn299142/test/MC/AMDGPU/code-object-metadata-kernel-code-props.s | /build/llvm-toolchain-snapshot-5.0~svn299142/build-llvm/./bin/FileCheck --check-prefix=CHECK --check-prefix=GFX800 /build/llvm-toolchain-snapshot-5.0~svn299142/test/MC/AMDGPU/code-object-metadata-kernel-code-props.s
/build/llvm-toolchain-snapshot-5.0~svn299142/build-llvm/./bin/llvm-mc -triple=amdgcn-amd-amdhsa -mcpu=gfx900 -show-encoding /build/llvm-toolchain-snapshot-5.0~svn299142/test/MC/AMDGPU/code-object-metadata-kernel-code-props.s | /build/llvm-toolchain-snapshot-5.0~svn299142/build-llvm/./bin/FileCheck --check-prefix=CHECK --check-prefix=GFX900 /build/llvm-toolchain-snapshot-5.0~svn299142/test/MC/AMDGPU/code-object-metadata-kernel-code-props.s
--
Exit Code: 1

Command Output (stderr):
--
/build/llvm-toolchain-snapshot-5.0~svn299142/test/MC/AMDGPU/code-object-metadata-kernel-code-props.s:6:11: error: expected string not found in input
// CHECK: Version: [ 1, 0 ]
          ^
<stdin>:4:1: note: scanning from here
---
^
<stdin>:5:1: note: possible intended match here
Version: 
^

--

********************
Testing: 0 .. 10.. 20.. 30.. 40.. 50.. 60.
FAIL: LLVM :: MC/AMDGPU/code-object-metadata-kernel-attrs.s (13488 of 20170)
******************** TEST 'LLVM :: MC/AMDGPU/code-object-metadata-kernel-attrs.s' FAILED ********************
Script:
--
/build/llvm-toolchain-snapshot-5.0~svn299142/build-llvm/./bin/llvm-mc -triple=amdgcn-amd-amdhsa -mcpu=gfx700 -show-encoding /build/llvm-toolchain-snapshot-5.0~svn299142/test/MC/AMDGPU/code-object-metadata-kernel-attrs.s | /build/llvm-toolchain-snapshot-5.0~svn299142/build-llvm/./bin/FileCheck --check-prefix=CHECK --check-prefix=GFX700 /build/llvm-toolchain-snapshot-5.0~svn299142/test/MC/AMDGPU/code-object-metadata-kernel-attrs.s
/build/llvm-toolchain-snapshot-5.0~svn299142/build-llvm/./bin/llvm-mc -triple=amdgcn-amd-amdhsa -mcpu=gfx800 -show-encoding /build/llvm-toolchain-snapshot-5.0~svn299142/test/MC/AMDGPU/code-object-metadata-kernel-attrs.s | /build/llvm-toolchain-snapshot-5.0~svn299142/build-llvm/./bin/FileCheck --check-prefix=CHECK --check-prefix=GFX800 /build/llvm-toolchain-snapshot-5.0~svn299142/test/MC/AMDGPU/code-object-metadata-kernel-attrs.s
/build/llvm-toolchain-snapshot-5.0~svn299142/build-llvm/./bin/llvm-mc -triple=amdgcn-amd-amdhsa -mcpu=gfx900 -show-encoding /build/llvm-toolchain-snapshot-5.0~svn299142/test/MC/AMDGPU/code-object-metadata-kernel-attrs.s | /build/llvm-toolchain-snapshot-5.0~svn299142/build-llvm/./bin/FileCheck --check-prefix=CHECK --check-prefix=GFX900 /build/llvm-toolchain-snapshot-5.0~svn299142/test/MC/AMDGPU/code-object-metadata-kernel-attrs.s
--
Exit Code: 1

Command Output (stderr):
--
/build/llvm-toolchain-snapshot-5.0~svn299142/test/MC/AMDGPU/code-object-metadata-kernel-attrs.s:6:11: error: expected string not found in input
// CHECK: Version: [ 1, 0 ]
          ^
<stdin>:4:1: note: scanning from here
---
^
<stdin>:5:1: note: possible intended match here
Version: 
^

--

********************
Testing: 0 .. 10.. 20.. 30.. 40.. 50.. 60.
FAIL: LLVM :: MC/AMDGPU/hsa.s (13498 of 20170)
******************** TEST 'LLVM :: MC/AMDGPU/hsa.s' FAILED ********************
Script:
--
/build/llvm-toolchain-snapshot-5.0~svn299142/build-llvm/./bin/llvm-mc -triple amdgcn--amdhsa -mcpu=kaveri -show-encoding /build/llvm-toolchain-snapshot-5.0~svn299142/test/MC/AMDGPU/hsa.s | /build/llvm-toolchain-snapshot-5.0~svn299142/build-llvm/./bin/FileCheck /build/llvm-toolchain-snapshot-5.0~svn299142/test/MC/AMDGPU/hsa.s --check-prefix=ASM
/build/llvm-toolchain-snapshot-5.0~svn299142/build-llvm/./bin/llvm-mc -filetype=obj -triple amdgcn--amdhsa -mcpu=kaveri -show-encoding /build/llvm-toolchain-snapshot-5.0~svn299142/test/MC/AMDGPU/hsa.s | /build/llvm-toolchain-snapshot-5.0~svn299142/build-llvm/./bin/llvm-readobj -symbols -s -sd | /build/llvm-toolchain-snapshot-5.0~svn299142/build-llvm/./bin/FileCheck /build/llvm-toolchain-snapshot-5.0~svn299142/test/MC/AMDGPU/hsa.s --check-prefix=ELF
--
Exit Code: 1

Command Output (stderr):
--
/build/llvm-toolchain-snapshot-5.0~svn299142/test/MC/AMDGPU/hsa.s:48:9: error: expected string not found in input
// ASM: Version: [ 3, 0 ]
        ^
<stdin>:14:1: note: scanning from here
---
^
<stdin>:15:1: note: possible intended match here
Version: 
^
[...]

********************
Failing Tests (11):
    LLVM :: CodeGen/AMDGPU/code-object-metadata-from-llvm-ir-full.ll
    LLVM :: CodeGen/AMDGPU/code-object-metadata-invalid-ocl-version-1.ll
    LLVM :: CodeGen/AMDGPU/code-object-metadata-invalid-ocl-version-2.ll
    LLVM :: CodeGen/AMDGPU/code-object-metadata-invalid-ocl-version-3.ll
    LLVM :: CodeGen/AMDGPU/code-object-metadata-kernel-code-props.ll
    LLVM :: CodeGen/AMDGPU/code-object-metadata-kernel-debug-props.ll
    LLVM :: MC/AMDGPU/code-object-metadata-kernel-args.s
    LLVM :: MC/AMDGPU/code-object-metadata-kernel-attrs.s
    LLVM :: MC/AMDGPU/code-object-metadata-kernel-code-props.s
    LLVM :: MC/AMDGPU/code-object-metadata-kernel-debug-props.s
    LLVM :: MC/AMDGPU/hsa.s
Comment 1 Tom Stellard 2017-04-04 11:48:16 PDT
Does r298551 fix this?
Comment 2 Sylvestre Ledru 2017-04-04 14:59:33 PDT
Still exists in svn299452
Comment 3 Konstantin Zhuravlyov 2017-04-05 10:15:53 PDT
Taking a look.
Comment 4 Tom Stellard 2017-04-06 10:58:09 PDT
Does this fail in the latest release_40 branch or is it only failing in trunk?
Comment 5 Tom Stellard 2017-05-23 09:33:23 PDT
This doesn't seem like an issue for me in the release_40 branch.  I will drop this as a blocker for 4.0.1 unless someone can reproduced.