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 084a7d328f0cc1d27f05d55b3a6ee84e16cf3fb8+889e38f586d888c0021f1798e3d6b8462ec57b6f (6a5698268a655a7de61a7c62b79c310fe38c0d1f) 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 Waiting for next available executor on ‘centos7-docker-4c-2g’ Running on prd-centos7-docker-4c-2g-4532 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 084a7d328f0cc1d27f05d55b3a6ee84e16cf3fb8 Merge succeeded, producing 0734cdd67020a84f1ea440a79efb13ec8583638f Checking out Revision 0734cdd67020a84f1ea440a79efb13ec8583638f (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 084a7d328f0cc1d27f05d55b3a6ee84e16cf3fb8 # 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 0734cdd67020a84f1ea440a79efb13ec8583638f # timeout=10 Commit message: "Merge commit '889e38f586d888c0021f1798e3d6b8462ec57b6f' into HEAD" First time build. Skipping changelog. [Pipeline] } [Pipeline] // stage > git rev-list --no-walk f52e96a17fa5a253b9a972e3b71ea00fc70316a5 # timeout=10 [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 17:25:40 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 17:25:40 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 17:25:40 ========================================================= 17:25:40 EdgeX Global Pipelines Version Info 17:25:40 ========================================================= [Pipeline] libraryResource [Pipeline] sh 17:25:42 ------------------- 17:25:42 stable info: 17:25:42 ------------------- 17:25:42 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 17:25:42 Commit SHA: 9d0281235b943b7ad605f650702698f9078b2862 17:25:42 Message: update stable to v1.0.192 17:25:43 ------------------- 17:25:43 experimental info: 17:25:43 ------------------- 17:25:43 Commited By: **** collab-it+edgex@linuxfoundation.org 17:25:43 Commit SHA: 9d0281235b943b7ad605f650702698f9078b2862 17:25:43 Message: update experimental to v1.0.192 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 17:25:43 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-go-settings [Pipeline] echo 17:25:43 [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-go [Pipeline] echo 17:25:43 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 17:25:43 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 17:25:43 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 17:25:43 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.16 [Pipeline] echo 17:25:43 [edgeXSetupEnvironment]: set envvar GOPROXY = https://nexus3.edgexfoundry.org/repository/go-proxy/ [Pipeline] echo 17:25:43 [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine [Pipeline] echo 17:25:43 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = example/cmd/device-simple/Dockerfile [Pipeline] echo 17:25:43 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 17:25:43 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 17:25:43 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-sdk-simple [Pipeline] echo 17:25:43 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 17:25:43 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 17:25:43 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 17:25:43 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo 17:25:43 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 17:25:43 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 17:25:43 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 17:25:43 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 17:25:43 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo 17:25:43 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 openapi/v2 [Pipeline] echo 17:25:43 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 17:25:43 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 17:25:43 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 17:25:43 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 17:25:43 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-922 [Pipeline] echo 17:25:43 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-922 [Pipeline] echo 17:25:44 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-922 [Pipeline] echo 17:25:44 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 0734cdd67020a84f1ea440a79efb13ec8583638f [Pipeline] echo 17:25:44 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 0734cdd [Pipeline] echo 17:25:44 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] wrap 17:25:44 provisioning config files... 17:25:44 copy managed file [device-sdk-go-settings] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-922@tmp/config1654807116855586821tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 17:25:44 ---> docker-login.sh 17:25:44 nexus3.edgexfoundry.org:10001 17:25:44 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:25:45 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:25:45 Configure a credential helper to remove this warning. See 17:25:45 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:25:45 17:25:45 Login Succeeded 17:25:45 nexus3.edgexfoundry.org:10002 17:25:45 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:25:45 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:25:45 Configure a credential helper to remove this warning. See 17:25:45 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:25:45 17:25:45 Login Succeeded 17:25:45 nexus3.edgexfoundry.org:10003 17:25:45 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:25:45 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:25:45 Configure a credential helper to remove this warning. See 17:25:45 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:25:45 17:25:45 Login Succeeded 17:25:45 nexus3.edgexfoundry.org:10004 17:25:45 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:25:45 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:25:45 Configure a credential helper to remove this warning. See 17:25:45 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:25:45 17:25:45 Login Succeeded 17:25:45 docker.io 17:25:45 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:25:45 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:25:45 Configure a credential helper to remove this warning. See 17:25:45 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:25:45 17:25:45 Login Succeeded 17:25:45 ---> docker-login.sh ends [Pipeline] } 17:25:45 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:25:46 + git log --format=format:%s -1 0734cdd67020a84f1ea440a79efb13ec8583638f [Pipeline] echo 17:25:46 GIT_COMMIT: 0734cdd67020a84f1ea440a79efb13ec8583638f, Commit Message: Merge commit '889e38f586d888c0021f1798e3d6b8462ec57b6f' into HEAD [Pipeline] echo 17:25:46 This is not a build commit. [Pipeline] isUnix [Pipeline] sh 17:25:47 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 17:25:47 17:25:47 Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh 17:25:47 + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 17:25:47 latest: Pulling from edgex-devops/git-semver 17:25:47 31603596830f: Pulling fs layer 17:25:47 54011a49482f: Pulling fs layer 17:25:47 a6820b24f6d8: Pulling fs layer 17:25:47 f581987b2513: Pulling fs layer 17:25:47 f581987b2513: Waiting 17:25:47 54011a49482f: Verifying Checksum 17:25:47 54011a49482f: Download complete 17:25:47 31603596830f: Verifying Checksum 17:25:47 31603596830f: Download complete 17:25:47 f581987b2513: Verifying Checksum 17:25:47 f581987b2513: Download complete 17:25:47 a6820b24f6d8: Verifying Checksum 17:25:47 a6820b24f6d8: Download complete 17:25:47 31603596830f: Pull complete 17:25:47 54011a49482f: Pull complete 17:25:48 a6820b24f6d8: Pull complete 17:25:49 f581987b2513: Pull complete 17:25:49 Digest: sha256:772af3cb61214e5a22880db9bb273bb039d0aa3a8f4edfa0c1def8b4e20ea536 17:25:49 Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 17:25:49 nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer 17:25:49 prd-centos7-docker-4c-2g-4532 does not seem to be running inside a container 17:25:49 $ 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 ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat 17:25:51 $ docker top f4dfe732c3dbf5a922fc99c0eb3e441f518d2d6fa5f671fdf344358d55b9dd1c -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 17:25:51 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 17:25:51 [ssh-agent] Looking for ssh-agent implementation... 17:25:51 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 17:25:51 $ docker exec f4dfe732c3dbf5a922fc99c0eb3e441f518d2d6fa5f671fdf344358d55b9dd1c ssh-agent 17:25:52 SSH_AUTH_SOCK=/tmp/ssh-UPahNpxYG9lE/agent.12 17:25:52 SSH_AGENT_PID=17 17:25:52 Running ssh-add (command line suppressed) 17:25:52 Identity added: /w/workspace/dgexfoundry_device-sdk-go_PR-922@tmp/private_key_7034346577264197114.key (/w/workspace/dgexfoundry_device-sdk-go_PR-922@tmp/private_key_7034346577264197114.key) 17:25:52 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 17:25:52 + git tag --points-at HEAD [Pipeline] } 17:25:52 $ docker exec --env ******** --env ******** f4dfe732c3dbf5a922fc99c0eb3e441f518d2d6fa5f671fdf344358d55b9dd1c ssh-agent -k 17:25:52 unset SSH_AUTH_SOCK; 17:25:52 unset SSH_AGENT_PID; 17:25:52 echo Agent pid 17 killed; 17:25:52 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 17:25:53 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 17:25:53 [ssh-agent] Looking for ssh-agent implementation... 17:25:53 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 17:25:53 $ docker exec f4dfe732c3dbf5a922fc99c0eb3e441f518d2d6fa5f671fdf344358d55b9dd1c ssh-agent 17:25:53 SSH_AUTH_SOCK=/tmp/ssh-vQ3stjx8K2ob/agent.46 17:25:53 SSH_AGENT_PID=51 17:25:53 Running ssh-add (command line suppressed) 17:25:53 Identity added: /w/workspace/dgexfoundry_device-sdk-go_PR-922@tmp/private_key_3335968349931530254.key (/w/workspace/dgexfoundry_device-sdk-go_PR-922@tmp/private_key_3335968349931530254.key) 17:25:53 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 17:25:53 + git semver init 17:25:53 # -> Open(): unable to determine branch for HEAD 17:25:53 # $GIT_DIR = /w/workspace/dgexfoundry_device-sdk-go_PR-922/.git 17:25:53 # $GIT_WORK_TREE = /w/workspace/dgexfoundry_device-sdk-go_PR-922 17:25:53 # $SEMVER_REMOTE_NAME = origin 17:25:53 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 17:25:53 # $SEMVER_USER_NAME = edgex-jenkins 17:25:53 # $SEMVER_BRANCH = PR-922 17:25:53 # $SEMVER_TEMP = /tmp/semver-120031869 17:25:53 # git clone --branch semver git@github.com:edgexfoundry/device-sdk-go.git $SEMVER_TEMP 17:25:55 # '/tmp/semver-120031869' -> '/w/workspace/dgexfoundry_device-sdk-go_PR-922/.semver' 17:25:55 # -> Force: false 17:25:55 # $SEMVER_DIR = /w/workspace/dgexfoundry_device-sdk-go_PR-922/.semver [Pipeline] } 17:25:55 $ docker exec --env ******** --env ******** f4dfe732c3dbf5a922fc99c0eb3e441f518d2d6fa5f671fdf344358d55b9dd1c ssh-agent -k 17:25:55 unset SSH_AUTH_SOCK; 17:25:55 unset SSH_AGENT_PID; 17:25:55 echo Agent pid 51 killed; 17:25:55 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 17:25:55 + git semver [Pipeline] } 17:25:55 $ docker stop --time=1 f4dfe732c3dbf5a922fc99c0eb3e441f518d2d6fa5f671fdf344358d55b9dd1c 17:25:57 $ docker rm -f f4dfe732c3dbf5a922fc99c0eb3e441f518d2d6fa5f671fdf344358d55b9dd1c [Pipeline] // withDockerContainer [Pipeline] sh 17:25:58 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 17:25:58 Stashed 1 file(s) [Pipeline] echo 17:25:58 [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:26:13 Still waiting to schedule task 17:26:13 Waiting for next available executor on ‘centos7-docker-4c-2g’ 17:26:13 Still waiting to schedule task 17:26:13 ‘prd-centos7-blackbox-4c-2g-3715’ doesn’t have label ‘ubuntu18.04-docker-arm64-4c-16g’; ‘prd-centos7-docker-4c-2g-4507’ doesn’t have label ‘ubuntu18.04-docker-arm64-4c-16g’; ‘prd-centos7-docker-4c-2g-4509’ doesn’t have label ‘ubuntu18.04-docker-arm64-4c-16g’; ‘prd-centos7-docker-4c-2g-4511’ doesn’t have label ‘ubuntu18.04-docker-arm64-4c-16g’; ‘prd-centos7-docker-4c-2g-4515’ doesn’t have label ‘ubuntu18.04-docker-arm64-4c-16g’; ‘prd-centos7-docker-4c-2g-4521’ doesn’t have label ‘ubuntu18.04-docker-arm64-4c-16g’; ‘prd-centos7-docker-4c-2g-4523’ doesn’t have label ‘ubuntu18.04-docker-arm64-4c-16g’; ‘prd-ubuntu18.04-docker-arm64-4c-16g-3702’ is offline; ‘prd-ubuntu18.04-docker-arm64-4c-16g-4516’ is offline; ‘prd-ubuntu18.04-docker-arm64-4c-16g-4517’ is offline; ‘prd-ubuntu18.04-docker-arm64-4c-16g-4522’ is offline; ‘prd-ubuntu18.04-docker-arm64-4c-16g-4533’ is offline; ‘prd-ubuntu18.04-docker-arm64-4c-16g-4534’ is offline 17:27:37 Running on prd-centos7-docker-4c-2g-4536 in /w/workspace/dgexfoundry_device-sdk-go_PR-922 [Pipeline] { [Pipeline] ws 17:27:37 Running in /w/workspace/device-sdk-go/2 [Pipeline] { [Pipeline] checkout 17:27:44 using credential edgex-jenkins-ssh 17:27:44 Cloning the remote Git repository 17:27:44 Cloning repository git@github.com:edgexfoundry/device-sdk-go.git 17:27:44 > git init /w/workspace/device-sdk-go/2 # timeout=10 17:27:44 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 17:27:44 > git --version # timeout=10 17:27:44 > git --version # 'git version 2.24.3' 17:27:44 using GIT_SSH to set credentials SSH Credentials for GitHub 17:27:44 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 17:27:46 Merging remotes/origin/master commit 889e38f586d888c0021f1798e3d6b8462ec57b6f into PR head commit 084a7d328f0cc1d27f05d55b3a6ee84e16cf3fb8 17:27:46 Merge succeeded, producing d31272688f4a7be175ba8c72e10737706cb62170 17:27:46 Checking out Revision d31272688f4a7be175ba8c72e10737706cb62170 (PR-922) 17:27:45 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 17:27:45 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 17:27:45 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 17:27:45 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 17:27:45 using GIT_SSH to set credentials SSH Credentials for GitHub 17:27:45 > 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:27:46 > git config core.sparsecheckout # timeout=10 17:27:46 > git checkout -f 084a7d328f0cc1d27f05d55b3a6ee84e16cf3fb8 # timeout=10 17:27:46 > git remote # timeout=10 17:27:46 > git config --get remote.origin.url # timeout=10 17:27:46 using GIT_SSH to set credentials SSH Credentials for GitHub 17:27:46 > git merge 889e38f586d888c0021f1798e3d6b8462ec57b6f # timeout=10 17:27:46 > git rev-parse HEAD^{commit} # timeout=10 17:27:46 > git config core.sparsecheckout # timeout=10 17:27:46 > git checkout -f d31272688f4a7be175ba8c72e10737706cb62170 # timeout=10 17:27:50 Commit message: "Merge commit '889e38f586d888c0021f1798e3d6b8462ec57b6f' into HEAD" 17:27:50 First time build. Skipping changelog. [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 17:27:50 > git rev-list --no-walk f52e96a17fa5a253b9a972e3b71ea00fc70316a5 # timeout=10 17:27:51 + sudo jq '. + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false}' /etc/docker/daemon.json [Pipeline] sh 17:27:52 + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh 17:27:52 + sudo service docker restart 17:27:52 + true 17:27:52 Redirecting to /bin/systemctl restart docker.service [Pipeline] withEnv [Pipeline] { [Pipeline] wrap 17:27:54 provisioning config files... 17:27:54 copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/2@tmp/config4291680173691288504tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 17:27:54 ---> docker-login.sh 17:27:54 nexus3.edgexfoundry.org:10001 17:27:57 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:27:57 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:27:57 Configure a credential helper to remove this warning. See 17:27:57 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:27:57 17:27:57 Login Succeeded 17:27:57 nexus3.edgexfoundry.org:10002 17:27:57 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:27:58 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:27:58 Configure a credential helper to remove this warning. See 17:27:58 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:27:58 17:27:58 Login Succeeded 17:27:58 nexus3.edgexfoundry.org:10003 17:27:58 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:27:58 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:27:58 Configure a credential helper to remove this warning. See 17:27:58 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:27:58 17:27:58 Login Succeeded 17:27:58 nexus3.edgexfoundry.org:10004 17:27:58 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:27:58 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:27:58 Configure a credential helper to remove this warning. See 17:27:58 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:27:58 17:27:58 Login Succeeded 17:27:58 docker.io 17:27:59 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:27:59 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:27:59 Configure a credential helper to remove this warning. See 17:27:59 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:27:59 17:27:59 Login Succeeded 17:27:59 ---> docker-login.sh ends [Pipeline] } 17:27:59 Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 17:28:00 ========================================================= 17:28:00 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine] 17:28:00 ========================================================= [Pipeline] isUnix [Pipeline] sh 17:28:00 + 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:28:01 Sending build context to Docker daemon 2.582MB 17:28:01 Step 1/8 : ARG BASE=golang:1.16-alpine3.12 17:28:01 Step 2/8 : FROM ${BASE} 17:28:01 1.16-alpine: Pulling from edgex-devops/edgex-golang-base 17:28:01 540db60ca938: Pulling fs layer 17:28:01 adcc1eea9eea: Pulling fs layer 17:28:01 4c4ab2625f07: Pulling fs layer 17:28:01 0510c868ecb4: Pulling fs layer 17:28:01 afea3b2eda06: Pulling fs layer 17:28:01 7809a108b3ef: Pulling fs layer 17:28:01 f706445af74f: Pulling fs layer 17:28:01 0510c868ecb4: Waiting 17:28:01 afea3b2eda06: Waiting 17:28:01 7809a108b3ef: Waiting 17:28:01 f706445af74f: Waiting 17:28:01 4c4ab2625f07: Download complete 17:28:01 adcc1eea9eea: Verifying Checksum 17:28:01 adcc1eea9eea: Download complete 17:28:01 afea3b2eda06: Verifying Checksum 17:28:01 afea3b2eda06: Download complete 17:28:01 7809a108b3ef: Verifying Checksum 17:28:01 7809a108b3ef: Download complete 17:28:01 540db60ca938: Verifying Checksum 17:28:01 540db60ca938: Download complete 17:28:02 540db60ca938: Pull complete 17:28:03 Running on prd-ubuntu18.04-docker-arm64-4c-16g-4537 in /w/workspace/dgexfoundry_device-sdk-go_PR-922 [Pipeline] { [Pipeline] ws 17:28:03 Running in /w/workspace/device-sdk-go/2 [Pipeline] { [Pipeline] checkout 17:28:03 adcc1eea9eea: Pull complete 17:28:03 4c4ab2625f07: Pull complete 17:28:06 f706445af74f: Verifying Checksum 17:28:06 f706445af74f: Download complete 17:28:08 using credential edgex-jenkins-ssh 17:28:08 0510c868ecb4: Verifying Checksum 17:28:08 0510c868ecb4: Download complete 17:28:08 Cloning the remote Git repository 17:28:08 Cloning repository git@github.com:edgexfoundry/device-sdk-go.git 17:28:08 > git init /w/workspace/device-sdk-go/2 # timeout=10 17:28:08 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 17:28:08 > git --version # timeout=10 17:28:08 > git --version # 'git version 2.17.1' 17:28:08 using GIT_SSH to set credentials SSH Credentials for GitHub 17:28:08 > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 17:28:10 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 17:28:10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 17:28:10 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 17:28:10 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 17:28:10 using GIT_SSH to set credentials SSH Credentials for GitHub 17:28:10 > 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:28:10 Merging remotes/origin/master commit 889e38f586d888c0021f1798e3d6b8462ec57b6f into PR head commit 084a7d328f0cc1d27f05d55b3a6ee84e16cf3fb8 17:28:11 Merge succeeded, producing ff5a291927e95866cb817ebdb6aa7767c4a34ad0 17:28:11 Checking out Revision ff5a291927e95866cb817ebdb6aa7767c4a34ad0 (PR-922) 17:28:10 > git config core.sparsecheckout # timeout=10 17:28:10 > git checkout -f 084a7d328f0cc1d27f05d55b3a6ee84e16cf3fb8 # timeout=10 17:28:11 > git remote # timeout=10 17:28:11 > git config --get remote.origin.url # timeout=10 17:28:11 using GIT_SSH to set credentials SSH Credentials for GitHub 17:28:11 > git merge 889e38f586d888c0021f1798e3d6b8462ec57b6f # timeout=10 17:28:11 > git rev-parse HEAD^{commit} # timeout=10 17:28:11 > git config core.sparsecheckout # timeout=10 17:28:11 > git checkout -f ff5a291927e95866cb817ebdb6aa7767c4a34ad0 # timeout=10 17:28:15 Commit message: "Merge commit '889e38f586d888c0021f1798e3d6b8462ec57b6f' into HEAD" 17:28:15 First time build. Skipping changelog. [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 17:28:15 > git rev-list --no-walk f52e96a17fa5a253b9a972e3b71ea00fc70316a5 # timeout=10 17:28:16 + sudo jq . + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false} /etc/docker/daemon.json [Pipeline] sh 17:28:17 + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh 17:28:17 + true 17:28:17 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] wrap 17:28:20 provisioning config files... 17:28:20 copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/2@tmp/config7079544509595684256tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 17:28:20 ---> docker-login.sh 17:28:20 nexus3.edgexfoundry.org:10001 17:28:21 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:28:21 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:28:21 Configure a credential helper to remove this warning. See 17:28:21 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:28:21 17:28:21 Login Succeeded 17:28:21 nexus3.edgexfoundry.org:10002 17:28:22 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:28:22 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:28:22 Configure a credential helper to remove this warning. See 17:28:22 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:28:22 17:28:22 Login Succeeded 17:28:22 nexus3.edgexfoundry.org:10003 17:28:22 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:28:22 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:28:22 Configure a credential helper to remove this warning. See 17:28:22 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:28:22 17:28:22 Login Succeeded 17:28:22 nexus3.edgexfoundry.org:10004 17:28:23 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:28:23 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:28:23 Configure a credential helper to remove this warning. See 17:28:23 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:28:23 17:28:23 Login Succeeded 17:28:23 docker.io 17:28:23 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:28:24 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:28:24 Configure a credential helper to remove this warning. See 17:28:24 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:28:24 17:28:24 Login Succeeded 17:28:24 ---> docker-login.sh ends [Pipeline] } 17:28:24 Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 17:28:24 ========================================================= 17:28:24 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine] 17:28:24 ========================================================= [Pipeline] isUnix [Pipeline] sh 17:28:24 + 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:28:25 Sending build context to Docker daemon 2.588MB 17:28:25 Step 1/8 : ARG BASE=golang:1.16-alpine3.12 17:28:25 Step 2/8 : FROM ${BASE} 17:28:25 1.16-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 17:28:25 595b0fe564bb: Pulling fs layer 17:28:25 7186ed65a4f7: Pulling fs layer 17:28:25 316046926c0a: Pulling fs layer 17:28:25 4ebd0625c992: Pulling fs layer 17:28:25 207e8628e3a3: Pulling fs layer 17:28:25 c791037a9be2: Pulling fs layer 17:28:25 ffd874e62e21: Pulling fs layer 17:28:25 c791037a9be2: Waiting 17:28:25 207e8628e3a3: Waiting 17:28:25 ffd874e62e21: Waiting 17:28:25 316046926c0a: Verifying Checksum 17:28:25 316046926c0a: Download complete 17:28:25 7186ed65a4f7: Verifying Checksum 17:28:25 7186ed65a4f7: Download complete 17:28:25 207e8628e3a3: Verifying Checksum 17:28:25 207e8628e3a3: Download complete 17:28:25 c791037a9be2: Download complete 17:28:26 595b0fe564bb: Verifying Checksum 17:28:26 595b0fe564bb: Download complete 17:28:26 595b0fe564bb: Pull complete 17:28:27 7186ed65a4f7: Pull complete 17:28:27 0510c868ecb4: Pull complete 17:28:27 afea3b2eda06: Pull complete 17:28:27 7809a108b3ef: Pull complete 17:28:27 316046926c0a: Pull complete 17:28:29 ffd874e62e21: Verifying Checksum 17:28:29 ffd874e62e21: Download complete 17:28:30 4ebd0625c992: Verifying Checksum 17:28:30 4ebd0625c992: Download complete 17:28:36 f706445af74f: Pull complete 17:28:36 Digest: sha256:3789524f83b4b99ff44900c39f6da7fc44f99660cd9adf292610dec398b137f4 17:28:36 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine 17:28:36 ---> b068be0155e3 17:28:36 Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 17:28:36 ---> Running in cdf04385d62c 17:28:38 Removing intermediate container cdf04385d62c 17:28:38 ---> 7b111c71cdcd 17:28:38 Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 17:28:38 ---> Running in 56bf1b483a35 17:28:40 4ebd0625c992: Pull complete 17:28:40 207e8628e3a3: Pull complete 17:28:40 c791037a9be2: Pull complete 17:28:40 Removing intermediate container 56bf1b483a35 17:28:40 ---> 4687435cbd0e 17:28:40 Step 5/8 : RUN apk add --update --no-cache make git gcc libc-dev libsodium-dev zeromq-dev 17:28:40 ---> Running in e6685c6b85bc 17:28:41 fetch https://nl.alpinelinux.org/alpine/v3.13/main/x86_64/APKINDEX.tar.gz 17:28:42 fetch https://nl.alpinelinux.org/alpine/v3.13/community/x86_64/APKINDEX.tar.gz 17:28:43 (1/6) Installing libc-dev (0.7.2-r3) 17:28:43 (2/6) Installing libsodium (1.0.18-r0) 17:28:43 (3/6) Installing pkgconf (1.7.3-r0) 17:28:43 (4/6) Installing libsodium-dev (1.0.18-r0) 17:28:44 ffd874e62e21: Pull complete 17:28:44 Digest: sha256:fad7b58e697bd06bcf362d803a3263ca5ec03b905aa8665231fe3262941fe3e0 17:28:44 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine 17:28:44 ---> cfc18b08335c 17:28:44 Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 17:28:44 (5/6) Installing libzmq (4.3.3-r1) 17:28:44 (6/6) Installing zeromq-dev (4.3.3-r1) 17:28:44 Executing busybox-1.32.1-r6.trigger 17:28:44 OK: 150 MiB in 46 packages 17:28:45 Removing intermediate container e6685c6b85bc 17:28:45 ---> 0183f6493364 17:28:45 Step 6/8 : WORKDIR /device-sdk-go 17:28:45 ---> Running in 34651e212c31 17:28:46 Removing intermediate container 34651e212c31 17:28:46 ---> d2243412e7b5 17:28:46 Step 7/8 : COPY . . 17:28:47 ---> Running in f2b23aa6e41c 17:28:47 Removing intermediate container f2b23aa6e41c 17:28:47 ---> 02e43bac9f6f 17:28:47 Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 17:28:47 ---> Running in 0c5525517ef1 17:28:48 ---> c4fd4bf25752 17:28:48 Step 8/8 : RUN go mod download 17:28:48 ---> Running in db41c6b99107 17:28:50 Removing intermediate container 0c5525517ef1 17:28:50 ---> 6f9380b44486 17:28:50 Step 5/8 : RUN apk add --update --no-cache make git gcc libc-dev libsodium-dev zeromq-dev 17:28:50 ---> Running in 24fa96c4a21b 17:28:51 fetch https://nl.alpinelinux.org/alpine/v3.13/main/aarch64/APKINDEX.tar.gz 17:28:52 fetch https://nl.alpinelinux.org/alpine/v3.13/community/aarch64/APKINDEX.tar.gz 17:28:53 (1/6) Installing libc-dev (0.7.2-r3) 17:28:54 (2/6) Installing libsodium (1.0.18-r0) 17:28:54 (3/6) Installing pkgconf (1.7.3-r0) 17:28:54 (4/6) Installing libsodium-dev (1.0.18-r0) 17:28:54 (5/6) Installing libzmq (4.3.3-r1) 17:28:54 (6/6) Installing zeromq-dev (4.3.3-r1) 17:28:54 Executing busybox-1.32.1-r6.trigger 17:28:54 OK: 139 MiB in 46 packages 17:28:56 Removing intermediate container 24fa96c4a21b 17:28:56 ---> 07f1b24c329e 17:28:56 Step 6/8 : WORKDIR /device-sdk-go 17:28:56 ---> Running in c129576fc371 17:28:56 Removing intermediate container c129576fc371 17:28:56 ---> b3c56ea5d55a 17:28:56 Step 7/8 : COPY . . 17:28:58 ---> dce18324fbed 17:28:58 Step 8/8 : RUN go mod download 17:28:58 ---> Running in 1d4e18ddb439 17:29:25 Removing intermediate container 1d4e18ddb439 17:29:25 ---> d193a88ac842 17:29:25 Successfully built d193a88ac842 17:29:25 Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh 17:29:25 + docker inspect -f . ci-base-image-arm64 17:29:25 . [Pipeline] withDockerContainer 17:29:25 prd-ubuntu18.04-docker-arm64-4c-16g-4537 does not seem to be running inside a container 17:29:25 $ 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 ******** -e ******** -e ******** ci-base-image-arm64 cat 17:29:27 $ docker top 87621f0e55ab1808d3d11c2f5c3691a80198a2f593ed45467494580933d47a45 -eo pid,comm [Pipeline] { [Pipeline] sh 17:29:28 + go version 17:29:28 go version go1.16.3 linux/arm64 [Pipeline] } 17:29:28 $ docker stop --time=1 87621f0e55ab1808d3d11c2f5c3691a80198a2f593ed45467494580933d47a45 17:29:30 $ docker rm -f 87621f0e55ab1808d3d11c2f5c3691a80198a2f593ed45467494580933d47a45 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 17:29:31 + docker inspect -f . ci-base-image-arm64 17:29:31 . [Pipeline] withDockerContainer 17:29:31 prd-ubuntu18.04-docker-arm64-4c-16g-4537 does not seem to be running inside a container 17:29: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 ******** -e ******** -e ******** ci-base-image-arm64 cat 17:29:32 $ docker top fe74ca2e99788bdbbf5ab213df9e8bbe949d97da4f76c360d50eec793b33157e -eo pid,comm [Pipeline] { [Pipeline] sh 17:29:33 + go mod tidy [Pipeline] sh 17:29:35 + make test 17:29:35 GO111MODULE=on go test -race -coverprofile=coverage.out ./... 17:29:36 Removing intermediate container db41c6b99107 17:29:36 ---> 37f931dde37b 17:29:36 Successfully built 37f931dde37b 17:29:36 Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh 17:29:36 + docker inspect -f . ci-base-image-x86_64 17:29:37 . [Pipeline] withDockerContainer 17:29:37 prd-centos7-docker-4c-2g-4536 does not seem to be running inside a container 17:29:38 $ 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 ******** -e ******** ci-base-image-x86_64 cat 17:29:40 $ docker top addd78ea4b94afbc76c30ac98a0b0ddcce15860eb6d2b0721812bd05206bea36 -eo pid,comm [Pipeline] { [Pipeline] sh 17:29:41 + go version 17:29:41 go version go1.16.3 linux/amd64 [Pipeline] } 17:29:41 $ docker stop --time=1 addd78ea4b94afbc76c30ac98a0b0ddcce15860eb6d2b0721812bd05206bea36 17:29:43 $ docker rm -f addd78ea4b94afbc76c30ac98a0b0ddcce15860eb6d2b0721812bd05206bea36 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 17:29:44 + docker inspect -f . ci-base-image-x86_64 17:29:44 . [Pipeline] withDockerContainer 17:29:44 prd-centos7-docker-4c-2g-4536 does not seem to be running inside a container 17:29:44 $ 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 ******** -e ******** ci-base-image-x86_64 cat 17:29:46 $ docker top 148dfe3b2c64faf2e7f023724b797938767e5244a309275b00438268a4df0a79 -eo pid,comm [Pipeline] { [Pipeline] sh 17:29:47 + go mod tidy [Pipeline] sh 17:29:49 + make test 17:29:49 GO111MODULE=on go test -race -coverprofile=coverage.out ./... 17:30:02 ? github.com/edgexfoundry/device-sdk-go/v2 [no test files] 17:30:08 ? github.com/edgexfoundry/device-sdk-go/v2 [no test files] 17:30:58 ? github.com/edgexfoundry/device-sdk-go/v2/example/cmd/device-simple [no test files] 17:30:58 ? github.com/edgexfoundry/device-sdk-go/v2/example/config [no test files] 17:30:58 ? github.com/edgexfoundry/device-sdk-go/v2/example/driver [no test files] 17:31:06 ? github.com/edgexfoundry/device-sdk-go/v2/example/cmd/device-simple [no test files] 17:31:06 ? github.com/edgexfoundry/device-sdk-go/v2/example/config [no test files] 17:31:06 ? github.com/edgexfoundry/device-sdk-go/v2/example/driver [no test files] 17:31:08 ok github.com/edgexfoundry/device-sdk-go/v2/internal/application 0.227s coverage: 25.4% of statements 17:31:08 ? github.com/edgexfoundry/device-sdk-go/v2/internal/autodiscovery [no test files] 17:31:08 ok github.com/edgexfoundry/device-sdk-go/v2/internal/autoevent 0.237s coverage: 28.1% of statements 17:31:08 ok github.com/edgexfoundry/device-sdk-go/v2/internal/cache 0.222s coverage: 78.9% of statements 17:31:11 ok github.com/edgexfoundry/device-sdk-go/v2/internal/clients 1.186s coverage: 10.7% of statements 17:31:11 ? github.com/edgexfoundry/device-sdk-go/v2/internal/common [no test files] 17:31:11 ? github.com/edgexfoundry/device-sdk-go/v2/internal/config [no test files] 17:31:11 ? github.com/edgexfoundry/device-sdk-go/v2/internal/container [no test files] 17:31:12 ok github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http 0.373s coverage: 30.2% of statements 17:31:12 ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http/correlation [no test files] 17:31:13 ok github.com/edgexfoundry/device-sdk-go/v2/internal/application 0.281s coverage: 25.4% of statements 17:31:13 ? github.com/edgexfoundry/device-sdk-go/v2/internal/autodiscovery [no test files] 17:31:13 ok github.com/edgexfoundry/device-sdk-go/v2/internal/autoevent 0.140s coverage: 28.1% of statements 17:31:13 ok github.com/edgexfoundry/device-sdk-go/v2/internal/cache 0.266s coverage: 78.9% of statements 17:31:13 ok github.com/edgexfoundry/device-sdk-go/v2/internal/clients 1.188s coverage: 10.7% of statements 17:31:13 ? github.com/edgexfoundry/device-sdk-go/v2/internal/common [no test files] 17:31:13 ? github.com/edgexfoundry/device-sdk-go/v2/internal/config [no test files] 17:31:13 ? github.com/edgexfoundry/device-sdk-go/v2/internal/container [no test files] 17:31:14 ok github.com/edgexfoundry/device-sdk-go/v2/internal/messaging 1.206s coverage: 83.3% of statements 17:31:14 ? github.com/edgexfoundry/device-sdk-go/v2/internal/provision [no test files] 17:31:14 ? github.com/edgexfoundry/device-sdk-go/v2/internal/telemetry [no test files] 17:31:14 ok github.com/edgexfoundry/device-sdk-go/v2/internal/transformer 0.251s coverage: 58.4% of statements 17:31:15 ok github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http 0.242s coverage: 30.2% of statements 17:31:15 ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http/correlation [no test files] 17:31:16 ok github.com/edgexfoundry/device-sdk-go/v2/internal/messaging 1.188s coverage: 83.3% of statements 17:31:16 ? github.com/edgexfoundry/device-sdk-go/v2/internal/provision [no test files] 17:31:16 ? github.com/edgexfoundry/device-sdk-go/v2/internal/telemetry [no test files] 17:31:16 ok github.com/edgexfoundry/device-sdk-go/v2/internal/transformer 0.378s coverage: 58.4% of statements 17:31:17 ok github.com/edgexfoundry/device-sdk-go/v2/pkg/models 1.821s coverage: 89.2% of statements 17:31:17 ? github.com/edgexfoundry/device-sdk-go/v2/pkg/models/mocks [no test files] 17:31:17 ok github.com/edgexfoundry/device-sdk-go/v2/pkg/service 0.079s coverage: 5.0% of statements 17:31:17 ? github.com/edgexfoundry/device-sdk-go/v2/pkg/startup [no test files] 17:31:17 GO111MODULE=on go vet ./... 17:31:21 ok github.com/edgexfoundry/device-sdk-go/v2/pkg/models 2.965s coverage: 89.2% of statements 17:31:21 ? github.com/edgexfoundry/device-sdk-go/v2/pkg/models/mocks [no test files] 17:31:21 ok github.com/edgexfoundry/device-sdk-go/v2/pkg/service 0.149s coverage: 5.0% of statements 17:31:21 ? github.com/edgexfoundry/device-sdk-go/v2/pkg/startup [no test files] 17:31:21 GO111MODULE=on go vet ./... 17:32:05 gofmt -l . 17:32:05 [ "`gofmt -l .`" = "" ] 17:32:05 ./bin/test-attribution-txt.sh 17:32:05 ./bin/test-go-mod-tidy.sh [Pipeline] } 17:32:05 $ docker stop --time=1 148dfe3b2c64faf2e7f023724b797938767e5244a309275b00438268a4df0a79 17:32:08 $ docker rm -f 148dfe3b2c64faf2e7f023724b797938767e5244a309275b00438268a4df0a79 [Pipeline] // withDockerContainer [Pipeline] sh 17:32:09 + sudo chown -R jenkins:jenkins . [Pipeline] stash 17:32:10 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 17:32:11 + sudo chown -R jenkins:jenkins . [Pipeline] sh 17:32:11 + ls -al . 17:32:11 total 208 17:32:11 drwxrwxr-x. 10 jenkins jenkins 4096 May 11 17:32 . 17:32:11 drwxrwxr-x. 4 jenkins jenkins 28 May 11 17:27 .. 17:32:11 drwxrwxr-x. 2 jenkins jenkins 64 May 11 17:27 bin 17:32:11 -rw-r--r--. 1 jenkins jenkins 126002 May 11 17:31 coverage.out 17:32:11 -rw-rw-r--. 1 jenkins jenkins 987 May 11 17:27 Dockerfile.build 17:32:11 -rw-rw-r--. 1 jenkins jenkins 140 May 11 17:27 .dockerignore 17:32:11 drwxrwxr-x. 5 jenkins jenkins 62 May 11 17:27 example 17:32:11 drwxrwxr-x. 8 jenkins jenkins 179 May 11 17:27 .git 17:32:11 drwxrwxr-x. 2 jenkins jenkins 103 May 11 17:27 .github 17:32:11 -rw-rw-r--. 1 jenkins jenkins 138 May 11 17:27 .gitignore 17:32:11 -rw-r--r--. 1 jenkins jenkins 575 May 11 17:32 go.mod 17:32:11 -rw-r--r--. 1 jenkins jenkins 20408 May 11 17:29 go.sum 17:32:11 drwxrwxr-x. 15 jenkins jenkins 224 May 11 17:27 internal 17:32:11 -rw-rw-r--. 1 jenkins jenkins 894 May 11 17:27 Jenkinsfile 17:32:11 -rw-rw-r--. 1 jenkins jenkins 11341 May 11 17:27 LICENSE 17:32:11 -rw-rw-r--. 1 jenkins jenkins 1000 May 11 17:27 Makefile 17:32:11 drwxrwxr-x. 4 jenkins jenkins 26 May 11 17:27 openapi 17:32:11 drwxrwxr-x. 5 jenkins jenkins 50 May 11 17:27 pkg 17:32:11 -rw-rw-r--. 1 jenkins jenkins 7652 May 11 17:27 README.md 17:32:11 -rw-rw-r--. 1 jenkins jenkins 6616 May 11 17:27 RELEASE-NOTES.txt 17:32:11 drwxrwxr-x. 4 jenkins jenkins 54 May 11 17:27 snap 17:32:11 -rw-rw-r--. 1 jenkins jenkins 5 May 11 17:25 VERSION 17:32:11 -rw-rw-r--. 1 jenkins jenkins 222 May 11 17:27 version.go [Pipeline] isUnix [Pipeline] sh 17:32:12 + 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=0734cdd67020a84f1ea440a79efb13ec8583638f --label arch=amd64 --label version=0.0.0 . 17:32:13 Sending build context to Docker daemon 2.709MB 17:32:13 Step 1/23 : ARG BASE=golang:1.16-alpine3.12 17:32:13 Step 2/23 : FROM ${BASE} AS builder 17:32:13 ---> 37f931dde37b 17:32:13 Step 3/23 : WORKDIR /device-sdk-go 17:32:13 ---> Running in 3acc9abf643f 17:32:14 Removing intermediate container 3acc9abf643f 17:32:14 ---> 1a4c26d175cd 17:32:14 Step 4/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 17:32:14 ---> Running in d809de576726 17:32:14 Removing intermediate container d809de576726 17:32:14 ---> 13a5ed577ea5 17:32:14 Step 5/23 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 17:32:14 ---> Running in cea2f41fe14e 17:32:16 Removing intermediate container cea2f41fe14e 17:32:16 ---> d7561af8b130 17:32:16 Step 6/23 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev 17:32:17 ---> Running in e4ecca81eac9 17:32:17 gofmt -l . 17:32:17 [ "`gofmt -l .`" = "" ] 17:32:17 ./bin/test-attribution-txt.sh 17:32:17 ./bin/test-go-mod-tidy.sh [Pipeline] } 17:32:17 $ docker stop --time=1 fe74ca2e99788bdbbf5ab213df9e8bbe949d97da4f76c360d50eec793b33157e 17:32:18 fetch https://nl.alpinelinux.org/alpine/v3.13/main/x86_64/APKINDEX.tar.gz 17:32:19 fetch https://nl.alpinelinux.org/alpine/v3.13/community/x86_64/APKINDEX.tar.gz 17:32:19 OK: 150 MiB in 46 packages 17:32:20 $ docker rm -f fe74ca2e99788bdbbf5ab213df9e8bbe949d97da4f76c360d50eec793b33157e 17:32:20 Removing intermediate container e4ecca81eac9 17:32:20 ---> 995eb896170e 17:32:20 Step 7/23 : COPY . . [Pipeline] // withDockerContainer [Pipeline] sh 17:32:21 + sudo chown -R jenkins:jenkins . [Pipeline] stash 17:32:21 Warning: overwriting stash ‘coverage-report’ 17:32:22 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 17:32:22 + sudo chown -R jenkins:jenkins . [Pipeline] sh 17:32:22 ---> ae76fb6576b6 17:32:22 Step 8/23 : RUN go mod download 17:32:22 ---> Running in efd6dd711dfa 17:32:23 + ls -al . 17:32:23 total 244 17:32:23 drwxrwxr-x 10 jenkins jenkins 4096 May 11 17:32 . 17:32:23 drwxrwxr-x 4 jenkins jenkins 4096 May 11 17:28 .. 17:32:23 -rw-rw-r-- 1 jenkins jenkins 140 May 11 17:28 .dockerignore 17:32:23 drwxrwxr-x 8 jenkins jenkins 4096 May 11 17:28 .git 17:32:23 drwxrwxr-x 2 jenkins jenkins 4096 May 11 17:28 .github 17:32:23 -rw-rw-r-- 1 jenkins jenkins 138 May 11 17:28 .gitignore 17:32:23 -rw-rw-r-- 1 jenkins jenkins 987 May 11 17:28 Dockerfile.build 17:32:23 -rw-rw-r-- 1 jenkins jenkins 894 May 11 17:28 Jenkinsfile 17:32:23 -rw-rw-r-- 1 jenkins jenkins 11341 May 11 17:28 LICENSE 17:32:23 -rw-rw-r-- 1 jenkins jenkins 1000 May 11 17:28 Makefile 17:32:23 -rw-rw-r-- 1 jenkins jenkins 7652 May 11 17:28 README.md 17:32:23 -rw-rw-r-- 1 jenkins jenkins 6616 May 11 17:28 RELEASE-NOTES.txt 17:32:23 -rw-rw-r-- 1 jenkins jenkins 5 May 11 17:25 VERSION 17:32:23 drwxrwxr-x 2 jenkins jenkins 4096 May 11 17:28 bin 17:32:23 -rw-r--r-- 1 jenkins jenkins 126002 May 11 17:31 coverage.out 17:32:23 drwxrwxr-x 5 jenkins jenkins 4096 May 11 17:28 example 17:32:23 -rw-r--r-- 1 jenkins jenkins 575 May 11 17:32 go.mod 17:32:23 -rw-r--r-- 1 jenkins jenkins 20408 May 11 17:29 go.sum 17:32:23 drwxrwxr-x 15 jenkins jenkins 4096 May 11 17:28 internal 17:32:23 drwxrwxr-x 4 jenkins jenkins 4096 May 11 17:28 openapi 17:32:23 drwxrwxr-x 5 jenkins jenkins 4096 May 11 17:28 pkg 17:32:23 drwxrwxr-x 4 jenkins jenkins 4096 May 11 17:28 snap 17:32:23 -rw-rw-r-- 1 jenkins jenkins 222 May 11 17:28 version.go [Pipeline] isUnix [Pipeline] sh 17:32: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=0734cdd67020a84f1ea440a79efb13ec8583638f --label arch=arm64 --label version=0.0.0 . 17:32:23 Sending build context to Docker daemon 2.715MB 17:32:23 Step 1/23 : ARG BASE=golang:1.16-alpine3.12 17:32:23 Step 2/23 : FROM ${BASE} AS builder 17:32:23 ---> d193a88ac842 17:32:23 Step 3/23 : WORKDIR /device-sdk-go 17:32:24 ---> Running in 3da4d41742f1 17:32:24 Removing intermediate container 3da4d41742f1 17:32:24 ---> af34a2aaf90a 17:32:24 Step 4/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 17:32:24 ---> Running in 3feed99f1678 17:32:25 Removing intermediate container 3feed99f1678 17:32:25 ---> e0c0f4da0a1a 17:32:25 Step 5/23 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 17:32:25 ---> Running in 8f2baec2013a 17:32:26 Removing intermediate container efd6dd711dfa 17:32:26 ---> a111cb7fac27 17:32:26 Step 9/23 : RUN make build 17:32:26 ---> Running in 0c0fe4aa8f86 17:32: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:32:27 Removing intermediate container 8f2baec2013a 17:32:27 ---> 3ee93156ae1d 17:32:27 Step 6/23 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev 17:32:27 ---> Running in 7a4c2f08b021 17:32:28 fetch https://nl.alpinelinux.org/alpine/v3.13/main/aarch64/APKINDEX.tar.gz 17:32:29 fetch https://nl.alpinelinux.org/alpine/v3.13/community/aarch64/APKINDEX.tar.gz 17:32:30 OK: 139 MiB in 46 packages 17:32:31 Removing intermediate container 7a4c2f08b021 17:32:31 ---> c46c99aa9fb6 17:32:31 Step 7/23 : COPY . . 17:32:33 ---> 48de2c8cf575 17:32:33 Step 8/23 : RUN go mod download 17:32:33 ---> Running in 557ebd7de794 17:32:35 Removing intermediate container 557ebd7de794 17:32:35 ---> b7802121b12c 17:32:35 Step 9/23 : RUN make build 17:32:35 ---> Running in ae230b09e58f 17:32:36 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:32:54 CGO_ENABLED=1 GO111MODULE=on go install -tags=safe 17:32:57 Removing intermediate container 0c0fe4aa8f86 17:32:57 ---> c1c5dee7e7d9 17:32:57 Step 10/23 : FROM alpine:3.12 17:32:57 3.12: Pulling from library/alpine 17:32:57 339de151aab4: Pulling fs layer 17:32:58 339de151aab4: Verifying Checksum 17:32:58 339de151aab4: Download complete 17:32:58 339de151aab4: Pull complete 17:32:58 Digest: sha256:36553b10a4947067b9fbb7d532951066293a68eae893beba1d9235f7d11a20ad 17:32:58 Status: Downloaded newer image for alpine:3.12 17:32:58 ---> 13621d1b12d4 17:32:58 Step 11/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 17:32:58 ---> Running in fbdde36332cb 17:32:59 Removing intermediate container fbdde36332cb 17:32:59 ---> af5c2ab7a037 17:32:59 Step 12/23 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 17:32:59 ---> Running in 04aba8070079 17:33:01 Removing intermediate container 04aba8070079 17:33:01 ---> 30486657ca80 17:33:01 Step 13/23 : RUN apk add --update --no-cache zeromq 17:33:01 ---> Running in 85df073fa3d1 17:33:02 fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz 17:33:03 fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz 17:33:04 (1/5) Installing libgcc (9.3.0-r2) 17:33:04 (2/5) Installing libsodium (1.0.18-r0) 17:33:04 (3/5) Installing libstdc++ (9.3.0-r2) 17:33:05 (4/5) Installing libzmq (4.3.3-r0) 17:33:05 (5/5) Installing zeromq (4.3.3-r0) 17:33:05 Executing busybox-1.31.1-r20.trigger 17:33:05 OK: 8 MiB in 19 packages 17:33:06 Removing intermediate container 85df073fa3d1 17:33:06 ---> bb023f9defd7 17:33:06 Step 14/23 : WORKDIR / 17:33:06 ---> Running in 8907000783e2 17:33:06 Removing intermediate container 8907000783e2 17:33:06 ---> f41297e8d06a 17:33:06 Step 15/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt 17:33:07 ---> 835a5b1fadd2 17:33:07 Step 16/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple 17:33:08 ---> 6e8de576cfa1 17:33:08 Step 17/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res 17:33:08 ---> 680db7214556 17:33:08 Step 18/23 : EXPOSE 49990 17:33:08 ---> Running in 565e3d118552 17:33:08 Removing intermediate container 565e3d118552 17:33:08 ---> cf95f2943d5a 17:33:08 Step 19/23 : ENTRYPOINT ["/device-simple"] 17:33:08 ---> Running in 92dc2aada2a4 17:33:09 CGO_ENABLED=1 GO111MODULE=on go install -tags=safe 17:33:09 Removing intermediate container 92dc2aada2a4 17:33:09 ---> d9fa8f16b78e 17:33:09 Step 20/23 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] 17:33:09 ---> Running in 9e6e9f121115 17:33:10 Removing intermediate container 9e6e9f121115 17:33:10 ---> 6ac6e43ac073 17:33:10 Step 21/23 : LABEL arch=amd64 17:33:10 ---> Running in 966235a35a84 17:33:11 Removing intermediate container 966235a35a84 17:33:11 ---> 5bb538d5ce55 17:33:11 Step 22/23 : LABEL git_sha=0734cdd67020a84f1ea440a79efb13ec8583638f 17:33:11 ---> Running in e21a02e1ee01 17:33:11 Removing intermediate container e21a02e1ee01 17:33:11 ---> 782e703c1628 17:33:11 Step 23/23 : LABEL version=0.0.0 17:33:11 ---> Running in 6764adff5033 17:33:11 Removing intermediate container 6764adff5033 17:33:11 ---> 5fd4f42486c2 17:33:11 [Warning] One or more build-args [MAKE ARCH] were not consumed 17:33:12 Successfully built 5fd4f42486c2 17:33:12 Successfully tagged device-sdk-simple:latest 17:33:12 Removing intermediate container ae230b09e58f 17:33:12 ---> 66f6beea7ac6 17:33:12 Step 10/23 : FROM alpine:3.12 17:33:12 3.12: Pulling from library/alpine 17:33:12 d2f70382dc9a: Pulling fs layer 17:33:12 d2f70382dc9a: Verifying Checksum 17:33:12 d2f70382dc9a: Download complete [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:33:13 ---> job-cost.sh 17:33:13 lf-activate-venv(): INFO: Creating python3 venv at /tmp/venv-ZUBy 17:33:13 d2f70382dc9a: Pull complete 17:33:13 Digest: sha256:36553b10a4947067b9fbb7d532951066293a68eae893beba1d9235f7d11a20ad 17:33:13 Status: Downloaded newer image for alpine:3.12 17:33:13 ---> 9852663dfa18 17:33:13 Step 11/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 17:33:13 ---> Running in 01b2cad2ccfb 17:33:13 Removing intermediate container 01b2cad2ccfb 17:33:13 ---> 4411ced083f8 17:33:13 Step 12/23 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 17:33:13 ---> Running in 09096348653b 17:33:16 Removing intermediate container 09096348653b 17:33:16 ---> 67a4e183d1fa 17:33:16 Step 13/23 : RUN apk add --update --no-cache zeromq 17:33:16 ---> Running in 9767c3f27201 17:33:17 fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz 17:33:18 fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz 17:33:18 (1/5) Installing libgcc (9.3.0-r2) 17:33:18 (2/5) Installing libsodium (1.0.18-r0) 17:33:18 (3/5) Installing libstdc++ (9.3.0-r2) 17:33:19 (4/5) Installing libzmq (4.3.3-r0) 17:33:19 (5/5) Installing zeromq (4.3.3-r0) 17:33:19 Executing busybox-1.31.1-r20.trigger 17:33:19 OK: 8 MiB in 19 packages 17:33:20 Removing intermediate container 9767c3f27201 17:33:20 ---> 341e25be1493 17:33:20 Step 14/23 : WORKDIR / 17:33:20 ---> Running in 484564c451de 17:33:21 Removing intermediate container 484564c451de 17:33:21 ---> 641551e3e83a 17:33:21 Step 15/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt 17:33:21 ---> f281865af5ce 17:33:21 Step 16/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple 17:33:23 ---> e8323287c23a 17:33:23 Step 17/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res 17:33:23 ---> a6e681e6176d 17:33:23 Step 18/23 : EXPOSE 49990 17:33:24 ---> Running in 1224c0259dd6 17:33:24 Removing intermediate container 1224c0259dd6 17:33:24 ---> 9f3a29d35bb5 17:33:24 Step 19/23 : ENTRYPOINT ["/device-simple"] 17:33:24 ---> Running in 5e9afdf498db 17:33:24 Removing intermediate container 5e9afdf498db 17:33:24 ---> 75a1a31c6bc3 17:33:24 Step 20/23 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] 17:33:25 ---> Running in a1097f40c93b 17:33:25 Removing intermediate container a1097f40c93b 17:33:25 ---> 81745e2ab5a2 17:33:25 Step 21/23 : LABEL arch=arm64 17:33:25 ---> Running in f86096958c5e 17:33:26 Removing intermediate container f86096958c5e 17:33:26 ---> 1539c19cf02d 17:33:26 Step 22/23 : LABEL git_sha=0734cdd67020a84f1ea440a79efb13ec8583638f 17:33:26 ---> Running in 73358deedd00 17:33:26 Removing intermediate container 73358deedd00 17:33:26 ---> 64b05e80661f 17:33:26 Step 23/23 : LABEL version=0.0.0 17:33:26 ---> Running in 45ab39a6c4d3 17:33:27 Removing intermediate container 45ab39a6c4d3 17:33:27 ---> b4761c38fc54 17:33:27 [Warning] One or more build-args [MAKE ARCH] were not consumed 17:33:27 Successfully built b4761c38fc54 17:33:27 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:33:28 ---> job-cost.sh 17:33:28 lf-activate-venv(): INFO: Creating python3 venv at /tmp/venv-evXg 17:33:40 lf-activate-venv(): INFO: Installing: zipp==1.1.0 python-openstackclient 17:34:07 lf-activate-venv(): INFO: Installing: zipp==1.1.0 python-openstackclient 17:34:27 lf-activate-venv(): INFO: Adding /tmp/venv-ZUBy/bin to PATH 17:34:27 INFO: No Stack... 17:34:27 INFO: Retrieving Pricing Info for: v1-standard-2 17:34:27 INFO: Archiving Costs [Pipeline] sh 17:34:27 + cat /w/workspace/device-sdk-go/2/archives/cost.csv 17:34:27 + cut -d, -f6 [Pipeline] lock 17:34:27 Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-PR-922-2-stack-cost] 17:34:27 Resource [jenkins-edgexfoundry-device-sdk-go-PR-922-2-stack-cost] did not exist. Created. 17:34:27 Lock acquired on [jenkins-edgexfoundry-device-sdk-go-PR-922-2-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 17:34:28 + echo total: 0.029999999329447746 [Pipeline] stash 17:34:28 Stashed 1 file(s) [Pipeline] } 17:34:28 Lock released on resource [jenkins-edgexfoundry-device-sdk-go-PR-922-2-stack-cost] [Pipeline] // lock [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } 17:35:43 lf-activate-venv(): INFO: Adding /tmp/venv-evXg/bin to PATH 17:35:43 INFO: No Stack... 17:35:43 INFO: Retrieving Pricing Info for: lf-standard-4 17:35:43 INFO: Archiving Costs [Pipeline] sh 17:35:44 + cat /w/workspace/device-sdk-go/2/archives/cost.csv 17:35:44 + cut -d, -f6 [Pipeline] lock 17:35:44 Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-PR-922-2-stack-cost] 17:35:44 Resource [jenkins-edgexfoundry-device-sdk-go-PR-922-2-stack-cost] did not exist. Created. 17:35:44 Lock acquired on [jenkins-edgexfoundry-device-sdk-go-PR-922-2-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 17:35:44 /w/workspace/device-sdk-go/2@tmp/durable-42113e1e/script.sh: 1: /w/workspace/device-sdk-go/2@tmp/durable-42113e1e/script.sh: Syntax error: Unterminated quoted string [Pipeline] sh 17:35:44 + echo total: 0.20999999344348907 [Pipeline] stash 17:35:45 Warning: overwriting stash ‘stack-cost’ 17:35:45 Stashed 1 file(s) [Pipeline] } 17:35:45 Lock released on resource [jenkins-edgexfoundry-device-sdk-go-PR-922-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] wrap 17:35:45 provisioning config files... 17:35:45 copy managed file [device-sdk-go-codecov-token] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-922@tmp/config8228083102628990094tmp [Pipeline] { [Pipeline] sh 17:35:46 + set +x 17:35:46 + curl -s https://codecov.io/bash 17:35:46 + bash -s -- 17:35:46 17:35:46 _____ _ 17:35:46 / ____| | | 17:35:46 | | ___ __| | ___ ___ _____ __ 17:35:46 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 17:35:46 | |___| (_) | (_| | __/ (_| (_) \ V / 17:35:46 \_____\___/ \__,_|\___|\___\___/ \_/ 17:35:46 Bash-1.0.2 17:35:46 17:35:46 17:35:46 ==> git version 2.24.3 found 17:35:46 ==> 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:35:46 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtsp scp sftp smtp smtps telnet tftp 17:35:46 Features: AsynchDNS GSS-Negotiate IDN IPv6 Largefile NTLM NTLM_WB SSL libz unix-sockets 17:35:46 ==> Jenkins CI detected. 17:35:46 project root: . 17:35:46 --> token set from env 17:35:46 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 17:35:46 ==> Running gcov in . (disable via -X gcov) 17:35:46 ==> Python coveragepy not found 17:35:46 ==> Searching for coverage reports in: 17:35:46 + . 17:35:46 -> Found 1 reports 17:35:46 ==> Detecting git/mercurial file structure 17:35:46 ==> Reading reports 17:35:46 + ./coverage.out bytes=126002 17:35:46 ==> Appending adjustments 17:35:46 https://docs.codecov.io/docs/fixing-reports 17:35:46 + Found adjustments 17:35:46 ==> Gzipping contents 17:35:46 20K /tmp/codecov.jaJU2s.gz 17:35:46 ==> Uploading reports 17:35:46 url: https://codecov.io 17:35:46 query: branch=PR-922&commit=0734cdd67020a84f1ea440a79efb13ec8583638f&build=2&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-922%2F2%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=922&job=&cmd_args= 17:35:46 -> Pinging Codecov 17:35:46 https://codecov.io/upload/v4?package=bash-1.0.2&token=secret&branch=PR-922&commit=0734cdd67020a84f1ea440a79efb13ec8583638f&build=2&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-922%2F2%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=922&job=&cmd_args= 17:35:47 -> Uploading to 17:35:47 https://storage.googleapis.com/codecov/v4/raw/2021-05-11/7E55EF52A471D76F132DFD9A03CDDE97/0734cdd67020a84f1ea440a79efb13ec8583638f/69e4fea8-9cd1-47ff-a619-bb28fbca42f2.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EQM3VGPYSAFECJRMNAFIPCV2R3P2BOORCJC7NM537NPJQSFLHUDNIDWA%2F20210511%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20210511T173547Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=4fe33380f374ab6da633c0ec2762a35c3ac8998f4b6ec02258cbb7ecc5cf4bc1 17:35:47 % Total % Received % Xferd Average Speed Time Time Time Current 17:35:47 Dload Upload Total Spent Left Speed 17:35:47 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 16436 0 0 100 16436 0 41173 --:--:-- --:--:-- --:--:-- 41296 17:35:47 -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/device-sdk-go/commit/0734cdd67020a84f1ea440a79efb13ec8583638f [Pipeline] } 17:35:47 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:35:48 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 17:35:49 ---> package-listing.sh 17:35:49 ++ facter osfamily 17:35:49 ++ tr '[:upper:]' '[:lower:]' 17:35:49 + OS_FAMILY=redhat 17:35:49 + workspace=/w/workspace/dgexfoundry_device-sdk-go_PR-922 17:35:49 + START_PACKAGES=/tmp/packages_start.txt 17:35:49 + END_PACKAGES=/tmp/packages_end.txt 17:35:49 + DIFF_PACKAGES=/tmp/packages_diff.txt 17:35:49 + PACKAGES=/tmp/packages_start.txt 17:35:49 + '[' /w/workspace/dgexfoundry_device-sdk-go_PR-922 ']' 17:35:49 + PACKAGES=/tmp/packages_end.txt 17:35:49 + case "${OS_FAMILY}" in 17:35:49 + rpm -qa 17:35:49 + sort 17:35:54 + '[' -f /tmp/packages_start.txt ']' 17:35:54 + '[' -f /tmp/packages_end.txt ']' 17:35:54 + diff /tmp/packages_start.txt /tmp/packages_end.txt 17:35:54 + '[' /w/workspace/dgexfoundry_device-sdk-go_PR-922 ']' 17:35:54 + mkdir -p /w/workspace/dgexfoundry_device-sdk-go_PR-922/archives/ 17:35:54 + 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:35:54 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:35:55 + facter operatingsystem [Pipeline] isUnix [Pipeline] sh 17:35:55 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 17:35:55 17:35:55 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh 17:35:55 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 17:35:55 alpine: Pulling from edgex-lftools-log-publisher 17:35:55 df20fa9351a1: Pulling fs layer 17:35:55 36b3adc4ff6f: Pulling fs layer 17:35:55 8ad3a11d3b57: Pulling fs layer 17:35:55 46f8f816bc3b: Pulling fs layer 17:35:55 93b61091891f: Pulling fs layer 17:35:55 93b9cdb0e59b: Pulling fs layer 17:35:55 5e14af77c1be: Pulling fs layer 17:35:55 01666e4c0597: Pulling fs layer 17:35:55 aa168da1d23b: Pulling fs layer 17:35:55 93b9cdb0e59b: Waiting 17:35:55 5e14af77c1be: Waiting 17:35:55 46f8f816bc3b: Waiting 17:35:55 93b61091891f: Waiting 17:35:55 01666e4c0597: Waiting 17:35:55 36b3adc4ff6f: Verifying Checksum 17:35:55 36b3adc4ff6f: Download complete 17:35:55 46f8f816bc3b: Verifying Checksum 17:35:55 46f8f816bc3b: Download complete 17:35:55 df20fa9351a1: Download complete 17:35:55 93b9cdb0e59b: Verifying Checksum 17:35:55 93b9cdb0e59b: Download complete 17:35:55 5e14af77c1be: Download complete 17:35:55 93b61091891f: Verifying Checksum 17:35:55 93b61091891f: Download complete 17:35:55 01666e4c0597: Verifying Checksum 17:35:55 01666e4c0597: Download complete 17:35:55 8ad3a11d3b57: Verifying Checksum 17:35:55 8ad3a11d3b57: Download complete 17:35:56 df20fa9351a1: Pull complete 17:35:56 36b3adc4ff6f: Pull complete 17:35:57 aa168da1d23b: Verifying Checksum 17:35:58 8ad3a11d3b57: Pull complete 17:35:58 46f8f816bc3b: Pull complete 17:35:59 93b61091891f: Pull complete 17:35:59 93b9cdb0e59b: Pull complete 17:35:59 5e14af77c1be: Pull complete 17:35:59 01666e4c0597: Pull complete 17:36:07 aa168da1d23b: Pull complete 17:36:07 Digest: sha256:ac41798234670a79351fc13b8232b4dbeccc6fb1f122f5db5169d11b1762ca7c 17:36:07 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 17:36:07 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer 17:36:07 prd-centos7-docker-4c-2g-4532 does not seem to be running inside a container 17:36:07 $ 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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine cat 17:36:11 $ docker top 6143d19e1be32db1bf8ef635c22a8b9593af3a1fc4521d48ac4da0daee664f59 -eo pid,comm [Pipeline] { [Pipeline] sh 17:36:12 + touch /tmp/pre-build-complete [Pipeline] sh 17:36:12 + mkdir -p /var/log/sa [Pipeline] sh 17:36:12 + ls /var/log/sa-host 17:36:12 + sadf -c /var/log/sa-host/sa11 17:36:12 file_magic: OK 17:36:12 HZ: Using current value: 100 17:36:12 file_header: OK 17:36:12 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:36:12 Statistics: 17:36:12 HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... 17:36:12 File successfully converted to sysstat format version 12.2.1 17:36:12 + sadf -c /var/log/sa-host/sa23 17:36:12 file_magic: OK 17:36:12 HZ: Using current value: 100 17:36:12 file_header: OK 17:36:12 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:36:12 Statistics: 17:36:12 Hnuu...uuuununununu... 17:36:12 File successfully converted to sysstat format version 12.2.1 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 17:36:13 provisioning config files... 17:36:13 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-922@tmp/config3795935888353048840tmp [Pipeline] { [Pipeline] echo 17:36:13 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 17:36:13 ---> create-netrc.sh [Pipeline] } 17:36:13 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] echo 17:36:13 Running shell/python-tools-install.sh [Pipeline] libraryResource [Pipeline] sh 17:36:13 ---> python-tools-install.sh [Pipeline] echo 17:36:13 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 17:36:14 ---> sudo-logs.sh 17:36:14 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 17:36:14 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 17:36:14 ---> job-cost.sh 17:36:14 lf-activate-venv: SKIPPING 17:36:14 DEBUG: total: 0.20999999344348907 17:36:14 INFO: Retrieving Stack Cost... 17:36:15 INFO: Retrieving Pricing Info for: v1-standard-2 17:36:15 INFO: Archiving Costs [Pipeline] echo 17:36:15 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 17:36:16 ---> logs-deploy.sh 17:36:16 lf-activate-venv: SKIPPING 17:36:16 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-922/2 17:36:16 INFO: archiving workspace using pattern(s): 17:36:18 Archives upload complete. 17:36:18 INFO: archiving logs to Nexus