fedora-llvm-team / llvm-snapshots

Everything to build LLVM snapshots
https://copr.fedorainfracloud.org/coprs/g/fedora-llvm-team/llvm-snapshots/
15 stars 8 forks source link

Snapshot for 20240821, v20.0.0, 0e24686 (pgo) #658

Closed github-actions[bot] closed 2 months ago

github-actions[bot] commented 2 months ago

This issue exists to let you know that we are about to monitor the builds of the LLVM (v20.0.0, llvm/llvm-project@ 0e24686) snapshot for 20240821.

At certain intervals the CI system will update this very comment over time to reflect the progress of builds.
Log analysis
For example if a build of the llvm project fails on the fedora-rawhide-x86_64 platform, we'll analyze the build log (if any) to identify the cause of the failure. The cause can be any of ['srpm_build_issue', 'copr_timeout', 'network_issue', 'dependency_issue', 'test', 'downstream_patch_application', 'rpm__installed_but_unpackaged_files_found', 'rpm__directory_not_found', 'rpm__file_not_found', 'cmake_error', 'unknown']. For each cause we will list the packages and the relevant log excerpts.
Use of labels
Let's assume a unit test test in upstream LLVM was broken. We will then add these labels to this issue: error/test, build_failed_on/fedora-rawhide-x86_64, project/llvm. If you manually restart a build in Copr and can bring it to a successful state, we will automatically remove the aforementioned labels.

Last updated: 2024-08-23T23:21:34.209186

Build Matrix | |llvm| |:---|:---:| |fedora-39-aarch64
:x: Copr build(s) failed|[:x:](https://copr.fedorainfracloud.org/coprs/build/7929100)| |fedora-39-i386
:x: Copr build(s) failed|[:x:](https://copr.fedorainfracloud.org/coprs/build/7929101)| |fedora-39-ppc64le
:x: Copr build(s) failed|[:x:](https://copr.fedorainfracloud.org/coprs/build/7929102)| |fedora-39-s390x
:x: Copr build(s) failed|[:x:](https://copr.fedorainfracloud.org/coprs/build/7929103)| |fedora-39-x86_64
:x: Copr build(s) failed|[:x:](https://copr.fedorainfracloud.org/coprs/build/7929104)| |fedora-40-aarch64
:x: Copr build(s) failed|[:x:](https://copr.fedorainfracloud.org/coprs/build/7929105)| |fedora-40-i386
:x: Copr build(s) failed|[:x:](https://copr.fedorainfracloud.org/coprs/build/7929106)| |fedora-40-ppc64le
:x: Copr build(s) failed|[:x:](https://copr.fedorainfracloud.org/coprs/build/7929107)| |fedora-40-s390x
:x: Copr build(s) failed|[:x:](https://copr.fedorainfracloud.org/coprs/build/7929108)| |fedora-40-x86_64
:x: tests error|[:white_check_mark:](https://copr.fedorainfracloud.org/coprs/build/7931143)| |fedora-41-aarch64
:x: Copr build(s) failed|[:x:](https://copr.fedorainfracloud.org/coprs/build/7929110)| |fedora-41-i386
:x: Copr build(s) failed|[:x:](https://copr.fedorainfracloud.org/coprs/build/7929111)| |fedora-41-ppc64le
:x: Copr build(s) failed|[:x:](https://copr.fedorainfracloud.org/coprs/build/7929112)| |fedora-41-s390x
:x: Copr build(s) failed|[:x:](https://copr.fedorainfracloud.org/coprs/build/7929113)| |fedora-41-x86_64
:x: Copr build(s) failed|[:x:](https://copr.fedorainfracloud.org/coprs/build/7929114)| |fedora-rawhide-aarch64
:x: Copr build(s) failed|[:x:](https://copr.fedorainfracloud.org/coprs/build/7929115)| |fedora-rawhide-i386
:x: Copr build(s) failed|[:x:](https://copr.fedorainfracloud.org/coprs/build/7929116)| |fedora-rawhide-ppc64le
:x: Copr build(s) failed|[:x:](https://copr.fedorainfracloud.org/coprs/build/7929118)| |fedora-rawhide-s390x
:x: Copr build(s) failed|[:x:](https://copr.fedorainfracloud.org/coprs/build/7929120)| |fedora-rawhide-x86_64
:x: Copr build(s) failed|[:x:](https://copr.fedorainfracloud.org/coprs/build/7929122)| |rhel-8-aarch64
:x: Copr build(s) failed|[:x:](https://copr.fedorainfracloud.org/coprs/build/7929124)| |rhel-8-s390x
:x: Copr build(s) failed|[:x:](https://copr.fedorainfracloud.org/coprs/build/7929126)| |rhel-8-x86_64
:x: Copr build(s) failed|[:x:](https://copr.fedorainfracloud.org/coprs/build/7929128)| |rhel-9-aarch64
:x: Copr build(s) failed|[:x:](https://copr.fedorainfracloud.org/coprs/build/7929130)| |rhel-9-s390x
:x: Copr build(s) failed|[:x:](https://copr.fedorainfracloud.org/coprs/build/7929132)| |rhel-9-x86_64
:x: Copr build(s) failed|[:x:](https://copr.fedorainfracloud.org/coprs/build/7929134)|
Build status legend
  • :o: : canceled
  • :x: : failed
  • :ballot_box_with_check: : forked
  • :inbox_tray: : importing
  • :soon: : pending
  • :running: : running
  • :no_entry_sign: : skipped
  • :star: : starting
  • :white_check_mark: : succeeded
  • :hourglass: : waiting
  • :grey_question: : unknown
  • :warning: : pipeline error (only relevant to testing-farm)
github-actions[bot] commented 2 months ago

Errors found in Copr builds on fedora-39-aarch64

github-actions[bot] commented 2 months ago

Errors found in Copr builds on fedora-39-i386

github-actions[bot] commented 2 months ago

Errors found in Copr builds on fedora-39-ppc64le

github-actions[bot] commented 2 months ago

Errors found in Copr builds on fedora-39-s390x

github-actions[bot] commented 2 months ago

Errors found in Copr builds on fedora-39-x86_64

github-actions[bot] commented 2 months ago

Errors found in Copr builds on fedora-40-aarch64

github-actions[bot] commented 2 months ago

Errors found in Copr builds on fedora-40-i386

github-actions[bot] commented 2 months ago

Errors found in Copr builds on fedora-40-ppc64le

github-actions[bot] commented 2 months ago

Errors found in Copr builds on fedora-40-s390x

github-actions[bot] commented 2 months ago

Errors found in Copr builds on fedora-40-x86_64

github-actions[bot] commented 2 months ago

Errors found in Copr builds on fedora-41-aarch64

github-actions[bot] commented 2 months ago

Errors found in Copr builds on fedora-41-i386

github-actions[bot] commented 2 months ago

Errors found in Copr builds on fedora-41-ppc64le

github-actions[bot] commented 2 months ago

Errors found in Copr builds on fedora-41-s390x

github-actions[bot] commented 2 months ago

Errors found in Copr builds on fedora-41-x86_64

github-actions[bot] commented 2 months ago

Errors found in Copr builds on fedora-rawhide-aarch64

github-actions[bot] commented 2 months ago

Errors found in Copr builds on fedora-rawhide-i386

github-actions[bot] commented 2 months ago

Errors found in Copr builds on fedora-rawhide-ppc64le

github-actions[bot] commented 2 months ago

Errors found in Copr builds on fedora-rawhide-s390x

github-actions[bot] commented 2 months ago

Errors found in Copr builds on fedora-rawhide-x86_64

github-actions[bot] commented 2 months ago

Errors found in Copr builds on rhel-8-aarch64

github-actions[bot] commented 2 months ago

Errors found in Copr builds on rhel-8-s390x

github-actions[bot] commented 2 months ago

Errors found in Copr builds on rhel-8-x86_64

github-actions[bot] commented 2 months ago

Errors found in Copr builds on rhel-9-aarch64

github-actions[bot] commented 2 months ago

Errors found in Copr builds on rhel-9-s390x

github-actions[bot] commented 2 months ago

Errors found in Copr builds on rhel-9-x86_64

kwk commented 2 months ago

Here's an error that looks as if we use GCC to build LLVM on RHEL8. I thought we build everything with clang these days. I could be wrong. This is most likely caused by introduction of the -Wno-error=backend-plugin flag.

Errors found in Copr builds on rhel-8-x86_64

* cmake_error1. `llvm` on `rhel-8-x86_64` (see [build log](https://download.copr.fedorainfracloud.org/results/@fedora-llvm-team/llvm-snapshots-pgo-20240821/rhel-8-x86_64/07929128-llvm/builder-live.log.gz), [contribute to log-detective](https://logdetective.com/contribute/copr/07929128/rhel-8-x86_64))

     ```
     CMake Error at /usr/share/cmake/Modules/CMakeTestCCompiler.cmake:67 (message):
       The C compiler

         "/usr/bin/cc"

       is not able to compile a simple test program.

       It fails with the following output:

         Change Dir: /builddir/build/BUILD/llvm-project-0e24686af49d2f9e50438d3a27db6f1ade594855/llvm/x86_64-redhat-linux-gnu/CMakeFiles/CMakeScratch/TryCompile-63bmhe

         Run Build Command(s):/usr/bin/ninja-build -v cmTC_1ea44 && [1/2] /usr/bin/cc   -O2 -g1 -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -D_DEFAULT_SOURCE -Dasm=__asm__ -Wno-error=backend-plugin -o CMakeFiles/cmTC_1ea44.dir/testCCompiler.c.o -c /builddir/build/BUILD/llvm-project-0e24686af49d2f9e50438d3a27db6f1ade594855/llvm/x86_64-redhat-linux-gnu/CMakeFiles/CMakeScratch/TryCompile-63bmhe/testCCompiler.c
         FAILED: CMakeFiles/cmTC_1ea44.dir/testCCompiler.c.o 
         /usr/bin/cc   -O2 -g1 -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -D_DEFAULT_SOURCE -Dasm=__asm__ -Wno-error=backend-plugin -o CMakeFiles/cmTC_1ea44.dir/testCCompiler.c.o -c /builddir/build/BUILD/llvm-project-0e24686af49d2f9e50438d3a27db6f1ade594855/llvm/x86_64-redhat-linux-gnu/CMakeFiles/CMakeScratch/TryCompile-63bmhe/testCCompiler.c
         cc1: error: -Werror=backend-plugin: no option -Wbackend-plugin
         ninja: build stopped: subcommand failed.

       CMake will not be able to correctly generate this project.
     Call Stack (most recent call first):
       CMakeLists.txt:45 (project)

     -- Configuring incomplete, errors occurred!
     ```

To reproduce this with minimal effort I followed these steps:

$ podman run -it --rm rhel8 bash
# dnf install -y clang
# echo "int main() { return 0; }" > /tmp/main.c
# /usr/bin/cc   -O2 -g1 -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -D_DEFAULT_SOURCE -Dasm=__asm__ -Wno-error=backend-plugin -c /tmp/main.c
cc1: error: -Werror=backend-plugin: no option -Wbackend-plugin
kwk commented 2 months ago

The error below was caused by https://github.com/llvm/llvm-project/pull/101461 and I wonder if we should wait before we add this /usr/bin/llvm-cgdata binary because the PR is full of buildbot errors still.

Errors found in Copr builds on fedora-39-x86_64

* rpm__installed_but_unpackaged_files_found1. `llvm` on `fedora-39-x86_64` (see [build log](https://download.copr.fedorainfracloud.org/results/@fedora-llvm-team/llvm-snapshots-pgo-20240821/fedora-39-x86_64/07929104-llvm/builder-live.log.gz), [contribute to log-detective](https://logdetective.com/contribute/copr/07929104/fedora-39-x86_64))

     ```
     Installed (but unpackaged) file(s) found:
        /usr/bin/llvm-cgdata
        /usr/lib/debug/usr/bin/llvm-cgdata-20.0.0~pre20240821.g0e24686af49d2f-1.fc39.x86_64.debug
         Macro expanded in comment on line 32: %ix86 riscv64

         Macro expanded in comment on line 33: %bcond_with lto_build

         Macro expanded in comment on line 35: %bcond_without lto_build

         absolute symlink: /usr/bin/clang-format-diff -> /usr/share/clang/clang-format-diff.py
         Installed (but unpackaged) file(s) found:
        /usr/bin/llvm-cgdata
        /usr/lib/debug/usr/bin/llvm-cgdata-20.0.0~pre20240821.g0e24686af49d2f-1.fc39.x86_64.debug
     Finish: rpmbuild llvm-20.0.0~pre20240821.g0e24686af49d2f-1.fc39.src.rpm
     Finish: build phase for llvm-20.0.0~pre20240821.g0e24686af49d2f-1.fc39.src.rpm
     INFO: chroot_scan: 3 files copied to /var/lib/copr-rpmbuild/results/chroot_scan
     INFO: /var/lib/mock/fedora-39-x86_64-1724205449.566166/root/var/log/dnf.rpm.log
     /var/lib/mock/fedora-39-x86_64-1724205449.566166/root/var/log/dnf.librepo.log
     /var/lib/mock/fedora-39-x86_64-1724205449.566166/root/var/log/dnf.log
     ERROR: Exception(/var/lib/copr-rpmbuild/results/llvm-20.0.0~pre20240821.g0e24686af49d2f-1.fc39.src.rpm) Config(fedora-39-x86_64) 68 minutes 6 seconds
     INFO: Results and/or logs in: /var/lib/copr-rpmbuild/results
     INFO: Cleaning up build root ('cleanup_on_failure=True')
     Start: clean chroot
     INFO: unmounting tmpfs.
     Finish
     ```