Pull request #6955 opened 11:40:23 Connecting to https://api.github.com using 476720/****** Obtained .jenkins from 1287f7fd54e6ba058686fe6c7a372d23f4e4225f+cc602957cec5627c8752137c0412caa6fe37d2bc (63b41cd7815586048a00507aec2575110e4254cc) [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-6955 [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-6955 # 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/6955/head:refs/remotes/origin/PR-6955 +refs/heads/develop:refs/remotes/origin/develop # timeout=10 Fetching without tags Merging remotes/origin/develop commit cc602957cec5627c8752137c0412caa6fe37d2bc into PR head commit 1287f7fd54e6ba058686fe6c7a372d23f4e4225f Merge succeeded, producing 77d9d2c7540361913d7fb9a6df241e574c940f7a Checking out Revision 77d9d2c7540361913d7fb9a6df241e574c940f7a (PR-6955) Commit message: "Merge commit 'cc602957cec5627c8752137c0412caa6fe37d2bc' into HEAD" First time build. Skipping changelog. > git config remote.origin.url https://github.com/kokkos/kokkos.git # timeout=10 > git config --add remote.origin.fetch +refs/pull/6955/head:refs/remotes/origin/PR-6955 # 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/6955/head:refs/remotes/origin/PR-6955 +refs/heads/develop:refs/remotes/origin/develop # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 1287f7fd54e6ba058686fe6c7a372d23f4e4225f # timeout=10 > git remote # timeout=10 > git config --get remote.origin.url # timeout=10 using GIT_ASKPASS to set credentials > git merge cc602957cec5627c8752137c0412caa6fe37d2bc # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 77d9d2c7540361913d7fb9a6df241e574c940f7a # timeout=10 [Pipeline] withEnv [Pipeline] { [Pipeline] isUnix [Pipeline] readFile [Pipeline] sh + docker build -t f36c7cbcf421110af2536a19f2dcfd0a8672172d -f scripts/docker/Dockerfile.clang scripts/docker #1 [internal] load .dockerignore #1 sha256:7fa7aa6dd6912c0a017be8bc8d23039a323f35ff75e19e023ce0fdf3b7acf6e1 #1 transferring context: 2B done #1 DONE 0.0s #2 [internal] load build definition from Dockerfile.clang #2 sha256:ab7b15be71bf085856c4fa6065862114bf8ca27ec62236a4f2d1c148896e1c2b #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:c0d8c83b236f96db31d58c8737f0a9e6b8d408117cd194f70dbcc5f988820db3 #6 exporting layers done #6 writing image sha256:c55b393cbbce6e76cd9c3c3b190d0ddd3764063b6b1369b2feed308c9aa3b3b5 done #6 naming to docker.io/library/f36c7cbcf421110af2536a19f2dcfd0a8672172d:latest done #6 DONE 0.0s [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh + docker inspect -f . f36c7cbcf421110af2536a19f2dcfd0a8672172d . [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-6955 --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 ******** f36c7cbcf421110af2536a19f2dcfd0a8672172d cat $ docker top 2264abfaa09e672e4d83d8fe55836e26b03874f2d743851d42e5c8ab7b9340d6 -eo pid,comm [Pipeline] { [Pipeline] sh + ./scripts/docker/check_format_cpp.sh diff --git a/containers/src/Kokkos_DynRankView.hpp b/containers/src/Kokkos_DynRankView.hpp index f29adcfde..f0f1c549c 100644 --- a/containers/src/Kokkos_DynRankView.hpp +++ b/containers/src/Kokkos_DynRankView.hpp @@ -1956,10 +1956,8 @@ void check_view_ctor_args_create_mirror_drv() { // private interface that accepts arbitrary view constructor args passed by a // view_alloc template <class T, class... P, class... ViewCtorArgs> -inline auto create_mirror( - const DynRankView<T, P...>& src, - const Impl::ViewCtorProp<ViewCtorArgs...>& arg_prop) { - +inline auto create_mirror(const DynRankView<T, P...>& src, + const Impl::ViewCtorProp<ViewCtorArgs...>& arg_prop) { check_view_ctor_args_create_mirror_drv<ViewCtorArgs...>(); auto prop_copy = Impl::with_properties_if_unset( @@ -1970,12 +1968,14 @@ inline auto create_mirror( typename Impl::ViewCtorProp<ViewCtorArgs...>::memory_space, T, P...>::view_type; - return dst_type(prop_copy, Impl::reconstructLayout(src.layout(), src.rank())); + return dst_type(prop_copy, + Impl::reconstructLayout(src.layout(), src.rank())); } else { using src_type = DynRankView<T, P...>; using dst_type = typename src_type::HostMirror; - return dst_type(prop_copy, Impl::reconstructLayout(src.layout(), src.rank())); + return dst_type(prop_copy, + Impl::reconstructLayout(src.layout(), src.rank())); } } @@ -2048,27 +2048,24 @@ namespace Impl { // private interface that accepts arbitrary view constructor args passed by a // view_alloc template <class T, class... P, class... ViewCtorArgs> -inline auto create_mirror_view(const DynRankView<T, P...>& src, - const typename Impl::ViewCtorProp<ViewCtorArgs...>& arg_prop) { +inline auto create_mirror_view( + const DynRankView<T, P...>& src, + const typename Impl::ViewCtorProp<ViewCtorArgs...>& arg_prop) { if constexpr (!Impl::ViewCtorProp<ViewCtorArgs...>::has_memory_space) { - if constexpr ( - std::is_same< - typename DynRankView<T, P...>::memory_space, - typename DynRankView<T, P...>::HostMirror::memory_space>::value && - std::is_same< - typename DynRankView<T, P...>::data_type, - typename DynRankView<T, P...>::HostMirror::data_type>::value - ) { + if constexpr (std::is_same<typename DynRankView<T, P...>::memory_space, + typename DynRankView< + T, P...>::HostMirror::memory_space>::value && + std::is_same<typename DynRankView<T, P...>::data_type, + typename DynRankView< + T, P...>::HostMirror::data_type>::value) { return src; } else { return Kokkos::Impl::create_mirror(src, arg_prop); } } else { - if constexpr ( - Impl::MirrorDRViewType< - typename Impl::ViewCtorProp<ViewCtorArgs...>::memory_space, T, - P...>::is_same_memspace - ) { + if constexpr (Impl::MirrorDRViewType<typename Impl::ViewCtorProp< + ViewCtorArgs...>::memory_space, + T, P...>::is_same_memspace) { return src; } else { return Kokkos::Impl::create_mirror(src, arg_prop); @@ -2169,7 +2166,7 @@ void check_view_ctor_args_create_mirror_view_and_copy_drv() { "not explicitly allow padding!"); } -} // namespace Impl +} // namespace Impl // create a mirror view and deep copy it // public interface that accepts arbitrary view constructor args passed by a @@ -2185,12 +2182,13 @@ auto create_mirror_view_and_copy( Impl::check_view_ctor_args_create_mirror_view_and_copy_drv<ViewCtorArgs...>(); if constexpr (Impl::MirrorDRViewType< - typename Impl::ViewCtorProp<ViewCtorArgs...>::memory_space, T, - P...>::is_same_memspace) { + typename Impl::ViewCtorProp<ViewCtorArgs...>::memory_space, + T, P...>::is_same_memspace) { // same behavior as deep_copy(src, src) if constexpr (!alloc_prop_input::has_execution_space) fence( - "Kokkos::create_mirror_view_and_copy: fence before returning src view"); + "Kokkos::create_mirror_view_and_copy: fence before returning src " + "view"); return src; } else { using Space = typename alloc_prop_input::memory_space; diff --git a/containers/src/Kokkos_DynamicView.hpp b/containers/src/Kokkos_DynamicView.hpp index dce716f74..dee0d35a8 100644 --- a/containers/src/Kokkos_DynamicView.hpp +++ b/containers/src/Kokkos_DynamicView.hpp @@ -615,7 +615,7 @@ void check_view_ctor_args_create_mirror_dynamic() { // view_alloc template <class T, class... P, class... ViewCtorArgs> inline auto create_mirror(const Kokkos::Experimental::DynamicView<T, P...>& src, - const Impl::ViewCtorProp<ViewCtorArgs...>& arg_prop) { + const Impl::ViewCtorProp<ViewCtorArgs...>& arg_prop) { using alloc_prop_input = Impl::ViewCtorProp<ViewCtorArgs...>; check_view_ctor_args_create_mirror_dynamic<ViewCtorArgs...>(); @@ -689,27 +689,27 @@ namespace Impl { // private interface that accepts arbitrary view constructor args passed by a // view_alloc template <class T, class... P, class... ViewCtorArgs> -inline auto create_mirror_view(const Kokkos::Experimental::DynamicView<T, P...>& src, - const Impl::ViewCtorProp<ViewCtorArgs...>& arg_prop) { +inline auto create_mirror_view( + const Kokkos::Experimental::DynamicView<T, P...>& src, + const Impl::ViewCtorProp<ViewCtorArgs...>& arg_prop) { if constexpr (!Impl::ViewCtorProp<ViewCtorArgs...>::has_memory_space) { - if constexpr ( - std::is_same< - typename Kokkos::Experimental::DynamicView<T, P...>::memory_space, - typename Kokkos::Experimental::DynamicView< - T, P...>::HostMirror::memory_space>::value && - std::is_same< - typename Kokkos::Experimental::DynamicView<T, P...>::data_type, - typename Kokkos::Experimental::DynamicView< - T, P...>::HostMirror::data_type>::value - ) { + if constexpr (std::is_same<typename Kokkos::Experimental::DynamicView< + T, P...>::memory_space, + typename Kokkos::Experimental::DynamicView< + T, P...>::HostMirror::memory_space>::value && + std::is_same<typename Kokkos::Experimental::DynamicView< + T, P...>::data_type, + typename Kokkos::Experimental::DynamicView< + T, P...>::HostMirror::data_type>::value) { return src; } else { return Kokkos::Impl::create_mirror(src, arg_prop); } } else { if constexpr (Impl::MirrorDynamicViewType< - typename Impl::ViewCtorProp<ViewCtorArgs...>::memory_space, - T, P...>::is_same_memspace) { + typename Impl::ViewCtorProp< + ViewCtorArgs...>::memory_space, + T, P...>::is_same_memspace) { return src; } else { return Kokkos::Impl::create_mirror(src, arg_prop); @@ -965,7 +965,7 @@ void check_view_ctor_args_create_mirror_view_and_copy_dynamic() { "not explicitly allow padding!"); } -} // namespace Impl +} // namespace Impl // create a mirror view and deep copy it // public interface that accepts arbitrary view constructor args passed by a @@ -978,15 +978,17 @@ auto create_mirror_view_and_copy( const Kokkos::Experimental::DynamicView<T, P...>& src) { using alloc_prop_input = Impl::ViewCtorProp<ViewCtorArgs...>; - Impl::check_view_ctor_args_create_mirror_view_and_copy_dynamic<ViewCtorArgs...>(); + Impl::check_view_ctor_args_create_mirror_view_and_copy_dynamic< + ViewCtorArgs...>(); if constexpr (Impl::MirrorDynamicViewType< - typename Impl::ViewCtorProp<ViewCtorArgs...>::memory_space, T, - P...>::is_same_memspace) { + typename Impl::ViewCtorProp<ViewCtorArgs...>::memory_space, + T, P...>::is_same_memspace) { // same behavior as deep_copy(src, src) if constexpr (!alloc_prop_input::has_execution_space) fence( - "Kokkos::create_mirror_view_and_copy: fence before returning src view"); + "Kokkos::create_mirror_view_and_copy: fence before returning src " + "view"); return src; } else { using Space = typename alloc_prop_input::memory_space; diff --git a/containers/src/Kokkos_OffsetView.hpp b/containers/src/Kokkos_OffsetView.hpp index 936262c0a..ae3bcc961 100644 --- a/containers/src/Kokkos_OffsetView.hpp +++ b/containers/src/Kokkos_OffsetView.hpp @@ -1866,7 +1866,7 @@ void check_view_ctor_args_create_mirror_offset() { // view_alloc template <class T, class... P, class... ViewCtorArgs> inline auto create_mirror(const Kokkos::Experimental::OffsetView<T, P...>& src, - const Impl::ViewCtorProp<ViewCtorArgs...>& arg_prop) { + const Impl::ViewCtorProp<ViewCtorArgs...>& arg_prop) { check_view_ctor_args_create_mirror_offset<ViewCtorArgs...>(); if constexpr (Impl::ViewCtorProp<ViewCtorArgs...>::has_memory_space) { @@ -1931,26 +1931,26 @@ namespace Impl { // private interface that accepts arbitrary view constructor args passed by a // view_alloc template <class T, class... P, class... ViewCtorArgs> -inline auto create_mirror_view(const Kokkos::Experimental::OffsetView<T, P...>& src, - const Impl::ViewCtorProp<ViewCtorArgs...>& arg_prop) { +inline auto create_mirror_view( + const Kokkos::Experimental::OffsetView<T, P...>& src, + const Impl::ViewCtorProp<ViewCtorArgs...>& arg_prop) { if constexpr (!Impl::ViewCtorProp<ViewCtorArgs...>::has_memory_space) { - if constexpr ( - std::is_same< - typename Kokkos::Experimental::OffsetView<T, P...>::memory_space, - typename Kokkos::Experimental::OffsetView< - T, P...>::HostMirror::memory_space>::value && - std::is_same< - typename Kokkos::Experimental::OffsetView<T, P...>::data_type, - typename Kokkos::Experimental::OffsetView< - T, P...>::HostMirror::data_type>::value) { + if constexpr (std::is_same<typename Kokkos::Experimental::OffsetView< + T, P...>::memory_space, + typename Kokkos::Experimental::OffsetView< + T, P...>::HostMirror::memory_space>::value && + std::is_same<typename Kokkos::Experimental::OffsetView< + T, P...>::data_type, + typename Kokkos::Experimental::OffsetView< + T, P...>::HostMirror::data_type>::value) { return src; } else { return Kokkos::Impl::create_mirror(src, arg_prop); } } else { - if constexpr (Impl::MirrorOffsetViewType< - typename Impl::ViewCtorProp<ViewCtorArgs...>::memory_space, - T, P...>::is_same_memspace) { + if constexpr (Impl::MirrorOffsetViewType<typename Impl::ViewCtorProp< + ViewCtorArgs...>::memory_space, + T, P...>::is_same_memspace) { return src; } else { return Kokkos::Impl::create_mirror(src, arg_prop); diff --git a/core/src/Kokkos_CopyViews.hpp b/core/src/Kokkos_CopyViews.hpp index 1cf84c156..cb67f7c75 100644 --- a/core/src/Kokkos_CopyViews.hpp +++ b/core/src/Kokkos_CopyViews.hpp @@ -3474,7 +3474,7 @@ void check_view_ctor_args_create_mirror() { // view_alloc template <class T, class... P, class... ViewCtorArgs> inline auto create_mirror(const Kokkos::View<T, P...>& src, - const Impl::ViewCtorProp<ViewCtorArgs...>& arg_prop) { + const Impl::ViewCtorProp<ViewCtorArgs...>& arg_prop) { check_view_ctor_args_create_mirror<ViewCtorArgs...>(); auto prop_copy = Impl::with_properties_if_unset( @@ -3550,8 +3550,9 @@ namespace Impl { // private interface that accepts arbitrary view constructor args passed by a // view_alloc template <class T, class... P, class... ViewCtorArgs> -inline auto create_mirror_view(const Kokkos::View<T, P...>& src, - const Impl::ViewCtorProp<ViewCtorArgs...>& arg_prop) { +inline auto create_mirror_view( + const Kokkos::View<T, P...>& src, + const Impl::ViewCtorProp<ViewCtorArgs...>& arg_prop) { if constexpr (!Impl::ViewCtorProp<ViewCtorArgs...>::has_memory_space) { if constexpr (std::is_same<typename Kokkos::View<T, P...>::memory_space, typename Kokkos::View< [Pipeline] } $ docker stop --time=1 2264abfaa09e672e4d83d8fe55836e26b03874f2d743851d42e5c8ab7b9340d6 $ docker rm -f --volumes 2264abfaa09e672e4d83d8fe55836e26b03874f2d743851d42e5c8ab7b9340d6 [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