Pull request #620 opened Connecting to https://api.github.com using edgex-jenkins/****** (edgex-jenkins github personal access token) Obtained Jenkinsfile from 0e938c11adafaf611449ebb2faccd5614f1f8b9b+833c05b782f270c396ee40879762f076aaf9331e (0f5608bf773d6152225815f6a83bae3b45514571) Running in Durability level: MAX_SURVIVABILITY 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 ad104866bbc8c98dca93091e1a8abeb835fd4e4d 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 ad104866bbc8c98dca93091e1a8abeb835fd4e4d using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning with configured refspecs honoured and with tags Cloning repository git@github.com:edgexfoundry/edgex-global-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/device-sdk-go/branches/PR-620/workspace@libs/edgex-global-pipelines # timeout=10 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 > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 > 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 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 ad104866bbc8c98dca93091e1a8abeb835fd4e4d (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f ad104866bbc8c98dca93091e1a8abeb835fd4e4d # timeout=10 Commit message: "Merge pull request #251 from ernestojeda/fix-codecov-uploader" > 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 > git --version # timeout=10 > git --version # 'git version 2.16.6' 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 Cloning the remote Git repository Cloning with configured refspecs honoured and without tags Cloning repository git@github.com:lfit/releng-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/device-sdk-go/branches/PR-620/workspace@libs/lf-pipelines # timeout=10 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 > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > 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 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 > git --version # timeout=10 > git --version # 'git version 2.16.6' fatal: bad object ad104866bbc8c98dca93091e1a8abeb835fd4e4d 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-3682 in /w/workspace/dgexfoundry_device-sdk-go_PR-620 [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-620 # 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 833c05b782f270c396ee40879762f076aaf9331e into PR head commit 0e938c11adafaf611449ebb2faccd5614f1f8b9b Merge succeeded, producing 0e938c11adafaf611449ebb2faccd5614f1f8b9b Checking out Revision 0e938c11adafaf611449ebb2faccd5614f1f8b9b (PR-620) > 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/620/head:refs/remotes/origin/PR-620 +refs/heads/master:refs/remotes/origin/master # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 0e938c11adafaf611449ebb2faccd5614f1f8b9b # 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 833c05b782f270c396ee40879762f076aaf9331e # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 0e938c11adafaf611449ebb2faccd5614f1f8b9b # timeout=10 Commit message: "build(deps): bump github.com/edgexfoundry/go-mod-bootstrap" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.16.5' fatal: bad object ad104866bbc8c98dca93091e1a8abeb835fd4e4d [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 06:25:29 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 06:25:29 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 06:25:29 ========================================================= 06:25:29 EdgeX Global Pipelines Version Info 06:25:29 ========================================================= [Pipeline] libraryResource [Pipeline] sh 06:25:31 ------------------- 06:25:31 stable info: 06:25:31 ------------------- 06:25:31 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 06:25:31 Commit SHA: ad104866bbc8c98dca93091e1a8abeb835fd4e4d 06:25:31 Message: update stable to v1.0.131 06:25:32 ------------------- 06:25:32 experimental info: 06:25:32 ------------------- 06:25:32 Commited By: **** collab-it+edgex@linuxfoundation.org 06:25:32 Commit SHA: 570db4806bfd36b7d07759f4849a4530ec9e8d2a 06:25:32 Message: update experimental to v1.0.134 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] } [Pipeline] // script [Pipeline] echo 06:25:32 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-go-settings [Pipeline] echo 06:25:32 [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-go [Pipeline] echo 06:25:33 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 06:25:33 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 06:25:33 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 06:25:33 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.15 [Pipeline] echo 06:25:33 [edgeXSetupEnvironment]: set envvar GOPROXY = https://nexus3.edgexfoundry.org/repository/go-proxy/ [Pipeline] echo 06:25:33 [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine [Pipeline] echo 06:25:33 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = example/cmd/device-simple/Dockerfile [Pipeline] echo 06:25:34 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 06:25:34 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 06:25:34 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = docker-device-sdk-simple [Pipeline] echo 06:25:34 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 06:25:34 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 06:25:34 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 06:25:34 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo 06:25:34 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 06:25:34 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 06:25:35 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 06:25:35 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 06:25:35 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo 06:25:35 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 openapi/v2 [Pipeline] echo 06:25:35 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 06:25:35 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 06:25:35 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 06:25:35 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-620 [Pipeline] echo 06:25:36 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-620 [Pipeline] echo 06:25:36 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-620 [Pipeline] echo 06:25:36 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 0e938c11adafaf611449ebb2faccd5614f1f8b9b [Pipeline] echo 06:25:36 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 0e938c1 [Pipeline] echo 06:25:36 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 06:25:37 + git log --format=format:%s -1 0e938c11adafaf611449ebb2faccd5614f1f8b9b [Pipeline] echo 06:25:37 GIT_COMMIT: 0e938c11adafaf611449ebb2faccd5614f1f8b9b, Commit Message: build(deps): bump github.com/edgexfoundry/go-mod-bootstrap [Pipeline] echo 06:25:37 This is not a build commit. [Pipeline] isUnix [Pipeline] sh 06:25:38 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 06:25:38 06:25:38 Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh 06:25:38 + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 06:25:38 latest: Pulling from edgex-devops/git-semver 06:25:38 31603596830f: Pulling fs layer 06:25:38 2a8b12db71e7: Pulling fs layer 06:25:38 6ca5941a6612: Pulling fs layer 06:25:38 ecc8261a40a4: Pulling fs layer 06:25:38 ecc8261a40a4: Waiting 06:25:38 2a8b12db71e7: Verifying Checksum 06:25:38 2a8b12db71e7: Download complete 06:25:38 31603596830f: Verifying Checksum 06:25:38 31603596830f: Download complete 06:25:38 6ca5941a6612: Verifying Checksum 06:25:38 6ca5941a6612: Download complete 06:25:38 ecc8261a40a4: Verifying Checksum 06:25:38 ecc8261a40a4: Download complete 06:25:39 31603596830f: Pull complete 06:25:39 2a8b12db71e7: Pull complete 06:25:40 6ca5941a6612: Pull complete 06:25:40 ecc8261a40a4: Pull complete 06:25:40 Digest: sha256:c336c3cb7d26c4f33e4bbf869d415e221d43967d83d6a5809e4cb0cc2a1e8fe7 06:25:40 Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 06:25:40 nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer 06:25:40 prd-centos7-docker-4c-2g-3682 does not seem to be running inside a container 06:25:40 $ docker run -t -d -u 1001:1001 -v /etc/ssh:/etc/ssh -w /w/workspace/dgexfoundry_device-sdk-go_PR-620 -v /w/workspace/dgexfoundry_device-sdk-go_PR-620:/w/workspace/dgexfoundry_device-sdk-go_PR-620:rw,z -v /w/workspace/dgexfoundry_device-sdk-go_PR-620@tmp:/w/workspace/dgexfoundry_device-sdk-go_PR-620@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 ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat 06:25:43 $ docker top eaa8e7e2c1016e9ea3e864df8f6e2b5cd719c22214b02758597d8c1a74ba01fb -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 06:25:43 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 06:25:43 [ssh-agent] Looking for ssh-agent implementation... 06:25:43 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 06:25:43 $ docker exec eaa8e7e2c1016e9ea3e864df8f6e2b5cd719c22214b02758597d8c1a74ba01fb ssh-agent 06:25:43 SSH_AUTH_SOCK=/tmp/ssh-HwTA1dvkGtAV/agent.12 06:25:43 SSH_AGENT_PID=17 06:25:43 Running ssh-add (command line suppressed) 06:25:43 Identity added: /w/workspace/dgexfoundry_device-sdk-go_PR-620@tmp/private_key_1829445355601577439.key (/w/workspace/dgexfoundry_device-sdk-go_PR-620@tmp/private_key_1829445355601577439.key) 06:25:44 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 06:25:44 + git describe --exact-match --tags HEAD 06:25:44 fatal: no tag exactly matches '0e938c11adafaf611449ebb2faccd5614f1f8b9b' [Pipeline] } 06:25:44 $ docker exec --env ******** --env ******** eaa8e7e2c1016e9ea3e864df8f6e2b5cd719c22214b02758597d8c1a74ba01fb ssh-agent -k 06:25:44 unset SSH_AUTH_SOCK; 06:25:44 unset SSH_AGENT_PID; 06:25:44 echo Agent pid 17 killed; 06:25:44 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] echo 06:25:44 [edgeXSemver]: exception occurred checking if HEAD is tagged: hudson.AbortException: script returned exit code 128 06:25:44 This usually means this commit has not been tagged. [Pipeline] sshagent 06:25:44 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 06:25:44 [ssh-agent] Looking for ssh-agent implementation... 06:25:45 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 06:25:45 $ docker exec eaa8e7e2c1016e9ea3e864df8f6e2b5cd719c22214b02758597d8c1a74ba01fb ssh-agent 06:25:45 SSH_AUTH_SOCK=/tmp/ssh-veLY1Rc52H3j/agent.46 06:25:45 SSH_AGENT_PID=51 06:25:45 Running ssh-add (command line suppressed) 06:25:45 Identity added: /w/workspace/dgexfoundry_device-sdk-go_PR-620@tmp/private_key_8500160584639405185.key (/w/workspace/dgexfoundry_device-sdk-go_PR-620@tmp/private_key_8500160584639405185.key) 06:25:45 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 06:25:45 + git semver init 06:25:45 # -> Open(): unable to determine branch for HEAD 06:25:45 # $GIT_DIR = /w/workspace/dgexfoundry_device-sdk-go_PR-620/.git 06:25:45 # $GIT_WORK_TREE = /w/workspace/dgexfoundry_device-sdk-go_PR-620 06:25:45 # $SEMVER_REMOTE_NAME = origin 06:25:45 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 06:25:45 # $SEMVER_USER_NAME = edgex-jenkins 06:25:45 # $SEMVER_BRANCH = PR-620 06:25:45 # $SEMVER_TEMP = /tmp/semver-943229700 06:25:45 # git clone --branch semver git@github.com:edgexfoundry/device-sdk-go.git $SEMVER_TEMP 06:25:46 # '/tmp/semver-943229700' -> '/w/workspace/dgexfoundry_device-sdk-go_PR-620/.semver' 06:25:46 # -> Force: false 06:25:46 # $SEMVER_DIR = /w/workspace/dgexfoundry_device-sdk-go_PR-620/.semver [Pipeline] } 06:25:46 $ docker exec --env ******** --env ******** eaa8e7e2c1016e9ea3e864df8f6e2b5cd719c22214b02758597d8c1a74ba01fb ssh-agent -k 06:25:46 unset SSH_AUTH_SOCK; 06:25:46 unset SSH_AGENT_PID; 06:25:46 echo Agent pid 51 killed; 06:25:46 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 06:25:47 + git semver [Pipeline] } 06:25:47 $ docker stop --time=1 eaa8e7e2c1016e9ea3e864df8f6e2b5cd719c22214b02758597d8c1a74ba01fb 06:25:48 $ docker rm -f eaa8e7e2c1016e9ea3e864df8f6e2b5cd719c22214b02758597d8c1a74ba01fb [Pipeline] // withDockerContainer [Pipeline] writeFile [Pipeline] stash 06:25:49 Stashed 46 file(s) [Pipeline] echo 06:25:49 [edgeXSemver]: initialized semver on version 0.0.0 [Pipeline] echo 06:25:49 Archived original version: [0.0.0] [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] parallel [Pipeline] { (Branch: amd64) [Pipeline] { (Branch: arm64) [Pipeline] stage [Pipeline] { (amd64) [Pipeline] stage [Pipeline] { (arm64) [Pipeline] node [Pipeline] node 06:26:05 Still waiting to schedule task 06:26:05 Waiting for next available executor on ‘centos7-docker-4c-2g’ 06:26:05 Still waiting to schedule task 06:26:05 Waiting for next available executor on ‘prd-ubuntu18.04-docker-arm64-4c-16g-3681’ 06:29:30 Running on prd-centos7-docker-4c-2g-3684 in /w/workspace/dgexfoundry_device-sdk-go_PR-620 [Pipeline] { [Pipeline] ws 06:29:30 Running in /w/workspace/device-sdk-go/1 [Pipeline] { [Pipeline] checkout 06:29:36 Running on prd-ubuntu18.04-docker-arm64-4c-16g-3683 in /w/workspace/dgexfoundry_device-sdk-go_PR-620 [Pipeline] { [Pipeline] ws 06:29:36 Running in /w/workspace/device-sdk-go/1 [Pipeline] { [Pipeline] checkout 06:29:38 using credential edgex-jenkins-ssh 06:29:39 Cloning the remote Git repository 06:29:39 Cloning repository git@github.com:edgexfoundry/device-sdk-go.git 06:29:39 > git init /w/workspace/device-sdk-go/1 # timeout=10 06:29:39 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 06:29:39 > git --version # timeout=10 06:29:39 > git --version # 'git version 2.16.5' 06:29:39 using GIT_SSH to set credentials SSH Credentials for GitHub 06:29:39 > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 06:29:41 Merging remotes/origin/master commit 833c05b782f270c396ee40879762f076aaf9331e into PR head commit 0e938c11adafaf611449ebb2faccd5614f1f8b9b 06:29:41 using credential edgex-jenkins-ssh 06:29:40 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 06:29:40 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 06:29:40 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 06:29:40 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 06:29:40 using GIT_SSH to set credentials SSH Credentials for GitHub 06:29:40 > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/620/head:refs/remotes/origin/PR-620 +refs/heads/master:refs/remotes/origin/master # timeout=10 06:29:41 > git config core.sparsecheckout # timeout=10 06:29:41 > git checkout -f 0e938c11adafaf611449ebb2faccd5614f1f8b9b # timeout=10 06:29:41 > git remote # timeout=10 06:29:41 > git config --get remote.origin.url # timeout=10 06:29:41 Cloning the remote Git repository 06:29:41 Merge succeeded, producing 0e938c11adafaf611449ebb2faccd5614f1f8b9b 06:29:41 Checking out Revision 0e938c11adafaf611449ebb2faccd5614f1f8b9b (PR-620) 06:29:41 Cloning repository git@github.com:edgexfoundry/device-sdk-go.git 06:29:41 > git init /w/workspace/device-sdk-go/1 # timeout=10 06:29:41 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 06:29:41 > git --version # timeout=10 06:29:41 > git --version # 'git version 2.17.1' 06:29:41 using GIT_SSH to set credentials SSH Credentials for GitHub 06:29:42 > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 06:29:41 using GIT_SSH to set credentials SSH Credentials for GitHub 06:29:41 > git merge 833c05b782f270c396ee40879762f076aaf9331e # timeout=10 06:29:41 > git rev-parse HEAD^{commit} # timeout=10 06:29:41 > git config core.sparsecheckout # timeout=10 06:29:41 > git checkout -f 0e938c11adafaf611449ebb2faccd5614f1f8b9b # timeout=10 06:29:43 Merging remotes/origin/master commit 833c05b782f270c396ee40879762f076aaf9331e into PR head commit 0e938c11adafaf611449ebb2faccd5614f1f8b9b 06:29:43 Merge succeeded, producing 0e938c11adafaf611449ebb2faccd5614f1f8b9b 06:29:43 Checking out Revision 0e938c11adafaf611449ebb2faccd5614f1f8b9b (PR-620) 06:29:43 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 06:29:43 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 06:29:43 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 06:29:43 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 06:29:43 using GIT_SSH to set credentials SSH Credentials for GitHub 06:29:43 > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/620/head:refs/remotes/origin/PR-620 +refs/heads/master:refs/remotes/origin/master # timeout=10 06:29:43 > git config core.sparsecheckout # timeout=10 06:29:43 > git checkout -f 0e938c11adafaf611449ebb2faccd5614f1f8b9b # timeout=10 06:29:43 > git remote # timeout=10 06:29:43 > git config --get remote.origin.url # timeout=10 06:29:43 using GIT_SSH to set credentials SSH Credentials for GitHub 06:29:43 > git merge 833c05b782f270c396ee40879762f076aaf9331e # timeout=10 06:29:43 > git rev-parse HEAD^{commit} # timeout=10 06:29:43 > git config core.sparsecheckout # timeout=10 06:29:43 > git checkout -f 0e938c11adafaf611449ebb2faccd5614f1f8b9b # timeout=10 06:29:45 Commit message: "build(deps): bump github.com/edgexfoundry/go-mod-bootstrap" 06:29:45 > git --version # timeout=10 06:29:45 > git --version # 'git version 2.16.5' 06:29:45 fatal: bad object ad104866bbc8c98dca93091e1a8abeb835fd4e4d [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] echo 06:29:47 ========================================================= 06:29:47 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine] 06:29:47 ========================================================= [Pipeline] isUnix [Pipeline] sh 06:29:48 + 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:29:48 Commit message: "build(deps): bump github.com/edgexfoundry/go-mod-bootstrap" 06:29:48 > git --version # timeout=10 06:29:48 > git --version # 'git version 2.17.1' 06:29:48 fatal: bad object ad104866bbc8c98dca93091e1a8abeb835fd4e4d 06:29:48 Sending build context to Docker daemon 3.531MB 06:29:48 Step 1/8 : ARG BASE=golang:1.15-alpine 06:29:48 Step 2/8 : FROM ${BASE} 06:29:48 1.15-alpine: Pulling from edgex-devops/edgex-golang-base 06:29:48 df20fa9351a1: Pulling fs layer 06:29:48 ed8968b2872e: Pulling fs layer 06:29:48 a92cc7c5fd73: Pulling fs layer 06:29:48 e871e8e8d7a9: Pulling fs layer 06:29:48 e73272ec9a57: Pulling fs layer 06:29:48 1e910a182e73: Pulling fs layer 06:29:48 4e634b169226: Pulling fs layer 06:29:48 e73272ec9a57: Waiting 06:29:48 1e910a182e73: Waiting 06:29:48 4e634b169226: Waiting 06:29:48 e871e8e8d7a9: Waiting 06:29:48 a92cc7c5fd73: Verifying Checksum 06:29:48 a92cc7c5fd73: Download complete [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) 06:29:49 ed8968b2872e: Verifying Checksum 06:29:49 ed8968b2872e: Download complete 06:29:49 e73272ec9a57: Verifying Checksum 06:29:49 e73272ec9a57: Download complete [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] echo 06:29:50 ========================================================= 06:29:50 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine] 06:29:50 ========================================================= [Pipeline] isUnix [Pipeline] sh 06:29:50 1e910a182e73: Download complete 06:29:50 df20fa9351a1: Verifying Checksum 06:29:50 df20fa9351a1: Download complete 06:29:50 df20fa9351a1: Pull complete 06:29:51 + 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:29:51 ed8968b2872e: Pull complete 06:29:52 a92cc7c5fd73: Pull complete 06:29:52 Sending build context to Docker daemon 3.531MB 06:29:52 Step 1/8 : ARG BASE=golang:1.15-alpine 06:29:52 Step 2/8 : FROM ${BASE} 06:29:52 1.15-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 06:29:52 b538f80385f9: Pulling fs layer 06:29:52 74f711af9a0d: Pulling fs layer 06:29:52 99f96fe45779: Pulling fs layer 06:29:52 8529a6b9a6be: Pulling fs layer 06:29:52 45590311c82a: Pulling fs layer 06:29:52 69ca0ff8b7b3: Pulling fs layer 06:29:52 209524e5b208: Pulling fs layer 06:29:52 8529a6b9a6be: Waiting 06:29:52 45590311c82a: Waiting 06:29:52 69ca0ff8b7b3: Waiting 06:29:52 209524e5b208: Waiting 06:29:52 99f96fe45779: Verifying Checksum 06:29:52 99f96fe45779: Download complete 06:29:52 74f711af9a0d: Verifying Checksum 06:29:52 74f711af9a0d: Download complete 06:29:52 45590311c82a: Verifying Checksum 06:29:52 45590311c82a: Download complete 06:29:53 69ca0ff8b7b3: Verifying Checksum 06:29:53 69ca0ff8b7b3: Download complete 06:29:53 b538f80385f9: Verifying Checksum 06:29:53 b538f80385f9: Download complete 06:29:54 b538f80385f9: Pull complete 06:29:54 74f711af9a0d: Pull complete 06:29:54 99f96fe45779: Pull complete 06:29:55 209524e5b208: Verifying Checksum 06:29:55 209524e5b208: Download complete 06:29:57 8529a6b9a6be: Verifying Checksum 06:29:57 8529a6b9a6be: Download complete 06:29:58 4e634b169226: Download complete 06:29:58 e871e8e8d7a9: Verifying Checksum 06:29:58 e871e8e8d7a9: Download complete 06:30:08 8529a6b9a6be: Pull complete 06:30:08 45590311c82a: Pull complete 06:30:08 69ca0ff8b7b3: Pull complete 06:30:11 e871e8e8d7a9: Pull complete 06:30:11 e73272ec9a57: Pull complete 06:30:11 1e910a182e73: Pull complete 06:30:12 209524e5b208: Pull complete 06:30:12 Digest: sha256:ed1c815e5e6ec4cca07509da726365701584b6c3e8c7d74a761ef336e5f8fb68 06:30:12 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine 06:30:12 ---> 5bddaf1c2fca 06:30:12 Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 06:30:15 ---> Running in 022eec610f1f 06:30:15 Removing intermediate container 022eec610f1f 06:30:15 ---> b15513d59645 06:30:15 Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 06:30:15 ---> Running in 8afa4787f1dd 06:30:16 4e634b169226: Pull complete 06:30:16 Digest: sha256:0b802f5dd80e2ad8551c53c724486b1db3b79f86ac5ae7c7a2db79f17045b642 06:30:17 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine 06:30:17 ---> f7629b54cfaa 06:30:17 Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 06:30:17 ---> Running in b0ef246a6081 06:30:17 Removing intermediate container b0ef246a6081 06:30:17 ---> 220a57ebae26 06:30:17 Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 06:30:17 ---> Running in 6dce35901581 06:30:18 Removing intermediate container 8afa4787f1dd 06:30:18 ---> d7387a2f9202 06:30:18 Step 5/8 : RUN apk add --no-cache make git 06:30:18 ---> Running in f98f08d2520b 06:30:19 Removing intermediate container 6dce35901581 06:30:19 ---> cf1a68320106 06:30:19 Step 5/8 : RUN apk add --no-cache make git 06:30:19 ---> Running in 21f86280c541 06:30:19 fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz 06:30:20 fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz 06:30:20 fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz 06:30:21 fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz 06:30:22 OK: 142 MiB in 39 packages 06:30:22 OK: 166 MiB in 39 packages 06:30:23 Removing intermediate container 21f86280c541 06:30:23 ---> d57f8b0cef95 06:30:23 Step 6/8 : WORKDIR /device-sdk-go 06:30:23 ---> Running in 72bc82b849cf 06:30:23 Removing intermediate container 72bc82b849cf 06:30:23 ---> a7855c6f3d1a 06:30:23 Step 7/8 : COPY . . 06:30:23 Removing intermediate container f98f08d2520b 06:30:23 ---> 3637201baf0d 06:30:23 Step 6/8 : WORKDIR /device-sdk-go 06:30:23 ---> Running in 1b42cb8c5684 06:30:24 Removing intermediate container 1b42cb8c5684 06:30:24 ---> e76cc31ce607 06:30:24 Step 7/8 : COPY . . 06:30:24 ---> b753d9e358a4 06:30:24 Step 8/8 : RUN go mod download 06:30:24 ---> Running in 257f5cdb1664 06:30:25 ---> 7c48bad5792b 06:30:25 Step 8/8 : RUN go mod download 06:30:25 ---> Running in 04bc2cd2de76 06:30:47 Removing intermediate container 257f5cdb1664 06:30:47 ---> 0b2a9d333a80 06:30:47 Successfully built 0b2a9d333a80 06:30:47 Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh 06:30:47 Removing intermediate container 04bc2cd2de76 06:30:47 ---> c4e62f244326 06:30:47 Successfully built c4e62f244326 06:30:47 Successfully tagged ci-base-image-arm64:latest 06:30:47 + docker inspect -f . ci-base-image-x86_64 [Pipeline] isUnix [Pipeline] sh 06:30:48 . [Pipeline] withDockerContainer 06:30:48 + docker inspect -f . ci-base-image-arm64 06:30:48 . 06:30:48 prd-centos7-docker-4c-2g-3684 does not seem to be running inside a container 06:30:48 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/1 -v /w/workspace/device-sdk-go/1:/w/workspace/device-sdk-go/1:rw,z -v /w/workspace/device-sdk-go/1@tmp:/w/workspace/device-sdk-go/1@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 ******** ci-base-image-x86_64 cat 06:30:49 $ docker top 78b7bcda393a56657b5e6f6597105af781c4f1f8483eff96719594feac5cbacc -eo pid,comm [Pipeline] { [Pipeline] withDockerContainer 06:30:50 prd-ubuntu18.04-docker-arm64-4c-16g-3683 does not seem to be running inside a container 06:30:50 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/1 -v /w/workspace/device-sdk-go/1:/w/workspace/device-sdk-go/1:rw,z -v /w/workspace/device-sdk-go/1@tmp:/w/workspace/device-sdk-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 06:30:52 $ docker top 40b94307c9e83b33f149666513bfb1c5b3a4cb60647d2f9b06f020747ce41e36 -eo pid,comm [Pipeline] { [Pipeline] sh [Pipeline] sh 06:30:53 + go version 06:30:53 go version go1.15.2 linux/amd64 [Pipeline] } 06:30:54 $ docker stop --time=1 78b7bcda393a56657b5e6f6597105af781c4f1f8483eff96719594feac5cbacc 06:30:54 + go version 06:30:54 go version go1.15.2 linux/arm64 06:30:55 $ docker rm -f 78b7bcda393a56657b5e6f6597105af781c4f1f8483eff96719594feac5cbacc [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] } 06:30:56 $ docker stop --time=1 40b94307c9e83b33f149666513bfb1c5b3a4cb60647d2f9b06f020747ce41e36 06:30:58 $ docker rm -f 40b94307c9e83b33f149666513bfb1c5b3a4cb60647d2f9b06f020747ce41e36 [Pipeline] // script [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] } [Pipeline] // stage [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [Pipeline] isUnix [Pipeline] sh 06:30:59 + docker inspect -f . ci-base-image-x86_64 06:30:59 . 06:30:59 + docker inspect -f . ci-base-image-arm64 06:30:59 . [Pipeline] withDockerContainer 06:30:59 prd-centos7-docker-4c-2g-3684 does not seem to be running inside a container 06:31:00 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/1 -v /w/workspace/device-sdk-go/1:/w/workspace/device-sdk-go/1:rw,z -v /w/workspace/device-sdk-go/1@tmp:/w/workspace/device-sdk-go/1@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 ******** ci-base-image-x86_64 cat 06:31:00 $ docker top 3c55d8cb9ace3ddacd594bf0beaf888e57158ed1b37c6352517734f0e22cbfb9 -eo pid,comm [Pipeline] { [Pipeline] withDockerContainer 06:31:01 prd-ubuntu18.04-docker-arm64-4c-16g-3683 does not seem to be running inside a container 06:31:01 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/1 -v /w/workspace/device-sdk-go/1:/w/workspace/device-sdk-go/1:rw,z -v /w/workspace/device-sdk-go/1@tmp:/w/workspace/device-sdk-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 06:31:03 $ docker top ef682d8c72cff8ea0eb6ca244cd1dfcfd5c2cdfdcb31508892f273268973e6f2 -eo pid,comm [Pipeline] { [Pipeline] sh [Pipeline] sh 06:31:04 + make test 06:31:04 GO111MODULE=on go test -race -coverprofile=coverage.out ./... 06:31:05 + make test 06:31:05 GO111MODULE=on go test -race -coverprofile=coverage.out ./... 06:31:20 ? github.com/edgexfoundry/device-sdk-go [no test files] 06:31:27 ? github.com/edgexfoundry/device-sdk-go [no test files] 06:31:53 ? github.com/edgexfoundry/device-sdk-go/example/cmd/device-simple [no test files] 06:31:53 ? github.com/edgexfoundry/device-sdk-go/example/driver [no test files] 06:31:53 ? github.com/edgexfoundry/device-sdk-go/internal/autodiscovery [no test files] 06:31:53 ok github.com/edgexfoundry/device-sdk-go/internal/autoevent 0.061s coverage: 21.6% of statements 06:31:53 ok github.com/edgexfoundry/device-sdk-go/internal/cache 0.599s coverage: 97.1% of statements 06:32:14 ? github.com/edgexfoundry/device-sdk-go/example/cmd/device-simple [no test files] 06:32:14 ? github.com/edgexfoundry/device-sdk-go/example/driver [no test files] 06:32:14 ? github.com/edgexfoundry/device-sdk-go/internal/autodiscovery [no test files] 06:32:14 ok github.com/edgexfoundry/device-sdk-go/internal/autoevent 0.194s coverage: 21.6% of statements 06:32:14 ok github.com/edgexfoundry/device-sdk-go/internal/cache 1.340s coverage: 97.1% of statements 06:32:25 ok github.com/edgexfoundry/device-sdk-go/internal/clients 30.070s coverage: 9.4% of statements 06:32:25 ok github.com/edgexfoundry/device-sdk-go/internal/common 0.141s coverage: 21.9% of statements 06:32:25 ? github.com/edgexfoundry/device-sdk-go/internal/container [no test files] 06:32:25 ok github.com/edgexfoundry/device-sdk-go/internal/controller 0.258s coverage: 40.3% of statements 06:32:25 ? github.com/edgexfoundry/device-sdk-go/internal/controller/correlation [no test files] 06:32:25 ok github.com/edgexfoundry/device-sdk-go/internal/handler 0.391s coverage: 65.4% of statements 06:32:25 ? github.com/edgexfoundry/device-sdk-go/internal/handler/callback [no test files] 06:32:25 ? github.com/edgexfoundry/device-sdk-go/internal/mock [no test files] 06:32:25 ? github.com/edgexfoundry/device-sdk-go/internal/provision [no test files] 06:32:25 ? github.com/edgexfoundry/device-sdk-go/internal/telemetry [no test files] 06:32:25 ok github.com/edgexfoundry/device-sdk-go/internal/transformer 0.228s coverage: 52.6% of statements 06:32:25 ? github.com/edgexfoundry/device-sdk-go/internal/v2/controller/http [no test files] 06:32:25 ok github.com/edgexfoundry/device-sdk-go/pkg/models 4.025s coverage: 68.9% of statements 06:32:25 ? github.com/edgexfoundry/device-sdk-go/pkg/service [no test files] 06:32:25 ? github.com/edgexfoundry/device-sdk-go/pkg/startup [no test files] 06:32:25 GO111MODULE=on go vet ./... 06:32:41 gofmt -l . 06:32:41 [ "`gofmt -l .`" = "" ] 06:32:41 ./bin/test-attribution-txt.sh 06:32:41 ./bin/test-go-mod-tidy.sh [Pipeline] stash 06:32:42 Stashed 1 file(s) [Pipeline] } 06:32:42 $ docker stop --time=1 3c55d8cb9ace3ddacd594bf0beaf888e57158ed1b37c6352517734f0e22cbfb9 06:32:44 $ docker rm -f 3c55d8cb9ace3ddacd594bf0beaf888e57158ed1b37c6352517734f0e22cbfb9 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 06:32:46 + sudo chown -R jenkins:jenkins . [Pipeline] sh 06:32:46 + ls -al . 06:32:46 total 192 06:32:46 drwxrwxr-x. 11 jenkins jenkins 4096 Oct 6 06:32 . 06:32:46 drwxrwxr-x. 4 jenkins jenkins 28 Oct 6 06:29 .. 06:32:46 drwxrwxr-x. 2 jenkins jenkins 64 Oct 6 06:29 bin 06:32:46 -rw-r--r--. 1 jenkins jenkins 111041 Oct 6 06:32 coverage.out 06:32:46 -rw-rw-r--. 1 jenkins jenkins 936 Oct 6 06:29 Dockerfile.build 06:32:46 -rw-rw-r--. 1 jenkins jenkins 140 Oct 6 06:29 .dockerignore 06:32:46 drwxrwxr-x. 4 jenkins jenkins 48 Oct 6 06:29 example 06:32:46 drwxrwxr-x. 8 jenkins jenkins 179 Oct 6 06:29 .git 06:32:46 drwxrwxr-x. 2 jenkins jenkins 60 Oct 6 06:29 .github 06:32:46 -rw-rw-r--. 1 jenkins jenkins 138 Oct 6 06:29 .gitignore 06:32:46 -rw-r--r--. 1 jenkins jenkins 517 Oct 6 06:32 go.mod 06:32:46 -rw-r--r--. 1 jenkins jenkins 13549 Oct 6 06:32 go.sum 06:32:46 drwxrwxr-x. 15 jenkins jenkins 211 Oct 6 06:29 internal 06:32:46 -rw-rw-r--. 1 jenkins jenkins 901 Oct 6 06:29 Jenkinsfile 06:32:46 -rw-rw-r--. 1 jenkins jenkins 11341 Oct 6 06:29 LICENSE 06:32:46 -rw-rw-r--. 1 jenkins jenkins 1013 Oct 6 06:29 Makefile 06:32:46 drwxrwxr-x. 4 jenkins jenkins 26 Oct 6 06:29 openapi 06:32:46 drwxrwxr-x. 5 jenkins jenkins 50 Oct 6 06:29 pkg 06:32:46 -rw-rw-r--. 1 jenkins jenkins 5897 Oct 6 06:29 README.md 06:32:46 -rw-rw-r--. 1 jenkins jenkins 4291 Oct 6 06:29 RELEASE-NOTES.txt 06:32:46 drwxrwxr-x. 3 jenkins jenkins 58 Oct 6 06:29 .semver 06:32:46 drwxrwxr-x. 4 jenkins jenkins 54 Oct 6 06:29 snap 06:32:46 -rw-rw-r--. 1 jenkins jenkins 5 Oct 6 06:25 VERSION 06:32:46 -rw-rw-r--. 1 jenkins jenkins 222 Oct 6 06:29 version.go [Pipeline] isUnix [Pipeline] sh 06:32:46 ok github.com/edgexfoundry/device-sdk-go/internal/clients 30.130s coverage: 9.4% of statements 06:32:46 ok github.com/edgexfoundry/device-sdk-go/internal/common 0.126s coverage: 21.9% of statements 06:32:46 ? github.com/edgexfoundry/device-sdk-go/internal/container [no test files] 06:32:46 ok github.com/edgexfoundry/device-sdk-go/internal/controller 0.620s coverage: 40.3% of statements 06:32:46 ? github.com/edgexfoundry/device-sdk-go/internal/controller/correlation [no test files] 06:32:46 ok github.com/edgexfoundry/device-sdk-go/internal/handler 0.863s coverage: 65.4% of statements 06:32:46 ? github.com/edgexfoundry/device-sdk-go/internal/handler/callback [no test files] 06:32:46 ? github.com/edgexfoundry/device-sdk-go/internal/mock [no test files] 06:32:46 ? github.com/edgexfoundry/device-sdk-go/internal/provision [no test files] 06:32:46 ? github.com/edgexfoundry/device-sdk-go/internal/telemetry [no test files] 06:32:46 ok github.com/edgexfoundry/device-sdk-go/internal/transformer 0.232s coverage: 52.6% of statements 06:32:46 ? github.com/edgexfoundry/device-sdk-go/internal/v2/controller/http [no test files] 06:32:46 ok github.com/edgexfoundry/device-sdk-go/pkg/models 5.996s coverage: 68.9% of statements 06:32:46 ? github.com/edgexfoundry/device-sdk-go/pkg/service [no test files] 06:32:46 ? github.com/edgexfoundry/device-sdk-go/pkg/startup [no test files] 06:32:46 GO111MODULE=on go vet ./... 06:32:47 + 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=0e938c11adafaf611449ebb2faccd5614f1f8b9b --label arch=amd64 --label version=0.0.0 . 06:32:47 Sending build context to Docker daemon 3.642MB 06:32:47 Step 1/24 : ARG BASE=golang:1.15-alpine 06:32:47 Step 2/24 : FROM ${BASE} AS builder 06:32:47 ---> 0b2a9d333a80 06:32:47 Step 3/24 : ARG MAKE='make build' 06:32:48 ---> Running in d35730029302 06:32:48 Removing intermediate container d35730029302 06:32:48 ---> 8e1a056825d5 06:32:48 Step 4/24 : WORKDIR /device-sdk-go 06:32:48 ---> Running in 61aab1e09fa0 06:32:48 Removing intermediate container 61aab1e09fa0 06:32:48 ---> 098378a67ee7 06:32:48 Step 5/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 06:32:48 ---> Running in c6f41ebd69de 06:32:48 Removing intermediate container c6f41ebd69de 06:32:48 ---> e8ad78fcb74d 06:32:48 Step 6/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 06:32:48 ---> Running in 9f72d891362d 06:32:50 Removing intermediate container 9f72d891362d 06:32:50 ---> 34e8a673d668 06:32:50 Step 7/24 : RUN apk add --update --no-cache make git 06:32:50 ---> Running in d57973a1ed52 06:32:51 fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz 06:32:52 fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz 06:32:53 OK: 166 MiB in 39 packages 06:32:53 Removing intermediate container d57973a1ed52 06:32:53 ---> e74030816da4 06:32:53 Step 8/24 : COPY . . 06:32:55 ---> f88738057c7d 06:32:55 Step 9/24 : RUN ${MAKE} 06:32:55 ---> Running in 79188208a184 06:32:56 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:33:12 CGO_ENABLED=0 GO111MODULE=on go install -tags=safe 06:33:15 Removing intermediate container 79188208a184 06:33:15 ---> 4f388a031f94 06:33:15 Step 10/24 : FROM scratch 06:33:15 ---> 06:33:15 Step 11/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 06:33:15 ---> Running in ef1191d80798 06:33:15 Removing intermediate container ef1191d80798 06:33:15 ---> ab6e950a8810 06:33:15 Step 12/24 : ENV APP_PORT=49990 06:33:15 ---> Running in 413aa9e4194f 06:33:15 Removing intermediate container 413aa9e4194f 06:33:15 ---> bccd8d696cdb 06:33:15 Step 13/24 : EXPOSE $APP_PORT 06:33:15 ---> Running in 3a8b5e3884b5 06:33:16 Removing intermediate container 3a8b5e3884b5 06:33:16 ---> 7f391d1bca38 06:33:16 Step 14/24 : WORKDIR / 06:33:16 ---> Running in a623c10a931a 06:33:16 Removing intermediate container a623c10a931a 06:33:16 ---> 572000917a34 06:33:16 Step 15/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /usr/local/bin/device-simple 06:33:17 ---> a3a99bfe51ec 06:33:17 Step 16/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/configuration.toml /res/configuration.toml 06:33:17 ---> 767d7c62b135 06:33:17 Step 17/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/Simple-Driver.yaml /res/Simple-Driver.yaml 06:33:17 ---> 217f674f465e 06:33:17 Step 18/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/on.png /res/on.png 06:33:18 ---> ba83922862de 06:33:18 Step 19/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/off.jpg /res/off.jpg 06:33:18 ---> 6d82eb24d48f 06:33:18 Step 20/24 : ENTRYPOINT ["/usr/local/bin/device-simple"] 06:33:18 ---> Running in f459b18c2887 06:33:19 Removing intermediate container f459b18c2887 06:33:19 ---> 7d2726a72718 06:33:19 Step 21/24 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] 06:33:19 ---> Running in bab9cbf36a45 06:33:19 gofmt -l . 06:33:19 [ "`gofmt -l .`" = "" ] 06:33:19 ./bin/test-attribution-txt.sh 06:33:19 ./bin/test-go-mod-tidy.sh [Pipeline] stash 06:33:19 Warning: overwriting stash ‘coverage-report’ 06:33:19 Removing intermediate container bab9cbf36a45 06:33:19 ---> 1e33ac3d4b0a 06:33:19 Step 22/24 : LABEL arch=amd64 06:33:19 ---> Running in af4b8d06f06b 06:33:19 Removing intermediate container af4b8d06f06b 06:33:19 ---> 7144aacfdc18 06:33:19 Step 23/24 : LABEL git_sha=0e938c11adafaf611449ebb2faccd5614f1f8b9b 06:33:19 ---> Running in 55945de3dfee 06:33:20 Removing intermediate container 55945de3dfee 06:33:20 ---> c0d2902f5ef3 06:33:20 Step 24/24 : LABEL version=0.0.0 06:33:20 ---> Running in 09424a0ff6bf 06:33:20 Stashed 1 file(s) [Pipeline] } 06:33:20 Removing intermediate container 09424a0ff6bf 06:33:20 ---> 371034c3bb87 06:33:20 [Warning] One or more build-args [ARCH] were not consumed 06:33:20 Successfully built 371034c3bb87 06:33:20 Successfully tagged docker-device-sdk-simple:latest 06:33:20 $ docker stop --time=1 ef682d8c72cff8ea0eb6ca244cd1dfcfd5c2cdfdcb31508892f273268973e6f2 06:33:22 $ docker rm -f ef682d8c72cff8ea0eb6ca244cd1dfcfd5c2cdfdcb31508892f273268973e6f2 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) [Pipeline] stage [Pipeline] { (Build) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) [Pipeline] script [Pipeline] { [Pipeline] sh Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage 06:33:24 + sudo chown -R jenkins:jenkins . [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] sh [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws 06:33:25 + ls -al . 06:33:25 total 232 06:33:25 drwxrwxr-x 11 jenkins jenkins 4096 Oct 6 06:33 . 06:33:25 drwxrwxr-x 4 jenkins jenkins 4096 Oct 6 06:29 .. 06:33:25 -rw-rw-r-- 1 jenkins jenkins 140 Oct 6 06:29 .dockerignore 06:33:25 drwxrwxr-x 8 jenkins jenkins 4096 Oct 6 06:29 .git 06:33:25 drwxrwxr-x 2 jenkins jenkins 4096 Oct 6 06:29 .github 06:33:25 -rw-rw-r-- 1 jenkins jenkins 138 Oct 6 06:29 .gitignore 06:33:25 drwxrwxr-x 3 jenkins jenkins 4096 Oct 6 06:29 .semver 06:33:25 -rw-rw-r-- 1 jenkins jenkins 936 Oct 6 06:29 Dockerfile.build 06:33:25 -rw-rw-r-- 1 jenkins jenkins 901 Oct 6 06:29 Jenkinsfile 06:33:25 -rw-rw-r-- 1 jenkins jenkins 11341 Oct 6 06:29 LICENSE 06:33:25 -rw-rw-r-- 1 jenkins jenkins 1013 Oct 6 06:29 Makefile 06:33:25 -rw-rw-r-- 1 jenkins jenkins 5897 Oct 6 06:29 README.md 06:33:25 -rw-rw-r-- 1 jenkins jenkins 4291 Oct 6 06:29 RELEASE-NOTES.txt 06:33:25 -rw-rw-r-- 1 jenkins jenkins 5 Oct 6 06:25 VERSION 06:33:25 drwxrwxr-x 2 jenkins jenkins 4096 Oct 6 06:29 bin 06:33:25 -rw-r--r-- 1 jenkins jenkins 111041 Oct 6 06:32 coverage.out 06:33:25 drwxrwxr-x 4 jenkins jenkins 4096 Oct 6 06:29 example 06:33:25 -rw-r--r-- 1 jenkins jenkins 517 Oct 6 06:33 go.mod 06:33:25 -rw-r--r-- 1 jenkins jenkins 13549 Oct 6 06:33 go.sum 06:33:25 drwxrwxr-x 15 jenkins jenkins 4096 Oct 6 06:29 internal 06:33:25 drwxrwxr-x 4 jenkins jenkins 4096 Oct 6 06:29 openapi 06:33:25 drwxrwxr-x 5 jenkins jenkins 4096 Oct 6 06:29 pkg 06:33:25 drwxrwxr-x 4 jenkins jenkins 4096 Oct 6 06:29 snap 06:33:25 -rw-rw-r-- 1 jenkins jenkins 222 Oct 6 06:29 version.go [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] isUnix [Pipeline] sh 06:33:26 + 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=0e938c11adafaf611449ebb2faccd5614f1f8b9b --label arch=arm64 --label version=0.0.0 . 06:33:26 Sending build context to Docker daemon 3.642MB 06:33:26 Step 1/24 : ARG BASE=golang:1.15-alpine 06:33:26 Step 2/24 : FROM ${BASE} AS builder 06:33:26 ---> c4e62f244326 06:33:26 Step 3/24 : ARG MAKE='make build' 06:33:27 ---> Running in 4c0781c7dfa4 06:33:27 Removing intermediate container 4c0781c7dfa4 06:33:27 ---> 2ddc5cc784dd 06:33:27 Step 4/24 : WORKDIR /device-sdk-go 06:33:27 ---> Running in 000b12bc84ef 06:33:28 Removing intermediate container 000b12bc84ef 06:33:28 ---> 6aed32e18537 06:33:28 Step 5/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 06:33:28 ---> Running in ea957e66ac0d 06:33:28 Removing intermediate container ea957e66ac0d 06:33:28 ---> 97e5701286f2 06:33:28 Step 6/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 06:33:28 ---> Running in 10c3f90b1609 06:33:32 Removing intermediate container 10c3f90b1609 06:33:32 ---> 234215d2e3dd 06:33:32 Step 7/24 : RUN apk add --update --no-cache make git 06:33:32 ---> Running in 2b6fc39a9526 06:33:33 fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz 06:33:34 fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz 06:33:35 OK: 142 MiB in 39 packages 06:33:36 Removing intermediate container 2b6fc39a9526 06:33:36 ---> 51314eac22b7 06:33:36 Step 8/24 : COPY . . 06:33:37 ---> f291430551c6 06:33:37 Step 9/24 : RUN ${MAKE} 06:33:38 ---> Running in 9356696b3efe 06:33:39 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:34:06 CGO_ENABLED=0 GO111MODULE=on go install -tags=safe 06:34:09 Removing intermediate container 9356696b3efe 06:34:09 ---> 51aeb2fc6b7e 06:34:09 Step 10/24 : FROM scratch 06:34:09 ---> 06:34:09 Step 11/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 06:34:09 ---> Running in d5ac49895835 06:34:09 Removing intermediate container d5ac49895835 06:34:09 ---> f32cb2cbce90 06:34:09 Step 12/24 : ENV APP_PORT=49990 06:34:09 ---> Running in 0883dc86c972 06:34:09 Removing intermediate container 0883dc86c972 06:34:09 ---> 55444984d20c 06:34:09 Step 13/24 : EXPOSE $APP_PORT 06:34:10 ---> Running in 0dbfa5b44b62 06:34:10 Removing intermediate container 0dbfa5b44b62 06:34:10 ---> 6a4cf6cece59 06:34:10 Step 14/24 : WORKDIR / 06:34:10 ---> Running in 24e93bf6be9b 06:34:11 Removing intermediate container 24e93bf6be9b 06:34:11 ---> e599ec2da1ff 06:34:11 Step 15/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /usr/local/bin/device-simple 06:34:12 ---> 82273e7f6e21 06:34:12 Step 16/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/configuration.toml /res/configuration.toml 06:34:13 ---> f228cb2d29ce 06:34:13 Step 17/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/Simple-Driver.yaml /res/Simple-Driver.yaml 06:34:13 ---> 40cce5d03363 06:34:13 Step 18/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/on.png /res/on.png 06:34:14 ---> 14deebbe9fc1 06:34:14 Step 19/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/off.jpg /res/off.jpg 06:34:15 ---> 517cd7edc630 06:34:15 Step 20/24 : ENTRYPOINT ["/usr/local/bin/device-simple"] 06:34:15 ---> Running in 039211b1c39e 06:34:16 Removing intermediate container 039211b1c39e 06:34:16 ---> f9658eeb0e67 06:34:16 Step 21/24 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] 06:34:16 ---> Running in d55b501fef4e 06:34:16 Removing intermediate container d55b501fef4e 06:34:16 ---> 8fc110a32217 06:34:16 Step 22/24 : LABEL arch=arm64 06:34:16 ---> Running in f9aea9c7c9c3 06:34:17 Removing intermediate container f9aea9c7c9c3 06:34:17 ---> 00c330f87988 06:34:17 Step 23/24 : LABEL git_sha=0e938c11adafaf611449ebb2faccd5614f1f8b9b 06:34:17 ---> Running in b3951741c132 06:34:17 Removing intermediate container b3951741c132 06:34:17 ---> b9c63eea00cc 06:34:17 Step 24/24 : LABEL version=0.0.0 06:34:18 ---> Running in 592b19f4589b 06:34:18 Removing intermediate container 592b19f4589b 06:34:18 ---> f855665fefab 06:34:18 [Warning] One or more build-args [ARCH] were not consumed 06:34:18 Successfully built f855665fefab 06:34:18 Successfully tagged docker-device-sdk-simple-arm64:latest [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) [Pipeline] unstash [Pipeline] wrap 06:34:21 provisioning config files... 06:34:21 copy managed file [device-sdk-go-codecov-token] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-620@tmp/config8527699291814258818tmp [Pipeline] { [Pipeline] sh 06:34:22 + set +x 06:34:22 + curl -s https://codecov.io/bash 06:34:22 + bash -s -- 06:34:22 06:34:22 _____ _ 06:34:22 / ____| | | 06:34:22 | | ___ __| | ___ ___ _____ __ 06:34:22 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 06:34:22 | |___| (_) | (_| | __/ (_| (_) \ V / 06:34:22 \_____\___/ \__,_|\___|\___\___/ \_/ 06:34:22 Bash-20200917-4e8f14b 06:34:22 06:34:22 06:34:22 ==> Jenkins CI detected. 06:34:22 project root: . 06:34:22 --> token set from env 06:34:22 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 06:34:22 ==> Running gcov in . (disable via -X gcov) 06:34:22 ==> Python coveragepy not found 06:34:22 ==> Searching for coverage reports in: 06:34:22 + . 06:34:22 -> Found 1 reports 06:34:22 ==> Detecting git/mercurial file structure 06:34:22 ==> Reading reports 06:34:22 + ./coverage.out bytes=111041 06:34:22 ==> Appending adjustments 06:34:22 https://docs.codecov.io/docs/fixing-reports 06:34:22 + Found adjustments 06:34:22 ==> Gzipping contents 06:34:22 ==> Uploading reports 06:34:22 url: https://codecov.io 06:34:22 query: branch=PR-620&commit=0e938c11adafaf611449ebb2faccd5614f1f8b9b&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-620%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=620&job=&cmd_args= 06:34:22 -> Pinging Codecov 06:34:22 https://codecov.io/upload/v4?package=bash-20200917-4e8f14b&token=secret&branch=PR-620&commit=0e938c11adafaf611449ebb2faccd5614f1f8b9b&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-620%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=620&job=&cmd_args= 06:34:41 -> Uploading to 06:34:41 https://storage.googleapis.com/codecov/v4/raw/2020-10-06/7E55EF52A471D76F132DFD9A03CDDE97/0e938c11adafaf611449ebb2faccd5614f1f8b9b/ba7d428e-5d82-41a6-be35-0cf0a711db49.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EQX6OZVJGHKK3633AAFGLBUCOOATRACRQRQF6HMSMLYUP6EAD6XSWAAY%2F20201006%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20201006T063440Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=808c9d98fda64ff94a32070ce347ef3d84a2db9ff13992ebb896f28d5329b0f0 06:34:41 % Total % Received % Xferd Average Speed Time Time Time Current 06:34:41 Dload Upload Total Spent Left Speed 06:34:41 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 18345 0 0 100 18345 0 39283 --:--:-- --:--:-- --:--:-- 39366 06:34:41 -> View reports at https://codecov.io/github/edgexfoundry/device-sdk-go/commit/0e938c11adafaf611449ebb2faccd5614f1f8b9b [Pipeline] } 06:34:41 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 06:34:44 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 06:34:45 ---> package-listing.sh 06:34:45 ++ facter osfamily 06:34:45 ++ tr '[:upper:]' '[:lower:]' 06:34:45 + OS_FAMILY=redhat 06:34:45 + workspace=/w/workspace/dgexfoundry_device-sdk-go_PR-620 06:34:45 + START_PACKAGES=/tmp/packages_start.txt 06:34:45 + END_PACKAGES=/tmp/packages_end.txt 06:34:45 + DIFF_PACKAGES=/tmp/packages_diff.txt 06:34:45 + PACKAGES=/tmp/packages_start.txt 06:34:45 + '[' /w/workspace/dgexfoundry_device-sdk-go_PR-620 ']' 06:34:45 + PACKAGES=/tmp/packages_end.txt 06:34:45 + case "${OS_FAMILY}" in 06:34:45 + rpm -qa 06:34:45 + sort 06:34:49 + '[' -f /tmp/packages_start.txt ']' 06:34:49 + '[' -f /tmp/packages_end.txt ']' 06:34:49 + diff /tmp/packages_start.txt /tmp/packages_end.txt 06:34:49 + '[' /w/workspace/dgexfoundry_device-sdk-go_PR-620 ']' 06:34:49 + mkdir -p /w/workspace/dgexfoundry_device-sdk-go_PR-620/archives/ 06:34:49 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/dgexfoundry_device-sdk-go_PR-620/archives/ [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 06:34:50 provisioning config files... 06:34:50 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-620@tmp/config1057394011943774673tmp [Pipeline] { [Pipeline] echo 06:34:50 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 06:34:51 ---> create-netrc.sh [Pipeline] } 06:34:51 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] echo 06:34:51 Running shell/python-tools-install.sh [Pipeline] libraryResource [Pipeline] sh 06:34:51 ---> python-tools-install.sh 06:34:51 Generating Requirements File 06:36:00 Python 3.6.8 06:36:00 pip 20.2.3 from /home/jenkins/.local/lib/python3.6/site-packages/pip (python 3.6) 06:36:00 appdirs==1.4.3 06:36:00 argcomplete==1.12.1 06:36:00 aspy.yaml==1.3.0 06:36:00 attrs==19.3.0 06:36:00 Babel==2.8.0 06:36:00 beautifulsoup4==4.8.2 06:36:00 boto3==1.11.6 06:36:00 botocore==1.14.6 06:36:00 bs4==0.0.1 06:36:00 cachetools==4.1.1 06:36:00 certifi==2019.11.28 06:36:00 cffi==1.14.3 06:36:00 cfgv==2.0.1 06:36:00 chardet==3.0.4 06:36:00 click==7.1 06:36:00 cliff==3.4.0 06:36:00 cmd2==1.3.11 06:36:00 colorama==0.4.3 06:36:00 cryptography==3.1.1 06:36:00 debtcollector==2.2.0 06:36:00 decorator==4.4.2 06:36:00 defusedxml==0.6.0 06:36:00 Deprecated==1.2.7 06:36:00 distlib==0.3.1 06:36:00 distro==1.2.0 06:36:00 dnspython==1.16.0 06:36:00 docker==4.2.0 06:36:00 docutils==0.15.2 06:36:00 dogpile.cache==1.0.2 06:36:00 email-validator==1.0.5 06:36:00 filelock==3.0.12 06:36:00 future==0.18.2 06:36:00 google-auth==1.22.1 06:36:00 httplib2==0.17.0 06:36:00 identify==1.4.11 06:36:00 idna==2.9 06:36:00 importlib-metadata==1.7.0 06:36:00 importlib-resources==1.5.0 06:36:00 iso8601==0.1.13 06:36:00 Jinja2==2.11.1 06:36:00 jmespath==0.10.0 06:36:00 jsonpatch==1.26 06:36:00 jsonpointer==2.0 06:36:00 jsonschema==3.2.0 06:36:00 keystoneauth1==4.2.1 06:36:00 kubernetes==11.0.0 06:36:00 lftools==0.34.2 06:36:00 lxml==4.5.0 06:36:00 MarkupSafe==0.23 06:36:00 msgpack==1.0.0 06:36:00 multi-key-dict==2.0.3 06:36:00 munch==2.5.0 06:36:00 netaddr==0.8.0 06:36:00 netifaces==0.10.9 06:36:00 niet==1.4.2 06:36:00 nodeenv==1.3.5 06:36:00 oauth2client==4.1.3 06:36:00 oauthlib==3.1.0 06:36:00 openstacksdk==0.50.0 06:36:00 os-client-config==2.1.0 06:36:00 os-service-types==1.7.0 06:36:00 osc-lib==2.2.1 06:36:00 oslo.config==8.3.2 06:36:00 oslo.context==3.1.1 06:36:00 oslo.i18n==5.0.1 06:36:00 oslo.log==4.4.0 06:36:00 oslo.serialization==4.0.1 06:36:00 oslo.utils==4.6.0 06:36:00 packaging==20.4 06:36:00 pbr==5.4.4 06:36:00 pluggy==0.13.1 06:36:00 prettytable==0.7.2 06:36:00 py==1.9.0 06:36:00 pyasn1==0.4.8 06:36:00 pyasn1-modules==0.2.8 06:36:00 pycparser==2.20 06:36:00 pygerrit2==2.0.10 06:36:00 PyGithub==1.46 06:36:00 pyinotify==0.9.6 06:36:00 PyJWT==1.7.1 06:36:00 pyparsing==2.4.7 06:36:00 pyperclip==1.8.0 06:36:00 pyroute2==0.4.13 06:36:00 pyrsistent==0.15.7 06:36:00 PySocks==1.6.8 06:36:00 python-cinderclient==7.2.0 06:36:00 python-dateutil==2.8.1 06:36:00 python-heatclient==2.2.1 06:36:00 python-jenkins==1.7.0 06:36:00 python-keystoneclient==4.1.1 06:36:00 python-magnumclient==3.2.1 06:36:00 python-novaclient==17.2.1 06:36:00 python-openstackclient==5.4.0 06:36:00 python-swiftclient==3.10.1 06:36:00 pytz==2020.1 06:36:00 PyYAML==5.3 06:36:00 requests==2.23.0 06:36:00 requests-oauthlib==1.3.0 06:36:00 requestsexceptions==1.4.0 06:36:00 rfc3986==1.4.0 06:36:00 rpm==4.11.3 06:36:00 rsa==4.0 06:36:00 ruamel.yaml==0.16.10 06:36:00 ruamel.yaml.clib==0.2.0 06:36:00 s3transfer==0.3.3 06:36:00 shade==1.27.2 06:36:00 simplejson==3.17.2 06:36:00 six==1.14.0 06:36:00 soupsieve==2.0 06:36:00 stevedore==3.2.2 06:36:00 tabulate==0.8.6 06:36:00 toml==0.10.0 06:36:00 tox==3.20.0 06:36:00 tqdm==4.43.0 06:36:00 urllib3==1.25.8 06:36:00 virtualenv==20.0.33 06:36:00 wcwidth==0.2.5 06:36:00 websocket-client==0.57.0 06:36:00 wrapt==1.12.1 06:36:00 xdg==3.0.2 06:36:00 xmltodict==0.12.0 06:36:00 yq==2.11.1 06:36:00 zipp==3.3.0 06:36:01 Cache entry deserialization failed, entry ignored 06:36:03 DEPRECATION: Python 2.7 reached the end of its life on January 1st, 2020. Please upgrade your Python as Python 2.7 is no longer maintained. pip 21.0 will drop support for Python 2.7 in January 2021. More details about Python 2 support in pip can be found at https://pip.pypa.io/en/latest/development/release-process/#python-2-support pip 21.0 will remove support for this functionality. 06:36:06 Python 2.7.5 06:36:06 pip 20.2.3 from /home/jenkins/.local/lib/python2.7/site-packages/pip (python 2.7) 06:36:06 DEPRECATION: Python 2.7 reached the end of its life on January 1st, 2020. Please upgrade your Python as Python 2.7 is no longer maintained. pip 21.0 will drop support for Python 2.7 in January 2021. More details about Python 2 support in pip can be found at https://pip.pypa.io/en/latest/development/release-process/#python-2-support pip 21.0 will remove support for this functionality. 06:36:06 ansible==2.9.7 06:36:06 Babel==0.9.6 06:36:06 backports.ssl-match-hostname==3.5.0.1 06:36:06 beautifulsoup4==4.4.1 06:36:06 bodhi==2.11.0 06:36:06 bodhi-client==2.11.0 06:36:06 CCColUtils==1.4 06:36:06 cffi==1.6.0 06:36:06 chardet==2.2.1 06:36:06 click==6.7 06:36:06 cloud-init==18.5 06:36:06 configobj==4.7.2 06:36:06 cryptography==1.7.2 06:36:06 decorator==3.4.0 06:36:06 distro==1.2.0 06:36:06 enum34==1.0.4 06:36:06 fedpkg==1.38 06:36:06 futures==3.1.1 06:36:06 gitdb==0.6.4 06:36:06 GitPython==1.0.1 06:36:06 html5lib==0.999 06:36:06 httplib2==0.9.2 06:36:06 idna==2.4 06:36:06 iniparse==0.4 06:36:06 ipaddress==1.0.16 06:36:06 IPy==0.75 06:36:06 javapackages==1.0.0 06:36:06 Jinja2==2.7.2 06:36:06 jmespath==0.9.4 06:36:06 jsonpatch==1.2 06:36:06 jsonpointer==1.9 06:36:06 kerberos==1.1 06:36:06 kitchen==1.1.1 06:36:06 langtable==0.0.31 06:36:06 lockfile==0.9.1 06:36:06 lxml==3.2.1 06:36:06 MarkupSafe==0.11 06:36:06 munch==2.0.2 06:36:06 offtrac==0.1.0 06:36:06 openidc-client==0.6.0 06:36:06 packagedb-cli==2.14.1 06:36:06 paramiko==2.1.1 06:36:06 perf==0.1 06:36:06 ply==3.4 06:36:06 policycoreutils-default-encoding==0.1 06:36:06 prettytable==0.7.2 06:36:06 pyasn1==0.1.9 06:36:06 pycparser==2.14 06:36:06 pycurl==7.19.0 06:36:06 pygobject==3.22.0 06:36:06 pygpgme==0.3 06:36:06 pyliblzma==0.5.3 06:36:06 pyOpenSSL==0.13.1 06:36:06 pyparsing==1.5.6 06:36:06 pyserial==2.6 06:36:06 python-augeas==0.5.0 06:36:06 python-bugzilla==2.3.0 06:36:06 python-dateutil==1.5 06:36:06 python-fedora==0.10.0 06:36:06 python-linux-procfs==0.4.9 06:36:06 python-yubico==1.2.3 06:36:06 pyudev==0.15 06:36:06 pyusb==1.0.0b1 06:36:06 pyxattr==0.5.1 06:36:06 PyYAML==3.10 06:36:06 requests==2.6.0 06:36:06 requests-kerberos==0.7.0 06:36:06 rpkg==1.60 06:36:06 schedutils==0.4 06:36:06 seobject==0.1 06:36:06 sepolicy==1.1 06:36:06 six==1.9.0 06:36:06 smmap==0.9.0 06:36:06 urlgrabber==3.10 06:36:06 urllib3==1.10.2 06:36:06 virtualenv==15.1.0 06:36:06 yum-langpacks==0.4.2 06:36:06 yum-metadata-parser==1.1.4 [Pipeline] echo 06:36:06 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 06:36:07 ---> sudo-logs.sh 06:36:07 Archiving 'sudo' log.. [Pipeline] echo 06:36:07 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 06:36:07 ---> job-cost.sh 06:36:07 lf-activate-venv(): INFO: Creating python3 venv at /tmp/venv-GzVw 06:36:20 Cache entry deserialization failed, entry ignored 06:36:20 Cache entry deserialization failed, entry ignored 06:36:20 Cache entry deserialization failed, entry ignored 06:36:20 Cache entry deserialization failed, entry ignored 06:36:20 Cache entry deserialization failed, entry ignored 06:36:20 Cache entry deserialization failed, entry ignored 06:36:20 Cache entry deserialization failed, entry ignored 06:36:20 Cache entry deserialization failed, entry ignored 06:36:20 Cache entry deserialization failed, entry ignored 06:36:20 Cache entry deserialization failed, entry ignored 06:36:20 Cache entry deserialization failed, entry ignored 06:36:20 Cache entry deserialization failed, entry ignored 06:36:24 lf-activate-venv(): INFO: Installing: zipp==1.1.0 python-openstackclient 06:36:51 lf-activate-venv(): INFO: Adding /tmp/venv-GzVw/bin to PATH 06:36:51 INFO: No Stack... 06:36:53 INFO: Retrieving Pricing Info for: v1-standard-2 06:36:54 INFO: Archiving Costs [Pipeline] echo 06:36:54 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 06:36:54 ---> logs-deploy.sh 06:36:54 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-620/1 06:36:54 INFO: archiving workspace using pattern(s): 06:36:56 Archives upload complete. 06:36:56 INFO: archiving logs to Nexus 06:36:57 ---> uname -a: 06:36:57 Linux prd-centos7-docker-4c-2g-3682.vexxhost.local 3.10.0-1127.el7.x86_64 #1 SMP Tue Mar 31 23:36:51 UTC 2020 x86_64 x86_64 x86_64 GNU/Linux 06:36:57 06:36:57