llvm-ci wrote:

LLVM Buildbot has detected a new failure on builder `hip-third-party-libs-test` 
running on `ext_buildbot_hw_05-hip-docker` while building 
`clang,cmake,flang-rt,flang,llvm,openmp,runtimes` at step 4 "annotate".

Full details are available at: 
https://lab.llvm.org/buildbot/#/builders/206/builds/9559

<details>
<summary>Here is the relevant piece of the build log for the reference</summary>

```
Step 4 (annotate) failure: 
'../llvm-zorg/zorg/buildbot/builders/annotated/hip-tpl.py --jobs=32' (failure)
...
  Failed to generate test project build system.
Call Stack (most recent call first):
  /usr/share/cmake-3.22/Modules/CheckFortranSourceCompiles.cmake:97 
(cmake_check_source_compiles)
  CMakeLists.txt:440 (check_fortran_source_compiles)
  
/home/botworker/bbot/hip-third-party-libs-test/llvm-project/openmp/CMakeLists.txt:118
 (flang_module_fortran_enable)


-- Configuring incomplete, errors occurred!
See also 
"/home/botworker/bbot/hip-third-party-libs-test/build/runtimes/runtimes-amdgcn-amd-amdhsa-bins/CMakeFiles/CMakeOutput.log".
See also 
"/home/botworker/bbot/hip-third-party-libs-test/build/runtimes/runtimes-amdgcn-amd-amdhsa-bins/CMakeFiles/CMakeError.log".
FAILED: 
runtimes/runtimes-amdgcn-amd-amdhsa-stamps/runtimes-amdgcn-amd-amdhsa-configure 
/home/botworker/bbot/hip-third-party-libs-test/build/runtimes/runtimes-amdgcn-amd-amdhsa-stamps/runtimes-amdgcn-amd-amdhsa-configure
 
cd 
/home/botworker/bbot/hip-third-party-libs-test/build/runtimes/runtimes-amdgcn-amd-amdhsa-bins
 && /usr/bin/cmake --no-warn-unused-cli 
-DCMAKE_C_COMPILER=/home/botworker/bbot/hip-third-party-libs-test/build/./bin/clang
 
-DCMAKE_CXX_COMPILER=/home/botworker/bbot/hip-third-party-libs-test/build/./bin/clang++
 
-DCMAKE_ASM_COMPILER=/home/botworker/bbot/hip-third-party-libs-test/build/./bin/clang
 
-DCMAKE_Fortran_COMPILER=/home/botworker/bbot/hip-third-party-libs-test/build/./bin/flang
 
-DCMAKE_LINKER=/home/botworker/bbot/hip-third-party-libs-test/build/./bin/ld.lld
 -DCMAKE_AR=/home/botworker/bbot/hip-third-party-libs-test/build/./bin/llvm-ar 
-DCMAKE_RANLIB=/home/botworker/bbot/hip-third-party-libs-test/build/./bin/llvm-ranlib
 -DCMAKE_NM=/home/botworker/bbot/hip-third-party-libs-test/build/./bin/llvm-nm 
-DCMAKE_OBJDUMP=/home/botworker/bbot/hip-third-party-libs-test/build/./bin/llvm-objdump
 
-DCMAKE_OBJCOPY=/home/botworker/bbot/hip-third-party-libs-test/build/./bin/llvm-objcopy
 
-DCMAKE_STRIP=/home/botworker/bbot/hip-third-party-libs-test/build/./bin/llvm-strip
 
-DCMAKE_READELF=/home/botworker/bbot/hip-third-party-libs-test/build/./bin/llvm-readelf
 -DCMAKE_C_COMPILER_TARGET=amdgcn-amd-amdhsa 
-DCMAKE_CXX_COMPILER_TARGET=amdgcn-amd-amdhsa 
-DCMAKE_Fortran_COMPILER_TARGET=amdgcn-amd-amdhsa 
-DCMAKE_ASM_COMPILER_TARGET=amdgcn-amd-amdhsa 
-DCMAKE_INSTALL_PREFIX=/tmp/llvm.install.test 
-DLLVM_BINARY_DIR=/home/botworker/bbot/hip-third-party-libs-test/build 
-DLLVM_CONFIG_PATH=/home/botworker/bbot/hip-third-party-libs-test/build/bin/llvm-config
 -DLLVM_ENABLE_WERROR=OFF -DLLVM_HOST_TRIPLE=x86_64-unknown-linux-gnu 
-DLLVM_HAVE_LINK_VERSION_SCRIPT=1 -DLLVM_USE_RELATIVE_PATHS_IN_DEBUG_INFO=OFF 
-DLLVM_USE_RELATIVE_PATHS_IN_FILES=OFF "-DLLVM_LIT_ARGS=-v --show-unsupported 
--timeout 100 --show-xfail -j 16" -DLLVM_SOURCE_PREFIX= 
-DPACKAGE_VERSION=22.0.0git -DCMAKE_BUILD_TYPE=Release 
-DCMAKE_MAKE_PROGRAM=/usr/bin/ninja -DCMAKE_EXPORT_COMPILE_COMMANDS=1 
-DCOMPILER_RT_BUILD_BUILTINS=OFF -DLLVM_INCLUDE_TESTS=ON 
-DLLVM_ENABLE_PROJECTS_USED=ON -DLLVM_ENABLE_PER_TARGET_RUNTIME_DIR=ON 
-DCMAKE_C_COMPILER_WORKS=ON -DCMAKE_CXX_COMPILER_WORKS=ON 
-DCMAKE_Fortran_COMPILER_WORKS=ON -DCMAKE_ASM_COMPILER_WORKS=ON 
-DCOMPILER_RT_DEFAULT_TARGET_ONLY=ON -DLLVM_RUNTIMES_TARGET=amdgcn-amd-amdhsa 
-DHAVE_LLVM_LIT=ON -DCLANG_RESOURCE_DIR= 
-DLLVM_DEFAULT_TARGET_TRIPLE=amdgcn-amd-amdhsa -DFORTRAN_SUPPORTS_REAL16=FALSE 
"-DLLVM_ENABLE_RUNTIMES=compiler-rt;flang-rt" -DLLVM_USE_LINKER= 
-DLLVM_ENABLE_RUNTIMES=openmp -GNinja 
-C/home/botworker/bbot/hip-third-party-libs-test/build/projects/runtimes-amdgcn-amd-amdhsa/tmp/runtimes-amdgcn-amd-amdhsa-cache-Release.cmake
 
/home/botworker/bbot/hip-third-party-libs-test/llvm-project/llvm/runtimes/../../runtimes
 && /usr/bin/cmake -E touch 
/home/botworker/bbot/hip-third-party-libs-test/build/runtimes/runtimes-amdgcn-amd-amdhsa-stamps//runtimes-amdgcn-amd-amdhsa-configure
[8192/8203] Linking CXX executable bin/bbc
ninja: build stopped: subcommand failed.
['ninja'] exited with return code 1.
The build step threw an exception...
Traceback (most recent call last):
  File 
"/home/botworker/bbot/hip-third-party-libs-test/build/../llvm-zorg/zorg/buildbot/builders/annotated/hip-tpl.py",
 line 107, in step
    yield
  File 
"/home/botworker/bbot/hip-third-party-libs-test/build/../llvm-zorg/zorg/buildbot/builders/annotated/hip-tpl.py",
 line 44, in main
    run_command(["ninja"])
  File 
"/home/botworker/bbot/hip-third-party-libs-test/build/../llvm-zorg/zorg/buildbot/builders/annotated/hip-tpl.py",
 line 120, in run_command
    util.report_run_cmd(cmd, cwd=directory)
  File 
"/home/botworker/bbot/hip-third-party-libs-test/llvm-zorg/zorg/buildbot/builders/annotated/util.py",
 line 49, in report_run_cmd
    subprocess.check_call(cmd, shell=shell, *args, **kwargs)
  File "/usr/lib/python3.10/subprocess.py", line 369, in check_call
    raise CalledProcessError(retcode, cmd)
subprocess.CalledProcessError: Command '['ninja']' returned non-zero exit 
status 1.
@@@STEP_FAILURE@@@
@@@BUILD_STEP update llvm-test-suite@@@
@@@HALT_ON_FAILURE@@@
Running: git reset --hard origin/main
HEAD is now at 5a39f941b [gfortran] Disable appendix-a/a.6.2.f90 (#296)
Running: git pull
Already up to date.
@@@BUILD_STEP configure test suite@@@
@@@HALT_ON_FAILURE@@@
Running: cmake -GNinja -B TS-build -S . 
-DTEST_SUITE_EXTERNALS_DIR=/opt/botworker/llvm/External -DAMDGPU_ARCHS=gfx90a 
-DTEST_SUITE_SUBDIRS=External -DEXTERNAL_HIP_TESTS_KOKKOS=ON 
-DCMAKE_CXX_COMPILER=/home/botworker/bbot/hip-third-party-libs-test/build/bin/clang++
 
-DCMAKE_C_COMPILER=/home/botworker/bbot/hip-third-party-libs-test/build/bin/clang
-- The C compiler identification is Clang 22.0.0
-- The CXX compiler identification is Clang 22.0.0
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Check for working C compiler: 
/home/botworker/bbot/hip-third-party-libs-test/build/bin/clang - skipped
-- Detecting C compile features
-- Detecting C compile features - done
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Check for working CXX compiler: 
/home/botworker/bbot/hip-third-party-libs-test/build/bin/clang++ - skipped
-- Detecting CXX compile features
Step 7 (build cmake config) failure: build cmake config (failure)
...
CMAKE_Fortran_PREPROCESS_SOURCE
CMake Error at 
/usr/share/cmake-3.22/Modules/Internal/CheckSourceCompiles.cmake:92 
(try_compile):
  Failed to generate test project build system.
Call Stack (most recent call first):
  /usr/share/cmake-3.22/Modules/CheckFortranSourceCompiles.cmake:97 
(cmake_check_source_compiles)
  CMakeLists.txt:440 (check_fortran_source_compiles)
  
/home/botworker/bbot/hip-third-party-libs-test/llvm-project/openmp/CMakeLists.txt:118
 (flang_module_fortran_enable)
-- Configuring incomplete, errors occurred!
See also 
"/home/botworker/bbot/hip-third-party-libs-test/build/runtimes/runtimes-amdgcn-amd-amdhsa-bins/CMakeFiles/CMakeOutput.log".
See also 
"/home/botworker/bbot/hip-third-party-libs-test/build/runtimes/runtimes-amdgcn-amd-amdhsa-bins/CMakeFiles/CMakeError.log".
FAILED: 
runtimes/runtimes-amdgcn-amd-amdhsa-stamps/runtimes-amdgcn-amd-amdhsa-configure 
/home/botworker/bbot/hip-third-party-libs-test/build/runtimes/runtimes-amdgcn-amd-amdhsa-stamps/runtimes-amdgcn-amd-amdhsa-configure
 
cd 
/home/botworker/bbot/hip-third-party-libs-test/build/runtimes/runtimes-amdgcn-amd-amdhsa-bins
 && /usr/bin/cmake --no-warn-unused-cli 
-DCMAKE_C_COMPILER=/home/botworker/bbot/hip-third-party-libs-test/build/./bin/clang
 
-DCMAKE_CXX_COMPILER=/home/botworker/bbot/hip-third-party-libs-test/build/./bin/clang++
 
-DCMAKE_ASM_COMPILER=/home/botworker/bbot/hip-third-party-libs-test/build/./bin/clang
 
-DCMAKE_Fortran_COMPILER=/home/botworker/bbot/hip-third-party-libs-test/build/./bin/flang
 
-DCMAKE_LINKER=/home/botworker/bbot/hip-third-party-libs-test/build/./bin/ld.lld
 -DCMAKE_AR=/home/botworker/bbot/hip-third-party-libs-test/build/./bin/llvm-ar 
-DCMAKE_RANLIB=/home/botworker/bbot/hip-third-party-libs-test/build/./bin/llvm-ranlib
 -DCMAKE_NM=/home/botworker/bbot/hip-third-party-libs-test/build/./bin/llvm-nm 
-DCMAKE_OBJDUMP=/home/botworker/bbot/hip-third-party-libs-test/build/./bin/llvm-objdump
 
-DCMAKE_OBJCOPY=/home/botworker/bbot/hip-third-party-libs-test/build/./bin/llvm-objcopy
 
-DCMAKE_STRIP=/home/botworker/bbot/hip-third-party-libs-test/build/./bin/llvm-strip
 
-DCMAKE_READELF=/home/botworker/bbot/hip-third-party-libs-test/build/./bin/llvm-readelf
 -DCMAKE_C_COMPILER_TARGET=amdgcn-amd-amdhsa 
-DCMAKE_CXX_COMPILER_TARGET=amdgcn-amd-amdhsa 
-DCMAKE_Fortran_COMPILER_TARGET=amdgcn-amd-amdhsa 
-DCMAKE_ASM_COMPILER_TARGET=amdgcn-amd-amdhsa 
-DCMAKE_INSTALL_PREFIX=/tmp/llvm.install.test 
-DLLVM_BINARY_DIR=/home/botworker/bbot/hip-third-party-libs-test/build 
-DLLVM_CONFIG_PATH=/home/botworker/bbot/hip-third-party-libs-test/build/bin/llvm-config
 -DLLVM_ENABLE_WERROR=OFF -DLLVM_HOST_TRIPLE=x86_64-unknown-linux-gnu 
-DLLVM_HAVE_LINK_VERSION_SCRIPT=1 -DLLVM_USE_RELATIVE_PATHS_IN_DEBUG_INFO=OFF 
-DLLVM_USE_RELATIVE_PATHS_IN_FILES=OFF "-DLLVM_LIT_ARGS=-v --show-unsupported 
--timeout 100 --show-xfail -j 16" -DLLVM_SOURCE_PREFIX= 
-DPACKAGE_VERSION=22.0.0git -DCMAKE_BUILD_TYPE=Release 
-DCMAKE_MAKE_PROGRAM=/usr/bin/ninja -DCMAKE_EXPORT_COMPILE_COMMANDS=1 
-DCOMPILER_RT_BUILD_BUILTINS=OFF -DLLVM_INCLUDE_TESTS=ON 
-DLLVM_ENABLE_PROJECTS_USED=ON -DLLVM_ENABLE_PER_TARGET_RUNTIME_DIR=ON 
-DCMAKE_C_COMPILER_WORKS=ON -DCMAKE_CXX_COMPILER_WORKS=ON 
-DCMAKE_Fortran_COMPILER_WORKS=ON -DCMAKE_ASM_COMPILER_WORKS=ON 
-DCOMPILER_RT_DEFAULT_TARGET_ONLY=ON -DLLVM_RUNTIMES_TARGET=amdgcn-amd-amdhsa 
-DHAVE_LLVM_LIT=ON -DCLANG_RESOURCE_DIR= 
-DLLVM_DEFAULT_TARGET_TRIPLE=amdgcn-amd-amdhsa -DFORTRAN_SUPPORTS_REAL16=FALSE 
"-DLLVM_ENABLE_RUNTIMES=compiler-rt;flang-rt" -DLLVM_USE_LINKER= 
-DLLVM_ENABLE_RUNTIMES=openmp -GNinja 
-C/home/botworker/bbot/hip-third-party-libs-test/build/projects/runtimes-amdgcn-amd-amdhsa/tmp/runtimes-amdgcn-amd-amdhsa-cache-Release.cmake
 
/home/botworker/bbot/hip-third-party-libs-test/llvm-project/llvm/runtimes/../../runtimes
 && /usr/bin/cmake -E touch 
/home/botworker/bbot/hip-third-party-libs-test/build/runtimes/runtimes-amdgcn-amd-amdhsa-stamps//runtimes-amdgcn-amd-amdhsa-configure
[8192/8203] Linking CXX executable bin/bbc
ninja: build stopped: subcommand failed.
['ninja'] exited with return code 1.
The build step threw an exception...
Traceback (most recent call last):
  File 
"/home/botworker/bbot/hip-third-party-libs-test/build/../llvm-zorg/zorg/buildbot/builders/annotated/hip-tpl.py",
 line 107, in step
    yield
  File 
"/home/botworker/bbot/hip-third-party-libs-test/build/../llvm-zorg/zorg/buildbot/builders/annotated/hip-tpl.py",
 line 44, in main
    run_command(["ninja"])
  File 
"/home/botworker/bbot/hip-third-party-libs-test/build/../llvm-zorg/zorg/buildbot/builders/annotated/hip-tpl.py",
 line 120, in run_command
    util.report_run_cmd(cmd, cwd=directory)
  File 
"/home/botworker/bbot/hip-third-party-libs-test/llvm-zorg/zorg/buildbot/builders/annotated/util.py",
 line 49, in report_run_cmd
    subprocess.check_call(cmd, shell=shell, *args, **kwargs)
  File "/usr/lib/python3.10/subprocess.py", line 369, in check_call
    raise CalledProcessError(retcode, cmd)
subprocess.CalledProcessError: Command '['ninja']' returned non-zero exit 
status 1.

```

</details>

https://github.com/llvm/llvm-project/pull/137828
_______________________________________________
cfe-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to