Pull request #922 updated Connecting to https://api.github.com using edgex-jenkins/****** (edgex-jenkins github personal access token) Connecting to https://api.github.com to check permissions of obtain list of lenny-intel for edgexfoundry/device-sdk-go Obtained Jenkinsfile from a2450f29224d09b4bc13a7c374e9a6562345f657+889e38f586d888c0021f1798e3d6b8462ec57b6f (bb1eb1c10ae459badfee41aae8e21008564832f5) Running in Durability level: PERFORMANCE_OPTIMIZED Loading library edgex-global-pipelines@stable Attempting to resolve stable from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 9d0281235b943b7ad605f650702698f9078b2862 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 9d0281235b943b7ad605f650702698f9078b2862 using credential edgex-jenkins-ssh > git rev-parse --is-inside-work-tree # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching with tags Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 9d0281235b943b7ad605f650702698f9078b2862 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 9d0281235b943b7ad605f650702698f9078b2862 # timeout=10 Commit message: "Merge pull request #315 from ernestojeda/rename-docker-images-again" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:edgexfoundry/edgex-global-pipelines.git so that shared library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. Loading library lf-pipelines@master Attempting to resolve master from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision 46d8313d362d7075c0f562900eedc504c24ea18a using credential edgex-jenkins-ssh > git rev-parse --is-inside-work-tree # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 Fetching without tags Fetching upstream changes from git@github.com:lfit/releng-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision 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 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 All nodes of label ‘centos7-docker-4c-2g’ are offline Running on prd-centos7-docker-4c-2g-4550 in /w/workspace/dgexfoundry_device-sdk-go_PR-922 [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-922 # 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 889e38f586d888c0021f1798e3d6b8462ec57b6f into PR head commit a2450f29224d09b4bc13a7c374e9a6562345f657 Merge succeeded, producing a2450f29224d09b4bc13a7c374e9a6562345f657 Checking out Revision a2450f29224d09b4bc13a7c374e9a6562345f657 (PR-922) > 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/922/head:refs/remotes/origin/PR-922 +refs/heads/master:refs/remotes/origin/master # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f a2450f29224d09b4bc13a7c374e9a6562345f657 # 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 889e38f586d888c0021f1798e3d6b8462ec57b6f # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f a2450f29224d09b4bc13a7c374e9a6562345f657 # timeout=10 Commit message: "refactor: Rework Messaging bootstrap handler for removal of shared handler" First time build. Skipping changelog. [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 17:49:22 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 17:49:22 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 17:49:22 ========================================================= 17:49:22 EdgeX Global Pipelines Version Info 17:49:22 ========================================================= [Pipeline] libraryResource [Pipeline] sh > git rev-list --no-walk 0734cdd67020a84f1ea440a79efb13ec8583638f # timeout=10 17:49:26 ------------------- 17:49:26 stable info: 17:49:26 ------------------- 17:49:26 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 17:49:26 Commit SHA: 9d0281235b943b7ad605f650702698f9078b2862 17:49:26 Message: update stable to v1.0.192 17:49:26 ------------------- 17:49:26 experimental info: 17:49:26 ------------------- 17:49:26 Commited By: **** collab-it+edgex@linuxfoundation.org 17:49:26 Commit SHA: 9d0281235b943b7ad605f650702698f9078b2862 17:49:26 Message: update experimental to v1.0.192 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 17:49:27 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-go-settings [Pipeline] echo 17:49:27 [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-go [Pipeline] echo 17:49:27 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 17:49:27 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 17:49:27 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 17:49:27 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.16 [Pipeline] echo 17:49:27 [edgeXSetupEnvironment]: set envvar GOPROXY = https://nexus3.edgexfoundry.org/repository/go-proxy/ [Pipeline] echo 17:49:27 [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine [Pipeline] echo 17:49:27 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = example/cmd/device-simple/Dockerfile [Pipeline] echo 17:49:27 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 17:49:27 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 17:49:27 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-sdk-simple [Pipeline] echo 17:49:27 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 17:49:27 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 17:49:27 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 17:49:27 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo 17:49:27 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 17:49:27 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 17:49:27 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 17:49:27 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 17:49:27 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo 17:49:27 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 openapi/v2 [Pipeline] echo 17:49:27 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 17:49:27 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 17:49:27 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 17:49:27 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 17:49:27 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-922 [Pipeline] echo 17:49:27 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-922 [Pipeline] echo 17:49:27 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-922 [Pipeline] echo 17:49:27 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = a2450f29224d09b4bc13a7c374e9a6562345f657 [Pipeline] echo 17:49:27 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = a2450f2 [Pipeline] echo 17:49:27 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] wrap 17:49:28 provisioning config files... 17:49:28 copy managed file [device-sdk-go-settings] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-922@tmp/config1704621345734905830tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 17:49:28 ---> docker-login.sh 17:49:28 nexus3.edgexfoundry.org:10001 17:49:29 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:49:29 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:49:29 Configure a credential helper to remove this warning. See 17:49:29 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:49:29 17:49:29 Login Succeeded 17:49:29 nexus3.edgexfoundry.org:10002 17:49:29 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:49:30 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:49:30 Configure a credential helper to remove this warning. See 17:49:30 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:49:30 17:49:30 Login Succeeded 17:49:30 nexus3.edgexfoundry.org:10003 17:49:30 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:49:30 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:49:30 Configure a credential helper to remove this warning. See 17:49:30 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:49:30 17:49:30 Login Succeeded 17:49:30 nexus3.edgexfoundry.org:10004 17:49:30 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:49:30 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:49:30 Configure a credential helper to remove this warning. See 17:49:30 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:49:30 17:49:30 Login Succeeded 17:49:30 docker.io 17:49:30 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:49:31 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:49:31 Configure a credential helper to remove this warning. See 17:49:31 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:49:31 17:49:31 Login Succeeded 17:49:31 ---> docker-login.sh ends [Pipeline] } 17:49:31 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 17:49:31 + git log --format=format:%s -1 a2450f29224d09b4bc13a7c374e9a6562345f657 [Pipeline] echo 17:49:32 GIT_COMMIT: a2450f29224d09b4bc13a7c374e9a6562345f657, Commit Message: refactor: Rework Messaging bootstrap handler for removal of shared handler [Pipeline] echo 17:49:32 This is not a build commit. [Pipeline] isUnix [Pipeline] sh 17:49:33 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 17:49:33 17:49:33 Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh 17:49:33 + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 17:49:33 latest: Pulling from edgex-devops/git-semver 17:49:33 31603596830f: Pulling fs layer 17:49:33 54011a49482f: Pulling fs layer 17:49:33 a6820b24f6d8: Pulling fs layer 17:49:33 f581987b2513: Pulling fs layer 17:49:33 f581987b2513: Waiting 17:49:33 54011a49482f: Verifying Checksum 17:49:33 54011a49482f: Download complete 17:49:33 31603596830f: Verifying Checksum 17:49:33 31603596830f: Download complete 17:49:34 a6820b24f6d8: Verifying Checksum 17:49:34 a6820b24f6d8: Download complete 17:49:34 f581987b2513: Verifying Checksum 17:49:34 f581987b2513: Download complete 17:49:34 31603596830f: Pull complete 17:49:34 54011a49482f: Pull complete 17:49:35 a6820b24f6d8: Pull complete 17:49:35 f581987b2513: Pull complete 17:49:35 Digest: sha256:772af3cb61214e5a22880db9bb273bb039d0aa3a8f4edfa0c1def8b4e20ea536 17:49:35 Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 17:49:35 nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer 17:49:35 prd-centos7-docker-4c-2g-4550 does not seem to be running inside a container 17:49:36 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/dgexfoundry_device-sdk-go_PR-922 -v /w/workspace/dgexfoundry_device-sdk-go_PR-922:/w/workspace/dgexfoundry_device-sdk-go_PR-922:rw,z -v /w/workspace/dgexfoundry_device-sdk-go_PR-922@tmp:/w/workspace/dgexfoundry_device-sdk-go_PR-922@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 ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat 17:49:38 $ docker top 1db08173b2ff4d24737c3b5e8728402b1b4c701a58be3780ae1ceb0ad96c3045 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 17:49:38 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 17:49:38 [ssh-agent] Looking for ssh-agent implementation... 17:49:39 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 17:49:39 $ docker exec 1db08173b2ff4d24737c3b5e8728402b1b4c701a58be3780ae1ceb0ad96c3045 ssh-agent 17:49:39 SSH_AUTH_SOCK=/tmp/ssh-7OvBEi6Njvxm/agent.12 17:49:39 SSH_AGENT_PID=18 17:49:39 Running ssh-add (command line suppressed) 17:49:39 Identity added: /w/workspace/dgexfoundry_device-sdk-go_PR-922@tmp/private_key_1201508147228756293.key (/w/workspace/dgexfoundry_device-sdk-go_PR-922@tmp/private_key_1201508147228756293.key) 17:49:39 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 17:49:40 + git tag --points-at HEAD [Pipeline] } 17:49:40 $ docker exec --env ******** --env ******** 1db08173b2ff4d24737c3b5e8728402b1b4c701a58be3780ae1ceb0ad96c3045 ssh-agent -k 17:49:40 unset SSH_AUTH_SOCK; 17:49:40 unset SSH_AGENT_PID; 17:49:40 echo Agent pid 18 killed; 17:49:40 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 17:49:40 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 17:49:40 [ssh-agent] Looking for ssh-agent implementation... 17:49:40 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 17:49:40 $ docker exec 1db08173b2ff4d24737c3b5e8728402b1b4c701a58be3780ae1ceb0ad96c3045 ssh-agent 17:49:40 SSH_AUTH_SOCK=/tmp/ssh-cm2Ovzg0cfF6/agent.48 17:49:40 SSH_AGENT_PID=54 17:49:40 Running ssh-add (command line suppressed) 17:49:41 Identity added: /w/workspace/dgexfoundry_device-sdk-go_PR-922@tmp/private_key_7369093290374221595.key (/w/workspace/dgexfoundry_device-sdk-go_PR-922@tmp/private_key_7369093290374221595.key) 17:49:41 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 17:49:41 + git semver init 17:49:41 # -> Open(): unable to determine branch for HEAD 17:49:41 # $GIT_DIR = /w/workspace/dgexfoundry_device-sdk-go_PR-922/.git 17:49:41 # $GIT_WORK_TREE = /w/workspace/dgexfoundry_device-sdk-go_PR-922 17:49:41 # $SEMVER_REMOTE_NAME = origin 17:49:41 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 17:49:41 # $SEMVER_USER_NAME = edgex-jenkins 17:49:41 # $SEMVER_BRANCH = PR-922 17:49:41 # $SEMVER_TEMP = /tmp/semver-149225864 17:49:41 # git clone --branch semver git@github.com:edgexfoundry/device-sdk-go.git $SEMVER_TEMP 17:49:42 # '/tmp/semver-149225864' -> '/w/workspace/dgexfoundry_device-sdk-go_PR-922/.semver' 17:49:42 # -> Force: false 17:49:42 # $SEMVER_DIR = /w/workspace/dgexfoundry_device-sdk-go_PR-922/.semver [Pipeline] } 17:49:42 $ docker exec --env ******** --env ******** 1db08173b2ff4d24737c3b5e8728402b1b4c701a58be3780ae1ceb0ad96c3045 ssh-agent -k 17:49:42 unset SSH_AUTH_SOCK; 17:49:42 unset SSH_AGENT_PID; 17:49:42 echo Agent pid 54 killed; 17:49:43 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 17:49:43 + git semver [Pipeline] } 17:49:43 $ docker stop --time=1 1db08173b2ff4d24737c3b5e8728402b1b4c701a58be3780ae1ceb0ad96c3045 17:49:45 $ docker rm -f 1db08173b2ff4d24737c3b5e8728402b1b4c701a58be3780ae1ceb0ad96c3045 [Pipeline] // withDockerContainer [Pipeline] sh 17:49:46 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 17:49:46 Stashed 1 file(s) [Pipeline] echo 17:49:46 [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 17:50:01 Still waiting to schedule task 17:50:01 Waiting for next available executor on ‘prd-centos7-docker-4c-2g-4550’ 17:50:01 Still waiting to schedule task 17:50:01 ‘prd-ubuntu18.04-docker-arm64-4c-16g-3702’ is offline 17:51:51 Running on prd-ubuntu18.04-docker-arm64-4c-16g-4551 in /w/workspace/dgexfoundry_device-sdk-go_PR-922 [Pipeline] { [Pipeline] ws 17:51:51 Running in /w/workspace/device-sdk-go/3 [Pipeline] { [Pipeline] checkout 17:51:57 using credential edgex-jenkins-ssh 17:51:57 Cloning the remote Git repository 17:51:57 Cloning repository git@github.com:edgexfoundry/device-sdk-go.git 17:51:57 > git init /w/workspace/device-sdk-go/3 # timeout=10 17:51:57 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 17:51:57 > git --version # timeout=10 17:51:57 > git --version # 'git version 2.17.1' 17:51:57 using GIT_SSH to set credentials SSH Credentials for GitHub 17:51:57 > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 17:51:58 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 17:51:58 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 17:51:58 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 17:51:58 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 17:51:58 using GIT_SSH to set credentials SSH Credentials for GitHub 17:51:58 > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/922/head:refs/remotes/origin/PR-922 +refs/heads/master:refs/remotes/origin/master # timeout=10 17:51:59 Merging remotes/origin/master commit 889e38f586d888c0021f1798e3d6b8462ec57b6f into PR head commit a2450f29224d09b4bc13a7c374e9a6562345f657 17:51:59 Merge succeeded, producing a2450f29224d09b4bc13a7c374e9a6562345f657 17:51:59 Checking out Revision a2450f29224d09b4bc13a7c374e9a6562345f657 (PR-922) 17:51:59 > git config core.sparsecheckout # timeout=10 17:51:59 > git checkout -f a2450f29224d09b4bc13a7c374e9a6562345f657 # timeout=10 17:51:59 > git remote # timeout=10 17:51:59 > git config --get remote.origin.url # timeout=10 17:51:59 using GIT_SSH to set credentials SSH Credentials for GitHub 17:51:59 > git merge 889e38f586d888c0021f1798e3d6b8462ec57b6f # timeout=10 17:51:59 > git rev-parse HEAD^{commit} # timeout=10 17:51:59 > git config core.sparsecheckout # timeout=10 17:51:59 > git checkout -f a2450f29224d09b4bc13a7c374e9a6562345f657 # timeout=10 17:52:04 Commit message: "refactor: Rework Messaging bootstrap handler for removal of shared handler" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 17:52:05 + sudo jq . + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false} /etc/docker/daemon.json [Pipeline] sh 17:52:06 + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh 17:52:06 + + sudo servicetrue docker 17:52:06 restart [Pipeline] withEnv [Pipeline] { [Pipeline] wrap 17:52:09 provisioning config files... 17:52:09 copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/3@tmp/config3352069363070674254tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 17:52:09 ---> docker-login.sh 17:52:09 nexus3.edgexfoundry.org:10001 17:52:10 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:52:10 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:52:10 Configure a credential helper to remove this warning. See 17:52:10 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:52:10 17:52:10 Login Succeeded 17:52:10 nexus3.edgexfoundry.org:10002 17:52:11 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:52:11 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:52:11 Configure a credential helper to remove this warning. See 17:52:11 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:52:11 17:52:11 Login Succeeded 17:52:11 nexus3.edgexfoundry.org:10003 17:52:11 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:52:11 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:52:11 Configure a credential helper to remove this warning. See 17:52:11 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:52:11 17:52:11 Login Succeeded 17:52:11 nexus3.edgexfoundry.org:10004 17:52:12 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:52:12 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:52:12 Configure a credential helper to remove this warning. See 17:52:12 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:52:12 17:52:12 Login Succeeded 17:52:12 docker.io 17:52:12 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:52:13 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:52:13 Configure a credential helper to remove this warning. See 17:52:13 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:52:13 17:52:13 Login Succeeded 17:52:13 ---> docker-login.sh ends [Pipeline] } 17:52:13 Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 17:52:13 ========================================================= 17:52:13 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine] 17:52:13 ========================================================= [Pipeline] isUnix [Pipeline] sh 17:52:14 + 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 . 17:52:14 Sending build context to Docker daemon 2.582MB 17:52:14 Step 1/8 : ARG BASE=golang:1.16-alpine3.12 17:52:14 Step 2/8 : FROM ${BASE} 17:52:14 1.16-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 17:52:14 595b0fe564bb: Pulling fs layer 17:52:14 7186ed65a4f7: Pulling fs layer 17:52:14 316046926c0a: Pulling fs layer 17:52:14 4ebd0625c992: Pulling fs layer 17:52:14 207e8628e3a3: Pulling fs layer 17:52:14 c791037a9be2: Pulling fs layer 17:52:14 ffd874e62e21: Pulling fs layer 17:52:14 4ebd0625c992: Waiting 17:52:14 207e8628e3a3: Waiting 17:52:14 c791037a9be2: Waiting 17:52:14 316046926c0a: Download complete 17:52:14 7186ed65a4f7: Download complete 17:52:14 207e8628e3a3: Verifying Checksum 17:52:14 207e8628e3a3: Download complete 17:52:14 c791037a9be2: Download complete 17:52:14 595b0fe564bb: Verifying Checksum 17:52:14 595b0fe564bb: Download complete 17:52:15 595b0fe564bb: Pull complete 17:52:15 7186ed65a4f7: Pull complete 17:52:16 316046926c0a: Pull complete 17:52:17 ffd874e62e21: Verifying Checksum 17:52:17 ffd874e62e21: Download complete 17:52:18 4ebd0625c992: Verifying Checksum 17:52:18 4ebd0625c992: Download complete 17:52:30 4ebd0625c992: Pull complete 17:52:30 207e8628e3a3: Pull complete 17:52:30 c791037a9be2: Pull complete 17:52:33 ffd874e62e21: Pull complete 17:52:33 Digest: sha256:fad7b58e697bd06bcf362d803a3263ca5ec03b905aa8665231fe3262941fe3e0 17:52:33 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine 17:52:33 ---> cfc18b08335c 17:52:33 Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 17:52:35 ---> Running in 718230f8874d 17:52:36 Removing intermediate container 718230f8874d 17:52:36 ---> bc24f7aade92 17:52:36 Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 17:52:36 ---> Running in b925f69e7f2e 17:52:39 Removing intermediate container b925f69e7f2e 17:52:39 ---> f49e7ed10da6 17:52:39 Step 5/8 : RUN apk add --update --no-cache make git gcc libc-dev libsodium-dev zeromq-dev 17:52:39 ---> Running in d4313c30cbf8 17:52:40 fetch https://nl.alpinelinux.org/alpine/v3.13/main/aarch64/APKINDEX.tar.gz 17:52:41 fetch https://nl.alpinelinux.org/alpine/v3.13/community/aarch64/APKINDEX.tar.gz 17:52:42 (1/6) Installing libc-dev (0.7.2-r3) 17:52:42 (2/6) Installing libsodium (1.0.18-r0) 17:52:42 (3/6) Installing pkgconf (1.7.3-r0) 17:52:42 (4/6) Installing libsodium-dev (1.0.18-r0) 17:52:42 (5/6) Installing libzmq (4.3.3-r1) 17:52:42 (6/6) Installing zeromq-dev (4.3.3-r1) 17:52:42 Executing busybox-1.32.1-r6.trigger 17:52:42 OK: 139 MiB in 46 packages 17:52:44 Removing intermediate container d4313c30cbf8 17:52:44 ---> a4488b526103 17:52:44 Step 6/8 : WORKDIR /device-sdk-go 17:52:44 ---> Running in bc854026af04 17:52:44 Removing intermediate container bc854026af04 17:52:44 ---> 5a2f9c4002ba 17:52:44 Step 7/8 : COPY . . 17:52:46 ---> 8793be71c575 17:52:46 Step 8/8 : RUN go mod download 17:52:46 ---> Running in 83aee151ff88 17:52:56 Running on prd-centos7-docker-4c-2g-4552 in /w/workspace/dgexfoundry_device-sdk-go_PR-922 [Pipeline] { [Pipeline] ws 17:52:56 Running in /w/workspace/device-sdk-go/3 [Pipeline] { [Pipeline] checkout 17:53:00 using credential edgex-jenkins-ssh 17:53:00 Cloning the remote Git repository 17:53:00 Cloning repository git@github.com:edgexfoundry/device-sdk-go.git 17:53:00 > git init /w/workspace/device-sdk-go/3 # timeout=10 17:53:00 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 17:53:00 > git --version # timeout=10 17:53:00 > git --version # 'git version 2.24.3' 17:53:00 using GIT_SSH to set credentials SSH Credentials for GitHub 17:53:00 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 17:53:01 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 17:53:01 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 17:53:01 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 17:53:01 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 17:53:01 using GIT_SSH to set credentials SSH Credentials for GitHub 17:53:01 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/922/head:refs/remotes/origin/PR-922 +refs/heads/master:refs/remotes/origin/master # timeout=10 17:53:03 Merging remotes/origin/master commit 889e38f586d888c0021f1798e3d6b8462ec57b6f into PR head commit a2450f29224d09b4bc13a7c374e9a6562345f657 17:53:03 Merge succeeded, producing a2450f29224d09b4bc13a7c374e9a6562345f657 17:53:03 Checking out Revision a2450f29224d09b4bc13a7c374e9a6562345f657 (PR-922) 17:53:03 > git config core.sparsecheckout # timeout=10 17:53:03 > git checkout -f a2450f29224d09b4bc13a7c374e9a6562345f657 # timeout=10 17:53:03 > git remote # timeout=10 17:53:03 > git config --get remote.origin.url # timeout=10 17:53:03 using GIT_SSH to set credentials SSH Credentials for GitHub 17:53:03 > git merge 889e38f586d888c0021f1798e3d6b8462ec57b6f # timeout=10 17:53:03 > git rev-parse HEAD^{commit} # timeout=10 17:53:03 > git config core.sparsecheckout # timeout=10 17:53:03 > git checkout -f a2450f29224d09b4bc13a7c374e9a6562345f657 # timeout=10 17:53:07 Commit message: "refactor: Rework Messaging bootstrap handler for removal of shared handler" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 17:53:08 + sudo jq '. + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false}' /etc/docker/daemon.json [Pipeline] sh 17:53:08 + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh 17:53:09 + sudo service docker restart 17:53:09 + true 17:53:09 Redirecting to /bin/systemctl restart docker.service [Pipeline] withEnv [Pipeline] { [Pipeline] wrap 17:53:10 provisioning config files... 17:53:10 copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/3@tmp/config3559125330158750838tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 17:53:10 ---> docker-login.sh 17:53:10 nexus3.edgexfoundry.org:10001 17:53:11 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:53:11 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:53:11 Configure a credential helper to remove this warning. See 17:53:11 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:53:11 17:53:11 Login Succeeded 17:53:11 nexus3.edgexfoundry.org:10002 17:53:11 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:53:11 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:53:11 Configure a credential helper to remove this warning. See 17:53:11 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:53:11 17:53:11 Login Succeeded 17:53:11 nexus3.edgexfoundry.org:10003 17:53:12 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:53:12 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:53:12 Configure a credential helper to remove this warning. See 17:53:12 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:53:12 17:53:12 Login Succeeded 17:53:12 nexus3.edgexfoundry.org:10004 17:53:12 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:53:12 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:53:12 Configure a credential helper to remove this warning. See 17:53:12 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:53:12 17:53:12 Login Succeeded 17:53:12 docker.io 17:53:13 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:53:13 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:53:13 Configure a credential helper to remove this warning. See 17:53:13 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:53:13 17:53:13 Login Succeeded 17:53:13 ---> docker-login.sh ends [Pipeline] } 17:53:13 Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 17:53:13 ========================================================= 17:53:13 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine] 17:53:13 ========================================================= [Pipeline] isUnix [Pipeline] sh 17:53: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 . 17:53:14 Sending build context to Docker daemon 2.583MB 17:53:14 Step 1/8 : ARG BASE=golang:1.16-alpine3.12 17:53:14 Step 2/8 : FROM ${BASE} 17:53:14 1.16-alpine: Pulling from edgex-devops/edgex-golang-base 17:53:14 540db60ca938: Pulling fs layer 17:53:14 adcc1eea9eea: Pulling fs layer 17:53:14 4c4ab2625f07: Pulling fs layer 17:53:14 0510c868ecb4: Pulling fs layer 17:53:14 afea3b2eda06: Pulling fs layer 17:53:14 7809a108b3ef: Pulling fs layer 17:53:14 f706445af74f: Pulling fs layer 17:53:14 0510c868ecb4: Waiting 17:53:14 afea3b2eda06: Waiting 17:53:14 7809a108b3ef: Waiting 17:53:14 f706445af74f: Waiting 17:53:14 4c4ab2625f07: Verifying Checksum 17:53:14 4c4ab2625f07: Download complete 17:53:14 adcc1eea9eea: Verifying Checksum 17:53:14 adcc1eea9eea: Download complete 17:53:14 afea3b2eda06: Verifying Checksum 17:53:14 afea3b2eda06: Download complete 17:53:14 7809a108b3ef: Verifying Checksum 17:53:14 7809a108b3ef: Download complete 17:53:14 540db60ca938: Verifying Checksum 17:53:14 540db60ca938: Download complete 17:53:15 540db60ca938: Pull complete 17:53:15 adcc1eea9eea: Pull complete 17:53:15 4c4ab2625f07: Pull complete 17:53:16 f706445af74f: Verifying Checksum 17:53:16 f706445af74f: Download complete 17:53:18 0510c868ecb4: Verifying Checksum 17:53:18 0510c868ecb4: Download complete 17:53:18 Removing intermediate container 83aee151ff88 17:53:18 ---> 95c9cf30c562 17:53:18 Successfully built 95c9cf30c562 17:53:18 Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh 17:53:18 + docker inspect -f . ci-base-image-arm64 17:53:18 . [Pipeline] withDockerContainer 17:53:19 prd-ubuntu18.04-docker-arm64-4c-16g-4551 does not seem to be running inside a container 17:53:19 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/3 -v /w/workspace/device-sdk-go/3:/w/workspace/device-sdk-go/3:rw,z -v /w/workspace/device-sdk-go/3@tmp:/w/workspace/device-sdk-go/3@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 ******** -e ******** ci-base-image-arm64 cat 17:53:20 $ docker top 96f84e54bac47147d7a9ae01a9e1402372a3b3b3c4b45672a0b51b631e7c486b -eo pid,comm [Pipeline] { [Pipeline] sh 17:53:21 + go version 17:53:21 go version go1.16.3 linux/arm64 [Pipeline] } 17:53:21 $ docker stop --time=1 96f84e54bac47147d7a9ae01a9e1402372a3b3b3c4b45672a0b51b631e7c486b 17:53:23 $ docker rm -f 96f84e54bac47147d7a9ae01a9e1402372a3b3b3c4b45672a0b51b631e7c486b [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 17:53:24 + docker inspect -f . ci-base-image-arm64 17:53:24 . [Pipeline] withDockerContainer 17:53:24 prd-ubuntu18.04-docker-arm64-4c-16g-4551 does not seem to be running inside a container 17:53:24 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/3 -v /w/workspace/device-sdk-go/3:/w/workspace/device-sdk-go/3:rw,z -v /w/workspace/device-sdk-go/3@tmp:/w/workspace/device-sdk-go/3@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 ******** -e ******** ci-base-image-arm64 cat 17:53:24 0510c868ecb4: Pull complete 17:53:25 afea3b2eda06: Pull complete 17:53:25 7809a108b3ef: Pull complete 17:53:26 $ docker top 711bc783830faac61b0ede5f480f6e01711a515265e30f4c1787a3b7b0c50392 -eo pid,comm [Pipeline] { [Pipeline] sh 17:53:27 + go mod tidy [Pipeline] sh 17:53:28 + make test 17:53:28 GO111MODULE=on go test -race -coverprofile=coverage.out ./... 17:53:30 f706445af74f: Pull complete 17:53:30 Digest: sha256:3789524f83b4b99ff44900c39f6da7fc44f99660cd9adf292610dec398b137f4 17:53:30 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine 17:53:30 ---> b068be0155e3 17:53:30 Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 17:53:30 ---> Running in c88c7eeca69a 17:53:30 Removing intermediate container c88c7eeca69a 17:53:30 ---> 629133dadf35 17:53:30 Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 17:53:30 ---> Running in 08768815a386 17:53:32 Removing intermediate container 08768815a386 17:53:32 ---> 86e738644b06 17:53:32 Step 5/8 : RUN apk add --update --no-cache make git gcc libc-dev libsodium-dev zeromq-dev 17:53:32 ---> Running in aa0586d676ac 17:53:33 fetch https://nl.alpinelinux.org/alpine/v3.13/main/x86_64/APKINDEX.tar.gz 17:53:34 fetch https://nl.alpinelinux.org/alpine/v3.13/community/x86_64/APKINDEX.tar.gz 17:53:34 (1/6) Installing libc-dev (0.7.2-r3) 17:53:34 (2/6) Installing libsodium (1.0.18-r0) 17:53:34 (3/6) Installing pkgconf (1.7.3-r0) 17:53:34 (4/6) Installing libsodium-dev (1.0.18-r0) 17:53:34 (5/6) Installing libzmq (4.3.3-r1) 17:53:34 (6/6) Installing zeromq-dev (4.3.3-r1) 17:53:35 Executing busybox-1.32.1-r6.trigger 17:53:35 OK: 150 MiB in 46 packages 17:53:35 Removing intermediate container aa0586d676ac 17:53:35 ---> b0774b2d9006 17:53:35 Step 6/8 : WORKDIR /device-sdk-go 17:53:35 ---> Running in a22226b4f6c1 17:53:35 Removing intermediate container a22226b4f6c1 17:53:35 ---> 89f05dd18443 17:53:35 Step 7/8 : COPY . . 17:53:36 ---> e4b3f888a277 17:53:36 Step 8/8 : RUN go mod download 17:53:37 ---> Running in 3231d42ccbb9 17:53:55 ? github.com/edgexfoundry/device-sdk-go/v2 [no test files] 17:54:04 Removing intermediate container 3231d42ccbb9 17:54:04 ---> e3de64b3986a 17:54:04 Successfully built e3de64b3986a 17:54:04 Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh 17:54:04 + docker inspect -f . ci-base-image-x86_64 17:54:04 . [Pipeline] withDockerContainer 17:54:05 prd-centos7-docker-4c-2g-4552 does not seem to be running inside a container 17:54:05 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/3 -v /w/workspace/device-sdk-go/3:/w/workspace/device-sdk-go/3:rw,z -v /w/workspace/device-sdk-go/3@tmp:/w/workspace/device-sdk-go/3@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 ******** -e ******** ci-base-image-x86_64 cat 17:54:07 $ docker top 1a9e2cded48a5014aff7a06e0d2ff12f066b3474b58cd8ba8a83eaea95a2d4c2 -eo pid,comm [Pipeline] { [Pipeline] sh 17:54:08 + go version 17:54:08 go version go1.16.3 linux/amd64 [Pipeline] } 17:54:08 $ docker stop --time=1 1a9e2cded48a5014aff7a06e0d2ff12f066b3474b58cd8ba8a83eaea95a2d4c2 17:54:10 $ docker rm -f 1a9e2cded48a5014aff7a06e0d2ff12f066b3474b58cd8ba8a83eaea95a2d4c2 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 17:54:10 + docker inspect -f . ci-base-image-x86_64 17:54:10 . [Pipeline] withDockerContainer 17:54:11 prd-centos7-docker-4c-2g-4552 does not seem to be running inside a container 17:54:11 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/3 -v /w/workspace/device-sdk-go/3:/w/workspace/device-sdk-go/3:rw,z -v /w/workspace/device-sdk-go/3@tmp:/w/workspace/device-sdk-go/3@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 ******** -e ******** ci-base-image-x86_64 cat 17:54:12 $ docker top c9001438794db3c64151ad230cd199c48ae9bd23a6cef1d5516525754a0987cf -eo pid,comm [Pipeline] { [Pipeline] sh 17:54:13 + go mod tidy [Pipeline] sh 17:54:14 + make test 17:54:14 GO111MODULE=on go test -race -coverprofile=coverage.out ./... 17:54:27 ? github.com/edgexfoundry/device-sdk-go/v2 [no test files] 17:54:51 ? github.com/edgexfoundry/device-sdk-go/v2/example/cmd/device-simple [no test files] 17:54:51 ? github.com/edgexfoundry/device-sdk-go/v2/example/config [no test files] 17:54:51 ? github.com/edgexfoundry/device-sdk-go/v2/example/driver [no test files] 17:55:00 ? github.com/edgexfoundry/device-sdk-go/v2/example/cmd/device-simple [no test files] 17:55:00 ? github.com/edgexfoundry/device-sdk-go/v2/example/config [no test files] 17:55:00 ? github.com/edgexfoundry/device-sdk-go/v2/example/driver [no test files] 17:55:02 ok github.com/edgexfoundry/device-sdk-go/v2/internal/application 0.107s coverage: 25.4% of statements 17:55:02 ? github.com/edgexfoundry/device-sdk-go/v2/internal/autodiscovery [no test files] 17:55:02 ok github.com/edgexfoundry/device-sdk-go/v2/internal/autoevent 0.113s coverage: 28.1% of statements 17:55:02 ok github.com/edgexfoundry/device-sdk-go/v2/internal/cache 0.093s coverage: 78.9% of statements 17:55:02 ok github.com/edgexfoundry/device-sdk-go/v2/internal/clients 1.120s coverage: 10.7% of statements 17:55:02 ? github.com/edgexfoundry/device-sdk-go/v2/internal/common [no test files] 17:55:02 ? github.com/edgexfoundry/device-sdk-go/v2/internal/config [no test files] 17:55:02 ? github.com/edgexfoundry/device-sdk-go/v2/internal/container [no test files] 17:55:04 ok github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http 0.110s coverage: 30.2% of statements 17:55:04 ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http/correlation [no test files] 17:55:06 ok github.com/edgexfoundry/device-sdk-go/v2/internal/messaging 1.113s coverage: 83.3% of statements 17:55:06 ? github.com/edgexfoundry/device-sdk-go/v2/internal/provision [no test files] 17:55:06 ? github.com/edgexfoundry/device-sdk-go/v2/internal/telemetry [no test files] 17:55:06 ok github.com/edgexfoundry/device-sdk-go/v2/internal/transformer 0.142s coverage: 58.4% of statements 17:55:06 ok github.com/edgexfoundry/device-sdk-go/v2/internal/application 0.180s coverage: 25.4% of statements 17:55:06 ? github.com/edgexfoundry/device-sdk-go/v2/internal/autodiscovery [no test files] 17:55:06 ok github.com/edgexfoundry/device-sdk-go/v2/internal/autoevent 0.135s coverage: 28.1% of statements 17:55:06 ok github.com/edgexfoundry/device-sdk-go/v2/internal/cache 0.177s coverage: 78.9% of statements 17:55:06 ok github.com/edgexfoundry/device-sdk-go/v2/internal/clients 1.220s coverage: 10.7% of statements 17:55:06 ? github.com/edgexfoundry/device-sdk-go/v2/internal/common [no test files] 17:55:06 ? github.com/edgexfoundry/device-sdk-go/v2/internal/config [no test files] 17:55:06 ? github.com/edgexfoundry/device-sdk-go/v2/internal/container [no test files] 17:55:07 ok github.com/edgexfoundry/device-sdk-go/v2/pkg/models 1.295s coverage: 89.2% of statements 17:55:07 ? github.com/edgexfoundry/device-sdk-go/v2/pkg/models/mocks [no test files] 17:55:07 ok github.com/edgexfoundry/device-sdk-go/v2/pkg/service 0.069s coverage: 5.0% of statements 17:55:07 ? github.com/edgexfoundry/device-sdk-go/v2/pkg/startup [no test files] 17:55:07 GO111MODULE=on go vet ./... 17:55:08 ok github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http 0.262s coverage: 30.2% of statements 17:55:08 ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http/correlation [no test files] 17:55:09 ok github.com/edgexfoundry/device-sdk-go/v2/internal/messaging 1.188s coverage: 83.3% of statements 17:55:09 ? github.com/edgexfoundry/device-sdk-go/v2/internal/provision [no test files] 17:55:09 ? github.com/edgexfoundry/device-sdk-go/v2/internal/telemetry [no test files] 17:55:09 ok github.com/edgexfoundry/device-sdk-go/v2/internal/transformer 0.285s coverage: 58.4% of statements 17:55:12 ok github.com/edgexfoundry/device-sdk-go/v2/pkg/models 3.034s coverage: 89.2% of statements 17:55:12 ? github.com/edgexfoundry/device-sdk-go/v2/pkg/models/mocks [no test files] 17:55:12 ok github.com/edgexfoundry/device-sdk-go/v2/pkg/service 0.137s coverage: 5.0% of statements 17:55:12 ? github.com/edgexfoundry/device-sdk-go/v2/pkg/startup [no test files] 17:55:12 GO111MODULE=on go vet ./... 17:55:34 gofmt -l . 17:55:34 [ "`gofmt -l .`" = "" ] 17:55:34 ./bin/test-attribution-txt.sh 17:55:34 ./bin/test-go-mod-tidy.sh [Pipeline] } 17:55:34 $ docker stop --time=1 c9001438794db3c64151ad230cd199c48ae9bd23a6cef1d5516525754a0987cf 17:55:36 $ docker rm -f c9001438794db3c64151ad230cd199c48ae9bd23a6cef1d5516525754a0987cf [Pipeline] // withDockerContainer [Pipeline] sh 17:55:37 + sudo chown -R jenkins:jenkins . [Pipeline] stash 17:55:38 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 17:55:41 + sudo chown -R jenkins:jenkins . [Pipeline] sh 17:55:41 + ls -al . 17:55:41 total 208 17:55:41 drwxrwxr-x. 10 jenkins jenkins 4096 May 11 17:55 . 17:55:41 drwxrwxr-x. 4 jenkins jenkins 28 May 11 17:53 .. 17:55:41 drwxrwxr-x. 2 jenkins jenkins 64 May 11 17:53 bin 17:55:41 -rw-r--r--. 1 jenkins jenkins 126002 May 11 17:55 coverage.out 17:55:41 -rw-rw-r--. 1 jenkins jenkins 987 May 11 17:53 Dockerfile.build 17:55:41 -rw-rw-r--. 1 jenkins jenkins 140 May 11 17:53 .dockerignore 17:55:41 drwxrwxr-x. 5 jenkins jenkins 62 May 11 17:53 example 17:55:41 drwxrwxr-x. 8 jenkins jenkins 179 May 11 17:53 .git 17:55:41 drwxrwxr-x. 2 jenkins jenkins 103 May 11 17:53 .github 17:55:41 -rw-rw-r--. 1 jenkins jenkins 138 May 11 17:53 .gitignore 17:55:41 -rw-r--r--. 1 jenkins jenkins 575 May 11 17:55 go.mod 17:55:41 -rw-r--r--. 1 jenkins jenkins 20408 May 11 17:54 go.sum 17:55:41 drwxrwxr-x. 15 jenkins jenkins 224 May 11 17:53 internal 17:55:41 -rw-rw-r--. 1 jenkins jenkins 894 May 11 17:53 Jenkinsfile 17:55:41 -rw-rw-r--. 1 jenkins jenkins 11341 May 11 17:53 LICENSE 17:55:41 -rw-rw-r--. 1 jenkins jenkins 1000 May 11 17:53 Makefile 17:55:41 drwxrwxr-x. 4 jenkins jenkins 26 May 11 17:53 openapi 17:55:41 drwxrwxr-x. 5 jenkins jenkins 50 May 11 17:53 pkg 17:55:41 -rw-rw-r--. 1 jenkins jenkins 7652 May 11 17:53 README.md 17:55:41 -rw-rw-r--. 1 jenkins jenkins 6616 May 11 17:53 RELEASE-NOTES.txt 17:55:41 drwxrwxr-x. 4 jenkins jenkins 54 May 11 17:53 snap 17:55:41 -rw-rw-r--. 1 jenkins jenkins 5 May 11 17:49 VERSION 17:55:41 -rw-rw-r--. 1 jenkins jenkins 222 May 11 17:53 version.go [Pipeline] isUnix [Pipeline] sh 17:55:42 + 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=a2450f29224d09b4bc13a7c374e9a6562345f657 --label arch=amd64 --label version=0.0.0 . 17:55:42 Sending build context to Docker daemon 2.71MB 17:55:42 Step 1/23 : ARG BASE=golang:1.16-alpine3.12 17:55:42 Step 2/23 : FROM ${BASE} AS builder 17:55:42 ---> e3de64b3986a 17:55:42 Step 3/23 : WORKDIR /device-sdk-go 17:55:43 ---> Running in a47ee8b1fd20 17:55:43 Removing intermediate container a47ee8b1fd20 17:55:43 ---> ae5e420b06bd 17:55:43 Step 4/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 17:55:43 ---> Running in 151bbd1a6080 17:55:43 Removing intermediate container 151bbd1a6080 17:55:43 ---> 03ed5db41623 17:55:43 Step 5/23 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 17:55:43 ---> Running in 71d4f5f97350 17:55:45 Removing intermediate container 71d4f5f97350 17:55:45 ---> dae9f16b7e4f 17:55:45 Step 6/23 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev 17:55:45 ---> Running in 4de5bb884e2f 17:55:46 fetch https://nl.alpinelinux.org/alpine/v3.13/main/x86_64/APKINDEX.tar.gz 17:55:47 fetch https://nl.alpinelinux.org/alpine/v3.13/community/x86_64/APKINDEX.tar.gz 17:55:47 OK: 150 MiB in 46 packages 17:55:48 Removing intermediate container 4de5bb884e2f 17:55:48 ---> eeba76f8e859 17:55:48 Step 7/23 : COPY . . 17:55:49 ---> 3221e5ec587a 17:55:49 Step 8/23 : RUN go mod download 17:55:49 ---> Running in 25968d44a817 17:55:51 Removing intermediate container 25968d44a817 17:55:51 ---> adbb951d01e6 17:55:51 Step 9/23 : RUN make build 17:55:51 ---> Running in c375cc5fdd42 17:55:51 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 17:56:09 gofmt -l . 17:56:09 [ "`gofmt -l .`" = "" ] 17:56:09 ./bin/test-attribution-txt.sh 17:56:09 ./bin/test-go-mod-tidy.sh [Pipeline] } 17:56:09 $ docker stop --time=1 711bc783830faac61b0ede5f480f6e01711a515265e30f4c1787a3b7b0c50392 17:56:10 CGO_ENABLED=1 GO111MODULE=on go install -tags=safe 17:56:10 Removing intermediate container c375cc5fdd42 17:56:10 ---> b175406d3fec 17:56:10 Step 10/23 : FROM alpine:3.12 17:56:10 3.12: Pulling from library/alpine 17:56:10 339de151aab4: Pulling fs layer 17:56:11 339de151aab4: Verifying Checksum 17:56:11 339de151aab4: Download complete 17:56:11 339de151aab4: Pull complete 17:56:11 Digest: sha256:36553b10a4947067b9fbb7d532951066293a68eae893beba1d9235f7d11a20ad 17:56:11 Status: Downloaded newer image for alpine:3.12 17:56:11 ---> 13621d1b12d4 17:56:11 Step 11/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 17:56:11 ---> Running in 26e2efc296d5 17:56:11 $ docker rm -f 711bc783830faac61b0ede5f480f6e01711a515265e30f4c1787a3b7b0c50392 17:56:11 Removing intermediate container 26e2efc296d5 17:56:11 ---> e7b546650439 17:56:11 Step 12/23 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 17:56:11 ---> Running in 7c0ad2a97ac3 [Pipeline] // withDockerContainer [Pipeline] sh 17:56:12 + sudo chown -R jenkins:jenkins . [Pipeline] stash 17:56:12 Warning: overwriting stash ‘coverage-report’ 17:56:13 Removing intermediate container 7c0ad2a97ac3 17:56:13 ---> 15b92ec6851b 17:56:13 Step 13/23 : RUN apk add --update --no-cache zeromq 17:56:13 ---> Running in 91d8d921dd68 17:56:13 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 17:56:14 + sudo chown -R jenkins:jenkins . 17:56:14 fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz [Pipeline] sh 17:56:14 + ls -al . 17:56:14 total 244 17:56:14 drwxrwxr-x 10 jenkins jenkins 4096 May 11 17:56 . 17:56:14 drwxrwxr-x 4 jenkins jenkins 4096 May 11 17:51 .. 17:56:14 -rw-rw-r-- 1 jenkins jenkins 140 May 11 17:51 .dockerignore 17:56:14 drwxrwxr-x 8 jenkins jenkins 4096 May 11 17:52 .git 17:56:14 drwxrwxr-x 2 jenkins jenkins 4096 May 11 17:51 .github 17:56:14 -rw-rw-r-- 1 jenkins jenkins 138 May 11 17:51 .gitignore 17:56:14 -rw-rw-r-- 1 jenkins jenkins 987 May 11 17:51 Dockerfile.build 17:56:14 -rw-rw-r-- 1 jenkins jenkins 894 May 11 17:51 Jenkinsfile 17:56:14 -rw-rw-r-- 1 jenkins jenkins 11341 May 11 17:51 LICENSE 17:56:14 -rw-rw-r-- 1 jenkins jenkins 1000 May 11 17:51 Makefile 17:56:14 -rw-rw-r-- 1 jenkins jenkins 7652 May 11 17:51 README.md 17:56:14 -rw-rw-r-- 1 jenkins jenkins 6616 May 11 17:51 RELEASE-NOTES.txt 17:56:14 -rw-rw-r-- 1 jenkins jenkins 5 May 11 17:49 VERSION 17:56:14 drwxrwxr-x 2 jenkins jenkins 4096 May 11 17:51 bin 17:56:14 -rw-r--r-- 1 jenkins jenkins 126002 May 11 17:55 coverage.out 17:56:14 drwxrwxr-x 5 jenkins jenkins 4096 May 11 17:51 example 17:56:14 -rw-r--r-- 1 jenkins jenkins 575 May 11 17:56 go.mod 17:56:14 -rw-r--r-- 1 jenkins jenkins 20408 May 11 17:53 go.sum 17:56:14 drwxrwxr-x 15 jenkins jenkins 4096 May 11 17:51 internal 17:56:14 drwxrwxr-x 4 jenkins jenkins 4096 May 11 17:51 openapi 17:56:14 drwxrwxr-x 5 jenkins jenkins 4096 May 11 17:51 pkg 17:56:14 drwxrwxr-x 4 jenkins jenkins 4096 May 11 17:51 snap 17:56:14 -rw-rw-r-- 1 jenkins jenkins 222 May 11 17:51 version.go [Pipeline] isUnix [Pipeline] sh 17:56:14 fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz 17:56:15 + 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=a2450f29224d09b4bc13a7c374e9a6562345f657 --label arch=arm64 --label version=0.0.0 . 17:56:15 (1/5) Installing libgcc (9.3.0-r2) 17:56:15 (2/5) Installing libsodium (1.0.18-r0) 17:56:15 (3/5) Installing libstdc++ (9.3.0-r2) 17:56:15 Sending build context to Docker daemon 2.709MB 17:56:15 Step 1/23 : ARG BASE=golang:1.16-alpine3.12 17:56:15 Step 2/23 : FROM ${BASE} AS builder 17:56:15 ---> 95c9cf30c562 17:56:15 Step 3/23 : WORKDIR /device-sdk-go 17:56:16 ---> Running in 4d68e09fc7ee 17:56:16 Removing intermediate container 4d68e09fc7ee 17:56:16 ---> 40d9a91e261c 17:56:16 Step 4/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 17:56:16 (4/5) Installing libzmq (4.3.3-r0) 17:56:16 (5/5) Installing zeromq (4.3.3-r0) 17:56:16 Executing busybox-1.31.1-r20.trigger 17:56:16 OK: 8 MiB in 19 packages 17:56:16 ---> Running in eb55ebc08e43 17:56:16 Removing intermediate container eb55ebc08e43 17:56:16 ---> 6ee06ad0aa26 17:56:16 Step 5/23 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 17:56:16 Removing intermediate container 91d8d921dd68 17:56:16 ---> df022b999697 17:56:16 Step 14/23 : WORKDIR / 17:56:17 ---> Running in dff42357aabf 17:56:17 ---> Running in 21bea064fd84 17:56:17 Removing intermediate container 21bea064fd84 17:56:17 ---> 96a701b5dfd5 17:56:17 Step 15/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt 17:56:17 ---> ac819f460a48 17:56:17 Step 16/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple 17:56:18 ---> 3ec390e0e54e 17:56:18 Step 17/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res 17:56:18 ---> 6feb3fb477f3 17:56:18 Step 18/23 : EXPOSE 49990 17:56:18 ---> Running in 2932c0397811 17:56:18 Removing intermediate container 2932c0397811 17:56:18 ---> 99d6b8ef8017 17:56:18 Step 19/23 : ENTRYPOINT ["/device-simple"] 17:56:18 ---> Running in e2f9a618660d 17:56:19 Removing intermediate container dff42357aabf 17:56:19 ---> b8cf7bd33dd2 17:56:19 Step 6/23 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev 17:56:19 ---> Running in 2bc19ba9e88f 17:56:19 Removing intermediate container e2f9a618660d 17:56:19 ---> d1ff55a9bfba 17:56:19 Step 20/23 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] 17:56:19 ---> Running in 072825731ccb 17:56:19 Removing intermediate container 072825731ccb 17:56:19 ---> 41c31a34e97c 17:56:19 Step 21/23 : LABEL arch=amd64 17:56:19 ---> Running in 627ea1fd2c34 17:56:19 Removing intermediate container 627ea1fd2c34 17:56:19 ---> 3d62de890d70 17:56:19 Step 22/23 : LABEL git_sha=a2450f29224d09b4bc13a7c374e9a6562345f657 17:56:19 ---> Running in 136ed8fc8b48 17:56:20 Removing intermediate container 136ed8fc8b48 17:56:20 ---> 589d8e68cbdd 17:56:20 Step 23/23 : LABEL version=0.0.0 17:56:20 ---> Running in 76aea54fee14 17:56:20 fetch https://nl.alpinelinux.org/alpine/v3.13/main/aarch64/APKINDEX.tar.gz 17:56:20 Removing intermediate container 76aea54fee14 17:56:20 ---> 7e1d2c5c8647 17:56:20 [Warning] One or more build-args [ARCH MAKE] were not consumed 17:56:20 Successfully built 7e1d2c5c8647 17:56:20 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 17:56:21 ---> job-cost.sh 17:56:21 lf-activate-venv(): INFO: Creating python3 venv at /tmp/venv-ZV4e 17:56:21 fetch https://nl.alpinelinux.org/alpine/v3.13/community/aarch64/APKINDEX.tar.gz 17:56:21 OK: 139 MiB in 46 packages 17:56:23 Removing intermediate container 2bc19ba9e88f 17:56:23 ---> c1cdd3acdc15 17:56:23 Step 7/23 : COPY . . 17:56:24 ---> a2751e6f8a56 17:56:24 Step 8/23 : RUN go mod download 17:56:24 ---> Running in bc82f5d391d9 17:56:27 Removing intermediate container bc82f5d391d9 17:56:27 ---> 094d91f36097 17:56:27 Step 9/23 : RUN make build 17:56:27 ---> Running in 0f6f4272e0ab 17:56:27 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 17:56:39 lf-activate-venv(): INFO: Installing: zipp==1.1.0 python-openstackclient 17:57:00 CGO_ENABLED=1 GO111MODULE=on go install -tags=safe 17:57:02 Removing intermediate container 0f6f4272e0ab 17:57:02 ---> 0ad3594f0b4d 17:57:02 Step 10/23 : FROM alpine:3.12 17:57:03 3.12: Pulling from library/alpine 17:57:03 d2f70382dc9a: Pulling fs layer 17:57:03 d2f70382dc9a: Verifying Checksum 17:57:03 d2f70382dc9a: Download complete 17:57:04 d2f70382dc9a: Pull complete 17:57:04 Digest: sha256:36553b10a4947067b9fbb7d532951066293a68eae893beba1d9235f7d11a20ad 17:57:04 Status: Downloaded newer image for alpine:3.12 17:57:04 ---> 9852663dfa18 17:57:04 Step 11/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 17:57:04 ---> Running in 00e3bbd2bd58 17:57:04 Removing intermediate container 00e3bbd2bd58 17:57:04 ---> 4f400bd64a22 17:57:04 Step 12/23 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 17:57:05 ---> Running in a842db67f0ff 17:57:07 Removing intermediate container a842db67f0ff 17:57:07 ---> fe36669ff1c2 17:57:07 Step 13/23 : RUN apk add --update --no-cache zeromq 17:57:07 ---> Running in d1984128a98a 17:57:08 fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz 17:57:09 fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz 17:57:10 (1/5) Installing libgcc (9.3.0-r2) 17:57:10 (2/5) Installing libsodium (1.0.18-r0) 17:57:10 (3/5) Installing libstdc++ (9.3.0-r2) 17:57:10 (4/5) Installing libzmq (4.3.3-r0) 17:57:10 (5/5) Installing zeromq (4.3.3-r0) 17:57:10 Executing busybox-1.31.1-r20.trigger 17:57:10 OK: 8 MiB in 19 packages 17:57:11 lf-activate-venv(): INFO: Adding /tmp/venv-ZV4e/bin to PATH 17:57:11 INFO: No Stack... 17:57:11 INFO: Retrieving Pricing Info for: v1-standard-2 17:57:11 INFO: Archiving Costs [Pipeline] sh 17:57:11 + cat /w/workspace/device-sdk-go/3/archives/cost.csv 17:57:11 + cut -d, -f6 17:57:11 Removing intermediate container d1984128a98a 17:57:11 ---> beeeb6df28e4 17:57:11 Step 14/23 : WORKDIR / 17:57:11 ---> Running in 9f7817d59d89 [Pipeline] lock 17:57:12 Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-PR-922-3-stack-cost] 17:57:12 Resource [jenkins-edgexfoundry-device-sdk-go-PR-922-3-stack-cost] did not exist. Created. 17:57:12 Lock acquired on [jenkins-edgexfoundry-device-sdk-go-PR-922-3-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 17:57:12 + echo total: 0.029999999329447746 [Pipeline] stash 17:57:12 Removing intermediate container 9f7817d59d89 17:57:12 ---> 388fe27d9c6b 17:57:12 Step 15/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt 17:57:12 Stashed 1 file(s) [Pipeline] } 17:57:12 Lock released on resource [jenkins-edgexfoundry-device-sdk-go-PR-922-3-stack-cost] [Pipeline] // lock [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } 17:57:13 ---> 7b54a4219c43 17:57:13 Step 16/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple 17:57:14 ---> f52f565676a4 17:57:14 Step 17/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res 17:57:15 ---> 56a392ce24e9 17:57:15 Step 18/23 : EXPOSE 49990 17:57:15 ---> Running in fcaa6d3430a4 17:57:16 Removing intermediate container fcaa6d3430a4 17:57:16 ---> e5a06f6461ea 17:57:16 Step 19/23 : ENTRYPOINT ["/device-simple"] 17:57:16 ---> Running in e1a8d7ce8bcc 17:57:16 Removing intermediate container e1a8d7ce8bcc 17:57:16 ---> bcbf104fa247 17:57:16 Step 20/23 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] 17:57:16 ---> Running in a4be72c2627b 17:57:17 Removing intermediate container a4be72c2627b 17:57:17 ---> 28fca62cbf1f 17:57:17 Step 21/23 : LABEL arch=arm64 17:57:17 ---> Running in 15184d2ab786 17:57:17 Removing intermediate container 15184d2ab786 17:57:17 ---> c7f8e0092d8d 17:57:17 Step 22/23 : LABEL git_sha=a2450f29224d09b4bc13a7c374e9a6562345f657 17:57:17 ---> Running in da0a617431d5 17:57:18 Removing intermediate container da0a617431d5 17:57:18 ---> 9b6a6e0f8241 17:57:18 Step 23/23 : LABEL version=0.0.0 17:57:18 ---> Running in 957489b9e90b 17:57:19 Removing intermediate container 957489b9e90b 17:57:19 ---> e51293e56016 17:57:19 [Warning] One or more build-args [MAKE ARCH] were not consumed 17:57:19 Successfully built e51293e56016 17:57:19 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 17:57:19 ---> job-cost.sh 17:57:19 lf-activate-venv(): INFO: Creating python3 venv at /tmp/venv-XUJ0 17:57:58 lf-activate-venv(): INFO: Installing: zipp==1.1.0 python-openstackclient 17:59:20 lf-activate-venv(): INFO: Adding /tmp/venv-XUJ0/bin to PATH 17:59:20 INFO: No Stack... 17:59:21 INFO: Retrieving Pricing Info for: lf-standard-4 17:59:21 INFO: Archiving Costs [Pipeline] sh 17:59:21 + cat /w/workspace/device-sdk-go/3/archives/cost.csv 17:59:21 + cut -d, -f6 [Pipeline] lock 17:59:21 Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-PR-922-3-stack-cost] 17:59:21 Resource [jenkins-edgexfoundry-device-sdk-go-PR-922-3-stack-cost] did not exist. Created. 17:59:21 Lock acquired on [jenkins-edgexfoundry-device-sdk-go-PR-922-3-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 17:59:22 /w/workspace/device-sdk-go/3@tmp/durable-06e2dac0/script.sh: 1: /w/workspace/device-sdk-go/3@tmp/durable-06e2dac0/script.sh: Syntax error: Unterminated quoted string [Pipeline] sh 17:59:22 + echo total: 0.20999999344348907 [Pipeline] stash 17:59:22 Warning: overwriting stash ‘stack-cost’ 17:59:22 Stashed 1 file(s) [Pipeline] } 17:59:22 Lock released on resource [jenkins-edgexfoundry-device-sdk-go-PR-922-3-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 17:59:23 provisioning config files... 17:59:23 copy managed file [device-sdk-go-codecov-token] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-922@tmp/config3130744616794091670tmp [Pipeline] { [Pipeline] sh 17:59:23 + set +x 17:59:23 + bash -s -- 17:59:23 + curl -s https://codecov.io/bash 17:59:25 17:59:25 _____ _ 17:59:25 / ____| | | 17:59:25 | | ___ __| | ___ ___ _____ __ 17:59:25 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 17:59:25 | |___| (_) | (_| | __/ (_| (_) \ V / 17:59:25 \_____\___/ \__,_|\___|\___\___/ \_/ 17:59:25 Bash-1.0.2 17:59:25 17:59:25 17:59:25 ==> git version 2.24.3 found 17:59:25 ==> 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 17:59:25 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtsp scp sftp smtp smtps telnet tftp 17:59:25 Features: AsynchDNS GSS-Negotiate IDN IPv6 Largefile NTLM NTLM_WB SSL libz unix-sockets 17:59:25 ==> Jenkins CI detected. 17:59:25 project root: . 17:59:25 --> token set from env 17:59:25 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 17:59:25 ==> Running gcov in . (disable via -X gcov) 17:59:25 ==> Python coveragepy not found 17:59:25 ==> Searching for coverage reports in: 17:59:25 + . 17:59:25 -> Found 1 reports 17:59:25 ==> Detecting git/mercurial file structure 17:59:25 ==> Reading reports 17:59:25 + ./coverage.out bytes=126002 17:59:25 ==> Appending adjustments 17:59:25 https://docs.codecov.io/docs/fixing-reports 17:59:26 + Found adjustments 17:59:26 ==> Gzipping contents 17:59:26 20K /tmp/codecov.zOgYcU.gz 17:59:26 ==> Uploading reports 17:59:26 url: https://codecov.io 17:59:26 query: branch=PR-922&commit=a2450f29224d09b4bc13a7c374e9a6562345f657&build=3&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-922%2F3%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=922&job=&cmd_args= 17:59:26 -> Pinging Codecov 17:59:26 https://codecov.io/upload/v4?package=bash-1.0.2&token=secret&branch=PR-922&commit=a2450f29224d09b4bc13a7c374e9a6562345f657&build=3&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-922%2F3%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=922&job=&cmd_args= 17:59:26 -> Uploading to 17:59:26 https://storage.googleapis.com/codecov/v4/raw/2021-05-11/7E55EF52A471D76F132DFD9A03CDDE97/a2450f29224d09b4bc13a7c374e9a6562345f657/fd344613-5e0b-44f0-aa81-f9b6b981c718.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EQM3VGPYSAFECJRMNAFIPCV2R3P2BOORCJC7NM537NPJQSFLHUDNIDWA%2F20210511%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20210511T175926Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=41e384e0136e5d3ce68a7524cfb731eb2faa77d000fbfced89c24b557a516d04 17:59:26 % Total % Received % Xferd Average Speed Time Time Time Current 17:59:26 Dload Upload Total Spent Left Speed 17:59:27 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 16450 0 0 100 16450 0 38809 --:--:-- --:--:-- --:--:-- 38797 17:59:27 -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/device-sdk-go/commit/a2450f29224d09b4bc13a7c374e9a6562345f657 [Pipeline] } 17:59:27 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 17:59:28 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 17:59:28 ---> package-listing.sh 17:59:28 ++ facter osfamily 17:59:28 ++ tr '[:upper:]' '[:lower:]' 17:59:29 + OS_FAMILY=redhat 17:59:29 + workspace=/w/workspace/dgexfoundry_device-sdk-go_PR-922 17:59:29 + START_PACKAGES=/tmp/packages_start.txt 17:59:29 + END_PACKAGES=/tmp/packages_end.txt 17:59:29 + DIFF_PACKAGES=/tmp/packages_diff.txt 17:59:29 + PACKAGES=/tmp/packages_start.txt 17:59:29 + '[' /w/workspace/dgexfoundry_device-sdk-go_PR-922 ']' 17:59:29 + PACKAGES=/tmp/packages_end.txt 17:59:29 + case "${OS_FAMILY}" in 17:59:29 + rpm -qa 17:59:29 + sort 17:59:34 + '[' -f /tmp/packages_start.txt ']' 17:59:34 + '[' -f /tmp/packages_end.txt ']' 17:59:34 + diff /tmp/packages_start.txt /tmp/packages_end.txt 17:59:34 + '[' /w/workspace/dgexfoundry_device-sdk-go_PR-922 ']' 17:59:34 + mkdir -p /w/workspace/dgexfoundry_device-sdk-go_PR-922/archives/ 17:59:34 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/dgexfoundry_device-sdk-go_PR-922/archives/ [Pipeline] echo 17:59:34 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-922/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 17:59:35 + facter operatingsystem [Pipeline] isUnix [Pipeline] sh 17:59:35 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 17:59:35 17:59:35 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh 17:59:36 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 17:59:36 alpine: Pulling from edgex-lftools-log-publisher 17:59:36 df20fa9351a1: Pulling fs layer 17:59:36 36b3adc4ff6f: Pulling fs layer 17:59:36 8ad3a11d3b57: Pulling fs layer 17:59:36 46f8f816bc3b: Pulling fs layer 17:59:36 93b61091891f: Pulling fs layer 17:59:36 93b9cdb0e59b: Pulling fs layer 17:59:36 5e14af77c1be: Pulling fs layer 17:59:36 01666e4c0597: Pulling fs layer 17:59:36 aa168da1d23b: Pulling fs layer 17:59:36 93b9cdb0e59b: Waiting 17:59:36 5e14af77c1be: Waiting 17:59:36 01666e4c0597: Waiting 17:59:36 aa168da1d23b: Waiting 17:59:36 93b61091891f: Waiting 17:59:36 46f8f816bc3b: Waiting 17:59:36 36b3adc4ff6f: Verifying Checksum 17:59:36 36b3adc4ff6f: Download complete 17:59:36 46f8f816bc3b: Verifying Checksum 17:59:36 46f8f816bc3b: Download complete 17:59:36 df20fa9351a1: Verifying Checksum 17:59:36 df20fa9351a1: Download complete 17:59:36 93b61091891f: Verifying Checksum 17:59:36 93b61091891f: Download complete 17:59:36 93b9cdb0e59b: Verifying Checksum 17:59:36 93b9cdb0e59b: Download complete 17:59:36 5e14af77c1be: Verifying Checksum 17:59:36 5e14af77c1be: Download complete 17:59:36 01666e4c0597: Download complete 17:59:37 df20fa9351a1: Pull complete 17:59:37 8ad3a11d3b57: Verifying Checksum 17:59:37 8ad3a11d3b57: Download complete 17:59:37 36b3adc4ff6f: Pull complete 17:59:38 8ad3a11d3b57: Pull complete 17:59:38 46f8f816bc3b: Pull complete 17:59:40 aa168da1d23b: Verifying Checksum 17:59:40 aa168da1d23b: Download complete 17:59:40 93b61091891f: Pull complete 17:59:40 93b9cdb0e59b: Pull complete 17:59:41 5e14af77c1be: Pull complete 17:59:41 01666e4c0597: Pull complete 17:59:49 aa168da1d23b: Pull complete 17:59:49 Digest: sha256:ac41798234670a79351fc13b8232b4dbeccc6fb1f122f5db5169d11b1762ca7c 17:59:49 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 17:59:49 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer 17:59:49 prd-centos7-docker-4c-2g-4550 does not seem to be running inside a container 17:59: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-922/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-922 -v /w/workspace/dgexfoundry_device-sdk-go_PR-922:/w/workspace/dgexfoundry_device-sdk-go_PR-922:rw,z -v /w/workspace/dgexfoundry_device-sdk-go_PR-922@tmp:/w/workspace/dgexfoundry_device-sdk-go_PR-922@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 ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine cat 17:59:53 $ docker top f257842eb2eaf3c3f6d44f8273b5794a26eb8f40b7849a19a78f40ede306dc18 -eo pid,comm [Pipeline] { [Pipeline] sh 17:59:54 + touch /tmp/pre-build-complete [Pipeline] sh 17:59:54 + mkdir -p /var/log/sa [Pipeline] sh 17:59:54 + ls /var/log/sa-host 17:59:54 + sadf -c /var/log/sa-host/sa11 17:59:54 file_magic: OK 17:59:54 HZ: Using current value: 100 17:59:54 file_header: OK 17:59:54 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 17:59:54 Statistics: 17:59:54 HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... 17:59:54 File successfully converted to sysstat format version 12.2.1 17:59:54 + sadf -c /var/log/sa-host/sa23 17:59:54 file_magic: OK 17:59:54 HZ: Using current value: 100 17:59:54 file_header: OK 17:59:54 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 17:59:54 Statistics: 17:59:54 Hnuu...uuuununununu... 17:59:54 File successfully converted to sysstat format version 12.2.1 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 17:59:55 provisioning config files... 17:59:55 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-922@tmp/config451009749234541071tmp [Pipeline] { [Pipeline] echo 17:59:55 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 17:59:55 ---> create-netrc.sh [Pipeline] } 17:59:55 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] echo 17:59:55 Running shell/python-tools-install.sh [Pipeline] libraryResource [Pipeline] sh 17:59:56 ---> python-tools-install.sh [Pipeline] echo 17:59:56 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 17:59:56 ---> sudo-logs.sh 17:59:56 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 17:59:56 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 17:59:56 ---> job-cost.sh 17:59:56 lf-activate-venv: SKIPPING 17:59:56 DEBUG: total: 0.20999999344348907 17:59:56 INFO: Retrieving Stack Cost... 17:59:58 INFO: Retrieving Pricing Info for: v1-standard-2 17:59:58 INFO: Archiving Costs [Pipeline] echo 17:59:58 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 17:59:58 ---> logs-deploy.sh 17:59:58 lf-activate-venv: SKIPPING 17:59:58 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-922/3 17:59:58 INFO: archiving workspace using pattern(s): 18:00:00 Archives upload complete. 18:00:00 INFO: archiving logs to Nexus