Skip to content
Failed

Console Output

Pull request #93 updated
13:49:56 Connecting to https://api.github.com using 476720/******
Obtained .jenkins/continuous.groovy from eb220d4110bb27f286cf5ef545f3b18dc68c1de1
[Pipeline] Start of Pipeline
[Pipeline] timeout
Timeout set to expire in 6 hr 0 min
[Pipeline] {
[Pipeline] stage
[Pipeline] { (Clang-Format)
[Pipeline] node
Running on CpuNode5 in /var/jenkins/workspace/kokkos_remote_PR-93
[Pipeline] {
[Pipeline] checkout
The recommended git tool is: NONE
using credential Jenkins ORNL
Fetching changes from the remote Git repository
Fetching without tags
Checking out Revision eb220d4110bb27f286cf5ef545f3b18dc68c1de1 (PR-93)
Commit message: "Simplify handling of subviews over dim0, add unit tests, fix issues"
 > git rev-parse --resolve-git-dir /var/jenkins/workspace/kokkos_remote_PR-93/.git # timeout=10
 > git config remote.origin.url https://github.com/kokkos/kokkos-remote-spaces.git # timeout=10
Fetching upstream changes from https://github.com/kokkos/kokkos-remote-spaces.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-remote-spaces.git +refs/pull/93/head:refs/remotes/origin/PR-93 # timeout=10
 > git config core.sparsecheckout # timeout=10
 > git checkout -f eb220d4110bb27f286cf5ef545f3b18dc68c1de1 # timeout=10
 > git rev-list --no-walk 63c24c7fa430ddba90f6f0907de8cc0fca2f35cf # timeout=10
[Pipeline] withEnv
[Pipeline] {
[Pipeline] isUnix
[Pipeline] readFile
[Pipeline] sh
+ docker build -t e2c481cf7982fc520a3984426cd16ef3d4fc52b1 -f scripts/docker/Dockerfile.clang scripts/docker
#1 [internal] load build definition from Dockerfile.clang
#1 sha256:1496c3c6d3f0f5ecb5e731ed3518e9d23e94a91e05aea6bb145a39dd7a53d811
#1 transferring dockerfile: 2.07kB done
#1 DONE 0.0s

#2 [internal] load .dockerignore
#2 sha256:6c413a4ea266a45f98025b7987d43b2e1fa5486c976b8080bcb39879c660edcb
#2 transferring context: 2B done
#2 DONE 0.0s

#3 [internal] load metadata for nvcr.io/nvidia/cuda:12.2.0-devel-ubuntu20.04
#3 sha256:37873c13a4bb2715c53a9d26a754255947021597dbae7e1d9416f04c4d99242f
#3 DONE 0.0s

#8 [1/5] FROM nvcr.io/nvidia/cuda:12.2.0-devel-ubuntu20.04
#8 sha256:0a313f51c59d65b8fd314754f1462f1dd8a2fac320eafde75b6f52bcee004b24
#8 DONE 0.0s

#6 [3/5] RUN KEYDUMP_URL=https://cloud.cees.ornl.gov/download &&     KEYDUMP_FILE=keydump &&     wget --quiet ${KEYDUMP_URL}/${KEYDUMP_FILE} &&     wget --quiet ${KEYDUMP_URL}/${KEYDUMP_FILE}.sig &&     gpg --import ${KEYDUMP_FILE} &&     gpg --verify ${KEYDUMP_FILE}.sig ${KEYDUMP_FILE} &&     rm ${KEYDUMP_FILE}*
#6 sha256:c6b344a6028de3f5818141df915e00cc6767d0d2c7b01bd36e96402387c51892
#6 CACHED

#7 [2/5] RUN apt-get update && apt-get install -y         bc         git         wget         ccache         &&     apt-get clean &&     rm -rf /var/lib/apt/lists/*
#7 sha256:734f602daf340699447ae10ee59626c190bedbd705defd341870761c25bea692
#7 CACHED

#5 [4/5] RUN CMAKE_URL=https://github.com/Kitware/CMake/releases/download/v3.16.8 &&     CMAKE_SCRIPT=cmake-3.16.8-Linux-x86_64.sh &&     CMAKE_SHA256=cmake-3.16.8-SHA-256.txt &&     wget --quiet ${CMAKE_URL}/${CMAKE_SHA256} &&     wget --quiet ${CMAKE_URL}/${CMAKE_SHA256}.asc &&     wget --quiet ${CMAKE_URL}/${CMAKE_SCRIPT} &&     gpg --verify ${CMAKE_SHA256}.asc ${CMAKE_SHA256} &&     grep -i ${CMAKE_SCRIPT} ${CMAKE_SHA256} | sed -e s/linux/Linux/ | sha256sum --check &&     mkdir -p /opt/cmake &&     sh ${CMAKE_SCRIPT} --skip-license --prefix=/opt/cmake &&     rm cmake*
#5 sha256:f0790efd500103dc6fcef98649a77bb4a1765a30832b1102ec3d563bdf3b8528
#5 CACHED

#4 [5/5] RUN LLVM_VERSION=8.0.0 &&     LLVM_URL=http://releases.llvm.org/${LLVM_VERSION}/clang+llvm-${LLVM_VERSION}-x86_64-linux-gnu-ubuntu-16.04.tar.xz &&     LLVM_ARCHIVE=llvm-${LLVM_VERSION}.tar.xz &&     SCRATCH_DIR=/scratch && mkdir -p ${SCRATCH_DIR} && cd ${SCRATCH_DIR} &&     wget --quiet ${LLVM_URL} --output-document=${LLVM_ARCHIVE} &&     wget --quiet ${LLVM_URL}.sig --output-document=${LLVM_ARCHIVE}.sig &&     gpg --verify ${LLVM_ARCHIVE}.sig ${LLVM_ARCHIVE} &&     mkdir -p /opt/llvm &&     tar -xvf ${LLVM_ARCHIVE} -C /opt/llvm --strip-components=1 &&     echo "/opt/llvm/lib" > /etc/ld.so.conf.d/llvm.conf && ldconfig &&     rm -rf /root/.gnupg &&     rm -rf ${SCRATCH_DIR}
#4 sha256:a526c61f465b77aa4897f88a01167113eb9b3cace857bcebeae6e7a4d2da8f96
#4 CACHED

#9 exporting to image
#9 sha256:40f2da0713057f059220329383ef193045c62e32c42a6abb935a59c7b1260343
#9 exporting layers done
#9 writing image sha256:59e0af9e9345c2a74f1ff9fd6377f66c279ae4cd81d10f1865585fb3f9926a1b done
#9 naming to docker.io/library/e2c481cf7982fc520a3984426cd16ef3d4fc52b1:latest done
#9 DONE 0.0s
[Pipeline] isUnix
[Pipeline] withEnv
[Pipeline] {
[Pipeline] sh
+ docker inspect -f . e2c481cf7982fc520a3984426cd16ef3d4fc52b1
.
[Pipeline] }
[Pipeline] // withEnv
[Pipeline] withDockerContainer
CpuNode5 seems to be running inside container 96eb3c64af22c2400c54d0922c971f10735788eaca719af33e757c9e3fa73f0c
$ docker run -t -d -u 0:0 -w /var/jenkins/workspace/kokkos_remote_PR-93 --volumes-from 96eb3c64af22c2400c54d0922c971f10735788eaca719af33e757c9e3fa73f0c -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 ******** e2c481cf7982fc520a3984426cd16ef3d4fc52b1 cat
$ docker top e693bea457ddcb1878ab1ae3ce24208db7fa6431276442062dc473dde6aede62 -eo pid,comm
ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements).
Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`.
[Pipeline] {
[Pipeline] sh
+ ./scripts/docker/check_format_cpp.sh
diff --git a/src/core/Kokkos_RemoteSpaces_ViewMapping.hpp b/src/core/Kokkos_RemoteSpaces_ViewMapping.hpp
index dd6dcff..f3ff44e 100644
--- a/src/core/Kokkos_RemoteSpaces_ViewMapping.hpp
+++ b/src/core/Kokkos_RemoteSpaces_ViewMapping.hpp
@@ -334,19 +334,19 @@ class ViewMapping<
 
     const SubviewExtents<SrcTraits::rank, rank> extents(src.m_offset.m_dim,
                                                         args...);
-    dst.m_offset                    = dst_offset_type(src.m_offset, extents);
-    dst.remote_view_props           = src.remote_view_props;
+    dst.m_offset                  = dst_offset_type(src.m_offset, extents);
+    dst.remote_view_props         = src.remote_view_props;
     bool switch_to_local_indexing = false;
 
     /*We currently support only subviews of subviews where the first subview is
      created with a scalar over the leading dim*/
-    /*Subviews that span across multiple nodes cannot have subviews in this version
-    */
+    /*Subviews that span across multiple nodes cannot have subviews in this
+     * version
+     */
     if (!src.remote_view_props.using_local_indexing) {
       dst.remote_view_props.using_local_indexing = !R0 ? true : false;
-      dst.remote_view_props.R0_offset = extents.domain_offset(0);
-    }
-    else
+      dst.remote_view_props.R0_offset            = extents.domain_offset(0);
+    } else
       switch_to_local_indexing = true;
 
     typename view_type::size_type offset;
@@ -362,7 +362,7 @@ class ViewMapping<
                   extents.domain_offset(3), extents.domain_offset(4),
                   extents.domain_offset(5), extents.domain_offset(6),
                   extents.domain_offset(7));
-                  
+
 #ifdef KRS_ENABLE_MPISPACE
     // Subviews propagate MPI_Window of the original view
     dst.m_handle = ViewDataHandle<DstTraits>::assign(
diff --git a/unit_tests/Test_Subview.cpp b/unit_tests/Test_Subview.cpp
index dd375f9..f167783 100644
--- a/unit_tests/Test_Subview.cpp
+++ b/unit_tests/Test_Subview.cpp
@@ -282,7 +282,7 @@ void test_subviewOfSubview_Range_3D(int i1, int i2, int i3) {
 
   for (int i = 0; i < v_h.extent(0); ++i)
     for (int j = 0; j < v_h.extent(1); ++j)
-      if(j < i2_half)
+      if (j < i2_half)
         for (int k = 0; k < v_h.extent(2); ++k) ASSERT_EQ(v_h(i, j, k), 0);
       else
         for (int k = 0; k < v_h.extent(2); ++k) ASSERT_EQ(v_h(i, j, k), 2);
[Pipeline] }
$ docker stop --time=1 e693bea457ddcb1878ab1ae3ce24208db7fa6431276442062dc473dde6aede62
$ docker rm -f --volumes e693bea457ddcb1878ab1ae3ce24208db7fa6431276442062dc473dde6aede62
[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: shmem-openmpi)
[Pipeline] stage
[Pipeline] { (shmem-openmpi)
Stage "shmem-openmpi" skipped due to earlier failure(s)
[Pipeline] }
[Pipeline] // stage
[Pipeline] }
Failed in branch shmem-openmpi
[Pipeline] // parallel
[Pipeline] }
[Pipeline] // stage
[Pipeline] }
[Pipeline] // timeout
[Pipeline] End of Pipeline
ERROR: script returned exit code 1

GitHub has been notified of this commit’s build result

Finished: FAILURE