Pull request #7089 opened 23:56:51 Connecting to https://api.github.com using 476720/****** Obtained .jenkins from 874aa8b02f26788c3bb274baa7bbd72dc653847b+24454fa826e4ccf7bd92aac035a2a71c8be59677 (77aded2b30ab1f137a8d18f8fc5e69d638b0c218) [Pipeline] Start of Pipeline [Pipeline] withEnv [Pipeline] { [Pipeline] timeout Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Clang-Format) [Pipeline] node Running on waffle03 in /var/jenkins/workspace/Kokkos_PR-7089 [Pipeline] { [Pipeline] checkout Selected Git installation does not exist. Using Default The recommended git tool is: NONE using credential Jenkins ORNL Cloning the remote Git repository Cloning with configured refspecs honoured and without tags Cloning repository https://github.com/kokkos/kokkos.git > git init /var/jenkins/workspace/Kokkos_PR-7089 # timeout=10 Fetching upstream changes from https://github.com/kokkos/kokkos.git > git --version # timeout=10 > git --version # 'git version 2.17.1' using GIT_ASKPASS to set credentials > git fetch --no-tags --progress -- https://github.com/kokkos/kokkos.git +refs/pull/7089/head:refs/remotes/origin/PR-7089 +refs/heads/develop:refs/remotes/origin/develop # timeout=10 Fetching without tags > git config remote.origin.url https://github.com/kokkos/kokkos.git # timeout=10 > git config --add remote.origin.fetch +refs/pull/7089/head:refs/remotes/origin/PR-7089 # timeout=10 > git config --add remote.origin.fetch +refs/heads/develop:refs/remotes/origin/develop # timeout=10 > git config remote.origin.url https://github.com/kokkos/kokkos.git # timeout=10 Fetching upstream changes from https://github.com/kokkos/kokkos.git using GIT_ASKPASS to set credentials > git fetch --no-tags --progress -- https://github.com/kokkos/kokkos.git +refs/pull/7089/head:refs/remotes/origin/PR-7089 +refs/heads/develop:refs/remotes/origin/develop # timeout=10 Merging remotes/origin/develop commit 24454fa826e4ccf7bd92aac035a2a71c8be59677 into PR head commit 874aa8b02f26788c3bb274baa7bbd72dc653847b Merge succeeded, producing 874aa8b02f26788c3bb274baa7bbd72dc653847b Checking out Revision 874aa8b02f26788c3bb274baa7bbd72dc653847b (PR-7089) Commit message: "Add test for AtomicAccessorRelaxed" First time build. Skipping changelog. > git config core.sparsecheckout # timeout=10 > git checkout -f 874aa8b02f26788c3bb274baa7bbd72dc653847b # timeout=10 > git remote # timeout=10 > git config --get remote.origin.url # timeout=10 using GIT_ASKPASS to set credentials > git merge 24454fa826e4ccf7bd92aac035a2a71c8be59677 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 874aa8b02f26788c3bb274baa7bbd72dc653847b # timeout=10 [Pipeline] withEnv [Pipeline] { [Pipeline] isUnix [Pipeline] readFile [Pipeline] sh + docker build -t de1d87c0462fbebfa5f53c3a4f4d3908d54e7154 -f scripts/docker/Dockerfile.clang scripts/docker DEPRECATED: The legacy builder is deprecated and will be removed in a future release. Install the buildx component to build images with BuildKit: https://docs.docker.com/go/buildx/ Sending build context to Docker daemon 22.02kB Step 1/3 : FROM ubuntu:20.04 ---> f78909c2b360 Step 2/3 : RUN apt-get update && apt-get install -y bc git build-essential clang-format-8 wget && apt-get clean && rm -rf /var/lib/apt/lists/* ---> Using cache ---> b91b45b0a831 Step 3/3 : ENV CLANG_FORMAT_EXE=clang-format-8 ---> Using cache ---> d5fdd33b8c1a Successfully built d5fdd33b8c1a Successfully tagged de1d87c0462fbebfa5f53c3a4f4d3908d54e7154:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh + docker inspect -f . de1d87c0462fbebfa5f53c3a4f4d3908d54e7154 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer waffle03 seems to be running inside container a5b9c3d0a68ee4d155ee581e51c6fc0bad05b8a1ad2cb88ac3b149921022050c $ docker run -t -d -u 0:0 -v /tmp/ccache.kokkos:/tmp/ccache -w /var/jenkins/workspace/Kokkos_PR-7089 --volumes-from a5b9c3d0a68ee4d155ee581e51c6fc0bad05b8a1ad2cb88ac3b149921022050c -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** de1d87c0462fbebfa5f53c3a4f4d3908d54e7154 cat $ docker top 9e618d4a466826e502e7249249864599fa58c743240934d0b41d1f765f63402c -eo pid,comm [Pipeline] { [Pipeline] sh + ./scripts/docker/check_format_cpp.sh diff --git a/core/unit_test/TestAtomicAccessor.hpp b/core/unit_test/TestAtomicAccessor.hpp index 010558100..e74bd717e 100644 --- a/core/unit_test/TestAtomicAccessor.hpp +++ b/core/unit_test/TestAtomicAccessor.hpp @@ -40,10 +40,14 @@ void test_atomic_accessor() { if (acc.access(ptr, i) != ptr[i]) error++; if (acc.offset(ptr, i) != ptr + i) error++; static_assert(std::is_same_v<typename acc_t::element_type, T>); - static_assert(std::is_same_v<typename acc_t::reference, desul::AtomicRef<T, desul::MemoryOrderRelaxed, desul::MemoryScopeDevice>>); + static_assert( + std::is_same_v<typename acc_t::reference, + desul::AtomicRef<T, desul::MemoryOrderRelaxed, + desul::MemoryScopeDevice>>); static_assert(std::is_same_v<typename acc_t::data_handle_type, T*>); static_assert(std::is_same_v<typename acc_t::offset_policy, acc_t>); - static_assert(std::is_same_v<decltype(acc.access(ptr, i)), typename acc_t::reference>); + static_assert(std::is_same_v<decltype(acc.access(ptr, i)), + typename acc_t::reference>); static_assert(std::is_same_v<decltype(acc.offset(ptr, i)), T*>); static_assert(std::is_nothrow_move_constructible_v<acc_t>); static_assert(std::is_nothrow_move_assignable_v<acc_t>); [Pipeline] } $ docker stop --time=1 9e618d4a466826e502e7249249864599fa58c743240934d0b41d1f765f63402c $ docker rm -f --volumes 9e618d4a466826e502e7249249864599fa58c743240934d0b41d1f765f63402c [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) Stage "Build" skipped due to earlier failure(s) [Pipeline] getContext [Pipeline] parallel [Pipeline] { (Branch: OPENACC-NVHPC-CUDA-12.2) [Pipeline] { (Branch: CUDA-12.2-NVHPC) [Pipeline] { (Branch: SYCL-OneAPI) [Pipeline] { (Branch: HIP-ROCm-5.2) [Pipeline] { (Branch: HIP-ROCm-5.6-C++20) [Pipeline] { (Branch: OPENMPTARGET-Clang) [Pipeline] { (Branch: CUDA-11.0.3-Clang-Tidy) [Pipeline] { (Branch: CUDA-11.7-NVCC) [Pipeline] { (Branch: CUDA-11.0-NVCC-RDC) [Pipeline] { (Branch: CUDA-11.6-NVCC-DEBUG) [Pipeline] { (Branch: GCC-8.4.0) [Pipeline] stage [Pipeline] { (OPENACC-NVHPC-CUDA-12.2) [Pipeline] stage [Pipeline] { (CUDA-12.2-NVHPC) [Pipeline] stage [Pipeline] { (SYCL-OneAPI) [Pipeline] stage [Pipeline] { (HIP-ROCm-5.2) [Pipeline] stage [Pipeline] { (HIP-ROCm-5.6-C++20) [Pipeline] stage [Pipeline] { (OPENMPTARGET-Clang) [Pipeline] stage [Pipeline] { (CUDA-11.0.3-Clang-Tidy) [Pipeline] stage [Pipeline] { (CUDA-11.7-NVCC) [Pipeline] stage [Pipeline] { (CUDA-11.0-NVCC-RDC) [Pipeline] stage [Pipeline] { (CUDA-11.6-NVCC-DEBUG) [Pipeline] stage [Pipeline] { (GCC-8.4.0) Stage "OPENACC-NVHPC-CUDA-12.2" skipped due to earlier failure(s) [Pipeline] getContext [Pipeline] } Stage "CUDA-12.2-NVHPC" skipped due to earlier failure(s) [Pipeline] getContext [Pipeline] } Stage "SYCL-OneAPI" skipped due to earlier failure(s) [Pipeline] getContext [Pipeline] } Stage "HIP-ROCm-5.2" skipped due to earlier failure(s) [Pipeline] getContext [Pipeline] } Stage "HIP-ROCm-5.6-C++20" skipped due to earlier failure(s) [Pipeline] getContext [Pipeline] } Stage "OPENMPTARGET-Clang" skipped due to earlier failure(s) [Pipeline] getContext [Pipeline] } Stage "CUDA-11.0.3-Clang-Tidy" skipped due to earlier failure(s) [Pipeline] getContext [Pipeline] } Stage "CUDA-11.7-NVCC" skipped due to earlier failure(s) [Pipeline] getContext [Pipeline] } Stage "CUDA-11.0-NVCC-RDC" skipped due to earlier failure(s) [Pipeline] getContext [Pipeline] } Stage "CUDA-11.6-NVCC-DEBUG" skipped due to earlier failure(s) [Pipeline] getContext [Pipeline] } Stage "GCC-8.4.0" skipped due to earlier failure(s) [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] // stage [Pipeline] // stage [Pipeline] // stage [Pipeline] // stage [Pipeline] // stage [Pipeline] // stage [Pipeline] // stage [Pipeline] // stage [Pipeline] // stage [Pipeline] // stage [Pipeline] } Failed in branch OPENACC-NVHPC-CUDA-12.2 [Pipeline] } Failed in branch CUDA-12.2-NVHPC [Pipeline] } Failed in branch SYCL-OneAPI [Pipeline] } Failed in branch HIP-ROCm-5.2 [Pipeline] } Failed in branch HIP-ROCm-5.6-C++20 [Pipeline] } Failed in branch OPENMPTARGET-Clang [Pipeline] } Failed in branch CUDA-11.0.3-Clang-Tidy [Pipeline] } Failed in branch CUDA-11.7-NVCC [Pipeline] } Failed in branch CUDA-11.0-NVCC-RDC [Pipeline] } Failed in branch CUDA-11.6-NVCC-DEBUG [Pipeline] } Failed in branch GCC-8.4.0 [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // timeout [Pipeline] } [Pipeline] // withEnv [Pipeline] End of Pipeline ERROR: script returned exit code 1 GitHub has been notified of this commit’s build result Finished: FAILURE