Pull request #865 opened Connecting to https://api.github.com using edgex-jenkins/****** (edgex-jenkins github personal access token) Obtained Jenkinsfile from 02c78288b5ebc28a3c14afbc9b27287fcd943bc6+00c5ba735e55045c2b436cba75d2b8d60948dbc8 (de18eca6401fd6d47455fc9c18dfdfd8b42765d8) 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-865/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-865/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 All nodes of label ‘centos7-docker-4c-2g’ are offline Running on prd-centos7-docker-4c-2g-33123 in /w/workspace/dgexfoundry_device-sdk-go_PR-865 [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-865 # 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/865/head:refs/remotes/origin/PR-865 +refs/heads/master:refs/remotes/origin/master # timeout=10 Merging remotes/origin/master commit 00c5ba735e55045c2b436cba75d2b8d60948dbc8 into PR head commit 02c78288b5ebc28a3c14afbc9b27287fcd943bc6 Merge succeeded, producing 02c78288b5ebc28a3c14afbc9b27287fcd943bc6 Checking out Revision 02c78288b5ebc28a3c14afbc9b27287fcd943bc6 (PR-865) > git config core.sparsecheckout # timeout=10 > git checkout -f 02c78288b5ebc28a3c14afbc9b27287fcd943bc6 # 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 00c5ba735e55045c2b436cba75d2b8d60948dbc8 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 02c78288b5ebc28a3c14afbc9b27287fcd943bc6 # timeout=10 Commit message: "build(deps): bump github.com/edgexfoundry/go-mod-bootstrap/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:54:31 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 05:54:31 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 05:54:31 ========================================================= 05:54:31 EdgeX Global Pipelines Version Info 05:54:31 ========================================================= [Pipeline] libraryResource [Pipeline] sh 05:54:33 ------------------- 05:54:33 stable info: 05:54:33 ------------------- 05:54:33 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 05:54:33 Commit SHA: 57ded3389ef25720063a8030e5c426a6b7ea5b20 05:54:33 Message: update stable to v1.0.186 05:54:34 ------------------- 05:54:34 experimental info: 05:54:34 ------------------- 05:54:34 Commited By: **** collab-it+edgex@linuxfoundation.org 05:54:34 Commit SHA: d990d252097850d5d490fbb59df25296f5300d79 05:54:34 Message: update experimental to v1.0.188 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 05:54:34 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-go-settings [Pipeline] echo 05:54:34 [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-go [Pipeline] echo 05:54:34 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 05:54:34 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 05:54:35 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 05:54:35 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.15 [Pipeline] echo 05:54:35 [edgeXSetupEnvironment]: set envvar GOPROXY = https://nexus3.edgexfoundry.org/repository/go-proxy/ [Pipeline] echo 05:54:35 [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine [Pipeline] echo 05:54:35 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = example/cmd/device-simple/Dockerfile [Pipeline] echo 05:54:35 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 05:54:36 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 05:54:36 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = docker-device-sdk-simple [Pipeline] echo 05:54:36 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 05:54:36 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 05:54:36 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 05:54:36 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo 05:54:36 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 05:54:36 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 05:54:37 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 05:54:37 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 05:54:37 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo 05:54:37 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 openapi/v2 [Pipeline] echo 05:54:37 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 05:54:37 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 05:54:37 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 05:54:38 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 05:54:38 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-865 [Pipeline] echo 05:54:38 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-865 [Pipeline] echo 05:54:38 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-865 [Pipeline] echo 05:54:38 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 02c78288b5ebc28a3c14afbc9b27287fcd943bc6 [Pipeline] echo 05:54:38 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 02c7828 [Pipeline] echo 05:54:38 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] wrap 05:54:39 provisioning config files... 05:54:39 copy managed file [device-sdk-go-settings] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-865@tmp/config2440993767325749714tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 05:54:39 ---> docker-login.sh 05:54:39 nexus3.edgexfoundry.org:10001 05:54:39 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:54:40 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:54:40 Configure a credential helper to remove this warning. See 05:54:40 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:54:40 05:54:40 Login Succeeded 05:54:40 nexus3.edgexfoundry.org:10002 05:54:40 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:54:40 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:54:40 Configure a credential helper to remove this warning. See 05:54:40 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:54:40 05:54:40 Login Succeeded 05:54:40 nexus3.edgexfoundry.org:10003 05:54:40 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:54:40 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:54:40 Configure a credential helper to remove this warning. See 05:54:40 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:54:40 05:54:40 Login Succeeded 05:54:40 nexus3.edgexfoundry.org:10004 05:54:40 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:54:40 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:54:40 Configure a credential helper to remove this warning. See 05:54:40 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:54:40 05:54:40 Login Succeeded 05:54:40 docker.io 05:54:40 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:54:40 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:54:40 Configure a credential helper to remove this warning. See 05:54:40 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:54:40 05:54:40 Login Succeeded 05:54:40 ---> docker-login.sh ends [Pipeline] } 05:54:40 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:54:42 + git log --format=format:%s -1 02c78288b5ebc28a3c14afbc9b27287fcd943bc6 [Pipeline] echo 05:54:42 GIT_COMMIT: 02c78288b5ebc28a3c14afbc9b27287fcd943bc6, Commit Message: build(deps): bump github.com/edgexfoundry/go-mod-bootstrap/v2 [Pipeline] echo 05:54:42 This is not a build commit. [Pipeline] isUnix [Pipeline] sh 05:54:43 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 05:54:43 05:54:43 Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh 05:54:43 + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 05:54:43 latest: Pulling from edgex-devops/git-semver 05:54:43 31603596830f: Pulling fs layer 05:54:43 2a8b12db71e7: Pulling fs layer 05:54:43 6ca5941a6612: Pulling fs layer 05:54:43 ecc8261a40a4: Pulling fs layer 05:54:43 ecc8261a40a4: Waiting 05:54:43 2a8b12db71e7: Verifying Checksum 05:54:43 2a8b12db71e7: Download complete 05:54:44 31603596830f: Verifying Checksum 05:54:44 31603596830f: Download complete 05:54:44 6ca5941a6612: Verifying Checksum 05:54:44 6ca5941a6612: Download complete 05:54:44 ecc8261a40a4: Verifying Checksum 05:54:44 ecc8261a40a4: Download complete 05:54:44 31603596830f: Pull complete 05:54:44 2a8b12db71e7: Pull complete 05:54:45 6ca5941a6612: Pull complete 05:54:45 ecc8261a40a4: Pull complete 05:54:45 Digest: sha256:c336c3cb7d26c4f33e4bbf869d415e221d43967d83d6a5809e4cb0cc2a1e8fe7 05:54:45 Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 05:54:45 nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer 05:54:45 prd-centos7-docker-4c-2g-33123 does not seem to be running inside a container 05:54:45 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/dgexfoundry_device-sdk-go_PR-865 -v /w/workspace/dgexfoundry_device-sdk-go_PR-865:/w/workspace/dgexfoundry_device-sdk-go_PR-865:rw,z -v /w/workspace/dgexfoundry_device-sdk-go_PR-865@tmp:/w/workspace/dgexfoundry_device-sdk-go_PR-865@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 ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat 05:54:47 $ docker top 6d922e9d84970b07b4cf885c959714359e3af5107b18a2952db5e35dd4290069 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 05:54:48 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 05:54:48 [ssh-agent] Looking for ssh-agent implementation... 05:54:48 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 05:54:48 $ docker exec 6d922e9d84970b07b4cf885c959714359e3af5107b18a2952db5e35dd4290069 ssh-agent 05:54:48 SSH_AUTH_SOCK=/tmp/ssh-Ggy0gc66Nnmf/agent.12 05:54:48 SSH_AGENT_PID=17 05:54:48 Running ssh-add (command line suppressed) 05:54:48 Identity added: /w/workspace/dgexfoundry_device-sdk-go_PR-865@tmp/private_key_4330316420455851078.key (/w/workspace/dgexfoundry_device-sdk-go_PR-865@tmp/private_key_4330316420455851078.key) 05:54:48 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 05:54:49 + git tag --points-at HEAD [Pipeline] } 05:54:49 $ docker exec --env ******** --env ******** 6d922e9d84970b07b4cf885c959714359e3af5107b18a2952db5e35dd4290069 ssh-agent -k 05:54:49 unset SSH_AUTH_SOCK; 05:54:49 unset SSH_AGENT_PID; 05:54:49 echo Agent pid 17 killed; 05:54:49 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 05:54:49 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 05:54:49 [ssh-agent] Looking for ssh-agent implementation... 05:54:49 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 05:54:49 $ docker exec 6d922e9d84970b07b4cf885c959714359e3af5107b18a2952db5e35dd4290069 ssh-agent 05:54:49 SSH_AUTH_SOCK=/tmp/ssh-8FXuIW407S8M/agent.46 05:54:49 SSH_AGENT_PID=52 05:54:49 Running ssh-add (command line suppressed) 05:54:49 Identity added: /w/workspace/dgexfoundry_device-sdk-go_PR-865@tmp/private_key_6478251524383867130.key (/w/workspace/dgexfoundry_device-sdk-go_PR-865@tmp/private_key_6478251524383867130.key) 05:54:49 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 05:54:50 + git semver init 05:54:50 # -> Open(): unable to determine branch for HEAD 05:54:50 # $GIT_DIR = /w/workspace/dgexfoundry_device-sdk-go_PR-865/.git 05:54:50 # $GIT_WORK_TREE = /w/workspace/dgexfoundry_device-sdk-go_PR-865 05:54:50 # $SEMVER_REMOTE_NAME = origin 05:54:50 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 05:54:50 # $SEMVER_USER_NAME = edgex-jenkins 05:54:50 # $SEMVER_BRANCH = PR-865 05:54:50 # $SEMVER_TEMP = /tmp/semver-767499809 05:54:50 # git clone --branch semver git@github.com:edgexfoundry/device-sdk-go.git $SEMVER_TEMP 05:54:51 # '/tmp/semver-767499809' -> '/w/workspace/dgexfoundry_device-sdk-go_PR-865/.semver' 05:54:51 # -> Force: false 05:54:51 # $SEMVER_DIR = /w/workspace/dgexfoundry_device-sdk-go_PR-865/.semver [Pipeline] } 05:54:51 $ docker exec --env ******** --env ******** 6d922e9d84970b07b4cf885c959714359e3af5107b18a2952db5e35dd4290069 ssh-agent -k 05:54:51 unset SSH_AUTH_SOCK; 05:54:51 unset SSH_AGENT_PID; 05:54:51 echo Agent pid 52 killed; 05:54:51 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 05:54:52 + git semver [Pipeline] } 05:54:52 $ docker stop --time=1 6d922e9d84970b07b4cf885c959714359e3af5107b18a2952db5e35dd4290069 05:54:53 $ docker rm -f 6d922e9d84970b07b4cf885c959714359e3af5107b18a2952db5e35dd4290069 [Pipeline] // withDockerContainer [Pipeline] sh 05:54:54 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 05:54:54 Stashed 1 file(s) [Pipeline] echo 05:54:54 [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:55:10 Still waiting to schedule task 05:55:10 Waiting for next available executor on ‘centos7-docker-4c-2g’ 05:55:10 Still waiting to schedule task 05:55:10 ‘prd-ubuntu18.04-docker-arm64-4c-16g-32989’ is offline 05:57:07 Running on prd-ubuntu18.04-docker-arm64-4c-16g-33124 in /w/workspace/dgexfoundry_device-sdk-go_PR-865 [Pipeline] { [Pipeline] ws 05:57:07 Running in /w/workspace/device-sdk-go/1 [Pipeline] { [Pipeline] checkout 05:57:12 using credential edgex-jenkins-ssh 05:57:12 Cloning the remote Git repository 05:57:12 Cloning repository git@github.com:edgexfoundry/device-sdk-go.git 05:57:12 > git init /w/workspace/device-sdk-go/1 # timeout=10 05:57:13 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 05:57:13 > git --version # timeout=10 05:57:13 > git --version # 'git version 2.17.1' 05:57:13 using GIT_SSH to set credentials SSH Credentials for GitHub 05:57:13 > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 05:57:15 Merging remotes/origin/master commit 00c5ba735e55045c2b436cba75d2b8d60948dbc8 into PR head commit 02c78288b5ebc28a3c14afbc9b27287fcd943bc6 05:57:15 Merge succeeded, producing 02c78288b5ebc28a3c14afbc9b27287fcd943bc6 05:57:15 Checking out Revision 02c78288b5ebc28a3c14afbc9b27287fcd943bc6 (PR-865) 05:57:14 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 05:57:14 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 05:57:14 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 05:57:14 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 05:57:14 using GIT_SSH to set credentials SSH Credentials for GitHub 05:57:14 > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/865/head:refs/remotes/origin/PR-865 +refs/heads/master:refs/remotes/origin/master # timeout=10 05:57:15 > git config core.sparsecheckout # timeout=10 05:57:15 > git checkout -f 02c78288b5ebc28a3c14afbc9b27287fcd943bc6 # timeout=10 05:57:15 > git remote # timeout=10 05:57:15 > git config --get remote.origin.url # timeout=10 05:57:15 using GIT_SSH to set credentials SSH Credentials for GitHub 05:57:15 > git merge 00c5ba735e55045c2b436cba75d2b8d60948dbc8 # timeout=10 05:57:15 > git rev-parse HEAD^{commit} # timeout=10 05:57:15 > git config core.sparsecheckout # timeout=10 05:57:15 > git checkout -f 02c78288b5ebc28a3c14afbc9b27287fcd943bc6 # timeout=10 05:57:19 Commit message: "build(deps): bump github.com/edgexfoundry/go-mod-bootstrap/v2" 05:57:19 > git --version # timeout=10 05:57:19 > git --version # 'git version 2.17.1' 05:57:19 fatal: bad object 57ded3389ef25720063a8030e5c426a6b7ea5b20 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 05:57:21 + sudo jq . + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false} /etc/docker/daemon.json [Pipeline] sh 05:57:22 + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh 05:57:22 + sudo+ service docker restarttrue 05:57:22 [Pipeline] withEnv [Pipeline] { [Pipeline] wrap 05:57:25 provisioning config files... 05:57:25 copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/1@tmp/config1686374451424836656tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 05:57:25 ---> docker-login.sh 05:57:25 nexus3.edgexfoundry.org:10001 05:57:26 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:57:26 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:57:26 Configure a credential helper to remove this warning. See 05:57:26 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:57:26 05:57:26 Login Succeeded 05:57:26 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: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 nexus3.edgexfoundry.org:10004 05:57:28 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.io 05:57:28 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:57:29 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:57:29 Configure a credential helper to remove this warning. See 05:57:29 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:57:29 05:57:29 Login Succeeded 05:57:29 ---> docker-login.sh ends [Pipeline] } 05:57:29 Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 05:57:29 ========================================================= 05:57:29 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine] 05:57:29 ========================================================= [Pipeline] isUnix [Pipeline] sh 05:57:30 + 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 . 05:57:30 Sending build context to Docker daemon 2.381MB 05:57:30 Step 1/8 : ARG BASE=golang:1.15-alpine3.12 05:57:30 Step 2/8 : FROM ${BASE} 05:57:30 1.15-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 05:57:30 5f621e34cdf4: Pulling fs layer 05:57:30 a4357932f1b6: Pulling fs layer 05:57:30 18c013af1878: Pulling fs layer 05:57:30 00ac8860ef70: Pulling fs layer 05:57:30 63d7cb157983: Pulling fs layer 05:57:30 b116817d02f9: Pulling fs layer 05:57:30 745a02a5169b: Pulling fs layer 05:57:30 00ac8860ef70: Waiting 05:57:30 63d7cb157983: Waiting 05:57:30 b116817d02f9: Waiting 05:57:30 745a02a5169b: Waiting 05:57:30 18c013af1878: Verifying Checksum 05:57:30 18c013af1878: Download complete 05:57:30 a4357932f1b6: Verifying Checksum 05:57:30 a4357932f1b6: Download complete 05:57:30 63d7cb157983: Verifying Checksum 05:57:30 63d7cb157983: Download complete 05:57:30 b116817d02f9: Download complete 05:57:30 5f621e34cdf4: Verifying Checksum 05:57:30 5f621e34cdf4: Download complete 05:57:31 5f621e34cdf4: Pull complete 05:57:32 a4357932f1b6: Pull complete 05:57:32 18c013af1878: Pull complete 05:57:32 745a02a5169b: Verifying Checksum 05:57:32 745a02a5169b: Download complete 05:57:34 00ac8860ef70: Verifying Checksum 05:57:34 00ac8860ef70: Download complete 05:57:44 00ac8860ef70: Pull complete 05:57:44 63d7cb157983: Pull complete 05:57:44 b116817d02f9: Pull complete 05:57:47 Running on prd-centos7-docker-4c-2g-33125 in /w/workspace/dgexfoundry_device-sdk-go_PR-865 [Pipeline] { [Pipeline] ws 05:57:47 Running in /w/workspace/device-sdk-go/1 [Pipeline] { [Pipeline] checkout 05:57:49 745a02a5169b: Pull complete 05:57:49 Digest: sha256:df689100bc6b2f2091bc50e3ab30bcbb973ead998518226adecfd27d0a642918 05:57:49 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine 05:57:49 ---> b7e6874047d6 05:57:49 Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 05:57:49 using credential edgex-jenkins-ssh 05:57:50 Cloning the remote Git repository 05:57:49 Cloning repository git@github.com:edgexfoundry/device-sdk-go.git 05:57:50 > git init /w/workspace/device-sdk-go/1 # timeout=10 05:57:50 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 05:57:50 > git --version # timeout=10 05:57:50 > git --version # 'git version 2.24.3' 05:57:50 using GIT_SSH to set credentials SSH Credentials for GitHub 05:57:50 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 05:57:50 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 05:57:50 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 05:57:50 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 05:57:51 Merging remotes/origin/master commit 00c5ba735e55045c2b436cba75d2b8d60948dbc8 into PR head commit 02c78288b5ebc28a3c14afbc9b27287fcd943bc6 05:57:51 Merge succeeded, producing 02c78288b5ebc28a3c14afbc9b27287fcd943bc6 05:57:51 Checking out Revision 02c78288b5ebc28a3c14afbc9b27287fcd943bc6 (PR-865) 05:57:51 ---> Running in 749a0ee8e48e 05:57:51 Removing intermediate container 749a0ee8e48e 05:57:51 ---> edd7e68f1285 05:57:51 Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 05:57:52 ---> Running in 0d7d9904ac10 05:57:50 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 05:57:50 using GIT_SSH to set credentials SSH Credentials for GitHub 05:57:50 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/865/head:refs/remotes/origin/PR-865 +refs/heads/master:refs/remotes/origin/master # timeout=10 05:57:51 > git config core.sparsecheckout # timeout=10 05:57:51 > git checkout -f 02c78288b5ebc28a3c14afbc9b27287fcd943bc6 # timeout=10 05:57:51 > git remote # timeout=10 05:57:51 > git config --get remote.origin.url # timeout=10 05:57:51 using GIT_SSH to set credentials SSH Credentials for GitHub 05:57:51 > git merge 00c5ba735e55045c2b436cba75d2b8d60948dbc8 # timeout=10 05:57:51 > git rev-parse HEAD^{commit} # timeout=10 05:57:51 > git config core.sparsecheckout # timeout=10 05:57:51 > git checkout -f 02c78288b5ebc28a3c14afbc9b27287fcd943bc6 # timeout=10 05:57:54 Removing intermediate container 0d7d9904ac10 05:57:54 ---> 64e2ec2176c8 05:57:54 Step 5/8 : RUN apk add --update --no-cache make git gcc libc-dev libsodium-dev zeromq-dev 05:57:54 ---> Running in d3aa49306e4e 05:57:55 Commit message: "build(deps): bump github.com/edgexfoundry/go-mod-bootstrap/v2" 05:57:55 > git --version # timeout=10 05:57:55 > git --version # 'git version 2.24.3' 05:57:55 fatal: bad object 57ded3389ef25720063a8030e5c426a6b7ea5b20 05:57:55 fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 05:57:56 fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz 05:57:56 + sudo jq '. + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false}' /etc/docker/daemon.json [Pipeline] sh 05:57:56 + sudo mv /tmp/daemon.json /etc/docker/daemon.json 05:57:56 (1/6) Installing libc-dev (0.7.2-r3) 05:57:56 (2/6) Installing libsodium (1.0.18-r0) 05:57:56 (3/6) Installing pkgconf (1.7.2-r0) 05:57:56 (4/6) Installing libsodium-dev (1.0.18-r0) [Pipeline] sh 05:57:57 (5/6) Installing libzmq (4.3.3-r0) 05:57:57 (6/6) Installing zeromq-dev (4.3.3-r0) 05:57:57 Executing busybox-1.31.1-r19.trigger 05:57:57 + sudo service docker restart 05:57:57 + true 05:57:57 Redirecting to /bin/systemctl restart docker.service 05:57:57 OK: 144 MiB in 45 packages [Pipeline] withEnv [Pipeline] { [Pipeline] wrap 05:57:58 provisioning config files... 05:57:58 copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/1@tmp/config1230090861083924960tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 05:57:58 ---> docker-login.sh 05:57:58 nexus3.edgexfoundry.org:10001 05:57:58 Removing intermediate container d3aa49306e4e 05:57:58 ---> 502b43b52150 05:57:58 Step 6/8 : WORKDIR /device-sdk-go 05:57:58 ---> Running in 45eacf3574c3 05:57:59 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:57:59 Removing intermediate container 45eacf3574c3 05:57:59 ---> 3d5f8a84df5a 05:57:59 Step 7/8 : COPY . . 05:57:59 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:57:59 Configure a credential helper to remove this warning. See 05:57:59 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:57:59 05:57:59 Login Succeeded 05:57:59 nexus3.edgexfoundry.org:10002 05:57:59 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:57:59 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:57:59 Configure a credential helper to remove this warning. See 05:57:59 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:57:59 05:57:59 Login Succeeded 05:57:59 nexus3.edgexfoundry.org:10003 05:57:59 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:57:59 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:57:59 Configure a credential helper to remove this warning. See 05:57:59 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:57:59 05:57:59 Login Succeeded 05:57:59 nexus3.edgexfoundry.org:10004 05:57:59 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:57:59 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:57:59 Configure a credential helper to remove this warning. See 05:57:59 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:57:59 05:57:59 Login Succeeded 05:57:59 docker.io 05:57:59 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:58:00 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:58:00 Configure a credential helper to remove this warning. See 05:58:00 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:58:00 05:58:00 Login Succeeded 05:58:00 ---> docker-login.sh ends [Pipeline] } 05:58:00 Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash 05:58:00 ---> 40c1f6e14f2b 05:58:00 Step 8/8 : RUN go mod download 05:58:00 ---> Running in 37623054954c [Pipeline] echo 05:58:00 ========================================================= 05:58:00 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine] 05:58:00 ========================================================= [Pipeline] isUnix [Pipeline] sh 05:58: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.15-alpine . 05:58:01 Sending build context to Docker daemon 2.382MB 05:58:01 Step 1/8 : ARG BASE=golang:1.15-alpine3.12 05:58:01 Step 2/8 : FROM ${BASE} 05:58:01 1.15-alpine: Pulling from edgex-devops/edgex-golang-base 05:58:01 188c0c94c7c5: Pulling fs layer 05:58:01 0ef7d3d256c8: Pulling fs layer 05:58:01 de9db76c5a1d: Pulling fs layer 05:58:01 bca2f99d35d6: Pulling fs layer 05:58:01 93359f2a8cfa: Pulling fs layer 05:58:01 7c6f9722023f: Pulling fs layer 05:58:01 a35cf1a2eb13: Pulling fs layer 05:58:01 93359f2a8cfa: Waiting 05:58:01 7c6f9722023f: Waiting 05:58:01 bca2f99d35d6: Waiting 05:58:01 a35cf1a2eb13: Waiting 05:58:01 de9db76c5a1d: Verifying Checksum 05:58:01 de9db76c5a1d: Download complete 05:58:01 0ef7d3d256c8: Download complete 05:58:01 93359f2a8cfa: Verifying Checksum 05:58:01 93359f2a8cfa: Download complete 05:58:01 188c0c94c7c5: Verifying Checksum 05:58:01 188c0c94c7c5: Download complete 05:58:01 7c6f9722023f: Verifying Checksum 05:58:01 7c6f9722023f: Download complete 05:58:01 188c0c94c7c5: Pull complete 05:58:01 0ef7d3d256c8: Pull complete 05:58:01 de9db76c5a1d: Pull complete 05:58:03 a35cf1a2eb13: Verifying Checksum 05:58:03 a35cf1a2eb13: Download complete 05:58:04 bca2f99d35d6: Verifying Checksum 05:58:04 bca2f99d35d6: Download complete 05:58:09 bca2f99d35d6: Pull complete 05:58:09 93359f2a8cfa: Pull complete 05:58:10 7c6f9722023f: Pull complete 05:58:14 a35cf1a2eb13: Pull complete 05:58:14 Digest: sha256:47e1832254f01ad1d18e03a79677f1a8325b9c763402aad95be204d7d7715f46 05:58:14 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine 05:58:14 ---> a62c8e92a672 05:58:14 Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 05:58:14 ---> Running in 0f3d21e11756 05:58:14 Removing intermediate container 0f3d21e11756 05:58:14 ---> cedc27cf9d21 05:58:14 Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 05:58:14 ---> Running in 857bacf34a89 05:58:15 Removing intermediate container 857bacf34a89 05:58:15 ---> a910fec1619c 05:58:15 Step 5/8 : RUN apk add --update --no-cache make git gcc libc-dev libsodium-dev zeromq-dev 05:58:15 ---> Running in ef93973af37c 05:58:16 fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz 05:58:17 fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz 05:58:18 (1/6) Installing libc-dev (0.7.2-r3) 05:58:18 (2/6) Installing libsodium (1.0.18-r0) 05:58:18 (3/6) Installing pkgconf (1.7.2-r0) 05:58:18 (4/6) Installing libsodium-dev (1.0.18-r0) 05:58:18 (5/6) Installing libzmq (4.3.3-r0) 05:58:18 (6/6) Installing zeromq-dev (4.3.3-r0) 05:58:18 Executing busybox-1.31.1-r19.trigger 05:58:18 OK: 167 MiB in 45 packages 05:58:19 Removing intermediate container ef93973af37c 05:58:19 ---> aa81fd05bea4 05:58:19 Step 6/8 : WORKDIR /device-sdk-go 05:58:19 ---> Running in 488b6d0498aa 05:58:19 Removing intermediate container 488b6d0498aa 05:58:19 ---> 1b1c60aa9320 05:58:19 Step 7/8 : COPY . . 05:58:20 ---> a90bacc36a1d 05:58:20 Step 8/8 : RUN go mod download 05:58:20 ---> Running in 77e7d9b3482e 05:58:27 Removing intermediate container 37623054954c 05:58:27 ---> 9396ceb2407a 05:58:27 Successfully built 9396ceb2407a 05:58:27 Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh 05:58:27 + docker inspect -f . ci-base-image-arm64 05:58:27 . [Pipeline] withDockerContainer 05:58:28 prd-ubuntu18.04-docker-arm64-4c-16g-33124 does not seem to be running inside a container 05:58:28 $ 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 05:58:29 $ docker top cd4b54316b83cc8732d62e1f77a832309a9081a4bfba0ad7fa668e219e0e0b05 -eo pid,comm [Pipeline] { [Pipeline] sh 05:58:30 + go version 05:58:30 go version go1.15.5 linux/arm64 [Pipeline] } 05:58:31 $ docker stop --time=1 cd4b54316b83cc8732d62e1f77a832309a9081a4bfba0ad7fa668e219e0e0b05 05:58:32 $ docker rm -f cd4b54316b83cc8732d62e1f77a832309a9081a4bfba0ad7fa668e219e0e0b05 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 05:58:34 + docker inspect -f . ci-base-image-arm64 05:58:34 . [Pipeline] withDockerContainer 05:58:34 prd-ubuntu18.04-docker-arm64-4c-16g-33124 does not seem to be running inside a container 05:58:34 $ 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 05:58:36 $ docker top c282830d6b9dbaab89b2b6ef730be582230896bdf3cf74c9bb20b563756b1e3c -eo pid,comm [Pipeline] { [Pipeline] sh 05:58:37 + make test 05:58:37 GO111MODULE=on go test -race -coverprofile=coverage.out ./... 05:58:47 Removing intermediate container 77e7d9b3482e 05:58:47 ---> 9b688b81e269 05:58:47 Successfully built 9b688b81e269 05:58:47 Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh 05:58:47 + docker inspect -f . ci-base-image-x86_64 05:58:47 . [Pipeline] withDockerContainer 05:58:47 prd-centos7-docker-4c-2g-33125 does not seem to be running inside a container 05:58: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-x86_64 cat 05:58:48 $ docker top 2bfc37d045f3014b6f8e3f98643a71cda451928656fe49aa3e5f0e708b2e9917 -eo pid,comm [Pipeline] { [Pipeline] sh 05:58:49 + go version 05:58:49 go version go1.15.5 linux/amd64 [Pipeline] } 05:58:49 $ docker stop --time=1 2bfc37d045f3014b6f8e3f98643a71cda451928656fe49aa3e5f0e708b2e9917 05:58:50 $ docker rm -f 2bfc37d045f3014b6f8e3f98643a71cda451928656fe49aa3e5f0e708b2e9917 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 05:58:51 + docker inspect -f . ci-base-image-x86_64 05:58:51 . [Pipeline] withDockerContainer 05:58:51 prd-centos7-docker-4c-2g-33125 does not seem to be running inside a container 05:58:51 $ 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 05:58:52 $ docker top 020b52fb75377ceb27e8d012ab6a5df4f8ec1bfc297f98ba423debb118264b9b -eo pid,comm [Pipeline] { [Pipeline] sh 05:58:53 + make test 05:58:53 GO111MODULE=on go test -race -coverprofile=coverage.out ./... 05:58:59 ? github.com/edgexfoundry/device-sdk-go/v2 [no test files] 05:59:01 ? github.com/edgexfoundry/device-sdk-go/v2 [no test files] 05:59:19 ? github.com/edgexfoundry/device-sdk-go/v2/example/cmd/device-simple [no test files] 05:59:19 ? github.com/edgexfoundry/device-sdk-go/v2/example/config [no test files] 05:59:19 ? github.com/edgexfoundry/device-sdk-go/v2/example/driver [no test files] 05:59:19 ? github.com/edgexfoundry/device-sdk-go/v2/internal/application [no test files] 05:59:19 ? github.com/edgexfoundry/device-sdk-go/v2/internal/autodiscovery [no test files] 05:59:23 ok github.com/edgexfoundry/device-sdk-go/v2/internal/autoevent 0.075s coverage: 28.1% of statements 05:59:23 ok github.com/edgexfoundry/device-sdk-go/v2/internal/cache 0.088s coverage: 78.9% of statements 05:59:24 ok github.com/edgexfoundry/device-sdk-go/v2/internal/clients 1.053s coverage: 7.8% of statements 05:59:24 ? github.com/edgexfoundry/device-sdk-go/v2/internal/common [no test files] 05:59:24 ? github.com/edgexfoundry/device-sdk-go/v2/internal/config [no test files] 05:59:24 ? github.com/edgexfoundry/device-sdk-go/v2/internal/container [no test files] 05:59:24 ok github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http 0.085s coverage: 32.5% of statements 05:59:24 ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http/correlation [no test files] 05:59:24 ? github.com/edgexfoundry/device-sdk-go/v2/internal/provision [no test files] 05:59:24 ? github.com/edgexfoundry/device-sdk-go/v2/internal/telemetry [no test files] 05:59:24 ok github.com/edgexfoundry/device-sdk-go/v2/internal/transformer 0.096s coverage: 57.3% of statements 05:59:25 ok github.com/edgexfoundry/device-sdk-go/v2/pkg/models 1.188s coverage: 6.6% of statements 05:59:25 ok github.com/edgexfoundry/device-sdk-go/v2/pkg/service 0.057s coverage: 5.0% of statements 05:59:25 ? github.com/edgexfoundry/device-sdk-go/v2/pkg/startup [no test files] 05:59:25 GO111MODULE=on go vet ./... 05:59:40 gofmt -l . 05:59:40 [ "`gofmt -l .`" = "" ] 05:59:40 ./bin/test-attribution-txt.sh 05:59:41 ./bin/test-go-mod-tidy.sh [Pipeline] } 05:59:41 $ docker stop --time=1 020b52fb75377ceb27e8d012ab6a5df4f8ec1bfc297f98ba423debb118264b9b 05:59:43 $ docker rm -f 020b52fb75377ceb27e8d012ab6a5df4f8ec1bfc297f98ba423debb118264b9b [Pipeline] // withDockerContainer [Pipeline] sh 05:59:44 + sudo chown -R jenkins:jenkins . [Pipeline] stash 05:59:44 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) 05:59:46 ? github.com/edgexfoundry/device-sdk-go/v2/example/cmd/device-simple [no test files] 05:59:46 ? github.com/edgexfoundry/device-sdk-go/v2/example/config [no test files] 05:59:46 ? github.com/edgexfoundry/device-sdk-go/v2/example/driver [no test files] 05:59:46 ? github.com/edgexfoundry/device-sdk-go/v2/internal/application [no test files] 05:59:46 ? github.com/edgexfoundry/device-sdk-go/v2/internal/autodiscovery [no test files] [Pipeline] sh 05:59:47 + sudo chown -R jenkins:jenkins . [Pipeline] sh 05:59:48 + ls -al . 05:59:48 total 188 05:59:48 drwxrwxr-x. 10 jenkins jenkins 4096 Apr 7 05:59 . 05:59:48 drwxrwxr-x. 4 jenkins jenkins 28 Apr 7 05:57 .. 05:59:48 drwxrwxr-x. 2 jenkins jenkins 64 Apr 7 05:57 bin 05:59:48 -rw-r--r--. 1 jenkins jenkins 99189 Apr 7 05:59 coverage.out 05:59:48 -rw-rw-r--. 1 jenkins jenkins 987 Apr 7 05:57 Dockerfile.build 05:59:48 -rw-rw-r--. 1 jenkins jenkins 140 Apr 7 05:57 .dockerignore 05:59:48 drwxrwxr-x. 5 jenkins jenkins 62 Apr 7 05:57 example 05:59:48 drwxrwxr-x. 8 jenkins jenkins 179 Apr 7 05:57 .git 05:59:48 drwxrwxr-x. 2 jenkins jenkins 103 Apr 7 05:57 .github 05:59:48 -rw-rw-r--. 1 jenkins jenkins 138 Apr 7 05:57 .gitignore 05:59:48 -rw-r--r--. 1 jenkins jenkins 572 Apr 7 05:59 go.mod 05:59:48 -rw-r--r--. 1 jenkins jenkins 20946 Apr 7 05:59 go.sum 05:59:48 drwxrwxr-x. 14 jenkins jenkins 207 Apr 7 05:57 internal 05:59:48 -rw-rw-r--. 1 jenkins jenkins 901 Apr 7 05:57 Jenkinsfile 05:59:48 -rw-rw-r--. 1 jenkins jenkins 11341 Apr 7 05:57 LICENSE 05:59:48 -rw-rw-r--. 1 jenkins jenkins 1022 Apr 7 05:57 Makefile 05:59:48 drwxrwxr-x. 4 jenkins jenkins 26 Apr 7 05:57 openapi 05:59:48 drwxrwxr-x. 5 jenkins jenkins 50 Apr 7 05:57 pkg 05:59:48 -rw-rw-r--. 1 jenkins jenkins 5897 Apr 7 05:57 README.md 05:59:48 -rw-rw-r--. 1 jenkins jenkins 6616 Apr 7 05:57 RELEASE-NOTES.txt 05:59:48 drwxrwxr-x. 4 jenkins jenkins 54 Apr 7 05:57 snap 05:59:48 -rw-rw-r--. 1 jenkins jenkins 5 Apr 7 05:54 VERSION 05:59:48 -rw-rw-r--. 1 jenkins jenkins 222 Apr 7 05:57 version.go [Pipeline] isUnix [Pipeline] sh 05:59:48 + 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=02c78288b5ebc28a3c14afbc9b27287fcd943bc6 --label arch=amd64 --label version=0.0.0 . 05:59:48 Sending build context to Docker daemon 2.482MB 05:59:48 Step 1/23 : ARG BASE=golang:1.15-alpine3.12 05:59:48 Step 2/23 : FROM ${BASE} AS builder 05:59:48 ---> 9b688b81e269 05:59:48 Step 3/23 : WORKDIR /device-sdk-go 05:59:49 ---> Running in 9614e9ca3fff 05:59:49 Removing intermediate container 9614e9ca3fff 05:59:49 ---> 0ddbdb9eb74f 05:59:49 Step 4/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 05:59:49 ---> Running in c69175e32ae7 05:59:49 Removing intermediate container c69175e32ae7 05:59:49 ---> 5108a69d3f74 05:59:49 Step 5/23 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 05:59:49 ---> Running in 40e0f83fa0c3 05:59:50 Removing intermediate container 40e0f83fa0c3 05:59:50 ---> a288d2089e5d 05:59:50 Step 6/23 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev 05:59:50 ---> Running in 876aaedc29df 05:59:51 fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz 05:59:52 fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz 05:59:52 OK: 167 MiB in 45 packages 05:59:52 Removing intermediate container 876aaedc29df 05:59:52 ---> 7df23b560af3 05:59:52 Step 7/23 : COPY . . 05:59:53 ---> ef5fc5a399b9 05:59:53 Step 8/23 : RUN go mod download 05:59:53 ---> Running in d641f31c02c3 05:59:54 Removing intermediate container d641f31c02c3 05:59:54 ---> 194c10eb3f52 05:59:54 Step 9/23 : RUN make build 05:59:54 ---> Running in a4823ce2811a 05:59:55 CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-sdk-go/v2.Version=0.0.0" -o example/cmd/device-simple/device-simple ./example/cmd/device-simple 05:59:58 ok github.com/edgexfoundry/device-sdk-go/v2/internal/autoevent 0.146s coverage: 28.1% of statements 05:59:58 ok github.com/edgexfoundry/device-sdk-go/v2/internal/cache 0.216s coverage: 78.9% of statements 05:59:58 ok github.com/edgexfoundry/device-sdk-go/v2/internal/clients 1.124s coverage: 7.8% of statements 05:59:58 ? github.com/edgexfoundry/device-sdk-go/v2/internal/common [no test files] 05:59:58 ? github.com/edgexfoundry/device-sdk-go/v2/internal/config [no test files] 05:59:58 ? github.com/edgexfoundry/device-sdk-go/v2/internal/container [no test files] 06:00:00 ok github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http 0.233s coverage: 32.5% of statements 06:00:00 ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http/correlation [no test files] 06:00:00 ? github.com/edgexfoundry/device-sdk-go/v2/internal/provision [no test files] 06:00:00 ? github.com/edgexfoundry/device-sdk-go/v2/internal/telemetry [no test files] 06:00:04 ok github.com/edgexfoundry/device-sdk-go/v2/internal/transformer 0.269s coverage: 57.3% of statements 06:00:04 ok github.com/edgexfoundry/device-sdk-go/v2/pkg/models 3.065s coverage: 6.6% of statements 06:00:04 ok github.com/edgexfoundry/device-sdk-go/v2/pkg/service 0.138s coverage: 5.0% of statements 06:00:04 ? github.com/edgexfoundry/device-sdk-go/v2/pkg/startup [no test files] 06:00:04 GO111MODULE=on go vet ./... 06:00:07 CGO_ENABLED=1 GO111MODULE=on go install -tags=safe 06:00:07 Removing intermediate container a4823ce2811a 06:00:07 ---> 9847d49829d7 06:00:07 Step 10/23 : FROM alpine:3.12 06:00:08 3.12: Pulling from library/alpine 06:00:08 532819f3e44c: Pulling fs layer 06:00:08 532819f3e44c: Verifying Checksum 06:00:08 532819f3e44c: Pull complete 06:00:08 Digest: sha256:834e9309b5ef0f78d8d20ef0652e7b0272fe97b5baf45720e1b830eaf013cc1b 06:00:08 Status: Downloaded newer image for alpine:3.12 06:00:08 ---> 7230e588e954 06:00:08 Step 11/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 06:00:08 ---> Running in 1a8202cf30c7 06:00:09 Removing intermediate container 1a8202cf30c7 06:00:09 ---> 99e31f75063d 06:00:09 Step 12/23 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 06:00:09 ---> Running in c79699160bba 06:00:11 Removing intermediate container c79699160bba 06:00:11 ---> 134ee60da54d 06:00:11 Step 13/23 : RUN apk add --update --no-cache zeromq 06:00:11 ---> Running in 00dfd8b5e239 06:00:11 fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz 06:00:11 fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz 06:00:13 (1/5) Installing libgcc (9.3.0-r2) 06:00:13 (2/5) Installing libsodium (1.0.18-r0) 06:00:13 (3/5) Installing libstdc++ (9.3.0-r2) 06:00:13 (4/5) Installing libzmq (4.3.3-r0) 06:00:14 (5/5) Installing zeromq (4.3.3-r0) 06:00:14 Executing busybox-1.31.1-r20.trigger 06:00:14 OK: 8 MiB in 19 packages 06:00:14 Removing intermediate container 00dfd8b5e239 06:00:14 ---> d2ad3c933096 06:00:14 Step 14/23 : WORKDIR / 06:00:14 ---> Running in dfc67138af2a 06:00:15 Removing intermediate container dfc67138af2a 06:00:15 ---> 2604e09e3d84 06:00:15 Step 15/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt 06:00:15 ---> a473fc4b3686 06:00:15 Step 16/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple 06:00:16 ---> 934fd8a37f74 06:00:16 Step 17/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res 06:00:16 ---> d1c36f0b35d7 06:00:16 Step 18/23 : EXPOSE 49990 06:00:16 ---> Running in 2f2be91337dc 06:00:16 Removing intermediate container 2f2be91337dc 06:00:16 ---> 6bde263f7a3e 06:00:16 Step 19/23 : ENTRYPOINT ["/device-simple"] 06:00:16 ---> Running in 09595a78b1d9 06:00:16 Removing intermediate container 09595a78b1d9 06:00:16 ---> 2c009e4bf4cf 06:00:16 Step 20/23 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] 06:00:16 ---> Running in 2e504e90aea5 06:00:16 Removing intermediate container 2e504e90aea5 06:00:16 ---> 3e023fb40215 06:00:16 Step 21/23 : LABEL arch=amd64 06:00:16 ---> Running in beb6b4f90d48 06:00:17 Removing intermediate container beb6b4f90d48 06:00:17 ---> f574421a3c8c 06:00:17 Step 22/23 : LABEL git_sha=02c78288b5ebc28a3c14afbc9b27287fcd943bc6 06:00:17 ---> Running in 94eed6354faf 06:00:17 Removing intermediate container 94eed6354faf 06:00:17 ---> 47face8e95d9 06:00:17 Step 23/23 : LABEL version=0.0.0 06:00:17 ---> Running in 8db2e5ab6354 06:00:17 Removing intermediate container 8db2e5ab6354 06:00:17 ---> 10a7ce09fb70 06:00:17 [Warning] One or more build-args [ARCH MAKE] were not consumed 06:00:17 Successfully built 10a7ce09fb70 06:00:17 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:00:19 ---> job-cost.sh 06:00:19 lf-activate-venv(): INFO: Creating python3 venv at /tmp/venv-qzSP 06:00:34 lf-activate-venv(): INFO: Installing: zipp==1.1.0 python-openstackclient 06:00:51 gofmt -l . 06:00:51 [ "`gofmt -l .`" = "" ] 06:00:51 ./bin/test-attribution-txt.sh 06:00:51 ./bin/test-go-mod-tidy.sh [Pipeline] } 06:00:52 $ docker stop --time=1 c282830d6b9dbaab89b2b6ef730be582230896bdf3cf74c9bb20b563756b1e3c 06:00:54 $ docker rm -f c282830d6b9dbaab89b2b6ef730be582230896bdf3cf74c9bb20b563756b1e3c [Pipeline] // withDockerContainer [Pipeline] sh 06:00:55 + sudo chown -R jenkins:jenkins . [Pipeline] stash 06:00:55 Warning: overwriting stash ‘coverage-report’ 06:00:56 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 06:00:57 + sudo chown -R jenkins:jenkins . [Pipeline] sh 06:00:57 + ls -al . 06:00:57 total 224 06:00:57 drwxrwxr-x 10 jenkins jenkins 4096 Apr 7 06:00 . 06:00:57 drwxrwxr-x 4 jenkins jenkins 4096 Apr 7 05:57 .. 06:00:57 -rw-rw-r-- 1 jenkins jenkins 140 Apr 7 05:57 .dockerignore 06:00:57 drwxrwxr-x 8 jenkins jenkins 4096 Apr 7 05:57 .git 06:00:57 drwxrwxr-x 2 jenkins jenkins 4096 Apr 7 05:57 .github 06:00:57 -rw-rw-r-- 1 jenkins jenkins 138 Apr 7 05:57 .gitignore 06:00:57 -rw-rw-r-- 1 jenkins jenkins 987 Apr 7 05:57 Dockerfile.build 06:00:57 -rw-rw-r-- 1 jenkins jenkins 901 Apr 7 05:57 Jenkinsfile 06:00:57 -rw-rw-r-- 1 jenkins jenkins 11341 Apr 7 05:57 LICENSE 06:00:57 -rw-rw-r-- 1 jenkins jenkins 1022 Apr 7 05:57 Makefile 06:00:57 -rw-rw-r-- 1 jenkins jenkins 5897 Apr 7 05:57 README.md 06:00:57 -rw-rw-r-- 1 jenkins jenkins 6616 Apr 7 05:57 RELEASE-NOTES.txt 06:00:57 -rw-rw-r-- 1 jenkins jenkins 5 Apr 7 05:54 VERSION 06:00:57 drwxrwxr-x 2 jenkins jenkins 4096 Apr 7 05:57 bin 06:00:57 -rw-r--r-- 1 jenkins jenkins 99189 Apr 7 06:00 coverage.out 06:00:57 drwxrwxr-x 5 jenkins jenkins 4096 Apr 7 05:57 example 06:00:57 -rw-r--r-- 1 jenkins jenkins 572 Apr 7 06:00 go.mod 06:00:57 -rw-r--r-- 1 jenkins jenkins 20946 Apr 7 06:00 go.sum 06:00:57 drwxrwxr-x 14 jenkins jenkins 4096 Apr 7 05:57 internal 06:00:57 drwxrwxr-x 4 jenkins jenkins 4096 Apr 7 05:57 openapi 06:00:57 drwxrwxr-x 5 jenkins jenkins 4096 Apr 7 05:57 pkg 06:00:57 drwxrwxr-x 4 jenkins jenkins 4096 Apr 7 05:57 snap 06:00:57 -rw-rw-r-- 1 jenkins jenkins 222 Apr 7 05:57 version.go [Pipeline] isUnix [Pipeline] sh 06:00:57 + 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=02c78288b5ebc28a3c14afbc9b27287fcd943bc6 --label arch=arm64 --label version=0.0.0 . 06:00:58 Sending build context to Docker daemon 2.481MB 06:00:58 Step 1/23 : ARG BASE=golang:1.15-alpine3.12 06:00:58 Step 2/23 : FROM ${BASE} AS builder 06:00:58 ---> 9396ceb2407a 06:00:58 Step 3/23 : WORKDIR /device-sdk-go 06:00:58 ---> Running in de9f4f0ed94f 06:00:59 Removing intermediate container de9f4f0ed94f 06:00:59 ---> b4132901e896 06:00:59 Step 4/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 06:00:59 ---> Running in 3ef4d9244fe1 06:00:59 Removing intermediate container 3ef4d9244fe1 06:00:59 ---> a17e62b4e07e 06:00:59 Step 5/23 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 06:00:59 ---> Running in 78aaeca4d2d5 06:01:00 lf-activate-venv(): INFO: Adding /tmp/venv-qzSP/bin to PATH 06:01:00 INFO: No Stack... 06:01:01 INFO: Retrieving Pricing Info for: v1-standard-2 06:01:01 Removing intermediate container 78aaeca4d2d5 06:01:01 ---> a1f36a77d50b 06:01:01 Step 6/23 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev 06:01:02 INFO: Archiving Costs 06:01:02 ---> Running in a8a1af3179a5 [Pipeline] sh 06:01:02 + cat /w/workspace/device-sdk-go/1/archives/cost.csv 06:01:02 + cut -d, -f6 [Pipeline] lock 06:01:02 Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-PR-865-1-stack-cost] 06:01:02 Resource [jenkins-edgexfoundry-device-sdk-go-PR-865-1-stack-cost] did not exist. Created. 06:01:02 Lock acquired on [jenkins-edgexfoundry-device-sdk-go-PR-865-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 06:01:03 + echo total: 0.029999999329447746 [Pipeline] stash 06:01:03 fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz 06:01:03 Stashed 1 file(s) [Pipeline] } 06:01:03 Lock released on resource [jenkins-edgexfoundry-device-sdk-go-PR-865-1-stack-cost] [Pipeline] // lock [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } 06:01:04 fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz [Pipeline] // stage [Pipeline] } 06:01:05 OK: 144 MiB in 45 packages 06:01:06 Removing intermediate container a8a1af3179a5 06:01:06 ---> 37c8f726117e 06:01:06 Step 7/23 : COPY . . 06:01:07 ---> 2625acb486e8 06:01:07 Step 8/23 : RUN go mod download 06:01:07 ---> Running in e5b30c3733a4 06:01:09 Removing intermediate container e5b30c3733a4 06:01:09 ---> 870a8e79cac0 06:01:09 Step 9/23 : RUN make build 06:01:10 ---> Running in 95452c97b086 06:01:11 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:01:43 CGO_ENABLED=1 GO111MODULE=on go install -tags=safe 06:01:46 Removing intermediate container 95452c97b086 06:01:46 ---> 52b6552c4752 06:01:46 Step 10/23 : FROM alpine:3.12 06:01:46 3.12: Pulling from library/alpine 06:01:46 9a219e8acc52: Pulling fs layer 06:01:46 9a219e8acc52: Verifying Checksum 06:01:46 9a219e8acc52: Download complete 06:01:46 9a219e8acc52: Pull complete 06:01:46 Digest: sha256:834e9309b5ef0f78d8d20ef0652e7b0272fe97b5baf45720e1b830eaf013cc1b 06:01:46 Status: Downloaded newer image for alpine:3.12 06:01:46 ---> d75e27dfc0a0 06:01:46 Step 11/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 06:01:47 ---> Running in 339dc50f9d93 06:01:47 Removing intermediate container 339dc50f9d93 06:01:47 ---> bd5a226a11bc 06:01:47 Step 12/23 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 06:01:47 ---> Running in 7f3fe0b9d233 06:01:49 Removing intermediate container 7f3fe0b9d233 06:01:49 ---> f00ee8b7df03 06:01:49 Step 13/23 : RUN apk add --update --no-cache zeromq 06:01:49 ---> Running in 2e388e4bfbc4 06:01:50 fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz 06:01:51 fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz 06:01:52 (1/5) Installing libgcc (9.3.0-r2) 06:01:52 (2/5) Installing libsodium (1.0.18-r0) 06:01:52 (3/5) Installing libstdc++ (9.3.0-r2) 06:01:53 (4/5) Installing libzmq (4.3.3-r0) 06:01:53 (5/5) Installing zeromq (4.3.3-r0) 06:01:53 Executing busybox-1.31.1-r20.trigger 06:01:53 OK: 8 MiB in 19 packages 06:01:54 Removing intermediate container 2e388e4bfbc4 06:01:54 ---> 32b4e65eb598 06:01:54 Step 14/23 : WORKDIR / 06:01:54 ---> Running in d6dd48d81f4c 06:01:55 Removing intermediate container d6dd48d81f4c 06:01:55 ---> 5e4f7d63ed40 06:01:55 Step 15/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt 06:01:56 ---> 9cfc316508b1 06:01:56 Step 16/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple 06:01:57 ---> 5e02f9bb8003 06:01:57 Step 17/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res 06:01:58 ---> 6f37cbc46726 06:01:58 Step 18/23 : EXPOSE 49990 06:01:58 ---> Running in a83e067a6a55 06:01:58 Removing intermediate container a83e067a6a55 06:01:58 ---> 0768f376ca7f 06:01:58 Step 19/23 : ENTRYPOINT ["/device-simple"] 06:01:58 ---> Running in 8e87c8b7db7c 06:01:59 Removing intermediate container 8e87c8b7db7c 06:01:59 ---> 3ae3f957e6b6 06:01:59 Step 20/23 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] 06:01:59 ---> Running in cc3354c0bddc 06:01:59 Removing intermediate container cc3354c0bddc 06:01:59 ---> 4f8677f30597 06:01:59 Step 21/23 : LABEL arch=arm64 06:01:59 ---> Running in ba4d15e846c8 06:02:00 Removing intermediate container ba4d15e846c8 06:02:00 ---> 3cd1406ca606 06:02:00 Step 22/23 : LABEL git_sha=02c78288b5ebc28a3c14afbc9b27287fcd943bc6 06:02:00 ---> Running in 28c3c1c0e939 06:02:01 Removing intermediate container 28c3c1c0e939 06:02:01 ---> 4de805583856 06:02:01 Step 23/23 : LABEL version=0.0.0 06:02:01 ---> Running in 867ac7f0ec32 06:02:01 Removing intermediate container 867ac7f0ec32 06:02:01 ---> 4d8477fccf76 06:02:01 [Warning] One or more build-args [ARCH MAKE] were not consumed 06:02:01 Successfully built 4d8477fccf76 06:02:01 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 06:02:02 ---> job-cost.sh 06:02:02 lf-activate-venv(): INFO: Creating python3 venv at /tmp/venv-lH38 06:02:41 lf-activate-venv(): INFO: Installing: zipp==1.1.0 python-openstackclient 06:04:18 lf-activate-venv(): INFO: Adding /tmp/venv-lH38/bin to PATH 06:04:18 INFO: No Stack... 06:04:18 INFO: Retrieving Pricing Info for: lf-standard-4 06:04:18 INFO: Archiving Costs [Pipeline] sh 06:04:18 + cut -d, -f6 06:04:18 + cat /w/workspace/device-sdk-go/1/archives/cost.csv [Pipeline] lock 06:04:18 Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-PR-865-1-stack-cost] 06:04:18 Resource [jenkins-edgexfoundry-device-sdk-go-PR-865-1-stack-cost] did not exist. Created. 06:04:18 Lock acquired on [jenkins-edgexfoundry-device-sdk-go-PR-865-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 06:04:19 /w/workspace/device-sdk-go/1@tmp/durable-ce0b322f/script.sh: 1: /w/workspace/device-sdk-go/1@tmp/durable-ce0b322f/script.sh: Syntax error: Unterminated quoted string [Pipeline] sh 06:04:19 + echo total: 0.20999999344348907 [Pipeline] stash 06:04:20 Warning: overwriting stash ‘stack-cost’ 06:04:20 Stashed 1 file(s) [Pipeline] } 06:04:20 Lock released on resource [jenkins-edgexfoundry-device-sdk-go-PR-865-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:04:22 provisioning config files... 06:04:22 copy managed file [device-sdk-go-codecov-token] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-865@tmp/config1904026599048513725tmp [Pipeline] { [Pipeline] sh 06:04:22 + set +x 06:04:22 + curl -s https://codecov.io/bash 06:04:22 + bash -s -- 06:04:22 06:04:22 _____ _ 06:04:22 / ____| | | 06:04:22 | | ___ __| | ___ ___ _____ __ 06:04:22 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 06:04:22 | |___| (_) | (_| | __/ (_| (_) \ V / 06:04:22 \_____\___/ \__,_|\___|\___\___/ \_/ 06:04:22 Bash-20210309-2b87ace 06:04:22 06:04:22 06:04:22 ==> git version 2.24.3 found 06:04:22 ==> 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:04:22 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtsp scp sftp smtp smtps telnet tftp 06:04:22 Features: AsynchDNS GSS-Negotiate IDN IPv6 Largefile NTLM NTLM_WB SSL libz unix-sockets 06:04:22 ==> Jenkins CI detected. 06:04:22 project root: . 06:04:22 --> token set from env 06:04:22 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 06:04:22 ==> Running gcov in . (disable via -X gcov) 06:04:22 ==> Python coveragepy not found 06:04:22 ==> Searching for coverage reports in: 06:04:22 + . 06:04:22 -> Found 1 reports 06:04:22 ==> Detecting git/mercurial file structure 06:04:22 ==> Reading reports 06:04:22 + ./coverage.out bytes=99189 06:04:22 ==> Appending adjustments 06:04:22 https://docs.codecov.io/docs/fixing-reports 06:04:23 + Found adjustments 06:04:23 ==> Gzipping contents 06:04:23 16K /tmp/codecov.GEdxNJ.gz 06:04:23 ==> Uploading reports 06:04:23 url: https://codecov.io 06:04:23 query: branch=PR-865&commit=02c78288b5ebc28a3c14afbc9b27287fcd943bc6&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-865%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=865&job=&cmd_args= 06:04:23 -> Pinging Codecov 06:04:23 https://codecov.io/upload/v4?package=bash-20210309-2b87ace&token=secret&branch=PR-865&commit=02c78288b5ebc28a3c14afbc9b27287fcd943bc6&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-865%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=865&job=&cmd_args= 06:04:23 -> Uploading to 06:04:23 https://storage.googleapis.com/codecov/v4/raw/2021-04-07/7E55EF52A471D76F132DFD9A03CDDE97/02c78288b5ebc28a3c14afbc9b27287fcd943bc6/65ffe74a-a58c-4949-b21f-48f5cde1acc3.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EQM3VGPYSAFECJRMNAFIPCV2R3P2BOORCJC7NM537NPJQSFLHUDNIDWA%2F20210407%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20210407T060423Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=7a4965a71b9542aea0ca5eb869bb4487b99318b5183e95e78173257e4d6651bc 06:04:23 % Total % Received % Xferd Average Speed Time Time Time Current 06:04:23 Dload Upload Total Spent Left Speed 06:04:24 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 13424 0 0 100 13424 0 31766 --:--:-- --:--:-- --:--:-- 31810 06:04:24 -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/device-sdk-go/commit/02c78288b5ebc28a3c14afbc9b27287fcd943bc6 [Pipeline] } 06:04:24 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:04:27 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 06:04:28 ---> package-listing.sh 06:04:28 ++ facter osfamily 06:04:28 ++ tr '[:upper:]' '[:lower:]' 06:04:28 + OS_FAMILY=redhat 06:04:28 + workspace=/w/workspace/dgexfoundry_device-sdk-go_PR-865 06:04:28 + START_PACKAGES=/tmp/packages_start.txt 06:04:28 + END_PACKAGES=/tmp/packages_end.txt 06:04:28 + DIFF_PACKAGES=/tmp/packages_diff.txt 06:04:28 + PACKAGES=/tmp/packages_start.txt 06:04:28 + '[' /w/workspace/dgexfoundry_device-sdk-go_PR-865 ']' 06:04:28 + PACKAGES=/tmp/packages_end.txt 06:04:28 + case "${OS_FAMILY}" in 06:04:28 + rpm -qa 06:04:28 + sort 06:04:33 + '[' -f /tmp/packages_start.txt ']' 06:04:33 + '[' -f /tmp/packages_end.txt ']' 06:04:33 + diff /tmp/packages_start.txt /tmp/packages_end.txt 06:04:33 + '[' /w/workspace/dgexfoundry_device-sdk-go_PR-865 ']' 06:04:33 + mkdir -p /w/workspace/dgexfoundry_device-sdk-go_PR-865/archives/ 06:04:33 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/dgexfoundry_device-sdk-go_PR-865/archives/ [Pipeline] echo 06:04:33 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-865/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 06:04:34 + facter operatingsystem [Pipeline] isUnix [Pipeline] sh 06:04:34 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 06:04:34 06:04:34 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh 06:04:34 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 06:04:34 alpine: Pulling from edgex-lftools-log-publisher 06:04:34 df20fa9351a1: Pulling fs layer 06:04:34 36b3adc4ff6f: Pulling fs layer 06:04:34 8ad3a11d3b57: Pulling fs layer 06:04:34 46f8f816bc3b: Pulling fs layer 06:04:34 93b61091891f: Pulling fs layer 06:04:34 93b9cdb0e59b: Pulling fs layer 06:04:34 5e14af77c1be: Pulling fs layer 06:04:34 01666e4c0597: Pulling fs layer 06:04:34 aa168da1d23b: Pulling fs layer 06:04:34 93b9cdb0e59b: Waiting 06:04:34 46f8f816bc3b: Waiting 06:04:34 93b61091891f: Waiting 06:04:34 01666e4c0597: Waiting 06:04:34 5e14af77c1be: Waiting 06:04:34 aa168da1d23b: Waiting 06:04:34 36b3adc4ff6f: Verifying Checksum 06:04:34 36b3adc4ff6f: Download complete 06:04:34 46f8f816bc3b: Verifying Checksum 06:04:34 46f8f816bc3b: Download complete 06:04:35 df20fa9351a1: Verifying Checksum 06:04:35 93b9cdb0e59b: Verifying Checksum 06:04:35 93b9cdb0e59b: Download complete 06:04:35 5e14af77c1be: Verifying Checksum 06:04:35 5e14af77c1be: Download complete 06:04:35 01666e4c0597: Verifying Checksum 06:04:35 01666e4c0597: Download complete 06:04:35 93b61091891f: Verifying Checksum 06:04:35 93b61091891f: Download complete 06:04:35 8ad3a11d3b57: Verifying Checksum 06:04:35 8ad3a11d3b57: Download complete 06:04:35 df20fa9351a1: Pull complete 06:04:35 36b3adc4ff6f: Pull complete 06:04:36 8ad3a11d3b57: Pull complete 06:04:36 46f8f816bc3b: Pull complete 06:04:37 93b61091891f: Pull complete 06:04:37 93b9cdb0e59b: Pull complete 06:04:38 5e14af77c1be: Pull complete 06:04:38 01666e4c0597: Pull complete 06:04:38 aa168da1d23b: Verifying Checksum 06:04:38 aa168da1d23b: Download complete 06:04:46 aa168da1d23b: Pull complete 06:04:46 Digest: sha256:ac41798234670a79351fc13b8232b4dbeccc6fb1f122f5db5169d11b1762ca7c 06:04:46 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 06:04:46 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer 06:04:46 prd-centos7-docker-4c-2g-33123 does not seem to be running inside a container 06:04:46 $ 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-865/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-865 -v /w/workspace/dgexfoundry_device-sdk-go_PR-865:/w/workspace/dgexfoundry_device-sdk-go_PR-865:rw,z -v /w/workspace/dgexfoundry_device-sdk-go_PR-865@tmp:/w/workspace/dgexfoundry_device-sdk-go_PR-865@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:10003/edgex-lftools-log-publisher:alpine cat 06:04:50 $ docker top ec31ce8ff9c29954634cc34414ad48b3e308c881ddb235fb31aacdf2af350903 -eo pid,comm [Pipeline] { [Pipeline] sh 06:04:51 + touch /tmp/pre-build-complete [Pipeline] sh 06:04:51 + mkdir -p /var/log/sa [Pipeline] sh 06:04:52 + ls /var/log/sa-host 06:04:52 + sadf -c /var/log/sa-host/sa07 06:04:52 file_magic: OK 06:04:52 HZ: Using current value: 100 06:04:52 file_header: OK 06:04:52 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:04:52 Statistics: 06:04:52 HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... 06:04:52 File successfully converted to sysstat format version 12.2.1 06:04:52 + sadf -c /var/log/sa-host/sa23 06:04:52 file_magic: OK 06:04:52 HZ: Using current value: 100 06:04:52 file_header: OK 06:04:52 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:04:52 Statistics: 06:04:52 Hnuu...uuuununununu... 06:04:52 File successfully converted to sysstat format version 12.2.1 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 06:04:52 provisioning config files... 06:04:52 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-865@tmp/config1796574021173481051tmp [Pipeline] { [Pipeline] echo 06:04:53 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 06:04:53 ---> create-netrc.sh [Pipeline] } 06:04:53 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] echo 06:04:53 Running shell/python-tools-install.sh [Pipeline] libraryResource [Pipeline] sh 06:04:53 ---> python-tools-install.sh [Pipeline] echo 06:04:53 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 06:04:54 ---> sudo-logs.sh 06:04:54 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 06:04:54 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 06:04:54 ---> job-cost.sh 06:04:54 lf-activate-venv: SKIPPING 06:04:54 DEBUG: total: 0.20999999344348907 06:04:54 INFO: Retrieving Stack Cost... 06:04:56 INFO: Retrieving Pricing Info for: v1-standard-2 06:04:56 INFO: Archiving Costs [Pipeline] echo 06:04:56 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 06:04:57 ---> logs-deploy.sh 06:04:57 lf-activate-venv: SKIPPING 06:04:57 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-865/1 06:04:57 INFO: archiving workspace using pattern(s): 06:04:59 Archives upload complete. 06:04:59 INFO: archiving logs to Nexus