Pull request #584 event Connecting to https://api.github.com using edgex-jenkins/****** (edgex-jenkins github personal access token) Obtained Jenkinsfile from 940b933be179ab78106c9e5d9c9093d66dfec8ca+10f5d80329275e8e77aa5b449b49b1589ab3bade (3457c5ce59c7a11d30ef88ca0cb94b89881a6d5e) 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-5792 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 Merging remotes/origin/master commit 10f5d80329275e8e77aa5b449b49b1589ab3bade into PR head commit 940b933be179ab78106c9e5d9c9093d66dfec8ca Merge succeeded, producing 940b933be179ab78106c9e5d9c9093d66dfec8ca Checking out Revision 940b933be179ab78106c9e5d9c9093d66dfec8ca (PR-584) > 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 > git config core.sparsecheckout # timeout=10 > git checkout -f 940b933be179ab78106c9e5d9c9093d66dfec8ca # 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 10f5d80329275e8e77aa5b449b49b1589ab3bade # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 940b933be179ab78106c9e5d9c9093d66dfec8ca # timeout=10 Commit message: "build(deps): bump github.com/gorilla/mux from 1.7.1 to 1.8.0" First time build. Skipping changelog. > git rev-list --no-walk f26c30ae5c623fd31539b0352a534cc435f4ba06 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 06:52:02 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 06:52:03 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 06:52:03 ========================================================= 06:52:03 EdgeX Global Pipelines Version Info 06:52:03 ========================================================= [Pipeline] libraryResource [Pipeline] sh 06:52:05 ------------------- 06:52:05 stable info: 06:52:05 ------------------- 06:52:05 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 06:52:05 Commit SHA: a2cbe11917bfb8801b6bc99aaa80229564ed4294 06:52:05 Message: update stable to v1.0.144 06:52:05 ------------------- 06:52:05 experimental info: 06:52:05 ------------------- 06:52:05 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 06:52:05 Commit SHA: a2cbe11917bfb8801b6bc99aaa80229564ed4294 06:52:05 Message: update experimental to v1.0.144 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] } [Pipeline] // script [Pipeline] echo 06:52:06 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-go-settings [Pipeline] echo 06:52:06 [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-go [Pipeline] echo 06:52:06 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 06:52:06 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 06:52:06 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 06:52:06 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.15 [Pipeline] echo 06:52:06 [edgeXSetupEnvironment]: set envvar GOPROXY = https://nexus3.edgexfoundry.org/repository/go-proxy/ [Pipeline] echo 06:52:06 [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine [Pipeline] echo 06:52:06 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = example/cmd/device-simple/Dockerfile [Pipeline] echo 06:52:07 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 06:52:07 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 06:52:07 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = docker-device-sdk-simple [Pipeline] echo 06:52:07 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 06:52:07 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 06:52:07 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 06:52:07 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo 06:52:07 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 06:52:07 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 06:52:07 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 06:52:07 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 06:52:08 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo 06:52:08 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 openapi/v2 [Pipeline] echo 06:52:08 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 06:52:08 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 06:52:08 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 06:52:08 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-584 [Pipeline] echo 06:52:08 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-584 [Pipeline] echo 06:52:08 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-584 [Pipeline] echo 06:52:08 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 940b933be179ab78106c9e5d9c9093d66dfec8ca [Pipeline] echo 06:52:09 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 940b933 [Pipeline] echo 06:52:09 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 06:52:09 + git log --format=format:%s -1 940b933be179ab78106c9e5d9c9093d66dfec8ca [Pipeline] echo 06:52:09 GIT_COMMIT: 940b933be179ab78106c9e5d9c9093d66dfec8ca, Commit Message: build(deps): bump github.com/gorilla/mux from 1.7.1 to 1.8.0 [Pipeline] echo 06:52:09 This is not a build commit. [Pipeline] isUnix [Pipeline] sh 06:52:10 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 06:52:10 06:52:10 Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh 06:52:11 + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 06:52:11 latest: Pulling from edgex-devops/git-semver 06:52:11 31603596830f: Pulling fs layer 06:52:11 2a8b12db71e7: Pulling fs layer 06:52:11 6ca5941a6612: Pulling fs layer 06:52:11 ecc8261a40a4: Pulling fs layer 06:52:11 ecc8261a40a4: Waiting 06:52:11 2a8b12db71e7: Verifying Checksum 06:52:11 2a8b12db71e7: Download complete 06:52:11 ecc8261a40a4: Verifying Checksum 06:52:11 ecc8261a40a4: Download complete 06:52:11 6ca5941a6612: Verifying Checksum 06:52:11 6ca5941a6612: Download complete 06:52:11 31603596830f: Download complete 06:52:11 31603596830f: Pull complete 06:52:11 2a8b12db71e7: Pull complete 06:52:12 6ca5941a6612: Pull complete 06:52:12 ecc8261a40a4: Pull complete 06:52:12 Digest: sha256:c336c3cb7d26c4f33e4bbf869d415e221d43967d83d6a5809e4cb0cc2a1e8fe7 06:52:12 Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 06:52:12 nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer 06:52:13 prd-centos7-docker-4c-2g-5792 does not seem to be running inside a container 06:52:13 $ 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 06:52:15 $ docker top 950e52c667c1ace158ecb3b9a2d8883c42910d0c9f39946e667e03d9b577ee21 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 06:52:15 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 06:52:15 [ssh-agent] Looking for ssh-agent implementation... 06:52:16 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 06:52:16 $ docker exec 950e52c667c1ace158ecb3b9a2d8883c42910d0c9f39946e667e03d9b577ee21 ssh-agent 06:52:16 SSH_AUTH_SOCK=/tmp/ssh-i0CwL626fSrA/agent.11 06:52:16 SSH_AGENT_PID=16 06:52:16 Running ssh-add (command line suppressed) 06:52:16 Identity added: /w/workspace/dgexfoundry_device-sdk-go_PR-584@tmp/private_key_3027151442278786572.key (/w/workspace/dgexfoundry_device-sdk-go_PR-584@tmp/private_key_3027151442278786572.key) 06:52:16 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 06:52:16 + git tag --points-at HEAD [Pipeline] } 06:52:16 $ docker exec --env ******** --env ******** 950e52c667c1ace158ecb3b9a2d8883c42910d0c9f39946e667e03d9b577ee21 ssh-agent -k 06:52:16 unset SSH_AUTH_SOCK; 06:52:16 unset SSH_AGENT_PID; 06:52:16 echo Agent pid 16 killed; 06:52:17 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 06:52:17 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 06:52:17 [ssh-agent] Looking for ssh-agent implementation... 06:52:17 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 06:52:17 $ docker exec 950e52c667c1ace158ecb3b9a2d8883c42910d0c9f39946e667e03d9b577ee21 ssh-agent 06:52:17 SSH_AUTH_SOCK=/tmp/ssh-YZ7RVB089fYA/agent.45 06:52:17 SSH_AGENT_PID=51 06:52:17 Running ssh-add (command line suppressed) 06:52:17 Identity added: /w/workspace/dgexfoundry_device-sdk-go_PR-584@tmp/private_key_1471803876565988616.key (/w/workspace/dgexfoundry_device-sdk-go_PR-584@tmp/private_key_1471803876565988616.key) 06:52:17 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 06:52:18 + git semver init 06:52:18 # -> Open(): unable to determine branch for HEAD 06:52:18 # $GIT_DIR = /w/workspace/dgexfoundry_device-sdk-go_PR-584/.git 06:52:18 # $GIT_WORK_TREE = /w/workspace/dgexfoundry_device-sdk-go_PR-584 06:52:18 # $SEMVER_REMOTE_NAME = origin 06:52:18 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 06:52:18 # $SEMVER_USER_NAME = edgex-jenkins 06:52:18 # $SEMVER_BRANCH = PR-584 06:52:18 # $SEMVER_TEMP = /tmp/semver-836006453 06:52:18 # git clone --branch semver git@github.com:edgexfoundry/device-sdk-go.git $SEMVER_TEMP 06:52:18 # '/tmp/semver-836006453' -> '/w/workspace/dgexfoundry_device-sdk-go_PR-584/.semver' 06:52:18 # -> Force: false 06:52:18 # $SEMVER_DIR = /w/workspace/dgexfoundry_device-sdk-go_PR-584/.semver [Pipeline] } 06:52:18 $ docker exec --env ******** --env ******** 950e52c667c1ace158ecb3b9a2d8883c42910d0c9f39946e667e03d9b577ee21 ssh-agent -k 06:52:18 unset SSH_AUTH_SOCK; 06:52:18 unset SSH_AGENT_PID; 06:52:18 echo Agent pid 51 killed; 06:52:18 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 06:52:19 + git semver [Pipeline] } 06:52:19 $ docker stop --time=1 950e52c667c1ace158ecb3b9a2d8883c42910d0c9f39946e667e03d9b577ee21 06:52:20 $ docker rm -f 950e52c667c1ace158ecb3b9a2d8883c42910d0c9f39946e667e03d9b577ee21 [Pipeline] // withDockerContainer [Pipeline] sh 06:52:21 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 06:52:21 Stashed 1 file(s) [Pipeline] echo 06:52:21 [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 06:52:37 Still waiting to schedule task 06:52:37 ‘prd-centos7-docker-4c-2g-3642’ is offline; ‘prd-centos7-docker-4c-2g-5769’ is offline; ‘prd-centos7-docker-4c-2g-5788’ is offline; ‘prd-centos7-docker-4c-2g-5794’ is offline; ‘prd-ubuntu18.04-docker-arm64-4c-16g-4350’ doesn’t have label ‘centos7-docker-4c-2g’ 06:52:37 Still waiting to schedule task 06:52:37 Waiting for next available executor on ‘ubuntu18.04-docker-arm64-4c-16g’ 06:53:50 Running on prd-centos7-docker-4c-2g-5799 in /w/workspace/dgexfoundry_device-sdk-go_PR-584 [Pipeline] { [Pipeline] ws 06:53:50 Running in /w/workspace/device-sdk-go/23 [Pipeline] { [Pipeline] checkout 06:53:54 using credential edgex-jenkins-ssh 06:53:54 Cloning the remote Git repository 06:53:54 Cloning repository git@github.com:edgexfoundry/device-sdk-go.git 06:53:54 > git init /w/workspace/device-sdk-go/23 # timeout=10 06:53:55 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 06:53:55 > git --version # timeout=10 06:53:55 > git --version # 'git version 2.16.5' 06:53:55 using GIT_SSH to set credentials SSH Credentials for GitHub 06:53:55 > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 06:53:56 Merging remotes/origin/master commit 10f5d80329275e8e77aa5b449b49b1589ab3bade into PR head commit 940b933be179ab78106c9e5d9c9093d66dfec8ca 06:53:56 Merge succeeded, producing 940b933be179ab78106c9e5d9c9093d66dfec8ca 06:53:56 Checking out Revision 940b933be179ab78106c9e5d9c9093d66dfec8ca (PR-584) 06:53:55 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 06:53:55 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 06:53:55 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 06:53:55 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 06:53:55 using GIT_SSH to set credentials SSH Credentials for GitHub 06:53:55 > 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 06:53:56 > git config core.sparsecheckout # timeout=10 06:53:56 > git checkout -f 940b933be179ab78106c9e5d9c9093d66dfec8ca # timeout=10 06:53:56 > git remote # timeout=10 06:53:56 > git config --get remote.origin.url # timeout=10 06:53:56 using GIT_SSH to set credentials SSH Credentials for GitHub 06:53:56 > git merge 10f5d80329275e8e77aa5b449b49b1589ab3bade # timeout=10 06:53:56 > git rev-parse HEAD^{commit} # timeout=10 06:53:56 > git config core.sparsecheckout # timeout=10 06:53:56 > git checkout -f 940b933be179ab78106c9e5d9c9093d66dfec8ca # timeout=10 06:54:00 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 06:54:01 ========================================================= 06:54:01 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine] 06:54:01 ========================================================= [Pipeline] isUnix [Pipeline] sh 06:54:02 + 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 . 06:54:02 Sending build context to Docker daemon 2.315MB 06:54:02 Step 1/8 : ARG BASE=golang:1.15-alpine 06:54:02 Step 2/8 : FROM ${BASE} 06:54:03 1.15-alpine: Pulling from edgex-devops/edgex-golang-base 06:54:03 df20fa9351a1: Pulling fs layer 06:54:03 ed8968b2872e: Pulling fs layer 06:54:03 a92cc7c5fd73: Pulling fs layer 06:54:03 e871e8e8d7a9: Pulling fs layer 06:54:03 e73272ec9a57: Pulling fs layer 06:54:03 1e910a182e73: Pulling fs layer 06:54:03 4e634b169226: Pulling fs layer 06:54:03 e73272ec9a57: Waiting 06:54:03 1e910a182e73: Waiting 06:54:03 e871e8e8d7a9: Waiting 06:54:03 4e634b169226: Waiting 06:54:03 a92cc7c5fd73: Download complete 06:54:03 ed8968b2872e: Verifying Checksum 06:54:03 ed8968b2872e: Download complete 06:54:03 e73272ec9a57: Verifying Checksum 06:54:03 e73272ec9a57: Download complete 06:54:03 1e910a182e73: Download complete 06:54:03 df20fa9351a1: Download complete 06:54:03 df20fa9351a1: Pull complete 06:54:03 ed8968b2872e: Pull complete 06:54:03 a92cc7c5fd73: Pull complete 06:54:06 4e634b169226: Verifying Checksum 06:54:06 4e634b169226: Download complete 06:54:06 e871e8e8d7a9: Verifying Checksum 06:54:06 e871e8e8d7a9: Download complete 06:54:12 e871e8e8d7a9: Pull complete 06:54:12 e73272ec9a57: Pull complete 06:54:12 1e910a182e73: Pull complete 06:54:18 4e634b169226: Pull complete 06:54:18 Digest: sha256:0b802f5dd80e2ad8551c53c724486b1db3b79f86ac5ae7c7a2db79f17045b642 06:54:18 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine 06:54:18 ---> f7629b54cfaa 06:54:18 Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 06:54:18 ---> Running in 3fee3995e02f 06:54:18 Removing intermediate container 3fee3995e02f 06:54:18 ---> d212b67750a7 06:54:18 Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 06:54:18 ---> Running in 3bd5b03a3d6c 06:54:19 Removing intermediate container 3bd5b03a3d6c 06:54:19 ---> d8ba7b5d45fd 06:54:19 Step 5/8 : RUN apk add --no-cache make git 06:54:19 ---> Running in f590bb9e4cf5 06:54:20 fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz 06:54:22 fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz 06:54:23 OK: 166 MiB in 39 packages 06:54:23 Removing intermediate container f590bb9e4cf5 06:54:23 ---> b47dc9784233 06:54:23 Step 6/8 : WORKDIR /device-sdk-go 06:54:23 ---> Running in 1dbc9ef56a94 06:54:23 Removing intermediate container 1dbc9ef56a94 06:54:23 ---> 62ac1fed4645 06:54:23 Step 7/8 : COPY . . 06:54:25 ---> f9e313952b54 06:54:25 Step 8/8 : RUN go mod download 06:54:25 ---> Running in 45e640fc4362 06:54:43 Removing intermediate container 45e640fc4362 06:54:43 ---> 8ca0d7265369 06:54:43 Successfully built 8ca0d7265369 06:54:43 Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh 06:54:43 + docker inspect -f . ci-base-image-x86_64 06:54:43 . [Pipeline] withDockerContainer 06:54:43 prd-centos7-docker-4c-2g-5799 does not seem to be running inside a container 06:54:43 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/23 -v /w/workspace/device-sdk-go/23:/w/workspace/device-sdk-go/23:rw,z -v /w/workspace/device-sdk-go/23@tmp:/w/workspace/device-sdk-go/23@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 06:54:44 $ docker top 6eb176be34aeecb3a0c454534511ee32dc561a3ecc5c16a9cd438162b7a411a0 -eo pid,comm [Pipeline] { [Pipeline] sh 06:54:45 + go version 06:54:45 go version go1.15.2 linux/amd64 [Pipeline] } 06:54:45 $ docker stop --time=1 6eb176be34aeecb3a0c454534511ee32dc561a3ecc5c16a9cd438162b7a411a0 06:54:46 $ docker rm -f 6eb176be34aeecb3a0c454534511ee32dc561a3ecc5c16a9cd438162b7a411a0 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 06:54:47 + docker inspect -f . ci-base-image-x86_64 06:54:47 . [Pipeline] withDockerContainer 06:54:47 prd-centos7-docker-4c-2g-5799 does not seem to be running inside a container 06:54:47 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/23 -v /w/workspace/device-sdk-go/23:/w/workspace/device-sdk-go/23:rw,z -v /w/workspace/device-sdk-go/23@tmp:/w/workspace/device-sdk-go/23@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 06:54:48 $ docker top 66a2cc7c9d1e2646c459625340e2c95fda6717eebd4fb750aea7c47ff8848879 -eo pid,comm [Pipeline] { [Pipeline] sh 06:54:49 + make test 06:54:49 GO111MODULE=on go test -race -coverprofile=coverage.out ./... 06:54:57 ? github.com/edgexfoundry/device-sdk-go [no test files] 06:55:12 ? github.com/edgexfoundry/device-sdk-go/example/cmd/device-simple [no test files] 06:55:12 ? github.com/edgexfoundry/device-sdk-go/example/driver [no test files] 06:55:12 ? github.com/edgexfoundry/device-sdk-go/internal/autodiscovery [no test files] 06:55:12 ok github.com/edgexfoundry/device-sdk-go/internal/autoevent 0.072s coverage: 21.6% of statements 06:55:13 ok github.com/edgexfoundry/device-sdk-go/internal/cache 0.479s coverage: 97.1% of statements 06:55:46 ok github.com/edgexfoundry/device-sdk-go/internal/clients 30.060s coverage: 9.4% of statements 06:55:46 ok github.com/edgexfoundry/device-sdk-go/internal/common 0.069s coverage: 21.9% of statements 06:55:46 ? github.com/edgexfoundry/device-sdk-go/internal/container [no test files] 06:55:46 ok github.com/edgexfoundry/device-sdk-go/internal/controller 0.243s coverage: 42.6% of statements 06:55:46 ? github.com/edgexfoundry/device-sdk-go/internal/controller/correlation [no test files] 06:55:46 ok github.com/edgexfoundry/device-sdk-go/internal/handler 0.268s coverage: 68.9% of statements 06:55:46 ? github.com/edgexfoundry/device-sdk-go/internal/handler/callback [no test files] 06:55:46 ? github.com/edgexfoundry/device-sdk-go/internal/mock [no test files] 06:55:46 ? github.com/edgexfoundry/device-sdk-go/internal/provision [no test files] 06:55:46 ? github.com/edgexfoundry/device-sdk-go/internal/telemetry [no test files] 06:55:46 ok github.com/edgexfoundry/device-sdk-go/internal/transformer 0.073s coverage: 52.6% of statements 06:55:46 ? github.com/edgexfoundry/device-sdk-go/internal/v2/application [no test files] 06:55:46 ? github.com/edgexfoundry/device-sdk-go/internal/v2/cache [no test files] 06:55:46 ? github.com/edgexfoundry/device-sdk-go/internal/v2/controller/http [no test files] 06:55:46 ok github.com/edgexfoundry/device-sdk-go/pkg/models 2.977s coverage: 68.9% of statements 06:55:46 ? github.com/edgexfoundry/device-sdk-go/pkg/service [no test files] 06:55:46 ? github.com/edgexfoundry/device-sdk-go/pkg/startup [no test files] 06:55:46 GO111MODULE=on go vet ./... 06:55:52 gofmt -l . 06:55:52 [ "`gofmt -l .`" = "" ] 06:55:52 ./bin/test-attribution-txt.sh 06:55:53 ./bin/test-go-mod-tidy.sh [Pipeline] stash 06:55:53 Stashed 1 file(s) [Pipeline] } 06:55:53 $ docker stop --time=1 66a2cc7c9d1e2646c459625340e2c95fda6717eebd4fb750aea7c47ff8848879 06:55:54 Running on prd-ubuntu18.04-docker-arm64-4c-16g-5804 in /w/workspace/dgexfoundry_device-sdk-go_PR-584 06:55:55 $ docker rm -f 66a2cc7c9d1e2646c459625340e2c95fda6717eebd4fb750aea7c47ff8848879 [Pipeline] { [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] ws 06:55:55 Running in /w/workspace/device-sdk-go/23 [Pipeline] { [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] checkout [Pipeline] sh 06:55:56 + sudo chown -R jenkins:jenkins . [Pipeline] sh 06:55:57 + ls -al . 06:55:57 total 188 06:55:57 drwxrwxr-x. 10 jenkins jenkins 4096 Oct 16 06:55 . 06:55:57 drwxrwxr-x. 4 jenkins jenkins 30 Oct 16 06:53 .. 06:55:57 drwxrwxr-x. 2 jenkins jenkins 64 Oct 16 06:53 bin 06:55:57 -rw-r--r--. 1 jenkins jenkins 110398 Oct 16 06:55 coverage.out 06:55:57 -rw-rw-r--. 1 jenkins jenkins 936 Oct 16 06:53 Dockerfile.build 06:55:57 -rw-rw-r--. 1 jenkins jenkins 140 Oct 16 06:53 .dockerignore 06:55:57 drwxrwxr-x. 4 jenkins jenkins 48 Oct 16 06:53 example 06:55:57 drwxrwxr-x. 8 jenkins jenkins 179 Oct 16 06:54 .git 06:55:57 drwxrwxr-x. 2 jenkins jenkins 60 Oct 16 06:53 .github 06:55:57 -rw-rw-r--. 1 jenkins jenkins 138 Oct 16 06:53 .gitignore 06:55:57 -rw-r--r--. 1 jenkins jenkins 517 Oct 16 06:55 go.mod 06:55:57 -rw-r--r--. 1 jenkins jenkins 13737 Oct 16 06:55 go.sum 06:55:57 drwxrwxr-x. 15 jenkins jenkins 211 Oct 16 06:53 internal 06:55:57 -rw-rw-r--. 1 jenkins jenkins 901 Oct 16 06:53 Jenkinsfile 06:55:57 -rw-rw-r--. 1 jenkins jenkins 11341 Oct 16 06:53 LICENSE 06:55:57 -rw-rw-r--. 1 jenkins jenkins 1013 Oct 16 06:53 Makefile 06:55:57 drwxrwxr-x. 4 jenkins jenkins 26 Oct 16 06:53 openapi 06:55:57 drwxrwxr-x. 5 jenkins jenkins 50 Oct 16 06:53 pkg 06:55:57 -rw-rw-r--. 1 jenkins jenkins 5897 Oct 16 06:53 README.md 06:55:57 -rw-rw-r--. 1 jenkins jenkins 4291 Oct 16 06:53 RELEASE-NOTES.txt 06:55:57 drwxrwxr-x. 4 jenkins jenkins 54 Oct 16 06:53 snap 06:55:57 -rw-rw-r--. 1 jenkins jenkins 5 Oct 16 06:52 VERSION 06:55:57 -rw-rw-r--. 1 jenkins jenkins 222 Oct 16 06:53 version.go [Pipeline] isUnix [Pipeline] sh 06:55:57 + 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=940b933be179ab78106c9e5d9c9093d66dfec8ca --label arch=amd64 --label version=0.0.0 . 06:55:57 Sending build context to Docker daemon 2.426MB 06:55:57 Step 1/24 : ARG BASE=golang:1.15-alpine 06:55:57 Step 2/24 : FROM ${BASE} AS builder 06:55:57 ---> 8ca0d7265369 06:55:57 Step 3/24 : ARG MAKE='make build' 06:55:58 ---> Running in 8c0a583fe2b9 06:55:58 Removing intermediate container 8c0a583fe2b9 06:55:58 ---> ce07e27d62a1 06:55:58 Step 4/24 : WORKDIR /device-sdk-go 06:55:58 ---> Running in 2eea2b9bebee 06:55:58 Removing intermediate container 2eea2b9bebee 06:55:58 ---> 268452438227 06:55:58 Step 5/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 06:55:58 ---> Running in bfb9a8b9d879 06:55:58 Removing intermediate container bfb9a8b9d879 06:55:58 ---> 1b3126e3cf3e 06:55:58 Step 6/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 06:55:59 ---> Running in 3e5e1235cdb7 06:56:00 Removing intermediate container 3e5e1235cdb7 06:56:00 ---> 9ab5ea7eeda9 06:56:00 Step 7/24 : RUN apk add --update --no-cache make git 06:56:00 ---> Running in ea91b58680a9 06:56:00 fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz 06:56:00 using credential edgex-jenkins-ssh 06:56:01 Cloning the remote Git repository 06:56:01 fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz 06:56:01 OK: 166 MiB in 39 packages 06:56:02 Removing intermediate container ea91b58680a9 06:56:02 ---> da9720efa8a9 06:56:02 Step 8/24 : COPY . . 06:56:01 Cloning repository git@github.com:edgexfoundry/device-sdk-go.git 06:56:01 > git init /w/workspace/device-sdk-go/23 # timeout=10 06:56:01 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 06:56:01 > git --version # timeout=10 06:56:01 > git --version # 'git version 2.17.1' 06:56:01 using GIT_SSH to set credentials SSH Credentials for GitHub 06:56:01 > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 06:56:02 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 06:56:02 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 06:56:02 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 06:56:03 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 06:56:03 using GIT_SSH to set credentials SSH Credentials for GitHub 06:56:03 > 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 06:56:03 ---> 094174e43ac9 06:56:03 Step 9/24 : RUN ${MAKE} 06:56:03 ---> Running in 918b2a1ceba0 06:56:04 Merging remotes/origin/master commit 10f5d80329275e8e77aa5b449b49b1589ab3bade into PR head commit 940b933be179ab78106c9e5d9c9093d66dfec8ca 06:56:04 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 06:56:04 Merge succeeded, producing 940b933be179ab78106c9e5d9c9093d66dfec8ca 06:56:04 Checking out Revision 940b933be179ab78106c9e5d9c9093d66dfec8ca (PR-584) 06:56:04 > git config core.sparsecheckout # timeout=10 06:56:04 > git checkout -f 940b933be179ab78106c9e5d9c9093d66dfec8ca # timeout=10 06:56:04 > git remote # timeout=10 06:56:04 > git config --get remote.origin.url # timeout=10 06:56:04 using GIT_SSH to set credentials SSH Credentials for GitHub 06:56:04 > git merge 10f5d80329275e8e77aa5b449b49b1589ab3bade # timeout=10 06:56:04 > git rev-parse HEAD^{commit} # timeout=10 06:56:04 > git config core.sparsecheckout # timeout=10 06:56:04 > git checkout -f 940b933be179ab78106c9e5d9c9093d66dfec8ca # timeout=10 06:56:08 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 06:56:09 ========================================================= 06:56:09 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine] 06:56:09 ========================================================= [Pipeline] isUnix [Pipeline] sh 06:56:10 + 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 . 06:56:11 Sending build context to Docker daemon 2.313MB 06:56:11 Step 1/8 : ARG BASE=golang:1.15-alpine 06:56:11 Step 2/8 : FROM ${BASE} 06:56:11 1.15-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 06:56:11 b538f80385f9: Pulling fs layer 06:56:11 74f711af9a0d: Pulling fs layer 06:56:11 99f96fe45779: Pulling fs layer 06:56:11 8529a6b9a6be: Pulling fs layer 06:56:11 45590311c82a: Pulling fs layer 06:56:11 69ca0ff8b7b3: Pulling fs layer 06:56:11 209524e5b208: Pulling fs layer 06:56:11 8529a6b9a6be: Waiting 06:56:11 45590311c82a: Waiting 06:56:11 69ca0ff8b7b3: Waiting 06:56:11 209524e5b208: Waiting 06:56:11 99f96fe45779: Verifying Checksum 06:56:11 99f96fe45779: Download complete 06:56:11 74f711af9a0d: Verifying Checksum 06:56:11 74f711af9a0d: Download complete 06:56:11 45590311c82a: Verifying Checksum 06:56:11 45590311c82a: Download complete 06:56:11 69ca0ff8b7b3: Verifying Checksum 06:56:11 69ca0ff8b7b3: Download complete 06:56:11 b538f80385f9: Download complete 06:56:12 CGO_ENABLED=0 GO111MODULE=on go install -tags=safe 06:56:12 b538f80385f9: Pull complete 06:56:13 74f711af9a0d: Pull complete 06:56:13 99f96fe45779: Pull complete 06:56:14 Removing intermediate container 918b2a1ceba0 06:56:14 ---> bab2441bcebe 06:56:14 Step 10/24 : FROM scratch 06:56:14 ---> 06:56:14 Step 11/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 06:56:14 ---> Running in 4e73815118b5 06:56:14 Removing intermediate container 4e73815118b5 06:56:14 ---> 5bcc4a347c5e 06:56:14 Step 12/24 : ENV APP_PORT=49990 06:56:14 ---> Running in 726e0cd92b3e 06:56:14 Removing intermediate container 726e0cd92b3e 06:56:14 ---> b7eda280c65b 06:56:14 Step 13/24 : EXPOSE $APP_PORT 06:56:14 ---> Running in d2c86580c4e9 06:56:14 Removing intermediate container d2c86580c4e9 06:56:14 ---> 06fc14a0b719 06:56:14 Step 14/24 : WORKDIR / 06:56:14 ---> Running in bdcdcb5014bf 06:56:14 Removing intermediate container bdcdcb5014bf 06:56:14 ---> d3079eff8f9d 06:56:14 Step 15/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /usr/local/bin/device-simple 06:56:15 209524e5b208: Verifying Checksum 06:56:15 209524e5b208: Download complete 06:56:15 ---> 648c464e6459 06:56:15 Step 16/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/configuration.toml /res/configuration.toml 06:56:15 ---> 58cd2b5e02c5 06:56:15 Step 17/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/Simple-Driver.yaml /res/Simple-Driver.yaml 06:56:15 ---> 93f113b30d84 06:56:15 Step 18/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/on.png /res/on.png 06:56:16 ---> 91fa09f22e5e 06:56:16 Step 19/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/off.jpg /res/off.jpg 06:56:16 ---> ab977c9ab8eb 06:56:16 Step 20/24 : ENTRYPOINT ["/usr/local/bin/device-simple"] 06:56:16 ---> Running in 914afc9649b7 06:56:16 Removing intermediate container 914afc9649b7 06:56:16 ---> 045b33f030e3 06:56:16 Step 21/24 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] 06:56:16 ---> Running in e7616f1661a1 06:56:16 Removing intermediate container e7616f1661a1 06:56:16 ---> f826b48c46f4 06:56:16 Step 22/24 : LABEL arch=amd64 06:56:16 ---> Running in 179c428b607b 06:56:17 Removing intermediate container 179c428b607b 06:56:17 ---> c0071b6f9cfa 06:56:17 Step 23/24 : LABEL git_sha=940b933be179ab78106c9e5d9c9093d66dfec8ca 06:56:17 ---> Running in ccdd1a955195 06:56:17 Removing intermediate container ccdd1a955195 06:56:17 ---> 3ad93806ea4e 06:56:17 Step 24/24 : LABEL version=0.0.0 06:56:17 ---> Running in 54af8bf491f5 06:56:17 Removing intermediate container 54af8bf491f5 06:56:17 ---> 54b658470b05 06:56:17 [Warning] One or more build-args [ARCH] were not consumed 06:56:17 Successfully built 54b658470b05 06:56:17 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 06:56:17 8529a6b9a6be: Verifying Checksum 06:56:17 8529a6b9a6be: Download complete [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] } 06:56:28 8529a6b9a6be: Pull complete 06:56:28 45590311c82a: Pull complete 06:56:28 69ca0ff8b7b3: Pull complete 06:56:31 209524e5b208: Pull complete 06:56:31 Digest: sha256:ed1c815e5e6ec4cca07509da726365701584b6c3e8c7d74a761ef336e5f8fb68 06:56:31 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine 06:56:31 ---> 5bddaf1c2fca 06:56:31 Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 06:56:34 ---> Running in 84e96c09843c 06:56:34 Removing intermediate container 84e96c09843c 06:56:34 ---> 573e81a9dc4b 06:56:34 Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 06:56:34 ---> Running in a004ec1496f0 06:56:37 Removing intermediate container a004ec1496f0 06:56:37 ---> a778bd4f4280 06:56:37 Step 5/8 : RUN apk add --no-cache make git 06:56:37 ---> Running in 50ca33427173 06:56:39 fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz 06:56:39 fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz 06:56:42 OK: 142 MiB in 39 packages 06:56:43 Removing intermediate container 50ca33427173 06:56:43 ---> 6a4dcef10fb6 06:56:43 Step 6/8 : WORKDIR /device-sdk-go 06:56:43 ---> Running in 61cf593a7462 06:56:44 Removing intermediate container 61cf593a7462 06:56:44 ---> ac8ced672c43 06:56:44 Step 7/8 : COPY . . 06:56:45 ---> 482dad191cfe 06:56:45 Step 8/8 : RUN go mod download 06:56:45 ---> Running in 89d685d0a2f4 06:57:07 Removing intermediate container 89d685d0a2f4 06:57:07 ---> c4e7318c4052 06:57:07 Successfully built c4e7318c4052 06:57:07 Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh 06:57:08 + docker inspect -f . ci-base-image-arm64 06:57:08 . [Pipeline] withDockerContainer 06:57:08 prd-ubuntu18.04-docker-arm64-4c-16g-5804 does not seem to be running inside a container 06:57:08 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/23 -v /w/workspace/device-sdk-go/23:/w/workspace/device-sdk-go/23:rw,z -v /w/workspace/device-sdk-go/23@tmp:/w/workspace/device-sdk-go/23@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 06:57:10 $ docker top 9f3caea56c9eec76de7971624e7a71b857094cef55f0962c0352c440738635a7 -eo pid,comm [Pipeline] { [Pipeline] sh 06:57:11 + go version 06:57:11 go version go1.15.2 linux/arm64 [Pipeline] } 06:57:11 $ docker stop --time=1 9f3caea56c9eec76de7971624e7a71b857094cef55f0962c0352c440738635a7 06:57:13 $ docker rm -f 9f3caea56c9eec76de7971624e7a71b857094cef55f0962c0352c440738635a7 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 06:57:14 + docker inspect -f . ci-base-image-arm64 06:57:14 . [Pipeline] withDockerContainer 06:57:15 prd-ubuntu18.04-docker-arm64-4c-16g-5804 does not seem to be running inside a container 06:57:15 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/23 -v /w/workspace/device-sdk-go/23:/w/workspace/device-sdk-go/23:rw,z -v /w/workspace/device-sdk-go/23@tmp:/w/workspace/device-sdk-go/23@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 06:57:17 $ docker top 660d9122c8f51a7e66a18941b459059966de01485ef72f7ef49aadb9c40ae4ae -eo pid,comm [Pipeline] { [Pipeline] sh 06:57:18 + make test 06:57:18 GO111MODULE=on go test -race -coverprofile=coverage.out ./... 06:57:40 ? github.com/edgexfoundry/device-sdk-go [no test files] 06:58:27 ? github.com/edgexfoundry/device-sdk-go/example/cmd/device-simple [no test files] 06:58:27 ? github.com/edgexfoundry/device-sdk-go/example/driver [no test files] 06:58:27 ? github.com/edgexfoundry/device-sdk-go/internal/autodiscovery [no test files] 06:58:27 ok github.com/edgexfoundry/device-sdk-go/internal/autoevent 0.130s coverage: 21.6% of statements 06:58:27 ok github.com/edgexfoundry/device-sdk-go/internal/cache 1.225s coverage: 97.1% of statements 06:58:54 ok github.com/edgexfoundry/device-sdk-go/internal/clients 30.131s coverage: 9.4% of statements 06:58:54 ok github.com/edgexfoundry/device-sdk-go/internal/common 0.125s coverage: 21.9% of statements 06:58:54 ? github.com/edgexfoundry/device-sdk-go/internal/container [no test files] 06:58:54 ok github.com/edgexfoundry/device-sdk-go/internal/controller 0.597s coverage: 42.6% of statements 06:58:54 ? github.com/edgexfoundry/device-sdk-go/internal/controller/correlation [no test files] 06:58:54 ok github.com/edgexfoundry/device-sdk-go/internal/handler 0.815s coverage: 68.9% of statements 06:58:54 ? github.com/edgexfoundry/device-sdk-go/internal/handler/callback [no test files] 06:58:54 ? github.com/edgexfoundry/device-sdk-go/internal/mock [no test files] 06:58:54 ? github.com/edgexfoundry/device-sdk-go/internal/provision [no test files] 06:58:54 ? github.com/edgexfoundry/device-sdk-go/internal/telemetry [no test files] 06:58:54 ok github.com/edgexfoundry/device-sdk-go/internal/transformer 0.178s coverage: 52.6% of statements 06:58:54 ? github.com/edgexfoundry/device-sdk-go/internal/v2/application [no test files] 06:58:54 ? github.com/edgexfoundry/device-sdk-go/internal/v2/cache [no test files] 06:58:54 ? github.com/edgexfoundry/device-sdk-go/internal/v2/controller/http [no test files] 06:58:54 ok github.com/edgexfoundry/device-sdk-go/pkg/models 6.147s coverage: 68.9% of statements 06:58:54 ? github.com/edgexfoundry/device-sdk-go/pkg/service [no test files] 06:58:54 ? github.com/edgexfoundry/device-sdk-go/pkg/startup [no test files] 06:58:54 GO111MODULE=on go vet ./... 06:59:27 gofmt -l . 06:59:27 [ "`gofmt -l .`" = "" ] 06:59:27 ./bin/test-attribution-txt.sh 06:59:27 ./bin/test-go-mod-tidy.sh [Pipeline] stash 06:59:27 Warning: overwriting stash ‘coverage-report’ 06:59:28 Stashed 1 file(s) [Pipeline] } 06:59:28 $ docker stop --time=1 660d9122c8f51a7e66a18941b459059966de01485ef72f7ef49aadb9c40ae4ae 06:59:30 $ docker rm -f 660d9122c8f51a7e66a18941b459059966de01485ef72f7ef49aadb9c40ae4ae [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 06:59:31 + sudo chown -R jenkins:jenkins . [Pipeline] sh 06:59:32 + ls -al . 06:59:32 total 224 06:59:32 drwxrwxr-x 10 jenkins jenkins 4096 Oct 16 06:59 . 06:59:32 drwxrwxr-x 4 jenkins jenkins 4096 Oct 16 06:56 .. 06:59:32 -rw-rw-r-- 1 jenkins jenkins 140 Oct 16 06:56 .dockerignore 06:59:32 drwxrwxr-x 8 jenkins jenkins 4096 Oct 16 06:56 .git 06:59:32 drwxrwxr-x 2 jenkins jenkins 4096 Oct 16 06:56 .github 06:59:32 -rw-rw-r-- 1 jenkins jenkins 138 Oct 16 06:56 .gitignore 06:59:32 -rw-rw-r-- 1 jenkins jenkins 936 Oct 16 06:56 Dockerfile.build 06:59:32 -rw-rw-r-- 1 jenkins jenkins 901 Oct 16 06:56 Jenkinsfile 06:59:32 -rw-rw-r-- 1 jenkins jenkins 11341 Oct 16 06:56 LICENSE 06:59:32 -rw-rw-r-- 1 jenkins jenkins 1013 Oct 16 06:56 Makefile 06:59:32 -rw-rw-r-- 1 jenkins jenkins 5897 Oct 16 06:56 README.md 06:59:32 -rw-rw-r-- 1 jenkins jenkins 4291 Oct 16 06:56 RELEASE-NOTES.txt 06:59:32 -rw-rw-r-- 1 jenkins jenkins 5 Oct 16 06:52 VERSION 06:59:32 drwxrwxr-x 2 jenkins jenkins 4096 Oct 16 06:56 bin 06:59:32 -rw-r--r-- 1 jenkins jenkins 110398 Oct 16 06:58 coverage.out 06:59:32 drwxrwxr-x 4 jenkins jenkins 4096 Oct 16 06:56 example 06:59:32 -rw-r--r-- 1 jenkins jenkins 517 Oct 16 06:59 go.mod 06:59:32 -rw-r--r-- 1 jenkins jenkins 13737 Oct 16 06:59 go.sum 06:59:32 drwxrwxr-x 15 jenkins jenkins 4096 Oct 16 06:56 internal 06:59:32 drwxrwxr-x 4 jenkins jenkins 4096 Oct 16 06:56 openapi 06:59:32 drwxrwxr-x 5 jenkins jenkins 4096 Oct 16 06:56 pkg 06:59:32 drwxrwxr-x 4 jenkins jenkins 4096 Oct 16 06:56 snap 06:59:32 -rw-rw-r-- 1 jenkins jenkins 222 Oct 16 06:56 version.go [Pipeline] isUnix [Pipeline] sh 06:59:33 + 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=940b933be179ab78106c9e5d9c9093d66dfec8ca --label arch=arm64 --label version=0.0.0 . 06:59:33 Sending build context to Docker daemon 2.424MB 06:59:33 Step 1/24 : ARG BASE=golang:1.15-alpine 06:59:33 Step 2/24 : FROM ${BASE} AS builder 06:59:33 ---> c4e7318c4052 06:59:33 Step 3/24 : ARG MAKE='make build' 06:59:33 ---> Running in 1d9f7c52b4c3 06:59:34 Removing intermediate container 1d9f7c52b4c3 06:59:34 ---> ff3174d76ab8 06:59:34 Step 4/24 : WORKDIR /device-sdk-go 06:59:34 ---> Running in df5b1f2f25d4 06:59:35 Removing intermediate container df5b1f2f25d4 06:59:35 ---> 38e55fe5c838 06:59:35 Step 5/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 06:59:35 ---> Running in 5cd05c9d685e 06:59:35 Removing intermediate container 5cd05c9d685e 06:59:35 ---> 490d86e46b29 06:59:35 Step 6/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 06:59:35 ---> Running in 626fe71a756c 06:59:38 Removing intermediate container 626fe71a756c 06:59:38 ---> fe27cc2a2a0f 06:59:38 Step 7/24 : RUN apk add --update --no-cache make git 06:59:38 ---> Running in 6dc996739f09 06:59:40 fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz 06:59:41 fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz 06:59:42 OK: 142 MiB in 39 packages 06:59:43 Removing intermediate container 6dc996739f09 06:59:43 ---> 54058a04ae85 06:59:43 Step 8/24 : COPY . . 06:59:44 ---> 1a91b524e186 06:59:44 Step 9/24 : RUN ${MAKE} 06:59:45 ---> Running in b7fcf84792bd 06:59:46 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:00:13 CGO_ENABLED=0 GO111MODULE=on go install -tags=safe 07:00:14 Removing intermediate container b7fcf84792bd 07:00:14 ---> dcc817ba80e4 07:00:14 Step 10/24 : FROM scratch 07:00:14 ---> 07:00:14 Step 11/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 07:00:14 ---> Running in 38b42f38714d 07:00:14 Removing intermediate container 38b42f38714d 07:00:14 ---> df8aae4612df 07:00:14 Step 12/24 : ENV APP_PORT=49990 07:00:14 ---> Running in acf361ac47a7 07:00:14 Removing intermediate container acf361ac47a7 07:00:14 ---> 2ec0ec4c3b34 07:00:14 Step 13/24 : EXPOSE $APP_PORT 07:00:15 ---> Running in bd0ea68aa29a 07:00:15 Removing intermediate container bd0ea68aa29a 07:00:15 ---> 5464ffd97d43 07:00:15 Step 14/24 : WORKDIR / 07:00:15 ---> Running in 99f0cda46bb2 07:00:16 Removing intermediate container 99f0cda46bb2 07:00:16 ---> 23f8f315d37e 07:00:16 Step 15/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /usr/local/bin/device-simple 07:00:17 ---> a2867918acfd 07:00:17 Step 16/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/configuration.toml /res/configuration.toml 07:00:17 ---> 679baa11227a 07:00:17 Step 17/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/Simple-Driver.yaml /res/Simple-Driver.yaml 07:00:18 ---> 976c61661caa 07:00:18 Step 18/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/on.png /res/on.png 07:00:19 ---> c3aabb3c19f2 07:00:19 Step 19/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/off.jpg /res/off.jpg 07:00:19 ---> b295ca474da5 07:00:19 Step 20/24 : ENTRYPOINT ["/usr/local/bin/device-simple"] 07:00:20 ---> Running in 93df3d0c12ee 07:00:20 Removing intermediate container 93df3d0c12ee 07:00:20 ---> 1184501d0c1e 07:00:20 Step 21/24 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] 07:00:20 ---> Running in 34e572b6bbbb 07:00:21 Removing intermediate container 34e572b6bbbb 07:00:21 ---> bd16bd549d21 07:00:21 Step 22/24 : LABEL arch=arm64 07:00:21 ---> Running in b41961c912ea 07:00:21 Removing intermediate container b41961c912ea 07:00:21 ---> 4bc00c80def3 07:00:21 Step 23/24 : LABEL git_sha=940b933be179ab78106c9e5d9c9093d66dfec8ca 07:00:21 ---> Running in f4016ae4b141 07:00:22 Removing intermediate container f4016ae4b141 07:00:22 ---> bb427df28fbb 07:00:22 Step 24/24 : LABEL version=0.0.0 07:00:22 ---> Running in 5857a2a48629 07:00:23 Removing intermediate container 5857a2a48629 07:00:23 ---> 41aba088c02f 07:00:23 [Warning] One or more build-args [ARCH] were not consumed 07:00:23 Successfully built 41aba088c02f 07:00:23 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:00:25 provisioning config files... 07:00:25 copy managed file [device-sdk-go-codecov-token] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-584@tmp/config4403774010910309086tmp [Pipeline] { [Pipeline] sh 07:00:25 + set +x 07:00:25 + curl -s https://codecov.io/bash 07:00:25 + bash -s -- 07:00:26 07:00:26 _____ _ 07:00:26 / ____| | | 07:00:26 | | ___ __| | ___ ___ _____ __ 07:00:26 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 07:00:26 | |___| (_) | (_| | __/ (_| (_) \ V / 07:00:26 \_____\___/ \__,_|\___|\___\___/ \_/ 07:00:26 Bash-20201009-048fee3 07:00:26 07:00:26 07:00:26 ==> Jenkins CI detected. 07:00:26 project root: . 07:00:26 --> token set from env 07:00:26 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 07:00:26 ==> Running gcov in . (disable via -X gcov) 07:00:26 ==> Python coveragepy not found 07:00:26 ==> Searching for coverage reports in: 07:00:26 + . 07:00:26 -> Found 1 reports 07:00:26 ==> Detecting git/mercurial file structure 07:00:26 ==> Reading reports 07:00:26 + ./coverage.out bytes=110398 07:00:26 ==> Appending adjustments 07:00:26 https://docs.codecov.io/docs/fixing-reports 07:00:26 + Found adjustments 07:00:26 ==> Gzipping contents 07:00:26 ==> Uploading reports 07:00:26 url: https://codecov.io 07:00:26 query: branch=PR-584&commit=940b933be179ab78106c9e5d9c9093d66dfec8ca&build=23&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-584%2F23%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=584&job=&cmd_args= 07:00:26 -> Pinging Codecov 07:00:26 https://codecov.io/upload/v4?package=bash-20201009-048fee3&token=secret&branch=PR-584&commit=940b933be179ab78106c9e5d9c9093d66dfec8ca&build=23&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-584%2F23%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=584&job=&cmd_args= 07:00:26 -> Uploading to 07:00:26 07:00:26 % Total % Received % Xferd Average Speed Time Time Time Current 07:00:26 Dload Upload Total Spent Left Speed 07:00:26 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0curl: (6) Could not resolve host: ; Unknown error 07:00:26 X> Failed to upload 07:00:26 ==> Uploading to Codecov 07:00:26 % Total % Received % Xferd Average Speed Time Time Time Current 07:00:26 Dload Upload Total Spent Left Speed 07:00:27 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 19142 100 110 100 19032 219 37999 --:--:-- --:--:-- --:--:-- 37988 07:00:27 View reports at https://codecov.io/github/edgexfoundry/device-sdk-go/commit/940b933be179ab78106c9e5d9c9093d66dfec8ca [Pipeline] } 07:00:27 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:00:30 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 07:00:30 ---> package-listing.sh 07:00:30 ++ facter osfamily 07:00:30 ++ tr '[:upper:]' '[:lower:]' 07:00:30 + OS_FAMILY=redhat 07:00:30 + workspace=/w/workspace/dgexfoundry_device-sdk-go_PR-584 07:00:30 + START_PACKAGES=/tmp/packages_start.txt 07:00:30 + END_PACKAGES=/tmp/packages_end.txt 07:00:30 + DIFF_PACKAGES=/tmp/packages_diff.txt 07:00:30 + PACKAGES=/tmp/packages_start.txt 07:00:30 + '[' /w/workspace/dgexfoundry_device-sdk-go_PR-584 ']' 07:00:30 + PACKAGES=/tmp/packages_end.txt 07:00:30 + case "${OS_FAMILY}" in 07:00:30 + rpm -qa 07:00:30 + sort 07:00:35 + '[' -f /tmp/packages_start.txt ']' 07:00:35 + '[' -f /tmp/packages_end.txt ']' 07:00:35 + diff /tmp/packages_start.txt /tmp/packages_end.txt 07:00:35 + '[' /w/workspace/dgexfoundry_device-sdk-go_PR-584 ']' 07:00:35 + mkdir -p /w/workspace/dgexfoundry_device-sdk-go_PR-584/archives/ 07:00:35 + 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:00:35 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:00:35 + facter operatingsystem [Pipeline] isUnix [Pipeline] sh 07:00:35 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 07:00:35 07:00:35 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh 07:00:36 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 07:00:36 alpine: Pulling from edgex-lftools-log-publisher 07:00:36 df20fa9351a1: Pulling fs layer 07:00:36 36b3adc4ff6f: Pulling fs layer 07:00:36 8ad3a11d3b57: Pulling fs layer 07:00:36 46f8f816bc3b: Pulling fs layer 07:00:36 93b61091891f: Pulling fs layer 07:00:36 93b9cdb0e59b: Pulling fs layer 07:00:36 5e14af77c1be: Pulling fs layer 07:00:36 01666e4c0597: Pulling fs layer 07:00:36 aa168da1d23b: Pulling fs layer 07:00:36 93b9cdb0e59b: Waiting 07:00:36 5e14af77c1be: Waiting 07:00:36 01666e4c0597: Waiting 07:00:36 aa168da1d23b: Waiting 07:00:36 46f8f816bc3b: Waiting 07:00:36 93b61091891f: Waiting 07:00:36 46f8f816bc3b: Verifying Checksum 07:00:36 46f8f816bc3b: Download complete 07:00:36 93b61091891f: Download complete 07:00:36 93b9cdb0e59b: Verifying Checksum 07:00:36 93b9cdb0e59b: Download complete 07:00:36 5e14af77c1be: Verifying Checksum 07:00:36 5e14af77c1be: Download complete 07:00:36 df20fa9351a1: Download complete 07:00:36 01666e4c0597: Verifying Checksum 07:00:36 01666e4c0597: Download complete 07:00:36 8ad3a11d3b57: Verifying Checksum 07:00:36 8ad3a11d3b57: Download complete 07:00:36 df20fa9351a1: Pull complete 07:00:36 36b3adc4ff6f: Pull complete 07:00:37 8ad3a11d3b57: Pull complete 07:00:37 46f8f816bc3b: Pull complete 07:00:38 93b61091891f: Pull complete 07:00:38 93b9cdb0e59b: Pull complete 07:00:38 5e14af77c1be: Pull complete 07:00:38 01666e4c0597: Pull complete 07:00:38 aa168da1d23b: Verifying Checksum 07:00:38 aa168da1d23b: Download complete 07:00:45 aa168da1d23b: Pull complete 07:00:45 Digest: sha256:ac41798234670a79351fc13b8232b4dbeccc6fb1f122f5db5169d11b1762ca7c 07:00:45 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 07:00:45 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer 07:00:45 prd-centos7-docker-4c-2g-5792 does not seem to be running inside a container 07:00:45 $ 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:00:49 $ docker top 04f9f6f0c9a404462ee669cd31bbe7179ea3d447ef6781d0c2779a63aa8e8b80 -eo pid,comm [Pipeline] { [Pipeline] sh 07:00:49 + touch /tmp/pre-build-complete [Pipeline] sh 07:00:50 + mkdir -p /var/log/sa [Pipeline] sh 07:00:50 + ls /var/log/sa-host 07:00:50 + sadf -c /var/log/sa-host/sa05 07:00:50 file_magic: OK 07:00:50 HZ: Using current value: 100 07:00:50 file_header: OK 07:00:50 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:00:50 Statistics: 07:00:50 Hnuu...uuuununununu...Hnuu...uuuununununu... 07:00:50 File successfully converted to sysstat format version 12.2.1 07:00:50 + sadf -c /var/log/sa-host/sa16 07:00:50 file_magic: OK 07:00:50 HZ: Using current value: 100 07:00:50 file_header: OK 07:00:50 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:00:50 Statistics: 07:00:50 HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... 07:00:50 File successfully converted to sysstat format version 12.2.1 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 07:00:50 provisioning config files... 07:00:50 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-584@tmp/config3418837608117021208tmp [Pipeline] { [Pipeline] echo 07:00:50 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 07:00:51 ---> create-netrc.sh [Pipeline] } 07:00:51 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] echo 07:00:51 Running shell/python-tools-install.sh [Pipeline] libraryResource [Pipeline] sh 07:00:51 ---> python-tools-install.sh [Pipeline] echo 07:00:51 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 07:00:51 ---> sudo-logs.sh 07:00:51 Archiving 'sudo' log.. [Pipeline] echo 07:00:52 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 07:00:52 ---> job-cost.sh 07:00:52 lf-activate-venv: SKIPPING 07:00:52 INFO: No Stack... 07:00:53 INFO: Retrieving Pricing Info for: v1-standard-2 07:00:53 INFO: Archiving Costs [Pipeline] echo 07:00:53 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 07:00:54 ---> logs-deploy.sh 07:00:54 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-584/23 07:00:54 INFO: archiving workspace using pattern(s): 07:00:56 Archives upload complete. 07:00:56 INFO: archiving logs to Nexus