Skip to content
Failed

Console Output

Pull request #6830 updated
19:27:03 Connecting to https://api.github.com using 476720/******
Obtained .jenkins from 4ce84034ac1d0a98e69ca7ab09f4b21e9b7b1df3+98b1a38e5391c57b866c4b16bf8108fce56d827a (5c190f5827a1f0fbc1b14917b87926ecef8ab6cc)
[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
 > 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 98b1a38e5391c57b866c4b16bf8108fce56d827a into PR head commit 4ce84034ac1d0a98e69ca7ab09f4b21e9b7b1df3
Merge succeeded, producing dac3b4c1a6a9d6ea81e3a94ed1444db61824933d
Checking out Revision dac3b4c1a6a9d6ea81e3a94ed1444db61824933d (PR-6830)
Commit message: "Merge commit '98b1a38e5391c57b866c4b16bf8108fce56d827a' into HEAD"
First time build. Skipping changelog.
[Pipeline] withEnv
[Pipeline] {
[Pipeline] isUnix
[Pipeline] readFile
[Pipeline] sh
+ docker build -t 247f6fde932622c7825faef73403e035847d0fb6 -f scripts/docker/Dockerfile.clang scripts/docker
#1 [internal] load build definition from Dockerfile.clang
#1 sha256:8b70000325c9627d101340940c9a98d0757fa54b9cb99c6a6a23da7a14ad4d22
#1 transferring dockerfile: 305B done
#1 DONE 0.0s

#2 [internal] load .dockerignore
#2 sha256:cef664d2545e8e8f2ff1336a3580169493022cc315945a5e72613c81cc141b39
#2 transferring context: 2B 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:ab3304e1679b4cc737001a2168296830017c24d9eb976e11f90e5319a8b327f8
#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
 > git config core.sparsecheckout # timeout=10
 > git checkout -f 4ce84034ac1d0a98e69ca7ab09f4b21e9b7b1df3 # timeout=10
 > git remote # timeout=10
 > git config --get remote.origin.url # timeout=10
using GIT_ASKPASS to set credentials 
 > git merge 98b1a38e5391c57b866c4b16bf8108fce56d827a # timeout=10
 > git rev-parse HEAD^{commit} # timeout=10
 > git config core.sparsecheckout # timeout=10
 > git checkout -f dac3b4c1a6a9d6ea81e3a94ed1444db61824933d # timeout=10
 > git rev-list --no-walk f5283d569b85b4dd0f390c899c52c08283f22e58 # timeout=10
+ 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 16837a95acffa2108da9a1f5a8f87767ea66a4a040cbf4eff0e21788c12525a0 -eo pid,comm
[Pipeline] {
[Pipeline] sh
+ ./scripts/docker/check_format_cpp.sh
diff --git a/core/src/Kokkos_Macros.hpp b/core/src/Kokkos_Macros.hpp
index 7f0818190..260bb949c 100644
--- a/core/src/Kokkos_Macros.hpp
+++ b/core/src/Kokkos_Macros.hpp
@@ -565,9 +565,9 @@ static constexpr bool kokkos_omp_on_host() { return false; }
 #define KOKKOS_ATTRIBUTE_NODISCARD [[nodiscard]]
 
 #ifdef KOKKOS_ENABLE_CXX20
-#  define KOKKOS_IMPL_CONDITIONAL_EXPLICIT(COND) explicit(COND)
+#define KOKKOS_IMPL_CONDITIONAL_EXPLICIT(COND) explicit(COND)
 #else
-#  define KOKKOS_IMPL_CONDITIONAL_EXPLICIT(COND)
+#define KOKKOS_IMPL_CONDITIONAL_EXPLICIT(COND)
 #endif
 
 #if (defined(KOKKOS_COMPILER_GNU) || defined(KOKKOS_COMPILER_CLANG) ||        \
diff --git a/core/src/Kokkos_View.hpp b/core/src/Kokkos_View.hpp
index 8850899de..a3a15ecf1 100644
--- a/core/src/Kokkos_View.hpp
+++ b/core/src/Kokkos_View.hpp
@@ -1757,23 +1757,25 @@ class View : public ViewTraits<DataType, Properties...> {
   // MDSpan converting constructors
 #ifdef KOKKOS_ENABLE_IMPL_MDSPAN
   template <typename U = typename Impl::MDSpanViewTraits<traits>::mdspan_type>
-  KOKKOS_INLINE_FUNCTION KOKKOS_IMPL_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)
+  KOKKOS_INLINE_FUNCTION KOKKOS_IMPL_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)
       : View(mds.data_handle(),
              Impl::array_layout_from_mapping<
                  typename traits::array_layout,
                  typename Impl::MDSpanViewTraits<traits>::mdspan_type>(
                  mds.mapping())) {}
 
-  template<class ElementType, class ExtentsType, class LayoutType, class AccessorType>
-  KOKKOS_INLINE_FUNCTION
-  KOKKOS_IMPL_CONDITIONAL_EXPLICIT((
-    !std::is_convertible_v<Kokkos::mdspan<ElementType, ExtentsType, LayoutType, AccessorType>,
-                           typename Impl::MDSpanViewTraits<traits>::mdspan_type>))
-  View(const Kokkos::mdspan<ElementType, ExtentsType, LayoutType, AccessorType>& mds):
-    View(typename Impl::MDSpanViewTraits<traits>::mdspan_type(mds)) {}
+  template <class ElementType, class ExtentsType, class LayoutType,
+            class AccessorType>
+  KOKKOS_INLINE_FUNCTION KOKKOS_IMPL_CONDITIONAL_EXPLICIT(
+      (!std::is_convertible_v<
+          Kokkos::mdspan<ElementType, ExtentsType, LayoutType, AccessorType>,
+          typename Impl::MDSpanViewTraits<traits>::mdspan_type>))
+      View(const Kokkos::mdspan<ElementType, ExtentsType, LayoutType,
+                                AccessorType>& mds)
+      : View(typename Impl::MDSpanViewTraits<traits>::mdspan_type(mds)) {}
 
   //----------------------------------------
   // Conversion to MDSpan
@@ -1786,12 +1788,14 @@ class View : public ViewTraits<DataType, Properties...> {
                        Impl::mapping_from_view_mapping<mdspan_type>(m_map)};
   }
 
-  template <class OtherAccessorType = Kokkos::default_accessor<typename traits::value_type>,
+  template <class OtherAccessorType =
+                Kokkos::default_accessor<typename traits::value_type>,
             typename = std::enable_if_t<std::is_assignable_v<
                 typename traits::value_type*&,
                 typename OtherAccessorType::data_handle_type>>>
   KOKKOS_INLINE_FUNCTION constexpr auto to_mdspan(
-      const OtherAccessorType& other_accessor = Kokkos::default_accessor<typename traits::value_type>()) {
+      const OtherAccessorType& other_accessor =
+          Kokkos::default_accessor<typename traits::value_type>()) {
     using mdspan_type = typename Impl::MDSpanViewTraits<traits>::mdspan_type;
     using ret_mdspan_type =
         mdspan<typename mdspan_type::element_type,
diff --git a/core/unit_test/view/TestMDSpanConversion.hpp b/core/unit_test/view/TestMDSpanConversion.hpp
index ed7c89904..4bceaccb0 100644
--- a/core/unit_test/view/TestMDSpanConversion.hpp
+++ b/core/unit_test/view/TestMDSpanConversion.hpp
@@ -104,15 +104,15 @@ struct TestViewMDSpanConversion {
     // test conversion operator to different mdspan type
     {
       using mdspan_type = Kokkos::mdspan<
-        const typename natural_mdspan_type::element_type,
-        Kokkos::dextents<typename natural_mdspan_type::index_type, natural_mdspan_type::rank()>,
-        typename natural_mdspan_type::layout_type,
-        typename natural_mdspan_type::accessor_type>;
+          const typename natural_mdspan_type::element_type,
+          Kokkos::dextents<typename natural_mdspan_type::index_type,
+                           natural_mdspan_type::rank()>,
+          typename natural_mdspan_type::layout_type,
+          typename natural_mdspan_type::accessor_type>;
       mdspan_type cvt = v;
       ASSERT_EQ(cvt.data_handle(), v.data());
       ASSERT_EQ(cvt.mapping(), ref_layout_mapping);
     }
-
   }
 
   template <class MDSpanLayoutMapping, class ViewType, class AccessorType>
[Pipeline] }
$ docker stop --time=1 16837a95acffa2108da9a1f5a8f87767ea66a4a040cbf4eff0e21788c12525a0
$ docker rm -f --volumes 16837a95acffa2108da9a1f5a8f87767ea66a4a040cbf4eff0e21788c12525a0
[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