Pull request #584 event Connecting to https://api.github.com using edgex-jenkins/****** (edgex-jenkins github personal access token) Obtained Jenkinsfile from 6cabb274cc574262546194301fe1698430925cf7+5d943473fe8cb7b2263b29163a15a9eda06ca963 (24a969ab1ae31a65118202a1b79ec01784ea16ab) 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 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 > 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 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 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] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[centos7-docker-4c-2g, ubuntu18.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-sdk-go-settings PROJECT: device-sdk-go USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.15 GOPROXY: https://nexus3.edgexfoundry.org/repository/go-proxy/ DOCKER_BASE_IMAGE: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine DOCKER_FILE_PATH: example/cmd/device-simple/Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_IMAGE_NAME: docker-device-sdk-simple DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: false BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: false SWAGGER_API_FOLDERS: openapi/v1 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-2946 in /w/workspace/dgexfoundry_device-sdk-go_PR-584 [Pipeline] { [Pipeline] stage [Pipeline] { (Declarative: Checkout SCM) [Pipeline] checkout using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning repository git@github.com:edgexfoundry/device-sdk-go.git > git init /w/workspace/dgexfoundry_device-sdk-go_PR-584 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git > git --version # timeout=10 > git --version # 'git version 2.16.5' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/584/head:refs/remotes/origin/PR-584 +refs/heads/master:refs/remotes/origin/master # timeout=10 Merging remotes/origin/master commit 5d943473fe8cb7b2263b29163a15a9eda06ca963 into PR head commit 6cabb274cc574262546194301fe1698430925cf7 Merge succeeded, producing 6cabb274cc574262546194301fe1698430925cf7 Checking out Revision 6cabb274cc574262546194301fe1698430925cf7 (PR-584) > git config core.sparsecheckout # timeout=10 > git checkout -f 6cabb274cc574262546194301fe1698430925cf7 # 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 5d943473fe8cb7b2263b29163a15a9eda06ca963 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 6cabb274cc574262546194301fe1698430925cf7 # timeout=10 Commit message: "build(deps): bump github.com/gorilla/mux from 1.7.1 to 1.8.0" First time build. Skipping changelog. [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 02:19:38 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) > git rev-list --no-walk 01f73668349dd60523176862b1e577a64d0e54b7 # timeout=10 [Pipeline] script [Pipeline] { [Pipeline] withCredentials 02:19:38 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 02:19:38 ========================================================= 02:19:38 EdgeX Global Pipelines Version Info 02:19:38 ========================================================= [Pipeline] libraryResource [Pipeline] sh 02:19:40 ------------------- 02:19:40 stable info: 02:19:40 ------------------- 02:19:40 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 02:19:40 Commit SHA: ad104866bbc8c98dca93091e1a8abeb835fd4e4d 02:19:40 Message: update stable to v1.0.131 02:19:41 ------------------- 02:19:41 experimental info: 02:19:41 ------------------- 02:19:41 Commited By: Emilio Reyes emilio.reyes@intel.com 02:19:41 Commit SHA: 037048ec40675a742bbe4f4e63335516fc22ae8d 02:19:41 Message: update experimental to v1.0.133 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] } [Pipeline] // script [Pipeline] echo 02:19:42 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-go-settings [Pipeline] echo 02:19:42 [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-go [Pipeline] echo 02:19:42 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 02:19:42 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 02:19:42 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 02:19:42 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.15 [Pipeline] echo 02:19:42 [edgeXSetupEnvironment]: set envvar GOPROXY = https://nexus3.edgexfoundry.org/repository/go-proxy/ [Pipeline] echo 02:19:42 [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine [Pipeline] echo 02:19:43 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = example/cmd/device-simple/Dockerfile [Pipeline] echo 02:19:43 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 02:19:43 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 02:19:43 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = docker-device-sdk-simple [Pipeline] echo 02:19:43 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 02:19:43 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 02:19:43 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 02:19:43 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo 02:19:44 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 02:19:44 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 02:19:44 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 02:19:44 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 02:19:44 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 02:19:44 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 02:19:44 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 02:19:44 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 02:19:45 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 02:19:45 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-584 [Pipeline] echo 02:19:45 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-584 [Pipeline] echo 02:19:45 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-584 [Pipeline] echo 02:19:45 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 6cabb274cc574262546194301fe1698430925cf7 [Pipeline] echo 02:19:45 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 6cabb27 [Pipeline] echo 02:19:45 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 02:19:46 + git log --format=format:%s -1 6cabb274cc574262546194301fe1698430925cf7 [Pipeline] echo 02:19:46 GIT_COMMIT: 6cabb274cc574262546194301fe1698430925cf7, Commit Message: build(deps): bump github.com/gorilla/mux from 1.7.1 to 1.8.0 [Pipeline] echo 02:19:46 This is not a build commit. [Pipeline] isUnix [Pipeline] sh 02:19:47 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 02:19:47 02:19:47 Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh 02:19:48 + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 02:19:48 latest: Pulling from edgex-devops/git-semver 02:19:48 31603596830f: Pulling fs layer 02:19:48 2a8b12db71e7: Pulling fs layer 02:19:48 6ca5941a6612: Pulling fs layer 02:19:48 ecc8261a40a4: Pulling fs layer 02:19:48 ecc8261a40a4: Waiting 02:19:48 2a8b12db71e7: Verifying Checksum 02:19:48 2a8b12db71e7: Download complete 02:19:50 31603596830f: Verifying Checksum 02:19:50 31603596830f: Download complete 02:19:50 31603596830f: Pull complete 02:19:50 2a8b12db71e7: Pull complete 02:19:53 ecc8261a40a4: Verifying Checksum 02:19:53 ecc8261a40a4: Download complete 02:19:53 6ca5941a6612: Verifying Checksum 02:19:53 6ca5941a6612: Download complete 02:19:54 6ca5941a6612: Pull complete 02:19:55 ecc8261a40a4: Pull complete 02:19:55 Digest: sha256:c336c3cb7d26c4f33e4bbf869d415e221d43967d83d6a5809e4cb0cc2a1e8fe7 02:19:55 Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 02:19:55 nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer 02:19:55 prd-centos7-docker-4c-2g-2946 does not seem to be running inside a container 02:19:55 $ docker run -t -d -u 1001:1001 -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 ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat 02:19:57 $ docker top bbb37cb9c56dd9007da90a084b6931491438723e0b34be60a33d3f4914ef9252 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 02:19:57 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 02:19:57 [ssh-agent] Looking for ssh-agent implementation... 02:19:58 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 02:19:58 $ docker exec bbb37cb9c56dd9007da90a084b6931491438723e0b34be60a33d3f4914ef9252 ssh-agent 02:19:58 SSH_AUTH_SOCK=/tmp/ssh-zy6l8ZKyolrm/agent.12 02:19:58 SSH_AGENT_PID=17 02:19:58 Running ssh-add (command line suppressed) 02:19:58 Identity added: /w/workspace/dgexfoundry_device-sdk-go_PR-584@tmp/private_key_1449700771142782519.key (/w/workspace/dgexfoundry_device-sdk-go_PR-584@tmp/private_key_1449700771142782519.key) 02:19:58 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 02:19:59 + git describe --exact-match --tags HEAD 02:19:59 fatal: no tag exactly matches '6cabb274cc574262546194301fe1698430925cf7' [Pipeline] } 02:19:59 $ docker exec --env ******** --env ******** bbb37cb9c56dd9007da90a084b6931491438723e0b34be60a33d3f4914ef9252 ssh-agent -k 02:19:59 unset SSH_AUTH_SOCK; 02:19:59 unset SSH_AGENT_PID; 02:19:59 echo Agent pid 17 killed; 02:19:59 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] echo 02:19:59 [edgeXSemver]: exception occurred checking if HEAD is tagged: hudson.AbortException: script returned exit code 128 02:19:59 This usually means this commit has not been tagged. [Pipeline] sshagent 02:19:59 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 02:19:59 [ssh-agent] Looking for ssh-agent implementation... 02:19:59 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 02:19:59 $ docker exec bbb37cb9c56dd9007da90a084b6931491438723e0b34be60a33d3f4914ef9252 ssh-agent 02:20:00 SSH_AUTH_SOCK=/tmp/ssh-UwBDJx4GjtOM/agent.46 02:20:00 SSH_AGENT_PID=51 02:20:00 Running ssh-add (command line suppressed) 02:20:00 Identity added: /w/workspace/dgexfoundry_device-sdk-go_PR-584@tmp/private_key_8893085462924820249.key (/w/workspace/dgexfoundry_device-sdk-go_PR-584@tmp/private_key_8893085462924820249.key) 02:20:00 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 02:20:00 + git semver init 02:20:00 # -> Open(): unable to determine branch for HEAD 02:20:00 # $GIT_DIR = /w/workspace/dgexfoundry_device-sdk-go_PR-584/.git 02:20:00 # $GIT_WORK_TREE = /w/workspace/dgexfoundry_device-sdk-go_PR-584 02:20:00 # $SEMVER_REMOTE_NAME = origin 02:20:00 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 02:20:00 # $SEMVER_USER_NAME = edgex-jenkins 02:20:00 # $SEMVER_BRANCH = PR-584 02:20:00 # $SEMVER_TEMP = /tmp/semver-524996837 02:20:00 # git clone --branch semver git@github.com:edgexfoundry/device-sdk-go.git $SEMVER_TEMP 02:20:02 # '/tmp/semver-524996837' -> '/w/workspace/dgexfoundry_device-sdk-go_PR-584/.semver' 02:20:02 # -> Force: false 02:20:02 # $SEMVER_DIR = /w/workspace/dgexfoundry_device-sdk-go_PR-584/.semver [Pipeline] } 02:20:02 $ docker exec --env ******** --env ******** bbb37cb9c56dd9007da90a084b6931491438723e0b34be60a33d3f4914ef9252 ssh-agent -k 02:20:02 unset SSH_AUTH_SOCK; 02:20:02 unset SSH_AGENT_PID; 02:20:02 echo Agent pid 51 killed; 02:20:03 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 02:20:03 + git semver [Pipeline] } 02:20:03 $ docker stop --time=1 bbb37cb9c56dd9007da90a084b6931491438723e0b34be60a33d3f4914ef9252 02:20:05 $ docker rm -f bbb37cb9c56dd9007da90a084b6931491438723e0b34be60a33d3f4914ef9252 [Pipeline] // withDockerContainer [Pipeline] writeFile [Pipeline] stash 02:20:06 Stashed 40 file(s) [Pipeline] echo 02:20:06 [edgeXSemver]: initialized semver on version 0.0.0 [Pipeline] echo 02:20:06 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 02:20:22 Still waiting to schedule task 02:20:22 Waiting for next available executor on ‘centos7-docker-4c-2g’ 02:20:22 Still waiting to schedule task 02:20:22 Waiting for next available executor on ‘prd-ubuntu18.04-docker-arm64-4c-16g-2936’ 02:22:21 Running on prd-centos7-docker-4c-2g-2954 in /w/workspace/dgexfoundry_device-sdk-go_PR-584 [Pipeline] { [Pipeline] ws 02:22:21 Running in /w/workspace/device-sdk-go/13 [Pipeline] { [Pipeline] checkout 02:22:24 using credential edgex-jenkins-ssh 02:22:24 Cloning the remote Git repository 02:22:24 Cloning repository git@github.com:edgexfoundry/device-sdk-go.git 02:22:24 > git init /w/workspace/device-sdk-go/13 # timeout=10 02:22:24 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 02:22:24 > git --version # timeout=10 02:22:24 > git --version # 'git version 2.16.5' 02:22:24 using GIT_SSH to set credentials SSH Credentials for GitHub 02:22:24 > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 02:22:27 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 02:22:27 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 02:22:27 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 02:22:27 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 02:22:27 using GIT_SSH to set credentials SSH Credentials for GitHub 02:22:27 > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/584/head:refs/remotes/origin/PR-584 +refs/heads/master:refs/remotes/origin/master # timeout=10 02:22:27 Merging remotes/origin/master commit 5d943473fe8cb7b2263b29163a15a9eda06ca963 into PR head commit 6cabb274cc574262546194301fe1698430925cf7 02:22:27 Merge succeeded, producing 6cabb274cc574262546194301fe1698430925cf7 02:22:27 Checking out Revision 6cabb274cc574262546194301fe1698430925cf7 (PR-584) 02:22:27 > git config core.sparsecheckout # timeout=10 02:22:27 > git checkout -f 6cabb274cc574262546194301fe1698430925cf7 # timeout=10 02:22:27 > git remote # timeout=10 02:22:27 > git config --get remote.origin.url # timeout=10 02:22:27 using GIT_SSH to set credentials SSH Credentials for GitHub 02:22:27 > git merge 5d943473fe8cb7b2263b29163a15a9eda06ca963 # timeout=10 02:22:27 > git rev-parse HEAD^{commit} # timeout=10 02:22:27 > git config core.sparsecheckout # timeout=10 02:22:27 > git checkout -f 6cabb274cc574262546194301fe1698430925cf7 # timeout=10 02:22:31 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 02:22:32 ========================================================= 02:22:32 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine] 02:22:32 ========================================================= [Pipeline] isUnix [Pipeline] sh 02:22:33 + 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 . 02:22:34 Sending build context to Docker daemon 3.419MB 02:22:34 Step 1/8 : ARG BASE=golang:1.15-alpine 02:22:34 Step 2/8 : FROM ${BASE} 02:22:34 1.15-alpine: Pulling from edgex-devops/edgex-golang-base 02:22:34 df20fa9351a1: Pulling fs layer 02:22:34 ed8968b2872e: Pulling fs layer 02:22:34 a92cc7c5fd73: Pulling fs layer 02:22:34 e871e8e8d7a9: Pulling fs layer 02:22:34 e73272ec9a57: Pulling fs layer 02:22:34 1e910a182e73: Pulling fs layer 02:22:34 4e634b169226: Pulling fs layer 02:22:34 e73272ec9a57: Waiting 02:22:34 1e910a182e73: Waiting 02:22:34 4e634b169226: Waiting 02:22:34 a92cc7c5fd73: Verifying Checksum 02:22:34 a92cc7c5fd73: Download complete 02:22:35 ed8968b2872e: Verifying Checksum 02:22:35 ed8968b2872e: Download complete 02:22:35 e73272ec9a57: Verifying Checksum 02:22:35 e73272ec9a57: Download complete 02:22:35 1e910a182e73: Verifying Checksum 02:22:35 1e910a182e73: Download complete 02:22:37 df20fa9351a1: Verifying Checksum 02:22:37 df20fa9351a1: Download complete 02:22:37 df20fa9351a1: Pull complete 02:22:37 ed8968b2872e: Pull complete 02:22:37 a92cc7c5fd73: Pull complete 02:23:10 4e634b169226: Verifying Checksum 02:23:10 4e634b169226: Download complete 02:23:37 Running on prd-ubuntu18.04-docker-arm64-4c-16g-2955 in /w/workspace/dgexfoundry_device-sdk-go_PR-584 [Pipeline] { [Pipeline] ws 02:23:37 Running in /w/workspace/device-sdk-go/13 [Pipeline] { [Pipeline] checkout 02:23:42 using credential edgex-jenkins-ssh 02:23:42 Cloning the remote Git repository 02:23:42 Cloning repository git@github.com:edgexfoundry/device-sdk-go.git 02:23:42 > git init /w/workspace/device-sdk-go/13 # timeout=10 02:23:42 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 02:23:42 > git --version # timeout=10 02:23:42 > git --version # 'git version 2.17.1' 02:23:42 using GIT_SSH to set credentials SSH Credentials for GitHub 02:23:42 > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 02:23:49 Merging remotes/origin/master commit 5d943473fe8cb7b2263b29163a15a9eda06ca963 into PR head commit 6cabb274cc574262546194301fe1698430925cf7 02:23:48 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 02:23:48 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 02:23:48 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 02:23:48 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 02:23:48 using GIT_SSH to set credentials SSH Credentials for GitHub 02:23:48 > 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 02:23:49 > git config core.sparsecheckout # timeout=10 02:23:49 Merge succeeded, producing 6cabb274cc574262546194301fe1698430925cf7 02:23:49 Checking out Revision 6cabb274cc574262546194301fe1698430925cf7 (PR-584) 02:23:49 > git checkout -f 6cabb274cc574262546194301fe1698430925cf7 # timeout=10 02:23:49 > git remote # timeout=10 02:23:49 > git config --get remote.origin.url # timeout=10 02:23:49 using GIT_SSH to set credentials SSH Credentials for GitHub 02:23:49 > git merge 5d943473fe8cb7b2263b29163a15a9eda06ca963 # timeout=10 02:23:49 > git rev-parse HEAD^{commit} # timeout=10 02:23:49 > git config core.sparsecheckout # timeout=10 02:23:49 > git checkout -f 6cabb274cc574262546194301fe1698430925cf7 # timeout=10 02:23:53 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 02:23:54 ========================================================= 02:23:54 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine] 02:23:54 ========================================================= [Pipeline] isUnix [Pipeline] sh 02:23:55 + 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 . 02:23:56 e871e8e8d7a9: Verifying Checksum 02:23:56 e871e8e8d7a9: Download complete 02:23:56 Sending build context to Docker daemon 3.421MB 02:23:56 Step 1/8 : ARG BASE=golang:1.15-alpine 02:23:56 Step 2/8 : FROM ${BASE} 02:23:57 e871e8e8d7a9: Pull complete 02:23:57 e73272ec9a57: Pull complete 02:23:57 1.15-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 02:23:57 b538f80385f9: Pulling fs layer 02:23:57 74f711af9a0d: Pulling fs layer 02:23:57 99f96fe45779: Pulling fs layer 02:23:57 8529a6b9a6be: Pulling fs layer 02:23:57 45590311c82a: Pulling fs layer 02:23:57 69ca0ff8b7b3: Pulling fs layer 02:23:57 209524e5b208: Pulling fs layer 02:23:57 8529a6b9a6be: Waiting 02:23:57 45590311c82a: Waiting 02:23:57 69ca0ff8b7b3: Waiting 02:23:57 209524e5b208: Waiting 02:23:57 99f96fe45779: Download complete 02:23:57 74f711af9a0d: Download complete 02:23:57 45590311c82a: Verifying Checksum 02:23:57 45590311c82a: Download complete 02:23:57 1e910a182e73: Pull complete 02:23:57 69ca0ff8b7b3: Download complete 02:23:59 b538f80385f9: Download complete 02:23:59 b538f80385f9: Pull complete 02:24:00 74f711af9a0d: Pull complete 02:24:00 99f96fe45779: Pull complete 02:24:07 4e634b169226: Pull complete 02:24:07 Digest: sha256:0b802f5dd80e2ad8551c53c724486b1db3b79f86ac5ae7c7a2db79f17045b642 02:24:07 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine 02:24:07 ---> f7629b54cfaa 02:24:07 Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 02:24:07 ---> Running in af1414aae86c 02:24:08 Removing intermediate container af1414aae86c 02:24:08 ---> 8ee43a88f181 02:24:08 Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 02:24:08 ---> Running in b70c254d2a67 02:24:09 Removing intermediate container b70c254d2a67 02:24:09 ---> b058e687c487 02:24:09 Step 5/8 : RUN apk add --no-cache make git 02:24:09 ---> Running in e225e2173193 02:24:10 fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz 02:24:20 fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz 02:24:35 OK: 166 MiB in 39 packages 02:24:35 Removing intermediate container e225e2173193 02:24:35 ---> 626085c8b94e 02:24:35 Step 6/8 : WORKDIR /device-sdk-go 02:24:35 ---> Running in 24637b6c1f07 02:24:35 Removing intermediate container 24637b6c1f07 02:24:35 ---> cdf39693549b 02:24:35 Step 7/8 : COPY . . 02:24:36 ---> dd12d17c1a97 02:24:36 Step 8/8 : RUN go mod download 02:24:36 ---> Running in dc05000be2b2 02:24:39 209524e5b208: Verifying Checksum 02:24:39 209524e5b208: Download complete 02:24:57 8529a6b9a6be: Verifying Checksum 02:24:57 8529a6b9a6be: Download complete 02:24:58 Removing intermediate container dc05000be2b2 02:24:58 ---> e07d28fa0c16 02:24:58 Successfully built e07d28fa0c16 02:24:58 Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh 02:24:58 + docker inspect -f . ci-base-image-x86_64 02:24:58 . [Pipeline] withDockerContainer 02:24:58 prd-centos7-docker-4c-2g-2954 does not seem to be running inside a container 02:24:59 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/13 -v /w/workspace/device-sdk-go/13:/w/workspace/device-sdk-go/13:rw,z -v /w/workspace/device-sdk-go/13@tmp:/w/workspace/device-sdk-go/13@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 02:24:59 $ docker top f73a60b6e781e1eaffc3c617404dd753e090fdfda653d1b3ae42c4850f8c86f6 -eo pid,comm [Pipeline] { [Pipeline] sh 02:25:00 + go version 02:25:00 go version go1.15.2 linux/amd64 [Pipeline] } 02:25:00 $ docker stop --time=1 f73a60b6e781e1eaffc3c617404dd753e090fdfda653d1b3ae42c4850f8c86f6 02:25:01 $ docker rm -f f73a60b6e781e1eaffc3c617404dd753e090fdfda653d1b3ae42c4850f8c86f6 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 02:25:02 + docker inspect -f . ci-base-image-x86_64 02:25:02 . [Pipeline] withDockerContainer 02:25:02 prd-centos7-docker-4c-2g-2954 does not seem to be running inside a container 02:25:02 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/13 -v /w/workspace/device-sdk-go/13:/w/workspace/device-sdk-go/13:rw,z -v /w/workspace/device-sdk-go/13@tmp:/w/workspace/device-sdk-go/13@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 02:25:03 $ docker top 4fec63b2d55241659b0711a821989dd42f6709334dd668735f2a7a946c0420e8 -eo pid,comm [Pipeline] { [Pipeline] sh 02:25:04 + make test 02:25:04 GO111MODULE=on go test -race -coverprofile=coverage.out ./... 02:25:06 8529a6b9a6be: Pull complete 02:25:06 45590311c82a: Pull complete 02:25:06 69ca0ff8b7b3: Pull complete 02:25:09 209524e5b208: Pull complete 02:25:09 Digest: sha256:ed1c815e5e6ec4cca07509da726365701584b6c3e8c7d74a761ef336e5f8fb68 02:25:09 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine 02:25:09 ---> 5bddaf1c2fca 02:25:09 Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 02:25:12 ---> Running in 81c740fcab6e 02:25:12 Removing intermediate container 81c740fcab6e 02:25:12 ---> 50adbbb6bcda 02:25:12 Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 02:25:12 ---> Running in fcac140e2d49 02:25:12 ? github.com/edgexfoundry/device-sdk-go [no test files] 02:25:14 Removing intermediate container fcac140e2d49 02:25:14 ---> 77fbbafa2335 02:25:14 Step 5/8 : RUN apk add --no-cache make git 02:25:15 ---> Running in 332cc3bfb4cd 02:25:16 fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz 02:25:22 fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz 02:25:27 ? github.com/edgexfoundry/device-sdk-go/example/cmd/device-simple [no test files] 02:25:27 ? github.com/edgexfoundry/device-sdk-go/example/driver [no test files] 02:25:27 ? github.com/edgexfoundry/device-sdk-go/internal/autodiscovery [no test files] 02:25:27 ok github.com/edgexfoundry/device-sdk-go/internal/autoevent 0.069s coverage: 21.6% of statements 02:25:27 ok github.com/edgexfoundry/device-sdk-go/internal/cache 0.430s coverage: 97.1% of statements 02:25:34 OK: 142 MiB in 39 packages 02:25:35 Removing intermediate container 332cc3bfb4cd 02:25:35 ---> b99f691615ff 02:25:35 Step 6/8 : WORKDIR /device-sdk-go 02:25:35 ---> Running in 70327bdf8280 02:25:36 Removing intermediate container 70327bdf8280 02:25:36 ---> fe7c4b81b7f1 02:25:36 Step 7/8 : COPY . . 02:25:37 ---> 862024e9463b 02:25:37 Step 8/8 : RUN go mod download 02:25:37 ---> Running in 435db7edcd44 02:25:59 ok github.com/edgexfoundry/device-sdk-go/internal/clients 30.058s coverage: 9.4% of statements 02:25:59 ok github.com/edgexfoundry/device-sdk-go/internal/common 0.064s coverage: 21.9% of statements 02:25:59 ? github.com/edgexfoundry/device-sdk-go/internal/container [no test files] 02:25:59 ok github.com/edgexfoundry/device-sdk-go/internal/controller 0.201s coverage: 39.5% of statements 02:25:59 ? github.com/edgexfoundry/device-sdk-go/internal/controller/correlation [no test files] 02:25:59 ok github.com/edgexfoundry/device-sdk-go/internal/handler 0.290s coverage: 65.4% of statements 02:25:59 ? github.com/edgexfoundry/device-sdk-go/internal/handler/callback [no test files] 02:25:59 ? github.com/edgexfoundry/device-sdk-go/internal/mock [no test files] 02:25:59 ? github.com/edgexfoundry/device-sdk-go/internal/provision [no test files] 02:25:59 ? github.com/edgexfoundry/device-sdk-go/internal/telemetry [no test files] 02:25:59 ok github.com/edgexfoundry/device-sdk-go/internal/transformer 0.064s coverage: 52.6% of statements 02:25:59 ? github.com/edgexfoundry/device-sdk-go/internal/v2/controller/http [no test files] 02:25:59 ok github.com/edgexfoundry/device-sdk-go/pkg/models 2.626s coverage: 68.9% of statements 02:25:59 ? github.com/edgexfoundry/device-sdk-go/pkg/service [no test files] 02:25:59 ? github.com/edgexfoundry/device-sdk-go/pkg/startup [no test files] 02:25:59 GO111MODULE=on go vet ./... 02:25:59 Removing intermediate container 435db7edcd44 02:25:59 ---> 7054e51135f2 02:25:59 Successfully built 7054e51135f2 02:25:59 Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh 02:26:00 + docker inspect -f . ci-base-image-arm64 02:26:00 . [Pipeline] withDockerContainer 02:26:00 prd-ubuntu18.04-docker-arm64-4c-16g-2955 does not seem to be running inside a container 02:26:00 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/13 -v /w/workspace/device-sdk-go/13:/w/workspace/device-sdk-go/13:rw,z -v /w/workspace/device-sdk-go/13@tmp:/w/workspace/device-sdk-go/13@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 02:26:02 $ docker top 21770a0f07810b457d3857d45bc43d82185a566815feb1e394f3eedaea22ace5 -eo pid,comm [Pipeline] { [Pipeline] sh 02:26:03 + go version 02:26:03 go version go1.15.2 linux/arm64 [Pipeline] } 02:26:03 $ docker stop --time=1 21770a0f07810b457d3857d45bc43d82185a566815feb1e394f3eedaea22ace5 02:26:04 gofmt -l . 02:26:04 [ "`gofmt -l .`" = "" ] 02:26:04 ./bin/test-attribution-txt.sh 02:26:05 ./bin/test-go-mod-tidy.sh 02:26:05 $ docker rm -f 21770a0f07810b457d3857d45bc43d82185a566815feb1e394f3eedaea22ace5 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] stash [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script 02:26:06 Stashed 1 file(s) [Pipeline] { [Pipeline] } 02:26:06 $ docker stop --time=1 4fec63b2d55241659b0711a821989dd42f6709334dd668735f2a7a946c0420e8 02:26:08 $ docker rm -f 4fec63b2d55241659b0711a821989dd42f6709334dd668735f2a7a946c0420e8 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] isUnix [Pipeline] sh [Pipeline] stage [Pipeline] { (Build) 02:26:09 + docker inspect -f . ci-base-image-arm64 02:26:09 . [Pipeline] sh [Pipeline] withDockerContainer 02:26:09 prd-ubuntu18.04-docker-arm64-4c-16g-2955 does not seem to be running inside a container 02:26:09 + sudo chown -R jenkins:jenkins . 02:26:09 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/13 -v /w/workspace/device-sdk-go/13:/w/workspace/device-sdk-go/13:rw,z -v /w/workspace/device-sdk-go/13@tmp:/w/workspace/device-sdk-go/13@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 02:26:11 $ docker top 750032bb723bb6334ae78762179b1ab0dd4367808af29530db7b773c95dde529 -eo pid,comm [Pipeline] { [Pipeline] sh [Pipeline] sh 02:26:12 + ls -al . 02:26:12 total 192 02:26:12 drwxrwxr-x. 11 jenkins jenkins 4096 Oct 2 02:26 . 02:26:12 drwxrwxr-x. 4 jenkins jenkins 30 Oct 2 02:22 .. 02:26:12 drwxrwxr-x. 2 jenkins jenkins 64 Oct 2 02:22 bin 02:26:12 -rw-r--r--. 1 jenkins jenkins 111041 Oct 2 02:25 coverage.out 02:26:12 -rw-rw-r--. 1 jenkins jenkins 936 Oct 2 02:22 Dockerfile.build 02:26:12 -rw-rw-r--. 1 jenkins jenkins 140 Oct 2 02:22 .dockerignore 02:26:12 drwxrwxr-x. 4 jenkins jenkins 48 Oct 2 02:22 example 02:26:12 drwxrwxr-x. 8 jenkins jenkins 179 Oct 2 02:22 .git 02:26:12 drwxrwxr-x. 2 jenkins jenkins 60 Oct 2 02:22 .github 02:26:12 -rw-rw-r--. 1 jenkins jenkins 138 Oct 2 02:22 .gitignore 02:26:12 -rw-r--r--. 1 jenkins jenkins 517 Oct 2 02:26 go.mod 02:26:12 -rw-r--r--. 1 jenkins jenkins 13652 Oct 2 02:26 go.sum 02:26:12 drwxrwxr-x. 15 jenkins jenkins 211 Oct 2 02:22 internal 02:26:12 -rw-rw-r--. 1 jenkins jenkins 785 Oct 2 02:22 Jenkinsfile 02:26:12 -rw-rw-r--. 1 jenkins jenkins 11341 Oct 2 02:22 LICENSE 02:26:12 -rw-rw-r--. 1 jenkins jenkins 1013 Oct 2 02:22 Makefile 02:26:12 drwxrwxr-x. 4 jenkins jenkins 26 Oct 2 02:22 openapi 02:26:12 drwxrwxr-x. 5 jenkins jenkins 50 Oct 2 02:22 pkg 02:26:12 -rw-rw-r--. 1 jenkins jenkins 5897 Oct 2 02:22 README.md 02:26:12 -rw-rw-r--. 1 jenkins jenkins 4291 Oct 2 02:22 RELEASE-NOTES.txt 02:26:12 drwxrwxr-x. 3 jenkins jenkins 58 Oct 2 02:22 .semver 02:26:12 drwxrwxr-x. 4 jenkins jenkins 54 Oct 2 02:22 snap 02:26:12 -rw-rw-r--. 1 jenkins jenkins 5 Oct 2 02:20 VERSION 02:26:12 -rw-rw-r--. 1 jenkins jenkins 222 Oct 2 02:22 version.go [Pipeline] isUnix [Pipeline] sh 02:26:12 + 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=6cabb274cc574262546194301fe1698430925cf7 --label arch=amd64 --label version=0.0.0 . 02:26:12 Sending build context to Docker daemon 3.531MB 02:26:12 Step 1/24 : ARG BASE=golang:1.15-alpine 02:26:12 Step 2/24 : FROM ${BASE} AS builder 02:26:12 ---> e07d28fa0c16 02:26:12 Step 3/24 : ARG MAKE='make build' 02:26:12 + make test 02:26:12 GO111MODULE=on go test -race -coverprofile=coverage.out ./... 02:26:13 ---> Running in 5e4689202822 02:26:13 Removing intermediate container 5e4689202822 02:26:13 ---> f985751582c0 02:26:13 Step 4/24 : WORKDIR /device-sdk-go 02:26:13 ---> Running in ab4c9ab726a3 02:26:13 Removing intermediate container ab4c9ab726a3 02:26:13 ---> 17254a2322cc 02:26:13 Step 5/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 02:26:13 ---> Running in bb64c914d70d 02:26:13 Removing intermediate container bb64c914d70d 02:26:13 ---> 8f9b36635a48 02:26:13 Step 6/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 02:26:13 ---> Running in ea2c05b03d02 02:26:14 Removing intermediate container ea2c05b03d02 02:26:14 ---> f3ea6f437966 02:26:14 Step 7/24 : RUN apk add --update --no-cache make git 02:26:14 ---> Running in c1d9df895a01 02:26:15 fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz 02:26:23 fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz 02:26:35 ? github.com/edgexfoundry/device-sdk-go [no test files] 02:26:35 OK: 166 MiB in 39 packages 02:26:36 Removing intermediate container c1d9df895a01 02:26:36 ---> 80e1725b47ad 02:26:36 Step 8/24 : COPY . . 02:26:37 ---> d8950274cb42 02:26:37 Step 9/24 : RUN ${MAKE} 02:26:37 ---> Running in 67c2330e57fb 02:26:37 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 02:26:45 CGO_ENABLED=0 GO111MODULE=on go install -tags=safe 02:26:47 Removing intermediate container 67c2330e57fb 02:26:47 ---> b5aff7da27a0 02:26:47 Step 10/24 : FROM scratch 02:26:47 ---> 02:26:47 Step 11/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 02:26:47 ---> Running in 2893ee6068ef 02:26:47 Removing intermediate container 2893ee6068ef 02:26:47 ---> 8e611a5fab6c 02:26:47 Step 12/24 : ENV APP_PORT=49990 02:26:47 ---> Running in e89ca1b288cb 02:26:47 Removing intermediate container e89ca1b288cb 02:26:47 ---> 31d2196b795d 02:26:47 Step 13/24 : EXPOSE $APP_PORT 02:26:47 ---> Running in 9f2de5809088 02:26:47 Removing intermediate container 9f2de5809088 02:26:47 ---> 31f5c56d282f 02:26:47 Step 14/24 : WORKDIR / 02:26:47 ---> Running in 5d5d0fa789df 02:26:48 Removing intermediate container 5d5d0fa789df 02:26:48 ---> 464192b0aa0e 02:26:48 Step 15/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /usr/local/bin/device-simple 02:26:48 ---> a1cf80991381 02:26:48 Step 16/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/configuration.toml /res/configuration.toml 02:26:48 ---> fd2e797e22f0 02:26:48 Step 17/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/Simple-Driver.yaml /res/Simple-Driver.yaml 02:26:49 ---> 39ac2f68460d 02:26:49 Step 18/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/on.png /res/on.png 02:26:49 ---> b4dc71ceaebd 02:26:49 Step 19/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/off.jpg /res/off.jpg 02:26:49 ---> ab4315f7b141 02:26:49 Step 20/24 : ENTRYPOINT ["/usr/local/bin/device-simple"] 02:26:49 ---> Running in 97fa27c975ed 02:26:49 Removing intermediate container 97fa27c975ed 02:26:49 ---> ebbbb8bf69a4 02:26:49 Step 21/24 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] 02:26:49 ---> Running in 0a90574395e2 02:26:49 Removing intermediate container 0a90574395e2 02:26:49 ---> 42d228a60da0 02:26:49 Step 22/24 : LABEL arch=amd64 02:26:50 ---> Running in 971d8a8bf32f 02:26:50 Removing intermediate container 971d8a8bf32f 02:26:50 ---> 7dd35db072bf 02:26:50 Step 23/24 : LABEL git_sha=6cabb274cc574262546194301fe1698430925cf7 02:26:50 ---> Running in 410e632ffc53 02:26:50 Removing intermediate container 410e632ffc53 02:26:50 ---> a2a768d7048c 02:26:50 Step 24/24 : LABEL version=0.0.0 02:26:50 ---> Running in 3c0bdc2f11b5 02:26:50 Removing intermediate container 3c0bdc2f11b5 02:26:50 ---> bf7403b76263 02:26:50 [Warning] One or more build-args [ARCH] were not consumed 02:26:50 Successfully built bf7403b76263 02:26:50 Successfully tagged docker-device-sdk-simple:latest [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } 02:27:14 ? github.com/edgexfoundry/device-sdk-go/example/cmd/device-simple [no test files] 02:27:14 ? github.com/edgexfoundry/device-sdk-go/example/driver [no test files] 02:27:14 ? github.com/edgexfoundry/device-sdk-go/internal/autodiscovery [no test files] 02:27:15 ok github.com/edgexfoundry/device-sdk-go/internal/autoevent 0.114s coverage: 21.6% of statements 02:27:21 ok github.com/edgexfoundry/device-sdk-go/internal/cache 1.222s coverage: 97.1% of statements 02:27:48 ok github.com/edgexfoundry/device-sdk-go/internal/clients 30.136s coverage: 9.4% of statements 02:27:48 ok github.com/edgexfoundry/device-sdk-go/internal/common 0.146s coverage: 21.9% of statements 02:27:48 ? github.com/edgexfoundry/device-sdk-go/internal/container [no test files] 02:27:48 ok github.com/edgexfoundry/device-sdk-go/internal/controller 0.515s coverage: 39.5% of statements 02:27:48 ? github.com/edgexfoundry/device-sdk-go/internal/controller/correlation [no test files] 02:27:48 ok github.com/edgexfoundry/device-sdk-go/internal/handler 0.761s coverage: 65.4% of statements 02:27:48 ? github.com/edgexfoundry/device-sdk-go/internal/handler/callback [no test files] 02:27:48 ? github.com/edgexfoundry/device-sdk-go/internal/mock [no test files] 02:27:48 ? github.com/edgexfoundry/device-sdk-go/internal/provision [no test files] 02:27:48 ? github.com/edgexfoundry/device-sdk-go/internal/telemetry [no test files] 02:27:48 ok github.com/edgexfoundry/device-sdk-go/internal/transformer 0.175s coverage: 52.6% of statements 02:27:48 ? github.com/edgexfoundry/device-sdk-go/internal/v2/controller/http [no test files] 02:27:48 ok github.com/edgexfoundry/device-sdk-go/pkg/models 5.666s coverage: 68.9% of statements 02:27:48 ? github.com/edgexfoundry/device-sdk-go/pkg/service [no test files] 02:27:48 ? github.com/edgexfoundry/device-sdk-go/pkg/startup [no test files] 02:27:48 GO111MODULE=on go vet ./... 02:28:20 gofmt -l . 02:28:20 [ "`gofmt -l .`" = "" ] 02:28:20 ./bin/test-attribution-txt.sh 02:28:20 ./bin/test-go-mod-tidy.sh [Pipeline] stash 02:28:20 Warning: overwriting stash ‘coverage-report’ 02:28:21 Stashed 1 file(s) [Pipeline] } 02:28:21 $ docker stop --time=1 750032bb723bb6334ae78762179b1ab0dd4367808af29530db7b773c95dde529 02:28:23 $ docker rm -f 750032bb723bb6334ae78762179b1ab0dd4367808af29530db7b773c95dde529 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 02:28:24 + sudo chown -R jenkins:jenkins . [Pipeline] sh 02:28:25 + ls -al . 02:28:25 total 232 02:28:25 drwxrwxr-x 11 jenkins jenkins 4096 Oct 2 02:28 . 02:28:25 drwxrwxr-x 4 jenkins jenkins 4096 Oct 2 02:23 .. 02:28:25 -rw-rw-r-- 1 jenkins jenkins 140 Oct 2 02:23 .dockerignore 02:28:25 drwxrwxr-x 8 jenkins jenkins 4096 Oct 2 02:23 .git 02:28:25 drwxrwxr-x 2 jenkins jenkins 4096 Oct 2 02:23 .github 02:28:25 -rw-rw-r-- 1 jenkins jenkins 138 Oct 2 02:23 .gitignore 02:28:25 drwxrwxr-x 3 jenkins jenkins 4096 Oct 2 02:23 .semver 02:28:25 -rw-rw-r-- 1 jenkins jenkins 936 Oct 2 02:23 Dockerfile.build 02:28:25 -rw-rw-r-- 1 jenkins jenkins 785 Oct 2 02:23 Jenkinsfile 02:28:25 -rw-rw-r-- 1 jenkins jenkins 11341 Oct 2 02:23 LICENSE 02:28:25 -rw-rw-r-- 1 jenkins jenkins 1013 Oct 2 02:23 Makefile 02:28:25 -rw-rw-r-- 1 jenkins jenkins 5897 Oct 2 02:23 README.md 02:28:25 -rw-rw-r-- 1 jenkins jenkins 4291 Oct 2 02:23 RELEASE-NOTES.txt 02:28:25 -rw-rw-r-- 1 jenkins jenkins 5 Oct 2 02:20 VERSION 02:28:25 drwxrwxr-x 2 jenkins jenkins 4096 Oct 2 02:23 bin 02:28:25 -rw-r--r-- 1 jenkins jenkins 111041 Oct 2 02:27 coverage.out 02:28:25 drwxrwxr-x 4 jenkins jenkins 4096 Oct 2 02:23 example 02:28:25 -rw-r--r-- 1 jenkins jenkins 517 Oct 2 02:28 go.mod 02:28:25 -rw-r--r-- 1 jenkins jenkins 13652 Oct 2 02:28 go.sum 02:28:25 drwxrwxr-x 15 jenkins jenkins 4096 Oct 2 02:23 internal 02:28:25 drwxrwxr-x 4 jenkins jenkins 4096 Oct 2 02:23 openapi 02:28:25 drwxrwxr-x 5 jenkins jenkins 4096 Oct 2 02:23 pkg 02:28:25 drwxrwxr-x 4 jenkins jenkins 4096 Oct 2 02:23 snap 02:28:25 -rw-rw-r-- 1 jenkins jenkins 222 Oct 2 02:23 version.go [Pipeline] isUnix [Pipeline] sh 02:28:25 + 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=6cabb274cc574262546194301fe1698430925cf7 --label arch=arm64 --label version=0.0.0 . 02:28:26 Sending build context to Docker daemon 3.533MB 02:28:26 Step 1/24 : ARG BASE=golang:1.15-alpine 02:28:26 Step 2/24 : FROM ${BASE} AS builder 02:28:26 ---> 7054e51135f2 02:28:26 Step 3/24 : ARG MAKE='make build' 02:28:26 ---> Running in 4359c96af169 02:28:26 Removing intermediate container 4359c96af169 02:28:26 ---> a84afb753cef 02:28:26 Step 4/24 : WORKDIR /device-sdk-go 02:28:27 ---> Running in fb49cd21c135 02:28:27 Removing intermediate container fb49cd21c135 02:28:27 ---> 9b4f3dad84cd 02:28:27 Step 5/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 02:28:27 ---> Running in 38828d924d4f 02:28:27 Removing intermediate container 38828d924d4f 02:28:27 ---> 75ae149d1c96 02:28:27 Step 6/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 02:28:28 ---> Running in 9206039d4b9c 02:28:30 Removing intermediate container 9206039d4b9c 02:28:30 ---> 9bdb83102eff 02:28:30 Step 7/24 : RUN apk add --update --no-cache make git 02:28:30 ---> Running in 8c150cfb36f0 02:28:32 fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz 02:28:37 fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz 02:28:47 OK: 142 MiB in 39 packages 02:28:47 Removing intermediate container 8c150cfb36f0 02:28:47 ---> 8239e09c9ad8 02:28:47 Step 8/24 : COPY . . 02:28:49 ---> fc93317201b9 02:28:49 Step 9/24 : RUN ${MAKE} 02:28:49 ---> Running in db68521ae047 02:28:50 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 02:29:17 CGO_ENABLED=0 GO111MODULE=on go install -tags=safe 02:29:17 Removing intermediate container db68521ae047 02:29:17 ---> 298d4e9ce930 02:29:17 Step 10/24 : FROM scratch 02:29:17 ---> 02:29:17 Step 11/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 02:29:17 ---> Running in 5e4f0f2eb3cf 02:29:17 Removing intermediate container 5e4f0f2eb3cf 02:29:17 ---> cf1edda20e77 02:29:17 Step 12/24 : ENV APP_PORT=49990 02:29:17 ---> Running in 3816684843f7 02:29:17 Removing intermediate container 3816684843f7 02:29:17 ---> 68813ff7309a 02:29:17 Step 13/24 : EXPOSE $APP_PORT 02:29:17 ---> Running in 573202eebd7d 02:29:17 Removing intermediate container 573202eebd7d 02:29:17 ---> e67717536921 02:29:17 Step 14/24 : WORKDIR / 02:29:17 ---> Running in a2274d11d95d 02:29:18 Removing intermediate container a2274d11d95d 02:29:18 ---> 1e8c81ed5d10 02:29:18 Step 15/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /usr/local/bin/device-simple 02:29:19 ---> e3128dc4f953 02:29:19 Step 16/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/configuration.toml /res/configuration.toml 02:29:19 ---> 0819f5f03b65 02:29:19 Step 17/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/Simple-Driver.yaml /res/Simple-Driver.yaml 02:29:20 ---> cd6790d07c7d 02:29:20 Step 18/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/on.png /res/on.png 02:29:21 ---> 14e5e5dbbaa3 02:29:21 Step 19/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/off.jpg /res/off.jpg 02:29:22 ---> c2fbff85ba32 02:29:22 Step 20/24 : ENTRYPOINT ["/usr/local/bin/device-simple"] 02:29:22 ---> Running in 819e0fc65e5e 02:29:22 Removing intermediate container 819e0fc65e5e 02:29:22 ---> 4b7f2a3a3f70 02:29:22 Step 21/24 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] 02:29:22 ---> Running in 9a58c5461333 02:29:23 Removing intermediate container 9a58c5461333 02:29:23 ---> 670fd41cb41e 02:29:23 Step 22/24 : LABEL arch=arm64 02:29:23 ---> Running in 3323f76b6151 02:29:23 Removing intermediate container 3323f76b6151 02:29:23 ---> 0feeb6c7d348 02:29:23 Step 23/24 : LABEL git_sha=6cabb274cc574262546194301fe1698430925cf7 02:29:24 ---> Running in 3c231e740ba8 02:29:24 Removing intermediate container 3c231e740ba8 02:29:24 ---> 68063e01fd02 02:29:24 Step 24/24 : LABEL version=0.0.0 02:29:24 ---> Running in 2b660dd57f30 02:29:24 Removing intermediate container 2b660dd57f30 02:29:24 ---> 45d3e2dff6ec 02:29:24 [Warning] One or more build-args [ARCH] were not consumed 02:29:25 Successfully built 45d3e2dff6ec 02:29:25 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 02:29:27 provisioning config files... 02:29:27 copy managed file [device-sdk-go-codecov-token] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-584@tmp/config1831979055278568926tmp [Pipeline] { [Pipeline] sh 02:29:27 + set +x 02:29:27 + curl -s https://codecov.io/bash 02:29:27 + bash -s -- 02:29:27 02:29:27 _____ _ 02:29:27 / ____| | | 02:29:27 | | ___ __| | ___ ___ _____ __ 02:29:27 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 02:29:27 | |___| (_) | (_| | __/ (_| (_) \ V / 02:29:27 \_____\___/ \__,_|\___|\___\___/ \_/ 02:29:27 Bash-20200917-4e8f14b 02:29:27 02:29:27 02:29:27 ==> Jenkins CI detected. 02:29:27 project root: . 02:29:27 --> token set from env 02:29:27 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 02:29:27 ==> Running gcov in . (disable via -X gcov) 02:29:27 ==> Python coveragepy not found 02:29:27 ==> Searching for coverage reports in: 02:29:27 + . 02:29:27 -> Found 1 reports 02:29:27 ==> Detecting git/mercurial file structure 02:29:27 ==> Reading reports 02:29:27 + ./coverage.out bytes=111041 02:29:28 ==> Appending adjustments 02:29:28 https://docs.codecov.io/docs/fixing-reports 02:29:28 + Found adjustments 02:29:28 ==> Gzipping contents 02:29:28 ==> Uploading reports 02:29:28 url: https://codecov.io 02:29:28 query: branch=PR-584&commit=6cabb274cc574262546194301fe1698430925cf7&build=13&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-584%2F13%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=584&job=&cmd_args= 02:29:28 -> Pinging Codecov 02:29:28 https://codecov.io/upload/v4?package=bash-20200917-4e8f14b&token=secret&branch=PR-584&commit=6cabb274cc574262546194301fe1698430925cf7&build=13&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-584%2F13%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=584&job=&cmd_args= 02:29:28 -> Uploading to 02:29:28 https://storage.googleapis.com/codecov/v4/raw/2020-10-02/7E55EF52A471D76F132DFD9A03CDDE97/6cabb274cc574262546194301fe1698430925cf7/14a6455e-82a6-48ff-85a5-6c48a7873490.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EQX6OZVJGHKK3633AAFGLBUCOOATRACRQRQF6HMSMLYUP6EAD6XSWAAY%2F20201002%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20201002T022928Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=0029fd0029371ed828081b67cc32fc141e799e1adc89a1f24fecedcb16a37b6d 02:29:28 % Total % Received % Xferd Average Speed Time Time Time Current 02:29:28 Dload Upload Total Spent Left Speed 02:29:29 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 18334 0 0 100 18334 0 40024 --:--:-- --:--:-- --:--:-- 40030 100 18334 0 0 100 18334 0 39991 --:--:-- --:--:-- --:--:-- 39943 02:29:29 -> View reports at https://codecov.io/github/edgexfoundry/device-sdk-go/commit/6cabb274cc574262546194301fe1698430925cf7 [Pipeline] } 02:29:29 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 02:29:32 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 02:29:33 ---> package-listing.sh 02:29:33 ++ facter osfamily 02:29:33 ++ tr '[:upper:]' '[:lower:]' 02:29:33 + OS_FAMILY=redhat 02:29:33 + workspace=/w/workspace/dgexfoundry_device-sdk-go_PR-584 02:29:33 + START_PACKAGES=/tmp/packages_start.txt 02:29:33 + END_PACKAGES=/tmp/packages_end.txt 02:29:33 + DIFF_PACKAGES=/tmp/packages_diff.txt 02:29:33 + PACKAGES=/tmp/packages_start.txt 02:29:33 + '[' /w/workspace/dgexfoundry_device-sdk-go_PR-584 ']' 02:29:33 + PACKAGES=/tmp/packages_end.txt 02:29:33 + case "${OS_FAMILY}" in 02:29:33 + rpm -qa 02:29:33 + sort 02:29:37 + '[' -f /tmp/packages_start.txt ']' 02:29:37 + '[' -f /tmp/packages_end.txt ']' 02:29:37 + diff /tmp/packages_start.txt /tmp/packages_end.txt 02:29:37 + '[' /w/workspace/dgexfoundry_device-sdk-go_PR-584 ']' 02:29:37 + mkdir -p /w/workspace/dgexfoundry_device-sdk-go_PR-584/archives/ 02:29:37 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/dgexfoundry_device-sdk-go_PR-584/archives/ [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 02:29:37 provisioning config files... 02:29:37 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-584@tmp/config1619287883516269879tmp [Pipeline] { [Pipeline] echo 02:29:37 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 02:29:38 ---> create-netrc.sh [Pipeline] } 02:29:38 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] echo 02:29:38 Running shell/python-tools-install.sh [Pipeline] libraryResource [Pipeline] sh 02:29:38 ---> python-tools-install.sh 02:29:38 Generating Requirements File 02:31:30 Python 3.6.8 02:31:30 pip 20.2.3 from /home/jenkins/.local/lib/python3.6/site-packages/pip (python 3.6) 02:31:30 aiohttp==3.6.2 02:31:30 appdirs==1.4.3 02:31:30 argcomplete==1.12.1 02:31:30 aspy.yaml==1.3.0 02:31:30 async-timeout==3.0.1 02:31:30 attrs==19.3.0 02:31:30 Babel==2.8.0 02:31:30 beautifulsoup4==4.8.2 02:31:30 boto3==1.11.6 02:31:30 botocore==1.14.6 02:31:30 bs4==0.0.1 02:31:30 cachetools==4.1.1 02:31:30 certifi==2019.11.28 02:31:30 cffi==1.14.3 02:31:30 cfgv==2.0.1 02:31:30 chardet==3.0.4 02:31:30 click==7.1 02:31:30 cliff==3.4.0 02:31:30 cmd2==1.3.11 02:31:30 colorama==0.4.3 02:31:30 cryptography==3.1.1 02:31:30 debtcollector==2.2.0 02:31:30 decorator==4.4.2 02:31:30 defusedxml==0.6.0 02:31:30 Deprecated==1.2.7 02:31:30 distlib==0.3.1 02:31:30 distro==1.2.0 02:31:30 dnspython==1.16.0 02:31:30 docker==4.2.0 02:31:30 docutils==0.15.2 02:31:30 dogpile.cache==1.0.2 02:31:30 email-validator==1.0.5 02:31:30 filelock==3.0.12 02:31:30 future==0.18.2 02:31:30 google-auth==1.22.0 02:31:30 httplib2==0.17.0 02:31:30 identify==1.4.11 02:31:30 idna==2.9 02:31:30 idna-ssl==1.1.0 02:31:30 importlib-metadata==1.7.0 02:31:30 importlib-resources==1.5.0 02:31:30 iso8601==0.1.13 02:31:30 Jinja2==2.11.1 02:31:30 jmespath==0.10.0 02:31:30 jsonpatch==1.26 02:31:30 jsonpointer==2.0 02:31:30 jsonschema==3.2.0 02:31:30 keystoneauth1==4.2.1 02:31:30 kubernetes==11.0.0 02:31:30 lftools==0.34.2 02:31:30 lxml==4.5.0 02:31:30 MarkupSafe==0.23 02:31:30 msgpack==1.0.0 02:31:30 multi-key-dict==2.0.3 02:31:30 multidict==4.7.6 02:31:30 munch==2.5.0 02:31:30 netaddr==0.8.0 02:31:30 netifaces==0.10.9 02:31:30 niet==1.4.2 02:31:30 nodeenv==1.3.5 02:31:30 oauth2client==4.1.3 02:31:30 oauthlib==3.1.0 02:31:30 openstacksdk==0.50.0 02:31:30 os-client-config==2.1.0 02:31:30 os-service-types==1.7.0 02:31:30 osc-lib==2.2.1 02:31:30 oslo.config==8.3.2 02:31:30 oslo.context==3.1.1 02:31:30 oslo.i18n==5.0.1 02:31:30 oslo.log==4.4.0 02:31:30 oslo.serialization==4.0.1 02:31:30 oslo.utils==4.6.0 02:31:30 packaging==20.4 02:31:30 pbr==5.4.4 02:31:30 pluggy==0.13.1 02:31:30 prettytable==0.7.2 02:31:30 py==1.9.0 02:31:30 pyasn1==0.4.8 02:31:30 pyasn1-modules==0.2.8 02:31:30 pycparser==2.20 02:31:30 pygerrit2==2.0.10 02:31:30 PyGithub==1.46 02:31:30 pyinotify==0.9.6 02:31:30 PyJWT==1.7.1 02:31:30 pyparsing==2.4.7 02:31:30 pyperclip==1.8.0 02:31:30 pyroute2==0.4.13 02:31:30 pyrsistent==0.15.7 02:31:30 PySocks==1.6.8 02:31:30 python-cinderclient==7.2.0 02:31:30 python-dateutil==2.8.1 02:31:30 python-heatclient==2.2.1 02:31:30 python-jenkins==1.7.0 02:31:30 python-keystoneclient==4.1.1 02:31:30 python-magnumclient==3.2.1 02:31:30 python-novaclient==17.2.1 02:31:30 python-openstackclient==5.3.1 02:31:30 python-swiftclient==3.10.1 02:31:30 pytz==2020.1 02:31:30 PyYAML==5.3 02:31:30 requests==2.23.0 02:31:30 requests-oauthlib==1.3.0 02:31:30 requestsexceptions==1.4.0 02:31:30 rfc3986==1.4.0 02:31:30 rpm==4.11.3 02:31:30 rsa==4.0 02:31:30 ruamel.yaml==0.16.10 02:31:30 ruamel.yaml.clib==0.2.0 02:31:30 s3transfer==0.3.3 02:31:30 shade==1.27.2 02:31:30 simplejson==3.17.2 02:31:30 six==1.14.0 02:31:30 soupsieve==2.0 02:31:30 stevedore==3.2.2 02:31:30 tabulate==0.8.6 02:31:30 toml==0.10.0 02:31:30 tox==3.20.0 02:31:30 tqdm==4.43.0 02:31:30 typing-extensions==3.7.4.3 02:31:30 urllib3==1.25.8 02:31:30 virtualenv==20.0.32 02:31:30 wcwidth==0.2.5 02:31:30 websocket-client==0.57.0 02:31:30 wrapt==1.12.1 02:31:30 xdg==3.0.2 02:31:30 xmltodict==0.12.0 02:31:30 yarl==1.6.0 02:31:30 yq==2.11.1 02:31:30 zipp==3.2.0 02:31:30 Cache entry deserialization failed, entry ignored 02:31:30 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. 02:31:35 Python 2.7.5 02:31:35 pip 20.2.3 from /home/jenkins/.local/lib/python2.7/site-packages/pip (python 2.7) 02:31:36 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. 02:31:36 ansible==2.9.7 02:31:36 Babel==0.9.6 02:31:36 backports.ssl-match-hostname==3.5.0.1 02:31:36 beautifulsoup4==4.4.1 02:31:36 bodhi==2.11.0 02:31:36 bodhi-client==2.11.0 02:31:36 CCColUtils==1.4 02:31:36 cffi==1.6.0 02:31:36 chardet==2.2.1 02:31:36 click==6.7 02:31:36 cloud-init==18.5 02:31:36 configobj==4.7.2 02:31:36 cryptography==1.7.2 02:31:36 decorator==3.4.0 02:31:36 distro==1.2.0 02:31:36 enum34==1.0.4 02:31:36 fedpkg==1.38 02:31:36 futures==3.1.1 02:31:36 gitdb==0.6.4 02:31:36 GitPython==1.0.1 02:31:36 html5lib==0.999 02:31:36 httplib2==0.9.2 02:31:36 idna==2.4 02:31:36 iniparse==0.4 02:31:36 ipaddress==1.0.16 02:31:36 IPy==0.75 02:31:36 javapackages==1.0.0 02:31:36 Jinja2==2.7.2 02:31:36 jmespath==0.9.4 02:31:36 jsonpatch==1.2 02:31:36 jsonpointer==1.9 02:31:36 kerberos==1.1 02:31:36 kitchen==1.1.1 02:31:36 langtable==0.0.31 02:31:36 lockfile==0.9.1 02:31:36 lxml==3.2.1 02:31:36 MarkupSafe==0.11 02:31:36 munch==2.0.2 02:31:36 offtrac==0.1.0 02:31:36 openidc-client==0.6.0 02:31:36 packagedb-cli==2.14.1 02:31:36 paramiko==2.1.1 02:31:36 perf==0.1 02:31:36 ply==3.4 02:31:36 policycoreutils-default-encoding==0.1 02:31:36 prettytable==0.7.2 02:31:36 pyasn1==0.1.9 02:31:36 pycparser==2.14 02:31:36 pycurl==7.19.0 02:31:36 pygobject==3.22.0 02:31:36 pygpgme==0.3 02:31:36 pyliblzma==0.5.3 02:31:36 pyOpenSSL==0.13.1 02:31:36 pyparsing==1.5.6 02:31:36 pyserial==2.6 02:31:36 python-augeas==0.5.0 02:31:36 python-bugzilla==2.3.0 02:31:36 python-dateutil==1.5 02:31:36 python-fedora==0.10.0 02:31:36 python-linux-procfs==0.4.9 02:31:36 python-yubico==1.2.3 02:31:36 pyudev==0.15 02:31:36 pyusb==1.0.0b1 02:31:36 pyxattr==0.5.1 02:31:36 PyYAML==3.10 02:31:36 requests==2.6.0 02:31:36 requests-kerberos==0.7.0 02:31:36 rpkg==1.60 02:31:36 schedutils==0.4 02:31:36 seobject==0.1 02:31:36 sepolicy==1.1 02:31:36 six==1.9.0 02:31:36 smmap==0.9.0 02:31:36 urlgrabber==3.10 02:31:36 urllib3==1.10.2 02:31:36 virtualenv==15.1.0 02:31:36 yum-langpacks==0.4.2 02:31:36 yum-metadata-parser==1.1.4 [Pipeline] echo 02:31:36 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 02:31:36 ---> sudo-logs.sh 02:31:36 Archiving 'sudo' log.. [Pipeline] echo 02:31:37 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 02:31:37 ---> job-cost.sh 02:31:37 lf-activate-venv(): INFO: Creating python3 venv at /tmp/venv-CQqk 02:31:50 Cache entry deserialization failed, entry ignored 02:31:50 Cache entry deserialization failed, entry ignored 02:31:51 Cache entry deserialization failed, entry ignored 02:31:51 Cache entry deserialization failed, entry ignored 02:31:51 Cache entry deserialization failed, entry ignored 02:31:52 Cache entry deserialization failed, entry ignored 02:31:52 Cache entry deserialization failed, entry ignored 02:31:52 Cache entry deserialization failed, entry ignored 02:31:52 Cache entry deserialization failed, entry ignored 02:31:52 Cache entry deserialization failed, entry ignored 02:31:52 Cache entry deserialization failed, entry ignored 02:31:52 Cache entry deserialization failed, entry ignored 02:31:58 lf-activate-venv(): INFO: Installing: zipp==1.1.0 python-openstackclient 02:32:37 lf-activate-venv(): INFO: Adding /tmp/venv-CQqk/bin to PATH 02:32:37 INFO: No Stack... 02:32:37 INFO: Retrieving Pricing Info for: v1-standard-2 02:32:37 INFO: Archiving Costs [Pipeline] echo 02:32:37 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 02:32:37 ---> logs-deploy.sh 02:32:37 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-584/13 02:32:37 INFO: archiving workspace using pattern(s): 02:32:40 Archives upload complete. 02:32:40 INFO: archiving logs to Nexus