Pull request #911 opened Connecting to https://api.github.com using edgex-jenkins/****** (edgex-jenkins github personal access token) Obtained Jenkinsfile from 26aa1259699bd35e96e43e357015aa16a48e0d02+70dff52b8df9807f5114cad14836e8310fd11d9c (8309e44106bdeee89bf655ec7f48a818836f1c3c) 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-911/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-911/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 Running on prd-centos7-docker-4c-2g-3464 in /w/workspace/dgexfoundry_device-sdk-go_PR-911 [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-911 # 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 70dff52b8df9807f5114cad14836e8310fd11d9c into PR head commit 26aa1259699bd35e96e43e357015aa16a48e0d02 Merge succeeded, producing 26aa1259699bd35e96e43e357015aa16a48e0d02 Checking out Revision 26aa1259699bd35e96e43e357015aa16a48e0d02 (PR-911) > 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/911/head:refs/remotes/origin/PR-911 +refs/heads/master:refs/remotes/origin/master # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 26aa1259699bd35e96e43e357015aa16a48e0d02 # 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 70dff52b8df9807f5114cad14836e8310fd11d9c # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 26aa1259699bd35e96e43e357015aa16a48e0d02 # timeout=10 Commit message: "build(deps): bump github.com/edgexfoundry/go-mod-registry/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:53:36 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 05:53:36 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 05:53:36 ========================================================= 05:53:36 EdgeX Global Pipelines Version Info 05:53:36 ========================================================= [Pipeline] libraryResource [Pipeline] sh 05:53:38 ------------------- 05:53:38 stable info: 05:53:38 ------------------- 05:53:38 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 05:53:38 Commit SHA: aa25fb65c2461e649b1a162fbf19ec71f4863fbd 05:53:38 Message: update stable to v1.0.191 05:53:39 ------------------- 05:53:39 experimental info: 05:53:39 ------------------- 05:53:39 Commited By: **** collab-it+edgex@linuxfoundation.org 05:53:39 Commit SHA: aa25fb65c2461e649b1a162fbf19ec71f4863fbd 05:53:39 Message: update experimental to v1.0.191 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 05:53:39 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-go-settings [Pipeline] echo 05:53:39 [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-go [Pipeline] echo 05:53:39 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 05:53:39 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 05:53:39 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 05:53:39 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.16 [Pipeline] echo 05:53:39 [edgeXSetupEnvironment]: set envvar GOPROXY = https://nexus3.edgexfoundry.org/repository/go-proxy/ [Pipeline] echo 05:53:39 [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine [Pipeline] echo 05:53:39 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = example/cmd/device-simple/Dockerfile [Pipeline] echo 05:53:39 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 05:53:39 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 05:53:40 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = docker-device-sdk-simple [Pipeline] echo 05:53:40 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 05:53:40 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 05:53:40 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 05:53:40 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo 05:53:40 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 05:53:40 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 05:53:40 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 05:53:40 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 05:53:40 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo 05:53:40 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 openapi/v2 [Pipeline] echo 05:53:40 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 05:53:40 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 05:53:40 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 05:53:40 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 05:53:41 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-911 [Pipeline] echo 05:53:41 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-911 [Pipeline] echo 05:53:41 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-911 [Pipeline] echo 05:53:41 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 26aa1259699bd35e96e43e357015aa16a48e0d02 [Pipeline] echo 05:53:41 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 26aa125 [Pipeline] echo 05:53:41 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] wrap 05:53:41 provisioning config files... 05:53:41 copy managed file [device-sdk-go-settings] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-911@tmp/config4724052060799117850tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 05:53:41 ---> docker-login.sh 05:53:41 nexus3.edgexfoundry.org:10001 05:53:42 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:53:42 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:53:42 Configure a credential helper to remove this warning. See 05:53:42 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:53:42 05:53:42 Login Succeeded 05:53:42 nexus3.edgexfoundry.org:10002 05:53:42 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:53:42 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:53:42 Configure a credential helper to remove this warning. See 05:53:42 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:53:42 05:53:42 Login Succeeded 05:53:42 nexus3.edgexfoundry.org:10003 05:53:42 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:53:42 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:53:42 Configure a credential helper to remove this warning. See 05:53:42 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:53:42 05:53:42 Login Succeeded 05:53:42 nexus3.edgexfoundry.org:10004 05:53:42 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:53:42 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:53:42 Configure a credential helper to remove this warning. See 05:53:42 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:53:42 05:53:42 Login Succeeded 05:53:42 docker.io 05:53:42 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:53:43 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:53:43 Configure a credential helper to remove this warning. See 05:53:43 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:53:43 05:53:43 Login Succeeded 05:53:43 ---> docker-login.sh ends [Pipeline] } 05:53:43 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:53:43 + git log --format=format:%s -1 26aa1259699bd35e96e43e357015aa16a48e0d02 [Pipeline] echo 05:53:44 GIT_COMMIT: 26aa1259699bd35e96e43e357015aa16a48e0d02, Commit Message: build(deps): bump github.com/edgexfoundry/go-mod-registry/v2 [Pipeline] echo 05:53:44 This is not a build commit. [Pipeline] isUnix [Pipeline] sh 05:53:44 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 05:53:44 05:53:44 Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh 05:53:45 + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 05:53:45 latest: Pulling from edgex-devops/git-semver 05:53:45 31603596830f: Pulling fs layer 05:53:45 54011a49482f: Pulling fs layer 05:53:45 a6820b24f6d8: Pulling fs layer 05:53:45 f581987b2513: Pulling fs layer 05:53:45 f581987b2513: Waiting 05:53:45 54011a49482f: Verifying Checksum 05:53:45 54011a49482f: Download complete 05:53:45 31603596830f: Verifying Checksum 05:53:45 31603596830f: Download complete 05:53:45 a6820b24f6d8: Verifying Checksum 05:53:45 a6820b24f6d8: Download complete 05:53:45 f581987b2513: Verifying Checksum 05:53:45 f581987b2513: Download complete 05:53:45 31603596830f: Pull complete 05:53:45 54011a49482f: Pull complete 05:53:46 a6820b24f6d8: Pull complete 05:53:46 f581987b2513: Pull complete 05:53:46 Digest: sha256:772af3cb61214e5a22880db9bb273bb039d0aa3a8f4edfa0c1def8b4e20ea536 05:53:47 Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 05:53:47 nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer 05:53:47 prd-centos7-docker-4c-2g-3464 does not seem to be running inside a container 05:53:47 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/dgexfoundry_device-sdk-go_PR-911 -v /w/workspace/dgexfoundry_device-sdk-go_PR-911:/w/workspace/dgexfoundry_device-sdk-go_PR-911:rw,z -v /w/workspace/dgexfoundry_device-sdk-go_PR-911@tmp:/w/workspace/dgexfoundry_device-sdk-go_PR-911@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:53:49 $ docker top 6a94ad8f183a8442f4cbe33d5cb81dffe4206e43a7ad31f5b9bf691a9e07c537 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 05:53:49 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 05:53:49 [ssh-agent] Looking for ssh-agent implementation... 05:53:49 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 05:53:49 $ docker exec 6a94ad8f183a8442f4cbe33d5cb81dffe4206e43a7ad31f5b9bf691a9e07c537 ssh-agent 05:53:49 SSH_AUTH_SOCK=/tmp/ssh-RWuBAInVapiW/agent.11 05:53:49 SSH_AGENT_PID=16 05:53:50 Running ssh-add (command line suppressed) 05:53:50 Identity added: /w/workspace/dgexfoundry_device-sdk-go_PR-911@tmp/private_key_8545392157028382770.key (/w/workspace/dgexfoundry_device-sdk-go_PR-911@tmp/private_key_8545392157028382770.key) 05:53:50 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 05:53:50 + git tag --points-at HEAD [Pipeline] } 05:53:50 $ docker exec --env ******** --env ******** 6a94ad8f183a8442f4cbe33d5cb81dffe4206e43a7ad31f5b9bf691a9e07c537 ssh-agent -k 05:53:50 unset SSH_AUTH_SOCK; 05:53:50 unset SSH_AGENT_PID; 05:53:50 echo Agent pid 16 killed; 05:53:50 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 05:53:50 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 05:53:50 [ssh-agent] Looking for ssh-agent implementation... 05:53:51 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 05:53:51 $ docker exec 6a94ad8f183a8442f4cbe33d5cb81dffe4206e43a7ad31f5b9bf691a9e07c537 ssh-agent 05:53:51 SSH_AUTH_SOCK=/tmp/ssh-TAPn6ZQHrz3U/agent.47 05:53:51 SSH_AGENT_PID=53 05:53:51 Running ssh-add (command line suppressed) 05:53:51 Identity added: /w/workspace/dgexfoundry_device-sdk-go_PR-911@tmp/private_key_5333791934797264535.key (/w/workspace/dgexfoundry_device-sdk-go_PR-911@tmp/private_key_5333791934797264535.key) 05:53:51 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 05:53:51 + git semver init 05:53:51 # -> Open(): unable to determine branch for HEAD 05:53:51 # $GIT_DIR = /w/workspace/dgexfoundry_device-sdk-go_PR-911/.git 05:53:51 # $GIT_WORK_TREE = /w/workspace/dgexfoundry_device-sdk-go_PR-911 05:53:51 # $SEMVER_REMOTE_NAME = origin 05:53:51 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 05:53:51 # $SEMVER_USER_NAME = edgex-jenkins 05:53:51 # $SEMVER_BRANCH = PR-911 05:53:51 # $SEMVER_TEMP = /tmp/semver-824093613 05:53:51 # git clone --branch semver git@github.com:edgexfoundry/device-sdk-go.git $SEMVER_TEMP 05:53:52 # '/tmp/semver-824093613' -> '/w/workspace/dgexfoundry_device-sdk-go_PR-911/.semver' 05:53:52 # -> Force: false 05:53:52 # $SEMVER_DIR = /w/workspace/dgexfoundry_device-sdk-go_PR-911/.semver [Pipeline] } 05:53:52 $ docker exec --env ******** --env ******** 6a94ad8f183a8442f4cbe33d5cb81dffe4206e43a7ad31f5b9bf691a9e07c537 ssh-agent -k 05:53:52 unset SSH_AUTH_SOCK; 05:53:52 unset SSH_AGENT_PID; 05:53:52 echo Agent pid 53 killed; 05:53:52 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 05:53:53 + git semver [Pipeline] } 05:53:53 $ docker stop --time=1 6a94ad8f183a8442f4cbe33d5cb81dffe4206e43a7ad31f5b9bf691a9e07c537 05:53:54 $ docker rm -f 6a94ad8f183a8442f4cbe33d5cb81dffe4206e43a7ad31f5b9bf691a9e07c537 [Pipeline] // withDockerContainer [Pipeline] sh 05:53:55 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 05:53:55 Stashed 1 file(s) [Pipeline] echo 05:53:55 [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:54:11 Still waiting to schedule task 05:54:11 ‘prd-centos7-docker-4c-2g-3465’ is offline; ‘prd-centos7-docker-4c-2g-3466’ is offline; ‘prd-ubuntu18.04-docker-arm64-4c-16g-3463’ doesn’t have label ‘centos7-docker-4c-2g’ 05:54:11 Still waiting to schedule task 05:54:11 ‘prd-ubuntu18.04-docker-arm64-4c-16g-3463’ is offline 05:56:17 Running on prd-centos7-docker-4c-2g-3469 in /w/workspace/dgexfoundry_device-sdk-go_PR-911 [Pipeline] { [Pipeline] ws 05:56:17 Running in /w/workspace/device-sdk-go/1 [Pipeline] { [Pipeline] checkout 05:56:30 using credential edgex-jenkins-ssh 05:56:30 Cloning the remote Git repository 05:56:31 Cloning repository git@github.com:edgexfoundry/device-sdk-go.git 05:56:31 > git init /w/workspace/device-sdk-go/1 # timeout=10 05:56:31 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 05:56:31 > git --version # timeout=10 05:56:31 > git --version # 'git version 2.24.3' 05:56:31 using GIT_SSH to set credentials SSH Credentials for GitHub 05:56:31 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 05:56:33 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 05:56:33 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 05:56:33 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 05:56:33 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 05:56:33 using GIT_SSH to set credentials SSH Credentials for GitHub 05:56:33 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/911/head:refs/remotes/origin/PR-911 +refs/heads/master:refs/remotes/origin/master # timeout=10 05:56:34 Merging remotes/origin/master commit 70dff52b8df9807f5114cad14836e8310fd11d9c into PR head commit 26aa1259699bd35e96e43e357015aa16a48e0d02 05:56:34 Merge succeeded, producing 26aa1259699bd35e96e43e357015aa16a48e0d02 05:56:34 Checking out Revision 26aa1259699bd35e96e43e357015aa16a48e0d02 (PR-911) 05:56:34 > git config core.sparsecheckout # timeout=10 05:56:34 > git checkout -f 26aa1259699bd35e96e43e357015aa16a48e0d02 # timeout=10 05:56:34 > git remote # timeout=10 05:56:34 > git config --get remote.origin.url # timeout=10 05:56:34 using GIT_SSH to set credentials SSH Credentials for GitHub 05:56:34 > git merge 70dff52b8df9807f5114cad14836e8310fd11d9c # timeout=10 05:56:34 > git rev-parse HEAD^{commit} # timeout=10 05:56:34 > git config core.sparsecheckout # timeout=10 05:56:34 > git checkout -f 26aa1259699bd35e96e43e357015aa16a48e0d02 # timeout=10 05:56:40 Commit message: "build(deps): bump github.com/edgexfoundry/go-mod-registry/v2" 05:56:40 > git --version # timeout=10 05:56:40 > git --version # 'git version 2.24.3' 05:56:40 fatal: bad object aa25fb65c2461e649b1a162fbf19ec71f4863fbd [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 05:56:43 + sudo jq '. + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false}' /etc/docker/daemon.json [Pipeline] sh 05:56:43 + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh 05:56:44 + sudo service docker restart 05:56:44 + true 05:56:44 Redirecting to /bin/systemctl restart docker.service [Pipeline] withEnv [Pipeline] { [Pipeline] wrap 05:56:48 provisioning config files... 05:56:48 copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/1@tmp/config5731665902163844603tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 05:56:49 ---> docker-login.sh 05:56:49 nexus3.edgexfoundry.org:10001 05:56:50 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:56:51 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:56:51 Configure a credential helper to remove this warning. See 05:56:51 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:56:51 05:56:51 Login Succeeded 05:56:51 nexus3.edgexfoundry.org:10002 05:56:52 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:56:52 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:56:52 Configure a credential helper to remove this warning. See 05:56:52 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:56:52 05:56:52 Login Succeeded 05:56:52 nexus3.edgexfoundry.org:10003 05:56:53 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:56:53 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:56:53 Configure a credential helper to remove this warning. See 05:56:53 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:56:53 05:56:53 Login Succeeded 05:56:53 nexus3.edgexfoundry.org:10004 05:56:53 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:56:54 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:56:54 Configure a credential helper to remove this warning. See 05:56:54 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:56:54 05:56:54 Login Succeeded 05:56:54 docker.io 05:56:54 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:56:54 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:56:54 Configure a credential helper to remove this warning. See 05:56:54 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:56:54 05:56:54 Login Succeeded 05:56:54 ---> docker-login.sh ends [Pipeline] } 05:56:54 Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 05:56:55 ========================================================= 05:56:55 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine] 05:56:55 ========================================================= [Pipeline] isUnix [Pipeline] sh 05:56:56 + 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:56:57 Sending build context to Docker daemon 2.475MB 05:56:57 Step 1/8 : ARG BASE=golang:1.15-alpine3.12 05:56:57 Step 2/8 : FROM ${BASE} 05:56:57 1.16-alpine: Pulling from edgex-devops/edgex-golang-base 05:56:57 540db60ca938: Pulling fs layer 05:56:57 adcc1eea9eea: Pulling fs layer 05:56:57 4c4ab2625f07: Pulling fs layer 05:56:57 0510c868ecb4: Pulling fs layer 05:56:57 afea3b2eda06: Pulling fs layer 05:56:57 7809a108b3ef: Pulling fs layer 05:56:57 f706445af74f: Pulling fs layer 05:56:57 0510c868ecb4: Waiting 05:56:57 afea3b2eda06: Waiting 05:56:57 7809a108b3ef: Waiting 05:56:57 f706445af74f: Waiting 05:56:57 4c4ab2625f07: Verifying Checksum 05:56:57 4c4ab2625f07: Download complete 05:56:57 adcc1eea9eea: Verifying Checksum 05:56:57 adcc1eea9eea: Download complete 05:56:57 afea3b2eda06: Verifying Checksum 05:56:57 afea3b2eda06: Download complete 05:56:57 7809a108b3ef: Verifying Checksum 05:56:57 7809a108b3ef: Download complete 05:56:58 540db60ca938: Verifying Checksum 05:56:58 540db60ca938: Download complete 05:56:59 540db60ca938: Pull complete 05:57:00 adcc1eea9eea: Pull complete 05:57:01 4c4ab2625f07: Pull complete 05:57:06 f706445af74f: Verifying Checksum 05:57:06 f706445af74f: Download complete 05:57:12 0510c868ecb4: Verifying Checksum 05:57:12 0510c868ecb4: Download complete 05:57:34 Running on prd-ubuntu18.04-docker-arm64-4c-16g-3474 in /w/workspace/dgexfoundry_device-sdk-go_PR-911 [Pipeline] { [Pipeline] ws 05:57:34 Running in /w/workspace/device-sdk-go/1 [Pipeline] { [Pipeline] checkout 05:57:36 0510c868ecb4: Pull complete 05:57:36 afea3b2eda06: Pull complete 05:57:36 7809a108b3ef: Pull complete 05:57:41 using credential edgex-jenkins-ssh 05:57:41 Cloning the remote Git repository 05:57:41 Cloning repository git@github.com:edgexfoundry/device-sdk-go.git 05:57:41 > git init /w/workspace/device-sdk-go/1 # timeout=10 05:57:41 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 05:57:41 > git --version # timeout=10 05:57:41 > git --version # 'git version 2.17.1' 05:57:41 using GIT_SSH to set credentials SSH Credentials for GitHub 05:57:41 > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 05:57:43 Merging remotes/origin/master commit 70dff52b8df9807f5114cad14836e8310fd11d9c into PR head commit 26aa1259699bd35e96e43e357015aa16a48e0d02 05:57:43 Merge succeeded, producing 26aa1259699bd35e96e43e357015aa16a48e0d02 05:57:43 Checking out Revision 26aa1259699bd35e96e43e357015aa16a48e0d02 (PR-911) 05:57:42 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 05:57:42 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 05:57:42 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 05:57:43 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 05:57:43 using GIT_SSH to set credentials SSH Credentials for GitHub 05:57:43 > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/911/head:refs/remotes/origin/PR-911 +refs/heads/master:refs/remotes/origin/master # timeout=10 05:57:43 > git config core.sparsecheckout # timeout=10 05:57:43 > git checkout -f 26aa1259699bd35e96e43e357015aa16a48e0d02 # timeout=10 05:57:43 > git remote # timeout=10 05:57:43 > git config --get remote.origin.url # timeout=10 05:57:43 using GIT_SSH to set credentials SSH Credentials for GitHub 05:57:43 > git merge 70dff52b8df9807f5114cad14836e8310fd11d9c # timeout=10 05:57:43 > git rev-parse HEAD^{commit} # timeout=10 05:57:43 > git config core.sparsecheckout # timeout=10 05:57:43 > git checkout -f 26aa1259699bd35e96e43e357015aa16a48e0d02 # timeout=10 05:57:45 f706445af74f: Pull complete 05:57:45 Digest: sha256:3789524f83b4b99ff44900c39f6da7fc44f99660cd9adf292610dec398b137f4 05:57:45 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine 05:57:45 ---> b068be0155e3 05:57:45 Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 05:57:45 ---> Running in b291bd968159 05:57:45 Removing intermediate container b291bd968159 05:57:45 ---> c636f725fdef 05:57:45 Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 05:57:45 ---> Running in 9af93a880bb5 05:57:48 Removing intermediate container 9af93a880bb5 05:57:48 ---> 278411d35088 05:57:48 Step 5/8 : RUN apk add --update --no-cache make git gcc libc-dev libsodium-dev zeromq-dev 05:57:48 ---> Running in ffcdc6b30eca 05:57:49 Commit message: "build(deps): bump github.com/edgexfoundry/go-mod-registry/v2" 05:57:49 > git --version # timeout=10 05:57:49 > git --version # 'git version 2.17.1' 05:57:49 fatal: bad object aa25fb65c2461e649b1a162fbf19ec71f4863fbd [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { 05:57:49 fetch https://nl.alpinelinux.org/alpine/v3.13/main/x86_64/APKINDEX.tar.gz [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 05:57:50 fetch https://nl.alpinelinux.org/alpine/v3.13/community/x86_64/APKINDEX.tar.gz 05:57:51 + sudo jq . + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false} /etc/docker/daemon.json [Pipeline] sh 05:57:51 (1/6) Installing libc-dev (0.7.2-r3) 05:57:51 (2/6) Installing libsodium (1.0.18-r0) 05:57:51 (3/6) Installing pkgconf (1.7.3-r0) 05:57:51 (4/6) Installing libsodium-dev (1.0.18-r0) 05:57:51 + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh 05:57:51 (5/6) Installing libzmq (4.3.3-r1) 05:57:51 (6/6) Installing zeromq-dev (4.3.3-r1) 05:57:51 + true 05:57:51 + sudo service docker restart 05:57:52 Executing busybox-1.32.1-r6.trigger 05:57:52 OK: 150 MiB in 46 packages 05:57:53 Removing intermediate container ffcdc6b30eca 05:57:53 ---> 9a8779d5a469 05:57:53 Step 6/8 : WORKDIR /device-sdk-go 05:57:53 ---> Running in 66690a7fd820 [Pipeline] withEnv [Pipeline] { [Pipeline] wrap 05:57:54 provisioning config files... 05:57:54 copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/1@tmp/config6709518100037913971tmp 05:57:54 Removing intermediate container 66690a7fd820 05:57:54 ---> 3bf002c9864a 05:57:54 Step 7/8 : COPY . . [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 05:57:54 ---> docker-login.sh 05:57:54 nexus3.edgexfoundry.org:10001 05:57:55 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:57:55 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:57:55 Configure a credential helper to remove this warning. See 05:57:55 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:57:55 05:57:55 Login Succeeded 05:57:55 nexus3.edgexfoundry.org:10002 05:57:56 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:57:56 ---> 39bfa2d170a4 05:57:56 Step 8/8 : RUN go mod download 05:57:56 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:57:56 Configure a credential helper to remove this warning. See 05:57:56 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:57:56 05:57:56 Login Succeeded 05:57:56 nexus3.edgexfoundry.org:10003 05:57:56 ---> Running in 5bed4947ff6e 05:57:56 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:57:56 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:57:56 Configure a credential helper to remove this warning. See 05:57:56 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:57:56 05:57:56 Login Succeeded 05:57:56 nexus3.edgexfoundry.org:10004 05:57:57 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:57:57 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:57:57 Configure a credential helper to remove this warning. See 05:57:57 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:57:57 05:57:57 Login Succeeded 05:57:57 docker.io 05:57:57 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:57:58 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:57:58 Configure a credential helper to remove this warning. See 05:57:58 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:57:58 05:57:58 Login Succeeded 05:57:58 ---> docker-login.sh ends [Pipeline] } 05:57:58 Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 05:57:58 ========================================================= 05:57:58 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine] 05:57:58 ========================================================= [Pipeline] isUnix [Pipeline] sh 05:57:59 + 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:57:59 Sending build context to Docker daemon 2.482MB 05:57:59 Step 1/8 : ARG BASE=golang:1.15-alpine3.12 05:57:59 Step 2/8 : FROM ${BASE} 05:57:59 1.16-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 05:57:59 595b0fe564bb: Pulling fs layer 05:57:59 7186ed65a4f7: Pulling fs layer 05:57:59 316046926c0a: Pulling fs layer 05:57:59 4ebd0625c992: Pulling fs layer 05:57:59 207e8628e3a3: Pulling fs layer 05:57:59 c791037a9be2: Pulling fs layer 05:57:59 ffd874e62e21: Pulling fs layer 05:57:59 207e8628e3a3: Waiting 05:57:59 c791037a9be2: Waiting 05:57:59 ffd874e62e21: Waiting 05:57:59 4ebd0625c992: Waiting 05:57:59 316046926c0a: Verifying Checksum 05:57:59 316046926c0a: Download complete 05:57:59 7186ed65a4f7: Verifying Checksum 05:57:59 7186ed65a4f7: Download complete 05:57:59 207e8628e3a3: Download complete 05:57:59 c791037a9be2: Download complete 05:57:59 595b0fe564bb: Verifying Checksum 05:57:59 595b0fe564bb: Download complete 05:58:00 595b0fe564bb: Pull complete 05:58:01 7186ed65a4f7: Pull complete 05:58:01 316046926c0a: Pull complete 05:58:01 ffd874e62e21: Verifying Checksum 05:58:01 ffd874e62e21: Download complete 05:58:03 4ebd0625c992: Verifying Checksum 05:58:03 4ebd0625c992: Download complete 05:58:15 4ebd0625c992: Pull complete 05:58:15 207e8628e3a3: Pull complete 05:58:15 c791037a9be2: Pull complete 05:58:19 ffd874e62e21: Pull complete 05:58:19 Digest: sha256:fad7b58e697bd06bcf362d803a3263ca5ec03b905aa8665231fe3262941fe3e0 05:58:19 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine 05:58:19 ---> cfc18b08335c 05:58:19 Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 05:58:21 ---> Running in 98735b328eb5 05:58:22 Removing intermediate container 98735b328eb5 05:58:22 ---> ec36f45d01fc 05:58:22 Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 05:58:22 ---> Running in 3235635a4fb8 05:58:25 Removing intermediate container 3235635a4fb8 05:58:25 ---> 8019608b80b0 05:58:25 Step 5/8 : RUN apk add --update --no-cache make git gcc libc-dev libsodium-dev zeromq-dev 05:58:25 ---> Running in 698b47f40da0 05:58:26 fetch https://nl.alpinelinux.org/alpine/v3.13/main/aarch64/APKINDEX.tar.gz 05:58:27 fetch https://nl.alpinelinux.org/alpine/v3.13/community/aarch64/APKINDEX.tar.gz 05:58:28 (1/6) Installing libc-dev (0.7.2-r3) 05:58:28 (2/6) Installing libsodium (1.0.18-r0) 05:58:28 (3/6) Installing pkgconf (1.7.3-r0) 05:58:29 (4/6) Installing libsodium-dev (1.0.18-r0) 05:58:29 (5/6) Installing libzmq (4.3.3-r1) 05:58:29 (6/6) Installing zeromq-dev (4.3.3-r1) 05:58:29 Executing busybox-1.32.1-r6.trigger 05:58:29 OK: 139 MiB in 46 packages 05:58:31 Removing intermediate container 698b47f40da0 05:58:31 ---> ac49522f14d4 05:58:31 Step 6/8 : WORKDIR /device-sdk-go 05:58:31 ---> Running in a19046d25d16 05:58:31 Removing intermediate container a19046d25d16 05:58:31 ---> 0a99bcf9ed35 05:58:31 Step 7/8 : COPY . . 05:58:33 ---> 623d532768e7 05:58:33 Step 8/8 : RUN go mod download 05:58:33 ---> Running in c225e4febec7 05:58:54 Removing intermediate container 5bed4947ff6e 05:58:54 ---> 84e5895a3a1c 05:58:54 Successfully built 84e5895a3a1c 05:58:54 Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh 05:58:55 + docker inspect -f . ci-base-image-x86_64 05:58:56 . [Pipeline] withDockerContainer 05:58:57 prd-centos7-docker-4c-2g-3469 does not seem to be running inside a container 05:58:58 $ 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 ******** -e ******** ci-base-image-x86_64 cat 05:59:00 $ docker top f7fc22bdb4823c0d30738be71e1acaf29458603d71ffd7b20eb5751c34610214 -eo pid,comm 05:59:00 Removing intermediate container c225e4febec7 05:59:00 ---> ca7699d07c0a 05:59:00 Successfully built ca7699d07c0a 05:59:00 Successfully tagged ci-base-image-arm64:latest [Pipeline] { [Pipeline] sh [Pipeline] isUnix [Pipeline] sh 05:59:01 + docker inspect -f . ci-base-image-arm64 05:59:01 . [Pipeline] withDockerContainer 05:59:01 prd-ubuntu18.04-docker-arm64-4c-16g-3474 does not seem to be running inside a container 05:59:01 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/1 -v /w/workspace/device-sdk-go/1:/w/workspace/device-sdk-go/1:rw,z -v /w/workspace/device-sdk-go/1@tmp:/w/workspace/device-sdk-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 05:59:02 + go version 05:59:02 go version go1.16.3 linux/amd64 05:59:03 $ docker top ae7aa2d6c67f7411b6607e359aaab2d138abb884c89c68675957895b2c6c2ff6 -eo pid,comm [Pipeline] { [Pipeline] } 05:59:04 $ docker stop --time=1 f7fc22bdb4823c0d30738be71e1acaf29458603d71ffd7b20eb5751c34610214 05:59:06 $ docker rm -f f7fc22bdb4823c0d30738be71e1acaf29458603d71ffd7b20eb5751c34610214 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] sh [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 05:59:07 + go version 05:59:07 go version go1.16.3 linux/arm64 [Pipeline] } 05:59:07 $ docker stop --time=1 ae7aa2d6c67f7411b6607e359aaab2d138abb884c89c68675957895b2c6c2ff6 05:59:07 + docker inspect -f . ci-base-image-x86_64 05:59:07 . 05:59:09 $ docker rm -f ae7aa2d6c67f7411b6607e359aaab2d138abb884c89c68675957895b2c6c2ff6 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] withDockerContainer 05:59:09 prd-centos7-docker-4c-2g-3469 does not seem to be running inside a container 05:59:10 $ 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 ******** -e ******** ci-base-image-x86_64 cat 05:59:11 $ docker top 4f70adf00d47a0945932c1e3e91e78e4748ff3cf0d925ec4a0c4d0985f944488 -eo pid,comm [Pipeline] { [Pipeline] // script [Pipeline] } [Pipeline] sh [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 05:59:13 + docker inspect -f . ci-base-image-arm64 05:59:13 . [Pipeline] withDockerContainer 05:59:13 + go mod tidy 05:59:13 prd-ubuntu18.04-docker-arm64-4c-16g-3474 does not seem to be running inside a container 05:59:13 $ 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:59:15 $ docker top 3abfceb2cee106babb02a0641f2bbb18469696c54197eb6ce73ca25cf6904b85 -eo pid,comm [Pipeline] { [Pipeline] sh [Pipeline] sh 05:59:16 + make test 05:59:16 GO111MODULE=on go test -race -coverprofile=coverage.out ./... 05:59:16 + go mod tidy [Pipeline] sh 05:59:18 + make test 05:59:18 GO111MODULE=on go test -race -coverprofile=coverage.out ./... 05:59:44 ? github.com/edgexfoundry/device-sdk-go/v2 [no test files] 05:59:50 ? github.com/edgexfoundry/device-sdk-go/v2 [no test files] 06:00:58 ? github.com/edgexfoundry/device-sdk-go/v2/example/cmd/device-simple [no test files] 06:00:58 ? github.com/edgexfoundry/device-sdk-go/v2/example/config [no test files] 06:00:58 ? github.com/edgexfoundry/device-sdk-go/v2/example/driver [no test files] 06:00:58 ? github.com/edgexfoundry/device-sdk-go/v2/internal/application [no test files] 06:00:58 ? github.com/edgexfoundry/device-sdk-go/v2/internal/autodiscovery [no test files] 06:01:01 ok github.com/edgexfoundry/device-sdk-go/v2/internal/autoevent 0.142s coverage: 28.1% of statements 06:01:01 ok github.com/edgexfoundry/device-sdk-go/v2/internal/cache 0.202s coverage: 78.9% of statements 06:01:01 ok github.com/edgexfoundry/device-sdk-go/v2/internal/clients 1.249s coverage: 7.8% of statements 06:01:01 ? github.com/edgexfoundry/device-sdk-go/v2/internal/common [no test files] 06:01:01 ? github.com/edgexfoundry/device-sdk-go/v2/internal/config [no test files] 06:01:01 ? github.com/edgexfoundry/device-sdk-go/v2/internal/container [no test files] 06:01:04 ok github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http 0.231s coverage: 30.2% of statements 06:01:04 ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http/correlation [no test files] 06:01:04 ? github.com/edgexfoundry/device-sdk-go/v2/internal/provision [no test files] 06:01:04 ? github.com/edgexfoundry/device-sdk-go/v2/internal/telemetry [no test files] 06:01:07 ok github.com/edgexfoundry/device-sdk-go/v2/internal/transformer 0.311s coverage: 57.2% of statements 06:01:07 ok github.com/edgexfoundry/device-sdk-go/v2/pkg/models 3.496s coverage: 6.6% of statements 06:01:07 ok github.com/edgexfoundry/device-sdk-go/v2/pkg/service 0.139s coverage: 5.0% of statements 06:01:07 ? github.com/edgexfoundry/device-sdk-go/v2/pkg/startup [no test files] 06:01:07 GO111MODULE=on go vet ./... 06:01:24 ? github.com/edgexfoundry/device-sdk-go/v2/example/cmd/device-simple [no test files] 06:01:24 ? github.com/edgexfoundry/device-sdk-go/v2/example/config [no test files] 06:01:24 ? github.com/edgexfoundry/device-sdk-go/v2/example/driver [no test files] 06:01:24 ? github.com/edgexfoundry/device-sdk-go/v2/internal/application [no test files] 06:01:24 ? github.com/edgexfoundry/device-sdk-go/v2/internal/autodiscovery [no test files] 06:01:25 ok github.com/edgexfoundry/device-sdk-go/v2/internal/autoevent 0.143s coverage: 28.1% of statements 06:01:26 ok github.com/edgexfoundry/device-sdk-go/v2/internal/cache 0.171s coverage: 78.9% of statements 06:01:26 ok github.com/edgexfoundry/device-sdk-go/v2/internal/clients 1.134s coverage: 7.8% of statements 06:01:26 ? github.com/edgexfoundry/device-sdk-go/v2/internal/common [no test files] 06:01:26 ? github.com/edgexfoundry/device-sdk-go/v2/internal/config [no test files] 06:01:26 ? github.com/edgexfoundry/device-sdk-go/v2/internal/container [no test files] 06:01:28 ok github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http 0.272s coverage: 30.2% of statements 06:01:28 ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http/correlation [no test files] 06:01:28 ? github.com/edgexfoundry/device-sdk-go/v2/internal/provision [no test files] 06:01:28 ? github.com/edgexfoundry/device-sdk-go/v2/internal/telemetry [no test files] 06:01:32 ok github.com/edgexfoundry/device-sdk-go/v2/internal/transformer 0.254s coverage: 57.2% of statements 06:01:32 ok github.com/edgexfoundry/device-sdk-go/v2/pkg/models 2.804s coverage: 6.6% of statements 06:01:32 ok github.com/edgexfoundry/device-sdk-go/v2/pkg/service 0.167s coverage: 5.0% of statements 06:01:32 ? github.com/edgexfoundry/device-sdk-go/v2/pkg/startup [no test files] 06:01:32 GO111MODULE=on go vet ./... 06:02:04 gofmt -l . 06:02:04 [ "`gofmt -l .`" = "" ] 06:02:04 ./bin/test-attribution-txt.sh 06:02:04 ./bin/test-go-mod-tidy.sh [Pipeline] } 06:02:04 $ docker stop --time=1 3abfceb2cee106babb02a0641f2bbb18469696c54197eb6ce73ca25cf6904b85 06:02:07 $ docker rm -f 3abfceb2cee106babb02a0641f2bbb18469696c54197eb6ce73ca25cf6904b85 [Pipeline] // withDockerContainer [Pipeline] sh 06:02:09 + sudo chown -R jenkins:jenkins . [Pipeline] stash 06:02:09 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 06:02:11 + sudo chown -R jenkins:jenkins . [Pipeline] sh 06:02:11 + ls -al . 06:02:11 total 224 06:02:11 drwxrwxr-x 10 jenkins jenkins 4096 May 7 06:02 . 06:02:11 drwxrwxr-x 4 jenkins jenkins 4096 May 7 05:57 .. 06:02:11 -rw-rw-r-- 1 jenkins jenkins 140 May 7 05:57 .dockerignore 06:02:11 drwxrwxr-x 8 jenkins jenkins 4096 May 7 05:57 .git 06:02:11 drwxrwxr-x 2 jenkins jenkins 4096 May 7 05:57 .github 06:02:11 -rw-rw-r-- 1 jenkins jenkins 138 May 7 05:57 .gitignore 06:02:11 -rw-rw-r-- 1 jenkins jenkins 987 May 7 05:57 Dockerfile.build 06:02:11 -rw-rw-r-- 1 jenkins jenkins 901 May 7 05:57 Jenkinsfile 06:02:11 -rw-rw-r-- 1 jenkins jenkins 11341 May 7 05:57 LICENSE 06:02:11 -rw-rw-r-- 1 jenkins jenkins 1022 May 7 05:57 Makefile 06:02:11 -rw-rw-r-- 1 jenkins jenkins 7652 May 7 05:57 README.md 06:02:11 -rw-rw-r-- 1 jenkins jenkins 6616 May 7 05:57 RELEASE-NOTES.txt 06:02:11 -rw-rw-r-- 1 jenkins jenkins 5 May 7 05:53 VERSION 06:02:11 drwxrwxr-x 2 jenkins jenkins 4096 May 7 05:57 bin 06:02:11 -rw-r--r-- 1 jenkins jenkins 100320 May 7 06:01 coverage.out 06:02:11 drwxrwxr-x 5 jenkins jenkins 4096 May 7 05:57 example 06:02:11 -rw-r--r-- 1 jenkins jenkins 575 May 7 06:02 go.mod 06:02:11 -rw-r--r-- 1 jenkins jenkins 21068 May 7 05:59 go.sum 06:02:11 drwxrwxr-x 14 jenkins jenkins 4096 May 7 05:57 internal 06:02:11 drwxrwxr-x 4 jenkins jenkins 4096 May 7 05:57 openapi 06:02:11 drwxrwxr-x 5 jenkins jenkins 4096 May 7 05:57 pkg 06:02:11 drwxrwxr-x 4 jenkins jenkins 4096 May 7 05:57 snap 06:02:11 -rw-rw-r-- 1 jenkins jenkins 222 May 7 05:57 version.go [Pipeline] isUnix [Pipeline] sh 06:02:11 + 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=26aa1259699bd35e96e43e357015aa16a48e0d02 --label arch=arm64 --label version=0.0.0 . 06:02:12 Sending build context to Docker daemon 2.583MB 06:02:12 Step 1/23 : ARG BASE=golang:1.15-alpine3.12 06:02:12 Step 2/23 : FROM ${BASE} AS builder 06:02:12 ---> ca7699d07c0a 06:02:12 Step 3/23 : WORKDIR /device-sdk-go 06:02:12 ---> Running in da5a10e0a035 06:02:13 Removing intermediate container da5a10e0a035 06:02:13 ---> b1069b725761 06:02:13 Step 4/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 06:02:13 ---> Running in a25dd3f3fb00 06:02:13 Removing intermediate container a25dd3f3fb00 06:02:13 ---> 64397b13f6fc 06:02:13 Step 5/23 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 06:02:13 ---> Running in da6e79a89e03 06:02:15 Removing intermediate container da6e79a89e03 06:02:15 ---> a04c765ac711 06:02:15 Step 6/23 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev 06:02:15 ---> Running in 58ed77049d06 06:02:17 fetch https://nl.alpinelinux.org/alpine/v3.13/main/aarch64/APKINDEX.tar.gz 06:02:17 fetch https://nl.alpinelinux.org/alpine/v3.13/community/aarch64/APKINDEX.tar.gz 06:02:18 OK: 139 MiB in 46 packages 06:02:19 Removing intermediate container 58ed77049d06 06:02:19 ---> f8af15a65711 06:02:19 Step 7/23 : COPY . . 06:02:21 ---> 9a2acb6bf5b6 06:02:21 Step 8/23 : RUN go mod download 06:02:21 ---> Running in bce0edf8da41 06:02:23 Removing intermediate container bce0edf8da41 06:02:23 ---> 7b2ffdae50a3 06:02:23 Step 9/23 : RUN make build 06:02:23 ---> Running in 2ca19f927c8b 06:02:25 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 06:02:42 gofmt -l . 06:02:42 [ "`gofmt -l .`" = "" ] 06:02:42 ./bin/test-attribution-txt.sh 06:02:42 ./bin/test-go-mod-tidy.sh [Pipeline] } 06:02:42 $ docker stop --time=1 4f70adf00d47a0945932c1e3e91e78e4748ff3cf0d925ec4a0c4d0985f944488 06:02:45 $ docker rm -f 4f70adf00d47a0945932c1e3e91e78e4748ff3cf0d925ec4a0c4d0985f944488 [Pipeline] // withDockerContainer [Pipeline] sh 06:02:46 + sudo chown -R jenkins:jenkins . [Pipeline] stash 06:02:46 Warning: overwriting stash ‘coverage-report’ 06:02:48 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 06:02:48 + sudo chown -R jenkins:jenkins . [Pipeline] sh 06:02:49 + ls -al . 06:02:49 total 188 06:02:49 drwxrwxr-x. 10 jenkins jenkins 4096 May 7 06:02 . 06:02:49 drwxrwxr-x. 4 jenkins jenkins 28 May 7 05:56 .. 06:02:49 drwxrwxr-x. 2 jenkins jenkins 64 May 7 05:56 bin 06:02:49 -rw-r--r--. 1 jenkins jenkins 100320 May 7 06:01 coverage.out 06:02:49 -rw-rw-r--. 1 jenkins jenkins 987 May 7 05:56 Dockerfile.build 06:02:49 -rw-rw-r--. 1 jenkins jenkins 140 May 7 05:56 .dockerignore 06:02:49 drwxrwxr-x. 5 jenkins jenkins 62 May 7 05:56 example 06:02:49 drwxrwxr-x. 8 jenkins jenkins 179 May 7 05:56 .git 06:02:49 drwxrwxr-x. 2 jenkins jenkins 103 May 7 05:56 .github 06:02:49 -rw-rw-r--. 1 jenkins jenkins 138 May 7 05:56 .gitignore 06:02:49 -rw-r--r--. 1 jenkins jenkins 575 May 7 06:02 go.mod 06:02:49 -rw-r--r--. 1 jenkins jenkins 21068 May 7 05:59 go.sum 06:02:49 drwxrwxr-x. 14 jenkins jenkins 207 May 7 05:56 internal 06:02:49 -rw-rw-r--. 1 jenkins jenkins 901 May 7 05:56 Jenkinsfile 06:02:49 -rw-rw-r--. 1 jenkins jenkins 11341 May 7 05:56 LICENSE 06:02:49 -rw-rw-r--. 1 jenkins jenkins 1022 May 7 05:56 Makefile 06:02:49 drwxrwxr-x. 4 jenkins jenkins 26 May 7 05:56 openapi 06:02:49 drwxrwxr-x. 5 jenkins jenkins 50 May 7 05:56 pkg 06:02:49 -rw-rw-r--. 1 jenkins jenkins 7652 May 7 05:56 README.md 06:02:49 -rw-rw-r--. 1 jenkins jenkins 6616 May 7 05:56 RELEASE-NOTES.txt 06:02:49 drwxrwxr-x. 4 jenkins jenkins 54 May 7 05:56 snap 06:02:49 -rw-rw-r--. 1 jenkins jenkins 5 May 7 05:53 VERSION 06:02:49 -rw-rw-r--. 1 jenkins jenkins 222 May 7 05:56 version.go [Pipeline] isUnix [Pipeline] sh 06:02:49 + 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=26aa1259699bd35e96e43e357015aa16a48e0d02 --label arch=amd64 --label version=0.0.0 . 06:02:51 Sending build context to Docker daemon 2.576MB 06:02:51 Step 1/23 : ARG BASE=golang:1.15-alpine3.12 06:02:51 Step 2/23 : FROM ${BASE} AS builder 06:02:51 ---> 84e5895a3a1c 06:02:51 Step 3/23 : WORKDIR /device-sdk-go 06:02:52 ---> Running in 944bc77821e9 06:02:53 Removing intermediate container 944bc77821e9 06:02:53 ---> e8415aeed380 06:02:53 Step 4/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 06:02:53 ---> Running in 73d322ccb8fa 06:02:54 Removing intermediate container 73d322ccb8fa 06:02:54 ---> 2d0a80d6ba6c 06:02:54 Step 5/23 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 06:02:54 ---> Running in dcccf0ff8910 06:02:57 Removing intermediate container dcccf0ff8910 06:02:57 ---> 08d4886b08f5 06:02:57 Step 6/23 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev 06:02:57 ---> Running in 0d12e86db155 06:02:58 fetch https://nl.alpinelinux.org/alpine/v3.13/main/x86_64/APKINDEX.tar.gz 06:02:59 fetch https://nl.alpinelinux.org/alpine/v3.13/community/x86_64/APKINDEX.tar.gz 06:03:00 OK: 150 MiB in 46 packages 06:03:02 Removing intermediate container 0d12e86db155 06:03:02 ---> 566ba1a1a26d 06:03:02 Step 7/23 : COPY . . 06:03:04 CGO_ENABLED=1 GO111MODULE=on go install -tags=safe 06:03:04 Removing intermediate container 2ca19f927c8b 06:03:04 ---> 09b264d6bb7b 06:03:04 Step 10/23 : FROM alpine:3.12 06:03:04 3.12: Pulling from library/alpine 06:03:04 d2f70382dc9a: Pulling fs layer 06:03:04 d2f70382dc9a: Verifying Checksum 06:03:04 d2f70382dc9a: Download complete 06:03:04 d2f70382dc9a: Pull complete 06:03:04 Digest: sha256:36553b10a4947067b9fbb7d532951066293a68eae893beba1d9235f7d11a20ad 06:03:04 Status: Downloaded newer image for alpine:3.12 06:03:04 ---> 9852663dfa18 06:03:04 Step 11/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 06:03:04 ---> Running in 01ae3d7f4433 06:03:04 Removing intermediate container 01ae3d7f4433 06:03:04 ---> bb7cb34d8024 06:03:04 Step 12/23 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 06:03:04 ---> Running in ea4c6927491f 06:03:04 ---> 8d74b2c852df 06:03:04 Step 8/23 : RUN go mod download 06:03:04 ---> Running in 240fb734ebe1 06:03:06 Removing intermediate container ea4c6927491f 06:03:06 ---> 9f1d4f1a5d86 06:03:06 Step 13/23 : RUN apk add --update --no-cache zeromq 06:03:06 ---> Running in 3029cd6fc994 06:03:07 fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz 06:03:08 fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz 06:03:08 (1/5) Installing libgcc (9.3.0-r2) 06:03:08 (2/5) Installing libsodium (1.0.18-r0) 06:03:09 (3/5) Installing libstdc++ (9.3.0-r2) 06:03:09 (4/5) Installing libzmq (4.3.3-r0) 06:03:09 (5/5) Installing zeromq (4.3.3-r0) 06:03:09 Executing busybox-1.31.1-r20.trigger 06:03:09 OK: 8 MiB in 19 packages 06:03:10 Removing intermediate container 240fb734ebe1 06:03:10 ---> 3fc6935837ce 06:03:10 Step 9/23 : RUN make build 06:03:10 ---> Running in 20b0d35ea1de 06:03:10 Removing intermediate container 3029cd6fc994 06:03:10 ---> 6dfcde8d5eb0 06:03:10 Step 14/23 : WORKDIR / 06:03:10 ---> Running in 7b4d4f21bf0f 06:03:11 Removing intermediate container 7b4d4f21bf0f 06:03:11 ---> 3c6a1e92706f 06:03:11 Step 15/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt 06:03:11 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 06:03:12 ---> b75e090291f2 06:03:12 Step 16/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple 06:03:13 ---> f6a9d9b0e6d1 06:03:13 Step 17/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res 06:03:14 ---> f97773d3fab1 06:03:14 Step 18/23 : EXPOSE 49990 06:03:14 ---> Running in 2a962d48599f 06:03:14 Removing intermediate container 2a962d48599f 06:03:14 ---> fdafc6f99c12 06:03:14 Step 19/23 : ENTRYPOINT ["/device-simple"] 06:03:14 ---> Running in 305de14fecaa 06:03:15 Removing intermediate container 305de14fecaa 06:03:15 ---> 6414e60ff82d 06:03:15 Step 20/23 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] 06:03:15 ---> Running in 367e8398407d 06:03:16 Removing intermediate container 367e8398407d 06:03:16 ---> 069f1bcf5a81 06:03:16 Step 21/23 : LABEL arch=arm64 06:03:16 ---> Running in 1d1906c4e304 06:03:16 Removing intermediate container 1d1906c4e304 06:03:16 ---> 756824bab34a 06:03:16 Step 22/23 : LABEL git_sha=26aa1259699bd35e96e43e357015aa16a48e0d02 06:03:17 ---> Running in 7bfc2c5a9266 06:03:17 Removing intermediate container 7bfc2c5a9266 06:03:17 ---> 7d5446d1f3be 06:03:17 Step 23/23 : LABEL version=0.0.0 06:03:17 ---> Running in 5ff8a194b63c 06:03:18 Removing intermediate container 5ff8a194b63c 06:03:18 ---> f7bb1c9768b2 06:03:18 [Warning] One or more build-args [ARCH MAKE] were not consumed 06:03:18 Successfully built f7bb1c9768b2 06:03:18 Successfully tagged docker-device-sdk-simple-arm64:latest [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] libraryResource [Pipeline] sh 06:03:19 ---> job-cost.sh 06:03:19 lf-activate-venv(): INFO: Creating python3 venv at /tmp/venv-8qgm 06:04:01 CGO_ENABLED=1 GO111MODULE=on go install -tags=safe 06:04:01 Removing intermediate container 20b0d35ea1de 06:04:01 ---> bd365f96d728 06:04:01 Step 10/23 : FROM alpine:3.12 06:04:01 3.12: Pulling from library/alpine 06:04:01 339de151aab4: Pulling fs layer 06:04:01 339de151aab4: Verifying Checksum 06:04:01 339de151aab4: Download complete 06:04:02 339de151aab4: Pull complete 06:04:02 Digest: sha256:36553b10a4947067b9fbb7d532951066293a68eae893beba1d9235f7d11a20ad 06:04:02 Status: Downloaded newer image for alpine:3.12 06:04:02 ---> 13621d1b12d4 06:04:02 Step 11/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 06:04:02 ---> Running in 5e40a22506cb 06:04:04 Removing intermediate container 5e40a22506cb 06:04:04 ---> 01d5e05d2c49 06:04:04 Step 12/23 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 06:04:04 ---> Running in 623189ab4c07 06:04:05 lf-activate-venv(): INFO: Installing: zipp==1.1.0 python-openstackclient 06:04:07 Removing intermediate container 623189ab4c07 06:04:07 ---> 254216004eea 06:04:07 Step 13/23 : RUN apk add --update --no-cache zeromq 06:04:07 ---> Running in 8aaa3ed0e369 06:04:09 fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz 06:04:10 fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz 06:04:10 (1/5) Installing libgcc (9.3.0-r2) 06:04:10 (2/5) Installing libsodium (1.0.18-r0) 06:04:10 (3/5) Installing libstdc++ (9.3.0-r2) 06:04:11 (4/5) Installing libzmq (4.3.3-r0) 06:04:11 (5/5) Installing zeromq (4.3.3-r0) 06:04:11 Executing busybox-1.31.1-r20.trigger 06:04:11 OK: 8 MiB in 19 packages 06:04:13 Removing intermediate container 8aaa3ed0e369 06:04:13 ---> ccdfeeae60cf 06:04:13 Step 14/23 : WORKDIR / 06:04:13 ---> Running in 5902c45cde31 06:04:13 Removing intermediate container 5902c45cde31 06:04:13 ---> bcf192203793 06:04:13 Step 15/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt 06:04:14 ---> 270119b07b7c 06:04:14 Step 16/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple 06:04:16 ---> 5245547c5b33 06:04:16 Step 17/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res 06:04:16 ---> cec5de7e7a0e 06:04:16 Step 18/23 : EXPOSE 49990 06:04:17 ---> Running in 9516d3556f2c 06:04:17 Removing intermediate container 9516d3556f2c 06:04:17 ---> 2f98f7a58a90 06:04:17 Step 19/23 : ENTRYPOINT ["/device-simple"] 06:04:17 ---> Running in f81abc9d8a23 06:04:18 Removing intermediate container f81abc9d8a23 06:04:18 ---> 62ec37b82cb4 06:04:18 Step 20/23 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] 06:04:18 ---> Running in aa092e6d6824 06:04:18 Removing intermediate container aa092e6d6824 06:04:18 ---> f4a887ae685a 06:04:18 Step 21/23 : LABEL arch=amd64 06:04:19 ---> Running in cef927e67b5c 06:04:19 Removing intermediate container cef927e67b5c 06:04:19 ---> 85f9b04d34a2 06:04:19 Step 22/23 : LABEL git_sha=26aa1259699bd35e96e43e357015aa16a48e0d02 06:04:19 ---> Running in e973e6d6e420 06:04:20 Removing intermediate container e973e6d6e420 06:04:20 ---> ea06eabe29b6 06:04:20 Step 23/23 : LABEL version=0.0.0 06:04:20 ---> Running in d44495cfca91 06:04:21 Removing intermediate container d44495cfca91 06:04:21 ---> 7cc4a712aca9 06:04:21 [Warning] One or more build-args [ARCH MAKE] were not consumed 06:04:21 Successfully built 7cc4a712aca9 06:04:21 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 Post stage [Pipeline] libraryResource [Pipeline] sh 06:04:22 ---> job-cost.sh 06:04:22 lf-activate-venv(): INFO: Creating python3 venv at /tmp/venv-cjXH 06:04:54 lf-activate-venv(): INFO: Installing: zipp==1.1.0 python-openstackclient 06:05:52 lf-activate-venv(): INFO: Adding /tmp/venv-cjXH/bin to PATH 06:05:52 INFO: No Stack... 06:05:52 INFO: Retrieving Pricing Info for: v1-standard-2 06:05:52 INFO: Archiving Costs [Pipeline] sh 06:05:52 + cat /w/workspace/device-sdk-go/1/archives/cost.csv 06:05:52 + cut -d, -f6 [Pipeline] lock 06:05:52 Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-PR-911-1-stack-cost] 06:05:52 Resource [jenkins-edgexfoundry-device-sdk-go-PR-911-1-stack-cost] did not exist. Created. 06:05:52 Lock acquired on [jenkins-edgexfoundry-device-sdk-go-PR-911-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 06:05:53 + echo total: 0.029999999329447746 [Pipeline] stash 06:05:53 Stashed 1 file(s) [Pipeline] } 06:05:53 Lock released on resource [jenkins-edgexfoundry-device-sdk-go-PR-911-1-stack-cost] [Pipeline] // lock [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } 06:05:57 lf-activate-venv(): INFO: Adding /tmp/venv-8qgm/bin to PATH 06:05:57 INFO: No Stack... 06:05:57 INFO: Retrieving Pricing Info for: lf-standard-4 06:05:57 INFO: Archiving Costs [Pipeline] sh 06:05:58 + cat /w/workspace/device-sdk-go/1/archives/cost.csv 06:05:58 + cut -d, -f6 [Pipeline] lock 06:05:58 Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-PR-911-1-stack-cost] 06:05:58 Resource [jenkins-edgexfoundry-device-sdk-go-PR-911-1-stack-cost] did not exist. Created. 06:05:58 Lock acquired on [jenkins-edgexfoundry-device-sdk-go-PR-911-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 06:05:58 /w/workspace/device-sdk-go/1@tmp/durable-9ddb2ef6/script.sh: 1: /w/workspace/device-sdk-go/1@tmp/durable-9ddb2ef6/script.sh: Syntax error: Unterminated quoted string [Pipeline] sh 06:05:59 + echo total: 0.20999999344348907 [Pipeline] stash 06:05:59 Warning: overwriting stash ‘stack-cost’ 06:05:59 Stashed 1 file(s) [Pipeline] } 06:05:59 Lock released on resource [jenkins-edgexfoundry-device-sdk-go-PR-911-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 06:06:00 provisioning config files... 06:06:00 copy managed file [device-sdk-go-codecov-token] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-911@tmp/config2727394784901557367tmp [Pipeline] { [Pipeline] sh 06:06:00 + set +x 06:06:00 + curl -s https://codecov.io/bash 06:06:00 + bash -s -- 06:06:00 06:06:00 _____ _ 06:06:00 / ____| | | 06:06:00 | | ___ __| | ___ ___ _____ __ 06:06:00 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 06:06:00 | |___| (_) | (_| | __/ (_| (_) \ V / 06:06:00 \_____\___/ \__,_|\___|\___\___/ \_/ 06:06:00 Bash-1.0.2 06:06:00 06:06:00 06:06:00 ==> git version 2.24.3 found 06:06:00 ==> 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 06:06:00 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtsp scp sftp smtp smtps telnet tftp 06:06:00 Features: AsynchDNS GSS-Negotiate IDN IPv6 Largefile NTLM NTLM_WB SSL libz unix-sockets 06:06:00 ==> Jenkins CI detected. 06:06:00 project root: . 06:06:00 --> token set from env 06:06:00 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 06:06:00 ==> Running gcov in . (disable via -X gcov) 06:06:00 ==> Python coveragepy not found 06:06:00 ==> Searching for coverage reports in: 06:06:00 + . 06:06:00 -> Found 1 reports 06:06:00 ==> Detecting git/mercurial file structure 06:06:00 ==> Reading reports 06:06:00 + ./coverage.out bytes=100320 06:06:00 ==> Appending adjustments 06:06:00 https://docs.codecov.io/docs/fixing-reports 06:06:01 + Found adjustments 06:06:01 ==> Gzipping contents 06:06:01 16K /tmp/codecov.iZTqXI.gz 06:06:01 ==> Uploading reports 06:06:01 url: https://codecov.io 06:06:01 query: branch=PR-911&commit=26aa1259699bd35e96e43e357015aa16a48e0d02&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-911%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=911&job=&cmd_args= 06:06:01 -> Pinging Codecov 06:06:01 https://codecov.io/upload/v4?package=bash-1.0.2&token=secret&branch=PR-911&commit=26aa1259699bd35e96e43e357015aa16a48e0d02&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-911%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=911&job=&cmd_args= 06:06:01 -> Uploading to 06:06:01 https://storage.googleapis.com/codecov/v4/raw/2021-05-07/7E55EF52A471D76F132DFD9A03CDDE97/26aa1259699bd35e96e43e357015aa16a48e0d02/75f6eeb3-3e48-4c31-826e-c2c7afa0b4ff.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EQM3VGPYSAFECJRMNAFIPCV2R3P2BOORCJC7NM537NPJQSFLHUDNIDWA%2F20210507%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20210507T060601Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=360d6c3343337e049c746de592ba7e40b9e4510bfb8b76725ed80458d45e86b6 06:06:01 % Total % Received % Xferd Average Speed Time Time Time Current 06:06:02 Dload Upload Total Spent Left Speed 06:06:02 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 13575 0 0 100 13575 0 32769 --:--:-- --:--:-- --:--:-- 32869 06:06:02 -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/device-sdk-go/commit/26aa1259699bd35e96e43e357015aa16a48e0d02 [Pipeline] } 06:06:02 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 06:06:04 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 06:06:04 ---> package-listing.sh 06:06:04 ++ facter osfamily 06:06:04 ++ tr '[:upper:]' '[:lower:]' 06:06:04 + OS_FAMILY=redhat 06:06:04 + workspace=/w/workspace/dgexfoundry_device-sdk-go_PR-911 06:06:04 + START_PACKAGES=/tmp/packages_start.txt 06:06:04 + END_PACKAGES=/tmp/packages_end.txt 06:06:04 + DIFF_PACKAGES=/tmp/packages_diff.txt 06:06:04 + PACKAGES=/tmp/packages_start.txt 06:06:04 + '[' /w/workspace/dgexfoundry_device-sdk-go_PR-911 ']' 06:06:04 + PACKAGES=/tmp/packages_end.txt 06:06:04 + case "${OS_FAMILY}" in 06:06:04 + rpm -qa 06:06:04 + sort 06:06:10 + '[' -f /tmp/packages_start.txt ']' 06:06:10 + '[' -f /tmp/packages_end.txt ']' 06:06:10 + diff /tmp/packages_start.txt /tmp/packages_end.txt 06:06:10 + '[' /w/workspace/dgexfoundry_device-sdk-go_PR-911 ']' 06:06:10 + mkdir -p /w/workspace/dgexfoundry_device-sdk-go_PR-911/archives/ 06:06:10 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/dgexfoundry_device-sdk-go_PR-911/archives/ [Pipeline] echo 06:06:10 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-911/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 06:06:10 + facter operatingsystem [Pipeline] isUnix [Pipeline] sh 06:06:10 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 06:06:10 06:06:10 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh 06:06:11 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 06:06:11 alpine: Pulling from edgex-lftools-log-publisher 06:06:11 df20fa9351a1: Pulling fs layer 06:06:11 36b3adc4ff6f: Pulling fs layer 06:06:11 8ad3a11d3b57: Pulling fs layer 06:06:11 46f8f816bc3b: Pulling fs layer 06:06:11 93b61091891f: Pulling fs layer 06:06:11 93b9cdb0e59b: Pulling fs layer 06:06:11 5e14af77c1be: Pulling fs layer 06:06:11 01666e4c0597: Pulling fs layer 06:06:11 aa168da1d23b: Pulling fs layer 06:06:11 93b61091891f: Waiting 06:06:11 93b9cdb0e59b: Waiting 06:06:11 5e14af77c1be: Waiting 06:06:11 01666e4c0597: Waiting 06:06:11 aa168da1d23b: Waiting 06:06:11 46f8f816bc3b: Waiting 06:06:11 36b3adc4ff6f: Verifying Checksum 06:06:11 36b3adc4ff6f: Download complete 06:06:11 46f8f816bc3b: Download complete 06:06:11 df20fa9351a1: Verifying Checksum 06:06:11 df20fa9351a1: Download complete 06:06:11 93b9cdb0e59b: Verifying Checksum 06:06:11 93b9cdb0e59b: Download complete 06:06:11 5e14af77c1be: Verifying Checksum 06:06:11 5e14af77c1be: Download complete 06:06:11 01666e4c0597: Verifying Checksum 06:06:11 01666e4c0597: Download complete 06:06:12 8ad3a11d3b57: Verifying Checksum 06:06:12 8ad3a11d3b57: Download complete 06:06:12 93b61091891f: Download complete 06:06:12 df20fa9351a1: Pull complete 06:06:12 36b3adc4ff6f: Pull complete 06:06:13 8ad3a11d3b57: Pull complete 06:06:14 46f8f816bc3b: Pull complete 06:06:14 aa168da1d23b: Verifying Checksum 06:06:14 aa168da1d23b: Download complete 06:06:14 93b61091891f: Pull complete 06:06:14 93b9cdb0e59b: Pull complete 06:06:14 5e14af77c1be: Pull complete 06:06:14 01666e4c0597: Pull complete 06:06:23 aa168da1d23b: Pull complete 06:06:23 Digest: sha256:ac41798234670a79351fc13b8232b4dbeccc6fb1f122f5db5169d11b1762ca7c 06:06:23 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 06:06:23 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer 06:06:23 prd-centos7-docker-4c-2g-3464 does not seem to be running inside a container 06:06:23 $ 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-911/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-911 -v /w/workspace/dgexfoundry_device-sdk-go_PR-911:/w/workspace/dgexfoundry_device-sdk-go_PR-911:rw,z -v /w/workspace/dgexfoundry_device-sdk-go_PR-911@tmp:/w/workspace/dgexfoundry_device-sdk-go_PR-911@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 06:06:26 $ docker top 09479b1d3d731781e2ea02f21346a1c5a151c70457aa005347c7acc58871fa56 -eo pid,comm [Pipeline] { [Pipeline] sh 06:06:26 + touch /tmp/pre-build-complete [Pipeline] sh 06:06:27 + mkdir -p /var/log/sa [Pipeline] sh 06:06:27 + ls /var/log/sa-host 06:06:27 + sadf -c /var/log/sa-host/sa07 06:06:27 file_magic: OK 06:06:27 HZ: Using current value: 100 06:06:27 file_header: OK 06:06:27 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 06:06:27 Statistics: 06:06:27 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... 06:06:27 File successfully converted to sysstat format version 12.2.1 06:06:27 + sadf -c /var/log/sa-host/sa23 06:06:27 file_magic: OK 06:06:27 HZ: Using current value: 100 06:06:27 file_header: OK 06:06:27 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 06:06:27 Statistics: 06:06:27 Hnuu...uuuununununu... 06:06:27 File successfully converted to sysstat format version 12.2.1 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 06:06:27 provisioning config files... 06:06:27 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-911@tmp/config367327695991836583tmp [Pipeline] { [Pipeline] echo 06:06:27 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 06:06:28 ---> create-netrc.sh [Pipeline] } 06:06:28 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] echo 06:06:28 Running shell/python-tools-install.sh [Pipeline] libraryResource [Pipeline] sh 06:06:28 ---> python-tools-install.sh [Pipeline] echo 06:06:28 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 06:06:29 ---> sudo-logs.sh 06:06:29 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 06:06:29 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 06:06:29 ---> job-cost.sh 06:06:29 lf-activate-venv: SKIPPING 06:06:29 DEBUG: total: 0.20999999344348907 06:06:29 INFO: Retrieving Stack Cost... 06:06:30 INFO: Retrieving Pricing Info for: v1-standard-2 06:06:31 INFO: Archiving Costs [Pipeline] echo 06:06:31 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 06:06:31 ---> logs-deploy.sh 06:06:31 lf-activate-venv: SKIPPING 06:06:31 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-911/1 06:06:31 INFO: archiving workspace using pattern(s): 06:06:33 Archives upload complete. 06:06:33 INFO: archiving logs to Nexus 06:06:34 ---> uname -a: 06:06:34 Linux prd-centos7-docker-4c-2g-3464.vexxhost.local 3.10.0-1160.6.1.el7.x86_64 #1 SMP Tue Nov 17 13:59:11 UTC 2020 x86_64 Linux 06:06:34 06:06:34