Pull request #584 event Connecting to https://api.github.com using edgex-jenkins/****** (edgex-jenkins github personal access token) Obtained Jenkinsfile from cf665ca7c464fb037769b6d006e61db58705184d+2d9730a214a0d2600c47b6e1f4d312ee14057382 (e660f09b1e52a81bb3167d73169aff0d1e05c15b) 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 a2cbe11917bfb8801b6bc99aaa80229564ed4294 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 a2cbe11917bfb8801b6bc99aaa80229564ed4294 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 a2cbe11917bfb8801b6bc99aaa80229564ed4294 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f a2cbe11917bfb8801b6bc99aaa80229564ed4294 # timeout=10 Commit message: "Merge pull request #273 from ernestojeda/fix-semver-dir-permissions" > 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. Loading library lf-pipelines@master Attempting to resolve master 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 -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision b86a95d4aff1c43a521ca3be618780efd0ee2800 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:lfit/releng-pipelines.git # timeout=10 Fetching without tags Fetching upstream changes from git@github.com:lfit/releng-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 --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision b86a95d4aff1c43a521ca3be618780efd0ee2800 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f b86a95d4aff1c43a521ca3be618780efd0ee2800 # timeout=10 Commit message: "Update global-jjb to latest" > 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:lfit/releng-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, publishSwaggerDocs:true, swaggerApiFolders:[openapi/v1, openapi/v2]] ========================================================= [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: true SWAGGER_API_FOLDERS: openapi/v1 openapi/v2 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true [Pipeline] node Still waiting to schedule task Waiting for next available executor on ‘centos7-docker-4c-2g’ Running on prd-centos7-docker-4c-2g-6222 in /w/workspace/dgexfoundry_device-sdk-go_PR-584 [Pipeline] { [Pipeline] stage [Pipeline] { (Declarative: Checkout SCM) [Pipeline] checkout using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning repository git@github.com:edgexfoundry/device-sdk-go.git > git init /w/workspace/dgexfoundry_device-sdk-go_PR-584 # 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 --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > 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 --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/584/head:refs/remotes/origin/PR-584 +refs/heads/master:refs/remotes/origin/master # timeout=10 Merging remotes/origin/master commit 2d9730a214a0d2600c47b6e1f4d312ee14057382 into PR head commit cf665ca7c464fb037769b6d006e61db58705184d Merge succeeded, producing cf665ca7c464fb037769b6d006e61db58705184d Checking out Revision cf665ca7c464fb037769b6d006e61db58705184d (PR-584) > git config core.sparsecheckout # timeout=10 > git checkout -f cf665ca7c464fb037769b6d006e61db58705184d # 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 2d9730a214a0d2600c47b6e1f4d312ee14057382 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f cf665ca7c464fb037769b6d006e61db58705184d # timeout=10 Commit message: "build(deps): bump github.com/gorilla/mux from 1.7.1 to 1.8.0" First time build. Skipping changelog. [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 07:28:53 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) > git rev-list --no-walk c21a409bbfced46ca16a85b0143ca024b218a3a5 # timeout=10 [Pipeline] script [Pipeline] { [Pipeline] withCredentials 07:28:53 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 07:28:54 ========================================================= 07:28:54 EdgeX Global Pipelines Version Info 07:28:54 ========================================================= [Pipeline] libraryResource [Pipeline] sh 07:28:55 ------------------- 07:28:55 stable info: 07:28:55 ------------------- 07:28:55 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 07:28:55 Commit SHA: a2cbe11917bfb8801b6bc99aaa80229564ed4294 07:28:55 Message: update stable to v1.0.144 07:28:56 ------------------- 07:28:56 experimental info: 07:28:56 ------------------- 07:28:56 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 07:28:56 Commit SHA: a2cbe11917bfb8801b6bc99aaa80229564ed4294 07:28:56 Message: update experimental to v1.0.144 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] } [Pipeline] // script [Pipeline] echo 07:28:56 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-go-settings [Pipeline] echo 07:28:56 [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-go [Pipeline] echo 07:28:57 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 07:28:57 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 07:28:57 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 07:28:57 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.15 [Pipeline] echo 07:28:57 [edgeXSetupEnvironment]: set envvar GOPROXY = https://nexus3.edgexfoundry.org/repository/go-proxy/ [Pipeline] echo 07:28:57 [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine [Pipeline] echo 07:28:57 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = example/cmd/device-simple/Dockerfile [Pipeline] echo 07:28:57 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 07:28:57 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 07:28:57 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = docker-device-sdk-simple [Pipeline] echo 07:28:58 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 07:28:58 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 07:28:58 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 07:28:58 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo 07:28:58 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 07:28:58 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 07:28:58 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 07:28:58 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 07:28:58 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo 07:28:58 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 openapi/v2 [Pipeline] echo 07:28:59 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 07:28:59 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 07:28:59 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 07:28:59 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-584 [Pipeline] echo 07:28:59 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-584 [Pipeline] echo 07:28:59 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-584 [Pipeline] echo 07:28:59 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = cf665ca7c464fb037769b6d006e61db58705184d [Pipeline] echo 07:28:59 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = cf665ca [Pipeline] echo 07:28:59 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 07:29:00 + git log --format=format:%s -1 cf665ca7c464fb037769b6d006e61db58705184d [Pipeline] echo 07:29:00 GIT_COMMIT: cf665ca7c464fb037769b6d006e61db58705184d, Commit Message: build(deps): bump github.com/gorilla/mux from 1.7.1 to 1.8.0 [Pipeline] echo 07:29:00 This is not a build commit. [Pipeline] isUnix [Pipeline] sh 07:29:01 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 07:29:01 07:29:01 Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh 07:29:01 + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 07:29:01 latest: Pulling from edgex-devops/git-semver 07:29:01 31603596830f: Pulling fs layer 07:29:01 2a8b12db71e7: Pulling fs layer 07:29:01 6ca5941a6612: Pulling fs layer 07:29:01 ecc8261a40a4: Pulling fs layer 07:29:01 ecc8261a40a4: Waiting 07:29:01 2a8b12db71e7: Verifying Checksum 07:29:01 2a8b12db71e7: Download complete 07:29:01 31603596830f: Verifying Checksum 07:29:01 31603596830f: Download complete 07:29:01 6ca5941a6612: Verifying Checksum 07:29:01 6ca5941a6612: Download complete 07:29:01 ecc8261a40a4: Verifying Checksum 07:29:01 ecc8261a40a4: Download complete 07:29:02 31603596830f: Pull complete 07:29:02 2a8b12db71e7: Pull complete 07:29:02 6ca5941a6612: Pull complete 07:29:03 ecc8261a40a4: Pull complete 07:29:03 Digest: sha256:c336c3cb7d26c4f33e4bbf869d415e221d43967d83d6a5809e4cb0cc2a1e8fe7 07:29:03 Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 07:29:03 nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer 07:29:03 prd-centos7-docker-4c-2g-6222 does not seem to be running inside a container 07:29:03 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/dgexfoundry_device-sdk-go_PR-584 -v /w/workspace/dgexfoundry_device-sdk-go_PR-584:/w/workspace/dgexfoundry_device-sdk-go_PR-584:rw,z -v /w/workspace/dgexfoundry_device-sdk-go_PR-584@tmp:/w/workspace/dgexfoundry_device-sdk-go_PR-584@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 ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat 07:29:05 $ docker top 66bdaba81e1fe013726a7d8e31d36cf8c084982008e89993b279e44cce5cff30 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 07:29:05 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 07:29:05 [ssh-agent] Looking for ssh-agent implementation... 07:29:06 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 07:29:06 $ docker exec 66bdaba81e1fe013726a7d8e31d36cf8c084982008e89993b279e44cce5cff30 ssh-agent 07:29:06 SSH_AUTH_SOCK=/tmp/ssh-2FIK13OPoZy1/agent.12 07:29:06 SSH_AGENT_PID=17 07:29:06 Running ssh-add (command line suppressed) 07:29:06 Identity added: /w/workspace/dgexfoundry_device-sdk-go_PR-584@tmp/private_key_3678278384689793444.key (/w/workspace/dgexfoundry_device-sdk-go_PR-584@tmp/private_key_3678278384689793444.key) 07:29:06 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 07:29:06 + git tag --points-at HEAD [Pipeline] } 07:29:06 $ docker exec --env ******** --env ******** 66bdaba81e1fe013726a7d8e31d36cf8c084982008e89993b279e44cce5cff30 ssh-agent -k 07:29:06 unset SSH_AUTH_SOCK; 07:29:06 unset SSH_AGENT_PID; 07:29:06 echo Agent pid 17 killed; 07:29:06 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 07:29:07 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 07:29:07 [ssh-agent] Looking for ssh-agent implementation... 07:29:07 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 07:29:07 $ docker exec 66bdaba81e1fe013726a7d8e31d36cf8c084982008e89993b279e44cce5cff30 ssh-agent 07:29:07 SSH_AUTH_SOCK=/tmp/ssh-4iFezmSuOmk3/agent.46 07:29:07 SSH_AGENT_PID=51 07:29:07 Running ssh-add (command line suppressed) 07:29:07 Identity added: /w/workspace/dgexfoundry_device-sdk-go_PR-584@tmp/private_key_7740407654335360463.key (/w/workspace/dgexfoundry_device-sdk-go_PR-584@tmp/private_key_7740407654335360463.key) 07:29:07 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 07:29:07 + git semver init 07:29:07 # -> Open(): unable to determine branch for HEAD 07:29:07 # $GIT_DIR = /w/workspace/dgexfoundry_device-sdk-go_PR-584/.git 07:29:07 # $GIT_WORK_TREE = /w/workspace/dgexfoundry_device-sdk-go_PR-584 07:29:07 # $SEMVER_REMOTE_NAME = origin 07:29:07 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 07:29:07 # $SEMVER_USER_NAME = edgex-jenkins 07:29:07 # $SEMVER_BRANCH = PR-584 07:29:07 # $SEMVER_TEMP = /tmp/semver-365261037 07:29:07 # git clone --branch semver git@github.com:edgexfoundry/device-sdk-go.git $SEMVER_TEMP 07:29:08 # '/tmp/semver-365261037' -> '/w/workspace/dgexfoundry_device-sdk-go_PR-584/.semver' 07:29:08 # -> Force: false 07:29:08 # $SEMVER_DIR = /w/workspace/dgexfoundry_device-sdk-go_PR-584/.semver [Pipeline] } 07:29:08 $ docker exec --env ******** --env ******** 66bdaba81e1fe013726a7d8e31d36cf8c084982008e89993b279e44cce5cff30 ssh-agent -k 07:29:08 unset SSH_AUTH_SOCK; 07:29:08 unset SSH_AGENT_PID; 07:29:08 echo Agent pid 51 killed; 07:29:08 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 07:29:09 + git semver [Pipeline] } 07:29:09 $ docker stop --time=1 66bdaba81e1fe013726a7d8e31d36cf8c084982008e89993b279e44cce5cff30 07:29:10 $ docker rm -f 66bdaba81e1fe013726a7d8e31d36cf8c084982008e89993b279e44cce5cff30 [Pipeline] // withDockerContainer [Pipeline] sh 07:29:10 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 07:29:11 Stashed 1 file(s) [Pipeline] echo 07:29:11 [edgeXSemver]: initialized semver on 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 07:29:26 Still waiting to schedule task 07:29:26 Waiting for next available executor on ‘centos7-docker-4c-2g’ 07:29:26 Still waiting to schedule task 07:29:26 All nodes of label ‘ubuntu18.04-docker-arm64-4c-16g’ are offline 07:32:00 Running on prd-centos7-docker-4c-2g-6226 in /w/workspace/dgexfoundry_device-sdk-go_PR-584 [Pipeline] { [Pipeline] ws 07:32:00 Running in /w/workspace/device-sdk-go/27 [Pipeline] { [Pipeline] checkout 07:32:07 using credential edgex-jenkins-ssh 07:32:07 Cloning the remote Git repository 07:32:07 Cloning repository git@github.com:edgexfoundry/device-sdk-go.git 07:32:07 > git init /w/workspace/device-sdk-go/27 # timeout=10 07:32:07 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 07:32:07 > git --version # timeout=10 07:32:08 > git --version # 'git version 2.16.5' 07:32:08 using GIT_SSH to set credentials SSH Credentials for GitHub 07:32:08 > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 07:32:10 Merging remotes/origin/master commit 2d9730a214a0d2600c47b6e1f4d312ee14057382 into PR head commit cf665ca7c464fb037769b6d006e61db58705184d 07:32:09 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 07:32:09 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 07:32:09 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 07:32:09 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 07:32:09 using GIT_SSH to set credentials SSH Credentials for GitHub 07:32:09 > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/584/head:refs/remotes/origin/PR-584 +refs/heads/master:refs/remotes/origin/master # timeout=10 07:32:10 > git config core.sparsecheckout # timeout=10 07:32:10 > git checkout -f cf665ca7c464fb037769b6d006e61db58705184d # timeout=10 07:32:10 > git remote # timeout=10 07:32:10 > git config --get remote.origin.url # timeout=10 07:32:10 Merge succeeded, producing cf665ca7c464fb037769b6d006e61db58705184d 07:32:10 Checking out Revision cf665ca7c464fb037769b6d006e61db58705184d (PR-584) 07:32:10 using GIT_SSH to set credentials SSH Credentials for GitHub 07:32:10 > git merge 2d9730a214a0d2600c47b6e1f4d312ee14057382 # timeout=10 07:32:10 > git rev-parse HEAD^{commit} # timeout=10 07:32:10 > git config core.sparsecheckout # timeout=10 07:32:10 > git checkout -f cf665ca7c464fb037769b6d006e61db58705184d # timeout=10 07:32:15 Commit message: "build(deps): bump github.com/gorilla/mux from 1.7.1 to 1.8.0" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] echo 07:32:16 ========================================================= 07:32:16 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine] 07:32:16 ========================================================= [Pipeline] isUnix [Pipeline] sh 07:32:17 + 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 . 07:32:18 Sending build context to Docker daemon 2.318MB 07:32:18 Step 1/8 : ARG BASE=golang:1.15-alpine 07:32:18 Step 2/8 : FROM ${BASE} 07:32:18 1.15-alpine: Pulling from edgex-devops/edgex-golang-base 07:32:18 df20fa9351a1: Pulling fs layer 07:32:18 ed8968b2872e: Pulling fs layer 07:32:18 a92cc7c5fd73: Pulling fs layer 07:32:18 e871e8e8d7a9: Pulling fs layer 07:32:18 e73272ec9a57: Pulling fs layer 07:32:18 1e910a182e73: Pulling fs layer 07:32:18 4e634b169226: Pulling fs layer 07:32:18 e73272ec9a57: Waiting 07:32:18 1e910a182e73: Waiting 07:32:18 4e634b169226: Waiting 07:32:18 e871e8e8d7a9: Waiting 07:32:18 a92cc7c5fd73: Verifying Checksum 07:32:18 a92cc7c5fd73: Download complete 07:32:18 ed8968b2872e: Download complete 07:32:18 e73272ec9a57: Verifying Checksum 07:32:18 e73272ec9a57: Download complete 07:32:19 1e910a182e73: Verifying Checksum 07:32:19 1e910a182e73: Download complete 07:32:19 df20fa9351a1: Download complete 07:32:19 df20fa9351a1: Pull complete 07:32:20 ed8968b2872e: Pull complete 07:32:20 Running on prd-ubuntu18.04-docker-arm64-4c-16g-6229 in /w/workspace/dgexfoundry_device-sdk-go_PR-584 [Pipeline] { [Pipeline] ws 07:32:20 Running in /w/workspace/device-sdk-go/27 [Pipeline] { [Pipeline] checkout 07:32:20 a92cc7c5fd73: Pull complete 07:32:22 4e634b169226: Verifying Checksum 07:32:22 4e634b169226: Download complete 07:32:23 e871e8e8d7a9: Verifying Checksum 07:32:23 e871e8e8d7a9: Download complete 07:32:26 using credential edgex-jenkins-ssh 07:32:26 Cloning the remote Git repository 07:32:26 Cloning repository git@github.com:edgexfoundry/device-sdk-go.git 07:32:26 > git init /w/workspace/device-sdk-go/27 # timeout=10 07:32:26 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 07:32:26 > git --version # timeout=10 07:32:26 > git --version # 'git version 2.17.1' 07:32:26 using GIT_SSH to set credentials SSH Credentials for GitHub 07:32:26 > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 07:32:27 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 07:32:27 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 07:32:27 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 07:32:27 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 07:32:27 using GIT_SSH to set credentials SSH Credentials for GitHub 07:32:27 > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/584/head:refs/remotes/origin/PR-584 +refs/heads/master:refs/remotes/origin/master # timeout=10 07:32:28 Merging remotes/origin/master commit 2d9730a214a0d2600c47b6e1f4d312ee14057382 into PR head commit cf665ca7c464fb037769b6d006e61db58705184d 07:32:28 Merge succeeded, producing cf665ca7c464fb037769b6d006e61db58705184d 07:32:28 Checking out Revision cf665ca7c464fb037769b6d006e61db58705184d (PR-584) 07:32:28 > git config core.sparsecheckout # timeout=10 07:32:28 > git checkout -f cf665ca7c464fb037769b6d006e61db58705184d # timeout=10 07:32:28 > git remote # timeout=10 07:32:28 > git config --get remote.origin.url # timeout=10 07:32:28 using GIT_SSH to set credentials SSH Credentials for GitHub 07:32:28 > git merge 2d9730a214a0d2600c47b6e1f4d312ee14057382 # timeout=10 07:32:28 > git rev-parse HEAD^{commit} # timeout=10 07:32:28 > git config core.sparsecheckout # timeout=10 07:32:28 > git checkout -f cf665ca7c464fb037769b6d006e61db58705184d # timeout=10 07:32:32 e871e8e8d7a9: Pull complete 07:32:32 e73272ec9a57: Pull complete 07:32:32 1e910a182e73: Pull complete 07:32:33 Commit message: "build(deps): bump github.com/gorilla/mux from 1.7.1 to 1.8.0" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] echo 07:32:33 ========================================================= 07:32:33 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine] 07:32:33 ========================================================= [Pipeline] isUnix [Pipeline] sh 07:32:34 + 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 . 07:32:35 Sending build context to Docker daemon 2.318MB 07:32:35 Step 1/8 : ARG BASE=golang:1.15-alpine 07:32:35 Step 2/8 : FROM ${BASE} 07:32:36 1.15-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 07:32:36 b538f80385f9: Pulling fs layer 07:32:36 74f711af9a0d: Pulling fs layer 07:32:36 99f96fe45779: Pulling fs layer 07:32:36 8529a6b9a6be: Pulling fs layer 07:32:36 45590311c82a: Pulling fs layer 07:32:36 69ca0ff8b7b3: Pulling fs layer 07:32:36 209524e5b208: Pulling fs layer 07:32:36 8529a6b9a6be: Waiting 07:32:36 45590311c82a: Waiting 07:32:36 69ca0ff8b7b3: Waiting 07:32:36 209524e5b208: Waiting 07:32:36 99f96fe45779: Download complete 07:32:36 74f711af9a0d: Verifying Checksum 07:32:36 74f711af9a0d: Download complete 07:32:36 45590311c82a: Verifying Checksum 07:32:36 45590311c82a: Download complete 07:32:36 69ca0ff8b7b3: Verifying Checksum 07:32:36 69ca0ff8b7b3: Download complete 07:32:36 b538f80385f9: Verifying Checksum 07:32:36 b538f80385f9: Download complete 07:32:37 b538f80385f9: Pull complete 07:32:37 4e634b169226: Pull complete 07:32:37 Digest: sha256:0b802f5dd80e2ad8551c53c724486b1db3b79f86ac5ae7c7a2db79f17045b642 07:32:37 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine 07:32:37 ---> f7629b54cfaa 07:32:37 Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 07:32:37 ---> Running in c8b824e033c1 07:32:37 Removing intermediate container c8b824e033c1 07:32:37 ---> e78fce767844 07:32:37 Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 07:32:37 ---> Running in 3c6b835a6cb9 07:32:38 74f711af9a0d: Pull complete 07:32:38 99f96fe45779: Pull complete 07:32:39 Removing intermediate container 3c6b835a6cb9 07:32:39 ---> 5244cd44ce39 07:32:39 Step 5/8 : RUN apk add --no-cache make git 07:32:39 ---> Running in 8ace096f5dd0 07:32:39 209524e5b208: Verifying Checksum 07:32:39 209524e5b208: Download complete 07:32:40 8529a6b9a6be: Verifying Checksum 07:32:40 8529a6b9a6be: Download complete 07:32:40 fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz 07:32:41 fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz 07:32:42 OK: 166 MiB in 39 packages 07:32:42 Removing intermediate container 8ace096f5dd0 07:32:42 ---> 30c4c1567638 07:32:42 Step 6/8 : WORKDIR /device-sdk-go 07:32:42 ---> Running in 2f684956d1f0 07:32:43 Removing intermediate container 2f684956d1f0 07:32:43 ---> 342a9e430e99 07:32:43 Step 7/8 : COPY . . 07:32:44 ---> ca80a9b7b026 07:32:44 Step 8/8 : RUN go mod download 07:32:44 ---> Running in 3ecded0c536c 07:32:50 8529a6b9a6be: Pull complete 07:32:50 45590311c82a: Pull complete 07:32:51 69ca0ff8b7b3: Pull complete 07:32:55 209524e5b208: Pull complete 07:32:55 Digest: sha256:ed1c815e5e6ec4cca07509da726365701584b6c3e8c7d74a761ef336e5f8fb68 07:32:55 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine 07:32:55 ---> 5bddaf1c2fca 07:32:55 Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 07:32:57 ---> Running in d59e4577ed23 07:32:57 Removing intermediate container d59e4577ed23 07:32:57 ---> f6c864e4af61 07:32:57 Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 07:32:58 ---> Running in 5495f5d5e4f4 07:33:00 Removing intermediate container 5495f5d5e4f4 07:33:00 ---> 8f0e847a8afb 07:33:00 Step 5/8 : RUN apk add --no-cache make git 07:33:00 ---> Running in 7dccbcb90263 07:33:02 fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz 07:33:03 fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz 07:33:04 OK: 142 MiB in 39 packages 07:33:05 Removing intermediate container 7dccbcb90263 07:33:05 ---> 59dcfb6acf3e 07:33:05 Step 6/8 : WORKDIR /device-sdk-go 07:33:05 ---> Running in 0abcdd2eb3a6 07:33:05 Removing intermediate container 0abcdd2eb3a6 07:33:05 ---> 1f802b477bb6 07:33:05 Step 7/8 : COPY . . 07:33:06 Removing intermediate container 3ecded0c536c 07:33:06 ---> afc5fc57395b 07:33:06 Successfully built afc5fc57395b 07:33:06 Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh 07:33:07 ---> fb57a1f111f4 07:33:07 Step 8/8 : RUN go mod download 07:33:07 ---> Running in 310fd65ca52e 07:33:07 + docker inspect -f . ci-base-image-x86_64 07:33:07 . [Pipeline] withDockerContainer 07:33:07 prd-centos7-docker-4c-2g-6226 does not seem to be running inside a container 07:33:08 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/27 -v /w/workspace/device-sdk-go/27:/w/workspace/device-sdk-go/27:rw,z -v /w/workspace/device-sdk-go/27@tmp:/w/workspace/device-sdk-go/27@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 ******** -e ******** ci-base-image-x86_64 cat 07:33:09 $ docker top 18d67251bf24b06e8a3d8588650e00536710a0c68c389229d47b748c3e513f9c -eo pid,comm [Pipeline] { [Pipeline] sh 07:33:10 + go version 07:33:10 go version go1.15.2 linux/amd64 [Pipeline] } 07:33:10 $ docker stop --time=1 18d67251bf24b06e8a3d8588650e00536710a0c68c389229d47b748c3e513f9c 07:33:12 $ docker rm -f 18d67251bf24b06e8a3d8588650e00536710a0c68c389229d47b748c3e513f9c [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 07:33:13 + docker inspect -f . ci-base-image-x86_64 07:33:14 . [Pipeline] withDockerContainer 07:33:14 prd-centos7-docker-4c-2g-6226 does not seem to be running inside a container 07:33:14 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/27 -v /w/workspace/device-sdk-go/27:/w/workspace/device-sdk-go/27:rw,z -v /w/workspace/device-sdk-go/27@tmp:/w/workspace/device-sdk-go/27@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 ******** -e ******** ci-base-image-x86_64 cat 07:33:15 $ docker top ef6036d467487c24b8ea2e88bcd25e3b8cb584e8c46fa384c65be0f637c0192e -eo pid,comm [Pipeline] { [Pipeline] sh 07:33:16 + make test 07:33:16 GO111MODULE=on go test -race -coverprofile=coverage.out ./... 07:33:30 Removing intermediate container 310fd65ca52e 07:33:30 ---> d58f36ea0a90 07:33:30 Successfully built d58f36ea0a90 07:33:30 Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh 07:33:30 + docker inspect -f . ci-base-image-arm64 07:33:30 . [Pipeline] withDockerContainer 07:33:30 prd-ubuntu18.04-docker-arm64-4c-16g-6229 does not seem to be running inside a container 07:33:30 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/27 -v /w/workspace/device-sdk-go/27:/w/workspace/device-sdk-go/27:rw,z -v /w/workspace/device-sdk-go/27@tmp:/w/workspace/device-sdk-go/27@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 ******** -e ******** ci-base-image-arm64 cat 07:33:32 ? github.com/edgexfoundry/device-sdk-go [no test files] 07:33:32 $ docker top faa2422cd4cd80796243eff63d2081ac24c9756752ca6526e4f36680eaa10ba2 -eo pid,comm [Pipeline] { [Pipeline] sh 07:33:34 + go version 07:33:34 go version go1.15.2 linux/arm64 [Pipeline] } 07:33:34 $ docker stop --time=1 faa2422cd4cd80796243eff63d2081ac24c9756752ca6526e4f36680eaa10ba2 07:33:36 $ docker rm -f faa2422cd4cd80796243eff63d2081ac24c9756752ca6526e4f36680eaa10ba2 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 07:33:37 + docker inspect -f . ci-base-image-arm64 07:33:37 . [Pipeline] withDockerContainer 07:33:37 prd-ubuntu18.04-docker-arm64-4c-16g-6229 does not seem to be running inside a container 07:33:37 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/27 -v /w/workspace/device-sdk-go/27:/w/workspace/device-sdk-go/27:rw,z -v /w/workspace/device-sdk-go/27@tmp:/w/workspace/device-sdk-go/27@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 ******** -e ******** ci-base-image-arm64 cat 07:33:39 $ docker top 77655cfdffde4ddf655d23170aff34238ca53e2d8f60282d4e695e4b5c5ac9a3 -eo pid,comm [Pipeline] { [Pipeline] sh 07:33:41 + make test 07:33:41 GO111MODULE=on go test -race -coverprofile=coverage.out ./... 07:34:00 ? github.com/edgexfoundry/device-sdk-go/example/cmd/device-simple [no test files] 07:34:00 ? github.com/edgexfoundry/device-sdk-go/example/driver [no test files] 07:34:00 ? github.com/edgexfoundry/device-sdk-go/internal/autodiscovery [no test files] 07:34:00 ok github.com/edgexfoundry/device-sdk-go/internal/autoevent 0.071s coverage: 21.6% of statements 07:34:04 ok github.com/edgexfoundry/device-sdk-go/internal/cache 1.028s coverage: 97.1% of statements 07:34:08 ? github.com/edgexfoundry/device-sdk-go [no test files] 07:34:31 ok github.com/edgexfoundry/device-sdk-go/internal/clients 30.178s coverage: 9.4% of statements 07:34:31 ok github.com/edgexfoundry/device-sdk-go/internal/common 0.079s coverage: 21.9% of statements 07:34:31 ? github.com/edgexfoundry/device-sdk-go/internal/container [no test files] 07:34:31 ok github.com/edgexfoundry/device-sdk-go/internal/controller 0.892s coverage: 42.6% of statements 07:34:31 ? github.com/edgexfoundry/device-sdk-go/internal/controller/correlation [no test files] 07:34:31 ok github.com/edgexfoundry/device-sdk-go/internal/handler 0.521s coverage: 68.9% of statements 07:34:31 ? github.com/edgexfoundry/device-sdk-go/internal/handler/callback [no test files] 07:34:31 ? github.com/edgexfoundry/device-sdk-go/internal/mock [no test files] 07:34:31 ? github.com/edgexfoundry/device-sdk-go/internal/provision [no test files] 07:34:31 ? github.com/edgexfoundry/device-sdk-go/internal/telemetry [no test files] 07:34:31 ok github.com/edgexfoundry/device-sdk-go/internal/transformer 0.136s coverage: 52.6% of statements 07:34:31 ? github.com/edgexfoundry/device-sdk-go/internal/v2/application [no test files] 07:34:31 ? github.com/edgexfoundry/device-sdk-go/internal/v2/cache [no test files] 07:34:31 ? github.com/edgexfoundry/device-sdk-go/internal/v2/controller/http [no test files] 07:34:31 ok github.com/edgexfoundry/device-sdk-go/pkg/models 3.288s coverage: 68.9% of statements 07:34:31 ? github.com/edgexfoundry/device-sdk-go/pkg/service [no test files] 07:34:31 ? github.com/edgexfoundry/device-sdk-go/pkg/startup [no test files] 07:34:31 GO111MODULE=on go vet ./... 07:34:47 ? github.com/edgexfoundry/device-sdk-go/example/cmd/device-simple [no test files] 07:34:47 ? github.com/edgexfoundry/device-sdk-go/example/driver [no test files] 07:34:47 ? github.com/edgexfoundry/device-sdk-go/internal/autodiscovery [no test files] 07:34:47 ok github.com/edgexfoundry/device-sdk-go/internal/autoevent 0.147s coverage: 21.6% of statements 07:34:51 ok github.com/edgexfoundry/device-sdk-go/internal/cache 1.233s coverage: 97.1% of statements 07:34:54 gofmt -l . 07:34:54 [ "`gofmt -l .`" = "" ] 07:34:54 ./bin/test-attribution-txt.sh 07:34:55 ./bin/test-go-mod-tidy.sh [Pipeline] stash 07:34:56 Stashed 1 file(s) [Pipeline] } 07:34:56 $ docker stop --time=1 ef6036d467487c24b8ea2e88bcd25e3b8cb584e8c46fa384c65be0f637c0192e 07:34:58 $ docker rm -f ef6036d467487c24b8ea2e88bcd25e3b8cb584e8c46fa384c65be0f637c0192e [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 07:35:00 + sudo chown -R jenkins:jenkins . [Pipeline] sh 07:35:00 + ls -al . 07:35:00 total 188 07:35:00 drwxrwxr-x. 10 jenkins jenkins 4096 Oct 19 07:34 . 07:35:00 drwxrwxr-x. 4 jenkins jenkins 30 Oct 19 07:32 .. 07:35:00 drwxrwxr-x. 2 jenkins jenkins 64 Oct 19 07:32 bin 07:35:00 -rw-r--r--. 1 jenkins jenkins 110398 Oct 19 07:34 coverage.out 07:35:00 -rw-rw-r--. 1 jenkins jenkins 936 Oct 19 07:32 Dockerfile.build 07:35:00 -rw-rw-r--. 1 jenkins jenkins 140 Oct 19 07:32 .dockerignore 07:35:00 drwxrwxr-x. 4 jenkins jenkins 48 Oct 19 07:32 example 07:35:00 drwxrwxr-x. 8 jenkins jenkins 179 Oct 19 07:32 .git 07:35:00 drwxrwxr-x. 2 jenkins jenkins 60 Oct 19 07:32 .github 07:35:00 -rw-rw-r--. 1 jenkins jenkins 138 Oct 19 07:32 .gitignore 07:35:00 -rw-r--r--. 1 jenkins jenkins 517 Oct 19 07:34 go.mod 07:35:00 -rw-r--r--. 1 jenkins jenkins 13743 Oct 19 07:34 go.sum 07:35:00 drwxrwxr-x. 15 jenkins jenkins 211 Oct 19 07:32 internal 07:35:00 -rw-rw-r--. 1 jenkins jenkins 901 Oct 19 07:32 Jenkinsfile 07:35:00 -rw-rw-r--. 1 jenkins jenkins 11341 Oct 19 07:32 LICENSE 07:35:00 -rw-rw-r--. 1 jenkins jenkins 1013 Oct 19 07:32 Makefile 07:35:00 drwxrwxr-x. 4 jenkins jenkins 26 Oct 19 07:32 openapi 07:35:00 drwxrwxr-x. 5 jenkins jenkins 50 Oct 19 07:32 pkg 07:35:00 -rw-rw-r--. 1 jenkins jenkins 5897 Oct 19 07:32 README.md 07:35:00 -rw-rw-r--. 1 jenkins jenkins 4291 Oct 19 07:32 RELEASE-NOTES.txt 07:35:00 drwxrwxr-x. 4 jenkins jenkins 54 Oct 19 07:32 snap 07:35:00 -rw-rw-r--. 1 jenkins jenkins 5 Oct 19 07:29 VERSION 07:35:00 -rw-rw-r--. 1 jenkins jenkins 222 Oct 19 07:32 version.go [Pipeline] isUnix [Pipeline] sh 07:35:01 + 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=cf665ca7c464fb037769b6d006e61db58705184d --label arch=amd64 --label version=0.0.0 . 07:35:01 Sending build context to Docker daemon 2.429MB 07:35:01 Step 1/24 : ARG BASE=golang:1.15-alpine 07:35:01 Step 2/24 : FROM ${BASE} AS builder 07:35:01 ---> afc5fc57395b 07:35:01 Step 3/24 : ARG MAKE='make build' 07:35:02 ---> Running in 4759567da3c3 07:35:02 Removing intermediate container 4759567da3c3 07:35:02 ---> cc28094ab97d 07:35:02 Step 4/24 : WORKDIR /device-sdk-go 07:35:02 ---> Running in 226f4a5f0067 07:35:02 Removing intermediate container 226f4a5f0067 07:35:02 ---> 746d3cf1b5a1 07:35:02 Step 5/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 07:35:02 ---> Running in c72ca0638717 07:35:03 Removing intermediate container c72ca0638717 07:35:03 ---> 4fa283b77db8 07:35:03 Step 6/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 07:35:03 ---> Running in a4e9429d1b06 07:35:04 Removing intermediate container a4e9429d1b06 07:35:04 ---> a0578d8d287d 07:35:04 Step 7/24 : RUN apk add --update --no-cache make git 07:35:04 ---> Running in c2ea36245ec5 07:35:05 fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz 07:35:06 fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz 07:35:06 OK: 166 MiB in 39 packages 07:35:07 Removing intermediate container c2ea36245ec5 07:35:07 ---> 1f5d2220387e 07:35:07 Step 8/24 : COPY . . 07:35:08 ---> 71a7a94c03be 07:35:08 Step 9/24 : RUN ${MAKE} 07:35:08 ---> Running in 5a7bfdf817ae 07:35:09 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 07:35:18 ok github.com/edgexfoundry/device-sdk-go/internal/clients 30.123s coverage: 9.4% of statements 07:35:18 ok github.com/edgexfoundry/device-sdk-go/internal/common 0.124s coverage: 21.9% of statements 07:35:18 ? github.com/edgexfoundry/device-sdk-go/internal/container [no test files] 07:35:18 ok github.com/edgexfoundry/device-sdk-go/internal/controller 0.561s coverage: 42.6% of statements 07:35:18 ? github.com/edgexfoundry/device-sdk-go/internal/controller/correlation [no test files] 07:35:18 ok github.com/edgexfoundry/device-sdk-go/internal/handler 0.887s coverage: 68.9% of statements 07:35:18 ? github.com/edgexfoundry/device-sdk-go/internal/handler/callback [no test files] 07:35:18 ? github.com/edgexfoundry/device-sdk-go/internal/mock [no test files] 07:35:18 ? github.com/edgexfoundry/device-sdk-go/internal/provision [no test files] 07:35:18 ? github.com/edgexfoundry/device-sdk-go/internal/telemetry [no test files] 07:35:18 ok github.com/edgexfoundry/device-sdk-go/internal/transformer 0.185s coverage: 52.6% of statements 07:35:18 ? github.com/edgexfoundry/device-sdk-go/internal/v2/application [no test files] 07:35:18 ? github.com/edgexfoundry/device-sdk-go/internal/v2/cache [no test files] 07:35:18 ? github.com/edgexfoundry/device-sdk-go/internal/v2/controller/http [no test files] 07:35:18 ok github.com/edgexfoundry/device-sdk-go/pkg/models 6.044s coverage: 68.9% of statements 07:35:18 ? github.com/edgexfoundry/device-sdk-go/pkg/service [no test files] 07:35:18 ? github.com/edgexfoundry/device-sdk-go/pkg/startup [no test files] 07:35:18 GO111MODULE=on go vet ./... 07:35:22 CGO_ENABLED=0 GO111MODULE=on go install -tags=safe 07:35:26 Removing intermediate container 5a7bfdf817ae 07:35:26 ---> 099646bc62aa 07:35:26 Step 10/24 : FROM scratch 07:35:26 ---> 07:35:26 Step 11/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 07:35:26 ---> Running in c4994e2ba2ac 07:35:26 Removing intermediate container c4994e2ba2ac 07:35:26 ---> 2ce513968701 07:35:26 Step 12/24 : ENV APP_PORT=49990 07:35:26 ---> Running in 61c68086d522 07:35:26 Removing intermediate container 61c68086d522 07:35:26 ---> f99e7f0d1fbf 07:35:26 Step 13/24 : EXPOSE $APP_PORT 07:35:26 ---> Running in 47fef57fecd3 07:35:27 Removing intermediate container 47fef57fecd3 07:35:27 ---> 8c34c820fd06 07:35:27 Step 14/24 : WORKDIR / 07:35:27 ---> Running in ea7505aa304c 07:35:27 Removing intermediate container ea7505aa304c 07:35:27 ---> 5a7b0d089f3b 07:35:27 Step 15/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /usr/local/bin/device-simple 07:35:28 ---> 0a94aecd2308 07:35:28 Step 16/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/configuration.toml /res/configuration.toml 07:35:28 ---> dce4dd22e466 07:35:28 Step 17/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/Simple-Driver.yaml /res/Simple-Driver.yaml 07:35:28 ---> c5dd67b2088e 07:35:28 Step 18/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/on.png /res/on.png 07:35:28 ---> accbffd864c6 07:35:28 Step 19/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/off.jpg /res/off.jpg 07:35:29 ---> dbbabf5b78be 07:35:29 Step 20/24 : ENTRYPOINT ["/usr/local/bin/device-simple"] 07:35:29 ---> Running in d8468cdc9c8c 07:35:29 Removing intermediate container d8468cdc9c8c 07:35:29 ---> 6c36e014a92c 07:35:29 Step 21/24 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] 07:35:29 ---> Running in 0eaf51fd2674 07:35:30 Removing intermediate container 0eaf51fd2674 07:35:30 ---> e4df7668f1bc 07:35:30 Step 22/24 : LABEL arch=amd64 07:35:30 ---> Running in 4b341bc9dbc2 07:35:30 Removing intermediate container 4b341bc9dbc2 07:35:30 ---> 7a5ebfd1324f 07:35:30 Step 23/24 : LABEL git_sha=cf665ca7c464fb037769b6d006e61db58705184d 07:35:30 ---> Running in f6ba8427b2f7 07:35:31 Removing intermediate container f6ba8427b2f7 07:35:31 ---> 3c9918e7b08d 07:35:31 Step 24/24 : LABEL version=0.0.0 07:35:31 ---> Running in dcab2aee784c 07:35:31 Removing intermediate container dcab2aee784c 07:35:31 ---> 4ebf21165f3c 07:35:31 [Warning] One or more build-args [ARCH] were not consumed 07:35:31 Successfully built 4ebf21165f3c 07:35:31 Successfully tagged docker-device-sdk-simple:latest [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] } 07:35:51 gofmt -l . 07:35:51 [ "`gofmt -l .`" = "" ] 07:35:51 ./bin/test-attribution-txt.sh 07:35:51 ./bin/test-go-mod-tidy.sh [Pipeline] stash 07:35:51 Warning: overwriting stash ‘coverage-report’ 07:35:52 Stashed 1 file(s) [Pipeline] } 07:35:52 $ docker stop --time=1 77655cfdffde4ddf655d23170aff34238ca53e2d8f60282d4e695e4b5c5ac9a3 07:35:55 $ docker rm -f 77655cfdffde4ddf655d23170aff34238ca53e2d8f60282d4e695e4b5c5ac9a3 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 07:35:56 + sudo chown -R jenkins:jenkins . [Pipeline] sh 07:35:57 + ls -al . 07:35:57 total 224 07:35:57 drwxrwxr-x 10 jenkins jenkins 4096 Oct 19 07:35 . 07:35:57 drwxrwxr-x 4 jenkins jenkins 4096 Oct 19 07:32 .. 07:35:57 -rw-rw-r-- 1 jenkins jenkins 140 Oct 19 07:32 .dockerignore 07:35:57 drwxrwxr-x 8 jenkins jenkins 4096 Oct 19 07:32 .git 07:35:57 drwxrwxr-x 2 jenkins jenkins 4096 Oct 19 07:32 .github 07:35:57 -rw-rw-r-- 1 jenkins jenkins 138 Oct 19 07:32 .gitignore 07:35:57 -rw-rw-r-- 1 jenkins jenkins 936 Oct 19 07:32 Dockerfile.build 07:35:57 -rw-rw-r-- 1 jenkins jenkins 901 Oct 19 07:32 Jenkinsfile 07:35:57 -rw-rw-r-- 1 jenkins jenkins 11341 Oct 19 07:32 LICENSE 07:35:57 -rw-rw-r-- 1 jenkins jenkins 1013 Oct 19 07:32 Makefile 07:35:57 -rw-rw-r-- 1 jenkins jenkins 5897 Oct 19 07:32 README.md 07:35:57 -rw-rw-r-- 1 jenkins jenkins 4291 Oct 19 07:32 RELEASE-NOTES.txt 07:35:57 -rw-rw-r-- 1 jenkins jenkins 5 Oct 19 07:29 VERSION 07:35:57 drwxrwxr-x 2 jenkins jenkins 4096 Oct 19 07:32 bin 07:35:57 -rw-r--r-- 1 jenkins jenkins 110398 Oct 19 07:35 coverage.out 07:35:57 drwxrwxr-x 4 jenkins jenkins 4096 Oct 19 07:32 example 07:35:57 -rw-r--r-- 1 jenkins jenkins 517 Oct 19 07:35 go.mod 07:35:57 -rw-r--r-- 1 jenkins jenkins 13743 Oct 19 07:35 go.sum 07:35:57 drwxrwxr-x 15 jenkins jenkins 4096 Oct 19 07:32 internal 07:35:57 drwxrwxr-x 4 jenkins jenkins 4096 Oct 19 07:32 openapi 07:35:57 drwxrwxr-x 5 jenkins jenkins 4096 Oct 19 07:32 pkg 07:35:57 drwxrwxr-x 4 jenkins jenkins 4096 Oct 19 07:32 snap 07:35:57 -rw-rw-r-- 1 jenkins jenkins 222 Oct 19 07:32 version.go [Pipeline] isUnix [Pipeline] sh 07:35:57 + 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=cf665ca7c464fb037769b6d006e61db58705184d --label arch=arm64 --label version=0.0.0 . 07:35:58 Sending build context to Docker daemon 2.429MB 07:35:58 Step 1/24 : ARG BASE=golang:1.15-alpine 07:35:58 Step 2/24 : FROM ${BASE} AS builder 07:35:58 ---> d58f36ea0a90 07:35:58 Step 3/24 : ARG MAKE='make build' 07:35:58 ---> Running in b986f38af436 07:35:58 Removing intermediate container b986f38af436 07:35:58 ---> aed398c84d54 07:35:58 Step 4/24 : WORKDIR /device-sdk-go 07:35:58 ---> Running in 08cee8d79b96 07:35:59 Removing intermediate container 08cee8d79b96 07:35:59 ---> 2b3faeb45a80 07:35:59 Step 5/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 07:35:59 ---> Running in 75d612485582 07:35:59 Removing intermediate container 75d612485582 07:35:59 ---> 9c4f2d826818 07:35:59 Step 6/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 07:36:00 ---> Running in 99c54856673b 07:36:02 Removing intermediate container 99c54856673b 07:36:02 ---> 36ef3951c7ff 07:36:02 Step 7/24 : RUN apk add --update --no-cache make git 07:36:02 ---> Running in 66c701abaac4 07:36:04 fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz 07:36:05 fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz 07:36:06 OK: 142 MiB in 39 packages 07:36:07 Removing intermediate container 66c701abaac4 07:36:07 ---> 3285597830b6 07:36:07 Step 8/24 : COPY . . 07:36:08 ---> 00ff6ac74e5e 07:36:08 Step 9/24 : RUN ${MAKE} 07:36:08 ---> Running in 18ef6384d471 07:36:10 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 07:36:36 CGO_ENABLED=0 GO111MODULE=on go install -tags=safe 07:36:36 Removing intermediate container 18ef6384d471 07:36:36 ---> 415f44e1dcd7 07:36:36 Step 10/24 : FROM scratch 07:36:36 ---> 07:36:36 Step 11/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 07:36:36 ---> Running in f9c75c91b966 07:36:37 Removing intermediate container f9c75c91b966 07:36:37 ---> d7402b467a9e 07:36:37 Step 12/24 : ENV APP_PORT=49990 07:36:37 ---> Running in 3f0c48e9bf50 07:36:37 Removing intermediate container 3f0c48e9bf50 07:36:37 ---> e10130889a5e 07:36:37 Step 13/24 : EXPOSE $APP_PORT 07:36:37 ---> Running in 8633fe06fd95 07:36:38 Removing intermediate container 8633fe06fd95 07:36:38 ---> 992bc6f440c6 07:36:38 Step 14/24 : WORKDIR / 07:36:38 ---> Running in 517989f38174 07:36:38 Removing intermediate container 517989f38174 07:36:38 ---> 3d031ee9464f 07:36:38 Step 15/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /usr/local/bin/device-simple 07:36:39 ---> 9ed1706d7f87 07:36:39 Step 16/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/configuration.toml /res/configuration.toml 07:36:40 ---> 5faf22d7700c 07:36:40 Step 17/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/Simple-Driver.yaml /res/Simple-Driver.yaml 07:36:41 ---> 8af675c85635 07:36:41 Step 18/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/on.png /res/on.png 07:36:42 ---> aa15c39715ea 07:36:42 Step 19/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/off.jpg /res/off.jpg 07:36:42 ---> f83801a39da2 07:36:42 Step 20/24 : ENTRYPOINT ["/usr/local/bin/device-simple"] 07:36:42 ---> Running in 0da56c5cc7fc 07:36:43 Removing intermediate container 0da56c5cc7fc 07:36:43 ---> d0dd1f934fec 07:36:43 Step 21/24 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] 07:36:43 ---> Running in 297cf635d8ae 07:36:43 Removing intermediate container 297cf635d8ae 07:36:43 ---> 2e23646c132b 07:36:43 Step 22/24 : LABEL arch=arm64 07:36:43 ---> Running in 8053cc1aa073 07:36:44 Removing intermediate container 8053cc1aa073 07:36:44 ---> cec412d14bfd 07:36:44 Step 23/24 : LABEL git_sha=cf665ca7c464fb037769b6d006e61db58705184d 07:36:44 ---> Running in 2e1b65bd3e13 07:36:45 Removing intermediate container 2e1b65bd3e13 07:36:45 ---> 70d689ef7e98 07:36:45 Step 24/24 : LABEL version=0.0.0 07:36:45 ---> Running in 165824523b1f 07:36:45 Removing intermediate container 165824523b1f 07:36:45 ---> 6c39fd987416 07:36:45 [Warning] One or more build-args [ARCH] were not consumed 07:36:45 Successfully built 6c39fd987416 07:36:45 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] } [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) [Pipeline] unstash [Pipeline] wrap 07:36:47 provisioning config files... 07:36:47 copy managed file [device-sdk-go-codecov-token] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-584@tmp/config5285182756327336197tmp [Pipeline] { [Pipeline] sh 07:36:47 + set +x 07:36:47 + curl -s https://codecov.io/bash 07:36:47 + bash -s -- 07:36:48 07:36:48 _____ _ 07:36:48 / ____| | | 07:36:48 | | ___ __| | ___ ___ _____ __ 07:36:48 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 07:36:48 | |___| (_) | (_| | __/ (_| (_) \ V / 07:36:48 \_____\___/ \__,_|\___|\___\___/ \_/ 07:36:48 Bash-20201009-048fee3 07:36:48 07:36:48 07:36:48 ==> Jenkins CI detected. 07:36:48 project root: . 07:36:48 --> token set from env 07:36:48 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 07:36:48 ==> Running gcov in . (disable via -X gcov) 07:36:48 ==> Python coveragepy not found 07:36:48 ==> Searching for coverage reports in: 07:36:48 + . 07:36:48 -> Found 1 reports 07:36:48 ==> Detecting git/mercurial file structure 07:36:48 ==> Reading reports 07:36:48 + ./coverage.out bytes=110398 07:36:48 ==> Appending adjustments 07:36:48 https://docs.codecov.io/docs/fixing-reports 07:36:48 + Found adjustments 07:36:48 ==> Gzipping contents 07:36:48 ==> Uploading reports 07:36:48 url: https://codecov.io 07:36:48 query: branch=PR-584&commit=cf665ca7c464fb037769b6d006e61db58705184d&build=27&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-584%2F27%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=584&job=&cmd_args= 07:36:48 -> Pinging Codecov 07:36:48 https://codecov.io/upload/v4?package=bash-20201009-048fee3&token=secret&branch=PR-584&commit=cf665ca7c464fb037769b6d006e61db58705184d&build=27&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-584%2F27%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=584&job=&cmd_args= 07:36:48 -> Uploading to 07:36:48 07:36:48 % Total % Received % Xferd Average Speed Time Time Time Current 07:36:48 Dload Upload Total Spent Left Speed 07:36:48 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0curl: (6) Could not resolve host: ; Unknown error 07:36:48 X> Failed to upload 07:36:48 ==> Uploading to Codecov 07:36:48 % Total % Received % Xferd Average Speed Time Time Time Current 07:36:48 Dload Upload Total Spent Left Speed 07:36:50 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 19046 0 0 100 19046 0 16178 0:00:01 0:00:01 --:--:-- 16168 100 19156 100 110 100 19046 87 15186 0:00:01 0:00:01 --:--:-- 15176 07:36:50 View reports at https://codecov.io/github/edgexfoundry/device-sdk-go/commit/cf665ca7c464fb037769b6d006e61db58705184d [Pipeline] } 07:36:50 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] { (Archive Prep) Stage "Archive Prep" 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 07:36:52 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 07:36:53 ---> package-listing.sh 07:36:53 ++ facter osfamily 07:36:53 ++ tr '[:upper:]' '[:lower:]' 07:36:53 + OS_FAMILY=redhat 07:36:53 + workspace=/w/workspace/dgexfoundry_device-sdk-go_PR-584 07:36:53 + START_PACKAGES=/tmp/packages_start.txt 07:36:53 + END_PACKAGES=/tmp/packages_end.txt 07:36:53 + DIFF_PACKAGES=/tmp/packages_diff.txt 07:36:53 + PACKAGES=/tmp/packages_start.txt 07:36:53 + '[' /w/workspace/dgexfoundry_device-sdk-go_PR-584 ']' 07:36:53 + PACKAGES=/tmp/packages_end.txt 07:36:53 + case "${OS_FAMILY}" in 07:36:53 + rpm -qa 07:36:53 + sort 07:36:57 + '[' -f /tmp/packages_start.txt ']' 07:36:57 + '[' -f /tmp/packages_end.txt ']' 07:36:57 + diff /tmp/packages_start.txt /tmp/packages_end.txt 07:36:57 + '[' /w/workspace/dgexfoundry_device-sdk-go_PR-584 ']' 07:36:57 + mkdir -p /w/workspace/dgexfoundry_device-sdk-go_PR-584/archives/ 07:36:57 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/dgexfoundry_device-sdk-go_PR-584/archives/ [Pipeline] echo 07:36:57 Launching container with: [--privileged -u 0:0 --net host -v /var/log/sa:/var/log/sa-host -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/dgexfoundry_device-sdk-go_PR-584/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 07:36:58 + facter operatingsystem [Pipeline] isUnix [Pipeline] sh 07:36:58 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 07:36:58 07:36:58 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh 07:36:58 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 07:36:58 alpine: Pulling from edgex-lftools-log-publisher 07:36:58 df20fa9351a1: Pulling fs layer 07:36:58 36b3adc4ff6f: Pulling fs layer 07:36:58 8ad3a11d3b57: Pulling fs layer 07:36:58 46f8f816bc3b: Pulling fs layer 07:36:58 93b61091891f: Pulling fs layer 07:36:58 93b9cdb0e59b: Pulling fs layer 07:36:58 5e14af77c1be: Pulling fs layer 07:36:58 01666e4c0597: Pulling fs layer 07:36:58 aa168da1d23b: Pulling fs layer 07:36:58 93b9cdb0e59b: Waiting 07:36:58 5e14af77c1be: Waiting 07:36:58 01666e4c0597: Waiting 07:36:58 aa168da1d23b: Waiting 07:36:58 46f8f816bc3b: Waiting 07:36:58 93b61091891f: Waiting 07:36:58 36b3adc4ff6f: Verifying Checksum 07:36:58 36b3adc4ff6f: Download complete 07:36:58 46f8f816bc3b: Verifying Checksum 07:36:58 46f8f816bc3b: Download complete 07:36:58 df20fa9351a1: Download complete 07:36:58 93b9cdb0e59b: Verifying Checksum 07:36:58 93b9cdb0e59b: Download complete 07:36:58 93b61091891f: Verifying Checksum 07:36:58 93b61091891f: Download complete 07:36:58 5e14af77c1be: Download complete 07:36:58 01666e4c0597: Verifying Checksum 07:36:58 01666e4c0597: Download complete 07:36:59 df20fa9351a1: Pull complete 07:36:59 36b3adc4ff6f: Pull complete 07:36:59 8ad3a11d3b57: Verifying Checksum 07:36:59 8ad3a11d3b57: Download complete 07:37:00 8ad3a11d3b57: Pull complete 07:37:00 46f8f816bc3b: Pull complete 07:37:00 93b61091891f: Pull complete 07:37:01 93b9cdb0e59b: Pull complete 07:37:01 5e14af77c1be: Pull complete 07:37:01 aa168da1d23b: Verifying Checksum 07:37:01 aa168da1d23b: Download complete 07:37:01 01666e4c0597: Pull complete 07:37:09 aa168da1d23b: Pull complete 07:37:09 Digest: sha256:ac41798234670a79351fc13b8232b4dbeccc6fb1f122f5db5169d11b1762ca7c 07:37:09 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 07:37:09 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer 07:37:09 prd-centos7-docker-4c-2g-6222 does not seem to be running inside a container 07:37:09 $ docker run -t -d -u 1001:1001 --privileged -u 0:0 --net host -v /var/log/sa:/var/log/sa-host -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/dgexfoundry_device-sdk-go_PR-584/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/dgexfoundry_device-sdk-go_PR-584 -v /w/workspace/dgexfoundry_device-sdk-go_PR-584:/w/workspace/dgexfoundry_device-sdk-go_PR-584:rw,z -v /w/workspace/dgexfoundry_device-sdk-go_PR-584@tmp:/w/workspace/dgexfoundry_device-sdk-go_PR-584@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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine cat 07:37:13 $ docker top 7c9417a946632f30dbcc29e82eeea90fbfcac6102191212f5fd16497c2c1d9ac -eo pid,comm [Pipeline] { [Pipeline] sh 07:37:14 + touch /tmp/pre-build-complete [Pipeline] sh 07:37:14 + mkdir -p /var/log/sa [Pipeline] sh 07:37:14 + ls /var/log/sa-host 07:37:14 + sadf -c /var/log/sa-host/sa05 07:37:14 file_magic: OK 07:37:14 HZ: Using current value: 100 07:37:14 file_header: OK 07:37: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 07:37:14 Statistics: 07:37:14 Hnuu...uuuununununu...Hnuu...uuuununununu... 07:37:14 File successfully converted to sysstat format version 12.2.1 07:37:14 + sadf -c /var/log/sa-host/sa19 07:37:14 file_magic: OK 07:37:14 HZ: Using current value: 100 07:37:14 file_header: OK 07:37: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 07:37:14 Statistics: 07:37:14 HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... 07:37:14 File successfully converted to sysstat format version 12.2.1 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 07:37:15 provisioning config files... 07:37:15 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-584@tmp/config3698772992469969925tmp [Pipeline] { [Pipeline] echo 07:37:15 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 07:37:15 ---> create-netrc.sh [Pipeline] } 07:37:15 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] echo 07:37:15 Running shell/python-tools-install.sh [Pipeline] libraryResource [Pipeline] sh 07:37:15 ---> python-tools-install.sh [Pipeline] echo 07:37:15 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 07:37:16 ---> sudo-logs.sh 07:37:16 Archiving 'sudo' log.. [Pipeline] echo 07:37:16 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 07:37:16 ---> job-cost.sh 07:37:16 lf-activate-venv: SKIPPING 07:37:16 INFO: No Stack... 07:37:17 INFO: Retrieving Pricing Info for: v1-standard-2 07:37:18 INFO: Archiving Costs [Pipeline] echo 07:37:18 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 07:37:18 ---> logs-deploy.sh 07:37:18 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-584/27 07:37:18 INFO: archiving workspace using pattern(s): 07:37:20 Archives upload complete. 07:37:20 INFO: archiving logs to Nexus