Skip to content
Failed

Console Output

Pull request #6830 updated
14:49:30 Connecting to https://api.github.com using 476720/******
Obtained .jenkins from 3cbcde7be39f77a907064a82a55dd3d61a695cec+2e82fdd8716bb21379d5bd9250b19f1dd131e23f (5ce4cfc9b2d2b6713c70df2ae4c10f54e59f46d2)
[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 waffle02 in /var/jenkins/workspace/Kokkos_PR-6830
[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-6830/.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/6830/head:refs/remotes/origin/PR-6830 +refs/heads/develop:refs/remotes/origin/develop # timeout=10
Merging remotes/origin/develop commit 2e82fdd8716bb21379d5bd9250b19f1dd131e23f into PR head commit 3cbcde7be39f77a907064a82a55dd3d61a695cec
 > git config core.sparsecheckout # timeout=10
 > git checkout -f 3cbcde7be39f77a907064a82a55dd3d61a695cec # timeout=10
Merge succeeded, producing 3cbcde7be39f77a907064a82a55dd3d61a695cec
Checking out Revision 3cbcde7be39f77a907064a82a55dd3d61a695cec (PR-6830)
 > git remote # timeout=10
 > git config --get remote.origin.url # timeout=10
using GIT_ASKPASS to set credentials 
 > git merge 2e82fdd8716bb21379d5bd9250b19f1dd131e23f # timeout=10
 > git rev-parse HEAD^{commit} # timeout=10
 > git config core.sparsecheckout # timeout=10
 > git checkout -f 3cbcde7be39f77a907064a82a55dd3d61a695cec # timeout=10
Commit message: "#6805: use strides for layout_left_padded and layout_right_padded"
 > git rev-list --no-walk d8cdf7d9df6e5fa058ca7e59c65006d39e506fa6 # timeout=10
[Pipeline] withEnv
[Pipeline] {
[Pipeline] isUnix
[Pipeline] readFile
[Pipeline] sh
+ docker build -t 247f6fde932622c7825faef73403e035847d0fb6 -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
 ---> 0822e36bab5e
Step 3/3 : ENV CLANG_FORMAT_EXE=clang-format-8
 ---> Using cache
 ---> a7e3193db0fc
Successfully built a7e3193db0fc
Successfully tagged 247f6fde932622c7825faef73403e035847d0fb6:latest
[Pipeline] isUnix
[Pipeline] withEnv
[Pipeline] {
[Pipeline] sh
+ docker inspect -f . 247f6fde932622c7825faef73403e035847d0fb6
.
[Pipeline] }
[Pipeline] // withEnv
[Pipeline] withDockerContainer
waffle02 seems to be running inside container fef615b3d718b370e2359341c6dedf350937fba92c18d4b1f9e6b2ed87209ef4
$ docker run -t -d -u 0:0 -v /tmp/ccache.kokkos:/tmp/ccache -w /var/jenkins/workspace/Kokkos_PR-6830 --volumes-from fef615b3d718b370e2359341c6dedf350937fba92c18d4b1f9e6b2ed87209ef4 -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 ******** -e ******** 247f6fde932622c7825faef73403e035847d0fb6 cat
$ docker top 69d6e7cc1c3d444b3ea5ab23feed5f3e59eb235b0d0c3817a699fb9648eeb33b -eo pid,comm
[Pipeline] {
[Pipeline] sh
+ ./scripts/docker/check_format_cpp.sh
diff --git a/core/src/View/MDSpan/Kokkos_MDSpan_Layout.hpp b/core/src/View/MDSpan/Kokkos_MDSpan_Layout.hpp
index 7e97096a3..2fb30aa52 100644
--- a/core/src/View/MDSpan/Kokkos_MDSpan_Layout.hpp
+++ b/core/src/View/MDSpan/Kokkos_MDSpan_Layout.hpp
@@ -102,12 +102,18 @@ KOKKOS_INLINE_FUNCTION auto mapping_from_view_mapping(const VM &view_mapping) {
                                Kokkos::layout_stride>) {
     return mapping_type(extents_from_view_mapping<extents_type>(view_mapping),
                         strides);
-  } else if constexpr (VM::Rank > 1 && std::is_same_v<typename mapping_type::layout_type,
-                                      Kokkos::Experimental::layout_left_padded<Kokkos::dynamic_extent>>) {
-    return mapping_type(extents_from_view_mapping<extents_type>(view_mapping), strides[1]);
-  } else if constexpr (VM::Rank > 1 && std::is_same_v<typename mapping_type::layout_type,
-                                      Kokkos::Experimental::layout_right_padded<Kokkos::dynamic_extent>>) {
-    return mapping_type(extents_from_view_mapping<extents_type>(view_mapping), strides[VM::Rank - 2]);
+  } else if constexpr (VM::Rank > 1 &&
+                       std::is_same_v<typename mapping_type::layout_type,
+                                      Kokkos::Experimental::layout_left_padded<
+                                          Kokkos::dynamic_extent>>) {
+    return mapping_type(extents_from_view_mapping<extents_type>(view_mapping),
+                        strides[1]);
+  } else if constexpr (VM::Rank > 1 &&
+                       std::is_same_v<typename mapping_type::layout_type,
+                                      Kokkos::Experimental::layout_right_padded<
+                                          Kokkos::dynamic_extent>>) {
+    return mapping_type(extents_from_view_mapping<extents_type>(view_mapping),
+                        strides[VM::Rank - 2]);
   } else {
     return mapping_type(extents_from_view_mapping<extents_type>(view_mapping));
   }
diff --git a/core/unit_test/TestMDSpanConversion.hpp b/core/unit_test/TestMDSpanConversion.hpp
index 6d9ccdeda..b5c4ba14f 100644
--- a/core/unit_test/TestMDSpanConversion.hpp
+++ b/core/unit_test/TestMDSpanConversion.hpp
@@ -98,9 +98,9 @@ struct TestViewMDSpanConversion {
     constexpr bool is_strided_layout =
         std::is_same_v<typename MDSpanLayoutMapping::layout_type,
                        Kokkos::layout_stride>;
-    if constexpr ( !is_strided_layout )
-    {
-        static_assert(natural_mdspan_type::mapping_type::padding_value == Kokkos::dynamic_extent);
+    if constexpr (!is_strided_layout) {
+      static_assert(natural_mdspan_type::mapping_type::padding_value ==
+                    Kokkos::dynamic_extent);
     }
     // test conversion operator to natural mdspan
     {
[Pipeline] }
$ docker stop --time=1 69d6e7cc1c3d444b3ea5ab23feed5f3e59eb235b0d0c3817a699fb9648eeb33b
$ docker rm -f --volumes 69d6e7cc1c3d444b3ea5ab23feed5f3e59eb235b0d0c3817a699fb9648eeb33b
[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