Skip to content
Failed

Console Output

Pull request #6962 updated
12:30:34 Connecting to https://api.github.com using 476720/******
Obtained .jenkins from 38630e759065492dc737bb4b9b2e3cd5887c08f9+18642875f6b566d6a4a7934790d6b901c04b1891 (7fdc84c4e54986f6c9ac869099c5af493a17ba60)
[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 fetnat05 in /var/jenkins/workspace/Kokkos_PR-6962
[Pipeline] {
[Pipeline] checkout
Selected Git installation does not exist. Using Default
The recommended git tool is: NONE
using credential Jenkins ORNL
Fetching changes from the remote Git repository
Fetching without tags
 > git rev-parse --resolve-git-dir /var/jenkins/workspace/Kokkos_PR-6962/.git # 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
 > 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/6962/head:refs/remotes/origin/PR-6962 +refs/heads/develop:refs/remotes/origin/develop # timeout=10
Merging remotes/origin/develop commit 18642875f6b566d6a4a7934790d6b901c04b1891 into PR head commit 38630e759065492dc737bb4b9b2e3cd5887c08f9
Merge succeeded, producing a7e09f166d2ae743a21f4a9089538bc7f7829eac
Checking out Revision a7e09f166d2ae743a21f4a9089538bc7f7829eac (PR-6962)
Commit message: "Merge commit '18642875f6b566d6a4a7934790d6b901c04b1891' into HEAD"
First time build. Skipping changelog.
[Pipeline] withEnv
[Pipeline] {
[Pipeline] isUnix
[Pipeline] readFile
[Pipeline] sh
 > git config core.sparsecheckout # timeout=10
 > git checkout -f 38630e759065492dc737bb4b9b2e3cd5887c08f9 # timeout=10
 > git remote # timeout=10
 > git config --get remote.origin.url # timeout=10
using GIT_ASKPASS to set credentials 
 > git merge 18642875f6b566d6a4a7934790d6b901c04b1891 # timeout=10
 > git rev-parse HEAD^{commit} # timeout=10
 > git config core.sparsecheckout # timeout=10
 > git checkout -f a7e09f166d2ae743a21f4a9089538bc7f7829eac # timeout=10
 > git rev-list --no-walk 656e20bc40171427aa5aa12d4b0aba65bf780287 # timeout=10
+ docker build -t 9e130f40d21804bf32f8e1ec9d69bfefc749968a -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
 ---> 3cff1c6ff37e
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
 ---> 7bdf7c349518
Step 3/3 : ENV CLANG_FORMAT_EXE=clang-format-8
 ---> Using cache
 ---> 772e74c192c0
Successfully built 772e74c192c0
Successfully tagged 9e130f40d21804bf32f8e1ec9d69bfefc749968a:latest
[Pipeline] isUnix
[Pipeline] withEnv
[Pipeline] {
[Pipeline] sh
+ docker inspect -f . 9e130f40d21804bf32f8e1ec9d69bfefc749968a
.
[Pipeline] }
[Pipeline] // withEnv
[Pipeline] withDockerContainer
fetnat05 seems to be running inside container 672a946a01b481e2531481fe5c0fe61a88e71fef99a60f4b41185131cbb988e0
$ docker run -t -d -u 0:0 -v /tmp/ccache.kokkos:/tmp/ccache -w /var/jenkins/workspace/Kokkos_PR-6962 --volumes-from 672a946a01b481e2531481fe5c0fe61a88e71fef99a60f4b41185131cbb988e0 -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 ******** -e ******** 9e130f40d21804bf32f8e1ec9d69bfefc749968a cat
$ docker top e0b2e445f00f162c02945e731f29afd272172739e2eef9ce921fee1f59afada7 -eo pid,comm
[Pipeline] {
[Pipeline] sh
+ ./scripts/docker/check_format_cpp.sh
diff --git a/core/src/Kokkos_Swap.hpp b/core/src/Kokkos_Swap.hpp
index 116c8ab23..bbaf8b8b1 100644
--- a/core/src/Kokkos_Swap.hpp
+++ b/core/src/Kokkos_Swap.hpp
@@ -40,13 +40,12 @@ namespace Impl {
 template <class T>
 struct is_swappable {
   template <class U>
-  KOKKOS_FUNCTION
-  static decltype(kokkos_swap(std::declval<T&>(), std::declval<T&>()))
+  KOKKOS_FUNCTION static decltype(kokkos_swap(std::declval<T&>(),
+                                              std::declval<T&>()))
   test_swap(int);
   struct Nope;
   template <class U>
-  KOKKOS_FUNCTION
-  static Nope test_swap(long);
+  KOKKOS_FUNCTION static Nope test_swap(long);
   static constexpr bool value =
       !std::is_same_v<decltype(test_swap<T>(0)), Nope>;
 };
[Pipeline] }
$ docker stop --time=1 e0b2e445f00f162c02945e731f29afd272172739e2eef9ce921fee1f59afada7
$ docker rm -f --volumes e0b2e445f00f162c02945e731f29afd272172739e2eef9ce921fee1f59afada7
[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