Branch indexing Connecting to https://api.github.com using edgex-jenkins/****** (edgex-jenkins github personal access token) Connecting to https://api.github.com to check permissions of obtain list of hahattan for edgexfoundry/device-sdk-go Obtained Jenkinsfile from 81b72cb1c14b119a0974622c0a4aa5a2897d132f+0916c9033c71b8931055140091788f6fe2f32c33 (a3d9cb5d53462a0fefd14163954f2999b1d01bcd) Running in Durability level: PERFORMANCE_OPTIMIZED Loading library edgex-global-pipelines@stable Attempting to resolve stable from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 7909e789ffc0fecf34d47f501ec8db0a80105338 Resolving tag commit... (remote references may be a lightweight tag or an annotated tag) > git rev-parse --is-inside-work-tree # timeout=10 Setting origin to git@github.com:edgexfoundry/edgex-global-pipelines.git > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching origin... Fetching upstream changes from origin > git --version # timeout=10 > git --version # 'git version 2.16.6' > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --progress -- origin +refs/heads/*:refs/remotes/origin/* # timeout=10 > git rev-parse refs/tags/stable^{commit} # timeout=10 Resolved tag stable revision 7909e789ffc0fecf34d47f501ec8db0a80105338 using credential edgex-jenkins-ssh > git rev-parse --is-inside-work-tree # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching with tags Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 7909e789ffc0fecf34d47f501ec8db0a80105338 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 7909e789ffc0fecf34d47f501ec8db0a80105338 # timeout=10 Commit message: "Merge pull request #245 from ernestojeda/fix-go-version-issue" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:edgexfoundry/edgex-global-pipelines.git so that shared library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-sdk-go, dockerImageName:docker-device-sdk-simple, dockerFilePath:example/cmd/device-simple/Dockerfile, pushImage:false] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[centos7-docker-4c-2g, ubuntu18.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-sdk-go-settings PROJECT: device-sdk-go USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.15 GOPROXY: https://nexus3.edgexfoundry.org/repository/go-proxy/ DOCKER_BASE_IMAGE: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine DOCKER_FILE_PATH: example/cmd/device-simple/Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_IMAGE_NAME: docker-device-sdk-simple DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: false BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: false SWAGGER_API_FOLDERS: openapi/v1 [Pipeline] node Still waiting to schedule task Waiting for next available executor on ‘prd-centos7-docker-4c-2g-581’ Running on prd-centos7-docker-4c-2g-589 in /w/workspace/dgexfoundry_device-sdk-go_PR-571 [Pipeline] { [Pipeline] stage [Pipeline] { (Declarative: Checkout SCM) [Pipeline] checkout using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning with configured refspecs honoured and without tags Cloning repository git@github.com:edgexfoundry/device-sdk-go.git > git init /w/workspace/dgexfoundry_device-sdk-go_PR-571 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git > git --version # timeout=10 > git --version # 'git version 2.16.5' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --no-tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/571/head:refs/remotes/origin/PR-571 +refs/heads/master:refs/remotes/origin/master # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 > git config --add remote.origin.fetch +refs/pull/571/head:refs/remotes/origin/PR-571 # timeout=10 > git config --add remote.origin.fetch +refs/heads/master:refs/remotes/origin/master # timeout=10 Fetching without tags Merging remotes/origin/master commit 0916c9033c71b8931055140091788f6fe2f32c33 into PR head commit 81b72cb1c14b119a0974622c0a4aa5a2897d132f Merge succeeded, producing bb628e6b62a6c7267a6e37c8e32c90014d17b516 Checking out Revision bb628e6b62a6c7267a6e37c8e32c90014d17b516 (PR-571) > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --no-tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/571/head:refs/remotes/origin/PR-571 +refs/heads/master:refs/remotes/origin/master # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 81b72cb1c14b119a0974622c0a4aa5a2897d132f # timeout=10 > git remote # timeout=10 > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub > git merge 0916c9033c71b8931055140091788f6fe2f32c33 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f bb628e6b62a6c7267a6e37c8e32c90014d17b516 # timeout=10 Commit message: "Merge commit '0916c9033c71b8931055140091788f6fe2f32c33' into HEAD" First time build. Skipping changelog. > git rev-list --no-walk 50bdc8a8df699f51610fa3e77dacd07c040d0337 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 18:46:19 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 18:46:19 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 18:46:19 ========================================================= 18:46:19 EdgeX Global Pipelines Version Info 18:46:19 ========================================================= [Pipeline] libraryResource [Pipeline] sh 18:46:26 ------------------- 18:46:26 stable info: 18:46:26 ------------------- 18:46:26 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 18:46:26 Commit SHA: 7909e789ffc0fecf34d47f501ec8db0a80105338 18:46:26 Message: update stable to v1.0.122 18:46:27 ------------------- 18:46:27 experimental info: 18:46:27 ------------------- 18:46:27 Commited By: **** collab-it+edgex@linuxfoundation.org 18:46:27 Commit SHA: 040e29ce4f8dcf7f02c652317e535dcbebe1b406 18:46:27 Message: update experimental to v1.0.125 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] } [Pipeline] // script [Pipeline] echo 18:46:28 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-go-settings [Pipeline] echo 18:46:28 [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-go [Pipeline] echo 18:46:28 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 18:46:28 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 18:46:28 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 18:46:28 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.15 [Pipeline] echo 18:46:28 [edgeXSetupEnvironment]: set envvar GOPROXY = https://nexus3.edgexfoundry.org/repository/go-proxy/ [Pipeline] echo 18:46:29 [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine [Pipeline] echo 18:46:29 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = example/cmd/device-simple/Dockerfile [Pipeline] echo 18:46:29 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 18:46:29 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 18:46:29 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = docker-device-sdk-simple [Pipeline] echo 18:46:29 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 18:46:29 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 18:46:29 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 18:46:29 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo 18:46:29 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 18:46:30 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 18:46:30 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 18:46:30 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 18:46:30 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 18:46:30 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 18:46:30 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-571 [Pipeline] echo 18:46:30 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-571 [Pipeline] echo 18:46:31 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-571 [Pipeline] echo 18:46:31 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = bb628e6b62a6c7267a6e37c8e32c90014d17b516 [Pipeline] echo 18:46:31 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = bb628e6 [Pipeline] echo 18:46:31 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 18:46:32 + git log --format=format:%s -1 bb628e6b62a6c7267a6e37c8e32c90014d17b516 [Pipeline] echo 18:46:32 GIT_COMMIT: bb628e6b62a6c7267a6e37c8e32c90014d17b516, Commit Message: Merge commit '0916c9033c71b8931055140091788f6fe2f32c33' into HEAD [Pipeline] echo 18:46:32 This is not a build commit. [Pipeline] isUnix [Pipeline] sh 18:46:33 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 18:46:36 18:46:36 Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh 18:46:36 + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 18:46:37 latest: Pulling from edgex-devops/git-semver 18:46:37 31603596830f: Pulling fs layer 18:46:37 2a8b12db71e7: Pulling fs layer 18:46:37 6ca5941a6612: Pulling fs layer 18:46:37 ecc8261a40a4: Pulling fs layer 18:46:37 ecc8261a40a4: Waiting 18:46:37 2a8b12db71e7: Verifying Checksum 18:46:37 2a8b12db71e7: Download complete 18:46:38 31603596830f: Verifying Checksum 18:46:38 31603596830f: Download complete 18:46:39 ecc8261a40a4: Verifying Checksum 18:46:39 ecc8261a40a4: Download complete 18:46:39 6ca5941a6612: Verifying Checksum 18:46:39 6ca5941a6612: Download complete 18:46:39 31603596830f: Pull complete 18:46:41 2a8b12db71e7: Pull complete 18:46:45 6ca5941a6612: Pull complete 18:46:46 ecc8261a40a4: Pull complete 18:46:46 Digest: sha256:c336c3cb7d26c4f33e4bbf869d415e221d43967d83d6a5809e4cb0cc2a1e8fe7 18:46:46 Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 18:46:46 nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer 18:46:46 prd-centos7-docker-4c-2g-589 does not seem to be running inside a container 18:46:47 $ docker run -t -d -u 1001:1001 -v /etc/ssh:/etc/ssh -w /w/workspace/dgexfoundry_device-sdk-go_PR-571 -v /w/workspace/dgexfoundry_device-sdk-go_PR-571:/w/workspace/dgexfoundry_device-sdk-go_PR-571:rw,z -v /w/workspace/dgexfoundry_device-sdk-go_PR-571@tmp:/w/workspace/dgexfoundry_device-sdk-go_PR-571@tmp:rw,z -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 ******** -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 ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat 18:46:49 $ docker top 4ef0ad1161ba0f09be05d2c3335e5164404735f4e1f2322f1dfc1931f39bf9bc -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 18:46:50 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 18:46:50 [ssh-agent] Looking for ssh-agent implementation... 18:46:51 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 18:46:51 $ docker exec 4ef0ad1161ba0f09be05d2c3335e5164404735f4e1f2322f1dfc1931f39bf9bc ssh-agent 18:46:51 SSH_AUTH_SOCK=/tmp/ssh-4CPvEwUwd3hv/agent.12 18:46:51 SSH_AGENT_PID=17 18:46:51 Running ssh-add (command line suppressed) 18:46:52 Identity added: /w/workspace/dgexfoundry_device-sdk-go_PR-571@tmp/private_key_4856666610499897033.key (/w/workspace/dgexfoundry_device-sdk-go_PR-571@tmp/private_key_4856666610499897033.key) 18:46:52 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 18:46:53 + git describe --exact-match --tags HEAD 18:46:53 fatal: No names found, cannot describe anything. [Pipeline] } 18:46:53 $ docker exec --env ******** --env ******** 4ef0ad1161ba0f09be05d2c3335e5164404735f4e1f2322f1dfc1931f39bf9bc ssh-agent -k 18:46:53 unset SSH_AUTH_SOCK; 18:46:53 unset SSH_AGENT_PID; 18:46:53 echo Agent pid 17 killed; 18:46:53 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] echo 18:46:53 [edgeXSemver]: exception occurred checking if HEAD is tagged: hudson.AbortException: script returned exit code 128 18:46:53 This usually means this commit has not been tagged. [Pipeline] sshagent 18:46:53 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 18:46:53 [ssh-agent] Looking for ssh-agent implementation... 18:46:54 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 18:46:54 $ docker exec 4ef0ad1161ba0f09be05d2c3335e5164404735f4e1f2322f1dfc1931f39bf9bc ssh-agent 18:46:55 SSH_AUTH_SOCK=/tmp/ssh-s5OaEJSG0Yyf/agent.45 18:46:55 SSH_AGENT_PID=50 18:46:55 Running ssh-add (command line suppressed) 18:46:55 Identity added: /w/workspace/dgexfoundry_device-sdk-go_PR-571@tmp/private_key_3373472798949519040.key (/w/workspace/dgexfoundry_device-sdk-go_PR-571@tmp/private_key_3373472798949519040.key) 18:46:55 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 18:46:56 + git semver init 18:46:56 # -> Open(): unable to determine branch for HEAD 18:46:56 # $GIT_DIR = /w/workspace/dgexfoundry_device-sdk-go_PR-571/.git 18:46:56 # $GIT_WORK_TREE = /w/workspace/dgexfoundry_device-sdk-go_PR-571 18:46:56 # $SEMVER_REMOTE_NAME = origin 18:46:56 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 18:46:56 # $SEMVER_USER_NAME = edgex-jenkins 18:46:56 # $SEMVER_BRANCH = PR-571 18:46:56 # $SEMVER_TEMP = /tmp/semver-993972668 18:46:56 # git clone --branch semver git@github.com:edgexfoundry/device-sdk-go.git $SEMVER_TEMP 18:46:59 # '/tmp/semver-993972668' -> '/w/workspace/dgexfoundry_device-sdk-go_PR-571/.semver' 18:46:59 # -> Force: false 18:46:59 # $SEMVER_DIR = /w/workspace/dgexfoundry_device-sdk-go_PR-571/.semver [Pipeline] } 18:46:59 $ docker exec --env ******** --env ******** 4ef0ad1161ba0f09be05d2c3335e5164404735f4e1f2322f1dfc1931f39bf9bc ssh-agent -k 18:46:59 unset SSH_AUTH_SOCK; 18:46:59 unset SSH_AGENT_PID; 18:46:59 echo Agent pid 50 killed; 18:47:00 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 18:47:01 + git semver [Pipeline] } 18:47:01 $ docker stop --time=1 4ef0ad1161ba0f09be05d2c3335e5164404735f4e1f2322f1dfc1931f39bf9bc 18:47:03 $ docker rm -f 4ef0ad1161ba0f09be05d2c3335e5164404735f4e1f2322f1dfc1931f39bf9bc [Pipeline] // withDockerContainer [Pipeline] writeFile [Pipeline] stash 18:47:07 Stashed 38 file(s) [Pipeline] echo 18:47:07 [edgeXSemver]: initialized semver on version 0.0.0 [Pipeline] echo 18:47:07 Archived original version: [0.0.0] [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] parallel [Pipeline] { (Branch: amd64) [Pipeline] { (Branch: arm64) [Pipeline] stage [Pipeline] { (amd64) [Pipeline] stage [Pipeline] { (arm64) [Pipeline] node [Pipeline] node 18:47:22 Still waiting to schedule task 18:47:22 ‘prd-centos7-docker-4c-2g-590’ is offline; ‘prd-ubuntu18.04-docker-arm64-4c-16g-583’ doesn’t have label ‘centos7-docker-4c-2g’; ‘prd-ubuntu18.04-docker-arm64-4c-16g-595’ doesn’t have label ‘centos7-docker-4c-2g’ 18:47:22 Still waiting to schedule task 18:47:22 All nodes of label ‘ubuntu18.04-docker-arm64-4c-16g’ are offline 18:50:04 Running on prd-ubuntu18.04-docker-arm64-4c-16g-601 in /w/workspace/dgexfoundry_device-sdk-go_PR-571 [Pipeline] { [Pipeline] ws 18:50:04 Running in /w/workspace/device-sdk-go/13 [Pipeline] { [Pipeline] checkout 18:50:09 using credential edgex-jenkins-ssh 18:50:09 Cloning the remote Git repository 18:50:09 Cloning with configured refspecs honoured and without tags 18:50:09 Cloning repository git@github.com:edgexfoundry/device-sdk-go.git 18:50:10 > git init /w/workspace/device-sdk-go/13 # timeout=10 18:50:10 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 18:50:10 > git --version # timeout=10 18:50:10 > git --version # 'git version 2.17.1' 18:50:10 using GIT_SSH to set credentials SSH Credentials for GitHub 18:50:10 > git fetch --no-tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/571/head:refs/remotes/origin/PR-571 +refs/heads/master:refs/remotes/origin/master # timeout=10 18:50:11 Fetching without tags 18:50:11 Merging remotes/origin/master commit 0916c9033c71b8931055140091788f6fe2f32c33 into PR head commit 81b72cb1c14b119a0974622c0a4aa5a2897d132f 18:50:11 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 18:50:11 > git config --add remote.origin.fetch +refs/pull/571/head:refs/remotes/origin/PR-571 # timeout=10 18:50:11 > git config --add remote.origin.fetch +refs/heads/master:refs/remotes/origin/master # timeout=10 18:50:11 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 18:50:11 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 18:50:11 using GIT_SSH to set credentials SSH Credentials for GitHub 18:50:11 > git fetch --no-tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/571/head:refs/remotes/origin/PR-571 +refs/heads/master:refs/remotes/origin/master # timeout=10 18:50:11 > git config core.sparsecheckout # timeout=10 18:50:11 > git checkout -f 81b72cb1c14b119a0974622c0a4aa5a2897d132f # timeout=10 18:50:12 Merge succeeded, producing 44928e832fe10f109ceb25d4ad4381d4dcdf2a37 18:50:12 Checking out Revision 44928e832fe10f109ceb25d4ad4381d4dcdf2a37 (PR-571) 18:50:11 > git remote # timeout=10 18:50:11 > git config --get remote.origin.url # timeout=10 18:50:12 using GIT_SSH to set credentials SSH Credentials for GitHub 18:50:12 > git merge 0916c9033c71b8931055140091788f6fe2f32c33 # timeout=10 18:50:12 > git rev-parse HEAD^{commit} # timeout=10 18:50:12 > git config core.sparsecheckout # timeout=10 18:50:12 > git checkout -f 44928e832fe10f109ceb25d4ad4381d4dcdf2a37 # timeout=10 18:50:16 Commit message: "Merge commit '0916c9033c71b8931055140091788f6fe2f32c33' into HEAD" 18:50:16 First time build. Skipping changelog. [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] unstash 18:50:16 > git rev-list --no-walk 50bdc8a8df699f51610fa3e77dacd07c040d0337 # timeout=10 [Pipeline] echo 18:50:17 ========================================================= 18:50:17 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine] 18:50:17 ========================================================= [Pipeline] isUnix [Pipeline] sh 18:50:19 + docker build -t ci-base-image-arm64 -f Dockerfile.build --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine . 18:50:20 Sending build context to Docker daemon 3.169MB 18:50:20 Step 1/8 : ARG BASE=golang:1.15-alpine 18:50:20 Step 2/8 : FROM ${BASE} 18:50:20 1.15-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 18:50:20 b538f80385f9: Pulling fs layer 18:50:20 74f711af9a0d: Pulling fs layer 18:50:20 99f96fe45779: Pulling fs layer 18:50:20 8529a6b9a6be: Pulling fs layer 18:50:20 45590311c82a: Pulling fs layer 18:50:20 69ca0ff8b7b3: Pulling fs layer 18:50:20 209524e5b208: Pulling fs layer 18:50:20 8529a6b9a6be: Waiting 18:50:20 45590311c82a: Waiting 18:50:20 69ca0ff8b7b3: Waiting 18:50:20 209524e5b208: Waiting 18:50:20 99f96fe45779: Verifying Checksum 18:50:20 99f96fe45779: Download complete 18:50:20 74f711af9a0d: Verifying Checksum 18:50:20 74f711af9a0d: Download complete 18:50:20 45590311c82a: Verifying Checksum 18:50:20 69ca0ff8b7b3: Verifying Checksum 18:50:20 69ca0ff8b7b3: Download complete 18:50:20 b538f80385f9: Verifying Checksum 18:50:20 b538f80385f9: Download complete 18:50:21 b538f80385f9: Pull complete 18:50:22 74f711af9a0d: Pull complete 18:50:22 99f96fe45779: Pull complete 18:50:23 209524e5b208: Verifying Checksum 18:50:23 209524e5b208: Download complete 18:50:24 8529a6b9a6be: Verifying Checksum 18:50:24 8529a6b9a6be: Download complete 18:50:34 8529a6b9a6be: Pull complete 18:50:34 45590311c82a: Pull complete 18:50:34 69ca0ff8b7b3: Pull complete 18:50:38 209524e5b208: Pull complete 18:50:38 Digest: sha256:ed1c815e5e6ec4cca07509da726365701584b6c3e8c7d74a761ef336e5f8fb68 18:50:38 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine 18:50:38 ---> 5bddaf1c2fca 18:50:38 Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 18:50:41 ---> Running in 970796d786ab 18:50:42 Removing intermediate container 970796d786ab 18:50:42 ---> 95dfedf7890f 18:50:42 Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 18:50:42 ---> Running in 2f85d24d6b2a 18:50:45 Removing intermediate container 2f85d24d6b2a 18:50:45 ---> 1c5ee8e88f3c 18:50:45 Step 5/8 : RUN apk add --no-cache make git 18:50:45 ---> Running in c34319b5e67a 18:50:46 fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz 18:50:47 fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz 18:50:48 OK: 142 MiB in 39 packages 18:50:49 Removing intermediate container c34319b5e67a 18:50:49 ---> 26a846477244 18:50:49 Step 6/8 : WORKDIR /device-sdk-go 18:50:49 ---> Running in d9f517e0e644 18:50:50 Removing intermediate container d9f517e0e644 18:50:50 ---> 5f35145e2707 18:50:50 Step 7/8 : COPY . . 18:50:51 ---> 578a891faac9 18:50:51 Step 8/8 : RUN go mod download 18:50:51 ---> Running in 6c59913defa4 18:51:06 Removing intermediate container 6c59913defa4 18:51:06 ---> 422885a6aea2 18:51:06 Successfully built 422885a6aea2 18:51:06 Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh 18:51:07 + docker inspect -f . ci-base-image-arm64 18:51:07 . [Pipeline] withDockerContainer 18:51:07 prd-ubuntu18.04-docker-arm64-4c-16g-601 does not seem to be running inside a container 18:51:07 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/13 -v /w/workspace/device-sdk-go/13:/w/workspace/device-sdk-go/13:rw,z -v /w/workspace/device-sdk-go/13@tmp:/w/workspace/device-sdk-go/13@tmp:rw,z -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 ******** -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 ******** ci-base-image-arm64 cat 18:51:09 $ docker top 5b5be9e82e67c352b416aedd5e544ff7a8e7d4577b3b2e98605567576db9a21a -eo pid,comm [Pipeline] { [Pipeline] sh 18:51:11 + go version 18:51:11 go version go1.15.2 linux/arm64 [Pipeline] } 18:51:11 $ docker stop --time=1 5b5be9e82e67c352b416aedd5e544ff7a8e7d4577b3b2e98605567576db9a21a 18:51:13 $ docker rm -f 5b5be9e82e67c352b416aedd5e544ff7a8e7d4577b3b2e98605567576db9a21a [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 18:51:14 + docker inspect -f . ci-base-image-arm64 18:51:14 . [Pipeline] withDockerContainer 18:51:14 prd-ubuntu18.04-docker-arm64-4c-16g-601 does not seem to be running inside a container 18:51:14 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/13 -v /w/workspace/device-sdk-go/13:/w/workspace/device-sdk-go/13:rw,z -v /w/workspace/device-sdk-go/13@tmp:/w/workspace/device-sdk-go/13@tmp:rw,z -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 ******** -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 ******** ci-base-image-arm64 cat 18:51:16 $ docker top 2183a34f704438f290fb03093dac9ecea57f01407878f395078826824fc65880 -eo pid,comm [Pipeline] { [Pipeline] sh 18:51:18 + make test 18:51:18 GO111MODULE=on go test -race -coverprofile=coverage.out ./... 18:51:45 ? github.com/edgexfoundry/device-sdk-go [no test files] 18:52:24 ? github.com/edgexfoundry/device-sdk-go/example/cmd/device-simple [no test files] 18:52:24 ? github.com/edgexfoundry/device-sdk-go/example/driver [no test files] 18:52:24 ? github.com/edgexfoundry/device-sdk-go/internal/autodiscovery [no test files] 18:52:24 ok github.com/edgexfoundry/device-sdk-go/internal/autoevent 0.063s coverage: 20.8% of statements 18:52:26 ok github.com/edgexfoundry/device-sdk-go/internal/cache 1.251s coverage: 97.1% of statements 18:52:58 ok github.com/edgexfoundry/device-sdk-go/internal/clients 30.088s coverage: 9.4% of statements 18:52:58 ok github.com/edgexfoundry/device-sdk-go/internal/common 0.052s coverage: 21.9% of statements 18:52:58 ? github.com/edgexfoundry/device-sdk-go/internal/container [no test files] 18:52:58 ok github.com/edgexfoundry/device-sdk-go/internal/controller 0.519s coverage: 37.0% of statements 18:52:58 ? github.com/edgexfoundry/device-sdk-go/internal/controller/correlation [no test files] 18:52:58 ok github.com/edgexfoundry/device-sdk-go/internal/handler 0.752s coverage: 65.4% of statements 18:52:58 ? github.com/edgexfoundry/device-sdk-go/internal/handler/callback [no test files] 18:52:58 ? github.com/edgexfoundry/device-sdk-go/internal/mock [no test files] 18:52:58 ? github.com/edgexfoundry/device-sdk-go/internal/provision [no test files] 18:52:58 ok github.com/edgexfoundry/device-sdk-go/internal/transformer 0.111s coverage: 52.6% of statements 18:52:58 ok github.com/edgexfoundry/device-sdk-go/pkg/models 6.154s coverage: 68.9% of statements 18:52:58 ? github.com/edgexfoundry/device-sdk-go/pkg/service [no test files] 18:52:58 ? github.com/edgexfoundry/device-sdk-go/pkg/startup [no test files] 18:52:58 GO111MODULE=on go vet ./... 18:53:25 gofmt -l . 18:53:25 [ "`gofmt -l .`" = "" ] 18:53:25 ./bin/test-attribution-txt.sh 18:53:25 ./bin/test-go-mod-tidy.sh [Pipeline] stash 18:53:26 Stashed 1 file(s) [Pipeline] } 18:53:26 $ docker stop --time=1 2183a34f704438f290fb03093dac9ecea57f01407878f395078826824fc65880 18:53:28 $ docker rm -f 2183a34f704438f290fb03093dac9ecea57f01407878f395078826824fc65880 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 18:53:30 + sudo chown -R jenkins:jenkins . [Pipeline] sh 18:53:31 + ls -al . 18:53:31 total 228 18:53:31 drwxrwxr-x 11 jenkins jenkins 4096 Sep 20 18:53 . 18:53:31 drwxrwxr-x 4 jenkins jenkins 4096 Sep 20 18:50 .. 18:53:31 -rw-rw-r-- 1 jenkins jenkins 140 Sep 20 18:50 .dockerignore 18:53:31 drwxrwxr-x 8 jenkins jenkins 4096 Sep 20 18:50 .git 18:53:31 drwxrwxr-x 2 jenkins jenkins 4096 Sep 20 18:50 .github 18:53:31 -rw-rw-r-- 1 jenkins jenkins 138 Sep 20 18:50 .gitignore 18:53:31 drwxrwxr-x 3 jenkins jenkins 4096 Sep 20 18:50 .semver 18:53:31 -rw-rw-r-- 1 jenkins jenkins 936 Sep 20 18:50 Dockerfile.build 18:53:31 -rw-rw-r-- 1 jenkins jenkins 785 Sep 20 18:50 Jenkinsfile 18:53:31 -rw-rw-r-- 1 jenkins jenkins 11341 Sep 20 18:50 LICENSE 18:53:31 -rw-rw-r-- 1 jenkins jenkins 1013 Sep 20 18:50 Makefile 18:53:31 -rw-rw-r-- 1 jenkins jenkins 5897 Sep 20 18:50 README.md 18:53:31 -rw-rw-r-- 1 jenkins jenkins 4291 Sep 20 18:50 RELEASE-NOTES.txt 18:53:31 -rw-rw-r-- 1 jenkins jenkins 5 Sep 20 18:47 VERSION 18:53:31 drwxrwxr-x 2 jenkins jenkins 4096 Sep 20 18:50 bin 18:53:31 -rw-r--r-- 1 jenkins jenkins 111033 Sep 20 18:52 coverage.out 18:53:31 drwxrwxr-x 4 jenkins jenkins 4096 Sep 20 18:50 example 18:53:31 -rw-r--r-- 1 jenkins jenkins 446 Sep 20 18:53 go.mod 18:53:31 -rw-r--r-- 1 jenkins jenkins 12179 Sep 20 18:53 go.sum 18:53:31 drwxrwxr-x 13 jenkins jenkins 4096 Sep 20 18:50 internal 18:53:31 drwxrwxr-x 4 jenkins jenkins 4096 Sep 20 18:50 openapi 18:53:31 drwxrwxr-x 5 jenkins jenkins 4096 Sep 20 18:50 pkg 18:53:31 drwxrwxr-x 4 jenkins jenkins 4096 Sep 20 18:50 snap 18:53:31 -rw-rw-r-- 1 jenkins jenkins 222 Sep 20 18:50 version.go [Pipeline] isUnix [Pipeline] sh 18:53:31 + docker build -t docker-device-sdk-simple-arm64 -f example/cmd/device-simple/Dockerfile --build-arg BASE=ci-base-image-arm64 --build-arg MAKE=make build --build-arg ARCH=arm64 --label git_sha=bb628e6b62a6c7267a6e37c8e32c90014d17b516 --label arch=arm64 --label version=0.0.0 . 18:53:32 Sending build context to Docker daemon 3.281MB 18:53:32 Step 1/24 : ARG BASE=golang:1.15-alpine 18:53:32 Step 2/24 : FROM ${BASE} AS builder 18:53:32 ---> 422885a6aea2 18:53:32 Step 3/24 : ARG MAKE='make build' 18:53:32 ---> Running in 10e24e2e9501 18:53:32 Removing intermediate container 10e24e2e9501 18:53:32 ---> 333863b81650 18:53:32 Step 4/24 : WORKDIR /device-sdk-go 18:53:32 ---> Running in ad7df053fbcb 18:53:33 Removing intermediate container ad7df053fbcb 18:53:33 ---> 073fdb6b7d08 18:53:33 Step 5/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 18:53:33 ---> Running in 75f0e428fce7 18:53:34 Removing intermediate container 75f0e428fce7 18:53:34 ---> d85a22faf4d5 18:53:34 Step 6/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 18:53:34 ---> Running in 875bfd39a113 18:53:36 Removing intermediate container 875bfd39a113 18:53:36 ---> 2cafc6d97569 18:53:36 Step 7/24 : RUN apk add --update --no-cache make git 18:53:37 ---> Running in 70542d26846b 18:53:38 fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz 18:53:39 fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz 18:53:39 Running on prd-centos7-docker-4c-2g-603 in /w/workspace/dgexfoundry_device-sdk-go_PR-571 [Pipeline] { [Pipeline] ws 18:53:39 Running in /w/workspace/device-sdk-go/13 [Pipeline] { [Pipeline] checkout 18:53:40 OK: 142 MiB in 39 packages 18:53:41 Removing intermediate container 70542d26846b 18:53:41 ---> b91d43ee13c8 18:53:41 Step 8/24 : COPY . . 18:53:42 using credential edgex-jenkins-ssh 18:53:42 Cloning the remote Git repository 18:53:42 Cloning with configured refspecs honoured and without tags 18:53:42 Cloning repository git@github.com:edgexfoundry/device-sdk-go.git 18:53:42 ---> 0271345a7174 18:53:42 Step 9/24 : RUN ${MAKE} 18:53:42 ---> Running in 56c9f35d2161 18:53:42 > git init /w/workspace/device-sdk-go/13 # timeout=10 18:53:42 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 18:53:42 > git --version # timeout=10 18:53:42 > git --version # 'git version 2.16.5' 18:53:42 using GIT_SSH to set credentials SSH Credentials for GitHub 18:53:42 > git fetch --no-tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/571/head:refs/remotes/origin/PR-571 +refs/heads/master:refs/remotes/origin/master # timeout=10 18:53:43 Fetching without tags 18:53:43 Merging remotes/origin/master commit 0916c9033c71b8931055140091788f6fe2f32c33 into PR head commit 81b72cb1c14b119a0974622c0a4aa5a2897d132f 18:53:44 Merge succeeded, producing cc1b70a397b93909ef823dd314d6c3262f20932a 18:53:44 Checking out Revision cc1b70a397b93909ef823dd314d6c3262f20932a (PR-571) 18:53:44 CGO_ENABLED=0 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-sdk-go.Version=0.0.0" -o example/cmd/device-simple/device-simple ./example/cmd/device-simple 18:53:43 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 18:53:43 > git config --add remote.origin.fetch +refs/pull/571/head:refs/remotes/origin/PR-571 # timeout=10 18:53:43 > git config --add remote.origin.fetch +refs/heads/master:refs/remotes/origin/master # timeout=10 18:53:43 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 18:53:43 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 18:53:43 using GIT_SSH to set credentials SSH Credentials for GitHub 18:53:43 > git fetch --no-tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/571/head:refs/remotes/origin/PR-571 +refs/heads/master:refs/remotes/origin/master # timeout=10 18:53:44 > git config core.sparsecheckout # timeout=10 18:53:44 > git checkout -f 81b72cb1c14b119a0974622c0a4aa5a2897d132f # timeout=10 18:53:44 > git remote # timeout=10 18:53:44 > git config --get remote.origin.url # timeout=10 18:53:44 using GIT_SSH to set credentials SSH Credentials for GitHub 18:53:44 > git merge 0916c9033c71b8931055140091788f6fe2f32c33 # timeout=10 18:53:44 > git rev-parse HEAD^{commit} # timeout=10 18:53:44 > git config core.sparsecheckout # timeout=10 18:53:44 > git checkout -f cc1b70a397b93909ef823dd314d6c3262f20932a # timeout=10 18:53:47 Commit message: "Merge commit '0916c9033c71b8931055140091788f6fe2f32c33' into HEAD" 18:53:47 First time build. Skipping changelog. [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) 18:53:47 > git rev-list --no-walk 50bdc8a8df699f51610fa3e77dacd07c040d0337 # timeout=10 [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] echo 18:53:48 ========================================================= 18:53:48 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine] 18:53:48 ========================================================= [Pipeline] isUnix [Pipeline] sh 18:53:49 + docker build -t ci-base-image-x86_64 -f Dockerfile.build --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine . 18:53:49 Sending build context to Docker daemon 3.171MB 18:53:49 Step 1/8 : ARG BASE=golang:1.15-alpine 18:53:49 Step 2/8 : FROM ${BASE} 18:53:49 1.15-alpine: Pulling from edgex-devops/edgex-golang-base 18:53:49 df20fa9351a1: Pulling fs layer 18:53:49 ed8968b2872e: Pulling fs layer 18:53:49 a92cc7c5fd73: Pulling fs layer 18:53:49 e871e8e8d7a9: Pulling fs layer 18:53:49 e73272ec9a57: Pulling fs layer 18:53:49 1e910a182e73: Pulling fs layer 18:53:49 4e634b169226: Pulling fs layer 18:53:49 e73272ec9a57: Waiting 18:53:49 1e910a182e73: Waiting 18:53:49 4e634b169226: Waiting 18:53:49 e871e8e8d7a9: Waiting 18:53:49 a92cc7c5fd73: Verifying Checksum 18:53:49 a92cc7c5fd73: Download complete 18:53:49 ed8968b2872e: Verifying Checksum 18:53:49 ed8968b2872e: Download complete 18:53:49 e73272ec9a57: Verifying Checksum 18:53:49 e73272ec9a57: Download complete 18:53:49 1e910a182e73: Verifying Checksum 18:53:49 1e910a182e73: Download complete 18:53:49 df20fa9351a1: Download complete 18:53:50 df20fa9351a1: Pull complete 18:53:50 ed8968b2872e: Pull complete 18:53:50 a92cc7c5fd73: Pull complete 18:53:52 4e634b169226: Verifying Checksum 18:53:52 4e634b169226: Download complete 18:53:52 e871e8e8d7a9: Verifying Checksum 18:53:52 e871e8e8d7a9: Download complete 18:53:58 e871e8e8d7a9: Pull complete 18:53:58 e73272ec9a57: Pull complete 18:53:58 1e910a182e73: Pull complete 18:54:03 4e634b169226: Pull complete 18:54:03 Digest: sha256:0b802f5dd80e2ad8551c53c724486b1db3b79f86ac5ae7c7a2db79f17045b642 18:54:03 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine 18:54:03 ---> f7629b54cfaa 18:54:03 Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 18:54:03 ---> Running in 3d6c027f8603 18:54:03 Removing intermediate container 3d6c027f8603 18:54:03 ---> 439c09ff41c1 18:54:03 Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 18:54:04 ---> Running in 3b2c54eaca91 18:54:05 Removing intermediate container 3b2c54eaca91 18:54:05 ---> 39ed1450f223 18:54:05 Step 5/8 : RUN apk add --no-cache make git 18:54:05 ---> Running in 16842026c26c 18:54:06 fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz 18:54:06 CGO_ENABLED=0 GO111MODULE=on go install -tags=safe 18:54:06 fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz 18:54:07 OK: 166 MiB in 39 packages 18:54:07 Removing intermediate container 16842026c26c 18:54:07 ---> 6bd003d996f9 18:54:07 Step 6/8 : WORKDIR /device-sdk-go 18:54:07 ---> Running in c9b03bd47e7b 18:54:07 Removing intermediate container c9b03bd47e7b 18:54:07 ---> 474e0b852349 18:54:07 Step 7/8 : COPY . . 18:54:08 Removing intermediate container 56c9f35d2161 18:54:08 ---> dd368a905ff8 18:54:08 Step 10/24 : FROM scratch 18:54:08 ---> 18:54:08 Step 11/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 18:54:08 ---> Running in f2e92db88926 18:54:09 Removing intermediate container f2e92db88926 18:54:09 ---> 6b7f8bd42fd2 18:54:09 Step 12/24 : ENV APP_PORT=49990 18:54:09 ---> Running in 78461970ebda 18:54:09 ---> 652849214b00 18:54:09 Step 8/8 : RUN go mod download 18:54:09 ---> Running in 1547e59e108b 18:54:09 Removing intermediate container 78461970ebda 18:54:09 ---> 69dba7b64ad4 18:54:09 Step 13/24 : EXPOSE $APP_PORT 18:54:09 ---> Running in 1f49f5d36fdc 18:54:10 Removing intermediate container 1f49f5d36fdc 18:54:10 ---> 87b998466054 18:54:10 Step 14/24 : WORKDIR / 18:54:10 ---> Running in ae82bc626e93 18:54:10 Removing intermediate container ae82bc626e93 18:54:10 ---> 65762160cd6a 18:54:10 Step 15/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /usr/local/bin/device-simple 18:54:11 ---> 9cc1b88caad4 18:54:11 Step 16/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/configuration.toml /res/configuration.toml 18:54:12 ---> 69c3ba80d043 18:54:12 Step 17/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/Simple-Driver.yaml /res/Simple-Driver.yaml 18:54:13 ---> b7c39dfab964 18:54:13 Step 18/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/on.png /res/on.png 18:54:14 ---> d24c46fa2688 18:54:14 Step 19/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/off.jpg /res/off.jpg 18:54:15 ---> e80708718e38 18:54:15 Step 20/24 : ENTRYPOINT ["/usr/local/bin/device-simple"] 18:54:15 ---> Running in 724c7d4daf76 18:54:15 Removing intermediate container 724c7d4daf76 18:54:15 ---> df00dc6006ac 18:54:15 Step 21/24 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] 18:54:15 ---> Running in 6ca5d611028e 18:54:16 Removing intermediate container 6ca5d611028e 18:54:16 ---> ae4517b4517d 18:54:16 Step 22/24 : LABEL arch=arm64 18:54:16 ---> Running in c628193c81de 18:54:16 Removing intermediate container c628193c81de 18:54:16 ---> 9a3114a410a1 18:54:16 Step 23/24 : LABEL git_sha=bb628e6b62a6c7267a6e37c8e32c90014d17b516 18:54:16 ---> Running in ebcaee11dd71 18:54:17 Removing intermediate container ebcaee11dd71 18:54:17 ---> 7cb641a82067 18:54:17 Step 24/24 : LABEL version=0.0.0 18:54:17 ---> Running in b38ee3d971da 18:54:18 Removing intermediate container b38ee3d971da 18:54:18 ---> d948ddd553b3 18:54:18 [Warning] One or more build-args [ARCH] were not consumed 18:54:18 Successfully built d948ddd553b3 18:54:18 Successfully tagged docker-device-sdk-simple-arm64:latest [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } 18:54:19 Removing intermediate container 1547e59e108b 18:54:19 ---> ae2f518cd4b3 18:54:19 Successfully built ae2f518cd4b3 18:54:19 Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh 18:54:19 + docker inspect -f . ci-base-image-x86_64 18:54:19 . [Pipeline] withDockerContainer 18:54:19 prd-centos7-docker-4c-2g-603 does not seem to be running inside a container 18:54:19 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/13 -v /w/workspace/device-sdk-go/13:/w/workspace/device-sdk-go/13:rw,z -v /w/workspace/device-sdk-go/13@tmp:/w/workspace/device-sdk-go/13@tmp:rw,z -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 ******** -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 ******** ci-base-image-x86_64 cat 18:54:21 $ docker top 5716a905076a7e376b2dcb6b5a24864327616e8104f7cdcb146c18ec71af236a -eo pid,comm [Pipeline] { [Pipeline] sh 18:54:21 + go version 18:54:21 go version go1.15.2 linux/amd64 [Pipeline] } 18:54:21 $ docker stop --time=1 5716a905076a7e376b2dcb6b5a24864327616e8104f7cdcb146c18ec71af236a 18:54:22 $ docker rm -f 5716a905076a7e376b2dcb6b5a24864327616e8104f7cdcb146c18ec71af236a [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 18:54:23 + docker inspect -f . ci-base-image-x86_64 18:54:23 . [Pipeline] withDockerContainer 18:54:23 prd-centos7-docker-4c-2g-603 does not seem to be running inside a container 18:54:23 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/13 -v /w/workspace/device-sdk-go/13:/w/workspace/device-sdk-go/13:rw,z -v /w/workspace/device-sdk-go/13@tmp:/w/workspace/device-sdk-go/13@tmp:rw,z -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 ******** -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 ******** ci-base-image-x86_64 cat 18:54:24 $ docker top 64b83aeb24b55b5181a141ac48a299cbf7dbb7e29f5ff65371f5c017852b2a5a -eo pid,comm [Pipeline] { [Pipeline] sh 18:54:24 + make test 18:54:24 GO111MODULE=on go test -race -coverprofile=coverage.out ./... 18:54:31 ? github.com/edgexfoundry/device-sdk-go [no test files] 18:54:43 ? github.com/edgexfoundry/device-sdk-go/example/cmd/device-simple [no test files] 18:54:43 ? github.com/edgexfoundry/device-sdk-go/example/driver [no test files] 18:54:43 ? github.com/edgexfoundry/device-sdk-go/internal/autodiscovery [no test files] 18:54:43 ok github.com/edgexfoundry/device-sdk-go/internal/autoevent 0.060s coverage: 20.8% of statements 18:54:44 ok github.com/edgexfoundry/device-sdk-go/internal/cache 0.404s coverage: 97.1% of statements 18:55:16 ok github.com/edgexfoundry/device-sdk-go/internal/clients 30.033s coverage: 9.4% of statements 18:55:16 ok github.com/edgexfoundry/device-sdk-go/internal/common 0.038s coverage: 21.9% of statements 18:55:16 ? github.com/edgexfoundry/device-sdk-go/internal/container [no test files] 18:55:16 ok github.com/edgexfoundry/device-sdk-go/internal/controller 0.186s coverage: 37.0% of statements 18:55:16 ? github.com/edgexfoundry/device-sdk-go/internal/controller/correlation [no test files] 18:55:16 ok github.com/edgexfoundry/device-sdk-go/internal/handler 0.247s coverage: 65.4% of statements 18:55:16 ? github.com/edgexfoundry/device-sdk-go/internal/handler/callback [no test files] 18:55:16 ? github.com/edgexfoundry/device-sdk-go/internal/mock [no test files] 18:55:16 ? github.com/edgexfoundry/device-sdk-go/internal/provision [no test files] 18:55:16 ok github.com/edgexfoundry/device-sdk-go/internal/transformer 0.044s coverage: 52.6% of statements 18:55:16 ok github.com/edgexfoundry/device-sdk-go/pkg/models 2.723s coverage: 68.9% of statements 18:55:16 ? github.com/edgexfoundry/device-sdk-go/pkg/service [no test files] 18:55:16 ? github.com/edgexfoundry/device-sdk-go/pkg/startup [no test files] 18:55:16 GO111MODULE=on go vet ./... 18:55:21 gofmt -l . 18:55:21 [ "`gofmt -l .`" = "" ] 18:55:21 ./bin/test-attribution-txt.sh 18:55:22 ./bin/test-go-mod-tidy.sh [Pipeline] stash 18:55:22 Warning: overwriting stash ‘coverage-report’ 18:55:22 Stashed 1 file(s) [Pipeline] } 18:55:22 $ docker stop --time=1 64b83aeb24b55b5181a141ac48a299cbf7dbb7e29f5ff65371f5c017852b2a5a 18:55:24 $ docker rm -f 64b83aeb24b55b5181a141ac48a299cbf7dbb7e29f5ff65371f5c017852b2a5a [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 18:55:25 + sudo chown -R jenkins:jenkins . [Pipeline] sh 18:55:25 + ls -al . 18:55:25 total 188 18:55:25 drwxrwxr-x. 11 jenkins jenkins 4096 Sep 20 18:55 . 18:55:25 drwxrwxr-x. 4 jenkins jenkins 30 Sep 20 18:53 .. 18:55:25 drwxrwxr-x. 2 jenkins jenkins 64 Sep 20 18:53 bin 18:55:25 -rw-r--r--. 1 jenkins jenkins 111033 Sep 20 18:55 coverage.out 18:55:25 -rw-rw-r--. 1 jenkins jenkins 936 Sep 20 18:53 Dockerfile.build 18:55:25 -rw-rw-r--. 1 jenkins jenkins 140 Sep 20 18:53 .dockerignore 18:55:25 drwxrwxr-x. 4 jenkins jenkins 48 Sep 20 18:53 example 18:55:25 drwxrwxr-x. 8 jenkins jenkins 179 Sep 20 18:53 .git 18:55:25 drwxrwxr-x. 2 jenkins jenkins 60 Sep 20 18:53 .github 18:55:25 -rw-rw-r--. 1 jenkins jenkins 138 Sep 20 18:53 .gitignore 18:55:25 -rw-r--r--. 1 jenkins jenkins 446 Sep 20 18:55 go.mod 18:55:25 -rw-r--r--. 1 jenkins jenkins 12179 Sep 20 18:55 go.sum 18:55:25 drwxrwxr-x. 13 jenkins jenkins 184 Sep 20 18:53 internal 18:55:25 -rw-rw-r--. 1 jenkins jenkins 785 Sep 20 18:53 Jenkinsfile 18:55:25 -rw-rw-r--. 1 jenkins jenkins 11341 Sep 20 18:53 LICENSE 18:55:25 -rw-rw-r--. 1 jenkins jenkins 1013 Sep 20 18:53 Makefile 18:55:25 drwxrwxr-x. 4 jenkins jenkins 26 Sep 20 18:53 openapi 18:55:25 drwxrwxr-x. 5 jenkins jenkins 50 Sep 20 18:53 pkg 18:55:25 -rw-rw-r--. 1 jenkins jenkins 5897 Sep 20 18:53 README.md 18:55:25 -rw-rw-r--. 1 jenkins jenkins 4291 Sep 20 18:53 RELEASE-NOTES.txt 18:55:25 drwxrwxr-x. 3 jenkins jenkins 58 Sep 20 18:53 .semver 18:55:25 drwxrwxr-x. 4 jenkins jenkins 54 Sep 20 18:53 snap 18:55:25 -rw-rw-r--. 1 jenkins jenkins 5 Sep 20 18:47 VERSION 18:55:25 -rw-rw-r--. 1 jenkins jenkins 222 Sep 20 18:53 version.go [Pipeline] isUnix [Pipeline] sh 18:55:26 + docker build -t docker-device-sdk-simple -f example/cmd/device-simple/Dockerfile --build-arg BASE=ci-base-image-x86_64 --build-arg 'MAKE=make build' --build-arg ARCH=amd64 --label git_sha=bb628e6b62a6c7267a6e37c8e32c90014d17b516 --label arch=amd64 --label version=0.0.0 . 18:55:26 Sending build context to Docker daemon 3.282MB 18:55:26 Step 1/24 : ARG BASE=golang:1.15-alpine 18:55:26 Step 2/24 : FROM ${BASE} AS builder 18:55:26 ---> ae2f518cd4b3 18:55:26 Step 3/24 : ARG MAKE='make build' 18:55:26 ---> Running in 389a1552ff32 18:55:26 Removing intermediate container 389a1552ff32 18:55:26 ---> 55c9543c31cf 18:55:26 Step 4/24 : WORKDIR /device-sdk-go 18:55:26 ---> Running in e858d7dd558e 18:55:27 Removing intermediate container e858d7dd558e 18:55:27 ---> 3eedf00a6d7e 18:55:27 Step 5/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 18:55:27 ---> Running in bfc046dc3fe7 18:55:27 Removing intermediate container bfc046dc3fe7 18:55:27 ---> 17338702166a 18:55:27 Step 6/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 18:55:27 ---> Running in 80f9d64e8d6b 18:55:28 Removing intermediate container 80f9d64e8d6b 18:55:28 ---> b54893fab51f 18:55:28 Step 7/24 : RUN apk add --update --no-cache make git 18:55:28 ---> Running in 3991dca76a69 18:55:28 fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz 18:55:29 fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz 18:55:29 OK: 166 MiB in 39 packages 18:55:30 Removing intermediate container 3991dca76a69 18:55:30 ---> eaa9eefc051e 18:55:30 Step 8/24 : COPY . . 18:55:31 ---> 18eb505f645b 18:55:31 Step 9/24 : RUN ${MAKE} 18:55:31 ---> Running in 19d7df22ddc1 18:55:31 CGO_ENABLED=0 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-sdk-go.Version=0.0.0" -o example/cmd/device-simple/device-simple ./example/cmd/device-simple 18:55:38 CGO_ENABLED=0 GO111MODULE=on go install -tags=safe 18:55:40 Removing intermediate container 19d7df22ddc1 18:55:40 ---> 34ace3d57325 18:55:40 Step 10/24 : FROM scratch 18:55:40 ---> 18:55:40 Step 11/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 18:55:40 ---> Running in 1a274dc0f34a 18:55:40 Removing intermediate container 1a274dc0f34a 18:55:40 ---> cf00a52b517a 18:55:40 Step 12/24 : ENV APP_PORT=49990 18:55:40 ---> Running in 413a16cebdf5 18:55:40 Removing intermediate container 413a16cebdf5 18:55:40 ---> 1f519225fc80 18:55:40 Step 13/24 : EXPOSE $APP_PORT 18:55:40 ---> Running in 27f1b615a147 18:55:40 Removing intermediate container 27f1b615a147 18:55:40 ---> 8117fa0206da 18:55:40 Step 14/24 : WORKDIR / 18:55:40 ---> Running in dc2871d0065e 18:55:40 Removing intermediate container dc2871d0065e 18:55:40 ---> bb5929572ad6 18:55:40 Step 15/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /usr/local/bin/device-simple 18:55:41 ---> c558e2e7fedb 18:55:41 Step 16/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/configuration.toml /res/configuration.toml 18:55:41 ---> 2ff8603aac04 18:55:41 Step 17/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/Simple-Driver.yaml /res/Simple-Driver.yaml 18:55:41 ---> 15b5f2c5a900 18:55:41 Step 18/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/on.png /res/on.png 18:55:41 ---> fe1fc7b8187e 18:55:41 Step 19/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/off.jpg /res/off.jpg 18:55:42 ---> 22e00614d4f1 18:55:42 Step 20/24 : ENTRYPOINT ["/usr/local/bin/device-simple"] 18:55:42 ---> Running in cb4f1ad81401 18:55:42 Removing intermediate container cb4f1ad81401 18:55:42 ---> 09c13c5c35da 18:55:42 Step 21/24 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] 18:55:42 ---> Running in f9c508739f44 18:55:42 Removing intermediate container f9c508739f44 18:55:42 ---> 00283ff77c7b 18:55:42 Step 22/24 : LABEL arch=amd64 18:55:42 ---> Running in d64582398dd2 18:55:42 Removing intermediate container d64582398dd2 18:55:42 ---> 7f6aa719a766 18:55:42 Step 23/24 : LABEL git_sha=bb628e6b62a6c7267a6e37c8e32c90014d17b516 18:55:42 ---> Running in 411a2eea1023 18:55:42 Removing intermediate container 411a2eea1023 18:55:42 ---> 4fcb87e9ebde 18:55:42 Step 24/24 : LABEL version=0.0.0 18:55:42 ---> Running in 8a4bceec28cb 18:55:43 Removing intermediate container 8a4bceec28cb 18:55:43 ---> f35c83c32fd5 18:55:43 [Warning] One or more build-args [ARCH] were not consumed 18:55:43 Successfully built f35c83c32fd5 18:55:43 Successfully tagged docker-device-sdk-simple:latest [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) [Pipeline] unstash [Pipeline] wrap 18:55:46 provisioning config files... 18:55:46 copy managed file [device-sdk-go-codecov-token] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-571@tmp/config2183879553944140334tmp [Pipeline] { [Pipeline] sh 18:55:46 + curl -s https://codecov.io/bash 18:55:46 + bash -s - -t @/w/workspace/dgexfoundry_device-sdk-go_PR-571@tmp/config2183879553944140334tmp [Pipeline] } 18:55:47 Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Scan) Stage "Snyk Scan" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Clair Scan) Stage "Clair Scan" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) Stage "Semver" skipped due to when conditional [Pipeline] stage [Pipeline] { (Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] libraryResource [Pipeline] sh 18:55:49 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 18:55:50 ---> package-listing.sh 18:55:50 ++ facter osfamily 18:55:50 ++ tr '[:upper:]' '[:lower:]' 18:55:50 + OS_FAMILY=redhat 18:55:50 + workspace=/w/workspace/dgexfoundry_device-sdk-go_PR-571 18:55:50 + START_PACKAGES=/tmp/packages_start.txt 18:55:50 + END_PACKAGES=/tmp/packages_end.txt 18:55:50 + DIFF_PACKAGES=/tmp/packages_diff.txt 18:55:50 + PACKAGES=/tmp/packages_start.txt 18:55:50 + '[' /w/workspace/dgexfoundry_device-sdk-go_PR-571 ']' 18:55:50 + PACKAGES=/tmp/packages_end.txt 18:55:50 + case "${OS_FAMILY}" in 18:55:50 + sort 18:55:50 + rpm -qa 18:55:56 + '[' -f /tmp/packages_start.txt ']' 18:55:56 + '[' -f /tmp/packages_end.txt ']' 18:55:56 + diff /tmp/packages_start.txt /tmp/packages_end.txt 18:55:56 + '[' /w/workspace/dgexfoundry_device-sdk-go_PR-571 ']' 18:55:56 + mkdir -p /w/workspace/dgexfoundry_device-sdk-go_PR-571/archives/ 18:55:56 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/dgexfoundry_device-sdk-go_PR-571/archives/ [Pipeline] isUnix [Pipeline] sh 18:55:57 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 18:55:57 18:55:57 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh 18:55:57 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 18:55:57 alpine: Pulling from edgex-lftools-log-publisher 18:55:57 df20fa9351a1: Pulling fs layer 18:55:57 36b3adc4ff6f: Pulling fs layer 18:55:57 8ad3a11d3b57: Pulling fs layer 18:55:57 46f8f816bc3b: Pulling fs layer 18:55:57 0dadc02b9964: Pulling fs layer 18:55:57 ce6a7cf60c04: Pulling fs layer 18:55:57 7a184a31f384: Pulling fs layer 18:55:57 0879bd2ef858: Pulling fs layer 18:55:57 46f8f816bc3b: Waiting 18:55:57 0dadc02b9964: Waiting 18:55:57 ce6a7cf60c04: Waiting 18:55:57 7a184a31f384: Waiting 18:55:57 0879bd2ef858: Waiting 18:55:57 36b3adc4ff6f: Verifying Checksum 18:55:57 36b3adc4ff6f: Download complete 18:55:57 df20fa9351a1: Verifying Checksum 18:55:57 df20fa9351a1: Download complete 18:55:57 46f8f816bc3b: Verifying Checksum 18:55:57 46f8f816bc3b: Download complete 18:55:57 ce6a7cf60c04: Verifying Checksum 18:55:57 ce6a7cf60c04: Download complete 18:55:57 7a184a31f384: Verifying Checksum 18:55:57 7a184a31f384: Download complete 18:55:58 0dadc02b9964: Verifying Checksum 18:55:58 0dadc02b9964: Download complete 18:55:58 8ad3a11d3b57: Verifying Checksum 18:55:58 8ad3a11d3b57: Download complete 18:55:58 df20fa9351a1: Pull complete 18:55:59 36b3adc4ff6f: Pull complete 18:56:00 0879bd2ef858: Verifying Checksum 18:56:00 0879bd2ef858: Download complete 18:56:00 8ad3a11d3b57: Pull complete 18:56:00 46f8f816bc3b: Pull complete 18:56:01 0dadc02b9964: Pull complete 18:56:01 ce6a7cf60c04: Pull complete 18:56:01 7a184a31f384: Pull complete 18:56:06 0879bd2ef858: Pull complete 18:56:06 Digest: sha256:6a0b98a82ad2e848da155b214a5d490c0357af837e10dd363e416ea0d50debb0 18:56:06 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 18:56:06 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer 18:56:06 prd-centos7-docker-4c-2g-589 does not seem to be running inside a container 18:56:06 $ docker run -t -d -u 1001:1001 --privileged -u 0:0 -v /var/log/sa:/var/log/sa-host -w /w/workspace/dgexfoundry_device-sdk-go_PR-571 -v /w/workspace/dgexfoundry_device-sdk-go_PR-571:/w/workspace/dgexfoundry_device-sdk-go_PR-571:rw,z -v /w/workspace/dgexfoundry_device-sdk-go_PR-571@tmp:/w/workspace/dgexfoundry_device-sdk-go_PR-571@tmp:rw,z -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 ******** -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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine cat 18:56:13 $ docker top 42ffb16796b4eadb898ceeeb698c063ae8eb9097b31f822316d67f9b8c1fc25b -eo pid,comm [Pipeline] { [Pipeline] sh 18:56:13 + mkdir -p /var/log/sa [Pipeline] sh 18:56:14 + ls /var/log/sa-host 18:56:14 + sadf -c /var/log/sa-host/sa05 18:56:14 file_magic: OK 18:56:14 HZ: Using current value: 100 18:56:14 file_header: OK 18:56:14 file_activity: A_CPU A_PCSW A_SWAP A_PAGE A_IO A_MEMORY A_HUGE A_KTABLES A_QUEUE A_SERIAL A_DISK A_NET_DEV A_NET_EDEV A_NET_NFS A_NET_NFSD A_NET_SOCK OK 18:56:14 Statistics: 18:56:14 Hnuu...uuuununununu...Hnuu...uuuununununu... 18:56:14 File successfully converted to sysstat format version 12.2.1 18:56:14 + sadf -c /var/log/sa-host/sa20 18:56:14 file_magic: OK 18:56:14 HZ: Using current value: 100 18:56:14 file_header: OK 18:56:14 file_activity: A_CPU A_PCSW A_SWAP A_PAGE A_IO A_MEMORY A_HUGE A_KTABLES A_QUEUE A_SERIAL A_DISK A_NET_DEV A_NET_EDEV A_NET_NFS A_NET_NFSD A_NET_SOCK OK 18:56:14 Statistics: 18:56:14 HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... 18:56:14 File successfully converted to sysstat format version 12.2.1 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 18:56:14 provisioning config files... 18:56:14 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-571@tmp/config7943573322647246567tmp [Pipeline] { [Pipeline] echo 18:56:14 Running global-jjb/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 18:56:14 ---> create-netrc.sh [Pipeline] echo 18:56:14 Running global-jjb/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 18:56:15 ---> logs-deploy.sh 18:56:15 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-571/13 18:56:15 INFO: archiving workspace using pattern(s): 18:56:17 Archives upload complete. 18:56:17 INFO: archiving logs to Nexus