Branch indexing Connecting to https://api.github.com using edgex-jenkins/****** (edgex-jenkins github personal access token) Obtained Jenkinsfile from 6814ce7d49aa4cd747a8d59ca6e8d100f595e6d2+907dcb8c5e72c1eb081ec49d4cc5729bbc41d242 (ec68dd13d23c0d7715f963d197fc8bdd7dad0fd9) Running in Durability level: PERFORMANCE_OPTIMIZED Loading library edgex-global-pipelines@stable Attempting to resolve stable from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > git /usr/bin/chcon --type=ssh_home_t /tmp/jenkins-gitclient-ssh7308327027016943731.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision f4a1163c6b2b14014f487cca778b157dcbc6cc6b Resolving tag commit... (remote references may be a lightweight tag or an annotated tag) > git rev-parse --resolve-git-dir /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f/.git # 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 [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > git /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f@tmp/jenkins-gitclient-ssh5152909015052503774.key > 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 f4a1163c6b2b14014f487cca778b157dcbc6cc6b The recommended git tool is: git using credential edgex-jenkins-ssh > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-sdk-go/branches/PR-955/workspace@libs/edgex-global-pipelines/.git # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching with tags Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > git /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-sdk-go/branches/PR-955/workspace@libs/edgex-global-pipelines@tmp/jenkins-gitclient-ssh8184051861901872700.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision f4a1163c6b2b14014f487cca778b157dcbc6cc6b (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f f4a1163c6b2b14014f487cca778b157dcbc6cc6b # timeout=10 Commit message: "Merge pull request #339 from ernestojeda/disable-snaps-temp" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:edgexfoundry/edgex-global-pipelines.git so that shared library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. Loading library lf-pipelines@master Attempting to resolve master from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > git /usr/bin/chcon --type=ssh_home_t /tmp/jenkins-gitclient-ssh8212096276183695189.key > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision d1a99147b03c6cd90561f8e70b7af78166bcd4cd The recommended git tool is: NONE using credential edgex-jenkins-ssh > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-sdk-go/branches/PR-955/workspace@libs/lf-pipelines/.git # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 Fetching without tags Fetching upstream changes from git@github.com:lfit/releng-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > git /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-sdk-go/branches/PR-955/workspace@libs/lf-pipelines@tmp/jenkins-gitclient-ssh8312924934649535555.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision d1a99147b03c6cd90561f8e70b7af78166bcd4cd (master) > git config core.sparsecheckout # timeout=10 > git checkout -f d1a99147b03c6cd90561f8e70b7af78166bcd4cd # timeout=10 Commit message: "Feat: Add initial Java pipeline functionality" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that shared library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-sdk-go, dockerImageName: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: 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-967 in /w/workspace/dgexfoundry_device-sdk-go_PR-955 [Pipeline] { [Pipeline] stage [Pipeline] { (Declarative: Checkout SCM) [Pipeline] checkout Selected Git installation does not exist. Using Default The recommended git tool is: NONE 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-955 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git > git --version # timeout=10 > git --version # 'git version 2.24.4' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > git /usr/bin/chcon --type=ssh_home_t /w/workspace/dgexfoundry_device-sdk-go_PR-955@tmp/jenkins-gitclient-ssh2375372374185126559.key > 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 907dcb8c5e72c1eb081ec49d4cc5729bbc41d242 into PR head commit 6814ce7d49aa4cd747a8d59ca6e8d100f595e6d2 Merge succeeded, producing 97670c8b50bcf91fe2678ec198568b5a908f90f5 Checking out Revision 97670c8b50bcf91fe2678ec198568b5a908f90f5 (PR-955) > 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 [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > git /usr/bin/chcon --type=ssh_home_t /w/workspace/dgexfoundry_device-sdk-go_PR-955@tmp/jenkins-gitclient-ssh1651600833337229415.key > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/955/head:refs/remotes/origin/PR-955 +refs/heads/master:refs/remotes/origin/master # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 6814ce7d49aa4cd747a8d59ca6e8d100f595e6d2 # timeout=10 > git remote # timeout=10 > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > git /usr/bin/chcon --type=ssh_home_t /w/workspace/dgexfoundry_device-sdk-go_PR-955@tmp/jenkins-gitclient-ssh6307980074808227043.key > git merge 907dcb8c5e72c1eb081ec49d4cc5729bbc41d242 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 97670c8b50bcf91fe2678ec198568b5a908f90f5 # timeout=10 Commit message: "Merge commit '907dcb8c5e72c1eb081ec49d4cc5729bbc41d242' into HEAD" > git rev-list --no-walk 6814ce7d49aa4cd747a8d59ca6e8d100f595e6d2 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 18:42:09 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 18:42:10 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 18:42:10 ========================================================= 18:42:10 EdgeX Global Pipelines Version Info 18:42:10 ========================================================= [Pipeline] libraryResource [Pipeline] sh 18:42:11 ------------------- 18:42:11 stable info: 18:42:11 ------------------- 18:42:11 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 18:42:11 Commit SHA: f4a1163c6b2b14014f487cca778b157dcbc6cc6b 18:42:11 Message: update stable to v1.0.194 18:42:12 ------------------- 18:42:12 experimental info: 18:42:12 ------------------- 18:42:12 Commited By: **** collab-it+edgex@linuxfoundation.org 18:42:12 Commit SHA: f4a1163c6b2b14014f487cca778b157dcbc6cc6b 18:42:12 Message: update experimental to v1.0.194 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 18:42:12 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-go-settings [Pipeline] echo 18:42:12 [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-go [Pipeline] echo 18:42:12 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 18:42:12 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 18:42:12 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 18:42:12 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.16 [Pipeline] echo 18:42:12 [edgeXSetupEnvironment]: set envvar GOPROXY = https://nexus3.edgexfoundry.org/repository/go-proxy/ [Pipeline] echo 18:42:12 [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine [Pipeline] echo 18:42:12 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = example/cmd/device-simple/Dockerfile [Pipeline] echo 18:42:12 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 18:42:12 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 18:42:12 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-sdk-simple [Pipeline] echo 18:42:12 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 18:42:12 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 18:42:16 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 18:42:16 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo 18:42:16 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 18:42:16 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 18:42:16 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 18:42:16 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 18:42:16 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo 18:42:16 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 openapi/v2 [Pipeline] echo 18:42:16 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 18:42:16 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 18:42:16 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 18:42:16 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 18:42:16 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-955 [Pipeline] echo 18:42:16 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-955 [Pipeline] echo 18:42:16 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-955 [Pipeline] echo 18:42:16 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 97670c8b50bcf91fe2678ec198568b5a908f90f5 [Pipeline] echo 18:42:16 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 97670c8 [Pipeline] echo 18:42:16 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 18:42:17 provisioning config files... 18:42:17 copy managed file [device-sdk-go-settings] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-955@tmp/config2919271518320968105tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 18:42:17 ---> docker-login.sh 18:42:17 nexus3.edgexfoundry.org:10001 18:42:17 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:42:17 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:42:17 Configure a credential helper to remove this warning. See 18:42:17 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:42:17 18:42:17 Login Succeeded 18:42:17 nexus3.edgexfoundry.org:10002 18:42:17 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:42:17 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:42:17 Configure a credential helper to remove this warning. See 18:42:17 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:42:17 18:42:17 Login Succeeded 18:42:17 nexus3.edgexfoundry.org:10003 18:42:17 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:42:17 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:42:17 Configure a credential helper to remove this warning. See 18:42:17 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:42:17 18:42:17 Login Succeeded 18:42:17 nexus3.edgexfoundry.org:10004 18:42:18 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:42:18 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:42:18 Configure a credential helper to remove this warning. See 18:42:18 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:42:18 18:42:18 Login Succeeded 18:42:18 docker.io 18:42:18 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:42:18 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:42:18 Configure a credential helper to remove this warning. See 18:42:18 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:42:18 18:42:18 Login Succeeded 18:42:18 ---> docker-login.sh ends [Pipeline] } 18:42:18 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 18:42:19 + git log --format=format:%s -1 97670c8b50bcf91fe2678ec198568b5a908f90f5 [Pipeline] echo 18:42:19 GIT_COMMIT: 97670c8b50bcf91fe2678ec198568b5a908f90f5, Commit Message: Merge commit '907dcb8c5e72c1eb081ec49d4cc5729bbc41d242' into HEAD [Pipeline] echo 18:42:19 This is not a build commit. [Pipeline] isUnix [Pipeline] sh 18:42:19 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 18:42:19 18:42:19 Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh 18:42:20 + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 18:42:20 latest: Pulling from edgex-devops/git-semver 18:42:20 31603596830f: Pulling fs layer 18:42:20 54011a49482f: Pulling fs layer 18:42:20 a6820b24f6d8: Pulling fs layer 18:42:20 f581987b2513: Pulling fs layer 18:42:20 f581987b2513: Waiting 18:42:20 54011a49482f: Verifying Checksum 18:42:20 54011a49482f: Download complete 18:42:20 31603596830f: Verifying Checksum 18:42:20 31603596830f: Download complete 18:42:20 f581987b2513: Verifying Checksum 18:42:20 f581987b2513: Download complete 18:42:20 a6820b24f6d8: Verifying Checksum 18:42:20 a6820b24f6d8: Download complete 18:42:20 31603596830f: Pull complete 18:42:20 54011a49482f: Pull complete 18:42:21 a6820b24f6d8: Pull complete 18:42:21 f581987b2513: Pull complete 18:42:21 Digest: sha256:772af3cb61214e5a22880db9bb273bb039d0aa3a8f4edfa0c1def8b4e20ea536 18:42:21 Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 18:42:21 nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer 18:42:21 prd-centos7-docker-4c-2g-967 does not seem to be running inside a container 18:42:21 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/dgexfoundry_device-sdk-go_PR-955 -v /w/workspace/dgexfoundry_device-sdk-go_PR-955:/w/workspace/dgexfoundry_device-sdk-go_PR-955:rw,z -v /w/workspace/dgexfoundry_device-sdk-go_PR-955@tmp:/w/workspace/dgexfoundry_device-sdk-go_PR-955@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat 18:42:23 $ docker top 9ba97ef3cfbbeedd4828bbaa082e21d0ed19d3f116b3eed4a6e4a9cd93dd4e10 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 18:42:23 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 18:42:23 [ssh-agent] Looking for ssh-agent implementation... 18:42:23 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 18:42:23 $ docker exec 9ba97ef3cfbbeedd4828bbaa082e21d0ed19d3f116b3eed4a6e4a9cd93dd4e10 ssh-agent 18:42:23 SSH_AUTH_SOCK=/tmp/ssh-Cwyw2ND6OJbu/agent.15 18:42:23 SSH_AGENT_PID=22 18:42:23 Running ssh-add (command line suppressed) 18:42:23 Identity added: /w/workspace/dgexfoundry_device-sdk-go_PR-955@tmp/private_key_4911455369667083877.key (/w/workspace/dgexfoundry_device-sdk-go_PR-955@tmp/private_key_4911455369667083877.key) 18:42:23 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 18:42:23 + git tag --points-at HEAD [Pipeline] } 18:42:23 $ docker exec --env ******** --env ******** 9ba97ef3cfbbeedd4828bbaa082e21d0ed19d3f116b3eed4a6e4a9cd93dd4e10 ssh-agent -k 18:42:24 unset SSH_AUTH_SOCK; 18:42:24 unset SSH_AGENT_PID; 18:42:24 echo Agent pid 22 killed; 18:42:24 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 18:42:24 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 18:42:24 [ssh-agent] Looking for ssh-agent implementation... 18:42:24 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 18:42:24 $ docker exec 9ba97ef3cfbbeedd4828bbaa082e21d0ed19d3f116b3eed4a6e4a9cd93dd4e10 ssh-agent 18:42:24 SSH_AUTH_SOCK=/tmp/ssh-MOAi7DjF5BTn/agent.56 18:42:24 SSH_AGENT_PID=62 18:42:24 Running ssh-add (command line suppressed) 18:42:24 Identity added: /w/workspace/dgexfoundry_device-sdk-go_PR-955@tmp/private_key_8000768089876292294.key (/w/workspace/dgexfoundry_device-sdk-go_PR-955@tmp/private_key_8000768089876292294.key) 18:42:24 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 18:42:24 + git semver init 18:42:24 # -> Open(): unable to determine branch for HEAD 18:42:24 # $GIT_DIR = /w/workspace/dgexfoundry_device-sdk-go_PR-955/.git 18:42:24 # $GIT_WORK_TREE = /w/workspace/dgexfoundry_device-sdk-go_PR-955 18:42:24 # $SEMVER_REMOTE_NAME = origin 18:42:24 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 18:42:24 # $SEMVER_USER_NAME = edgex-jenkins 18:42:24 # $SEMVER_BRANCH = PR-955 18:42:24 # $SEMVER_TEMP = /tmp/semver-338202521 18:42:24 # git clone --branch semver git@github.com:edgexfoundry/device-sdk-go.git $SEMVER_TEMP 18:42:25 # '/tmp/semver-338202521' -> '/w/workspace/dgexfoundry_device-sdk-go_PR-955/.semver' 18:42:25 # -> Force: false 18:42:25 # $SEMVER_DIR = /w/workspace/dgexfoundry_device-sdk-go_PR-955/.semver [Pipeline] } 18:42:25 $ docker exec --env ******** --env ******** 9ba97ef3cfbbeedd4828bbaa082e21d0ed19d3f116b3eed4a6e4a9cd93dd4e10 ssh-agent -k 18:42:25 unset SSH_AUTH_SOCK; 18:42:25 unset SSH_AGENT_PID; 18:42:25 echo Agent pid 62 killed; 18:42:25 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 18:42:26 + git semver [Pipeline] } 18:42:26 $ docker stop --time=1 9ba97ef3cfbbeedd4828bbaa082e21d0ed19d3f116b3eed4a6e4a9cd93dd4e10 18:42:27 $ docker rm -f 9ba97ef3cfbbeedd4828bbaa082e21d0ed19d3f116b3eed4a6e4a9cd93dd4e10 [Pipeline] // withDockerContainer [Pipeline] sh 18:42:27 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 18:42:28 Stashed 1 file(s) [Pipeline] echo 18:42:28 [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 18:42:43 Still waiting to schedule task 18:42:43 ‘prd-centos7-docker-4c-2g-968’ is offline 18:42:43 Still waiting to schedule task 18:42:43 All nodes of label ‘ubuntu18.04-docker-arm64-4c-16g’ are offline 18:44:42 Running on prd-centos7-docker-4c-2g-970 in /w/workspace/dgexfoundry_device-sdk-go_PR-955 [Pipeline] { [Pipeline] ws 18:44:42 Running in /w/workspace/device-sdk-go/2 [Pipeline] { [Pipeline] checkout 18:44:43 Selected Git installation does not exist. Using Default 18:44:43 The recommended git tool is: NONE 18:44:45 using credential edgex-jenkins-ssh 18:44:45 Cloning the remote Git repository 18:44:45 Cloning repository git@github.com:edgexfoundry/device-sdk-go.git 18:44:45 > git init /w/workspace/device-sdk-go/2 # timeout=10 18:44:45 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 18:44:45 > git --version # timeout=10 18:44:45 > git --version # 'git version 2.24.4' 18:44:45 using GIT_SSH to set credentials SSH Credentials for GitHub 18:44:45 [INFO] Currently running in a labeled security context 18:44:45 [INFO] Currently SELinux is 'enforcing' on the host 18:44:45 > git /usr/bin/chcon --type=ssh_home_t /w/workspace/device-sdk-go/2@tmp/jenkins-gitclient-ssh70042699446571018.key 18:44:45 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 18:44:46 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 18:44:46 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 18:44:46 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 18:44:46 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 18:44:46 using GIT_SSH to set credentials SSH Credentials for GitHub 18:44:46 [INFO] Currently running in a labeled security context 18:44:46 [INFO] Currently SELinux is 'enforcing' on the host 18:44:46 > git /usr/bin/chcon --type=ssh_home_t /w/workspace/device-sdk-go/2@tmp/jenkins-gitclient-ssh2632715773786220794.key 18:44:46 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/955/head:refs/remotes/origin/PR-955 +refs/heads/master:refs/remotes/origin/master # timeout=10 18:44:46 Merging remotes/origin/master commit 907dcb8c5e72c1eb081ec49d4cc5729bbc41d242 into PR head commit 6814ce7d49aa4cd747a8d59ca6e8d100f595e6d2 18:44:46 Merge succeeded, producing ba2eb6a294efc33260a307763b79ae56f7c8de7d 18:44:46 Checking out Revision ba2eb6a294efc33260a307763b79ae56f7c8de7d (PR-955) 18:44:46 > git config core.sparsecheckout # timeout=10 18:44:46 > git checkout -f 6814ce7d49aa4cd747a8d59ca6e8d100f595e6d2 # timeout=10 18:44:46 > git remote # timeout=10 18:44:46 > git config --get remote.origin.url # timeout=10 18:44:46 using GIT_SSH to set credentials SSH Credentials for GitHub 18:44:46 [INFO] Currently running in a labeled security context 18:44:46 [INFO] Currently SELinux is 'enforcing' on the host 18:44:46 > git /usr/bin/chcon --type=ssh_home_t /w/workspace/device-sdk-go/2@tmp/jenkins-gitclient-ssh1271477096474376624.key 18:44:46 > git merge 907dcb8c5e72c1eb081ec49d4cc5729bbc41d242 # timeout=10 18:44:46 > git rev-parse HEAD^{commit} # timeout=10 18:44:46 > git config core.sparsecheckout # timeout=10 18:44:46 > git checkout -f ba2eb6a294efc33260a307763b79ae56f7c8de7d # timeout=10 18:44:48 Running on prd-ubuntu18.04-docker-arm64-4c-16g-969 in /w/workspace/dgexfoundry_device-sdk-go_PR-955 [Pipeline] { [Pipeline] ws 18:44:48 Running in /w/workspace/device-sdk-go/2 [Pipeline] { [Pipeline] checkout 18:44:48 Selected Git installation does not exist. Using Default 18:44:48 The recommended git tool is: NONE 18:44:50 Commit message: "Merge commit '907dcb8c5e72c1eb081ec49d4cc5729bbc41d242' into HEAD" 18:44:50 > git rev-list --no-walk 6814ce7d49aa4cd747a8d59ca6e8d100f595e6d2 # timeout=10 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 18:44:53 + sudo jq '. + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false}' /etc/docker/daemon.json [Pipeline] sh 18:44:54 + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh 18:44:54 + true 18:44:54 + sudo service docker restart 18:44:54 Redirecting to /bin/systemctl restart docker.service 18:44:56 using credential edgex-jenkins-ssh 18:44:56 Cloning the remote Git repository 18:44:56 Cloning repository git@github.com:edgexfoundry/device-sdk-go.git 18:44:56 > git init /w/workspace/device-sdk-go/2 # timeout=10 18:44:56 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 18:44:56 > git --version # timeout=10 18:44:56 > git --version # 'git version 2.17.1' 18:44:56 using GIT_SSH to set credentials SSH Credentials for GitHub 18:44:56 > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 18:44:58 Merging remotes/origin/master commit 907dcb8c5e72c1eb081ec49d4cc5729bbc41d242 into PR head commit 6814ce7d49aa4cd747a8d59ca6e8d100f595e6d2 18:44:58 Merge succeeded, producing 0901f1f3cf89eb61204d1bbc8d169a300a21454f 18:44:58 Checking out Revision 0901f1f3cf89eb61204d1bbc8d169a300a21454f (PR-955) 18:44:57 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 18:44:57 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 18:44:57 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 18:44:57 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 18:44:57 using GIT_SSH to set credentials SSH Credentials for GitHub 18:44:57 > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/955/head:refs/remotes/origin/PR-955 +refs/heads/master:refs/remotes/origin/master # timeout=10 18:44:58 > git config core.sparsecheckout # timeout=10 18:44:58 > git checkout -f 6814ce7d49aa4cd747a8d59ca6e8d100f595e6d2 # timeout=10 18:44:58 > git remote # timeout=10 18:44:58 > git config --get remote.origin.url # timeout=10 18:44:58 using GIT_SSH to set credentials SSH Credentials for GitHub 18:44:58 > git merge 907dcb8c5e72c1eb081ec49d4cc5729bbc41d242 # timeout=10 18:44:58 > git rev-parse HEAD^{commit} # timeout=10 18:44:58 > git config core.sparsecheckout # timeout=10 18:44:58 > git checkout -f 0901f1f3cf89eb61204d1bbc8d169a300a21454f # timeout=10 18:45:02 Commit message: "Merge commit '907dcb8c5e72c1eb081ec49d4cc5729bbc41d242' into HEAD" 18:45:02 > git rev-list --no-walk 6814ce7d49aa4cd747a8d59ca6e8d100f595e6d2 # timeout=10 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 18:45:04 + sudo jq . + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false} /etc/docker/daemon.json [Pipeline] sh 18:45:04 + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh 18:45:05 + sudo service docker restart 18:45:05 + true [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 18:45:12 provisioning config files... 18:45:12 copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/2@tmp/config8756355087448771389tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 18:45:12 ---> docker-login.sh 18:45:12 nexus3.edgexfoundry.org:10001 18:45:13 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:45:13 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:45:13 Configure a credential helper to remove this warning. See 18:45:13 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:45:13 18:45:13 Login Succeeded 18:45:13 nexus3.edgexfoundry.org:10002 18:45:13 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:45:13 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:45:13 Configure a credential helper to remove this warning. See 18:45:13 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:45:13 18:45:13 Login Succeeded 18:45:13 nexus3.edgexfoundry.org:10003 18:45:13 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:45:13 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:45:13 Configure a credential helper to remove this warning. See 18:45:13 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:45:13 18:45:13 Login Succeeded 18:45:13 nexus3.edgexfoundry.org:10004 18:45:13 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:45:13 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:45:13 Configure a credential helper to remove this warning. See 18:45:13 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:45:13 18:45:13 Login Succeeded 18:45:13 docker.io 18:45:13 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:45:14 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:45:14 Configure a credential helper to remove this warning. See 18:45:14 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:45:14 18:45:14 Login Succeeded 18:45:14 ---> docker-login.sh ends [Pipeline] } 18:45:14 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 18:45:14 ========================================================= 18:45:14 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine] 18:45:14 ========================================================= [Pipeline] isUnix [Pipeline] sh 18:45:14 + 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 . 18:45:14 Sending build context to Docker daemon 2.631MB 18:45:14 Step 1/8 : ARG BASE=golang:1.16-alpine3.12 18:45:14 Step 2/8 : FROM ${BASE} 18:45:14 1.16-alpine: Pulling from edgex-devops/edgex-golang-base 18:45:14 540db60ca938: Pulling fs layer 18:45:14 adcc1eea9eea: Pulling fs layer 18:45:14 4c4ab2625f07: Pulling fs layer 18:45:14 0510c868ecb4: Pulling fs layer 18:45:14 afea3b2eda06: Pulling fs layer 18:45:14 7809a108b3ef: Pulling fs layer 18:45:14 f706445af74f: Pulling fs layer 18:45:14 0510c868ecb4: Waiting 18:45:14 afea3b2eda06: Waiting 18:45:14 7809a108b3ef: Waiting 18:45:14 f706445af74f: Waiting 18:45:14 4c4ab2625f07: Verifying Checksum 18:45:14 4c4ab2625f07: Download complete 18:45:14 adcc1eea9eea: Verifying Checksum 18:45:14 adcc1eea9eea: Download complete 18:45:14 afea3b2eda06: Verifying Checksum 18:45:14 afea3b2eda06: Download complete 18:45:14 540db60ca938: Verifying Checksum 18:45:14 540db60ca938: Download complete 18:45:14 7809a108b3ef: Verifying Checksum 18:45:14 7809a108b3ef: Download complete 18:45:14 540db60ca938: Pull complete 18:45:15 adcc1eea9eea: Pull complete 18:45:15 4c4ab2625f07: Pull complete 18:45:16 f706445af74f: Verifying Checksum 18:45:16 f706445af74f: Download complete 18:45:17 0510c868ecb4: Verifying Checksum 18:45:17 0510c868ecb4: Download complete 18:45:20 0510c868ecb4: Pull complete 18:45:20 afea3b2eda06: Pull complete 18:45:20 7809a108b3ef: Pull complete 18:45:21 f706445af74f: Pull complete 18:45:21 Digest: sha256:3789524f83b4b99ff44900c39f6da7fc44f99660cd9adf292610dec398b137f4 18:45:21 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine 18:45:21 ---> b068be0155e3 18:45:21 Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 18:45:23 provisioning config files... 18:45:23 copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/2@tmp/config7454922652477032226tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 18:45:23 ---> docker-login.sh 18:45:23 nexus3.edgexfoundry.org:10001 18:45:24 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:45:25 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:45:25 Configure a credential helper to remove this warning. See 18:45:25 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:45:25 18:45:25 Login Succeeded 18:45:25 nexus3.edgexfoundry.org:10002 18:45:25 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:45:25 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:45:25 Configure a credential helper to remove this warning. See 18:45:25 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:45:25 18:45:25 Login Succeeded 18:45:25 nexus3.edgexfoundry.org:10003 18:45:25 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:45:26 ---> Running in 77dac654f496 18:45:26 Removing intermediate container 77dac654f496 18:45:26 ---> dcc8559e46e3 18:45:26 Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 18:45:26 ---> Running in 92ff42ad9747 18:45:26 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:45:26 Configure a credential helper to remove this warning. See 18:45:26 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:45:26 18:45:26 Login Succeeded 18:45:26 nexus3.edgexfoundry.org:10004 18:45:26 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:45:26 Removing intermediate container 92ff42ad9747 18:45:26 ---> 55c2b0344ec8 18:45:26 Step 5/8 : RUN apk add --update --no-cache make git gcc libc-dev libsodium-dev zeromq-dev 18:45:26 ---> Running in 096fc120a5d0 18:45:26 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:45:26 Configure a credential helper to remove this warning. See 18:45:26 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:45:26 18:45:26 Login Succeeded 18:45:26 docker.io 18:45:26 fetch https://nl.alpinelinux.org/alpine/v3.13/main/x86_64/APKINDEX.tar.gz 18:45:27 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:45:27 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:45:27 Configure a credential helper to remove this warning. See 18:45:27 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:45:27 18:45:27 Login Succeeded 18:45:27 ---> docker-login.sh ends [Pipeline] } 18:45:27 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 18:45:27 ========================================================= 18:45:27 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine] 18:45:27 ========================================================= [Pipeline] isUnix [Pipeline] sh 18:45:27 fetch https://nl.alpinelinux.org/alpine/v3.13/community/x86_64/APKINDEX.tar.gz 18:45:28 + 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 . 18:45:28 Sending build context to Docker daemon 2.63MB 18:45:28 Step 1/8 : ARG BASE=golang:1.16-alpine3.12 18:45:28 Step 2/8 : FROM ${BASE} 18:45:29 1.16-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 18:45:29 595b0fe564bb: Pulling fs layer 18:45:29 7186ed65a4f7: Pulling fs layer 18:45:29 316046926c0a: Pulling fs layer 18:45:29 4ebd0625c992: Pulling fs layer 18:45:29 207e8628e3a3: Pulling fs layer 18:45:29 c791037a9be2: Pulling fs layer 18:45:29 ffd874e62e21: Pulling fs layer 18:45:29 4ebd0625c992: Waiting 18:45:29 207e8628e3a3: Waiting 18:45:29 c791037a9be2: Waiting 18:45:29 ffd874e62e21: Waiting 18:45:29 316046926c0a: Verifying Checksum 18:45:29 316046926c0a: Download complete 18:45:29 7186ed65a4f7: Verifying Checksum 18:45:29 7186ed65a4f7: Download complete 18:45:29 207e8628e3a3: Download complete 18:45:29 595b0fe564bb: Verifying Checksum 18:45:29 595b0fe564bb: Download complete 18:45:29 c791037a9be2: Verifying Checksum 18:45:29 c791037a9be2: Download complete 18:45:29 (1/6) Installing libc-dev (0.7.2-r3) 18:45:29 (2/6) Installing libsodium (1.0.18-r0) 18:45:29 (3/6) Installing pkgconf (1.7.3-r0) 18:45:29 (4/6) Installing libsodium-dev (1.0.18-r0) 18:45:29 (5/6) Installing libzmq (4.3.3-r1) 18:45:29 595b0fe564bb: Pull complete 18:45:30 (6/6) Installing zeromq-dev (4.3.3-r1) 18:45:30 Executing busybox-1.32.1-r6.trigger 18:45:30 OK: 150 MiB in 46 packages 18:45:30 7186ed65a4f7: Pull complete 18:45:30 Removing intermediate container 096fc120a5d0 18:45:30 ---> c66d0708d07c 18:45:30 Step 6/8 : WORKDIR /device-sdk-go 18:45:30 ---> Running in e2f0b673f5d8 18:45:30 Removing intermediate container e2f0b673f5d8 18:45:30 ---> 8a22fe9fc34a 18:45:30 Step 7/8 : COPY . . 18:45:30 ---> aca8c2cbbf1a 18:45:30 Step 8/8 : RUN go mod download 18:45:30 ---> Running in 6ec67538d276 18:45:30 316046926c0a: Pull complete 18:45:33 ffd874e62e21: Verifying Checksum 18:45:33 ffd874e62e21: Download complete 18:45:33 4ebd0625c992: Verifying Checksum 18:45:33 4ebd0625c992: Download complete 18:45:43 4ebd0625c992: Pull complete 18:45:43 207e8628e3a3: Pull complete 18:45:43 c791037a9be2: Pull complete 18:45:45 Removing intermediate container 6ec67538d276 18:45:45 ---> 98e549b8236d 18:45:45 Successfully built 98e549b8236d 18:45:45 Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh 18:45:45 + docker inspect -f . ci-base-image-x86_64 18:45:45 . [Pipeline] withDockerContainer 18:45:45 prd-centos7-docker-4c-2g-970 does not seem to be running inside a container 18:45:45 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/2 -v /w/workspace/device-sdk-go/2:/w/workspace/device-sdk-go/2:rw,z -v /w/workspace/device-sdk-go/2@tmp:/w/workspace/device-sdk-go/2@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 18:45:46 ffd874e62e21: Pull complete 18:45:46 $ docker top 4ff11e62672df7ee671dd389e6dd75a0c9e2fffb2416c1f12e2e21159706c0ab -eo pid,comm [Pipeline] { [Pipeline] sh 18:45:46 Digest: sha256:fad7b58e697bd06bcf362d803a3263ca5ec03b905aa8665231fe3262941fe3e0 18:45:46 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine 18:45:46 ---> cfc18b08335c 18:45:46 Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 18:45:46 + go version 18:45:46 go version go1.16.3 linux/amd64 [Pipeline] } 18:45:46 $ docker stop --time=1 4ff11e62672df7ee671dd389e6dd75a0c9e2fffb2416c1f12e2e21159706c0ab 18:45:47 $ docker rm -f 4ff11e62672df7ee671dd389e6dd75a0c9e2fffb2416c1f12e2e21159706c0ab [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 18:45:48 + docker inspect -f . ci-base-image-x86_64 18:45:48 . [Pipeline] withDockerContainer 18:45:48 prd-centos7-docker-4c-2g-970 does not seem to be running inside a container 18:45:48 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/2 -v /w/workspace/device-sdk-go/2:/w/workspace/device-sdk-go/2:rw,z -v /w/workspace/device-sdk-go/2@tmp:/w/workspace/device-sdk-go/2@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 18:45:48 ---> Running in fd224f2b8b43 18:45:48 $ docker top f967cab4a846eef4ad894d4a2f4121185c47cea8af960dc8c7369ace97aaf500 -eo pid,comm [Pipeline] { [Pipeline] sh 18:45:49 Removing intermediate container fd224f2b8b43 18:45:49 ---> e9acae57bd2c 18:45:49 Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 18:45:49 ---> Running in b7e3e38ca79d 18:45:49 + go mod tidy [Pipeline] sh 18:45:49 + make test 18:45:49 go mod tidy 18:45:50 GO111MODULE=on go test -race -coverprofile=coverage.out ./... 18:45:51 Removing intermediate container b7e3e38ca79d 18:45:51 ---> c12bef40c7ba 18:45:51 Step 5/8 : RUN apk add --update --no-cache make git gcc libc-dev libsodium-dev zeromq-dev 18:45:51 ---> Running in ae4bdbdeb78d 18:45:53 fetch https://nl.alpinelinux.org/alpine/v3.13/main/aarch64/APKINDEX.tar.gz 18:45:54 fetch https://nl.alpinelinux.org/alpine/v3.13/community/aarch64/APKINDEX.tar.gz 18:45:54 (1/6) Installing libc-dev (0.7.2-r3) 18:45:54 (2/6) Installing libsodium (1.0.18-r0) 18:45:54 (3/6) Installing pkgconf (1.7.3-r0) 18:45:54 (4/6) Installing libsodium-dev (1.0.18-r0) 18:45:55 (5/6) Installing libzmq (4.3.3-r1) 18:45:55 (6/6) Installing zeromq-dev (4.3.3-r1) 18:45:55 Executing busybox-1.32.1-r6.trigger 18:45:55 OK: 139 MiB in 46 packages 18:45:55 ? github.com/edgexfoundry/device-sdk-go/v2 [no test files] 18:45:56 Removing intermediate container ae4bdbdeb78d 18:45:56 ---> dc026b90aa38 18:45:56 Step 6/8 : WORKDIR /device-sdk-go 18:45:56 ---> Running in efbf23387112 18:45:57 Removing intermediate container efbf23387112 18:45:57 ---> 70325bf57af8 18:45:57 Step 7/8 : COPY . . 18:45:58 ---> be3dbf62c97f 18:45:58 Step 8/8 : RUN go mod download 18:45:58 ---> Running in 0e2af4a31d85 18:46:17 ? github.com/edgexfoundry/device-sdk-go/v2/example/cmd/device-simple [no test files] 18:46:17 ? github.com/edgexfoundry/device-sdk-go/v2/example/config [no test files] 18:46:17 ? github.com/edgexfoundry/device-sdk-go/v2/example/driver [no test files] 18:46:18 ok github.com/edgexfoundry/device-sdk-go/v2/internal/application 0.053s coverage: 25.4% of statements 18:46:18 ? github.com/edgexfoundry/device-sdk-go/v2/internal/autodiscovery [no test files] 18:46:18 ok github.com/edgexfoundry/device-sdk-go/v2/internal/autoevent 0.053s coverage: 28.1% of statements 18:46:19 ok github.com/edgexfoundry/device-sdk-go/v2/internal/cache 0.047s coverage: 78.9% of statements 18:46:19 ok github.com/edgexfoundry/device-sdk-go/v2/internal/clients 0.054s coverage: 9.0% of statements 18:46:19 ? github.com/edgexfoundry/device-sdk-go/v2/internal/common [no test files] 18:46:19 ? github.com/edgexfoundry/device-sdk-go/v2/internal/config [no test files] 18:46:19 ? github.com/edgexfoundry/device-sdk-go/v2/internal/container [no test files] 18:46:20 ok github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http 0.060s coverage: 29.2% of statements 18:46:20 ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http/correlation [no test files] 18:46:23 ok github.com/edgexfoundry/device-sdk-go/v2/internal/messaging 1.045s coverage: 83.3% of statements 18:46:23 ? github.com/edgexfoundry/device-sdk-go/v2/internal/provision [no test files] 18:46:23 ? github.com/edgexfoundry/device-sdk-go/v2/internal/telemetry [no test files] 18:46:23 ok github.com/edgexfoundry/device-sdk-go/v2/internal/transformer 0.078s coverage: 58.0% of statements 18:46:23 ok github.com/edgexfoundry/device-sdk-go/v2/pkg/models 0.803s coverage: 89.2% of statements 18:46:23 ? github.com/edgexfoundry/device-sdk-go/v2/pkg/models/mocks [no test files] 18:46:23 ok github.com/edgexfoundry/device-sdk-go/v2/pkg/service 0.056s coverage: 5.0% of statements 18:46:23 ? github.com/edgexfoundry/device-sdk-go/v2/pkg/startup [no test files] 18:46:23 GO111MODULE=on go vet ./... 18:46:25 Removing intermediate container 0e2af4a31d85 18:46:25 ---> 0a804df4bdea 18:46:25 Successfully built 0a804df4bdea 18:46:25 Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh 18:46:25 + docker inspect -f . ci-base-image-arm64 18:46:25 . [Pipeline] withDockerContainer 18:46:26 prd-ubuntu18.04-docker-arm64-4c-16g-969 does not seem to be running inside a container 18:46:26 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/2 -v /w/workspace/device-sdk-go/2:/w/workspace/device-sdk-go/2:rw,z -v /w/workspace/device-sdk-go/2@tmp:/w/workspace/device-sdk-go/2@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 18:46:27 $ docker top 4f66306c937065fdd47140fc0faa0732feb278852e91a3e08de1da997d1a9117 -eo pid,comm [Pipeline] { [Pipeline] sh 18:46:28 + go version 18:46:28 go version go1.16.3 linux/arm64 [Pipeline] } 18:46:28 $ docker stop --time=1 4f66306c937065fdd47140fc0faa0732feb278852e91a3e08de1da997d1a9117 18:46:30 $ docker rm -f 4f66306c937065fdd47140fc0faa0732feb278852e91a3e08de1da997d1a9117 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 18:46:31 + docker inspect -f . ci-base-image-arm64 18:46:31 . [Pipeline] withDockerContainer 18:46:31 prd-ubuntu18.04-docker-arm64-4c-16g-969 does not seem to be running inside a container 18:46:31 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/2 -v /w/workspace/device-sdk-go/2:/w/workspace/device-sdk-go/2:rw,z -v /w/workspace/device-sdk-go/2@tmp:/w/workspace/device-sdk-go/2@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 18:46:33 $ docker top 1c5731ddb23109d5725fccf1e5477bb6fba78ec8353c093c901f77d6de1c4104 -eo pid,comm [Pipeline] { [Pipeline] sh 18:46:34 + go mod tidy [Pipeline] sh 18:46:35 + make test 18:46:35 go mod tidy 18:46:36 GO111MODULE=on go test -race -coverprofile=coverage.out ./... 18:46:42 gofmt -l . 18:46:42 [ "`gofmt -l .`" = "" ] 18:46:42 ./bin/test-attribution-txt.sh 18:46:42 ./bin/test-go-mod-tidy.sh [Pipeline] } 18:46:42 $ docker stop --time=1 f967cab4a846eef4ad894d4a2f4121185c47cea8af960dc8c7369ace97aaf500 18:46:43 $ docker rm -f f967cab4a846eef4ad894d4a2f4121185c47cea8af960dc8c7369ace97aaf500 [Pipeline] // withDockerContainer [Pipeline] sh 18:46:44 + sudo chown -R jenkins:jenkins . [Pipeline] stash 18:46:44 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 18:46:50 + sudo chown -R jenkins:jenkins . [Pipeline] sh 18:46:50 + ls -al . 18:46:50 total 208 18:46:50 drwxrwxr-x. 10 jenkins jenkins 4096 Jun 8 18:46 . 18:46:50 drwxrwxr-x. 4 jenkins jenkins 28 Jun 8 18:44 .. 18:46:50 drwxrwxr-x. 2 jenkins jenkins 64 Jun 8 18:44 bin 18:46:50 -rw-r--r--. 1 jenkins jenkins 126071 Jun 8 18:46 coverage.out 18:46:50 -rw-rw-r--. 1 jenkins jenkins 987 Jun 8 18:44 Dockerfile.build 18:46:50 -rw-rw-r--. 1 jenkins jenkins 140 Jun 8 18:44 .dockerignore 18:46:50 drwxrwxr-x. 5 jenkins jenkins 62 Jun 8 18:44 example 18:46:50 drwxrwxr-x. 8 jenkins jenkins 179 Jun 8 18:44 .git 18:46:50 drwxrwxr-x. 2 jenkins jenkins 103 Jun 8 18:44 .github 18:46:50 -rw-rw-r--. 1 jenkins jenkins 138 Jun 8 18:44 .gitignore 18:46:50 -rw-r--r--. 1 jenkins jenkins 575 Jun 8 18:46 go.mod 18:46:50 -rw-r--r--. 1 jenkins jenkins 20472 Jun 8 18:45 go.sum 18:46:50 drwxrwxr-x. 15 jenkins jenkins 224 Jun 8 18:44 internal 18:46:50 -rw-rw-r--. 1 jenkins jenkins 894 Jun 8 18:44 Jenkinsfile 18:46:50 -rw-rw-r--. 1 jenkins jenkins 11341 Jun 8 18:44 LICENSE 18:46:50 -rw-rw-r--. 1 jenkins jenkins 1026 Jun 8 18:44 Makefile 18:46:50 drwxrwxr-x. 4 jenkins jenkins 26 Jun 8 18:44 openapi 18:46:50 drwxrwxr-x. 5 jenkins jenkins 50 Jun 8 18:44 pkg 18:46:50 -rw-rw-r--. 1 jenkins jenkins 7652 Jun 8 18:44 README.md 18:46:50 -rw-rw-r--. 1 jenkins jenkins 6616 Jun 8 18:44 RELEASE-NOTES.txt 18:46:50 drwxrwxr-x. 4 jenkins jenkins 54 Jun 8 18:44 snap 18:46:50 -rw-rw-r--. 1 jenkins jenkins 5 Jun 8 18:42 VERSION 18:46:50 -rw-rw-r--. 1 jenkins jenkins 222 Jun 8 18:44 version.go [Pipeline] isUnix [Pipeline] sh 18:46:51 + docker build -t 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=ba2eb6a294efc33260a307763b79ae56f7c8de7d --label arch=amd64 --label version=0.0.0 . 18:46:51 Sending build context to Docker daemon 2.758MB 18:46:51 Step 1/23 : ARG BASE=golang:1.16-alpine3.12 18:46:51 Step 2/23 : FROM ${BASE} AS builder 18:46:51 ---> 98e549b8236d 18:46:51 Step 3/23 : WORKDIR /device-sdk-go 18:46:51 ---> Running in c0db74b37564 18:46:51 Removing intermediate container c0db74b37564 18:46:51 ---> 8772190facce 18:46:51 Step 4/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 18:46:51 ---> Running in f93c03f0c9a9 18:46:51 Removing intermediate container f93c03f0c9a9 18:46:51 ---> ece668e4f638 18:46:51 Step 5/23 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 18:46:51 ---> Running in 6e95afeab9c5 18:46:52 Removing intermediate container 6e95afeab9c5 18:46:52 ---> a68ba203050e 18:46:52 Step 6/23 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev 18:46:52 ---> Running in 968de3972938 18:46:52 fetch https://nl.alpinelinux.org/alpine/v3.13/main/x86_64/APKINDEX.tar.gz 18:46:53 fetch https://nl.alpinelinux.org/alpine/v3.13/community/x86_64/APKINDEX.tar.gz 18:46:53 OK: 150 MiB in 46 packages 18:46:53 Removing intermediate container 968de3972938 18:46:53 ---> f80641dc5667 18:46:53 Step 7/23 : COPY . . 18:46:54 ---> cd461562d943 18:46:54 Step 8/23 : RUN go mod download 18:46:54 ---> Running in 324b637bc0c2 18:46:54 Removing intermediate container 324b637bc0c2 18:46:54 ---> 6af88f2c051d 18:46:54 Step 9/23 : RUN make build 18:46:54 ---> Running in 508248ca7bd4 18:46:54 go mod tidy 18:46:55 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 18:47:02 ? github.com/edgexfoundry/device-sdk-go/v2 [no test files] 18:47:05 CGO_ENABLED=1 GO111MODULE=on go install -tags=safe 18:47:05 Removing intermediate container 508248ca7bd4 18:47:05 ---> 5372bf867b4b 18:47:05 Step 10/23 : FROM alpine:3.12 18:47:06 3.12: Pulling from library/alpine 18:47:06 339de151aab4: Pulling fs layer 18:47:06 339de151aab4: Verifying Checksum 18:47:06 339de151aab4: Download complete 18:47:06 339de151aab4: Pull complete 18:47:06 Digest: sha256:36553b10a4947067b9fbb7d532951066293a68eae893beba1d9235f7d11a20ad 18:47:06 Status: Downloaded newer image for alpine:3.12 18:47:06 ---> 13621d1b12d4 18:47:06 Step 11/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 18:47:06 ---> Running in ec7c1554521b 18:47:07 Removing intermediate container ec7c1554521b 18:47:07 ---> d650a63fae0e 18:47:07 Step 12/23 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 18:47:07 ---> Running in e5b81e938e8b 18:47:07 Removing intermediate container e5b81e938e8b 18:47:07 ---> 4c93ff602de1 18:47:07 Step 13/23 : RUN apk add --update --no-cache zeromq 18:47:07 ---> Running in 6b9d66b8e49b 18:47:07 fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz 18:47:08 fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz 18:47:08 (1/5) Installing libgcc (9.3.0-r2) 18:47:08 (2/5) Installing libsodium (1.0.18-r0) 18:47:08 (3/5) Installing libstdc++ (9.3.0-r2) 18:47:09 (4/5) Installing libzmq (4.3.3-r0) 18:47:10 (5/5) Installing zeromq (4.3.3-r0) 18:47:10 Executing busybox-1.31.1-r20.trigger 18:47:10 OK: 8 MiB in 19 packages 18:47:10 Removing intermediate container 6b9d66b8e49b 18:47:10 ---> 843cdcdd5311 18:47:10 Step 14/23 : WORKDIR / 18:47:10 ---> Running in e40ab5801ad0 18:47:10 Removing intermediate container e40ab5801ad0 18:47:10 ---> 3aec14a15837 18:47:10 Step 15/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt 18:47:10 ---> aa41d42fc9ed 18:47:10 Step 16/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple 18:47:11 ---> 5cc292d2d41d 18:47:11 Step 17/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res 18:47:11 ---> ed3613cdb287 18:47:11 Step 18/23 : EXPOSE 59999 18:47:11 ---> Running in ce84d7600dd1 18:47:11 Removing intermediate container ce84d7600dd1 18:47:11 ---> 27dfd4b58b1a 18:47:11 Step 19/23 : ENTRYPOINT ["/device-simple"] 18:47:11 ---> Running in 2d4d282f7727 18:47:11 Removing intermediate container 2d4d282f7727 18:47:11 ---> 53843c4d6972 18:47:11 Step 20/23 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] 18:47:11 ---> Running in dc9057ee228b 18:47:11 Removing intermediate container dc9057ee228b 18:47:11 ---> 97e7243e7710 18:47:11 Step 21/23 : LABEL arch=amd64 18:47:11 ---> Running in 31fd38bff777 18:47:11 Removing intermediate container 31fd38bff777 18:47:11 ---> d2c269273593 18:47:11 Step 22/23 : LABEL git_sha=ba2eb6a294efc33260a307763b79ae56f7c8de7d 18:47:11 ---> Running in a41d31d03d93 18:47:11 Removing intermediate container a41d31d03d93 18:47:11 ---> 659128454270 18:47:11 Step 23/23 : LABEL version=0.0.0 18:47:11 ---> Running in dfa03e430360 18:47:12 Removing intermediate container dfa03e430360 18:47:12 ---> 500a9bb720a8 18:47:12 [Warning] One or more build-args [ARCH MAKE] were not consumed 18:47:12 Successfully built 500a9bb720a8 18:47:12 Successfully tagged 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 18:47:13 ---> job-cost.sh 18:47:13 lf-activate-venv(): INFO: Creating python3 venv at /tmp/venv-5QXo 18:47:23 lf-activate-venv(): INFO: Installing: zipp==1.1.0 python-openstackclient 18:47:35 lf-activate-venv(): INFO: Adding /tmp/venv-5QXo/bin to PATH 18:47:35 INFO: No Stack... 18:47:35 INFO: Retrieving Pricing Info for: v3-standard-2 18:47:36 INFO: Archiving Costs [Pipeline] sh 18:47:36 + cat /w/workspace/device-sdk-go/2/archives/cost.csv 18:47:36 + cut -d, -f6 [Pipeline] lock 18:47:36 Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-PR-955-2-stack-cost] 18:47:36 Resource [jenkins-edgexfoundry-device-sdk-go-PR-955-2-stack-cost] did not exist. Created. 18:47:36 Lock acquired on [jenkins-edgexfoundry-device-sdk-go-PR-955-2-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 18:47:37 + echo total: 0.05999999865889549 [Pipeline] stash 18:47:37 Stashed 1 file(s) [Pipeline] } 18:47:37 Lock released on resource [jenkins-edgexfoundry-device-sdk-go-PR-955-2-stack-cost] [Pipeline] // lock [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } 18:48:10 ? github.com/edgexfoundry/device-sdk-go/v2/example/cmd/device-simple [no test files] 18:48:10 ? github.com/edgexfoundry/device-sdk-go/v2/example/config [no test files] 18:48:10 ? github.com/edgexfoundry/device-sdk-go/v2/example/driver [no test files] 18:48:12 ok github.com/edgexfoundry/device-sdk-go/v2/internal/application 0.390s coverage: 25.4% of statements 18:48:12 ? github.com/edgexfoundry/device-sdk-go/v2/internal/autodiscovery [no test files] 18:48:12 ok github.com/edgexfoundry/device-sdk-go/v2/internal/autoevent 0.214s coverage: 28.1% of statements 18:48:12 ok github.com/edgexfoundry/device-sdk-go/v2/internal/cache 0.240s coverage: 78.9% of statements 18:48:12 ok github.com/edgexfoundry/device-sdk-go/v2/internal/clients 0.196s coverage: 9.0% of statements 18:48:12 ? github.com/edgexfoundry/device-sdk-go/v2/internal/common [no test files] 18:48:12 ? github.com/edgexfoundry/device-sdk-go/v2/internal/config [no test files] 18:48:12 ? github.com/edgexfoundry/device-sdk-go/v2/internal/container [no test files] 18:48:14 ok github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http 0.265s coverage: 29.2% of statements 18:48:14 ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http/correlation [no test files] 18:48:15 ok github.com/edgexfoundry/device-sdk-go/v2/internal/messaging 1.223s coverage: 83.3% of statements 18:48:15 ? github.com/edgexfoundry/device-sdk-go/v2/internal/provision [no test files] 18:48:15 ? github.com/edgexfoundry/device-sdk-go/v2/internal/telemetry [no test files] 18:48:15 ok github.com/edgexfoundry/device-sdk-go/v2/internal/transformer 0.339s coverage: 58.0% of statements 18:48:19 ok github.com/edgexfoundry/device-sdk-go/v2/pkg/models 3.052s coverage: 89.2% of statements 18:48:19 ? github.com/edgexfoundry/device-sdk-go/v2/pkg/models/mocks [no test files] 18:48:19 ok github.com/edgexfoundry/device-sdk-go/v2/pkg/service 0.196s coverage: 5.0% of statements 18:48:19 ? github.com/edgexfoundry/device-sdk-go/v2/pkg/startup [no test files] 18:48:19 GO111MODULE=on go vet ./... 18:49:16 gofmt -l . 18:49:16 [ "`gofmt -l .`" = "" ] 18:49:16 ./bin/test-attribution-txt.sh 18:49:17 ./bin/test-go-mod-tidy.sh [Pipeline] } 18:49:17 $ docker stop --time=1 1c5731ddb23109d5725fccf1e5477bb6fba78ec8353c093c901f77d6de1c4104 18:49:20 $ docker rm -f 1c5731ddb23109d5725fccf1e5477bb6fba78ec8353c093c901f77d6de1c4104 [Pipeline] // withDockerContainer [Pipeline] sh 18:49:21 + sudo chown -R jenkins:jenkins . [Pipeline] stash 18:49:21 Warning: overwriting stash ‘coverage-report’ 18:49:21 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 18:49:22 + sudo chown -R jenkins:jenkins . [Pipeline] sh 18:49:22 + ls -al . 18:49:22 total 244 18:49:22 drwxrwxr-x 10 jenkins jenkins 4096 Jun 8 18:49 . 18:49:22 drwxrwxr-x 4 jenkins jenkins 4096 Jun 8 18:44 .. 18:49:22 -rw-rw-r-- 1 jenkins jenkins 140 Jun 8 18:44 .dockerignore 18:49:22 drwxrwxr-x 8 jenkins jenkins 4096 Jun 8 18:45 .git 18:49:22 drwxrwxr-x 2 jenkins jenkins 4096 Jun 8 18:44 .github 18:49:22 -rw-rw-r-- 1 jenkins jenkins 138 Jun 8 18:44 .gitignore 18:49:22 -rw-rw-r-- 1 jenkins jenkins 987 Jun 8 18:44 Dockerfile.build 18:49:22 -rw-rw-r-- 1 jenkins jenkins 894 Jun 8 18:44 Jenkinsfile 18:49:22 -rw-rw-r-- 1 jenkins jenkins 11341 Jun 8 18:44 LICENSE 18:49:22 -rw-rw-r-- 1 jenkins jenkins 1026 Jun 8 18:44 Makefile 18:49:22 -rw-rw-r-- 1 jenkins jenkins 7652 Jun 8 18:44 README.md 18:49:22 -rw-rw-r-- 1 jenkins jenkins 6616 Jun 8 18:44 RELEASE-NOTES.txt 18:49:22 -rw-rw-r-- 1 jenkins jenkins 5 Jun 8 18:42 VERSION 18:49:22 drwxrwxr-x 2 jenkins jenkins 4096 Jun 8 18:44 bin 18:49:22 -rw-r--r-- 1 jenkins jenkins 126071 Jun 8 18:48 coverage.out 18:49:22 drwxrwxr-x 5 jenkins jenkins 4096 Jun 8 18:44 example 18:49:22 -rw-r--r-- 1 jenkins jenkins 575 Jun 8 18:49 go.mod 18:49:22 -rw-r--r-- 1 jenkins jenkins 20472 Jun 8 18:46 go.sum 18:49:22 drwxrwxr-x 15 jenkins jenkins 4096 Jun 8 18:44 internal 18:49:22 drwxrwxr-x 4 jenkins jenkins 4096 Jun 8 18:44 openapi 18:49:22 drwxrwxr-x 5 jenkins jenkins 4096 Jun 8 18:44 pkg 18:49:22 drwxrwxr-x 4 jenkins jenkins 4096 Jun 8 18:44 snap 18:49:22 -rw-rw-r-- 1 jenkins jenkins 222 Jun 8 18:44 version.go [Pipeline] isUnix [Pipeline] sh 18:49:23 + docker build -t 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=0901f1f3cf89eb61204d1bbc8d169a300a21454f --label arch=arm64 --label version=0.0.0 . 18:49:23 Sending build context to Docker daemon 2.757MB 18:49:23 Step 1/23 : ARG BASE=golang:1.16-alpine3.12 18:49:23 Step 2/23 : FROM ${BASE} AS builder 18:49:23 ---> 0a804df4bdea 18:49:23 Step 3/23 : WORKDIR /device-sdk-go 18:49:23 ---> Running in e706849d00e8 18:49:24 Removing intermediate container e706849d00e8 18:49:24 ---> f5e57e466ecb 18:49:24 Step 4/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 18:49:24 ---> Running in ebeaaf9f6414 18:49:25 Removing intermediate container ebeaaf9f6414 18:49:25 ---> 093e8cd45d6f 18:49:25 Step 5/23 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 18:49:25 ---> Running in 93703b047263 18:49:30 Removing intermediate container 93703b047263 18:49:30 ---> 1b85cca74051 18:49:30 Step 6/23 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev 18:49:30 ---> Running in 24cffa477adf 18:49:30 fetch https://nl.alpinelinux.org/alpine/v3.13/main/aarch64/APKINDEX.tar.gz 18:49:30 fetch https://nl.alpinelinux.org/alpine/v3.13/community/aarch64/APKINDEX.tar.gz 18:49:30 OK: 139 MiB in 46 packages 18:49:31 Removing intermediate container 24cffa477adf 18:49:31 ---> b0743ecf7bb1 18:49:31 Step 7/23 : COPY . . 18:49:33 ---> e5a8d094970b 18:49:33 Step 8/23 : RUN go mod download 18:49:33 ---> Running in c6522a944b6f 18:49:35 Removing intermediate container c6522a944b6f 18:49:35 ---> 3b1ad7ac8b37 18:49:35 Step 9/23 : RUN make build 18:49:35 ---> Running in 8cf47213f653 18:49:36 go mod tidy 18:49:37 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 18:50:09 CGO_ENABLED=1 GO111MODULE=on go install -tags=safe 18:50:12 Removing intermediate container 8cf47213f653 18:50:12 ---> ba877bb228d4 18:50:12 Step 10/23 : FROM alpine:3.12 18:50:12 3.12: Pulling from library/alpine 18:50:12 d2f70382dc9a: Pulling fs layer 18:50:13 d2f70382dc9a: Verifying Checksum 18:50:13 d2f70382dc9a: Download complete 18:50:13 d2f70382dc9a: Pull complete 18:50:13 Digest: sha256:36553b10a4947067b9fbb7d532951066293a68eae893beba1d9235f7d11a20ad 18:50:13 Status: Downloaded newer image for alpine:3.12 18:50:13 ---> 9852663dfa18 18:50:13 Step 11/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 18:50:14 ---> Running in a3009fad3bb5 18:50:14 Removing intermediate container a3009fad3bb5 18:50:14 ---> 5c065737b2b9 18:50:14 Step 12/23 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 18:50:14 ---> Running in 952ea485632d 18:50:17 Removing intermediate container 952ea485632d 18:50:17 ---> f6ba6a6d377b 18:50:17 Step 13/23 : RUN apk add --update --no-cache zeromq 18:50:17 ---> Running in c8fe23907d06 18:50:18 fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz 18:50:18 fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz 18:50:19 (1/5) Installing libgcc (9.3.0-r2) 18:50:19 (2/5) Installing libsodium (1.0.18-r0) 18:50:19 (3/5) Installing libstdc++ (9.3.0-r2) 18:50:19 (4/5) Installing libzmq (4.3.3-r0) 18:50:20 (5/5) Installing zeromq (4.3.3-r0) 18:50:20 Executing busybox-1.31.1-r20.trigger 18:50:20 OK: 8 MiB in 19 packages 18:50:21 Removing intermediate container c8fe23907d06 18:50:21 ---> a0223c03d195 18:50:21 Step 14/23 : WORKDIR / 18:50:21 ---> Running in 7f2867fe11dd 18:50:22 Removing intermediate container 7f2867fe11dd 18:50:22 ---> adf9de9b5a02 18:50:22 Step 15/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt 18:50:22 ---> 996c01cec7ad 18:50:22 Step 16/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple 18:50:24 ---> 44396b66f645 18:50:24 Step 17/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res 18:50:24 ---> 127e506ff9c5 18:50:24 Step 18/23 : EXPOSE 59999 18:50:25 ---> Running in daa1e5c2b4c9 18:50:25 Removing intermediate container daa1e5c2b4c9 18:50:25 ---> 332209203fec 18:50:25 Step 19/23 : ENTRYPOINT ["/device-simple"] 18:50:25 ---> Running in 3c78bf217c4a 18:50:25 Removing intermediate container 3c78bf217c4a 18:50:25 ---> b464b92e8085 18:50:25 Step 20/23 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] 18:50:26 ---> Running in 0c2002641cea 18:50:26 Removing intermediate container 0c2002641cea 18:50:26 ---> 31333d47f10c 18:50:26 Step 21/23 : LABEL arch=arm64 18:50:26 ---> Running in 8b85b1226c6b 18:50:27 Removing intermediate container 8b85b1226c6b 18:50:27 ---> a466430a99cf 18:50:27 Step 22/23 : LABEL git_sha=0901f1f3cf89eb61204d1bbc8d169a300a21454f 18:50:27 ---> Running in b90d7222aa6e 18:50:28 Removing intermediate container b90d7222aa6e 18:50:28 ---> 671a848a53bf 18:50:28 Step 23/23 : LABEL version=0.0.0 18:50:28 ---> Running in 0caea557cf72 18:50:28 Removing intermediate container 0caea557cf72 18:50:28 ---> 3a1f03427177 18:50:28 [Warning] One or more build-args [ARCH MAKE] were not consumed 18:50:28 Successfully built 3a1f03427177 18:50:28 Successfully tagged 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 18:50:29 ---> job-cost.sh 18:50:29 lf-activate-venv(): INFO: Creating python3 venv at /tmp/venv-FZh7 18:51:11 lf-activate-venv(): INFO: Installing: zipp==1.1.0 python-openstackclient 18:52:33 lf-activate-venv(): INFO: Adding /tmp/venv-FZh7/bin to PATH 18:52:33 INFO: No Stack... 18:52:33 INFO: Retrieving Pricing Info for: v2-standard-4 18:52:33 INFO: Archiving Costs [Pipeline] sh 18:52:33 + cat /w/workspace/device-sdk-go/2/archives/cost.csv 18:52:33 + cut -d, -f6 [Pipeline] lock 18:52:33 Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-PR-955-2-stack-cost] 18:52:33 Resource [jenkins-edgexfoundry-device-sdk-go-PR-955-2-stack-cost] did not exist. Created. 18:52:33 Lock acquired on [jenkins-edgexfoundry-device-sdk-go-PR-955-2-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 18:52:33 /w/workspace/device-sdk-go/2@tmp/durable-d78c4df2/script.sh: 1: /w/workspace/device-sdk-go/2@tmp/durable-d78c4df2/script.sh: Syntax error: Unterminated quoted string [Pipeline] sh 18:52:34 + echo total: 0.18000000715255737 [Pipeline] stash 18:52:34 Warning: overwriting stash ‘stack-cost’ 18:52:34 Stashed 1 file(s) [Pipeline] } 18:52:34 Lock released on resource [jenkins-edgexfoundry-device-sdk-go-PR-955-2-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] configFileProvider 18:52:35 provisioning config files... 18:52:35 copy managed file [device-sdk-go-codecov-token] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-955@tmp/config7931800074556710676tmp [Pipeline] { [Pipeline] sh 18:52:35 + set +x 18:52:35 + bash -s -- 18:52:35 + curl -s https://codecov.io/bash 18:52:35 18:52:35 _____ _ 18:52:35 / ____| | | 18:52:35 | | ___ __| | ___ ___ _____ __ 18:52:35 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 18:52:35 | |___| (_) | (_| | __/ (_| (_) \ V / 18:52:35 \_____\___/ \__,_|\___|\___\___/ \_/ 18:52:35 Bash-1.0.3 18:52:35 18:52:35 18:52:35 ==> git version 2.24.4 found 18:52:35 ==> 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 18:52:35 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtsp scp sftp smtp smtps telnet tftp 18:52:35 Features: AsynchDNS GSS-Negotiate IDN IPv6 Largefile NTLM NTLM_WB SSL libz unix-sockets 18:52:35 ==> Jenkins CI detected. 18:52:35 project root: . 18:52:35 --> token set from env 18:52:35 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 18:52:35 ==> Running gcov in . (disable via -X gcov) 18:52:35 ==> Python coveragepy not found 18:52:35 ==> Searching for coverage reports in: 18:52:35 + . 18:52:35 -> Found 1 reports 18:52:35 ==> Detecting git/mercurial file structure 18:52:35 ==> Reading reports 18:52:35 + ./coverage.out bytes=126071 18:52:35 ==> Appending adjustments 18:52:35 https://docs.codecov.io/docs/fixing-reports 18:52:36 + Found adjustments 18:52:36 ==> Gzipping contents 18:52:36 20K /tmp/codecov.Jn2syA.gz 18:52:36 ==> Uploading reports 18:52:36 url: https://codecov.io 18:52:36 query: branch=PR-955&commit=97670c8b50bcf91fe2678ec198568b5a908f90f5&build=2&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-955%2F2%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=955&job=&cmd_args= 18:52:36 -> Pinging Codecov 18:52:36 https://codecov.io/upload/v4?package=bash-1.0.3&token=secret&branch=PR-955&commit=97670c8b50bcf91fe2678ec198568b5a908f90f5&build=2&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-955%2F2%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=955&job=&cmd_args= 18:52:36 -> Uploading to 18:52:36 https://storage.googleapis.com/codecov/v4/raw/2021-06-08/7E55EF52A471D76F132DFD9A03CDDE97/97670c8b50bcf91fe2678ec198568b5a908f90f5/26f390f7-7d19-4229-93bc-c6f65cf7cca8.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EKKHVKCKHW7KBCGM7IHR55T63V2PAVJWLVFNITJHDU5G6R5IRN3LMWJA%2F20210608%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20210608T185236Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=2672343c2253c354826a59b036b403df40ffb69df3831cdf35935c4a7a4e03ff 18:52:36 % Total % Received % Xferd Average Speed Time Time Time Current 18:52:36 Dload Upload Total Spent Left Speed 18:52:36 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 16430 0 0 100 16430 0 46078 --:--:-- --:--:-- --:--:-- 46151 18:52:36 -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/device-sdk-go/commit/97670c8b50bcf91fe2678ec198568b5a908f90f5 [Pipeline] } 18:52:36 Deleting 1 temporary files [Pipeline] // configFileProvider [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 18:52:40 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 18:52:41 ---> package-listing.sh 18:52:41 ++ facter osfamily 18:52:41 ++ tr '[:upper:]' '[:lower:]' 18:52:41 + OS_FAMILY=redhat 18:52:41 + workspace=/w/workspace/dgexfoundry_device-sdk-go_PR-955 18:52:41 + START_PACKAGES=/tmp/packages_start.txt 18:52:41 + END_PACKAGES=/tmp/packages_end.txt 18:52:41 + DIFF_PACKAGES=/tmp/packages_diff.txt 18:52:41 + PACKAGES=/tmp/packages_start.txt 18:52:41 + '[' /w/workspace/dgexfoundry_device-sdk-go_PR-955 ']' 18:52:41 + PACKAGES=/tmp/packages_end.txt 18:52:41 + case "${OS_FAMILY}" in 18:52:41 + sort 18:52:41 + rpm -qa 18:52:41 + '[' -f /tmp/packages_start.txt ']' 18:52:41 + '[' -f /tmp/packages_end.txt ']' 18:52:41 + diff /tmp/packages_start.txt /tmp/packages_end.txt 18:52:41 + '[' /w/workspace/dgexfoundry_device-sdk-go_PR-955 ']' 18:52:41 + mkdir -p /w/workspace/dgexfoundry_device-sdk-go_PR-955/archives/ 18:52:41 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/dgexfoundry_device-sdk-go_PR-955/archives/ [Pipeline] echo 18:52:42 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-955/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 18:52:42 + facter operatingsystem [Pipeline] isUnix [Pipeline] sh 18:52:42 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 18:52:42 18:52:42 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh 18:52:43 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 18:52:43 alpine: Pulling from edgex-lftools-log-publisher 18:52:43 df20fa9351a1: Pulling fs layer 18:52:43 36b3adc4ff6f: Pulling fs layer 18:52:43 8ad3a11d3b57: Pulling fs layer 18:52:43 46f8f816bc3b: Pulling fs layer 18:52:43 93b61091891f: Pulling fs layer 18:52:43 93b9cdb0e59b: Pulling fs layer 18:52:43 5e14af77c1be: Pulling fs layer 18:52:43 01666e4c0597: Pulling fs layer 18:52:43 aa168da1d23b: Pulling fs layer 18:52:43 46f8f816bc3b: Waiting 18:52:43 93b61091891f: Waiting 18:52:43 93b9cdb0e59b: Waiting 18:52:43 5e14af77c1be: Waiting 18:52:43 01666e4c0597: Waiting 18:52:43 aa168da1d23b: Waiting 18:52:43 36b3adc4ff6f: Verifying Checksum 18:52:43 36b3adc4ff6f: Download complete 18:52:43 46f8f816bc3b: Verifying Checksum 18:52:43 46f8f816bc3b: Download complete 18:52:43 8ad3a11d3b57: Verifying Checksum 18:52:43 8ad3a11d3b57: Download complete 18:52:43 93b9cdb0e59b: Download complete 18:52:43 5e14af77c1be: Verifying Checksum 18:52:43 5e14af77c1be: Download complete 18:52:43 01666e4c0597: Verifying Checksum 18:52:43 01666e4c0597: Download complete 18:52:44 df20fa9351a1: Verifying Checksum 18:52:44 df20fa9351a1: Download complete 18:52:44 df20fa9351a1: Pull complete 18:52:44 36b3adc4ff6f: Pull complete 18:52:44 93b61091891f: Verifying Checksum 18:52:44 93b61091891f: Download complete 18:52:44 8ad3a11d3b57: Pull complete 18:52:44 46f8f816bc3b: Pull complete 18:52:45 93b61091891f: Pull complete 18:52:45 93b9cdb0e59b: Pull complete 18:52:45 5e14af77c1be: Pull complete 18:52:45 01666e4c0597: Pull complete 18:52:45 aa168da1d23b: Verifying Checksum 18:52:45 aa168da1d23b: Download complete 18:52:49 aa168da1d23b: Pull complete 18:52:49 Digest: sha256:ac41798234670a79351fc13b8232b4dbeccc6fb1f122f5db5169d11b1762ca7c 18:52:49 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 18:52:49 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer 18:52:49 prd-centos7-docker-4c-2g-967 does not seem to be running inside a container 18:52:49 $ 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-955/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-955 -v /w/workspace/dgexfoundry_device-sdk-go_PR-955:/w/workspace/dgexfoundry_device-sdk-go_PR-955:rw,z -v /w/workspace/dgexfoundry_device-sdk-go_PR-955@tmp:/w/workspace/dgexfoundry_device-sdk-go_PR-955@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine cat 18:52:52 $ docker top c34aef22d87aca578b72e7371b1aeeaaca6e38b658c7953e8ee0235bc8267187 -eo pid,comm [Pipeline] { [Pipeline] sh 18:52:53 + touch /tmp/pre-build-complete [Pipeline] sh 18:52:53 + mkdir -p /var/log/sa [Pipeline] sh 18:52:53 + ls /var/log/sa-host 18:52:53 + sadf -c /var/log/sa-host/sa05 18:52:53 file_magic: OK 18:52:53 HZ: Using current value: 100 18:52:53 file_header: OK 18:52:53 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 18:52:53 Statistics: 18:52:53 Hnuu...uuuununununu...Hnuu...uuuununununu... 18:52:53 File successfully converted to sysstat format version 12.2.1 18:52:53 + sadf -c /var/log/sa-host/sa08 18:52:53 file_magic: OK 18:52:53 HZ: Using current value: 100 18:52:53 file_header: OK 18:52:53 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 18:52:53 Statistics: 18:52:53 HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... 18:52:53 File successfully converted to sysstat format version 12.2.1 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 18:52:54 provisioning config files... 18:52:54 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-955@tmp/config3314746196656662816tmp [Pipeline] { [Pipeline] echo 18:52:54 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 18:52:54 ---> create-netrc.sh [Pipeline] } 18:52:54 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 18:52:54 ---> python-tools-install.sh [Pipeline] echo 18:52:54 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 18:52:55 ---> sudo-logs.sh 18:52:55 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 18:52:55 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 18:52:55 ---> job-cost.sh 18:52:55 lf-activate-venv: SKIPPING 18:52:55 DEBUG: total: 0.18000000715255737 18:52:55 INFO: Retrieving Stack Cost... 18:52:56 INFO: Retrieving Pricing Info for: v3-standard-2 18:52:57 INFO: Archiving Costs [Pipeline] echo 18:52:57 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 18:52:57 ---> logs-deploy.sh 18:52:57 lf-activate-venv: SKIPPING 18:52:57 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-955/2 18:52:57 INFO: archiving workspace using pattern(s): 18:52:58 Archives upload complete. 18:52:58 INFO: archiving logs to Nexus