Skip to content
Failed

Console Output

Pull request #6830 updated
20:25:08 Connecting to https://api.github.com using 476720/******
Obtained .jenkins from b2e39cb1c73ac8186bb91db0caab288c6bf22794+a2b64e0e8e78fe4a257f32a871984997d48305f3 (35d098adabe9b6303006154e54eeff367a0ab6ec)
[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 CpuNode6 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
Merging remotes/origin/develop commit a2b64e0e8e78fe4a257f32a871984997d48305f3 into PR head commit b2e39cb1c73ac8186bb91db0caab288c6bf22794
Merge succeeded, producing 916380ba3ea78f8855139a5c10733fb51c9b8198
Checking out Revision 916380ba3ea78f8855139a5c10733fb51c9b8198 (PR-6830)
Commit message: "Merge commit 'a2b64e0e8e78fe4a257f32a871984997d48305f3' into HEAD"
First time build. Skipping changelog.
 > 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
 > git config core.sparsecheckout # timeout=10
 > git checkout -f b2e39cb1c73ac8186bb91db0caab288c6bf22794 # timeout=10
 > git remote # timeout=10
 > git config --get remote.origin.url # timeout=10
using GIT_ASKPASS to set credentials 
 > git merge a2b64e0e8e78fe4a257f32a871984997d48305f3 # timeout=10
 > git rev-parse HEAD^{commit} # timeout=10
 > git config core.sparsecheckout # timeout=10
 > git checkout -f 916380ba3ea78f8855139a5c10733fb51c9b8198 # timeout=10
 > git rev-list --no-walk 5ae93deccf9989a70d79f763fa74a2772dc3a925 # timeout=10
[Pipeline] withEnv
[Pipeline] {
[Pipeline] isUnix
[Pipeline] readFile
[Pipeline] sh
+ docker build -t 247f6fde932622c7825faef73403e035847d0fb6 -f scripts/docker/Dockerfile.clang scripts/docker
#1 [internal] load .dockerignore
#1 sha256:16e3a4b71e9d49350b1b594c98a62c5b9e6d12f495f8198e3f1039cd82226e5a
#1 transferring context: 2B done
#1 DONE 0.0s

#2 [internal] load build definition from Dockerfile.clang
#2 sha256:dbd1b240fc039dcd93ce28dc070125386532a3379ab6cc2827556b261429190b
#2 transferring dockerfile: 305B done
#2 DONE 0.0s

#3 [internal] load metadata for docker.io/library/ubuntu:20.04
#3 sha256:8e67b796a66f85f06793e026943184e32d365c77929e94d2ac98b34a1e1cb30e
#3 DONE 0.0s

#5 [1/2] FROM docker.io/library/ubuntu:20.04
#5 sha256:243f75845650c92150b34967f79a539dee49ba028b719b1a41e64f43abcdcac5
#5 DONE 0.0s

#4 [2/2] 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/*
#4 sha256:8112e26caa521b63044ffbcfd5f716838717dd49c47529582505fa433e5ace03
#4 CACHED

#6 exporting to image
#6 sha256:41035f4379ddaf816245519a93e4c067415e005f39835590fb66451879beb73f
#6 exporting layers done
#6 writing image sha256:c55b393cbbce6e76cd9c3c3b190d0ddd3764063b6b1369b2feed308c9aa3b3b5 done
#6 naming to docker.io/library/247f6fde932622c7825faef73403e035847d0fb6:latest done
#6 DONE 0.0s
[Pipeline] isUnix
[Pipeline] withEnv
[Pipeline] {
[Pipeline] sh
+ docker inspect -f . 247f6fde932622c7825faef73403e035847d0fb6
.
[Pipeline] }
[Pipeline] // withEnv
[Pipeline] withDockerContainer
CpuNode6 seems to be running inside container 000334f31f8629b8eaeb6326227b7cf88da75374aa5f2bd4a8e8ac57be811226
$ docker run -t -d -u 0:0 -v /tmp/ccache.kokkos:/tmp/ccache -w /var/jenkins/workspace/Kokkos_PR-6830 --volumes-from 000334f31f8629b8eaeb6326227b7cf88da75374aa5f2bd4a8e8ac57be811226 -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 8a0235468fb0071cfe06ba2a2d8d948c55e7e554a910a3d62af3592978074fb3 -eo pid,comm
[Pipeline] {
[Pipeline] sh
+ ./scripts/docker/check_format_cpp.sh
diff --git a/core/src/Kokkos_View.hpp b/core/src/Kokkos_View.hpp
index 4511fbce0..f814d9541 100644
--- a/core/src/Kokkos_View.hpp
+++ b/core/src/Kokkos_View.hpp
@@ -384,14 +384,15 @@ struct MDSpanViewTraits {
 
 // "Natural" mdspan for a view if the View's ArrayLayout is supported.
 template <class Traits>
-struct MDSpanViewTraits<
-    Traits, std::void_t<typename Impl::LayoutFromArrayLayout<
-                typename Traits::array_layout>::type>> {
-  using index_type   = std::size_t;
-  using extents_type = typename Impl::ExtentsFromDataType<
-      index_type, typename Traits::data_type>::type;
-  using mdspan_layout_type = typename Impl::LayoutFromArrayLayout<
-      typename Traits::array_layout>::type;
+struct MDSpanViewTraits<Traits,
+                        std::void_t<typename Impl::LayoutFromArrayLayout<
+                            typename Traits::array_layout>::type>> {
+  using index_type = std::size_t;
+  using extents_type =
+      typename Impl::ExtentsFromDataType<index_type,
+                                         typename Traits::data_type>::type;
+  using mdspan_layout_type =
+      typename Impl::LayoutFromArrayLayout<typename Traits::array_layout>::type;
   using mdspan_type =
       mdspan<typename Traits::value_type, extents_type, mdspan_layout_type>;
 };
@@ -1755,18 +1756,16 @@ class View : public ViewTraits<DataType, Properties...> {
   //----------------------------------------
   // MDSpan converting constructors
 #ifdef KOKKOS_ENABLE_IMPL_MDSPAN
-  template <typename U = typename Impl::MDSpanViewTraits<
-                traits>::mdspan_type>
+  template <typename U = typename Impl::MDSpanViewTraits<traits>::mdspan_type>
   KOKKOS_INLINE_FUNCTION MDSPAN_CONDITIONAL_EXPLICIT(traits::is_managed) View(
-      const typename Impl::MDSpanViewTraits<traits>::mdspan_type&
-          mds,
-      std::enable_if_t<!std::is_same_v<
-          Impl::UnsupportedKokkosArrayLayout, U>>* = nullptr)
+      const typename Impl::MDSpanViewTraits<traits>::mdspan_type& mds,
+      std::enable_if_t<
+          !std::is_same_v<Impl::UnsupportedKokkosArrayLayout, U>>* = nullptr)
       : View(mds.data_handle(),
              Impl::array_layout_from_mapping<
                  typename traits::array_layout,
-                 typename Impl::MDSpanViewTraits<
-                     traits>::mdspan_type>(mds.mapping())) {}
+                 typename Impl::MDSpanViewTraits<traits>::mdspan_type>(
+                 mds.mapping())) {}
 
   //----------------------------------------
   // Conversion to MDSpan
@@ -1774,11 +1773,9 @@ class View : public ViewTraits<DataType, Properties...> {
             class OtherAccessor>
   KOKKOS_INLINE_FUNCTION constexpr operator mdspan<
       OtherElementType, OtherExtents, OtherLayoutPolicy, OtherAccessor>() {
-    using mdspan_type =
-        typename Impl::MDSpanViewTraits<traits>::mdspan_type;
-    return mdspan_type{
-        data(),
-        Impl::mapping_from_view_mapping<mdspan_type>(m_map)};
+    using mdspan_type = typename Impl::MDSpanViewTraits<traits>::mdspan_type;
+    return mdspan_type{data(),
+                       Impl::mapping_from_view_mapping<mdspan_type>(m_map)};
   }
 
   template <class OtherAccessorType,
@@ -1787,16 +1784,14 @@ class View : public ViewTraits<DataType, Properties...> {
                 typename OtherAccessorType::data_handle_type>>>
   KOKKOS_INLINE_FUNCTION constexpr auto to_mdspan(
       const OtherAccessorType& other_accessor) {
-    using mdspan_type =
-        typename Impl::MDSpanViewTraits<traits>::mdspan_type;
+    using mdspan_type = typename Impl::MDSpanViewTraits<traits>::mdspan_type;
     using ret_mdspan_type =
         mdspan<typename mdspan_type::element_type,
                typename mdspan_type::extents_type,
                typename mdspan_type::layout_type, OtherAccessorType>;
-    return ret_mdspan_type{
-        data(),
-        Impl::mapping_from_view_mapping<mdspan_type>(m_map),
-        other_accessor};
+    return ret_mdspan_type{data(),
+                           Impl::mapping_from_view_mapping<mdspan_type>(m_map),
+                           other_accessor};
   }
 #endif  // KOKKOS_ENABLE_IMPL_MDSPAN
 };
diff --git a/core/unit_test/view/TestMDSpanConversion.hpp b/core/unit_test/view/TestMDSpanConversion.hpp
index 4a5df4f72..8f8cf2c8e 100644
--- a/core/unit_test/view/TestMDSpanConversion.hpp
+++ b/core/unit_test/view/TestMDSpanConversion.hpp
@@ -83,7 +83,7 @@ struct TestViewMDSpanConversion {
   template <class MDSpanLayoutMapping, class ViewType>
   static void test_conversion_to_mdspan(
       const MDSpanLayoutMapping &ref_layout_mapping, ViewType v) {
-    using view_type = ViewType;
+    using view_type           = ViewType;
     using natural_mdspan_type = typename Kokkos::Impl::MDSpanViewTraits<
         typename view_type::traits>::mdspan_type;
 
[Pipeline] }
$ docker stop --time=1 8a0235468fb0071cfe06ba2a2d8d948c55e7e554a910a3d62af3592978074fb3
$ docker rm -f --volumes 8a0235468fb0071cfe06ba2a2d8d948c55e7e554a910a3d62af3592978074fb3
[Pipeline] // withDockerContainer
[Pipeline] }
[Pipeline] // withEnv
[Pipeline] }
[Pipeline] // node
[Pipeline] }
[Pipeline] // stage
[Pipeline] stage
[Pipeline] { (Build)
Stage "Build" skipped due to earlier failure(s)
[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] }
Stage "CUDA-12.2-NVHPC" skipped due to earlier failure(s)
[Pipeline] }
Stage "SYCL-OneAPI" skipped due to earlier failure(s)
[Pipeline] }
Stage "HIP-ROCm-5.2" skipped due to earlier failure(s)
[Pipeline] }
Stage "HIP-ROCm-5.6-C++20" skipped due to earlier failure(s)
[Pipeline] }
Stage "OPENMPTARGET-Clang" skipped due to earlier failure(s)
[Pipeline] }
Stage "CUDA-11.0.3-Clang-Tidy" skipped due to earlier failure(s)
[Pipeline] }
Stage "CUDA-11.7-NVCC" skipped due to earlier failure(s)
[Pipeline] }
Stage "CUDA-11.0-NVCC-RDC" skipped due to earlier failure(s)
[Pipeline] }
Stage "CUDA-11.6-NVCC-DEBUG" skipped due to earlier failure(s)
[Pipeline] }
Stage "GCC-8.4.0" skipped due to earlier failure(s)
[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