Pull request #919 opened Connecting to https://api.github.com using edgex-jenkins/****** (edgex-jenkins github personal access token) Obtained Jenkinsfile from ba9182f884d787fcb5b7c5631719d30bf142a80c+6cc4c25230d964bbb6ccd74e42769d1c7a10d9be (e586d8be7bf661cff69873bfbf2b25220d530510) 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 aa25fb65c2461e649b1a162fbf19ec71f4863fbd 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 aa25fb65c2461e649b1a162fbf19ec71f4863fbd 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-919/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 aa25fb65c2461e649b1a162fbf19ec71f4863fbd (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f aa25fb65c2461e649b1a162fbf19ec71f4863fbd # timeout=10 Commit message: "Merge pull request #336 from ernestojeda/golang-1.16" > 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 46d8313d362d7075c0f562900eedc504c24ea18a 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-919/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 46d8313d362d7075c0f562900eedc504c24ea18a (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 46d8313d362d7075c0f562900eedc504c24ea18a # timeout=10 Commit message: "Fix lfParallelCostCapture env var name" > 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 aa25fb65c2461e649b1a162fbf19ec71f4863fbd 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.16 GOPROXY: https://nexus3.edgexfoundry.org/repository/go-proxy/ DOCKER_BASE_IMAGE: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-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 BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] node Still waiting to schedule task Waiting for next available executor on ‘prd-centos7-docker-4c-2g-4320’ Running on prd-centos7-docker-4c-2g-4328 in /w/workspace/dgexfoundry_device-sdk-go_PR-919 [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-919 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git > git --version # timeout=10 > git --version # 'git version 2.24.3' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Merging remotes/origin/master commit 6cc4c25230d964bbb6ccd74e42769d1c7a10d9be into PR head commit ba9182f884d787fcb5b7c5631719d30bf142a80c Merge succeeded, producing ba9182f884d787fcb5b7c5631719d30bf142a80c Checking out Revision ba9182f884d787fcb5b7c5631719d30bf142a80c (PR-919) > 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 --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/919/head:refs/remotes/origin/PR-919 +refs/heads/master:refs/remotes/origin/master # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f ba9182f884d787fcb5b7c5631719d30bf142a80c # 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 6cc4c25230d964bbb6ccd74e42769d1c7a10d9be # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f ba9182f884d787fcb5b7c5631719d30bf142a80c # timeout=10 Commit message: "build(deps): bump github.com/edgexfoundry/go-mod-messaging/v2" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.24.3' fatal: bad object aa25fb65c2461e649b1a162fbf19ec71f4863fbd [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 05:17:16 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 05:17:17 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 05:17:17 ========================================================= 05:17:17 EdgeX Global Pipelines Version Info 05:17:17 ========================================================= [Pipeline] libraryResource [Pipeline] sh 05:17:18 ------------------- 05:17:18 stable info: 05:17:18 ------------------- 05:17:18 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 05:17:18 Commit SHA: aa25fb65c2461e649b1a162fbf19ec71f4863fbd 05:17:18 Message: update stable to v1.0.191 05:17:19 ------------------- 05:17:19 experimental info: 05:17:19 ------------------- 05:17:19 Commited By: **** collab-it+edgex@linuxfoundation.org 05:17:19 Commit SHA: 9d0281235b943b7ad605f650702698f9078b2862 05:17:19 Message: update experimental to v1.0.192 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 05:17:19 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-go-settings [Pipeline] echo 05:17:19 [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-go [Pipeline] echo 05:17:20 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 05:17:20 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 05:17:20 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 05:17:20 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.16 [Pipeline] echo 05:17:20 [edgeXSetupEnvironment]: set envvar GOPROXY = https://nexus3.edgexfoundry.org/repository/go-proxy/ [Pipeline] echo 05:17:20 [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine [Pipeline] echo 05:17:20 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = example/cmd/device-simple/Dockerfile [Pipeline] echo 05:17:20 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 05:17:20 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 05:17:20 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = docker-device-sdk-simple [Pipeline] echo 05:17:20 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 05:17:20 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 05:17:20 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 05:17:20 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo 05:17:20 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 05:17:20 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 05:17:20 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 05:17:20 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 05:17:21 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo 05:17:21 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 openapi/v2 [Pipeline] echo 05:17:21 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 05:17:21 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 05:17:21 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 05:17:21 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 05:17:21 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-919 [Pipeline] echo 05:17:21 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-919 [Pipeline] echo 05:17:21 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-919 [Pipeline] echo 05:17:21 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = ba9182f884d787fcb5b7c5631719d30bf142a80c [Pipeline] echo 05:17:21 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = ba9182f [Pipeline] echo 05:17:21 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] wrap 05:17:21 provisioning config files... 05:17:21 copy managed file [device-sdk-go-settings] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-919@tmp/config2014287651025821466tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 05:17:22 ---> docker-login.sh 05:17:22 nexus3.edgexfoundry.org:10001 05:17:22 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:17:22 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:17:22 Configure a credential helper to remove this warning. See 05:17:22 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:17:22 05:17:22 Login Succeeded 05:17:22 nexus3.edgexfoundry.org:10002 05:17:22 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:17:22 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:17:22 Configure a credential helper to remove this warning. See 05:17:22 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:17:22 05:17:22 Login Succeeded 05:17:22 nexus3.edgexfoundry.org:10003 05:17:23 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:17:23 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:17:23 Configure a credential helper to remove this warning. See 05:17:23 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:17:23 05:17:23 Login Succeeded 05:17:23 nexus3.edgexfoundry.org:10004 05:17:23 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:17:23 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:17:23 Configure a credential helper to remove this warning. See 05:17:23 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:17:23 05:17:23 Login Succeeded 05:17:23 docker.io 05:17:23 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:17:23 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:17:23 Configure a credential helper to remove this warning. See 05:17:23 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:17:23 05:17:23 Login Succeeded 05:17:23 ---> docker-login.sh ends [Pipeline] } 05:17:23 Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 05:17:24 + git log --format=format:%s -1 ba9182f884d787fcb5b7c5631719d30bf142a80c [Pipeline] echo 05:17:24 GIT_COMMIT: ba9182f884d787fcb5b7c5631719d30bf142a80c, Commit Message: build(deps): bump github.com/edgexfoundry/go-mod-messaging/v2 [Pipeline] echo 05:17:24 This is not a build commit. [Pipeline] isUnix [Pipeline] sh 05:17:25 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 05:17:25 05:17:25 Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh 05:17:25 + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 05:17:25 latest: Pulling from edgex-devops/git-semver 05:17:25 31603596830f: Pulling fs layer 05:17:25 54011a49482f: Pulling fs layer 05:17:25 a6820b24f6d8: Pulling fs layer 05:17:25 f581987b2513: Pulling fs layer 05:17:25 f581987b2513: Waiting 05:17:25 54011a49482f: Verifying Checksum 05:17:25 54011a49482f: Download complete 05:17:25 31603596830f: Download complete 05:17:25 a6820b24f6d8: Verifying Checksum 05:17:25 a6820b24f6d8: Download complete 05:17:25 f581987b2513: Verifying Checksum 05:17:25 f581987b2513: Download complete 05:17:26 31603596830f: Pull complete 05:17:26 54011a49482f: Pull complete 05:17:27 a6820b24f6d8: Pull complete 05:17:27 f581987b2513: Pull complete 05:17:27 Digest: sha256:772af3cb61214e5a22880db9bb273bb039d0aa3a8f4edfa0c1def8b4e20ea536 05:17:27 Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 05:17:27 nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer 05:17:27 prd-centos7-docker-4c-2g-4328 does not seem to be running inside a container 05:17:27 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/dgexfoundry_device-sdk-go_PR-919 -v /w/workspace/dgexfoundry_device-sdk-go_PR-919:/w/workspace/dgexfoundry_device-sdk-go_PR-919:rw,z -v /w/workspace/dgexfoundry_device-sdk-go_PR-919@tmp:/w/workspace/dgexfoundry_device-sdk-go_PR-919@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 05:17:29 $ docker top 7ba6b994645492d28ebae240019e082093359a843dc25ba2668ed4d3773de62f -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 05:17:29 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 05:17:29 [ssh-agent] Looking for ssh-agent implementation... 05:17:29 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 05:17:29 $ docker exec 7ba6b994645492d28ebae240019e082093359a843dc25ba2668ed4d3773de62f ssh-agent 05:17:30 SSH_AUTH_SOCK=/tmp/ssh-F2skTc0sw9fy/agent.12 05:17:30 SSH_AGENT_PID=17 05:17:30 Running ssh-add (command line suppressed) 05:17:30 Identity added: /w/workspace/dgexfoundry_device-sdk-go_PR-919@tmp/private_key_1016353322500643492.key (/w/workspace/dgexfoundry_device-sdk-go_PR-919@tmp/private_key_1016353322500643492.key) 05:17:30 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 05:17:30 + git tag --points-at HEAD [Pipeline] } 05:17:30 $ docker exec --env ******** --env ******** 7ba6b994645492d28ebae240019e082093359a843dc25ba2668ed4d3773de62f ssh-agent -k 05:17:30 unset SSH_AUTH_SOCK; 05:17:30 unset SSH_AGENT_PID; 05:17:30 echo Agent pid 17 killed; 05:17:30 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 05:17:30 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 05:17:30 [ssh-agent] Looking for ssh-agent implementation... 05:17:31 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 05:17:31 $ docker exec 7ba6b994645492d28ebae240019e082093359a843dc25ba2668ed4d3773de62f ssh-agent 05:17:31 SSH_AUTH_SOCK=/tmp/ssh-lNIGtyQPjHIt/agent.46 05:17:31 SSH_AGENT_PID=51 05:17:31 Running ssh-add (command line suppressed) 05:17:31 Identity added: /w/workspace/dgexfoundry_device-sdk-go_PR-919@tmp/private_key_6658063208850522085.key (/w/workspace/dgexfoundry_device-sdk-go_PR-919@tmp/private_key_6658063208850522085.key) 05:17:31 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 05:17:31 + git semver init 05:17:31 # -> Open(): unable to determine branch for HEAD 05:17:31 # $GIT_DIR = /w/workspace/dgexfoundry_device-sdk-go_PR-919/.git 05:17:31 # $GIT_WORK_TREE = /w/workspace/dgexfoundry_device-sdk-go_PR-919 05:17:31 # $SEMVER_REMOTE_NAME = origin 05:17:31 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 05:17:31 # $SEMVER_USER_NAME = edgex-jenkins 05:17:31 # $SEMVER_BRANCH = PR-919 05:17:31 # $SEMVER_TEMP = /tmp/semver-769824254 05:17:31 # git clone --branch semver git@github.com:edgexfoundry/device-sdk-go.git $SEMVER_TEMP 05:17:32 # '/tmp/semver-769824254' -> '/w/workspace/dgexfoundry_device-sdk-go_PR-919/.semver' 05:17:32 # -> Force: false 05:17:32 # $SEMVER_DIR = /w/workspace/dgexfoundry_device-sdk-go_PR-919/.semver [Pipeline] } 05:17:32 $ docker exec --env ******** --env ******** 7ba6b994645492d28ebae240019e082093359a843dc25ba2668ed4d3773de62f ssh-agent -k 05:17:32 unset SSH_AUTH_SOCK; 05:17:32 unset SSH_AGENT_PID; 05:17:32 echo Agent pid 51 killed; 05:17:33 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 05:17:33 + git semver [Pipeline] } 05:17:33 $ docker stop --time=1 7ba6b994645492d28ebae240019e082093359a843dc25ba2668ed4d3773de62f 05:17:35 $ docker rm -f 7ba6b994645492d28ebae240019e082093359a843dc25ba2668ed4d3773de62f [Pipeline] // withDockerContainer [Pipeline] sh 05:17:35 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 05:17:36 Stashed 1 file(s) [Pipeline] echo 05:17:36 [edgeXSemver]: initialized semver on version 0.0.0 [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] parallel [Pipeline] { (Branch: amd64) [Pipeline] { (Branch: arm64) [Pipeline] stage [Pipeline] { (amd64) [Pipeline] stage [Pipeline] { (arm64) [Pipeline] node [Pipeline] node 05:17:51 Still waiting to schedule task 05:17:51 Waiting for next available executor on ‘centos7-docker-4c-2g’ 05:17:51 Still waiting to schedule task 05:17:51 Waiting for next available executor on ‘ubuntu18.04-docker-arm64-4c-16g’ 05:19:12 Running on prd-centos7-docker-4c-2g-4331 in /w/workspace/dgexfoundry_device-sdk-go_PR-919 [Pipeline] { [Pipeline] ws 05:19:12 Running in /w/workspace/device-sdk-go/1 [Pipeline] { [Pipeline] checkout 05:19:15 using credential edgex-jenkins-ssh 05:19:15 Cloning the remote Git repository 05:19:15 Cloning repository git@github.com:edgexfoundry/device-sdk-go.git 05:19:15 > git init /w/workspace/device-sdk-go/1 # timeout=10 05:19:15 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 05:19:15 > git --version # timeout=10 05:19:15 > git --version # 'git version 2.24.3' 05:19:15 using GIT_SSH to set credentials SSH Credentials for GitHub 05:19:15 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 05:19:16 Merging remotes/origin/master commit 6cc4c25230d964bbb6ccd74e42769d1c7a10d9be into PR head commit ba9182f884d787fcb5b7c5631719d30bf142a80c 05:19:17 Merge succeeded, producing ba9182f884d787fcb5b7c5631719d30bf142a80c 05:19:17 Checking out Revision ba9182f884d787fcb5b7c5631719d30bf142a80c (PR-919) 05:19:16 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 05:19:16 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 05:19:16 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 05:19:16 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 05:19:16 using GIT_SSH to set credentials SSH Credentials for GitHub 05:19:16 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/919/head:refs/remotes/origin/PR-919 +refs/heads/master:refs/remotes/origin/master # timeout=10 05:19:16 > git config core.sparsecheckout # timeout=10 05:19:16 > git checkout -f ba9182f884d787fcb5b7c5631719d30bf142a80c # timeout=10 05:19:16 > git remote # timeout=10 05:19:16 > git config --get remote.origin.url # timeout=10 05:19:16 using GIT_SSH to set credentials SSH Credentials for GitHub 05:19:16 > git merge 6cc4c25230d964bbb6ccd74e42769d1c7a10d9be # timeout=10 05:19:17 > git rev-parse HEAD^{commit} # timeout=10 05:19:17 > git config core.sparsecheckout # timeout=10 05:19:17 > git checkout -f ba9182f884d787fcb5b7c5631719d30bf142a80c # timeout=10 05:19:20 Commit message: "build(deps): bump github.com/edgexfoundry/go-mod-messaging/v2" 05:19:20 > git --version # timeout=10 05:19:20 > git --version # 'git version 2.24.3' 05:19:20 fatal: bad object aa25fb65c2461e649b1a162fbf19ec71f4863fbd [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 05:19:21 + sudo jq '. + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false}' /etc/docker/daemon.json [Pipeline] sh 05:19:22 + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh 05:19:22 + sudo service docker restart 05:19:22 + true 05:19:22 Redirecting to /bin/systemctl restart docker.service [Pipeline] withEnv [Pipeline] { [Pipeline] wrap 05:19:23 provisioning config files... 05:19:23 copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/1@tmp/config6001983576004793424tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 05:19:24 ---> docker-login.sh 05:19:24 nexus3.edgexfoundry.org:10001 05:19:24 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:19:24 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:19:24 Configure a credential helper to remove this warning. See 05:19:24 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:19:24 05:19:24 Login Succeeded 05:19:24 nexus3.edgexfoundry.org:10002 05:19:24 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:19:24 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:19:24 Configure a credential helper to remove this warning. See 05:19:24 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:19:24 05:19:24 Login Succeeded 05:19:24 nexus3.edgexfoundry.org:10003 05:19:24 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:19:24 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:19:24 Configure a credential helper to remove this warning. See 05:19:24 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:19:24 05:19:24 Login Succeeded 05:19:24 nexus3.edgexfoundry.org:10004 05:19:24 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:19:25 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:19:25 Configure a credential helper to remove this warning. See 05:19:25 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:19:25 05:19:25 Login Succeeded 05:19:25 docker.io 05:19:25 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:19:25 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:19:25 Configure a credential helper to remove this warning. See 05:19:25 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:19:25 05:19:25 Login Succeeded 05:19:25 ---> docker-login.sh ends [Pipeline] } 05:19:25 Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 05:19:25 ========================================================= 05:19:25 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine] 05:19:25 ========================================================= [Pipeline] isUnix [Pipeline] sh 05:19:26 + docker build -t ci-base-image-x86_64 -f Dockerfile.build --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine . 05:19:26 Sending build context to Docker daemon 2.542MB 05:19:26 Step 1/8 : ARG BASE=golang:1.16-alpine3.12 05:19:26 Step 2/8 : FROM ${BASE} 05:19:26 1.16-alpine: Pulling from edgex-devops/edgex-golang-base 05:19:26 540db60ca938: Pulling fs layer 05:19:26 adcc1eea9eea: Pulling fs layer 05:19:26 4c4ab2625f07: Pulling fs layer 05:19:26 0510c868ecb4: Pulling fs layer 05:19:26 afea3b2eda06: Pulling fs layer 05:19:26 7809a108b3ef: Pulling fs layer 05:19:26 f706445af74f: Pulling fs layer 05:19:26 afea3b2eda06: Waiting 05:19:26 7809a108b3ef: Waiting 05:19:26 f706445af74f: Waiting 05:19:26 0510c868ecb4: Waiting 05:19:26 4c4ab2625f07: Verifying Checksum 05:19:26 4c4ab2625f07: Download complete 05:19:26 adcc1eea9eea: Verifying Checksum 05:19:26 adcc1eea9eea: Download complete 05:19:26 afea3b2eda06: Verifying Checksum 05:19:26 afea3b2eda06: Download complete 05:19:26 7809a108b3ef: Verifying Checksum 05:19:26 7809a108b3ef: Download complete 05:19:26 540db60ca938: Verifying Checksum 05:19:26 540db60ca938: Download complete 05:19:26 540db60ca938: Pull complete 05:19:26 adcc1eea9eea: Pull complete 05:19:26 4c4ab2625f07: Pull complete 05:19:27 f706445af74f: Verifying Checksum 05:19:27 f706445af74f: Download complete 05:19:28 0510c868ecb4: Download complete 05:19:35 0510c868ecb4: Pull complete 05:19:35 afea3b2eda06: Pull complete 05:19:35 7809a108b3ef: Pull complete 05:19:39 f706445af74f: Pull complete 05:19:39 Digest: sha256:3789524f83b4b99ff44900c39f6da7fc44f99660cd9adf292610dec398b137f4 05:19:39 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine 05:19:39 ---> b068be0155e3 05:19:39 Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 05:19:39 ---> Running in 49b3eba2cc36 05:19:39 Removing intermediate container 49b3eba2cc36 05:19:39 ---> f326a9620faf 05:19:39 Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 05:19:39 ---> Running in 0320f4b1cb73 05:19:41 Removing intermediate container 0320f4b1cb73 05:19:41 ---> 5c00475ad724 05:19:41 Step 5/8 : RUN apk add --update --no-cache make git gcc libc-dev libsodium-dev zeromq-dev 05:19:41 ---> Running in ff3d370e4648 05:19:41 fetch https://nl.alpinelinux.org/alpine/v3.13/main/x86_64/APKINDEX.tar.gz 05:19:43 fetch https://nl.alpinelinux.org/alpine/v3.13/community/x86_64/APKINDEX.tar.gz 05:19:44 (1/6) Installing libc-dev (0.7.2-r3) 05:19:44 (2/6) Installing libsodium (1.0.18-r0) 05:19:45 (3/6) Installing pkgconf (1.7.3-r0) 05:19:45 (4/6) Installing libsodium-dev (1.0.18-r0) 05:19:45 (5/6) Installing libzmq (4.3.3-r1) 05:19:45 (6/6) Installing zeromq-dev (4.3.3-r1) 05:19:45 Executing busybox-1.32.1-r6.trigger 05:19:45 OK: 150 MiB in 46 packages 05:19:46 Removing intermediate container ff3d370e4648 05:19:46 ---> 8b9910a69454 05:19:46 Step 6/8 : WORKDIR /device-sdk-go 05:19:46 ---> Running in 6f9805570f5e 05:19:46 Removing intermediate container 6f9805570f5e 05:19:46 ---> 782df358c74b 05:19:46 Step 7/8 : COPY . . 05:19:48 ---> 37915e0971a7 05:19:48 Step 8/8 : RUN go mod download 05:19:48 ---> Running in 5023a775f1a8 05:20:14 Removing intermediate container 5023a775f1a8 05:20:14 ---> 48eb58ee149f 05:20:14 Successfully built 48eb58ee149f 05:20:14 Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh 05:20:15 + docker inspect -f . ci-base-image-x86_64 05:20:15 . [Pipeline] withDockerContainer 05:20:15 prd-centos7-docker-4c-2g-4331 does not seem to be running inside a container 05:20:15 $ 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-x86_64 cat 05:20:16 $ docker top 1458a7085b5e8bcf781b35461c355a66a7b6f87890a26581709a7925d81d03c5 -eo pid,comm [Pipeline] { [Pipeline] sh 05:20:16 + go version 05:20:16 go version go1.16.3 linux/amd64 [Pipeline] } 05:20:16 $ docker stop --time=1 1458a7085b5e8bcf781b35461c355a66a7b6f87890a26581709a7925d81d03c5 05:20:18 $ docker rm -f 1458a7085b5e8bcf781b35461c355a66a7b6f87890a26581709a7925d81d03c5 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 05:20:19 + docker inspect -f . ci-base-image-x86_64 05:20:19 . [Pipeline] withDockerContainer 05:20:19 prd-centos7-docker-4c-2g-4331 does not seem to be running inside a container 05:20:19 $ 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-x86_64 cat 05:20:19 $ docker top e22d2cd997573a7850a4108928251977a5160f967a5f764e30b5d0c21606f8fb -eo pid,comm [Pipeline] { [Pipeline] sh 05:20:20 + go mod tidy [Pipeline] sh 05:20:21 + make test 05:20:21 GO111MODULE=on go test -race -coverprofile=coverage.out ./... 05:20:31 ? github.com/edgexfoundry/device-sdk-go/v2 [no test files] 05:20:59 ? github.com/edgexfoundry/device-sdk-go/v2/example/cmd/device-simple [no test files] 05:20:59 ? github.com/edgexfoundry/device-sdk-go/v2/example/config [no test files] 05:20:59 ? github.com/edgexfoundry/device-sdk-go/v2/example/driver [no test files] 05:21:03 ok github.com/edgexfoundry/device-sdk-go/v2/internal/application 0.097s coverage: 25.4% of statements 05:21:03 ? github.com/edgexfoundry/device-sdk-go/v2/internal/autodiscovery [no test files] 05:21:03 ok github.com/edgexfoundry/device-sdk-go/v2/internal/autoevent 0.095s coverage: 28.1% of statements 05:21:04 ok github.com/edgexfoundry/device-sdk-go/v2/internal/cache 0.115s coverage: 78.9% of statements 05:21:04 ok github.com/edgexfoundry/device-sdk-go/v2/internal/clients 1.128s coverage: 10.7% of statements 05:21:04 ? github.com/edgexfoundry/device-sdk-go/v2/internal/common [no test files] 05:21:04 ? github.com/edgexfoundry/device-sdk-go/v2/internal/config [no test files] 05:21:04 ? github.com/edgexfoundry/device-sdk-go/v2/internal/container [no test files] 05:21:05 ok github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http 0.105s coverage: 30.2% of statements 05:21:05 ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http/correlation [no test files] 05:21:05 ? github.com/edgexfoundry/device-sdk-go/v2/internal/handler [no test files] 05:21:05 ? github.com/edgexfoundry/device-sdk-go/v2/internal/provision [no test files] 05:21:05 ? github.com/edgexfoundry/device-sdk-go/v2/internal/telemetry [no test files] 05:21:05 ok github.com/edgexfoundry/device-sdk-go/v2/internal/transformer 0.156s coverage: 58.4% of statements 05:21:07 ok github.com/edgexfoundry/device-sdk-go/v2/pkg/models 1.280s coverage: 89.2% of statements 05:21:07 ? github.com/edgexfoundry/device-sdk-go/v2/pkg/models/mocks [no test files] 05:21:07 ok github.com/edgexfoundry/device-sdk-go/v2/pkg/service 0.060s coverage: 5.0% of statements 05:21:07 ? github.com/edgexfoundry/device-sdk-go/v2/pkg/startup [no test files] 05:21:07 GO111MODULE=on go vet ./... 05:21:13 Running on prd-ubuntu18.04-docker-arm64-4c-16g-4336 in /w/workspace/dgexfoundry_device-sdk-go_PR-919 [Pipeline] { [Pipeline] ws 05:21:13 Running in /w/workspace/device-sdk-go/1 [Pipeline] { [Pipeline] checkout 05:21:19 using credential edgex-jenkins-ssh 05:21:19 Cloning the remote Git repository 05:21:19 Cloning repository git@github.com:edgexfoundry/device-sdk-go.git 05:21:19 > git init /w/workspace/device-sdk-go/1 # timeout=10 05:21:19 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 05:21:19 > git --version # timeout=10 05:21:19 > git --version # 'git version 2.17.1' 05:21:19 using GIT_SSH to set credentials SSH Credentials for GitHub 05:21:19 > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 05:21:20 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 05:21:20 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 05:21:20 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 05:21:20 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 05:21:20 using GIT_SSH to set credentials SSH Credentials for GitHub 05:21:20 > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/919/head:refs/remotes/origin/PR-919 +refs/heads/master:refs/remotes/origin/master # timeout=10 05:21:21 Merging remotes/origin/master commit 6cc4c25230d964bbb6ccd74e42769d1c7a10d9be into PR head commit ba9182f884d787fcb5b7c5631719d30bf142a80c 05:21:21 Merge succeeded, producing ba9182f884d787fcb5b7c5631719d30bf142a80c 05:21:21 Checking out Revision ba9182f884d787fcb5b7c5631719d30bf142a80c (PR-919) 05:21:21 > git config core.sparsecheckout # timeout=10 05:21:21 > git checkout -f ba9182f884d787fcb5b7c5631719d30bf142a80c # timeout=10 05:21:21 > git remote # timeout=10 05:21:21 > git config --get remote.origin.url # timeout=10 05:21:21 using GIT_SSH to set credentials SSH Credentials for GitHub 05:21:21 > git merge 6cc4c25230d964bbb6ccd74e42769d1c7a10d9be # timeout=10 05:21:21 > git rev-parse HEAD^{commit} # timeout=10 05:21:21 > git config core.sparsecheckout # timeout=10 05:21:21 > git checkout -f ba9182f884d787fcb5b7c5631719d30bf142a80c # timeout=10 05:21:25 Commit message: "build(deps): bump github.com/edgexfoundry/go-mod-messaging/v2" 05:21:25 > git --version # timeout=10 05:21:25 > git --version # 'git version 2.17.1' 05:21:25 fatal: bad object aa25fb65c2461e649b1a162fbf19ec71f4863fbd [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 05:21:27 + sudo jq . + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false} /etc/docker/daemon.json [Pipeline] sh 05:21:27 + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh 05:21:28 + + sudo service docker restarttrue 05:21:28 05:21:29 gofmt -l . 05:21:29 [ "`gofmt -l .`" = "" ] 05:21:29 ./bin/test-attribution-txt.sh 05:21:29 ./bin/test-go-mod-tidy.sh [Pipeline] } 05:21:29 $ docker stop --time=1 e22d2cd997573a7850a4108928251977a5160f967a5f764e30b5d0c21606f8fb 05:21:31 $ docker rm -f e22d2cd997573a7850a4108928251977a5160f967a5f764e30b5d0c21606f8fb [Pipeline] // withDockerContainer [Pipeline] sh [Pipeline] withEnv [Pipeline] { [Pipeline] wrap 05:21:32 provisioning config files... 05:21:32 copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/1@tmp/config8996733084797293957tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 05:21:32 + sudo chown -R jenkins:jenkins . [Pipeline] stash 05:21:32 ---> docker-login.sh 05:21:32 nexus3.edgexfoundry.org:10001 05:21:32 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) 05:21:33 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:21:33 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:21:33 Configure a credential helper to remove this warning. See 05:21:33 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:21:33 05:21:33 Login Succeeded 05:21:33 nexus3.edgexfoundry.org:10002 05:21:34 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:21:34 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:21:34 Configure a credential helper to remove this warning. See 05:21:34 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:21:34 05:21:34 Login Succeeded 05:21:34 nexus3.edgexfoundry.org:10003 05:21:34 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:21:35 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:21:35 Configure a credential helper to remove this warning. See 05:21:35 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:21:35 05:21:35 Login Succeeded 05:21:35 nexus3.edgexfoundry.org:10004 [Pipeline] sh 05:21:35 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:21:35 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:21:35 Configure a credential helper to remove this warning. See 05:21:35 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:21:35 05:21:35 Login Succeeded 05:21:35 docker.io 05:21:35 + sudo chown -R jenkins:jenkins . [Pipeline] sh 05:21:35 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:21:35 + ls -al . 05:21:35 total 212 05:21:35 drwxrwxr-x. 10 jenkins jenkins 4096 May 11 05:21 . 05:21:35 drwxrwxr-x. 4 jenkins jenkins 28 May 11 05:19 .. 05:21:35 drwxrwxr-x. 2 jenkins jenkins 64 May 11 05:19 bin 05:21:35 -rw-r--r--. 1 jenkins jenkins 124141 May 11 05:21 coverage.out 05:21:35 -rw-rw-r--. 1 jenkins jenkins 987 May 11 05:19 Dockerfile.build 05:21:35 -rw-rw-r--. 1 jenkins jenkins 140 May 11 05:19 .dockerignore 05:21:35 drwxrwxr-x. 5 jenkins jenkins 62 May 11 05:19 example 05:21:35 drwxrwxr-x. 8 jenkins jenkins 179 May 11 05:19 .git 05:21:35 drwxrwxr-x. 2 jenkins jenkins 103 May 11 05:19 .github 05:21:35 -rw-rw-r--. 1 jenkins jenkins 138 May 11 05:19 .gitignore 05:21:35 -rw-r--r--. 1 jenkins jenkins 575 May 11 05:21 go.mod 05:21:35 -rw-r--r--. 1 jenkins jenkins 20848 May 11 05:20 go.sum 05:21:35 drwxrwxr-x. 15 jenkins jenkins 222 May 11 05:19 internal 05:21:35 -rw-rw-r--. 1 jenkins jenkins 901 May 11 05:19 Jenkinsfile 05:21:35 -rw-rw-r--. 1 jenkins jenkins 11341 May 11 05:19 LICENSE 05:21:35 -rw-rw-r--. 1 jenkins jenkins 1000 May 11 05:19 Makefile 05:21:35 drwxrwxr-x. 4 jenkins jenkins 26 May 11 05:19 openapi 05:21:35 drwxrwxr-x. 5 jenkins jenkins 50 May 11 05:19 pkg 05:21:35 -rw-rw-r--. 1 jenkins jenkins 7652 May 11 05:19 README.md 05:21:35 -rw-rw-r--. 1 jenkins jenkins 6616 May 11 05:19 RELEASE-NOTES.txt 05:21:35 drwxrwxr-x. 4 jenkins jenkins 54 May 11 05:19 snap 05:21:35 -rw-rw-r--. 1 jenkins jenkins 5 May 11 05:17 VERSION 05:21:35 -rw-rw-r--. 1 jenkins jenkins 222 May 11 05:19 version.go [Pipeline] isUnix [Pipeline] sh 05:21:36 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:21:36 Configure a credential helper to remove this warning. See 05:21:36 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:21:36 05:21:36 Login Succeeded 05:21:36 ---> docker-login.sh ends [Pipeline] } 05:21:36 Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } 05:21:36 + 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=ba9182f884d787fcb5b7c5631719d30bf142a80c --label arch=amd64 --label version=0.0.0 . [Pipeline] // withEnv [Pipeline] unstash 05:21:36 Sending build context to Docker daemon 2.666MB 05:21:36 Step 1/23 : ARG BASE=golang:1.16-alpine3.12 05:21:36 Step 2/23 : FROM ${BASE} AS builder 05:21:36 ---> 48eb58ee149f 05:21:36 Step 3/23 : WORKDIR /device-sdk-go [Pipeline] echo 05:21:36 ========================================================= 05:21:36 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine] 05:21:36 ========================================================= [Pipeline] isUnix [Pipeline] sh 05:21:37 + docker build -t ci-base-image-arm64 -f Dockerfile.build --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine . 05:21:37 ---> Running in cc0ab1e4c9c6 05:21:37 Removing intermediate container cc0ab1e4c9c6 05:21:37 ---> 87a4a214b064 05:21:37 Step 4/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 05:21:37 ---> Running in 17fb5a3b2165 05:21:37 Removing intermediate container 17fb5a3b2165 05:21:37 ---> 1a144ccdf14b 05:21:37 Step 5/23 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 05:21:37 ---> Running in edf39feaf1e4 05:21:37 Sending build context to Docker daemon 2.541MB 05:21:37 Step 1/8 : ARG BASE=golang:1.16-alpine3.12 05:21:37 Step 2/8 : FROM ${BASE} 05:21:37 1.16-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 05:21:37 595b0fe564bb: Pulling fs layer 05:21:37 7186ed65a4f7: Pulling fs layer 05:21:37 316046926c0a: Pulling fs layer 05:21:37 4ebd0625c992: Pulling fs layer 05:21:37 207e8628e3a3: Pulling fs layer 05:21:37 c791037a9be2: Pulling fs layer 05:21:37 ffd874e62e21: Pulling fs layer 05:21:37 207e8628e3a3: Waiting 05:21:37 c791037a9be2: Waiting 05:21:37 4ebd0625c992: Waiting 05:21:37 ffd874e62e21: Waiting 05:21:37 316046926c0a: Verifying Checksum 05:21:37 316046926c0a: Download complete 05:21:37 7186ed65a4f7: Verifying Checksum 05:21:37 7186ed65a4f7: Download complete 05:21:37 207e8628e3a3: Verifying Checksum 05:21:37 207e8628e3a3: Download complete 05:21:37 c791037a9be2: Verifying Checksum 05:21:37 c791037a9be2: Download complete 05:21:37 595b0fe564bb: Verifying Checksum 05:21:37 595b0fe564bb: Download complete 05:21:38 Removing intermediate container edf39feaf1e4 05:21:38 ---> 7d5ec2f139c5 05:21:38 Step 6/23 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev 05:21:38 ---> Running in 7bb84cc7fb83 05:21:38 595b0fe564bb: Pull complete 05:21:38 7186ed65a4f7: Pull complete 05:21:39 fetch https://nl.alpinelinux.org/alpine/v3.13/main/x86_64/APKINDEX.tar.gz 05:21:39 316046926c0a: Pull complete 05:21:39 ffd874e62e21: Verifying Checksum 05:21:39 ffd874e62e21: Download complete 05:21:40 fetch https://nl.alpinelinux.org/alpine/v3.13/community/x86_64/APKINDEX.tar.gz 05:21:41 4ebd0625c992: Verifying Checksum 05:21:41 4ebd0625c992: Download complete 05:21:41 OK: 150 MiB in 46 packages 05:21:42 Removing intermediate container 7bb84cc7fb83 05:21:42 ---> a1ecf648d4d9 05:21:42 Step 7/23 : COPY . . 05:21:43 ---> 76824b9d669f 05:21:43 Step 8/23 : RUN go mod download 05:21:43 ---> Running in a66c2e25dedd 05:21:44 Removing intermediate container a66c2e25dedd 05:21:44 ---> 2958bffb1f2b 05:21:44 Step 9/23 : RUN make build 05:21:44 ---> Running in 4c6ae9d0d971 05:21:45 CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-sdk-go/v2.Version=0.0.0" -o example/cmd/device-simple/device-simple ./example/cmd/device-simple 05:21:53 4ebd0625c992: Pull complete 05:21:53 207e8628e3a3: Pull complete 05:21:53 c791037a9be2: Pull complete 05:21:56 ffd874e62e21: Pull complete 05:21:56 Digest: sha256:fad7b58e697bd06bcf362d803a3263ca5ec03b905aa8665231fe3262941fe3e0 05:21:56 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine 05:21:56 ---> cfc18b08335c 05:21:56 Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 05:21:57 CGO_ENABLED=1 GO111MODULE=on go install -tags=safe 05:21:59 ---> Running in 1638ed90af9d 05:21:59 Removing intermediate container 1638ed90af9d 05:21:59 ---> 2cb188f31fcc 05:21:59 Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 05:21:59 ---> Running in d1b9ef147d11 05:22:00 Removing intermediate container 4c6ae9d0d971 05:22:00 ---> b7222cfa9c97 05:22:00 Step 10/23 : FROM alpine:3.12 05:22:00 3.12: Pulling from library/alpine 05:22:00 339de151aab4: Pulling fs layer 05:22:00 339de151aab4: Verifying Checksum 05:22:00 339de151aab4: Download complete 05:22:00 339de151aab4: Pull complete 05:22:00 Digest: sha256:36553b10a4947067b9fbb7d532951066293a68eae893beba1d9235f7d11a20ad 05:22:00 Status: Downloaded newer image for alpine:3.12 05:22:00 ---> 13621d1b12d4 05:22:00 Step 11/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 05:22:00 ---> Running in b038b7fdaf52 05:22:01 Removing intermediate container b038b7fdaf52 05:22:01 ---> f195aab5b8a5 05:22:01 Step 12/23 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 05:22:01 ---> Running in c4e49a92d2cc 05:22:01 Removing intermediate container d1b9ef147d11 05:22:01 ---> ea7bed7174a7 05:22:01 Step 5/8 : RUN apk add --update --no-cache make git gcc libc-dev libsodium-dev zeromq-dev 05:22:01 ---> Running in e0322f5363a7 05:22:02 Removing intermediate container c4e49a92d2cc 05:22:02 ---> f789438ad271 05:22:02 Step 13/23 : RUN apk add --update --no-cache zeromq 05:22:02 ---> Running in 31b17e2a3814 05:22:02 fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz 05:22:03 fetch https://nl.alpinelinux.org/alpine/v3.13/main/aarch64/APKINDEX.tar.gz 05:22:04 fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz 05:22:04 (1/5) Installing libgcc (9.3.0-r2) 05:22:04 fetch https://nl.alpinelinux.org/alpine/v3.13/community/aarch64/APKINDEX.tar.gz 05:22:04 (2/5) Installing libsodium (1.0.18-r0) 05:22:05 (3/5) Installing libstdc++ (9.3.0-r2) 05:22:05 (1/6) Installing libc-dev (0.7.2-r3) 05:22:06 (2/6) Installing libsodium (1.0.18-r0) 05:22:06 (3/6) Installing pkgconf (1.7.3-r0) 05:22:06 (4/6) Installing libsodium-dev (1.0.18-r0) 05:22:06 (5/6) Installing libzmq (4.3.3-r1) 05:22:06 (6/6) Installing zeromq-dev (4.3.3-r1) 05:22:06 Executing busybox-1.32.1-r6.trigger 05:22:07 (4/5) Installing libzmq (4.3.3-r0) 05:22:07 (5/5) Installing zeromq (4.3.3-r0) 05:22:07 Executing busybox-1.31.1-r20.trigger 05:22:07 OK: 8 MiB in 19 packages 05:22:07 OK: 139 MiB in 46 packages 05:22:07 Removing intermediate container 31b17e2a3814 05:22:07 ---> 3e825aa92057 05:22:07 Step 14/23 : WORKDIR / 05:22:07 ---> Running in f0a8b0e76aea 05:22:07 Removing intermediate container f0a8b0e76aea 05:22:07 ---> ce7011dd4bd6 05:22:07 Step 15/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt 05:22:08 ---> 419c8345d8e6 05:22:08 Step 16/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple 05:22:08 Removing intermediate container e0322f5363a7 05:22:08 ---> 47ff2ad0bc6c 05:22:08 Step 6/8 : WORKDIR /device-sdk-go 05:22:08 ---> Running in ba90ce2f2923 05:22:08 ---> edda8585d04e 05:22:08 Step 17/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res 05:22:09 ---> 46d340217c65 05:22:09 Step 18/23 : EXPOSE 49990 05:22:09 ---> Running in a30dc8178a3c 05:22:09 Removing intermediate container ba90ce2f2923 05:22:09 ---> 36d9d871fe51 05:22:09 Step 7/8 : COPY . . 05:22:09 Removing intermediate container a30dc8178a3c 05:22:09 ---> d153739f35b5 05:22:09 Step 19/23 : ENTRYPOINT ["/device-simple"] 05:22:09 ---> Running in cda59f702a5b 05:22:09 Removing intermediate container cda59f702a5b 05:22:09 ---> 498537a42172 05:22:09 Step 20/23 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] 05:22:09 ---> Running in 74ec6963beb4 05:22:09 Removing intermediate container 74ec6963beb4 05:22:09 ---> 4e9a797523b2 05:22:09 Step 21/23 : LABEL arch=amd64 05:22:09 ---> Running in 0bdb9531f29e 05:22:10 Removing intermediate container 0bdb9531f29e 05:22:10 ---> a28842a103e2 05:22:10 Step 22/23 : LABEL git_sha=ba9182f884d787fcb5b7c5631719d30bf142a80c 05:22:10 ---> Running in acd6183a38e5 05:22:10 Removing intermediate container acd6183a38e5 05:22:10 ---> 0485b4532072 05:22:10 Step 23/23 : LABEL version=0.0.0 05:22:10 ---> Running in d1a157ca6239 05:22:10 Removing intermediate container d1a157ca6239 05:22:10 ---> 51b518dc47c0 05:22:10 [Warning] One or more build-args [ARCH MAKE] were not consumed 05:22:10 Successfully built 51b518dc47c0 05:22:10 Successfully tagged docker-device-sdk-simple:latest 05:22:10 ---> 4a205033a416 05:22:10 Step 8/8 : RUN go mod download 05:22:10 ---> Running in 6faca0eb0584 [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 Post stage [Pipeline] libraryResource [Pipeline] sh 05:22:11 ---> job-cost.sh 05:22:11 lf-activate-venv(): INFO: Creating python3 venv at /tmp/venv-FUCx 05:22:29 lf-activate-venv(): INFO: Installing: zipp==1.1.0 python-openstackclient 05:22:37 Removing intermediate container 6faca0eb0584 05:22:37 ---> d54d2e060054 05:22:37 Successfully built d54d2e060054 05:22:37 Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh 05:22:37 + docker inspect -f . ci-base-image-arm64 05:22:37 . [Pipeline] withDockerContainer 05:22:38 prd-ubuntu18.04-docker-arm64-4c-16g-4336 does not seem to be running inside a container 05:22:38 $ 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 05:22:39 $ docker top e95db79691e41c294e33e65e0d9caecf53290a26e95b6372981153bec112994a -eo pid,comm [Pipeline] { [Pipeline] sh 05:22:40 + go version 05:22:40 go version go1.16.3 linux/arm64 [Pipeline] } 05:22:40 $ docker stop --time=1 e95db79691e41c294e33e65e0d9caecf53290a26e95b6372981153bec112994a 05:22:42 $ docker rm -f e95db79691e41c294e33e65e0d9caecf53290a26e95b6372981153bec112994a [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 05:22:43 + docker inspect -f . ci-base-image-arm64 05:22:43 . [Pipeline] withDockerContainer 05:22:44 prd-ubuntu18.04-docker-arm64-4c-16g-4336 does not seem to be running inside a container 05:22:44 $ 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 05:22:45 $ docker top 2c9f0d7eb7ac988176ee98ea59c11e4b7b37e6f082ffba41727f9b41f7f14099 -eo pid,comm [Pipeline] { [Pipeline] sh 05:22:46 + go mod tidy [Pipeline] sh 05:22:47 + make test 05:22:47 GO111MODULE=on go test -race -coverprofile=coverage.out ./... 05:22:56 lf-activate-venv(): INFO: Adding /tmp/venv-FUCx/bin to PATH 05:22:56 INFO: No Stack... 05:22:56 INFO: Retrieving Pricing Info for: v1-standard-2 05:22:56 INFO: Archiving Costs [Pipeline] sh 05:22:56 + cat /w/workspace/device-sdk-go/1/archives/cost.csv 05:22:56 + cut -d, -f6 [Pipeline] lock 05:22:56 Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-PR-919-1-stack-cost] 05:22:56 Resource [jenkins-edgexfoundry-device-sdk-go-PR-919-1-stack-cost] did not exist. Created. 05:22:56 Lock acquired on [jenkins-edgexfoundry-device-sdk-go-PR-919-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 05:22:57 + echo total: 0.029999999329447746 [Pipeline] stash 05:22:57 Stashed 1 file(s) [Pipeline] } 05:22:57 Lock released on resource [jenkins-edgexfoundry-device-sdk-go-PR-919-1-stack-cost] [Pipeline] // lock [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } 05:23:14 ? github.com/edgexfoundry/device-sdk-go/v2 [no test files] 05:24:11 ? github.com/edgexfoundry/device-sdk-go/v2/example/cmd/device-simple [no test files] 05:24:11 ? github.com/edgexfoundry/device-sdk-go/v2/example/config [no test files] 05:24:11 ? github.com/edgexfoundry/device-sdk-go/v2/example/driver [no test files] 05:24:26 ok github.com/edgexfoundry/device-sdk-go/v2/internal/application 0.221s coverage: 25.4% of statements 05:24:26 ? github.com/edgexfoundry/device-sdk-go/v2/internal/autodiscovery [no test files] 05:24:26 ok github.com/edgexfoundry/device-sdk-go/v2/internal/autoevent 0.151s coverage: 28.1% of statements 05:24:26 ok github.com/edgexfoundry/device-sdk-go/v2/internal/cache 0.186s coverage: 78.9% of statements 05:24:26 ok github.com/edgexfoundry/device-sdk-go/v2/internal/clients 1.170s coverage: 10.7% of statements 05:24:26 ? github.com/edgexfoundry/device-sdk-go/v2/internal/common [no test files] 05:24:26 ? github.com/edgexfoundry/device-sdk-go/v2/internal/config [no test files] 05:24:26 ? github.com/edgexfoundry/device-sdk-go/v2/internal/container [no test files] 05:24:27 ok github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http 0.270s coverage: 30.2% of statements 05:24:27 ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http/correlation [no test files] 05:24:27 ? github.com/edgexfoundry/device-sdk-go/v2/internal/handler [no test files] 05:24:27 ? github.com/edgexfoundry/device-sdk-go/v2/internal/provision [no test files] 05:24:27 ? github.com/edgexfoundry/device-sdk-go/v2/internal/telemetry [no test files] 05:24:28 ok github.com/edgexfoundry/device-sdk-go/v2/internal/transformer 0.420s coverage: 58.4% of statements 05:24:31 ok github.com/edgexfoundry/device-sdk-go/v2/pkg/models 3.178s coverage: 89.2% of statements 05:24:31 ? github.com/edgexfoundry/device-sdk-go/v2/pkg/models/mocks [no test files] 05:24:31 ok github.com/edgexfoundry/device-sdk-go/v2/pkg/service 0.148s coverage: 5.0% of statements 05:24:31 ? github.com/edgexfoundry/device-sdk-go/v2/pkg/startup [no test files] 05:24:31 GO111MODULE=on go vet ./... 05:25:27 gofmt -l . 05:25:27 [ "`gofmt -l .`" = "" ] 05:25:27 ./bin/test-attribution-txt.sh 05:25:27 ./bin/test-go-mod-tidy.sh [Pipeline] } 05:25:27 $ docker stop --time=1 2c9f0d7eb7ac988176ee98ea59c11e4b7b37e6f082ffba41727f9b41f7f14099 05:25:30 $ docker rm -f 2c9f0d7eb7ac988176ee98ea59c11e4b7b37e6f082ffba41727f9b41f7f14099 [Pipeline] // withDockerContainer [Pipeline] sh 05:25:31 + sudo chown -R jenkins:jenkins . [Pipeline] stash 05:25:31 Warning: overwriting stash ‘coverage-report’ 05:25:31 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 05:25:32 + sudo chown -R jenkins:jenkins . [Pipeline] sh 05:25:32 + ls -al . 05:25:32 total 248 05:25:32 drwxrwxr-x 10 jenkins jenkins 4096 May 11 05:25 . 05:25:32 drwxrwxr-x 4 jenkins jenkins 4096 May 11 05:21 .. 05:25:32 -rw-rw-r-- 1 jenkins jenkins 140 May 11 05:21 .dockerignore 05:25:32 drwxrwxr-x 8 jenkins jenkins 4096 May 11 05:21 .git 05:25:32 drwxrwxr-x 2 jenkins jenkins 4096 May 11 05:21 .github 05:25:32 -rw-rw-r-- 1 jenkins jenkins 138 May 11 05:21 .gitignore 05:25:32 -rw-rw-r-- 1 jenkins jenkins 987 May 11 05:21 Dockerfile.build 05:25:32 -rw-rw-r-- 1 jenkins jenkins 901 May 11 05:21 Jenkinsfile 05:25:32 -rw-rw-r-- 1 jenkins jenkins 11341 May 11 05:21 LICENSE 05:25:32 -rw-rw-r-- 1 jenkins jenkins 1000 May 11 05:21 Makefile 05:25:32 -rw-rw-r-- 1 jenkins jenkins 7652 May 11 05:21 README.md 05:25:32 -rw-rw-r-- 1 jenkins jenkins 6616 May 11 05:21 RELEASE-NOTES.txt 05:25:32 -rw-rw-r-- 1 jenkins jenkins 5 May 11 05:17 VERSION 05:25:32 drwxrwxr-x 2 jenkins jenkins 4096 May 11 05:21 bin 05:25:32 -rw-r--r-- 1 jenkins jenkins 124140 May 11 05:24 coverage.out 05:25:32 drwxrwxr-x 5 jenkins jenkins 4096 May 11 05:21 example 05:25:32 -rw-r--r-- 1 jenkins jenkins 575 May 11 05:25 go.mod 05:25:32 -rw-r--r-- 1 jenkins jenkins 20848 May 11 05:22 go.sum 05:25:32 drwxrwxr-x 15 jenkins jenkins 4096 May 11 05:21 internal 05:25:32 drwxrwxr-x 4 jenkins jenkins 4096 May 11 05:21 openapi 05:25:32 drwxrwxr-x 5 jenkins jenkins 4096 May 11 05:21 pkg 05:25:32 drwxrwxr-x 4 jenkins jenkins 4096 May 11 05:21 snap 05:25:32 -rw-rw-r-- 1 jenkins jenkins 222 May 11 05:21 version.go [Pipeline] isUnix [Pipeline] sh 05:25:33 + docker build -t docker-device-sdk-simple-arm64 -f example/cmd/device-simple/Dockerfile --build-arg BASE=ci-base-image-arm64 --build-arg MAKE=make build --build-arg ARCH=arm64 --label git_sha=ba9182f884d787fcb5b7c5631719d30bf142a80c --label arch=arm64 --label version=0.0.0 . 05:25:33 Sending build context to Docker daemon 2.665MB 05:25:33 Step 1/23 : ARG BASE=golang:1.16-alpine3.12 05:25:33 Step 2/23 : FROM ${BASE} AS builder 05:25:33 ---> d54d2e060054 05:25:33 Step 3/23 : WORKDIR /device-sdk-go 05:25:34 ---> Running in 6c0e9aa147f0 05:25:34 Removing intermediate container 6c0e9aa147f0 05:25:34 ---> c8d32706132a 05:25:34 Step 4/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 05:25:34 ---> Running in 58c3ef5192ab 05:25:35 Removing intermediate container 58c3ef5192ab 05:25:35 ---> 495fe0c36f88 05:25:35 Step 5/23 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 05:25:35 ---> Running in 10075da2ca9e 05:25:37 Removing intermediate container 10075da2ca9e 05:25:37 ---> 5f312944522f 05:25:37 Step 6/23 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev 05:25:37 ---> Running in b45b442dd601 05:25:38 fetch https://nl.alpinelinux.org/alpine/v3.13/main/aarch64/APKINDEX.tar.gz 05:25:41 fetch https://nl.alpinelinux.org/alpine/v3.13/community/aarch64/APKINDEX.tar.gz 05:25:44 OK: 139 MiB in 46 packages 05:25:45 Removing intermediate container b45b442dd601 05:25:45 ---> 47c3599cce68 05:25:45 Step 7/23 : COPY . . 05:25:46 ---> e621985c659a 05:25:46 Step 8/23 : RUN go mod download 05:25:46 ---> Running in 05b29de9f9f0 05:25:49 Removing intermediate container 05b29de9f9f0 05:25:49 ---> 426483338170 05:25:49 Step 9/23 : RUN make build 05:25:49 ---> Running in 1950d6d845b7 05:25:50 CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-sdk-go/v2.Version=0.0.0" -o example/cmd/device-simple/device-simple ./example/cmd/device-simple 05:26:22 CGO_ENABLED=1 GO111MODULE=on go install -tags=safe 05:26:25 Removing intermediate container 1950d6d845b7 05:26:25 ---> 5a24ea1c98e0 05:26:25 Step 10/23 : FROM alpine:3.12 05:26:25 3.12: Pulling from library/alpine 05:26:25 d2f70382dc9a: Pulling fs layer 05:26:25 d2f70382dc9a: Verifying Checksum 05:26:25 d2f70382dc9a: Download complete 05:26:25 d2f70382dc9a: Pull complete 05:26:25 Digest: sha256:36553b10a4947067b9fbb7d532951066293a68eae893beba1d9235f7d11a20ad 05:26:25 Status: Downloaded newer image for alpine:3.12 05:26:25 ---> 9852663dfa18 05:26:25 Step 11/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 05:26:26 ---> Running in f48c3a9c27b4 05:26:26 Removing intermediate container f48c3a9c27b4 05:26:26 ---> fa0d89e325da 05:26:26 Step 12/23 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 05:26:26 ---> Running in 813dfa600e1c 05:26:28 Removing intermediate container 813dfa600e1c 05:26:28 ---> b70ec870620f 05:26:28 Step 13/23 : RUN apk add --update --no-cache zeromq 05:26:29 ---> Running in 5c8c031ae349 05:26:30 fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz 05:26:31 fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz 05:26:32 (1/5) Installing libgcc (9.3.0-r2) 05:26:32 (2/5) Installing libsodium (1.0.18-r0) 05:26:33 (3/5) Installing libstdc++ (9.3.0-r2) 05:26:33 (4/5) Installing libzmq (4.3.3-r0) 05:26:34 (5/5) Installing zeromq (4.3.3-r0) 05:26:34 Executing busybox-1.31.1-r20.trigger 05:26:34 OK: 8 MiB in 19 packages 05:26:36 Removing intermediate container 5c8c031ae349 05:26:36 ---> fe23af76bc2f 05:26:36 Step 14/23 : WORKDIR / 05:26:36 ---> Running in 75d728e9c374 05:26:36 Removing intermediate container 75d728e9c374 05:26:36 ---> 462639a255fc 05:26:36 Step 15/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt 05:26:37 ---> 1434308f666a 05:26:37 Step 16/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple 05:26:38 ---> 5779ef37332f 05:26:38 Step 17/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res 05:26:39 ---> 45be7e88174a 05:26:39 Step 18/23 : EXPOSE 49990 05:26:39 ---> Running in bbbe6b62325a 05:26:39 Removing intermediate container bbbe6b62325a 05:26:39 ---> 0a4c03685c1c 05:26:39 Step 19/23 : ENTRYPOINT ["/device-simple"] 05:26:40 ---> Running in ba99b3e92b6d 05:26:40 Removing intermediate container ba99b3e92b6d 05:26:40 ---> a61c42eca241 05:26:40 Step 20/23 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] 05:26:40 ---> Running in df3ee16afbba 05:26:41 Removing intermediate container df3ee16afbba 05:26:41 ---> 61c0085ba552 05:26:41 Step 21/23 : LABEL arch=arm64 05:26:41 ---> Running in 6f7aa827bed8 05:26:41 Removing intermediate container 6f7aa827bed8 05:26:41 ---> 5bcc4a4c63b8 05:26:41 Step 22/23 : LABEL git_sha=ba9182f884d787fcb5b7c5631719d30bf142a80c 05:26:41 ---> Running in 54090e6b111a 05:26:42 Removing intermediate container 54090e6b111a 05:26:42 ---> 4687d0549acd 05:26:42 Step 23/23 : LABEL version=0.0.0 05:26:42 ---> Running in 4f8f38ebfcfe 05:26:42 Removing intermediate container 4f8f38ebfcfe 05:26:42 ---> 0fa6a6174aa0 05:26:42 [Warning] One or more build-args [MAKE ARCH] were not consumed 05:26:43 Successfully built 0fa6a6174aa0 05:26:43 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 Post stage [Pipeline] libraryResource [Pipeline] sh 05:26:43 ---> job-cost.sh 05:26:43 lf-activate-venv(): INFO: Creating python3 venv at /tmp/venv-6Bfl 05:27:22 lf-activate-venv(): INFO: Installing: zipp==1.1.0 python-openstackclient 05:28:44 lf-activate-venv(): INFO: Adding /tmp/venv-6Bfl/bin to PATH 05:28:44 INFO: No Stack... 05:28:44 INFO: Retrieving Pricing Info for: lf-standard-4 05:28:44 INFO: Archiving Costs [Pipeline] sh 05:28:44 + cat /w/workspace/device-sdk-go/1/archives/cost.csv 05:28:44 + cut -d, -f6 [Pipeline] lock 05:28:45 Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-PR-919-1-stack-cost] 05:28:45 Resource [jenkins-edgexfoundry-device-sdk-go-PR-919-1-stack-cost] did not exist. Created. 05:28:45 Lock acquired on [jenkins-edgexfoundry-device-sdk-go-PR-919-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 05:28:45 /w/workspace/device-sdk-go/1@tmp/durable-7f3ffb05/script.sh: 1: /w/workspace/device-sdk-go/1@tmp/durable-7f3ffb05/script.sh: Syntax error: Unterminated quoted string [Pipeline] sh 05:28:45 + echo total: 0.20999999344348907 [Pipeline] stash 05:28:45 Warning: overwriting stash ‘stack-cost’ 05:28:46 Stashed 1 file(s) [Pipeline] } 05:28:46 Lock released on resource [jenkins-edgexfoundry-device-sdk-go-PR-919-1-stack-cost] [Pipeline] // lock [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 05:28:47 provisioning config files... 05:28:47 copy managed file [device-sdk-go-codecov-token] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-919@tmp/config3330295401355813656tmp [Pipeline] { [Pipeline] sh 05:28:47 + set +x 05:28:47 + curl -s https://codecov.io/bash 05:28:47 + bash -s -- 05:28:48 05:28:48 _____ _ 05:28:48 / ____| | | 05:28:48 | | ___ __| | ___ ___ _____ __ 05:28:48 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 05:28:48 | |___| (_) | (_| | __/ (_| (_) \ V / 05:28:48 \_____\___/ \__,_|\___|\___\___/ \_/ 05:28:48 Bash-1.0.2 05:28:48 05:28:48 05:28:48 ==> git version 2.24.3 found 05:28:48 ==> curl 7.29.0 (x86_64-redhat-linux-gnu) libcurl/7.29.0 NSS/3.53.1 zlib/1.2.7 libidn/1.28 libssh2/1.8.0 05:28:48 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtsp scp sftp smtp smtps telnet tftp 05:28:48 Features: AsynchDNS GSS-Negotiate IDN IPv6 Largefile NTLM NTLM_WB SSL libz unix-sockets 05:28:48 ==> Jenkins CI detected. 05:28:48 project root: . 05:28:48 --> token set from env 05:28:48 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 05:28:48 ==> Running gcov in . (disable via -X gcov) 05:28:48 ==> Python coveragepy not found 05:28:48 ==> Searching for coverage reports in: 05:28:48 + . 05:28:48 -> Found 1 reports 05:28:48 ==> Detecting git/mercurial file structure 05:28:48 ==> Reading reports 05:28:48 + ./coverage.out bytes=124140 05:28:48 ==> Appending adjustments 05:28:48 https://docs.codecov.io/docs/fixing-reports 05:28:48 + Found adjustments 05:28:48 ==> Gzipping contents 05:28:48 16K /tmp/codecov.IboS8l.gz 05:28:48 ==> Uploading reports 05:28:48 url: https://codecov.io 05:28:48 query: branch=PR-919&commit=ba9182f884d787fcb5b7c5631719d30bf142a80c&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-919%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=919&job=&cmd_args= 05:28:48 -> Pinging Codecov 05:28:48 https://codecov.io/upload/v4?package=bash-1.0.2&token=secret&branch=PR-919&commit=ba9182f884d787fcb5b7c5631719d30bf142a80c&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-919%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=919&job=&cmd_args= 05:28:49 -> Uploading to 05:28:49 https://storage.googleapis.com/codecov/v4/raw/2021-05-11/7E55EF52A471D76F132DFD9A03CDDE97/ba9182f884d787fcb5b7c5631719d30bf142a80c/de0002c6-1308-4f21-afe5-b8d32ae5506f.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EQM3VGPYSAFECJRMNAFIPCV2R3P2BOORCJC7NM537NPJQSFLHUDNIDWA%2F20210511%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20210511T052848Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=c0a77b4a23cd3d32609901d04a47a9154b9002e0bd9800207cf96a51042784e0 05:28:49 % Total % Received % Xferd Average Speed Time Time Time Current 05:28:49 Dload Upload Total Spent Left Speed 05:28:49 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 16222 0 0 100 16222 0 36762 --:--:-- --:--:-- --:--:-- 36784 05:28:49 -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/device-sdk-go/commit/ba9182f884d787fcb5b7c5631719d30bf142a80c [Pipeline] } 05:28:49 Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) Stage "Snyk Dependency 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 05:28:51 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 05:28:51 ---> package-listing.sh 05:28:51 ++ facter osfamily 05:28:51 ++ tr '[:upper:]' '[:lower:]' 05:28:51 + OS_FAMILY=redhat 05:28:51 + workspace=/w/workspace/dgexfoundry_device-sdk-go_PR-919 05:28:51 + START_PACKAGES=/tmp/packages_start.txt 05:28:51 + END_PACKAGES=/tmp/packages_end.txt 05:28:51 + DIFF_PACKAGES=/tmp/packages_diff.txt 05:28:51 + PACKAGES=/tmp/packages_start.txt 05:28:51 + '[' /w/workspace/dgexfoundry_device-sdk-go_PR-919 ']' 05:28:51 + PACKAGES=/tmp/packages_end.txt 05:28:51 + case "${OS_FAMILY}" in 05:28:51 + rpm -qa 05:28:51 + sort 05:28:57 + '[' -f /tmp/packages_start.txt ']' 05:28:57 + '[' -f /tmp/packages_end.txt ']' 05:28:57 + diff /tmp/packages_start.txt /tmp/packages_end.txt 05:28:57 + '[' /w/workspace/dgexfoundry_device-sdk-go_PR-919 ']' 05:28:57 + mkdir -p /w/workspace/dgexfoundry_device-sdk-go_PR-919/archives/ 05:28:57 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/dgexfoundry_device-sdk-go_PR-919/archives/ [Pipeline] echo 05:28:57 Launching container with: [--privileged -u 0:0 --net host -v /var/log/sa:/var/log/sa-host -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/dgexfoundry_device-sdk-go_PR-919/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 05:28:57 + facter operatingsystem [Pipeline] isUnix [Pipeline] sh 05:28:57 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 05:28:57 05:28:57 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh 05:28:58 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 05:28:58 alpine: Pulling from edgex-lftools-log-publisher 05:28:58 df20fa9351a1: Pulling fs layer 05:28:58 36b3adc4ff6f: Pulling fs layer 05:28:58 8ad3a11d3b57: Pulling fs layer 05:28:58 46f8f816bc3b: Pulling fs layer 05:28:58 93b61091891f: Pulling fs layer 05:28:58 93b9cdb0e59b: Pulling fs layer 05:28:58 5e14af77c1be: Pulling fs layer 05:28:58 01666e4c0597: Pulling fs layer 05:28:58 aa168da1d23b: Pulling fs layer 05:28:58 46f8f816bc3b: Waiting 05:28:58 93b61091891f: Waiting 05:28:58 93b9cdb0e59b: Waiting 05:28:58 5e14af77c1be: Waiting 05:28:58 01666e4c0597: Waiting 05:28:58 aa168da1d23b: Waiting 05:28:58 36b3adc4ff6f: Download complete 05:28:58 46f8f816bc3b: Verifying Checksum 05:28:58 46f8f816bc3b: Download complete 05:28:58 df20fa9351a1: Verifying Checksum 05:28:58 93b9cdb0e59b: Download complete 05:28:58 5e14af77c1be: Verifying Checksum 05:28:58 5e14af77c1be: Download complete 05:28:58 01666e4c0597: Verifying Checksum 05:28:58 01666e4c0597: Download complete 05:28:58 93b61091891f: Verifying Checksum 05:28:58 93b61091891f: Download complete 05:28:58 8ad3a11d3b57: Verifying Checksum 05:28:58 8ad3a11d3b57: Download complete 05:28:59 df20fa9351a1: Pull complete 05:28:59 36b3adc4ff6f: Pull complete 05:29:00 8ad3a11d3b57: Pull complete 05:29:00 46f8f816bc3b: Pull complete 05:29:01 93b61091891f: Pull complete 05:29:01 93b9cdb0e59b: Pull complete 05:29:01 aa168da1d23b: Verifying Checksum 05:29:01 aa168da1d23b: Download complete 05:29:01 5e14af77c1be: Pull complete 05:29:01 01666e4c0597: Pull complete 05:29:09 aa168da1d23b: Pull complete 05:29:09 Digest: sha256:ac41798234670a79351fc13b8232b4dbeccc6fb1f122f5db5169d11b1762ca7c 05:29:09 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 05:29:09 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer 05:29:09 prd-centos7-docker-4c-2g-4328 does not seem to be running inside a container 05:29:09 $ docker run -t -d -u 1001:1001 --privileged -u 0:0 --net host -v /var/log/sa:/var/log/sa-host -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/dgexfoundry_device-sdk-go_PR-919/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/dgexfoundry_device-sdk-go_PR-919 -v /w/workspace/dgexfoundry_device-sdk-go_PR-919:/w/workspace/dgexfoundry_device-sdk-go_PR-919:rw,z -v /w/workspace/dgexfoundry_device-sdk-go_PR-919@tmp:/w/workspace/dgexfoundry_device-sdk-go_PR-919@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine cat 05:29:14 $ docker top b509fe01fdb6e8eff633981e67369fbd1fad5a6ffb2a8838760314ed79eebc9c -eo pid,comm [Pipeline] { [Pipeline] sh 05:29:14 + touch /tmp/pre-build-complete [Pipeline] sh 05:29:14 + mkdir -p /var/log/sa [Pipeline] sh 05:29:15 + ls /var/log/sa-host 05:29:15 + sadf -c /var/log/sa-host/sa11 05:29:15 file_magic: OK 05:29:15 HZ: Using current value: 100 05:29:15 file_header: OK 05:29:15 file_activity: A_CPU A_PCSW A_SWAP A_PAGE A_IO A_MEMORY A_HUGE A_KTABLES A_QUEUE A_SERIAL A_DISK A_NET_DEV A_NET_EDEV A_NET_NFS A_NET_NFSD A_NET_SOCK OK 05:29:15 Statistics: 05:29:15 HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... 05:29:15 File successfully converted to sysstat format version 12.2.1 05:29:15 + sadf -c /var/log/sa-host/sa23 05:29:15 file_magic: OK 05:29:15 HZ: Using current value: 100 05:29:15 file_header: OK 05:29:15 file_activity: A_CPU A_PCSW A_SWAP A_PAGE A_IO A_MEMORY A_HUGE A_KTABLES A_QUEUE A_SERIAL A_DISK A_NET_DEV A_NET_EDEV A_NET_NFS A_NET_NFSD A_NET_SOCK OK 05:29:15 Statistics: 05:29:15 Hnuu...uuuununununu... 05:29:15 File successfully converted to sysstat format version 12.2.1 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 05:29:15 provisioning config files... 05:29:15 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-919@tmp/config7724852992516731922tmp [Pipeline] { [Pipeline] echo 05:29:15 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 05:29:16 ---> create-netrc.sh [Pipeline] } 05:29:16 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] echo 05:29:16 Running shell/python-tools-install.sh [Pipeline] libraryResource [Pipeline] sh 05:29:16 ---> python-tools-install.sh [Pipeline] echo 05:29:16 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 05:29:16 ---> sudo-logs.sh 05:29:16 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 05:29:17 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 05:29:17 ---> job-cost.sh 05:29:17 lf-activate-venv: SKIPPING 05:29:17 DEBUG: total: 0.20999999344348907 05:29:17 INFO: Retrieving Stack Cost... 05:29:18 INFO: Retrieving Pricing Info for: v1-standard-2 05:29:18 INFO: Archiving Costs [Pipeline] echo 05:29:18 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 05:29:19 ---> logs-deploy.sh 05:29:19 lf-activate-venv: SKIPPING 05:29:19 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-919/1 05:29:19 INFO: archiving workspace using pattern(s): 05:29:21 Archives upload complete. 05:29:21 INFO: archiving logs to Nexus