Pull request #905 opened 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 hahattan for edgexfoundry/device-sdk-go Obtained Jenkinsfile from c48d0fd9c0737fbf92a06ef469e542a1d1799588+92affc97e25621ac5a3617c0e5e42feb55191c77 (85d32f2794c0d6bb52fdd5096d27afe6086fb468) Running in Durability level: MAX_SURVIVABILITY Loading library edgex-global-pipelines@stable Attempting to resolve stable from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision aa25fb65c2461e649b1a162fbf19ec71f4863fbd Resolving tag commit... (remote references may be a lightweight tag or an annotated tag) > git rev-parse --is-inside-work-tree # timeout=10 Setting origin to git@github.com:edgexfoundry/edgex-global-pipelines.git > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching origin... Fetching upstream changes from origin > git --version # timeout=10 > git --version # 'git version 2.16.6' > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --progress -- origin +refs/heads/*:refs/remotes/origin/* # timeout=10 > git rev-parse refs/tags/stable^{commit} # timeout=10 Resolved tag stable revision aa25fb65c2461e649b1a162fbf19ec71f4863fbd using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning with configured refspecs honoured and with tags Cloning repository git@github.com:edgexfoundry/edgex-global-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/device-sdk-go/branches/PR-905/workspace@libs/edgex-global-pipelines # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching with tags Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision aa25fb65c2461e649b1a162fbf19ec71f4863fbd (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f aa25fb65c2461e649b1a162fbf19ec71f4863fbd # timeout=10 Commit message: "Merge pull request #336 from ernestojeda/golang-1.16" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 > git --version # timeout=10 > git --version # 'git version 2.16.6' Excluding src/test/ from checkout of git git@github.com:edgexfoundry/edgex-global-pipelines.git so that shared library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. Loading library lf-pipelines@master Attempting to resolve master from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision 46d8313d362d7075c0f562900eedc504c24ea18a using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning with configured refspecs honoured and without tags Cloning repository git@github.com:lfit/releng-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/device-sdk-go/branches/PR-905/workspace@libs/lf-pipelines # timeout=10 Fetching upstream changes from git@github.com:lfit/releng-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 Fetching without tags Fetching upstream changes from git@github.com:lfit/releng-pipelines.git using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision 46d8313d362d7075c0f562900eedc504c24ea18a (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 46d8313d362d7075c0f562900eedc504c24ea18a # timeout=10 Commit message: "Fix lfParallelCostCapture env var name" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 > git --version # timeout=10 > git --version # 'git version 2.16.6' fatal: bad object aa25fb65c2461e649b1a162fbf19ec71f4863fbd Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that shared library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-sdk-go, dockerImageName:docker-device-sdk-simple, dockerFilePath:example/cmd/device-simple/Dockerfile, pushImage:false, publishSwaggerDocs:true, swaggerApiFolders:[openapi/v1, openapi/v2]] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[centos7-docker-4c-2g, ubuntu18.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-sdk-go-settings PROJECT: device-sdk-go USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.16 GOPROXY: https://nexus3.edgexfoundry.org/repository/go-proxy/ DOCKER_BASE_IMAGE: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine DOCKER_FILE_PATH: example/cmd/device-simple/Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_IMAGE_NAME: docker-device-sdk-simple DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: false BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: true SWAGGER_API_FOLDERS: openapi/v1 openapi/v2 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] node Still waiting to schedule task All nodes of label ‘centos7-docker-4c-2g’ are offline Running on prd-centos7-docker-4c-2g-3028 in /w/workspace/dgexfoundry_device-sdk-go_PR-905 [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-905 # 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 > 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/905/head:refs/remotes/origin/PR-905 +refs/heads/master:refs/remotes/origin/master # timeout=10 Merging remotes/origin/master commit 92affc97e25621ac5a3617c0e5e42feb55191c77 into PR head commit c48d0fd9c0737fbf92a06ef469e542a1d1799588 Merge succeeded, producing c48d0fd9c0737fbf92a06ef469e542a1d1799588 Checking out Revision c48d0fd9c0737fbf92a06ef469e542a1d1799588 (PR-905) > git config core.sparsecheckout # timeout=10 > git checkout -f c48d0fd9c0737fbf92a06ef469e542a1d1799588 # 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 92affc97e25621ac5a3617c0e5e42feb55191c77 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f c48d0fd9c0737fbf92a06ef469e542a1d1799588 # timeout=10 Commit message: "fix: correctly update DeviceService.deviceService model" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.24.3' fatal: bad object aa25fb65c2461e649b1a162fbf19ec71f4863fbd [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 10:16:44 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 10:16:44 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 10:16:44 ========================================================= 10:16:44 EdgeX Global Pipelines Version Info 10:16:44 ========================================================= [Pipeline] libraryResource [Pipeline] sh 10:16:46 ------------------- 10:16:46 stable info: 10:16:46 ------------------- 10:16:46 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 10:16:46 Commit SHA: aa25fb65c2461e649b1a162fbf19ec71f4863fbd 10:16:46 Message: update stable to v1.0.191 10:16:47 ------------------- 10:16:47 experimental info: 10:16:47 ------------------- 10:16:47 Commited By: **** collab-it+edgex@linuxfoundation.org 10:16:47 Commit SHA: aa25fb65c2461e649b1a162fbf19ec71f4863fbd 10:16:47 Message: update experimental to v1.0.191 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 10:16:47 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-go-settings [Pipeline] echo 10:16:47 [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-go [Pipeline] echo 10:16:48 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 10:16:48 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 10:16:48 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 10:16:48 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.16 [Pipeline] echo 10:16:48 [edgeXSetupEnvironment]: set envvar GOPROXY = https://nexus3.edgexfoundry.org/repository/go-proxy/ [Pipeline] echo 10:16:48 [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine [Pipeline] echo 10:16:48 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = example/cmd/device-simple/Dockerfile [Pipeline] echo 10:16:48 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 10:16:48 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 10:16:48 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = docker-device-sdk-simple [Pipeline] echo 10:16:48 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 10:16:48 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 10:16:48 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 10:16:48 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo 10:16:48 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 10:16:48 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 10:16:49 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 10:16:49 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 10:16:49 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo 10:16:49 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 openapi/v2 [Pipeline] echo 10:16:49 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 10:16:49 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 10:16:49 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 10:16:49 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 10:16:49 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-905 [Pipeline] echo 10:16:49 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-905 [Pipeline] echo 10:16:49 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-905 [Pipeline] echo 10:16:49 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = c48d0fd9c0737fbf92a06ef469e542a1d1799588 [Pipeline] echo 10:16:49 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = c48d0fd [Pipeline] echo 10:16:49 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] wrap 10:16:50 provisioning config files... 10:16:50 copy managed file [device-sdk-go-settings] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-905@tmp/config1165394003335693346tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 10:16:50 ---> docker-login.sh 10:16:50 nexus3.edgexfoundry.org:10001 10:16:50 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 10:16:50 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 10:16:50 Configure a credential helper to remove this warning. See 10:16:50 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 10:16:50 10:16:50 Login Succeeded 10:16:50 nexus3.edgexfoundry.org:10002 10:16:51 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 10:16:51 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 10:16:51 Configure a credential helper to remove this warning. See 10:16:51 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 10:16:51 10:16:51 Login Succeeded 10:16:51 nexus3.edgexfoundry.org:10003 10:16:51 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 10:16:51 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 10:16:51 Configure a credential helper to remove this warning. See 10:16:51 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 10:16:51 10:16:51 Login Succeeded 10:16:51 nexus3.edgexfoundry.org:10004 10:16:51 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 10:16:51 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 10:16:51 Configure a credential helper to remove this warning. See 10:16:51 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 10:16:51 10:16:51 Login Succeeded 10:16:51 docker.io 10:16:52 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 10:16:52 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 10:16:52 Configure a credential helper to remove this warning. See 10:16:52 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 10:16:52 10:16:52 Login Succeeded 10:16:52 ---> docker-login.sh ends [Pipeline] } 10:16:52 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 10:16:53 + git log --format=format:%s -1 c48d0fd9c0737fbf92a06ef469e542a1d1799588 [Pipeline] echo 10:16:53 GIT_COMMIT: c48d0fd9c0737fbf92a06ef469e542a1d1799588, Commit Message: fix: correctly update DeviceService.deviceService model [Pipeline] echo 10:16:53 This is not a build commit. [Pipeline] isUnix [Pipeline] sh 10:16:54 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 10:16:54 10:16:54 Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh 10:16:54 + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 10:16:54 latest: Pulling from edgex-devops/git-semver 10:16:54 31603596830f: Pulling fs layer 10:16:54 54011a49482f: Pulling fs layer 10:16:54 a6820b24f6d8: Pulling fs layer 10:16:54 f581987b2513: Pulling fs layer 10:16:54 f581987b2513: Waiting 10:16:54 54011a49482f: Download complete 10:16:55 31603596830f: Verifying Checksum 10:16:55 31603596830f: Download complete 10:16:55 f581987b2513: Verifying Checksum 10:16:55 f581987b2513: Download complete 10:16:55 a6820b24f6d8: Verifying Checksum 10:16:55 a6820b24f6d8: Download complete 10:16:55 31603596830f: Pull complete 10:16:55 54011a49482f: Pull complete 10:16:57 a6820b24f6d8: Pull complete 10:16:57 f581987b2513: Pull complete 10:16:57 Digest: sha256:772af3cb61214e5a22880db9bb273bb039d0aa3a8f4edfa0c1def8b4e20ea536 10:16:57 Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 10:16:57 nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer 10:16:57 prd-centos7-docker-4c-2g-3028 does not seem to be running inside a container 10:16:57 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/dgexfoundry_device-sdk-go_PR-905 -v /w/workspace/dgexfoundry_device-sdk-go_PR-905:/w/workspace/dgexfoundry_device-sdk-go_PR-905:rw,z -v /w/workspace/dgexfoundry_device-sdk-go_PR-905@tmp:/w/workspace/dgexfoundry_device-sdk-go_PR-905@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 ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat 10:16:59 $ docker top 46248619971fb8c4cc2326a88c52723dcd3317615c941ed6a7b89cd0ecb0b223 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 10:16:59 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 10:16:59 [ssh-agent] Looking for ssh-agent implementation... 10:17:00 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 10:17:00 $ docker exec 46248619971fb8c4cc2326a88c52723dcd3317615c941ed6a7b89cd0ecb0b223 ssh-agent 10:17:00 SSH_AUTH_SOCK=/tmp/ssh-PjbHC4lR6D5x/agent.11 10:17:00 SSH_AGENT_PID=16 10:17:00 Running ssh-add (command line suppressed) 10:17:00 Identity added: /w/workspace/dgexfoundry_device-sdk-go_PR-905@tmp/private_key_3176070491790732686.key (/w/workspace/dgexfoundry_device-sdk-go_PR-905@tmp/private_key_3176070491790732686.key) 10:17:00 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 10:17:01 + git tag --points-at HEAD [Pipeline] } 10:17:01 $ docker exec --env ******** --env ******** 46248619971fb8c4cc2326a88c52723dcd3317615c941ed6a7b89cd0ecb0b223 ssh-agent -k 10:17:01 unset SSH_AUTH_SOCK; 10:17:01 unset SSH_AGENT_PID; 10:17:01 echo Agent pid 16 killed; 10:17:01 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 10:17:01 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 10:17:01 [ssh-agent] Looking for ssh-agent implementation... 10:17:01 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 10:17:01 $ docker exec 46248619971fb8c4cc2326a88c52723dcd3317615c941ed6a7b89cd0ecb0b223 ssh-agent 10:17:01 SSH_AUTH_SOCK=/tmp/ssh-DBdFzAdmii61/agent.45 10:17:01 SSH_AGENT_PID=50 10:17:01 Running ssh-add (command line suppressed) 10:17:01 Identity added: /w/workspace/dgexfoundry_device-sdk-go_PR-905@tmp/private_key_1220232815235764127.key (/w/workspace/dgexfoundry_device-sdk-go_PR-905@tmp/private_key_1220232815235764127.key) 10:17:02 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 10:17:02 + git semver init 10:17:02 # -> Open(): unable to determine branch for HEAD 10:17:02 # $GIT_DIR = /w/workspace/dgexfoundry_device-sdk-go_PR-905/.git 10:17:02 # $GIT_WORK_TREE = /w/workspace/dgexfoundry_device-sdk-go_PR-905 10:17:02 # $SEMVER_REMOTE_NAME = origin 10:17:02 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 10:17:02 # $SEMVER_USER_NAME = edgex-jenkins 10:17:02 # $SEMVER_BRANCH = PR-905 10:17:02 # $SEMVER_TEMP = /tmp/semver-089024715 10:17:02 # git clone --branch semver git@github.com:edgexfoundry/device-sdk-go.git $SEMVER_TEMP 10:17:04 # '/tmp/semver-089024715' -> '/w/workspace/dgexfoundry_device-sdk-go_PR-905/.semver' 10:17:04 # -> Force: false 10:17:04 # $SEMVER_DIR = /w/workspace/dgexfoundry_device-sdk-go_PR-905/.semver [Pipeline] } 10:17:04 $ docker exec --env ******** --env ******** 46248619971fb8c4cc2326a88c52723dcd3317615c941ed6a7b89cd0ecb0b223 ssh-agent -k 10:17:05 unset SSH_AUTH_SOCK; 10:17:05 unset SSH_AGENT_PID; 10:17:05 echo Agent pid 50 killed; 10:17:05 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 10:17:05 + git semver [Pipeline] } 10:17:05 $ docker stop --time=1 46248619971fb8c4cc2326a88c52723dcd3317615c941ed6a7b89cd0ecb0b223 10:17:07 $ docker rm -f 46248619971fb8c4cc2326a88c52723dcd3317615c941ed6a7b89cd0ecb0b223 [Pipeline] // withDockerContainer [Pipeline] sh 10:17:07 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 10:17:08 Stashed 1 file(s) [Pipeline] echo 10:17:08 [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 10:17:23 Still waiting to schedule task 10:17:23 Waiting for next available executor on ‘prd-centos7-docker-4c-2g-3028’ 10:17:23 Still waiting to schedule task 10:17:23 ‘prd-ubuntu18.04-docker-arm64-4c-16g-2316’ is offline 10:19:00 Running on prd-ubuntu18.04-docker-arm64-4c-16g-3029 in /w/workspace/dgexfoundry_device-sdk-go_PR-905 [Pipeline] { [Pipeline] ws 10:19:00 Running in /w/workspace/device-sdk-go/1 [Pipeline] { [Pipeline] checkout 10:19:06 using credential edgex-jenkins-ssh 10:19:06 Cloning the remote Git repository 10:19:06 Cloning repository git@github.com:edgexfoundry/device-sdk-go.git 10:19:06 > git init /w/workspace/device-sdk-go/1 # timeout=10 10:19:06 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 10:19:06 > git --version # timeout=10 10:19:06 > git --version # 'git version 2.17.1' 10:19:06 using GIT_SSH to set credentials SSH Credentials for GitHub 10:19:06 > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 10:19:08 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 10:19:08 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 10:19:08 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 10:19:08 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 10:19:08 using GIT_SSH to set credentials SSH Credentials for GitHub 10:19:08 > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/905/head:refs/remotes/origin/PR-905 +refs/heads/master:refs/remotes/origin/master # timeout=10 10:19:08 Merging remotes/origin/master commit 92affc97e25621ac5a3617c0e5e42feb55191c77 into PR head commit c48d0fd9c0737fbf92a06ef469e542a1d1799588 10:19:09 Merge succeeded, producing c48d0fd9c0737fbf92a06ef469e542a1d1799588 10:19:09 Checking out Revision c48d0fd9c0737fbf92a06ef469e542a1d1799588 (PR-905) 10:19:08 > git config core.sparsecheckout # timeout=10 10:19:08 > git checkout -f c48d0fd9c0737fbf92a06ef469e542a1d1799588 # timeout=10 10:19:08 > git remote # timeout=10 10:19:09 > git config --get remote.origin.url # timeout=10 10:19:09 using GIT_SSH to set credentials SSH Credentials for GitHub 10:19:09 > git merge 92affc97e25621ac5a3617c0e5e42feb55191c77 # timeout=10 10:19:09 > git rev-parse HEAD^{commit} # timeout=10 10:19:09 > git config core.sparsecheckout # timeout=10 10:19:09 > git checkout -f c48d0fd9c0737fbf92a06ef469e542a1d1799588 # timeout=10 10:19:13 Commit message: "fix: correctly update DeviceService.deviceService model" 10:19:13 > git --version # timeout=10 10:19:13 > git --version # 'git version 2.17.1' 10:19:13 fatal: bad object aa25fb65c2461e649b1a162fbf19ec71f4863fbd [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 10:19:15 + sudo jq . + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false} /etc/docker/daemon.json [Pipeline] sh 10:19:15 + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh 10:19:16 + sudo service docker restart+ 10:19:16 true [Pipeline] withEnv [Pipeline] { [Pipeline] wrap 10:19:18 provisioning config files... 10:19:18 copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/1@tmp/config8318942365799345444tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 10:19:19 ---> docker-login.sh 10:19:19 nexus3.edgexfoundry.org:10001 10:19:20 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 10:19:20 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 10:19:20 Configure a credential helper to remove this warning. See 10:19:20 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 10:19:20 10:19:20 Login Succeeded 10:19:20 nexus3.edgexfoundry.org:10002 10:19:20 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 10:19:21 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 10:19:21 Configure a credential helper to remove this warning. See 10:19:21 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 10:19:21 10:19:21 Login Succeeded 10:19:21 nexus3.edgexfoundry.org:10003 10:19:21 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 10:19:21 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 10:19:21 Configure a credential helper to remove this warning. See 10:19:21 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 10:19:21 10:19:21 Login Succeeded 10:19:21 nexus3.edgexfoundry.org:10004 10:19:22 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 10:19:22 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 10:19:22 Configure a credential helper to remove this warning. See 10:19:22 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 10:19:22 10:19:22 Login Succeeded 10:19:22 docker.io 10:19:22 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 10:19:22 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 10:19:22 Configure a credential helper to remove this warning. See 10:19:22 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 10:19:22 10:19:22 Login Succeeded 10:19:23 ---> docker-login.sh ends [Pipeline] } 10:19:23 Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 10:19:23 ========================================================= 10:19:23 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine] 10:19:23 ========================================================= [Pipeline] isUnix [Pipeline] sh 10:19: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 . 10:19:24 Sending build context to Docker daemon 2.485MB 10:19:24 Step 1/8 : ARG BASE=golang:1.15-alpine3.12 10:19:24 Step 2/8 : FROM ${BASE} 10:19:24 1.16-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 10:19:24 595b0fe564bb: Pulling fs layer 10:19:24 7186ed65a4f7: Pulling fs layer 10:19:24 316046926c0a: Pulling fs layer 10:19:24 4ebd0625c992: Pulling fs layer 10:19:24 207e8628e3a3: Pulling fs layer 10:19:24 c791037a9be2: Pulling fs layer 10:19:24 ffd874e62e21: Pulling fs layer 10:19:24 207e8628e3a3: Waiting 10:19:24 c791037a9be2: Waiting 10:19:24 ffd874e62e21: Waiting 10:19:24 4ebd0625c992: Waiting 10:19:24 316046926c0a: Download complete 10:19:24 7186ed65a4f7: Verifying Checksum 10:19:24 7186ed65a4f7: Download complete 10:19:24 207e8628e3a3: Verifying Checksum 10:19:24 207e8628e3a3: Download complete 10:19:24 595b0fe564bb: Verifying Checksum 10:19:24 595b0fe564bb: Download complete 10:19:24 c791037a9be2: Verifying Checksum 10:19:24 c791037a9be2: Download complete 10:19:25 595b0fe564bb: Pull complete 10:19:26 7186ed65a4f7: Pull complete 10:19:26 316046926c0a: Pull complete 10:19:26 ffd874e62e21: Verifying Checksum 10:19:26 ffd874e62e21: Download complete 10:19:28 4ebd0625c992: Verifying Checksum 10:19:28 4ebd0625c992: Download complete 10:19:38 4ebd0625c992: Pull complete 10:19:38 207e8628e3a3: Pull complete 10:19:39 c791037a9be2: Pull complete 10:19:43 ffd874e62e21: Pull complete 10:19:43 Digest: sha256:fad7b58e697bd06bcf362d803a3263ca5ec03b905aa8665231fe3262941fe3e0 10:19:43 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine 10:19:43 ---> cfc18b08335c 10:19:43 Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 10:19:45 ---> Running in cb818fcde74c 10:19:46 Removing intermediate container cb818fcde74c 10:19:46 ---> af7a83b1f715 10:19:46 Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 10:19:46 ---> Running in bcf6bb390bc5 10:19:47 Running on prd-centos7-docker-4c-2g-3030 in /w/workspace/dgexfoundry_device-sdk-go_PR-905 [Pipeline] { [Pipeline] ws 10:19:47 Running in /w/workspace/device-sdk-go/1 [Pipeline] { [Pipeline] checkout 10:19:48 Removing intermediate container bcf6bb390bc5 10:19:48 ---> 457b911f294d 10:19:48 Step 5/8 : RUN apk add --update --no-cache make git gcc libc-dev libsodium-dev zeromq-dev 10:19:48 ---> Running in afbb2d0d0a4a 10:19:49 fetch https://nl.alpinelinux.org/alpine/v3.13/main/aarch64/APKINDEX.tar.gz 10:19:50 using credential edgex-jenkins-ssh 10:19:50 Cloning the remote Git repository 10:19:51 fetch https://nl.alpinelinux.org/alpine/v3.13/community/aarch64/APKINDEX.tar.gz 10:19:50 Cloning repository git@github.com:edgexfoundry/device-sdk-go.git 10:19:50 > git init /w/workspace/device-sdk-go/1 # timeout=10 10:19:50 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 10:19:50 > git --version # timeout=10 10:19:50 > git --version # 'git version 2.24.3' 10:19:50 using GIT_SSH to set credentials SSH Credentials for GitHub 10:19:50 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 10:19:52 Merging remotes/origin/master commit 92affc97e25621ac5a3617c0e5e42feb55191c77 into PR head commit c48d0fd9c0737fbf92a06ef469e542a1d1799588 10:19:52 Merge succeeded, producing c48d0fd9c0737fbf92a06ef469e542a1d1799588 10:19:52 Checking out Revision c48d0fd9c0737fbf92a06ef469e542a1d1799588 (PR-905) 10:19:51 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 10:19:51 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 10:19:51 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 10:19:51 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 10:19:51 using GIT_SSH to set credentials SSH Credentials for GitHub 10:19:51 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/905/head:refs/remotes/origin/PR-905 +refs/heads/master:refs/remotes/origin/master # timeout=10 10:19:52 > git config core.sparsecheckout # timeout=10 10:19:52 > git checkout -f c48d0fd9c0737fbf92a06ef469e542a1d1799588 # timeout=10 10:19:52 > git remote # timeout=10 10:19:52 > git config --get remote.origin.url # timeout=10 10:19:52 using GIT_SSH to set credentials SSH Credentials for GitHub 10:19:52 > git merge 92affc97e25621ac5a3617c0e5e42feb55191c77 # timeout=10 10:19:52 > git rev-parse HEAD^{commit} # timeout=10 10:19:52 > git config core.sparsecheckout # timeout=10 10:19:52 > git checkout -f c48d0fd9c0737fbf92a06ef469e542a1d1799588 # timeout=10 10:19:52 (1/6) Installing libc-dev (0.7.2-r3) 10:19:52 (2/6) Installing libsodium (1.0.18-r0) 10:19:52 (3/6) Installing pkgconf (1.7.3-r0) 10:19:53 (4/6) Installing libsodium-dev (1.0.18-r0) 10:19:53 (5/6) Installing libzmq (4.3.3-r1) 10:19:53 (6/6) Installing zeromq-dev (4.3.3-r1) 10:19:53 Executing busybox-1.32.1-r6.trigger 10:19:53 OK: 139 MiB in 46 packages 10:19:55 Removing intermediate container afbb2d0d0a4a 10:19:55 ---> 5cb42dfd048d 10:19:55 Step 6/8 : WORKDIR /device-sdk-go 10:19:55 ---> Running in ea6c227979d5 10:19:55 Removing intermediate container ea6c227979d5 10:19:55 ---> 90bca9a48962 10:19:55 Step 7/8 : COPY . . 10:19:55 Commit message: "fix: correctly update DeviceService.deviceService model" 10:19:55 > git --version # timeout=10 10:19:55 > git --version # 'git version 2.24.3' 10:19:56 fatal: bad object aa25fb65c2461e649b1a162fbf19ec71f4863fbd [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 10:19:56 ---> 866777479d61 10:19:56 Step 8/8 : RUN go mod download 10:19:57 ---> Running in 219cd57b7ca1 10:19:57 + sudo jq '. + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false}' /etc/docker/daemon.json [Pipeline] sh 10:19:57 + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh 10:19:57 + sudo service docker restart 10:19:57 + true 10:19:57 Redirecting to /bin/systemctl restart docker.service [Pipeline] withEnv [Pipeline] { [Pipeline] wrap 10:19:59 provisioning config files... 10:19:59 copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/1@tmp/config4935726926607298287tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 10:19:59 ---> docker-login.sh 10:19:59 nexus3.edgexfoundry.org:10001 10:20:00 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 10:20:00 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 10:20:00 Configure a credential helper to remove this warning. See 10:20:00 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 10:20:00 10:20:00 Login Succeeded 10:20:00 nexus3.edgexfoundry.org:10002 10:20:00 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 10:20:00 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 10:20:00 Configure a credential helper to remove this warning. See 10:20:00 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 10:20:00 10:20:00 Login Succeeded 10:20:00 nexus3.edgexfoundry.org:10003 10:20:00 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 10:20:00 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 10:20:00 Configure a credential helper to remove this warning. See 10:20:00 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 10:20:00 10:20:00 Login Succeeded 10:20:00 nexus3.edgexfoundry.org:10004 10:20:00 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 10:20:00 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 10:20:00 Configure a credential helper to remove this warning. See 10:20:00 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 10:20:00 10:20:00 Login Succeeded 10:20:00 docker.io 10:20:00 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 10:20:01 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 10:20:01 Configure a credential helper to remove this warning. See 10:20:01 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 10:20:01 10:20:01 Login Succeeded 10:20:01 ---> docker-login.sh ends [Pipeline] } 10:20:01 Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 10:20:01 ========================================================= 10:20:01 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine] 10:20:01 ========================================================= [Pipeline] isUnix [Pipeline] sh 10:20:01 + 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 . 10:20:01 Sending build context to Docker daemon 2.475MB 10:20:01 Step 1/8 : ARG BASE=golang:1.15-alpine3.12 10:20:01 Step 2/8 : FROM ${BASE} 10:20:02 1.16-alpine: Pulling from edgex-devops/edgex-golang-base 10:20:02 540db60ca938: Pulling fs layer 10:20:02 adcc1eea9eea: Pulling fs layer 10:20:02 4c4ab2625f07: Pulling fs layer 10:20:02 0510c868ecb4: Pulling fs layer 10:20:02 afea3b2eda06: Pulling fs layer 10:20:02 7809a108b3ef: Pulling fs layer 10:20:02 f706445af74f: Pulling fs layer 10:20:02 0510c868ecb4: Waiting 10:20:02 afea3b2eda06: Waiting 10:20:02 7809a108b3ef: Waiting 10:20:02 f706445af74f: Waiting 10:20:02 4c4ab2625f07: Verifying Checksum 10:20:02 4c4ab2625f07: Download complete 10:20:02 adcc1eea9eea: Verifying Checksum 10:20:02 adcc1eea9eea: Download complete 10:20:02 afea3b2eda06: Verifying Checksum 10:20:02 afea3b2eda06: Download complete 10:20:02 540db60ca938: Verifying Checksum 10:20:02 540db60ca938: Download complete 10:20:02 7809a108b3ef: Verifying Checksum 10:20:02 7809a108b3ef: Download complete 10:20:02 540db60ca938: Pull complete 10:20:02 adcc1eea9eea: Pull complete 10:20:02 4c4ab2625f07: Pull complete 10:20:04 f706445af74f: Verifying Checksum 10:20:04 f706445af74f: Download complete 10:20:04 0510c868ecb4: Verifying Checksum 10:20:04 0510c868ecb4: Download complete 10:20:11 0510c868ecb4: Pull complete 10:20:11 afea3b2eda06: Pull complete 10:20:11 7809a108b3ef: Pull complete 10:20:15 f706445af74f: Pull complete 10:20:15 Digest: sha256:3789524f83b4b99ff44900c39f6da7fc44f99660cd9adf292610dec398b137f4 10:20:15 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine 10:20:15 ---> b068be0155e3 10:20:15 Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 10:20:15 ---> Running in 2c3be75fac19 10:20:15 Removing intermediate container 2c3be75fac19 10:20:15 ---> 7f14a80eb097 10:20:15 Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 10:20:15 ---> Running in fb6cd8e148ac 10:20:16 Removing intermediate container fb6cd8e148ac 10:20:16 ---> 974ad482b591 10:20:16 Step 5/8 : RUN apk add --update --no-cache make git gcc libc-dev libsodium-dev zeromq-dev 10:20:16 ---> Running in bc8f4cacb4f3 10:20:17 fetch https://nl.alpinelinux.org/alpine/v3.13/main/x86_64/APKINDEX.tar.gz 10:20:18 fetch https://nl.alpinelinux.org/alpine/v3.13/community/x86_64/APKINDEX.tar.gz 10:20:19 (1/6) Installing libc-dev (0.7.2-r3) 10:20:19 (2/6) Installing libsodium (1.0.18-r0) 10:20:19 (3/6) Installing pkgconf (1.7.3-r0) 10:20:19 (4/6) Installing libsodium-dev (1.0.18-r0) 10:20:19 (5/6) Installing libzmq (4.3.3-r1) 10:20:19 (6/6) Installing zeromq-dev (4.3.3-r1) 10:20:20 Executing busybox-1.32.1-r6.trigger 10:20:20 OK: 150 MiB in 46 packages 10:20:20 Removing intermediate container bc8f4cacb4f3 10:20:20 ---> d397c441e618 10:20:20 Step 6/8 : WORKDIR /device-sdk-go 10:20:20 ---> Running in 8162f840ec4f 10:20:20 Removing intermediate container 8162f840ec4f 10:20:20 ---> a5f9f0ecfcea 10:20:20 Step 7/8 : COPY . . 10:20:21 ---> f67d36243544 10:20:21 Step 8/8 : RUN go mod download 10:20:22 ---> Running in bae00f29006d 10:20:23 Removing intermediate container 219cd57b7ca1 10:20:23 ---> b91f528abe6a 10:20:23 Successfully built b91f528abe6a 10:20:23 Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh 10:20:24 + docker inspect -f . ci-base-image-arm64 10:20:24 . [Pipeline] withDockerContainer 10:20:24 prd-ubuntu18.04-docker-arm64-4c-16g-3029 does not seem to be running inside a container 10:20:24 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/1 -v /w/workspace/device-sdk-go/1:/w/workspace/device-sdk-go/1:rw,z -v /w/workspace/device-sdk-go/1@tmp:/w/workspace/device-sdk-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 10:20:26 $ docker top cbf7234d2922e047337502860ddcb8023cc7cc2315d0d12da0f1e38e779366c8 -eo pid,comm [Pipeline] { [Pipeline] sh 10:20:27 + go version 10:20:27 go version go1.16.3 linux/arm64 [Pipeline] } 10:20:27 $ docker stop --time=1 cbf7234d2922e047337502860ddcb8023cc7cc2315d0d12da0f1e38e779366c8 10:20:29 $ docker rm -f cbf7234d2922e047337502860ddcb8023cc7cc2315d0d12da0f1e38e779366c8 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 10:20:30 + docker inspect -f . ci-base-image-arm64 10:20:30 . [Pipeline] withDockerContainer 10:20:30 prd-ubuntu18.04-docker-arm64-4c-16g-3029 does not seem to be running inside a container 10:20:30 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/1 -v /w/workspace/device-sdk-go/1:/w/workspace/device-sdk-go/1:rw,z -v /w/workspace/device-sdk-go/1@tmp:/w/workspace/device-sdk-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 10:20:31 $ docker top e83980a57fb951b5ea7f0a43fc8ea19f82027101ab63ce1e0576c6b8d632e068 -eo pid,comm [Pipeline] { [Pipeline] sh 10:20:32 + go mod tidy [Pipeline] sh 10:20:34 + make test 10:20:34 GO111MODULE=on go test -race -coverprofile=coverage.out ./... 10:20:44 Removing intermediate container bae00f29006d 10:20:44 ---> 14baef15e514 10:20:44 Successfully built 14baef15e514 10:20:44 Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh 10:20:44 + docker inspect -f . ci-base-image-x86_64 10:20:44 . [Pipeline] withDockerContainer 10:20:44 prd-centos7-docker-4c-2g-3030 does not seem to be running inside a container 10:20:44 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/1 -v /w/workspace/device-sdk-go/1:/w/workspace/device-sdk-go/1:rw,z -v /w/workspace/device-sdk-go/1@tmp:/w/workspace/device-sdk-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 10:20:45 $ docker top 720e727d7ff48f924868a8d29616b96b2d7e45bfc119b37bd13dcea95f769d4d -eo pid,comm [Pipeline] { [Pipeline] sh 10:20:46 + go version 10:20:46 go version go1.16.3 linux/amd64 [Pipeline] } 10:20:46 $ docker stop --time=1 720e727d7ff48f924868a8d29616b96b2d7e45bfc119b37bd13dcea95f769d4d 10:20:47 $ docker rm -f 720e727d7ff48f924868a8d29616b96b2d7e45bfc119b37bd13dcea95f769d4d [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 10:20:48 + docker inspect -f . ci-base-image-x86_64 10:20:48 . [Pipeline] withDockerContainer 10:20:48 prd-centos7-docker-4c-2g-3030 does not seem to be running inside a container 10:20:48 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/1 -v /w/workspace/device-sdk-go/1:/w/workspace/device-sdk-go/1:rw,z -v /w/workspace/device-sdk-go/1@tmp:/w/workspace/device-sdk-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 10:20:49 $ docker top 38265cb8c03f299f81dbbf86773b7c6c484b7df0b80a21bea9a51438a35991f8 -eo pid,comm [Pipeline] { [Pipeline] sh 10:20:49 + go mod tidy [Pipeline] sh 10:20:50 + make test 10:20:50 GO111MODULE=on go test -race -coverprofile=coverage.out ./... 10:20:58 ? github.com/edgexfoundry/device-sdk-go/v2 [no test files] 10:21:01 ? github.com/edgexfoundry/device-sdk-go/v2 [no test files] 10:21:25 ? github.com/edgexfoundry/device-sdk-go/v2/example/cmd/device-simple [no test files] 10:21:25 ? github.com/edgexfoundry/device-sdk-go/v2/example/config [no test files] 10:21:25 ? github.com/edgexfoundry/device-sdk-go/v2/example/driver [no test files] 10:21:25 ? github.com/edgexfoundry/device-sdk-go/v2/internal/application [no test files] 10:21:25 ? github.com/edgexfoundry/device-sdk-go/v2/internal/autodiscovery [no test files] 10:21:25 ok github.com/edgexfoundry/device-sdk-go/v2/internal/autoevent 0.067s coverage: 28.1% of statements 10:21:25 ok github.com/edgexfoundry/device-sdk-go/v2/internal/cache 0.097s coverage: 78.9% of statements 10:21:25 ok github.com/edgexfoundry/device-sdk-go/v2/internal/clients 1.079s coverage: 7.8% of statements 10:21:25 ? github.com/edgexfoundry/device-sdk-go/v2/internal/common [no test files] 10:21:25 ? github.com/edgexfoundry/device-sdk-go/v2/internal/config [no test files] 10:21:25 ? github.com/edgexfoundry/device-sdk-go/v2/internal/container [no test files] 10:21:25 ok github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http 0.094s coverage: 30.2% of statements 10:21:25 ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http/correlation [no test files] 10:21:25 ? github.com/edgexfoundry/device-sdk-go/v2/internal/provision [no test files] 10:21:25 ? github.com/edgexfoundry/device-sdk-go/v2/internal/telemetry [no test files] 10:21:25 ok github.com/edgexfoundry/device-sdk-go/v2/internal/transformer 0.092s coverage: 57.2% of statements 10:21:26 ok github.com/edgexfoundry/device-sdk-go/v2/pkg/models 1.193s coverage: 6.6% of statements 10:21:26 ok github.com/edgexfoundry/device-sdk-go/v2/pkg/service 0.057s coverage: 5.0% of statements 10:21:26 ? github.com/edgexfoundry/device-sdk-go/v2/pkg/startup [no test files] 10:21:27 GO111MODULE=on go vet ./... 10:21:45 gofmt -l . 10:21:45 [ "`gofmt -l .`" = "" ] 10:21:45 ./bin/test-attribution-txt.sh 10:21:46 ./bin/test-go-mod-tidy.sh [Pipeline] } 10:21:46 $ docker stop --time=1 38265cb8c03f299f81dbbf86773b7c6c484b7df0b80a21bea9a51438a35991f8 10:21:48 $ docker rm -f 38265cb8c03f299f81dbbf86773b7c6c484b7df0b80a21bea9a51438a35991f8 [Pipeline] // withDockerContainer [Pipeline] sh 10:21:49 + sudo chown -R jenkins:jenkins . [Pipeline] stash 10:21:49 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 10:21:53 + sudo chown -R jenkins:jenkins . [Pipeline] sh 10:21:53 + ls -al . 10:21:53 total 188 10:21:53 drwxrwxr-x. 10 jenkins jenkins 4096 May 5 10:21 . 10:21:53 drwxrwxr-x. 4 jenkins jenkins 28 May 5 10:19 .. 10:21:53 drwxrwxr-x. 2 jenkins jenkins 64 May 5 10:19 bin 10:21:53 -rw-r--r--. 1 jenkins jenkins 100320 May 5 10:21 coverage.out 10:21:53 -rw-rw-r--. 1 jenkins jenkins 987 May 5 10:19 Dockerfile.build 10:21:53 -rw-rw-r--. 1 jenkins jenkins 140 May 5 10:19 .dockerignore 10:21:53 drwxrwxr-x. 5 jenkins jenkins 62 May 5 10:19 example 10:21:53 drwxrwxr-x. 8 jenkins jenkins 179 May 5 10:19 .git 10:21:53 drwxrwxr-x. 2 jenkins jenkins 103 May 5 10:19 .github 10:21:53 -rw-rw-r--. 1 jenkins jenkins 138 May 5 10:19 .gitignore 10:21:53 -rw-r--r--. 1 jenkins jenkins 575 May 5 10:21 go.mod 10:21:53 -rw-r--r--. 1 jenkins jenkins 20957 May 5 10:20 go.sum 10:21:53 drwxrwxr-x. 14 jenkins jenkins 207 May 5 10:19 internal 10:21:53 -rw-rw-r--. 1 jenkins jenkins 901 May 5 10:19 Jenkinsfile 10:21:53 -rw-rw-r--. 1 jenkins jenkins 11341 May 5 10:19 LICENSE 10:21:53 -rw-rw-r--. 1 jenkins jenkins 1022 May 5 10:19 Makefile 10:21:53 drwxrwxr-x. 4 jenkins jenkins 26 May 5 10:19 openapi 10:21:53 drwxrwxr-x. 5 jenkins jenkins 50 May 5 10:19 pkg 10:21:53 -rw-rw-r--. 1 jenkins jenkins 7652 May 5 10:19 README.md 10:21:53 -rw-rw-r--. 1 jenkins jenkins 6616 May 5 10:19 RELEASE-NOTES.txt 10:21:53 drwxrwxr-x. 4 jenkins jenkins 54 May 5 10:19 snap 10:21:53 -rw-rw-r--. 1 jenkins jenkins 5 May 5 10:17 VERSION 10:21:53 -rw-rw-r--. 1 jenkins jenkins 222 May 5 10:19 version.go [Pipeline] isUnix [Pipeline] sh 10:21:53 + docker build -t docker-device-sdk-simple -f example/cmd/device-simple/Dockerfile --build-arg BASE=ci-base-image-x86_64 --build-arg 'MAKE=make build' --build-arg ARCH=amd64 --label git_sha=c48d0fd9c0737fbf92a06ef469e542a1d1799588 --label arch=amd64 --label version=0.0.0 . 10:21:54 Sending build context to Docker daemon 2.576MB 10:21:54 Step 1/23 : ARG BASE=golang:1.15-alpine3.12 10:21:54 Step 2/23 : FROM ${BASE} AS builder 10:21:54 ---> 14baef15e514 10:21:54 Step 3/23 : WORKDIR /device-sdk-go 10:21:54 ---> Running in 2225899fb997 10:21:55 Removing intermediate container 2225899fb997 10:21:55 ---> 169dba866546 10:21:55 Step 4/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 10:21:55 ---> Running in 81ec4244e5e0 10:21:55 Removing intermediate container 81ec4244e5e0 10:21:55 ---> 54e6c6e31d6c 10:21:55 Step 5/23 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 10:21:55 ---> Running in 043ba05981a7 10:21:55 Removing intermediate container 043ba05981a7 10:21:55 ---> 796ca831dfa6 10:21:55 Step 6/23 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev 10:21:56 ---> Running in 80f9d42c64f8 10:21:56 fetch https://nl.alpinelinux.org/alpine/v3.13/main/x86_64/APKINDEX.tar.gz 10:21:57 fetch https://nl.alpinelinux.org/alpine/v3.13/community/x86_64/APKINDEX.tar.gz 10:21:57 ? github.com/edgexfoundry/device-sdk-go/v2/example/cmd/device-simple [no test files] 10:21:57 ? github.com/edgexfoundry/device-sdk-go/v2/example/config [no test files] 10:21:57 ? github.com/edgexfoundry/device-sdk-go/v2/example/driver [no test files] 10:21:57 ? github.com/edgexfoundry/device-sdk-go/v2/internal/application [no test files] 10:21:57 ? github.com/edgexfoundry/device-sdk-go/v2/internal/autodiscovery [no test files] 10:21:58 OK: 150 MiB in 46 packages 10:21:59 Removing intermediate container 80f9d42c64f8 10:21:59 ---> ff11ae110b09 10:21:59 Step 7/23 : COPY . . 10:22:00 ---> 152c2ce1259a 10:22:00 Step 8/23 : RUN go mod download 10:22:00 ---> Running in c8b38f8402c0 10:22:01 Removing intermediate container c8b38f8402c0 10:22:01 ---> 0f5678f91003 10:22:01 Step 9/23 : RUN make build 10:22:01 ---> Running in 21be10031658 10:22:01 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 10:22:08 ok github.com/edgexfoundry/device-sdk-go/v2/internal/autoevent 0.135s coverage: 28.1% of statements 10:22:09 ok github.com/edgexfoundry/device-sdk-go/v2/internal/cache 0.211s coverage: 78.9% of statements 10:22:09 ok github.com/edgexfoundry/device-sdk-go/v2/internal/clients 1.193s coverage: 7.8% of statements 10:22:09 ? github.com/edgexfoundry/device-sdk-go/v2/internal/common [no test files] 10:22:09 ? github.com/edgexfoundry/device-sdk-go/v2/internal/config [no test files] 10:22:09 ? github.com/edgexfoundry/device-sdk-go/v2/internal/container [no test files] 10:22:10 ok github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http 0.251s coverage: 30.2% of statements 10:22:10 ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http/correlation [no test files] 10:22:10 ? github.com/edgexfoundry/device-sdk-go/v2/internal/provision [no test files] 10:22:10 ? github.com/edgexfoundry/device-sdk-go/v2/internal/telemetry [no test files] 10:22:13 ok github.com/edgexfoundry/device-sdk-go/v2/internal/transformer 0.320s coverage: 57.2% of statements 10:22:13 ok github.com/edgexfoundry/device-sdk-go/v2/pkg/models 3.249s coverage: 6.6% of statements 10:22:13 ok github.com/edgexfoundry/device-sdk-go/v2/pkg/service 0.136s coverage: 5.0% of statements 10:22:13 ? github.com/edgexfoundry/device-sdk-go/v2/pkg/startup [no test files] 10:22:13 CGO_ENABLED=1 GO111MODULE=on go install -tags=safe 10:22:14 GO111MODULE=on go vet ./... 10:22:15 Removing intermediate container 21be10031658 10:22:15 ---> 4726e6e09d27 10:22:15 Step 10/23 : FROM alpine:3.12 10:22:15 3.12: Pulling from library/alpine 10:22:15 339de151aab4: Pulling fs layer 10:22:15 339de151aab4: Verifying Checksum 10:22:15 339de151aab4: Download complete 10:22:16 339de151aab4: Pull complete 10:22:16 Digest: sha256:36553b10a4947067b9fbb7d532951066293a68eae893beba1d9235f7d11a20ad 10:22:16 Status: Downloaded newer image for alpine:3.12 10:22:16 ---> 13621d1b12d4 10:22:16 Step 11/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 10:22:16 ---> Running in 8fd259842971 10:22:16 Removing intermediate container 8fd259842971 10:22:16 ---> 738a790fb611 10:22:16 Step 12/23 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 10:22:16 ---> Running in 916e628d845d 10:22:17 Removing intermediate container 916e628d845d 10:22:17 ---> 299abeeab934 10:22:17 Step 13/23 : RUN apk add --update --no-cache zeromq 10:22:17 ---> Running in 1330ad69d7d1 10:22:18 fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz 10:22:19 fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz 10:22:19 (1/5) Installing libgcc (9.3.0-r2) 10:22:19 (2/5) Installing libsodium (1.0.18-r0) 10:22:19 (3/5) Installing libstdc++ (9.3.0-r2) 10:22:20 (4/5) Installing libzmq (4.3.3-r0) 10:22:20 (5/5) Installing zeromq (4.3.3-r0) 10:22:20 Executing busybox-1.31.1-r20.trigger 10:22:20 OK: 8 MiB in 19 packages 10:22:21 Removing intermediate container 1330ad69d7d1 10:22:21 ---> a71c283dd753 10:22:21 Step 14/23 : WORKDIR / 10:22:21 ---> Running in a9378bdef1f8 10:22:21 Removing intermediate container a9378bdef1f8 10:22:21 ---> 57c5e61f2b3d 10:22:21 Step 15/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt 10:22:21 ---> 048a46995183 10:22:21 Step 16/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple 10:22:22 ---> 8f77920e0e15 10:22:22 Step 17/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res 10:22:22 ---> f2f23823004a 10:22:22 Step 18/23 : EXPOSE 49990 10:22:22 ---> Running in a9e5f6893a12 10:22:22 Removing intermediate container a9e5f6893a12 10:22:22 ---> 6a933af6c37f 10:22:22 Step 19/23 : ENTRYPOINT ["/device-simple"] 10:22:22 ---> Running in 17d2d4c732bf 10:22:23 Removing intermediate container 17d2d4c732bf 10:22:23 ---> 4eff0f8719db 10:22:23 Step 20/23 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] 10:22:23 ---> Running in 7333c1fdfa91 10:22:23 Removing intermediate container 7333c1fdfa91 10:22:23 ---> d153b0ddbe85 10:22:23 Step 21/23 : LABEL arch=amd64 10:22:23 ---> Running in 84e7eb45c284 10:22:23 Removing intermediate container 84e7eb45c284 10:22:23 ---> df95fe645014 10:22:23 Step 22/23 : LABEL git_sha=c48d0fd9c0737fbf92a06ef469e542a1d1799588 10:22:23 ---> Running in 202a17131825 10:22:23 Removing intermediate container 202a17131825 10:22:23 ---> 47835c7a203b 10:22:23 Step 23/23 : LABEL version=0.0.0 10:22:23 ---> Running in b988e2a3b30e 10:22:23 Removing intermediate container b988e2a3b30e 10:22:23 ---> 465dc242af52 10:22:23 [Warning] One or more build-args [ARCH MAKE] were not consumed 10:22:23 Successfully built 465dc242af52 10:22:23 Successfully tagged docker-device-sdk-simple:latest [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] libraryResource [Pipeline] sh 10:22:24 ---> job-cost.sh 10:22:24 lf-activate-venv(): INFO: Creating python3 venv at /tmp/venv-xixF 10:22:39 lf-activate-venv(): INFO: Installing: zipp==1.1.0 python-openstackclient 10:23:06 lf-activate-venv(): INFO: Adding /tmp/venv-xixF/bin to PATH 10:23:06 INFO: No Stack... 10:23:07 INFO: Retrieving Pricing Info for: v1-standard-2 10:23:07 INFO: Archiving Costs [Pipeline] sh 10:23:07 + cat /w/workspace/device-sdk-go/1/archives/cost.csv 10:23:07 + cut -d, -f6 [Pipeline] lock 10:23:08 Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-PR-905-1-stack-cost] 10:23:08 Resource [jenkins-edgexfoundry-device-sdk-go-PR-905-1-stack-cost] did not exist. Created. 10:23:08 Lock acquired on [jenkins-edgexfoundry-device-sdk-go-PR-905-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 10:23:08 + echo total: 0.029999999329447746 [Pipeline] stash 10:23:08 Stashed 1 file(s) [Pipeline] } 10:23:08 Lock released on resource [jenkins-edgexfoundry-device-sdk-go-PR-905-1-stack-cost] [Pipeline] // lock [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } 10:23:10 gofmt -l . 10:23:10 [ "`gofmt -l .`" = "" ] 10:23:10 ./bin/test-attribution-txt.sh 10:23:10 ./bin/test-go-mod-tidy.sh [Pipeline] } 10:23:10 $ docker stop --time=1 e83980a57fb951b5ea7f0a43fc8ea19f82027101ab63ce1e0576c6b8d632e068 10:23:13 $ docker rm -f e83980a57fb951b5ea7f0a43fc8ea19f82027101ab63ce1e0576c6b8d632e068 [Pipeline] // withDockerContainer [Pipeline] sh 10:23:14 + sudo chown -R jenkins:jenkins . [Pipeline] stash 10:23:14 Warning: overwriting stash ‘coverage-report’ 10:23:15 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 10:23:15 + sudo chown -R jenkins:jenkins . [Pipeline] sh 10:23:16 + ls -al . 10:23:16 total 224 10:23:16 drwxrwxr-x 10 jenkins jenkins 4096 May 5 10:23 . 10:23:16 drwxrwxr-x 4 jenkins jenkins 4096 May 5 10:19 .. 10:23:16 -rw-rw-r-- 1 jenkins jenkins 140 May 5 10:19 .dockerignore 10:23:16 drwxrwxr-x 8 jenkins jenkins 4096 May 5 10:19 .git 10:23:16 drwxrwxr-x 2 jenkins jenkins 4096 May 5 10:19 .github 10:23:16 -rw-rw-r-- 1 jenkins jenkins 138 May 5 10:19 .gitignore 10:23:16 -rw-rw-r-- 1 jenkins jenkins 987 May 5 10:19 Dockerfile.build 10:23:16 -rw-rw-r-- 1 jenkins jenkins 901 May 5 10:19 Jenkinsfile 10:23:16 -rw-rw-r-- 1 jenkins jenkins 11341 May 5 10:19 LICENSE 10:23:16 -rw-rw-r-- 1 jenkins jenkins 1022 May 5 10:19 Makefile 10:23:16 -rw-rw-r-- 1 jenkins jenkins 7652 May 5 10:19 README.md 10:23:16 -rw-rw-r-- 1 jenkins jenkins 6616 May 5 10:19 RELEASE-NOTES.txt 10:23:16 -rw-rw-r-- 1 jenkins jenkins 5 May 5 10:17 VERSION 10:23:16 drwxrwxr-x 2 jenkins jenkins 4096 May 5 10:19 bin 10:23:16 -rw-r--r-- 1 jenkins jenkins 100320 May 5 10:22 coverage.out 10:23:16 drwxrwxr-x 5 jenkins jenkins 4096 May 5 10:19 example 10:23:16 -rw-r--r-- 1 jenkins jenkins 575 May 5 10:23 go.mod 10:23:16 -rw-r--r-- 1 jenkins jenkins 20957 May 5 10:20 go.sum 10:23:16 drwxrwxr-x 14 jenkins jenkins 4096 May 5 10:19 internal 10:23:16 drwxrwxr-x 4 jenkins jenkins 4096 May 5 10:19 openapi 10:23:16 drwxrwxr-x 5 jenkins jenkins 4096 May 5 10:19 pkg 10:23:16 drwxrwxr-x 4 jenkins jenkins 4096 May 5 10:19 snap 10:23:16 -rw-rw-r-- 1 jenkins jenkins 222 May 5 10:19 version.go [Pipeline] isUnix [Pipeline] sh 10:23:16 + docker build -t docker-device-sdk-simple-arm64 -f example/cmd/device-simple/Dockerfile --build-arg BASE=ci-base-image-arm64 --build-arg MAKE=make build --build-arg ARCH=arm64 --label git_sha=c48d0fd9c0737fbf92a06ef469e542a1d1799588 --label arch=arm64 --label version=0.0.0 . 10:23:17 Sending build context to Docker daemon 2.586MB 10:23:17 Step 1/23 : ARG BASE=golang:1.15-alpine3.12 10:23:17 Step 2/23 : FROM ${BASE} AS builder 10:23:17 ---> b91f528abe6a 10:23:17 Step 3/23 : WORKDIR /device-sdk-go 10:23:17 ---> Running in 45dbfc2705fa 10:23:17 Removing intermediate container 45dbfc2705fa 10:23:17 ---> 6cba3647ace2 10:23:17 Step 4/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 10:23:18 ---> Running in 001eafa5f25b 10:23:18 Removing intermediate container 001eafa5f25b 10:23:18 ---> 542dfe169b00 10:23:18 Step 5/23 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 10:23:18 ---> Running in 1ee03b0989fd 10:23:20 Removing intermediate container 1ee03b0989fd 10:23:20 ---> aa0cb51c0146 10:23:20 Step 6/23 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev 10:23:20 ---> Running in ca4fe8d20a5f 10:23:22 fetch https://nl.alpinelinux.org/alpine/v3.13/main/aarch64/APKINDEX.tar.gz 10:23:23 fetch https://nl.alpinelinux.org/alpine/v3.13/community/aarch64/APKINDEX.tar.gz 10:23:24 OK: 139 MiB in 46 packages 10:23:25 Removing intermediate container ca4fe8d20a5f 10:23:25 ---> 85ad3ef4c3a5 10:23:25 Step 7/23 : COPY . . 10:23:26 ---> ccd83a905132 10:23:26 Step 8/23 : RUN go mod download 10:23:26 ---> Running in 0d5ccb1123d5 10:23:29 Removing intermediate container 0d5ccb1123d5 10:23:29 ---> 1f434347eecb 10:23:29 Step 9/23 : RUN make build 10:23:29 ---> Running in 5c7df6701582 10:23:30 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 10:24:02 CGO_ENABLED=1 GO111MODULE=on go install -tags=safe 10:24:05 Removing intermediate container 5c7df6701582 10:24:05 ---> 70e2e226fc9f 10:24:05 Step 10/23 : FROM alpine:3.12 10:24:05 3.12: Pulling from library/alpine 10:24:05 d2f70382dc9a: Pulling fs layer 10:24:05 d2f70382dc9a: Download complete 10:24:06 d2f70382dc9a: Pull complete 10:24:06 Digest: sha256:36553b10a4947067b9fbb7d532951066293a68eae893beba1d9235f7d11a20ad 10:24:06 Status: Downloaded newer image for alpine:3.12 10:24:06 ---> 9852663dfa18 10:24:06 Step 11/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 10:24:06 ---> Running in d48ec2b1ab32 10:24:06 Removing intermediate container d48ec2b1ab32 10:24:06 ---> cdab3588d6c8 10:24:06 Step 12/23 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 10:24:06 ---> Running in f87e79f83f07 10:24:08 Removing intermediate container f87e79f83f07 10:24:08 ---> 2dac9c75dfdf 10:24:08 Step 13/23 : RUN apk add --update --no-cache zeromq 10:24:09 ---> Running in c0d754ccd00c 10:24:10 fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz 10:24:11 fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz 10:24:12 (1/5) Installing libgcc (9.3.0-r2) 10:24:12 (2/5) Installing libsodium (1.0.18-r0) 10:24:13 (3/5) Installing libstdc++ (9.3.0-r2) 10:24:13 (4/5) Installing libzmq (4.3.3-r0) 10:24:13 (5/5) Installing zeromq (4.3.3-r0) 10:24:13 Executing busybox-1.31.1-r20.trigger 10:24:14 OK: 8 MiB in 19 packages 10:24:15 Removing intermediate container c0d754ccd00c 10:24:15 ---> 025a574de40a 10:24:15 Step 14/23 : WORKDIR / 10:24:15 ---> Running in b393d7960629 10:24:16 Removing intermediate container b393d7960629 10:24:16 ---> e0f76173b12b 10:24:16 Step 15/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt 10:24:16 ---> 7cfaad510834 10:24:16 Step 16/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple 10:24:18 ---> b84370236a43 10:24:18 Step 17/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res 10:24:18 ---> 87ced8bc749d 10:24:18 Step 18/23 : EXPOSE 49990 10:24:18 ---> Running in dd363f9cf463 10:24:19 Removing intermediate container dd363f9cf463 10:24:19 ---> 220bc8d6eebc 10:24:19 Step 19/23 : ENTRYPOINT ["/device-simple"] 10:24:19 ---> Running in b3e5d0bb8a35 10:24:19 Removing intermediate container b3e5d0bb8a35 10:24:19 ---> 244889aab2c0 10:24:19 Step 20/23 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] 10:24:20 ---> Running in fd1314663098 10:24:20 Removing intermediate container fd1314663098 10:24:20 ---> c7af8254e2d8 10:24:20 Step 21/23 : LABEL arch=arm64 10:24:20 ---> Running in 6fc04c3e85d0 10:24:20 Removing intermediate container 6fc04c3e85d0 10:24:20 ---> 446263c9e510 10:24:20 Step 22/23 : LABEL git_sha=c48d0fd9c0737fbf92a06ef469e542a1d1799588 10:24:21 ---> Running in 16466ce83729 10:24:21 Removing intermediate container 16466ce83729 10:24:21 ---> 1caa621479ad 10:24:21 Step 23/23 : LABEL version=0.0.0 10:24:21 ---> Running in 697c5a1ab815 10:24:22 Removing intermediate container 697c5a1ab815 10:24:22 ---> 50780f096a78 10:24:22 [Warning] One or more build-args [ARCH MAKE] were not consumed 10:24:22 Successfully built 50780f096a78 10:24:22 Successfully tagged docker-device-sdk-simple-arm64:latest [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] libraryResource [Pipeline] sh 10:24:23 ---> job-cost.sh 10:24:23 lf-activate-venv(): INFO: Creating python3 venv at /tmp/venv-4GOH 10:25:02 lf-activate-venv(): INFO: Installing: zipp==1.1.0 python-openstackclient 10:26:38 lf-activate-venv(): INFO: Adding /tmp/venv-4GOH/bin to PATH 10:26:38 INFO: No Stack... 10:26:38 INFO: Retrieving Pricing Info for: lf-standard-4 10:26:38 INFO: Archiving Costs [Pipeline] sh 10:26:39 + cat /w/workspace/device-sdk-go/1/archives/cost.csv 10:26:39 + cut -d, -f6 [Pipeline] lock 10:26:39 Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-PR-905-1-stack-cost] 10:26:39 Resource [jenkins-edgexfoundry-device-sdk-go-PR-905-1-stack-cost] did not exist. Created. 10:26:39 Lock acquired on [jenkins-edgexfoundry-device-sdk-go-PR-905-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 10:26:39 /w/workspace/device-sdk-go/1@tmp/durable-e43ff475/script.sh: 1: /w/workspace/device-sdk-go/1@tmp/durable-e43ff475/script.sh: Syntax error: Unterminated quoted string [Pipeline] sh 10:26:40 + echo total: 0.20999999344348907 [Pipeline] stash 10:26:40 Warning: overwriting stash ‘stack-cost’ 10:26:40 Stashed 1 file(s) [Pipeline] } 10:26:40 Lock released on resource [jenkins-edgexfoundry-device-sdk-go-PR-905-1-stack-cost] [Pipeline] // lock [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) [Pipeline] unstash [Pipeline] wrap 10:26:41 provisioning config files... 10:26:41 copy managed file [device-sdk-go-codecov-token] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-905@tmp/config2269476106862232729tmp [Pipeline] { [Pipeline] sh 10:26:41 + set +x 10:26:41 + bash -s -- 10:26:41 + curl -s https://codecov.io/bash 10:26:42 10:26:42 _____ _ 10:26:42 / ____| | | 10:26:42 | | ___ __| | ___ ___ _____ __ 10:26:42 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 10:26:42 | |___| (_) | (_| | __/ (_| (_) \ V / 10:26:42 \_____\___/ \__,_|\___|\___\___/ \_/ 10:26:42 Bash-1.0.2 10:26:42 10:26:42 10:26:42 ==> git version 2.24.3 found 10:26:42 ==> 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 10:26:42 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtsp scp sftp smtp smtps telnet tftp 10:26:42 Features: AsynchDNS GSS-Negotiate IDN IPv6 Largefile NTLM NTLM_WB SSL libz unix-sockets 10:26:42 ==> Jenkins CI detected. 10:26:42 project root: . 10:26:42 --> token set from env 10:26:42 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 10:26:42 ==> Running gcov in . (disable via -X gcov) 10:26:42 ==> Python coveragepy not found 10:26:42 ==> Searching for coverage reports in: 10:26:42 + . 10:26:42 -> Found 1 reports 10:26:42 ==> Detecting git/mercurial file structure 10:26:42 ==> Reading reports 10:26:42 + ./coverage.out bytes=100320 10:26:42 ==> Appending adjustments 10:26:42 https://docs.codecov.io/docs/fixing-reports 10:26:42 + Found adjustments 10:26:42 ==> Gzipping contents 10:26:42 16K /tmp/codecov.ccMq8n.gz 10:26:42 ==> Uploading reports 10:26:42 url: https://codecov.io 10:26:42 query: branch=PR-905&commit=c48d0fd9c0737fbf92a06ef469e542a1d1799588&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-905%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=905&job=&cmd_args= 10:26:42 -> Pinging Codecov 10:26:42 https://codecov.io/upload/v4?package=bash-1.0.2&token=secret&branch=PR-905&commit=c48d0fd9c0737fbf92a06ef469e542a1d1799588&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-905%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=905&job=&cmd_args= 10:26:43 -> Uploading to 10:26:43 https://storage.googleapis.com/codecov/v4/raw/2021-05-05/7E55EF52A471D76F132DFD9A03CDDE97/c48d0fd9c0737fbf92a06ef469e542a1d1799588/cfd5a0d1-2287-491f-a585-2007e20f825a.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EQM3VGPYSAFECJRMNAFIPCV2R3P2BOORCJC7NM537NPJQSFLHUDNIDWA%2F20210505%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20210505T102642Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=45d5da44bad305e78057b2a27962209ad45e3dcf7529d5402ac85400952683f0 10:26:43 % Total % Received % Xferd Average Speed Time Time Time Current 10:26:43 Dload Upload Total Spent Left Speed 10:26:43 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 13558 0 0 100 13558 0 32649 --:--:-- --:--:-- --:--:-- 32748 10:26:43 -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/device-sdk-go/commit/c48d0fd9c0737fbf92a06ef469e542a1d1799588 [Pipeline] } 10:26:43 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 10:26:45 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 10:26:46 ---> package-listing.sh 10:26:46 ++ facter osfamily 10:26:46 ++ tr '[:upper:]' '[:lower:]' 10:26:46 + OS_FAMILY=redhat 10:26:46 + workspace=/w/workspace/dgexfoundry_device-sdk-go_PR-905 10:26:46 + START_PACKAGES=/tmp/packages_start.txt 10:26:46 + END_PACKAGES=/tmp/packages_end.txt 10:26:46 + DIFF_PACKAGES=/tmp/packages_diff.txt 10:26:46 + PACKAGES=/tmp/packages_start.txt 10:26:46 + '[' /w/workspace/dgexfoundry_device-sdk-go_PR-905 ']' 10:26:46 + PACKAGES=/tmp/packages_end.txt 10:26:46 + case "${OS_FAMILY}" in 10:26:46 + rpm -qa 10:26:46 + sort 10:26:51 + '[' -f /tmp/packages_start.txt ']' 10:26:51 + '[' -f /tmp/packages_end.txt ']' 10:26:51 + diff /tmp/packages_start.txt /tmp/packages_end.txt 10:26:51 + '[' /w/workspace/dgexfoundry_device-sdk-go_PR-905 ']' 10:26:51 + mkdir -p /w/workspace/dgexfoundry_device-sdk-go_PR-905/archives/ 10:26:51 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/dgexfoundry_device-sdk-go_PR-905/archives/ [Pipeline] echo 10:26:52 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-905/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 10:26:52 + facter operatingsystem [Pipeline] isUnix [Pipeline] sh 10:26:52 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 10:26:52 10:26:52 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh 10:26:53 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 10:26:53 alpine: Pulling from edgex-lftools-log-publisher 10:26:53 df20fa9351a1: Pulling fs layer 10:26:53 36b3adc4ff6f: Pulling fs layer 10:26:53 8ad3a11d3b57: Pulling fs layer 10:26:53 46f8f816bc3b: Pulling fs layer 10:26:53 93b61091891f: Pulling fs layer 10:26:53 93b9cdb0e59b: Pulling fs layer 10:26:53 5e14af77c1be: Pulling fs layer 10:26:53 01666e4c0597: Pulling fs layer 10:26:53 aa168da1d23b: Pulling fs layer 10:26:53 93b9cdb0e59b: Waiting 10:26:53 5e14af77c1be: Waiting 10:26:53 93b61091891f: Waiting 10:26:53 01666e4c0597: Waiting 10:26:53 aa168da1d23b: Waiting 10:26:53 36b3adc4ff6f: Verifying Checksum 10:26:53 36b3adc4ff6f: Download complete 10:26:53 46f8f816bc3b: Verifying Checksum 10:26:53 46f8f816bc3b: Download complete 10:26:53 df20fa9351a1: Verifying Checksum 10:26:53 df20fa9351a1: Download complete 10:26:53 93b9cdb0e59b: Download complete 10:26:53 5e14af77c1be: Verifying Checksum 10:26:53 5e14af77c1be: Download complete 10:26:53 01666e4c0597: Verifying Checksum 10:26:53 01666e4c0597: Download complete 10:26:53 93b61091891f: Verifying Checksum 10:26:53 93b61091891f: Download complete 10:26:53 8ad3a11d3b57: Verifying Checksum 10:26:53 8ad3a11d3b57: Download complete 10:26:53 df20fa9351a1: Pull complete 10:26:54 36b3adc4ff6f: Pull complete 10:26:55 8ad3a11d3b57: Pull complete 10:26:55 46f8f816bc3b: Pull complete 10:26:56 aa168da1d23b: Verifying Checksum 10:26:56 aa168da1d23b: Download complete 10:26:56 93b61091891f: Pull complete 10:26:56 93b9cdb0e59b: Pull complete 10:26:56 5e14af77c1be: Pull complete 10:26:57 01666e4c0597: Pull complete 10:27:07 aa168da1d23b: Pull complete 10:27:07 Digest: sha256:ac41798234670a79351fc13b8232b4dbeccc6fb1f122f5db5169d11b1762ca7c 10:27:07 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 10:27:07 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer 10:27:07 prd-centos7-docker-4c-2g-3028 does not seem to be running inside a container 10:27: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-905/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-905 -v /w/workspace/dgexfoundry_device-sdk-go_PR-905:/w/workspace/dgexfoundry_device-sdk-go_PR-905:rw,z -v /w/workspace/dgexfoundry_device-sdk-go_PR-905@tmp:/w/workspace/dgexfoundry_device-sdk-go_PR-905@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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine cat 10:27:11 $ docker top ed44103d660f5a479d4c0c0da51885ad5e4dd53988950a7b7890b5f54613b5d2 -eo pid,comm [Pipeline] { [Pipeline] sh 10:27:11 + touch /tmp/pre-build-complete [Pipeline] sh 10:27:11 + mkdir -p /var/log/sa [Pipeline] sh 10:27:12 + ls /var/log/sa-host 10:27:12 + sadf -c /var/log/sa-host/sa05 10:27:12 file_magic: OK 10:27:12 HZ: Using current value: 100 10:27:12 file_header: OK 10:27: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 10:27:12 Statistics: 10:27:12 HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... 10:27:12 File successfully converted to sysstat format version 12.2.1 10:27:12 + sadf -c /var/log/sa-host/sa23 10:27:12 file_magic: OK 10:27:12 HZ: Using current value: 100 10:27:12 file_header: OK 10:27: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 10:27:12 Statistics: 10:27:12 Hnuu...uuuununununu... 10:27:12 File successfully converted to sysstat format version 12.2.1 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 10:27:12 provisioning config files... 10:27:12 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-905@tmp/config5946364482341856584tmp [Pipeline] { [Pipeline] echo 10:27:12 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 10:27:13 ---> create-netrc.sh [Pipeline] } 10:27:13 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] echo 10:27:13 Running shell/python-tools-install.sh [Pipeline] libraryResource [Pipeline] sh 10:27:13 ---> python-tools-install.sh [Pipeline] echo 10:27:13 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 10:27:14 ---> sudo-logs.sh 10:27:14 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 10:27:14 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 10:27:14 ---> job-cost.sh 10:27:14 lf-activate-venv: SKIPPING 10:27:14 DEBUG: total: 0.20999999344348907 10:27:14 INFO: Retrieving Stack Cost... 10:27:15 INFO: Retrieving Pricing Info for: v1-standard-2 10:27:16 INFO: Archiving Costs [Pipeline] echo 10:27:16 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 10:27:16 ---> logs-deploy.sh 10:27:16 lf-activate-venv: SKIPPING 10:27:16 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-905/1 10:27:16 INFO: archiving workspace using pattern(s): 10:27:18 Archives upload complete. 10:27:18 INFO: archiving logs to Nexus