Skip to contentSkip to conversation

❌ FAIL: Test report for kernel 5.14.0 (mainline.kernel.org-clang, f1583cb1)

DISCUSSION CKI Project 3 participants 3 messages Sep 4, 2021 – Sep 6, 2021

lore
Share & tools
lore
#0 lore raw

Hello,

We ran automated tests on a recent commit from this kernel tree:

Kernel repo: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
Commit: f1583cb1be35 - Merge tag 'linux-kselftest-next-5.15-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/shuah/linux-kselftest

The results of these automated tests are provided below.

Overall result: FAILED (see details below)
Merge: OK
Compile: FAILED
Selftests compile: FAILED

All kernel binaries, config files, and logs are available for download here:

https://arr-cki-prod-datawarehouse-public.s3.amazonaws.com/index.html?prefix=datawarehouse-public/2021/09/03/365103273

We attempted to compile the kernel for multiple architectures, but the compile failed on one or more architectures:

ppc64le: FAILED (see build-ppc64le.log.xz attachment)
s390x: FAILED (see build-s390x.log.xz attachment)

We hope that these logs can help you find the problem quickly. For the full detail on our testing procedures, please scroll to the bottom of this message.

Please reply to this email if you have any questions about the tests that we ran or if you have any suggestions on how to make future tests more effective.

        ,-.   ,-.
       ( C ) ( K )  Continuous
        `-',-.`-'   Kernel
          ( I )     Integration
           `-'

______________________________________________________________________________

Compile testing
---------------

We compiled the kernel for 4 architectures:

aarch64:
make options: make LLVM=1 -j24 INSTALL_MOD_STRIP=1 targz-pkg

ppc64le:
make options: make CC=clang -j24 INSTALL_MOD_STRIP=1 targz-pkg

s390x:
make options: make CC=clang -j24 INSTALL_MOD_STRIP=1 targz-pkg

x86_64:
make options: make LLVM=1 -j24 INSTALL_MOD_STRIP=1 targz-pkg

We built the following selftests:

x86_64:
net: OK
bpf: fail
install and packaging: OK

You can find the full log (build-selftests.log) in the artifact storage above.

#1 lore raw
Quoted 56 lines · CKI Project

Hello,

We ran automated tests on a recent commit from this kernel tree:

Kernel repo: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
Commit: f1583cb1be35 - Merge tag 'linux-kselftest-next-5.15-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/shuah/linux-kselftest

The results of these automated tests are provided below.

Overall result: FAILED (see details below)
Merge: OK
Compile: FAILED
Selftests compile: FAILED

All kernel binaries, config files, and logs are available for download here:

https://arr-cki-prod-datawarehouse-public.s3.amazonaws.com/index.html?prefix=datawarehouse-public/2021/09/03/365103273

We attempted to compile the kernel for multiple architectures, but the compile failed on one or more architectures:

ppc64le: FAILED (see build-ppc64le.log.xz attachment)
s390x: FAILED (see build-s390x.log.xz attachment)

We hope that these logs can help you find the problem quickly. For the full detail on our testing procedures, please scroll to the bottom of this message.

Please reply to this email if you have any questions about the tests that we ran or if you have any suggestions on how to make future tests more effective.

        ,-.   ,-.
       ( C ) ( K )  Continuous
        `-',-.`-'   Kernel
          ( I )     Integration
           `-'

______________________________________________________________________________

Compile testing
---------------

We compiled the kernel for 4 architectures:

aarch64:
make options: make LLVM=1 -j24 INSTALL_MOD_STRIP=1 targz-pkg

ppc64le:
make options: make CC=clang -j24 INSTALL_MOD_STRIP=1 targz-pkg

s390x:
make options: make CC=clang -j24 INSTALL_MOD_STRIP=1 targz-pkg

x86_64:
make options: make LLVM=1 -j24 INSTALL_MOD_STRIP=1 targz-pkg

Quoted 9 lines

We built the following selftests:

x86_64:
net: OK
bpf: fail
install and packaging: OK

You can find the full log (build-selftests.log) in the artifact storage above.

ppc64le: https://github.com/ClangBuiltLinux/linux/issues/672

00:00:11 clang-13: error: unsupported argument '-mpower4' to option 'Wa,' 00:00:11 clang-13: error: unsupported argument '-many' to option 'Wa,'

s390: https://github.com/ClangBuiltLinux/linux/issues/1356

00:00:20 In file included from kernel/locking/lockdep.c:31:
00:00:20 In file included from ./include/linux/sched.h:14:
00:00:20 In file included from ./include/linux/pid.h:6:
00:00:20 In file included from ./include/linux/wait.h:9:
00:00:20 In file included from ./include/linux/spinlock.h:94:
00:00:20 ./arch/s390/include/asm/spinlock.h:89:3: error: expected absolute expression
00:00:20 ALTERNATIVE("", ".long 0xb2fa0070", 49) /* NIAI 7 */
00:00:20 ^
00:00:20 ./arch/s390/include/asm/alternative.h:111:2: note: expanded from macro 'ALTERNATIVE'
00:00:20 ALTINSTR_REPLACEMENT(altinstr, 1) \
00:00:20 ^
00:00:20 ./arch/s390/include/asm/alternative.h:106:2: note: expanded from macro 'ALTINSTR_REPLACEMENT'
00:00:20 INSTR_LEN_SANITY_CHECK(altinstr_len(num))
00:00:20 ^
00:00:20 ./arch/s390/include/asm/alternative.h:62:3: note: expanded from macro 'INSTR_LEN_SANITY_CHECK'
00:00:20 ".if " len " > 254\n" \
00:00:20 ^
00:00:20 <inline asm>:5:5: note: instantiated into assembly here
00:00:20 .if 6651b-6641b > 254
00:00:20 ^

This is caused by the implicit switch to the integrated assembler in commit f12b034afeb3 ("scripts/Makefile.clang: default to LLVM_IAS=1"). Please add 'LLVM_IAS=0' to the 'CC=clang' commands above and the build should be back to passing like before.

Cheers,
Nathan

#2 lore raw

Hi Nathan,

Quoted 15 lines · Nathan Chancellor
Quoted 5 lines · CKI Project

We ran automated tests on a recent commit from this kernel tree:

Kernel repo: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
Commit: f1583cb1be35 - Merge tag 'linux-kselftest-next-5.15-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/shuah/linux-kselftest

Quoted 9 lines

ppc64le: FAILED (see build-ppc64le.log.xz attachment)
s390x: FAILED (see build-s390x.log.xz attachment)

ppc64le:
make options: make CC=clang -j24 INSTALL_MOD_STRIP=1 targz-pkg

s390x:
make options: make CC=clang -j24 INSTALL_MOD_STRIP=1 targz-pkg

Quoted 7 lines

ppc64le: https://github.com/ClangBuiltLinux/linux/issues/672
s390: https://github.com/ClangBuiltLinux/linux/issues/1356

This is caused by the implicit switch to the integrated assembler in commit f12b034afeb3 ("scripts/Makefile.clang: default to LLVM_IAS=1"). Please add 'LLVM_IAS=0' to the 'CC=clang' commands above and the build should be back to passing like before.

Thank you! I filed [1][2] to fix/track this.

Cheers

Michael

[1] https://gitlab.com/cki-project/pipeline-definition/-/merge_requests/1382
[2] https://gitlab.com/cki-project/pipeline-definition/-/issues/77