Pull request #902 opened Connecting to https://api.github.com using edgex-jenkins/****** (edgex-jenkins github personal access token) Obtained Jenkinsfile from c4d485eba0dd609e9271d218bd64bedf9696d5aa+92affc97e25621ac5a3617c0e5e42feb55191c77 (cf608782f55c42f448f02b661a095f4e235bca31) 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 57ded3389ef25720063a8030e5c426a6b7ea5b20 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 57ded3389ef25720063a8030e5c426a6b7ea5b20 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-902/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 57ded3389ef25720063a8030e5c426a6b7ea5b20 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 57ded3389ef25720063a8030e5c426a6b7ea5b20 # timeout=10 Commit message: "Merge pull request #323 from siggiskulason/update-snap-build" > 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-902/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 57ded3389ef25720063a8030e5c426a6b7ea5b20 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.15 GOPROXY: https://nexus3.edgexfoundry.org/repository/go-proxy/ DOCKER_BASE_IMAGE: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine DOCKER_FILE_PATH: example/cmd/device-simple/Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_IMAGE_NAME: docker-device-sdk-simple DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: false BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: true SWAGGER_API_FOLDERS: openapi/v1 openapi/v2 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] node Still waiting to schedule task Waiting for next available executor Running on prd-centos7-docker-4c-2g-2150 in /w/workspace/dgexfoundry_device-sdk-go_PR-902 [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-902 # 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 Merging remotes/origin/master commit 92affc97e25621ac5a3617c0e5e42feb55191c77 into PR head commit c4d485eba0dd609e9271d218bd64bedf9696d5aa Merge succeeded, producing c4d485eba0dd609e9271d218bd64bedf9696d5aa Checking out Revision c4d485eba0dd609e9271d218bd64bedf9696d5aa (PR-902) > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/902/head:refs/remotes/origin/PR-902 +refs/heads/master:refs/remotes/origin/master # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f c4d485eba0dd609e9271d218bd64bedf9696d5aa # 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 c4d485eba0dd609e9271d218bd64bedf9696d5aa # timeout=10 Commit message: "build(deps): bump github.com/edgexfoundry/go-mod-core-contracts/v2" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.24.3' fatal: bad object 57ded3389ef25720063a8030e5c426a6b7ea5b20 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 05:57:20 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 05:57:20 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 05:57:20 ========================================================= 05:57:20 EdgeX Global Pipelines Version Info 05:57:20 ========================================================= [Pipeline] libraryResource [Pipeline] sh 05:57:22 ------------------- 05:57:22 stable info: 05:57:22 ------------------- 05:57:22 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 05:57:22 Commit SHA: 57ded3389ef25720063a8030e5c426a6b7ea5b20 05:57:22 Message: update stable to v1.0.186 05:57:23 ------------------- 05:57:23 experimental info: 05:57:23 ------------------- 05:57:23 Commited By: **** collab-it+edgex@linuxfoundation.org 05:57:23 Commit SHA: cf598ef4eee878cf4fd68936879ff849bf9f782f 05:57:23 Message: update experimental to v1.0.190 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 05:57:23 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-go-settings [Pipeline] echo 05:57:23 [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-go [Pipeline] echo 05:57:23 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 05:57:23 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 05:57:23 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 05:57:23 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.15 [Pipeline] echo 05:57:23 [edgeXSetupEnvironment]: set envvar GOPROXY = https://nexus3.edgexfoundry.org/repository/go-proxy/ [Pipeline] echo 05:57:23 [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine [Pipeline] echo 05:57:23 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = example/cmd/device-simple/Dockerfile [Pipeline] echo 05:57:24 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 05:57:24 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 05:57:24 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = docker-device-sdk-simple [Pipeline] echo 05:57:24 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 05:57:24 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 05:57:24 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 05:57:24 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo 05:57:24 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 05:57:24 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 05:57:24 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 05:57:24 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 05:57:24 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo 05:57:25 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 openapi/v2 [Pipeline] echo 05:57:25 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 05:57:25 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 05:57:25 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 05:57:25 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 05:57:25 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-902 [Pipeline] echo 05:57:25 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-902 [Pipeline] echo 05:57:25 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-902 [Pipeline] echo 05:57:25 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = c4d485eba0dd609e9271d218bd64bedf9696d5aa [Pipeline] echo 05:57:25 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = c4d485e [Pipeline] echo 05:57:25 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] wrap 05:57:26 provisioning config files... 05:57:26 copy managed file [device-sdk-go-settings] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-902@tmp/config18535124453514259tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 05:57:26 ---> docker-login.sh 05:57:26 nexus3.edgexfoundry.org:10001 05:57:27 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:57:27 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:57:27 Configure a credential helper to remove this warning. See 05:57:27 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:57:27 05:57:27 Login Succeeded 05:57:27 nexus3.edgexfoundry.org:10002 05:57:27 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:57:27 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:57:27 Configure a credential helper to remove this warning. See 05:57:27 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:57:27 05:57:27 Login Succeeded 05:57:27 nexus3.edgexfoundry.org:10003 05:57:27 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:57:27 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:57:27 Configure a credential helper to remove this warning. See 05:57:27 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:57:27 05:57:27 Login Succeeded 05:57:27 nexus3.edgexfoundry.org:10004 05:57:27 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:57:27 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:57:27 Configure a credential helper to remove this warning. See 05:57:27 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:57:27 05:57:27 Login Succeeded 05:57:27 docker.io 05:57:27 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:57:28 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:57:28 Configure a credential helper to remove this warning. See 05:57:28 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:57:28 05:57:28 Login Succeeded 05:57:28 ---> docker-login.sh ends [Pipeline] } 05:57:28 Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 05:57:29 + git log --format=format:%s -1 c4d485eba0dd609e9271d218bd64bedf9696d5aa [Pipeline] echo 05:57:29 GIT_COMMIT: c4d485eba0dd609e9271d218bd64bedf9696d5aa, Commit Message: build(deps): bump github.com/edgexfoundry/go-mod-core-contracts/v2 [Pipeline] echo 05:57:29 This is not a build commit. [Pipeline] isUnix [Pipeline] sh 05:57:30 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 05:57:30 05:57:30 Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh 05:57:30 + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 05:57:30 latest: Pulling from edgex-devops/git-semver 05:57:30 31603596830f: Pulling fs layer 05:57:30 54011a49482f: Pulling fs layer 05:57:30 a6820b24f6d8: Pulling fs layer 05:57:30 f581987b2513: Pulling fs layer 05:57:30 f581987b2513: Waiting 05:57:30 54011a49482f: Verifying Checksum 05:57:30 54011a49482f: Download complete 05:57:30 31603596830f: Verifying Checksum 05:57:30 31603596830f: Download complete 05:57:31 f581987b2513: Verifying Checksum 05:57:31 f581987b2513: Download complete 05:57:31 a6820b24f6d8: Verifying Checksum 05:57:31 a6820b24f6d8: Download complete 05:57:31 31603596830f: Pull complete 05:57:31 54011a49482f: Pull complete 05:57:32 a6820b24f6d8: Pull complete 05:57:33 f581987b2513: Pull complete 05:57:33 Digest: sha256:772af3cb61214e5a22880db9bb273bb039d0aa3a8f4edfa0c1def8b4e20ea536 05:57:33 Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 05:57:33 nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer 05:57:33 prd-centos7-docker-4c-2g-2150 does not seem to be running inside a container 05:57:33 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/dgexfoundry_device-sdk-go_PR-902 -v /w/workspace/dgexfoundry_device-sdk-go_PR-902:/w/workspace/dgexfoundry_device-sdk-go_PR-902:rw,z -v /w/workspace/dgexfoundry_device-sdk-go_PR-902@tmp:/w/workspace/dgexfoundry_device-sdk-go_PR-902@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat 05:57:36 $ docker top c4ca47f50e1a84741444be1eb5ba38da1594b41fb04bcc4eb3f513b1f7d0755c -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 05:57:36 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 05:57:36 [ssh-agent] Looking for ssh-agent implementation... 05:57:36 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 05:57:36 $ docker exec c4ca47f50e1a84741444be1eb5ba38da1594b41fb04bcc4eb3f513b1f7d0755c ssh-agent 05:57:37 SSH_AUTH_SOCK=/tmp/ssh-4IAZ7ZVl9ORr/agent.11 05:57:37 SSH_AGENT_PID=17 05:57:37 Running ssh-add (command line suppressed) 05:57:37 Identity added: /w/workspace/dgexfoundry_device-sdk-go_PR-902@tmp/private_key_1672918551516227681.key (/w/workspace/dgexfoundry_device-sdk-go_PR-902@tmp/private_key_1672918551516227681.key) 05:57:37 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 05:57:37 + git tag --points-at HEAD [Pipeline] } 05:57:37 $ docker exec --env ******** --env ******** c4ca47f50e1a84741444be1eb5ba38da1594b41fb04bcc4eb3f513b1f7d0755c ssh-agent -k 05:57:37 unset SSH_AUTH_SOCK; 05:57:37 unset SSH_AGENT_PID; 05:57:37 echo Agent pid 17 killed; 05:57:37 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 05:57:38 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 05:57:38 [ssh-agent] Looking for ssh-agent implementation... 05:57:38 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 05:57:38 $ docker exec c4ca47f50e1a84741444be1eb5ba38da1594b41fb04bcc4eb3f513b1f7d0755c ssh-agent 05:57:38 SSH_AUTH_SOCK=/tmp/ssh-Hno82Z0ytgfj/agent.47 05:57:38 SSH_AGENT_PID=52 05:57:38 Running ssh-add (command line suppressed) 05:57:38 Identity added: /w/workspace/dgexfoundry_device-sdk-go_PR-902@tmp/private_key_1956772973850830192.key (/w/workspace/dgexfoundry_device-sdk-go_PR-902@tmp/private_key_1956772973850830192.key) 05:57:38 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 05:57:39 + git semver init 05:57:39 # -> Open(): unable to determine branch for HEAD 05:57:39 # $GIT_DIR = /w/workspace/dgexfoundry_device-sdk-go_PR-902/.git 05:57:39 # $GIT_WORK_TREE = /w/workspace/dgexfoundry_device-sdk-go_PR-902 05:57:39 # $SEMVER_REMOTE_NAME = origin 05:57:39 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 05:57:39 # $SEMVER_USER_NAME = edgex-jenkins 05:57:39 # $SEMVER_BRANCH = PR-902 05:57:39 # $SEMVER_TEMP = /tmp/semver-344515993 05:57:39 # git clone --branch semver git@github.com:edgexfoundry/device-sdk-go.git $SEMVER_TEMP 05:57:40 # '/tmp/semver-344515993' -> '/w/workspace/dgexfoundry_device-sdk-go_PR-902/.semver' 05:57:40 # -> Force: false 05:57:40 # $SEMVER_DIR = /w/workspace/dgexfoundry_device-sdk-go_PR-902/.semver [Pipeline] } 05:57:40 $ docker exec --env ******** --env ******** c4ca47f50e1a84741444be1eb5ba38da1594b41fb04bcc4eb3f513b1f7d0755c ssh-agent -k 05:57:40 unset SSH_AUTH_SOCK; 05:57:40 unset SSH_AGENT_PID; 05:57:40 echo Agent pid 52 killed; 05:57:40 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 05:57:40 + git semver [Pipeline] } 05:57:40 $ docker stop --time=1 c4ca47f50e1a84741444be1eb5ba38da1594b41fb04bcc4eb3f513b1f7d0755c 05:57:42 $ docker rm -f c4ca47f50e1a84741444be1eb5ba38da1594b41fb04bcc4eb3f513b1f7d0755c [Pipeline] // withDockerContainer [Pipeline] sh 05:57:43 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 05:57:43 Stashed 1 file(s) [Pipeline] echo 05:57:43 [edgeXSemver]: initialized semver on version 0.0.0 [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] parallel [Pipeline] { (Branch: amd64) [Pipeline] { (Branch: arm64) [Pipeline] stage [Pipeline] { (amd64) [Pipeline] stage [Pipeline] { (arm64) [Pipeline] node [Pipeline] node 05:57:59 Still waiting to schedule task 05:57:59 Waiting for next available executor on ‘centos7-docker-4c-2g’ 05:57:59 Still waiting to schedule task 05:57:59 All nodes of label ‘ubuntu18.04-docker-arm64-4c-16g’ are offline 06:00:39 Running on prd-centos7-docker-4c-2g-2153 in /w/workspace/dgexfoundry_device-sdk-go_PR-902 [Pipeline] { [Pipeline] ws 06:00:39 Running in /w/workspace/device-sdk-go/1 [Pipeline] { [Pipeline] checkout 06:00:45 using credential edgex-jenkins-ssh 06:00:45 Cloning the remote Git repository 06:00:45 Cloning repository git@github.com:edgexfoundry/device-sdk-go.git 06:00:45 > git init /w/workspace/device-sdk-go/1 # timeout=10 06:00:45 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 06:00:45 > git --version # timeout=10 06:00:45 > git --version # 'git version 2.24.3' 06:00:45 using GIT_SSH to set credentials SSH Credentials for GitHub 06:00:46 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 06:00:47 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 06:00:47 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 06:00:47 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 06:00:47 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 06:00:47 using GIT_SSH to set credentials SSH Credentials for GitHub 06:00:47 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/902/head:refs/remotes/origin/PR-902 +refs/heads/master:refs/remotes/origin/master # timeout=10 06:00:47 Merging remotes/origin/master commit 92affc97e25621ac5a3617c0e5e42feb55191c77 into PR head commit c4d485eba0dd609e9271d218bd64bedf9696d5aa 06:00:47 Merge succeeded, producing c4d485eba0dd609e9271d218bd64bedf9696d5aa 06:00:47 Checking out Revision c4d485eba0dd609e9271d218bd64bedf9696d5aa (PR-902) 06:00:47 > git config core.sparsecheckout # timeout=10 06:00:47 > git checkout -f c4d485eba0dd609e9271d218bd64bedf9696d5aa # timeout=10 06:00:47 > git remote # timeout=10 06:00:47 > git config --get remote.origin.url # timeout=10 06:00:47 using GIT_SSH to set credentials SSH Credentials for GitHub 06:00:47 > git merge 92affc97e25621ac5a3617c0e5e42feb55191c77 # timeout=10 06:00:47 > git rev-parse HEAD^{commit} # timeout=10 06:00:47 > git config core.sparsecheckout # timeout=10 06:00:47 > git checkout -f c4d485eba0dd609e9271d218bd64bedf9696d5aa # timeout=10 06:00:52 Commit message: "build(deps): bump github.com/edgexfoundry/go-mod-core-contracts/v2" 06:00:52 > git --version # timeout=10 06:00:52 > git --version # 'git version 2.24.3' 06:00:52 fatal: bad object 57ded3389ef25720063a8030e5c426a6b7ea5b20 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 06:00:53 + sudo jq '. + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false}' /etc/docker/daemon.json [Pipeline] sh 06:00:54 + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh 06:00:54 + sudo service docker restart 06:00:54 + true 06:00:54 Redirecting to /bin/systemctl restart docker.service [Pipeline] withEnv [Pipeline] { [Pipeline] wrap 06:00:56 provisioning config files... 06:00:56 copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/1@tmp/config3841658177094031746tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 06:00:57 ---> docker-login.sh 06:00:57 nexus3.edgexfoundry.org:10001 06:00:58 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:00:58 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:00:58 Configure a credential helper to remove this warning. See 06:00:58 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:00:58 06:00:58 Login Succeeded 06:00:58 nexus3.edgexfoundry.org:10002 06:00:58 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:00:58 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:00:58 Configure a credential helper to remove this warning. See 06:00:58 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:00:58 06:00:58 Login Succeeded 06:00:58 nexus3.edgexfoundry.org:10003 06:00:58 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:00:58 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:00:58 Configure a credential helper to remove this warning. See 06:00:58 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:00:58 06:00:58 Login Succeeded 06:00:58 nexus3.edgexfoundry.org:10004 06:00:59 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:00:59 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:00:59 Configure a credential helper to remove this warning. See 06:00:59 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:00:59 06:00:59 Login Succeeded 06:00:59 docker.io 06:00:59 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:00:59 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:00:59 Configure a credential helper to remove this warning. See 06:00:59 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:00:59 06:00:59 Login Succeeded 06:00:59 ---> docker-login.sh ends [Pipeline] } 06:00:59 Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 06:01:00 ========================================================= 06:01:00 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine] 06:01:00 ========================================================= [Pipeline] isUnix [Pipeline] sh 06:01: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.15-alpine . 06:01:00 Sending build context to Docker daemon 2.464MB 06:01:00 Step 1/8 : ARG BASE=golang:1.15-alpine3.12 06:01:00 Step 2/8 : FROM ${BASE} 06:01:01 1.15-alpine: Pulling from edgex-devops/edgex-golang-base 06:01:01 188c0c94c7c5: Pulling fs layer 06:01:01 0ef7d3d256c8: Pulling fs layer 06:01:01 de9db76c5a1d: Pulling fs layer 06:01:01 bca2f99d35d6: Pulling fs layer 06:01:01 93359f2a8cfa: Pulling fs layer 06:01:01 7c6f9722023f: Pulling fs layer 06:01:01 a35cf1a2eb13: Pulling fs layer 06:01:01 bca2f99d35d6: Waiting 06:01:01 7c6f9722023f: Waiting 06:01:01 93359f2a8cfa: Waiting 06:01:01 a35cf1a2eb13: Waiting 06:01:01 de9db76c5a1d: Verifying Checksum 06:01:01 de9db76c5a1d: Download complete 06:01:01 0ef7d3d256c8: Verifying Checksum 06:01:01 0ef7d3d256c8: Download complete 06:01:01 93359f2a8cfa: Verifying Checksum 06:01:01 93359f2a8cfa: Download complete 06:01:01 7c6f9722023f: Verifying Checksum 06:01:01 7c6f9722023f: Download complete 06:01:01 188c0c94c7c5: Verifying Checksum 06:01:01 188c0c94c7c5: Download complete 06:01:01 188c0c94c7c5: Pull complete 06:01:02 0ef7d3d256c8: Pull complete 06:01:02 de9db76c5a1d: Pull complete 06:01:05 a35cf1a2eb13: Verifying Checksum 06:01:05 a35cf1a2eb13: Download complete 06:01:09 bca2f99d35d6: Verifying Checksum 06:01:09 bca2f99d35d6: Download complete 06:01:16 Running on prd-ubuntu18.04-docker-arm64-4c-16g-2154 in /w/workspace/dgexfoundry_device-sdk-go_PR-902 [Pipeline] { [Pipeline] ws 06:01:16 Running in /w/workspace/device-sdk-go/1 [Pipeline] { [Pipeline] checkout 06:01:22 bca2f99d35d6: Pull complete 06:01:22 93359f2a8cfa: Pull complete 06:01:22 7c6f9722023f: Pull complete 06:01:23 using credential edgex-jenkins-ssh 06:01:23 Cloning the remote Git repository 06:01:23 Cloning repository git@github.com:edgexfoundry/device-sdk-go.git 06:01:23 > git init /w/workspace/device-sdk-go/1 # timeout=10 06:01:23 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 06:01:23 > git --version # timeout=10 06:01:23 > git --version # 'git version 2.17.1' 06:01:23 using GIT_SSH to set credentials SSH Credentials for GitHub 06:01:23 > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 06:01:25 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 06:01:25 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 06:01:25 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 06:01:25 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 06:01:25 using GIT_SSH to set credentials SSH Credentials for GitHub 06:01:25 > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/902/head:refs/remotes/origin/PR-902 +refs/heads/master:refs/remotes/origin/master # timeout=10 06:01:26 Merging remotes/origin/master commit 92affc97e25621ac5a3617c0e5e42feb55191c77 into PR head commit c4d485eba0dd609e9271d218bd64bedf9696d5aa 06:01:26 Merge succeeded, producing c4d485eba0dd609e9271d218bd64bedf9696d5aa 06:01:26 Checking out Revision c4d485eba0dd609e9271d218bd64bedf9696d5aa (PR-902) 06:01:26 > git config core.sparsecheckout # timeout=10 06:01:26 > git checkout -f c4d485eba0dd609e9271d218bd64bedf9696d5aa # timeout=10 06:01:26 > git remote # timeout=10 06:01:26 > git config --get remote.origin.url # timeout=10 06:01:26 using GIT_SSH to set credentials SSH Credentials for GitHub 06:01:26 > git merge 92affc97e25621ac5a3617c0e5e42feb55191c77 # timeout=10 06:01:26 > git rev-parse HEAD^{commit} # timeout=10 06:01:26 > git config core.sparsecheckout # timeout=10 06:01:26 > git checkout -f c4d485eba0dd609e9271d218bd64bedf9696d5aa # timeout=10 06:01:28 a35cf1a2eb13: Pull complete 06:01:28 Digest: sha256:47e1832254f01ad1d18e03a79677f1a8325b9c763402aad95be204d7d7715f46 06:01:28 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine 06:01:28 ---> a62c8e92a672 06:01:28 Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 06:01:28 ---> Running in 96f671067ec9 06:01:29 Removing intermediate container 96f671067ec9 06:01:29 ---> 027c9203819b 06:01:29 Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 06:01:29 ---> Running in 01fc0e123ccb 06:01:30 Commit message: "build(deps): bump github.com/edgexfoundry/go-mod-core-contracts/v2" 06:01:30 > git --version # timeout=10 06:01:30 > git --version # 'git version 2.17.1' 06:01:30 fatal: bad object 57ded3389ef25720063a8030e5c426a6b7ea5b20 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 06:01:32 + sudo jq . + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false} /etc/docker/daemon.json 06:01:32 Removing intermediate container 01fc0e123ccb 06:01:32 ---> 328c95167949 06:01:32 Step 5/8 : RUN apk add --update --no-cache make git gcc libc-dev libsodium-dev zeromq-dev 06:01:32 ---> Running in 4730aa64c0df [Pipeline] sh 06:01:33 + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh 06:01:33 + + sudo service dockertrue restart 06:01:33 06:01:34 fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz 06:01:34 fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz 06:01:35 (1/6) Installing libc-dev (0.7.2-r3) 06:01:35 (2/6) Installing libsodium (1.0.18-r0) 06:01:35 (3/6) Installing pkgconf (1.7.2-r0) 06:01:35 (4/6) Installing libsodium-dev (1.0.18-r0) 06:01:35 (5/6) Installing libzmq (4.3.3-r0) 06:01:35 (6/6) Installing zeromq-dev (4.3.3-r0) 06:01:35 Executing busybox-1.31.1-r19.trigger 06:01:35 OK: 167 MiB in 45 packages [Pipeline] withEnv [Pipeline] { [Pipeline] wrap 06:01:36 provisioning config files... 06:01:36 copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/1@tmp/config8842717909599243396tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 06:01:36 Removing intermediate container 4730aa64c0df 06:01:36 ---> ea30d0ff8717 06:01:36 Step 6/8 : WORKDIR /device-sdk-go 06:01:36 ---> docker-login.sh 06:01:36 nexus3.edgexfoundry.org:10001 06:01:36 ---> Running in cf8da0396f8d 06:01:37 Removing intermediate container cf8da0396f8d 06:01:37 ---> 089316b98eed 06:01:37 Step 7/8 : COPY . . 06:01:37 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:01:37 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:01:37 Configure a credential helper to remove this warning. See 06:01:37 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:01:37 06:01:37 Login Succeeded 06:01:37 nexus3.edgexfoundry.org:10002 06:01:38 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:01:38 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:01:38 Configure a credential helper to remove this warning. See 06:01:38 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:01:38 06:01:38 Login Succeeded 06:01:38 nexus3.edgexfoundry.org:10003 06:01:38 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:01:39 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:01:39 Configure a credential helper to remove this warning. See 06:01:39 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:01:39 06:01:39 Login Succeeded 06:01:39 nexus3.edgexfoundry.org:10004 06:01:39 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:01:39 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:01:39 Configure a credential helper to remove this warning. See 06:01:39 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:01:39 06:01:39 Login Succeeded 06:01:39 docker.io 06:01:39 ---> ffcac14bf62b 06:01:39 Step 8/8 : RUN go mod download 06:01:40 ---> Running in 963a0a8eeb07 06:01:40 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:01:40 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:01:40 Configure a credential helper to remove this warning. See 06:01:40 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:01:40 06:01:40 Login Succeeded 06:01:40 ---> docker-login.sh ends [Pipeline] } 06:01:40 Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 06:01:41 ========================================================= 06:01:41 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine] 06:01:41 ========================================================= [Pipeline] isUnix [Pipeline] sh 06:01:41 + docker build -t ci-base-image-arm64 -f Dockerfile.build --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine . 06:01:42 Sending build context to Docker daemon 2.473MB 06:01:42 Step 1/8 : ARG BASE=golang:1.15-alpine3.12 06:01:42 Step 2/8 : FROM ${BASE} 06:01:42 1.15-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 06:01:42 5f621e34cdf4: Pulling fs layer 06:01:42 a4357932f1b6: Pulling fs layer 06:01:42 18c013af1878: Pulling fs layer 06:01:42 00ac8860ef70: Pulling fs layer 06:01:42 63d7cb157983: Pulling fs layer 06:01:42 b116817d02f9: Pulling fs layer 06:01:42 745a02a5169b: Pulling fs layer 06:01:42 63d7cb157983: Waiting 06:01:42 b116817d02f9: Waiting 06:01:42 745a02a5169b: Waiting 06:01:42 00ac8860ef70: Waiting 06:01:42 18c013af1878: Verifying Checksum 06:01:42 18c013af1878: Download complete 06:01:42 a4357932f1b6: Verifying Checksum 06:01:42 a4357932f1b6: Download complete 06:01:42 63d7cb157983: Verifying Checksum 06:01:42 63d7cb157983: Download complete 06:01:42 b116817d02f9: Download complete 06:01:42 5f621e34cdf4: Verifying Checksum 06:01:42 5f621e34cdf4: Download complete 06:01:42 5f621e34cdf4: Pull complete 06:01:43 a4357932f1b6: Pull complete 06:01:44 18c013af1878: Pull complete 06:01:44 745a02a5169b: Verifying Checksum 06:01:44 745a02a5169b: Download complete 06:01:46 00ac8860ef70: Download complete 06:01:56 00ac8860ef70: Pull complete 06:01:56 63d7cb157983: Pull complete 06:01:56 b116817d02f9: Pull complete 06:02:00 745a02a5169b: Pull complete 06:02:00 Digest: sha256:df689100bc6b2f2091bc50e3ab30bcbb973ead998518226adecfd27d0a642918 06:02:00 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine 06:02:00 ---> b7e6874047d6 06:02:00 Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 06:02:03 ---> Running in 1c1ac804b197 06:02:04 Removing intermediate container 1c1ac804b197 06:02:04 ---> 131c7f65911a 06:02:04 Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 06:02:04 ---> Running in a896d4a61dd7 06:02:06 Removing intermediate container a896d4a61dd7 06:02:06 ---> 97f61bd72934 06:02:06 Step 5/8 : RUN apk add --update --no-cache make git gcc libc-dev libsodium-dev zeromq-dev 06:02:06 ---> Running in 240c3ab5816c 06:02:08 fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz 06:02:08 fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz 06:02:09 (1/6) Installing libc-dev (0.7.2-r3) 06:02:09 (2/6) Installing libsodium (1.0.18-r0) 06:02:09 (3/6) Installing pkgconf (1.7.2-r0) 06:02:09 (4/6) Installing libsodium-dev (1.0.18-r0) 06:02:09 (5/6) Installing libzmq (4.3.3-r0) 06:02:09 (6/6) Installing zeromq-dev (4.3.3-r0) 06:02:10 Executing busybox-1.31.1-r19.trigger 06:02:10 OK: 144 MiB in 45 packages 06:02:11 Removing intermediate container 240c3ab5816c 06:02:11 ---> e738ba424f06 06:02:11 Step 6/8 : WORKDIR /device-sdk-go 06:02:11 ---> Running in f4d247a12f63 06:02:12 Removing intermediate container f4d247a12f63 06:02:12 ---> dd0c93ac29ee 06:02:12 Step 7/8 : COPY . . 06:02:13 ---> 976d1404f8be 06:02:13 Step 8/8 : RUN go mod download 06:02:13 ---> Running in 05e8ef7e8e9e 06:02:19 Removing intermediate container 963a0a8eeb07 06:02:19 ---> 1f93e5aaa48b 06:02:19 Successfully built 1f93e5aaa48b 06:02:19 Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh 06:02:19 + docker inspect -f . ci-base-image-x86_64 06:02:20 . [Pipeline] withDockerContainer 06:02:20 prd-centos7-docker-4c-2g-2153 does not seem to be running inside a container 06:02:20 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/1 -v /w/workspace/device-sdk-go/1:/w/workspace/device-sdk-go/1:rw,z -v /w/workspace/device-sdk-go/1@tmp:/w/workspace/device-sdk-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 06:02:22 $ docker top 951b4b8bf7b38234ad0e5ccb229c842902a1ececc8a6dbe4cf9a3eaa63ca7815 -eo pid,comm [Pipeline] { [Pipeline] sh 06:02:23 + go version 06:02:23 go version go1.15.5 linux/amd64 [Pipeline] } 06:02:23 $ docker stop --time=1 951b4b8bf7b38234ad0e5ccb229c842902a1ececc8a6dbe4cf9a3eaa63ca7815 06:02:25 $ docker rm -f 951b4b8bf7b38234ad0e5ccb229c842902a1ececc8a6dbe4cf9a3eaa63ca7815 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 06:02:26 + docker inspect -f . ci-base-image-x86_64 06:02:26 . [Pipeline] withDockerContainer 06:02:26 prd-centos7-docker-4c-2g-2153 does not seem to be running inside a container 06:02:26 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/1 -v /w/workspace/device-sdk-go/1:/w/workspace/device-sdk-go/1:rw,z -v /w/workspace/device-sdk-go/1@tmp:/w/workspace/device-sdk-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 06:02:27 $ docker top 8f61e4ad5362dc86ca801b6fef13c81a2f4008b9a221d31711e40f4ab9a48160 -eo pid,comm [Pipeline] { [Pipeline] sh 06:02:28 + make test 06:02:28 GO111MODULE=on go test -race -coverprofile=coverage.out ./... 06:02:40 Removing intermediate container 05e8ef7e8e9e 06:02:40 ---> 3149cf26a904 06:02:40 Successfully built 3149cf26a904 06:02:40 Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh 06:02:40 + docker inspect -f . ci-base-image-arm64 06:02:40 . [Pipeline] withDockerContainer 06:02:41 prd-ubuntu18.04-docker-arm64-4c-16g-2154 does not seem to be running inside a container 06:02:41 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/1 -v /w/workspace/device-sdk-go/1:/w/workspace/device-sdk-go/1:rw,z -v /w/workspace/device-sdk-go/1@tmp:/w/workspace/device-sdk-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 06:02:41 ? github.com/edgexfoundry/device-sdk-go/v2 [no test files] 06:02:42 $ docker top d47e9e1f28ed55894a35482e2959a1e8801fdc1e27ce964150dd7bee158e2136 -eo pid,comm [Pipeline] { [Pipeline] sh 06:02:44 + go version 06:02:44 go version go1.15.5 linux/arm64 [Pipeline] } 06:02:44 $ docker stop --time=1 d47e9e1f28ed55894a35482e2959a1e8801fdc1e27ce964150dd7bee158e2136 06:02:46 $ docker rm -f d47e9e1f28ed55894a35482e2959a1e8801fdc1e27ce964150dd7bee158e2136 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 06:02:47 + docker inspect -f . ci-base-image-arm64 06:02:47 . [Pipeline] withDockerContainer 06:02:47 prd-ubuntu18.04-docker-arm64-4c-16g-2154 does not seem to be running inside a container 06:02:47 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/1 -v /w/workspace/device-sdk-go/1:/w/workspace/device-sdk-go/1:rw,z -v /w/workspace/device-sdk-go/1@tmp:/w/workspace/device-sdk-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 06:02:48 $ docker top 822233b3c43dea45f00fe93a65321d08a3dc6d4a1b23dad4c1539bb63101b2d6 -eo pid,comm [Pipeline] { [Pipeline] sh 06:02:49 + make test 06:02:49 GO111MODULE=on go test -race -coverprofile=coverage.out ./... 06:03:12 ? github.com/edgexfoundry/device-sdk-go/v2 [no test files] 06:03:29 ? github.com/edgexfoundry/device-sdk-go/v2/example/cmd/device-simple [no test files] 06:03:29 ? github.com/edgexfoundry/device-sdk-go/v2/example/config [no test files] 06:03:29 ? github.com/edgexfoundry/device-sdk-go/v2/example/driver [no test files] 06:03:29 ? github.com/edgexfoundry/device-sdk-go/v2/internal/application [no test files] 06:03:29 ? github.com/edgexfoundry/device-sdk-go/v2/internal/autodiscovery [no test files] 06:03:33 ok github.com/edgexfoundry/device-sdk-go/v2/internal/autoevent 0.207s coverage: 28.1% of statements 06:03:33 ok github.com/edgexfoundry/device-sdk-go/v2/internal/cache 0.223s coverage: 78.9% of statements 06:03:34 ok github.com/edgexfoundry/device-sdk-go/v2/internal/clients 1.115s coverage: 7.8% of statements 06:03:34 ? github.com/edgexfoundry/device-sdk-go/v2/internal/common [no test files] 06:03:34 ? github.com/edgexfoundry/device-sdk-go/v2/internal/config [no test files] 06:03:34 ? github.com/edgexfoundry/device-sdk-go/v2/internal/container [no test files] 06:03:34 ok github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http 0.258s coverage: 30.2% of statements 06:03:34 ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http/correlation [no test files] 06:03:34 ? github.com/edgexfoundry/device-sdk-go/v2/internal/provision [no test files] 06:03:34 ? github.com/edgexfoundry/device-sdk-go/v2/internal/telemetry [no test files] 06:03:36 ok github.com/edgexfoundry/device-sdk-go/v2/internal/transformer 0.251s coverage: 57.2% of statements 06:03:36 ok github.com/edgexfoundry/device-sdk-go/v2/pkg/models 2.189s coverage: 6.6% of statements 06:03:37 ok github.com/edgexfoundry/device-sdk-go/v2/pkg/service 0.072s coverage: 5.0% of statements 06:03:37 ? github.com/edgexfoundry/device-sdk-go/v2/pkg/startup [no test files] 06:03:37 GO111MODULE=on go vet ./... 06:04:08 ? github.com/edgexfoundry/device-sdk-go/v2/example/cmd/device-simple [no test files] 06:04:08 ? github.com/edgexfoundry/device-sdk-go/v2/example/config [no test files] 06:04:08 ? github.com/edgexfoundry/device-sdk-go/v2/example/driver [no test files] 06:04:08 ? github.com/edgexfoundry/device-sdk-go/v2/internal/application [no test files] 06:04:08 ? github.com/edgexfoundry/device-sdk-go/v2/internal/autodiscovery [no test files] 06:04:10 gofmt -l . 06:04:10 [ "`gofmt -l .`" = "" ] 06:04:10 ./bin/test-attribution-txt.sh 06:04:10 ./bin/test-go-mod-tidy.sh [Pipeline] } 06:04:10 $ docker stop --time=1 8f61e4ad5362dc86ca801b6fef13c81a2f4008b9a221d31711e40f4ab9a48160 06:04:12 $ docker rm -f 8f61e4ad5362dc86ca801b6fef13c81a2f4008b9a221d31711e40f4ab9a48160 [Pipeline] // withDockerContainer [Pipeline] sh 06:04:12 + sudo chown -R jenkins:jenkins . [Pipeline] stash 06:04:13 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 06:04:14 + sudo chown -R jenkins:jenkins . [Pipeline] sh 06:04:15 + ls -al . 06:04:15 total 188 06:04:15 drwxrwxr-x. 10 jenkins jenkins 4096 Apr 28 06:04 . 06:04:15 drwxrwxr-x. 4 jenkins jenkins 28 Apr 28 06:00 .. 06:04:15 drwxrwxr-x. 2 jenkins jenkins 64 Apr 28 06:00 bin 06:04:15 -rw-r--r--. 1 jenkins jenkins 100321 Apr 28 06:03 coverage.out 06:04:15 -rw-rw-r--. 1 jenkins jenkins 987 Apr 28 06:00 Dockerfile.build 06:04:15 -rw-rw-r--. 1 jenkins jenkins 140 Apr 28 06:00 .dockerignore 06:04:15 drwxrwxr-x. 5 jenkins jenkins 62 Apr 28 06:00 example 06:04:15 drwxrwxr-x. 8 jenkins jenkins 179 Apr 28 06:00 .git 06:04:15 drwxrwxr-x. 2 jenkins jenkins 103 Apr 28 06:00 .github 06:04:15 -rw-rw-r--. 1 jenkins jenkins 138 Apr 28 06:00 .gitignore 06:04:15 -rw-r--r--. 1 jenkins jenkins 575 Apr 28 06:04 go.mod 06:04:15 -rw-r--r--. 1 jenkins jenkins 20957 Apr 28 06:04 go.sum 06:04:15 drwxrwxr-x. 14 jenkins jenkins 207 Apr 28 06:00 internal 06:04:15 -rw-rw-r--. 1 jenkins jenkins 901 Apr 28 06:00 Jenkinsfile 06:04:15 -rw-rw-r--. 1 jenkins jenkins 11341 Apr 28 06:00 LICENSE 06:04:15 -rw-rw-r--. 1 jenkins jenkins 1022 Apr 28 06:00 Makefile 06:04:15 drwxrwxr-x. 4 jenkins jenkins 26 Apr 28 06:00 openapi 06:04:15 drwxrwxr-x. 5 jenkins jenkins 50 Apr 28 06:00 pkg 06:04:15 -rw-rw-r--. 1 jenkins jenkins 7652 Apr 28 06:00 README.md 06:04:15 -rw-rw-r--. 1 jenkins jenkins 6616 Apr 28 06:00 RELEASE-NOTES.txt 06:04:15 drwxrwxr-x. 4 jenkins jenkins 54 Apr 28 06:00 snap 06:04:15 -rw-rw-r--. 1 jenkins jenkins 5 Apr 28 05:57 VERSION 06:04:15 -rw-rw-r--. 1 jenkins jenkins 222 Apr 28 06:00 version.go [Pipeline] isUnix [Pipeline] sh 06:04:15 + 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=c4d485eba0dd609e9271d218bd64bedf9696d5aa --label arch=amd64 --label version=0.0.0 . 06:04:15 ok github.com/edgexfoundry/device-sdk-go/v2/internal/autoevent 0.157s coverage: 28.1% of statements 06:04:15 ok github.com/edgexfoundry/device-sdk-go/v2/internal/cache 0.218s coverage: 78.9% of statements 06:04:15 ok github.com/edgexfoundry/device-sdk-go/v2/internal/clients 1.166s coverage: 7.8% of statements 06:04:15 ? github.com/edgexfoundry/device-sdk-go/v2/internal/common [no test files] 06:04:15 ? github.com/edgexfoundry/device-sdk-go/v2/internal/config [no test files] 06:04:15 ? github.com/edgexfoundry/device-sdk-go/v2/internal/container [no test files] 06:04:16 Sending build context to Docker daemon 2.565MB 06:04:16 Step 1/23 : ARG BASE=golang:1.15-alpine3.12 06:04:16 Step 2/23 : FROM ${BASE} AS builder 06:04:16 ---> 1f93e5aaa48b 06:04:16 Step 3/23 : WORKDIR /device-sdk-go 06:04:16 ---> Running in 23f6bb404218 06:04:17 Removing intermediate container 23f6bb404218 06:04:17 ---> ab62a6cbe5e4 06:04:17 Step 4/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 06:04:17 ---> Running in 1b8cde7975f8 06:04:17 Removing intermediate container 1b8cde7975f8 06:04:17 ---> 770b07000171 06:04:17 Step 5/23 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 06:04:17 ---> Running in 2442a5ac9d8f 06:04:18 ok github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http 0.219s coverage: 30.2% of statements 06:04:18 ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http/correlation [no test files] 06:04:18 ? github.com/edgexfoundry/device-sdk-go/v2/internal/provision [no test files] 06:04:18 ? github.com/edgexfoundry/device-sdk-go/v2/internal/telemetry [no test files] 06:04:19 Removing intermediate container 2442a5ac9d8f 06:04:19 ---> 35deac925326 06:04:19 Step 6/23 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev 06:04:19 ---> Running in 9b6d1f502d4c 06:04:21 ok github.com/edgexfoundry/device-sdk-go/v2/internal/transformer 0.292s coverage: 57.2% of statements 06:04:21 ok github.com/edgexfoundry/device-sdk-go/v2/pkg/models 3.109s coverage: 6.6% of statements 06:04:21 fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz 06:04:22 fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz 06:04:22 OK: 167 MiB in 45 packages 06:04:22 ok github.com/edgexfoundry/device-sdk-go/v2/pkg/service 0.149s coverage: 5.0% of statements 06:04:22 ? github.com/edgexfoundry/device-sdk-go/v2/pkg/startup [no test files] 06:04:22 GO111MODULE=on go vet ./... 06:04:23 Removing intermediate container 9b6d1f502d4c 06:04:23 ---> 06a8104eecf1 06:04:23 Step 7/23 : COPY . . 06:04:23 ---> 8c7a01130d14 06:04:23 Step 8/23 : RUN go mod download 06:04:24 ---> Running in 90012cbd6356 06:04:26 Removing intermediate container 90012cbd6356 06:04:26 ---> a0bd1d10e04f 06:04:26 Step 9/23 : RUN make build 06:04:26 ---> Running in 916dc8a10289 06:04:28 CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-sdk-go/v2.Version=0.0.0" -o example/cmd/device-simple/device-simple ./example/cmd/device-simple 06:04:47 CGO_ENABLED=1 GO111MODULE=on go install -tags=safe 06:04:49 Removing intermediate container 916dc8a10289 06:04:49 ---> b8da651ae9a5 06:04:49 Step 10/23 : FROM alpine:3.12 06:04:49 3.12: Pulling from library/alpine 06:04:49 339de151aab4: Pulling fs layer 06:04:49 339de151aab4: Verifying Checksum 06:04:49 339de151aab4: Download complete 06:04:50 339de151aab4: Pull complete 06:04:50 Digest: sha256:36553b10a4947067b9fbb7d532951066293a68eae893beba1d9235f7d11a20ad 06:04:50 Status: Downloaded newer image for alpine:3.12 06:04:50 ---> 13621d1b12d4 06:04:50 Step 11/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 06:04:50 ---> Running in 1a1eed17966f 06:04:50 Removing intermediate container 1a1eed17966f 06:04:50 ---> bc2cab369b4f 06:04:50 Step 12/23 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 06:04:50 ---> Running in 1b0baa42351a 06:04:54 Removing intermediate container 1b0baa42351a 06:04:54 ---> c324f84503b5 06:04:54 Step 13/23 : RUN apk add --update --no-cache zeromq 06:04:54 ---> Running in 2e1b484a60a4 06:04:55 fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz 06:04:56 fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz 06:04:57 (1/5) Installing libgcc (9.3.0-r2) 06:04:57 (2/5) Installing libsodium (1.0.18-r0) 06:04:57 (3/5) Installing libstdc++ (9.3.0-r2) 06:04:57 (4/5) Installing libzmq (4.3.3-r0) 06:04:57 (5/5) Installing zeromq (4.3.3-r0) 06:04:57 Executing busybox-1.31.1-r20.trigger 06:04:57 OK: 8 MiB in 19 packages 06:04:58 Removing intermediate container 2e1b484a60a4 06:04:58 ---> 2ae2360e5e46 06:04:58 Step 14/23 : WORKDIR / 06:04:59 ---> Running in 51d06da3a8fb 06:04:59 Removing intermediate container 51d06da3a8fb 06:04:59 ---> 18e7ef430595 06:04:59 Step 15/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt 06:05:00 ---> f2e5d1ae2f6c 06:05:00 Step 16/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple 06:05:01 ---> c6c2fa3bd5ab 06:05:01 Step 17/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res 06:05:02 ---> 46abe141cb69 06:05:02 Step 18/23 : EXPOSE 49990 06:05:02 ---> Running in 90b69414d308 06:05:02 Removing intermediate container 90b69414d308 06:05:02 ---> 85ce0419a25c 06:05:02 Step 19/23 : ENTRYPOINT ["/device-simple"] 06:05:02 ---> Running in fa555fd0ad0e 06:05:03 Removing intermediate container fa555fd0ad0e 06:05:03 ---> 21c4efb2574f 06:05:03 Step 20/23 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] 06:05:03 ---> Running in e95c4dfaa1e4 06:05:03 Removing intermediate container e95c4dfaa1e4 06:05:03 ---> 78ccf863154a 06:05:03 Step 21/23 : LABEL arch=amd64 06:05:03 ---> Running in 731442d517b0 06:05:03 Removing intermediate container 731442d517b0 06:05:03 ---> c587725bedef 06:05:03 Step 22/23 : LABEL git_sha=c4d485eba0dd609e9271d218bd64bedf9696d5aa 06:05:03 ---> Running in 985cc1249330 06:05:04 Removing intermediate container 985cc1249330 06:05:04 ---> cd2e97f69467 06:05:04 Step 23/23 : LABEL version=0.0.0 06:05:04 ---> Running in 3d163266945f 06:05:04 Removing intermediate container 3d163266945f 06:05:04 ---> 4731f60ede6a 06:05:04 [Warning] One or more build-args [ARCH MAKE] were not consumed 06:05:04 Successfully built 4731f60ede6a 06:05:04 Successfully tagged docker-device-sdk-simple:latest [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] libraryResource [Pipeline] sh 06:05:05 ---> job-cost.sh 06:05:06 lf-activate-venv(): INFO: Creating python3 venv at /tmp/venv-xZ0v 06:05:09 gofmt -l . 06:05:09 [ "`gofmt -l .`" = "" ] 06:05:09 ./bin/test-attribution-txt.sh 06:05:09 ./bin/test-go-mod-tidy.sh [Pipeline] } 06:05:09 $ docker stop --time=1 822233b3c43dea45f00fe93a65321d08a3dc6d4a1b23dad4c1539bb63101b2d6 06:05:12 $ docker rm -f 822233b3c43dea45f00fe93a65321d08a3dc6d4a1b23dad4c1539bb63101b2d6 [Pipeline] // withDockerContainer [Pipeline] sh 06:05:13 + sudo chown -R jenkins:jenkins . [Pipeline] stash 06:05:13 Warning: overwriting stash ‘coverage-report’ 06:05:13 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 06:05:14 + sudo chown -R jenkins:jenkins . [Pipeline] sh 06:05:14 + ls -al . 06:05:14 total 224 06:05:14 drwxrwxr-x 10 jenkins jenkins 4096 Apr 28 06:05 . 06:05:14 drwxrwxr-x 4 jenkins jenkins 4096 Apr 28 06:01 .. 06:05:14 -rw-rw-r-- 1 jenkins jenkins 140 Apr 28 06:01 .dockerignore 06:05:14 drwxrwxr-x 8 jenkins jenkins 4096 Apr 28 06:01 .git 06:05:14 drwxrwxr-x 2 jenkins jenkins 4096 Apr 28 06:01 .github 06:05:14 -rw-rw-r-- 1 jenkins jenkins 138 Apr 28 06:01 .gitignore 06:05:14 -rw-rw-r-- 1 jenkins jenkins 987 Apr 28 06:01 Dockerfile.build 06:05:14 -rw-rw-r-- 1 jenkins jenkins 901 Apr 28 06:01 Jenkinsfile 06:05:14 -rw-rw-r-- 1 jenkins jenkins 11341 Apr 28 06:01 LICENSE 06:05:14 -rw-rw-r-- 1 jenkins jenkins 1022 Apr 28 06:01 Makefile 06:05:14 -rw-rw-r-- 1 jenkins jenkins 7652 Apr 28 06:01 README.md 06:05:14 -rw-rw-r-- 1 jenkins jenkins 6616 Apr 28 06:01 RELEASE-NOTES.txt 06:05:14 -rw-rw-r-- 1 jenkins jenkins 5 Apr 28 05:57 VERSION 06:05:14 drwxrwxr-x 2 jenkins jenkins 4096 Apr 28 06:01 bin 06:05:14 -rw-r--r-- 1 jenkins jenkins 100320 Apr 28 06:04 coverage.out 06:05:14 drwxrwxr-x 5 jenkins jenkins 4096 Apr 28 06:01 example 06:05:14 -rw-r--r-- 1 jenkins jenkins 575 Apr 28 06:05 go.mod 06:05:14 -rw-r--r-- 1 jenkins jenkins 20957 Apr 28 06:05 go.sum 06:05:14 drwxrwxr-x 14 jenkins jenkins 4096 Apr 28 06:01 internal 06:05:14 drwxrwxr-x 4 jenkins jenkins 4096 Apr 28 06:01 openapi 06:05:14 drwxrwxr-x 5 jenkins jenkins 4096 Apr 28 06:01 pkg 06:05:14 drwxrwxr-x 4 jenkins jenkins 4096 Apr 28 06:01 snap 06:05:14 -rw-rw-r-- 1 jenkins jenkins 222 Apr 28 06:01 version.go [Pipeline] isUnix [Pipeline] sh 06:05:15 + 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=c4d485eba0dd609e9271d218bd64bedf9696d5aa --label arch=arm64 --label version=0.0.0 . 06:05:15 Sending build context to Docker daemon 2.574MB 06:05:15 Step 1/23 : ARG BASE=golang:1.15-alpine3.12 06:05:15 Step 2/23 : FROM ${BASE} AS builder 06:05:15 ---> 3149cf26a904 06:05:15 Step 3/23 : WORKDIR /device-sdk-go 06:05:16 ---> Running in 0e3f514ac732 06:05:16 Removing intermediate container 0e3f514ac732 06:05:16 ---> 24c21529d77a 06:05:16 Step 4/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 06:05:16 ---> Running in 586c5c67aaca 06:05:16 Removing intermediate container 586c5c67aaca 06:05:16 ---> 4d045c1faff3 06:05:16 Step 5/23 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 06:05:17 ---> Running in 57ba2d018a01 06:05:19 Removing intermediate container 57ba2d018a01 06:05:19 ---> aa563f31efa2 06:05:19 Step 6/23 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev 06:05:19 ---> Running in a1928521a344 06:05:20 fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz 06:05:21 fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz 06:05:21 OK: 144 MiB in 45 packages 06:05:23 Removing intermediate container a1928521a344 06:05:23 ---> ad114524ac1b 06:05:23 Step 7/23 : COPY . . 06:05:24 ---> 06f80a25607a 06:05:24 Step 8/23 : RUN go mod download 06:05:24 ---> Running in 45cb193fc37c 06:05:27 Removing intermediate container 45cb193fc37c 06:05:27 ---> 9b94f575f887 06:05:27 Step 9/23 : RUN make build 06:05:27 ---> Running in 29f43d35f4bd 06:05:28 CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-sdk-go/v2.Version=0.0.0" -o example/cmd/device-simple/device-simple ./example/cmd/device-simple 06:05:33 lf-activate-venv(): INFO: Installing: zipp==1.1.0 python-openstackclient 06:06:07 CGO_ENABLED=1 GO111MODULE=on go install -tags=safe 06:06:07 Removing intermediate container 29f43d35f4bd 06:06:07 ---> 8428d5c6960b 06:06:07 Step 10/23 : FROM alpine:3.12 06:06:07 3.12: Pulling from library/alpine 06:06:07 d2f70382dc9a: Pulling fs layer 06:06:07 d2f70382dc9a: Verifying Checksum 06:06:07 d2f70382dc9a: Download complete 06:06:07 d2f70382dc9a: Pull complete 06:06:07 Digest: sha256:36553b10a4947067b9fbb7d532951066293a68eae893beba1d9235f7d11a20ad 06:06:07 Status: Downloaded newer image for alpine:3.12 06:06:07 ---> 9852663dfa18 06:06:07 Step 11/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 06:06:07 ---> Running in e9569c6ea5ef 06:06:07 Removing intermediate container e9569c6ea5ef 06:06:07 ---> 2e9425849701 06:06:07 Step 12/23 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 06:06:07 ---> Running in d773f8ea64f5 06:06:09 Removing intermediate container d773f8ea64f5 06:06:09 ---> f096c09d2cab 06:06:09 Step 13/23 : RUN apk add --update --no-cache zeromq 06:06:09 ---> Running in 2db066bc15b5 06:06:10 fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz 06:06:11 fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz 06:06:11 (1/5) Installing libgcc (9.3.0-r2) 06:06:11 (2/5) Installing libsodium (1.0.18-r0) 06:06:11 (3/5) Installing libstdc++ (9.3.0-r2) 06:06:12 (4/5) Installing libzmq (4.3.3-r0) 06:06:12 (5/5) Installing zeromq (4.3.3-r0) 06:06:12 Executing busybox-1.31.1-r20.trigger 06:06:12 OK: 8 MiB in 19 packages 06:06:13 Removing intermediate container 2db066bc15b5 06:06:13 ---> 49e5e97a9859 06:06:13 Step 14/23 : WORKDIR / 06:06:13 ---> Running in d13525feae08 06:06:14 Removing intermediate container d13525feae08 06:06:14 ---> 966f9ca67d0a 06:06:14 Step 15/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt 06:06:15 ---> 77d4825c7578 06:06:15 Step 16/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple 06:06:16 ---> 5b0a04ec8f9a 06:06:16 Step 17/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res 06:06:17 ---> 6da99be8c942 06:06:17 Step 18/23 : EXPOSE 49990 06:06:17 ---> Running in 7fc24e3b6363 06:06:17 Removing intermediate container 7fc24e3b6363 06:06:17 ---> 2b34c9592755 06:06:17 Step 19/23 : ENTRYPOINT ["/device-simple"] 06:06:17 ---> Running in 1c43861e4a5c 06:06:18 Removing intermediate container 1c43861e4a5c 06:06:18 ---> 502c6b803c81 06:06:18 Step 20/23 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] 06:06:18 ---> Running in 477b9c2ea874 06:06:18 Removing intermediate container 477b9c2ea874 06:06:18 ---> 9ef7d2484ab2 06:06:18 Step 21/23 : LABEL arch=arm64 06:06:18 ---> Running in 6a23b7a0d5c6 06:06:19 Removing intermediate container 6a23b7a0d5c6 06:06:19 ---> 95b4b29c0c8d 06:06:19 Step 22/23 : LABEL git_sha=c4d485eba0dd609e9271d218bd64bedf9696d5aa 06:06:19 ---> Running in 46c8dec8872b 06:06:20 Removing intermediate container 46c8dec8872b 06:06:20 ---> f0047653e1c8 06:06:20 Step 23/23 : LABEL version=0.0.0 06:06:20 ---> Running in 07fd2fc3f9c0 06:06:20 lf-activate-venv(): INFO: Adding /tmp/venv-xZ0v/bin to PATH 06:06:20 INFO: No Stack... 06:06:20 Removing intermediate container 07fd2fc3f9c0 06:06:20 ---> b52766db0343 06:06:20 [Warning] One or more build-args [ARCH MAKE] were not consumed 06:06:20 Successfully built b52766db0343 06:06:20 Successfully tagged docker-device-sdk-simple-arm64:latest 06:06:20 INFO: Retrieving Pricing Info for: v1-standard-2 [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] libraryResource [Pipeline] sh 06:06:21 ---> job-cost.sh 06:06:21 lf-activate-venv(): INFO: Creating python3 venv at /tmp/venv-d2wO 06:06:22 INFO: Archiving Costs [Pipeline] sh 06:06:22 + cat /w/workspace/device-sdk-go/1/archives/cost.csv 06:06:22 + cut -d, -f6 [Pipeline] lock 06:06:23 Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-PR-902-1-stack-cost] 06:06:23 Resource [jenkins-edgexfoundry-device-sdk-go-PR-902-1-stack-cost] did not exist. Created. 06:06:23 Lock acquired on [jenkins-edgexfoundry-device-sdk-go-PR-902-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 06:06:24 + echo total: 0.029999999329447746 [Pipeline] stash 06:06:24 Stashed 1 file(s) [Pipeline] } 06:06:24 Lock released on resource [jenkins-edgexfoundry-device-sdk-go-PR-902-1-stack-cost] [Pipeline] // lock [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } 06:07:00 lf-activate-venv(): INFO: Installing: zipp==1.1.0 python-openstackclient 06:08:22 lf-activate-venv(): INFO: Adding /tmp/venv-d2wO/bin to PATH 06:08:22 INFO: No Stack... 06:08:23 INFO: Retrieving Pricing Info for: lf-standard-4 06:08:24 INFO: Archiving Costs [Pipeline] sh 06:08:24 + cat /w/workspace/device-sdk-go/1/archives/cost.csv 06:08:24 + cut -d, -f6 [Pipeline] lock 06:08:24 Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-PR-902-1-stack-cost] 06:08:24 Resource [jenkins-edgexfoundry-device-sdk-go-PR-902-1-stack-cost] did not exist. Created. 06:08:24 Lock acquired on [jenkins-edgexfoundry-device-sdk-go-PR-902-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 06:08:25 /w/workspace/device-sdk-go/1@tmp/durable-72e4ff7a/script.sh: 1: /w/workspace/device-sdk-go/1@tmp/durable-72e4ff7a/script.sh: Syntax error: Unterminated quoted string [Pipeline] sh 06:08:25 + echo total: 0.20999999344348907 [Pipeline] stash 06:08:25 Warning: overwriting stash ‘stack-cost’ 06:08:25 Stashed 1 file(s) [Pipeline] } 06:08:25 Lock released on resource [jenkins-edgexfoundry-device-sdk-go-PR-902-1-stack-cost] [Pipeline] // lock [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) [Pipeline] unstash [Pipeline] wrap 06:08:26 provisioning config files... 06:08:26 copy managed file [device-sdk-go-codecov-token] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-902@tmp/config7523733955097343976tmp [Pipeline] { [Pipeline] sh 06:08:27 + set +x 06:08:27 + curl -s https://codecov.io/bash 06:08:27 + bash -s -- 06:08:27 06:08:27 _____ _ 06:08:27 / ____| | | 06:08:27 | | ___ __| | ___ ___ _____ __ 06:08:27 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 06:08:27 | |___| (_) | (_| | __/ (_| (_) \ V / 06:08:27 \_____\___/ \__,_|\___|\___\___/ \_/ 06:08:27 Bash-1.0.2 06:08:27 06:08:27 06:08:27 ==> git version 2.24.3 found 06:08:27 ==> curl 7.29.0 (x86_64-redhat-linux-gnu) libcurl/7.29.0 NSS/3.53.1 zlib/1.2.7 libidn/1.28 libssh2/1.8.0 06:08:27 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtsp scp sftp smtp smtps telnet tftp 06:08:27 Features: AsynchDNS GSS-Negotiate IDN IPv6 Largefile NTLM NTLM_WB SSL libz unix-sockets 06:08:27 ==> Jenkins CI detected. 06:08:27 project root: . 06:08:27 --> token set from env 06:08:27 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 06:08:27 ==> Running gcov in . (disable via -X gcov) 06:08:27 ==> Python coveragepy not found 06:08:27 ==> Searching for coverage reports in: 06:08:27 + . 06:08:27 -> Found 1 reports 06:08:27 ==> Detecting git/mercurial file structure 06:08:27 ==> Reading reports 06:08:27 + ./coverage.out bytes=100320 06:08:27 ==> Appending adjustments 06:08:27 https://docs.codecov.io/docs/fixing-reports 06:08:27 + Found adjustments 06:08:27 ==> Gzipping contents 06:08:27 16K /tmp/codecov.X09YKr.gz 06:08:27 ==> Uploading reports 06:08:27 url: https://codecov.io 06:08:27 query: branch=PR-902&commit=c4d485eba0dd609e9271d218bd64bedf9696d5aa&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-902%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=902&job=&cmd_args= 06:08:27 -> Pinging Codecov 06:08:27 https://codecov.io/upload/v4?package=bash-1.0.2&token=secret&branch=PR-902&commit=c4d485eba0dd609e9271d218bd64bedf9696d5aa&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-902%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=902&job=&cmd_args= 06:08:28 -> Uploading to 06:08:28 https://storage.googleapis.com/codecov/v4/raw/2021-04-28/7E55EF52A471D76F132DFD9A03CDDE97/c4d485eba0dd609e9271d218bd64bedf9696d5aa/f97098be-507f-4d68-b79b-81b0845089c9.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EQM3VGPYSAFECJRMNAFIPCV2R3P2BOORCJC7NM537NPJQSFLHUDNIDWA%2F20210428%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20210428T060828Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=56962692e457c7efd05ec69cb7c092bd6bd6ab4271246769eef88b71ce2f49e8 06:08:28 % Total % Received % Xferd Average Speed Time Time Time Current 06:08:28 Dload Upload Total Spent Left Speed 06:08:28 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 13549 0 0 100 13549 0 35640 --:--:-- --:--:-- --:--:-- 35655 100 13549 0 0 100 13549 0 35622 --:--:-- --:--:-- --:--:-- 35561 06:08:28 -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/device-sdk-go/commit/c4d485eba0dd609e9271d218bd64bedf9696d5aa [Pipeline] } 06:08:28 Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) Stage "Snyk Dependency Scan" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) Stage "Semver" skipped due to when conditional [Pipeline] stage [Pipeline] { (Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] libraryResource [Pipeline] sh 06:08:30 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 06:08:31 ---> package-listing.sh 06:08:31 ++ facter osfamily 06:08:31 ++ tr '[:upper:]' '[:lower:]' 06:08:31 + OS_FAMILY=redhat 06:08:31 + workspace=/w/workspace/dgexfoundry_device-sdk-go_PR-902 06:08:31 + START_PACKAGES=/tmp/packages_start.txt 06:08:31 + END_PACKAGES=/tmp/packages_end.txt 06:08:31 + DIFF_PACKAGES=/tmp/packages_diff.txt 06:08:31 + PACKAGES=/tmp/packages_start.txt 06:08:31 + '[' /w/workspace/dgexfoundry_device-sdk-go_PR-902 ']' 06:08:31 + PACKAGES=/tmp/packages_end.txt 06:08:31 + case "${OS_FAMILY}" in 06:08:31 + rpm -qa 06:08:31 + sort 06:08:36 + '[' -f /tmp/packages_start.txt ']' 06:08:36 + '[' -f /tmp/packages_end.txt ']' 06:08:36 + diff /tmp/packages_start.txt /tmp/packages_end.txt 06:08:36 + '[' /w/workspace/dgexfoundry_device-sdk-go_PR-902 ']' 06:08:36 + mkdir -p /w/workspace/dgexfoundry_device-sdk-go_PR-902/archives/ 06:08:36 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/dgexfoundry_device-sdk-go_PR-902/archives/ [Pipeline] echo 06:08:36 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-902/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 06:08:37 + facter operatingsystem [Pipeline] isUnix [Pipeline] sh 06:08:37 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 06:08:37 06:08:37 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh 06:08:38 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 06:08:38 alpine: Pulling from edgex-lftools-log-publisher 06:08:38 df20fa9351a1: Pulling fs layer 06:08:38 36b3adc4ff6f: Pulling fs layer 06:08:38 8ad3a11d3b57: Pulling fs layer 06:08:38 46f8f816bc3b: Pulling fs layer 06:08:38 93b61091891f: Pulling fs layer 06:08:38 93b9cdb0e59b: Pulling fs layer 06:08:38 5e14af77c1be: Pulling fs layer 06:08:38 01666e4c0597: Pulling fs layer 06:08:38 aa168da1d23b: Pulling fs layer 06:08:38 5e14af77c1be: Waiting 06:08:38 93b61091891f: Waiting 06:08:38 01666e4c0597: Waiting 06:08:38 aa168da1d23b: Waiting 06:08:38 46f8f816bc3b: Waiting 06:08:38 36b3adc4ff6f: Verifying Checksum 06:08:38 36b3adc4ff6f: Download complete 06:08:38 46f8f816bc3b: Verifying Checksum 06:08:38 46f8f816bc3b: Download complete 06:08:38 df20fa9351a1: Verifying Checksum 06:08:38 df20fa9351a1: Download complete 06:08:38 93b9cdb0e59b: Verifying Checksum 06:08:38 93b9cdb0e59b: Download complete 06:08:38 5e14af77c1be: Verifying Checksum 06:08:38 5e14af77c1be: Download complete 06:08:38 01666e4c0597: Verifying Checksum 06:08:38 01666e4c0597: Download complete 06:08:38 93b61091891f: Verifying Checksum 06:08:38 93b61091891f: Download complete 06:08:38 8ad3a11d3b57: Verifying Checksum 06:08:38 8ad3a11d3b57: Download complete 06:08:38 df20fa9351a1: Pull complete 06:08:38 36b3adc4ff6f: Pull complete 06:08:39 8ad3a11d3b57: Pull complete 06:08:39 46f8f816bc3b: Pull complete 06:08:40 93b61091891f: Pull complete 06:08:40 aa168da1d23b: Verifying Checksum 06:08:40 aa168da1d23b: Download complete 06:08:41 93b9cdb0e59b: Pull complete 06:08:41 5e14af77c1be: Pull complete 06:08:41 01666e4c0597: Pull complete 06:08:51 aa168da1d23b: Pull complete 06:08:51 Digest: sha256:ac41798234670a79351fc13b8232b4dbeccc6fb1f122f5db5169d11b1762ca7c 06:08:51 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 06:08:51 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer 06:08:51 prd-centos7-docker-4c-2g-2150 does not seem to be running inside a container 06:08:51 $ 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-902/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-902 -v /w/workspace/dgexfoundry_device-sdk-go_PR-902:/w/workspace/dgexfoundry_device-sdk-go_PR-902:rw,z -v /w/workspace/dgexfoundry_device-sdk-go_PR-902@tmp:/w/workspace/dgexfoundry_device-sdk-go_PR-902@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine cat 06:08:55 $ docker top 07c67503967e39a34059e59d012365dcff5e9801f447ee133e6e4e4bb0fa7a98 -eo pid,comm [Pipeline] { [Pipeline] sh 06:08:55 + touch /tmp/pre-build-complete [Pipeline] sh 06:08:55 + mkdir -p /var/log/sa [Pipeline] sh 06:08:56 + ls /var/log/sa-host 06:08:56 + sadf -c /var/log/sa-host/sa23 06:08:56 file_magic: OK 06:08:56 HZ: Using current value: 100 06:08:56 file_header: OK 06:08:56 file_activity: A_CPU A_PCSW A_SWAP A_PAGE A_IO A_MEMORY A_HUGE A_KTABLES A_QUEUE A_SERIAL A_DISK A_NET_DEV A_NET_EDEV A_NET_NFS A_NET_NFSD A_NET_SOCK OK 06:08:56 Statistics: 06:08:56 Hnuu...uuuununununu... 06:08:56 File successfully converted to sysstat format version 12.2.1 06:08:56 + sadf -c /var/log/sa-host/sa28 06:08:56 file_magic: OK 06:08:56 HZ: Using current value: 100 06:08:56 file_header: OK 06:08:56 file_activity: A_CPU A_PCSW A_SWAP A_PAGE A_IO A_MEMORY A_HUGE A_KTABLES A_QUEUE A_SERIAL A_DISK A_NET_DEV A_NET_EDEV A_NET_NFS A_NET_NFSD A_NET_SOCK OK 06:08:56 Statistics: 06:08:56 HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... 06:08:56 File successfully converted to sysstat format version 12.2.1 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 06:08:56 provisioning config files... 06:08:56 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-902@tmp/config1628629053950823265tmp [Pipeline] { [Pipeline] echo 06:08:56 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 06:08:56 ---> create-netrc.sh [Pipeline] } 06:08:56 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] echo 06:08:57 Running shell/python-tools-install.sh [Pipeline] libraryResource [Pipeline] sh 06:08:57 ---> python-tools-install.sh [Pipeline] echo 06:08:57 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 06:08:57 ---> sudo-logs.sh 06:08:57 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 06:08:57 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 06:08:58 ---> job-cost.sh 06:08:58 lf-activate-venv: SKIPPING 06:08:58 DEBUG: total: 0.20999999344348907 06:08:58 INFO: Retrieving Stack Cost... 06:09:00 INFO: Retrieving Pricing Info for: v1-standard-2 06:09:01 INFO: Archiving Costs [Pipeline] echo 06:09:01 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 06:09:01 ---> logs-deploy.sh 06:09:01 lf-activate-venv: SKIPPING 06:09:01 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-902/1 06:09:01 INFO: archiving workspace using pattern(s): 06:09:04 Archives upload complete. 06:09:04 INFO: archiving logs to Nexus