Pull request #879 opened Connecting to https://api.github.com using edgex-jenkins/****** (edgex-jenkins github personal access token) Connecting to https://api.github.com to check permissions of obtain list of hahattan for edgexfoundry/device-sdk-go Obtained Jenkinsfile from dd0b196889d4fd430a5007e633b91b3603e9182d+c62645d0ab1012df8ad15b74000ef7e30c377aaa (b11333c107b5afcd1d2bfb8b03dd73e006447327) 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-879/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-879/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-79 in /w/workspace/dgexfoundry_device-sdk-go_PR-879 [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-879 # 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/879/head:refs/remotes/origin/PR-879 +refs/heads/master:refs/remotes/origin/master # timeout=10 Merging remotes/origin/master commit c62645d0ab1012df8ad15b74000ef7e30c377aaa into PR head commit dd0b196889d4fd430a5007e633b91b3603e9182d Merge succeeded, producing dd0b196889d4fd430a5007e633b91b3603e9182d Checking out Revision dd0b196889d4fd430a5007e633b91b3603e9182d (PR-879) > git config core.sparsecheckout # timeout=10 > git checkout -f dd0b196889d4fd430a5007e633b91b3603e9182d # 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 c62645d0ab1012df8ad15b74000ef7e30c377aaa # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f dd0b196889d4fd430a5007e633b91b3603e9182d # timeout=10 Commit message: "refactor: Replace use of BurntSushi/toml with pelletier/go-toml" 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 08:13:34 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 08:13:34 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 08:13:34 ========================================================= 08:13:34 EdgeX Global Pipelines Version Info 08:13:34 ========================================================= [Pipeline] libraryResource [Pipeline] sh 08:13:36 ------------------- 08:13:36 stable info: 08:13:36 ------------------- 08:13:36 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 08:13:36 Commit SHA: 57ded3389ef25720063a8030e5c426a6b7ea5b20 08:13:36 Message: update stable to v1.0.186 08:13:37 ------------------- 08:13:37 experimental info: 08:13:37 ------------------- 08:13:37 Commited By: **** collab-it+edgex@linuxfoundation.org 08:13:37 Commit SHA: d990d252097850d5d490fbb59df25296f5300d79 08:13:37 Message: update experimental to v1.0.188 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 08:13:37 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-go-settings [Pipeline] echo 08:13:37 [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-go [Pipeline] echo 08:13:37 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 08:13:37 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 08:13:37 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 08:13:37 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.15 [Pipeline] echo 08:13:37 [edgeXSetupEnvironment]: set envvar GOPROXY = https://nexus3.edgexfoundry.org/repository/go-proxy/ [Pipeline] echo 08:13:37 [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine [Pipeline] echo 08:13:37 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = example/cmd/device-simple/Dockerfile [Pipeline] echo 08:13:37 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 08:13:37 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 08:13:37 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = docker-device-sdk-simple [Pipeline] echo 08:13:37 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 08:13:37 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 08:13:38 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 08:13:38 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo 08:13:38 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 08:13:38 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 08:13:38 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 08:13:38 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 08:13:38 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo 08:13:38 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 openapi/v2 [Pipeline] echo 08:13:38 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 08:13:38 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 08:13:38 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 08:13:38 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 08:13:38 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-879 [Pipeline] echo 08:13:38 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-879 [Pipeline] echo 08:13:38 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-879 [Pipeline] echo 08:13:39 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = dd0b196889d4fd430a5007e633b91b3603e9182d [Pipeline] echo 08:13:39 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = dd0b196 [Pipeline] echo 08:13:39 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] wrap 08:13:39 provisioning config files... 08:13:39 copy managed file [device-sdk-go-settings] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-879@tmp/config3677625862252111329tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 08:13:39 ---> docker-login.sh 08:13:39 nexus3.edgexfoundry.org:10001 08:13:40 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 08:13:40 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 08:13:40 Configure a credential helper to remove this warning. See 08:13:40 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 08:13:40 08:13:40 Login Succeeded 08:13:40 nexus3.edgexfoundry.org:10002 08:13:40 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 08:13:40 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 08:13:40 Configure a credential helper to remove this warning. See 08:13:40 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 08:13:40 08:13:40 Login Succeeded 08:13:40 nexus3.edgexfoundry.org:10003 08:13:40 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 08:13:40 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 08:13:40 Configure a credential helper to remove this warning. See 08:13:40 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 08:13:40 08:13:40 Login Succeeded 08:13:40 nexus3.edgexfoundry.org:10004 08:13:40 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 08:13:40 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 08:13:40 Configure a credential helper to remove this warning. See 08:13:40 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 08:13:40 08:13:40 Login Succeeded 08:13:40 docker.io 08:13:40 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 08:13:41 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 08:13:41 Configure a credential helper to remove this warning. See 08:13:41 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 08:13:41 08:13:41 Login Succeeded 08:13:41 ---> docker-login.sh ends [Pipeline] } 08:13:41 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 08:13:42 + git log --format=format:%s -1 dd0b196889d4fd430a5007e633b91b3603e9182d [Pipeline] echo 08:13:42 GIT_COMMIT: dd0b196889d4fd430a5007e633b91b3603e9182d, Commit Message: refactor: Replace use of BurntSushi/toml with pelletier/go-toml [Pipeline] echo 08:13:42 This is not a build commit. [Pipeline] isUnix [Pipeline] sh 08:13:43 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 08:13:43 08:13:43 Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh 08:13:43 + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 08:13:43 latest: Pulling from edgex-devops/git-semver 08:13:43 31603596830f: Pulling fs layer 08:13:43 2a8b12db71e7: Pulling fs layer 08:13:43 6ca5941a6612: Pulling fs layer 08:13:43 ecc8261a40a4: Pulling fs layer 08:13:43 ecc8261a40a4: Waiting 08:13:43 2a8b12db71e7: Verifying Checksum 08:13:43 2a8b12db71e7: Download complete 08:13:43 31603596830f: Verifying Checksum 08:13:43 31603596830f: Download complete 08:13:43 ecc8261a40a4: Verifying Checksum 08:13:43 ecc8261a40a4: Download complete 08:13:43 6ca5941a6612: Verifying Checksum 08:13:43 6ca5941a6612: Download complete 08:13:44 31603596830f: Pull complete 08:13:44 2a8b12db71e7: Pull complete 08:13:45 6ca5941a6612: Pull complete 08:13:45 ecc8261a40a4: Pull complete 08:13:45 Digest: sha256:c336c3cb7d26c4f33e4bbf869d415e221d43967d83d6a5809e4cb0cc2a1e8fe7 08:13:45 Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 08:13:45 nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer 08:13:45 prd-centos7-docker-4c-2g-79 does not seem to be running inside a container 08:13:45 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/dgexfoundry_device-sdk-go_PR-879 -v /w/workspace/dgexfoundry_device-sdk-go_PR-879:/w/workspace/dgexfoundry_device-sdk-go_PR-879:rw,z -v /w/workspace/dgexfoundry_device-sdk-go_PR-879@tmp:/w/workspace/dgexfoundry_device-sdk-go_PR-879@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 ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat 08:13:47 $ docker top b1e309a26735fa45212e4fcde0d7d89f65df424b3e44b7e3509314fd22f1079d -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 08:13:47 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 08:13:47 [ssh-agent] Looking for ssh-agent implementation... 08:13:47 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 08:13:47 $ docker exec b1e309a26735fa45212e4fcde0d7d89f65df424b3e44b7e3509314fd22f1079d ssh-agent 08:13:47 SSH_AUTH_SOCK=/tmp/ssh-seHhqDDYEcMU/agent.11 08:13:47 SSH_AGENT_PID=17 08:13:47 Running ssh-add (command line suppressed) 08:13:47 Identity added: /w/workspace/dgexfoundry_device-sdk-go_PR-879@tmp/private_key_4690332280267921622.key (/w/workspace/dgexfoundry_device-sdk-go_PR-879@tmp/private_key_4690332280267921622.key) 08:13:47 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 08:13:48 + git tag --points-at HEAD [Pipeline] } 08:13:48 $ docker exec --env ******** --env ******** b1e309a26735fa45212e4fcde0d7d89f65df424b3e44b7e3509314fd22f1079d ssh-agent -k 08:13:48 unset SSH_AUTH_SOCK; 08:13:48 unset SSH_AGENT_PID; 08:13:48 echo Agent pid 17 killed; 08:13:48 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 08:13:48 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 08:13:48 [ssh-agent] Looking for ssh-agent implementation... 08:13:48 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 08:13:48 $ docker exec b1e309a26735fa45212e4fcde0d7d89f65df424b3e44b7e3509314fd22f1079d ssh-agent 08:13:48 SSH_AUTH_SOCK=/tmp/ssh-YXwl9g6J5PBh/agent.48 08:13:48 SSH_AGENT_PID=54 08:13:48 Running ssh-add (command line suppressed) 08:13:48 Identity added: /w/workspace/dgexfoundry_device-sdk-go_PR-879@tmp/private_key_8548693358645475384.key (/w/workspace/dgexfoundry_device-sdk-go_PR-879@tmp/private_key_8548693358645475384.key) 08:13:48 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 08:13:49 + git semver init 08:13:49 # -> Open(): unable to determine branch for HEAD 08:13:49 # $GIT_DIR = /w/workspace/dgexfoundry_device-sdk-go_PR-879/.git 08:13:49 # $GIT_WORK_TREE = /w/workspace/dgexfoundry_device-sdk-go_PR-879 08:13:49 # $SEMVER_REMOTE_NAME = origin 08:13:49 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 08:13:49 # $SEMVER_USER_NAME = edgex-jenkins 08:13:49 # $SEMVER_BRANCH = PR-879 08:13:49 # $SEMVER_TEMP = /tmp/semver-307172368 08:13:49 # git clone --branch semver git@github.com:edgexfoundry/device-sdk-go.git $SEMVER_TEMP 08:13:49 # '/tmp/semver-307172368' -> '/w/workspace/dgexfoundry_device-sdk-go_PR-879/.semver' 08:13:50 # -> Force: false 08:13:50 # $SEMVER_DIR = /w/workspace/dgexfoundry_device-sdk-go_PR-879/.semver [Pipeline] } 08:13:50 $ docker exec --env ******** --env ******** b1e309a26735fa45212e4fcde0d7d89f65df424b3e44b7e3509314fd22f1079d ssh-agent -k 08:13:50 unset SSH_AUTH_SOCK; 08:13:50 unset SSH_AGENT_PID; 08:13:50 echo Agent pid 54 killed; 08:13:50 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 08:13:50 + git semver [Pipeline] } 08:13:50 $ docker stop --time=1 b1e309a26735fa45212e4fcde0d7d89f65df424b3e44b7e3509314fd22f1079d 08:13:52 $ docker rm -f b1e309a26735fa45212e4fcde0d7d89f65df424b3e44b7e3509314fd22f1079d [Pipeline] // withDockerContainer [Pipeline] sh 08:13:52 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 08:13:52 Stashed 1 file(s) [Pipeline] echo 08:13:52 [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 08:14:08 Still waiting to schedule task 08:14:08 Waiting for next available executor on ‘centos7-docker-4c-2g’ 08:14:08 Still waiting to schedule task 08:14:08 All nodes of label ‘ubuntu18.04-docker-arm64-4c-16g’ are offline 08:16:04 Running on prd-ubuntu18.04-docker-arm64-4c-16g-80 in /w/workspace/dgexfoundry_device-sdk-go_PR-879 [Pipeline] { [Pipeline] ws 08:16:04 Running in /w/workspace/device-sdk-go/1 [Pipeline] { [Pipeline] checkout 08:16:10 using credential edgex-jenkins-ssh 08:16:10 Cloning the remote Git repository 08:16:10 Cloning repository git@github.com:edgexfoundry/device-sdk-go.git 08:16:10 > git init /w/workspace/device-sdk-go/1 # timeout=10 08:16:10 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 08:16:10 > git --version # timeout=10 08:16:10 > git --version # 'git version 2.17.1' 08:16:10 using GIT_SSH to set credentials SSH Credentials for GitHub 08:16:10 > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 08:16:11 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 08:16:11 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 08:16:11 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 08:16:11 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 08:16:11 using GIT_SSH to set credentials SSH Credentials for GitHub 08:16:11 > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/879/head:refs/remotes/origin/PR-879 +refs/heads/master:refs/remotes/origin/master # timeout=10 08:16:12 Merging remotes/origin/master commit c62645d0ab1012df8ad15b74000ef7e30c377aaa into PR head commit dd0b196889d4fd430a5007e633b91b3603e9182d 08:16:12 Merge succeeded, producing dd0b196889d4fd430a5007e633b91b3603e9182d 08:16:12 Checking out Revision dd0b196889d4fd430a5007e633b91b3603e9182d (PR-879) 08:16:12 > git config core.sparsecheckout # timeout=10 08:16:12 > git checkout -f dd0b196889d4fd430a5007e633b91b3603e9182d # timeout=10 08:16:12 > git remote # timeout=10 08:16:12 > git config --get remote.origin.url # timeout=10 08:16:12 using GIT_SSH to set credentials SSH Credentials for GitHub 08:16:12 > git merge c62645d0ab1012df8ad15b74000ef7e30c377aaa # timeout=10 08:16:12 > git rev-parse HEAD^{commit} # timeout=10 08:16:12 > git config core.sparsecheckout # timeout=10 08:16:12 > git checkout -f dd0b196889d4fd430a5007e633b91b3603e9182d # timeout=10 08:16:17 Commit message: "refactor: Replace use of BurntSushi/toml with pelletier/go-toml" 08:16:17 > git --version # timeout=10 08:16:17 > git --version # 'git version 2.17.1' 08:16:17 fatal: bad object 57ded3389ef25720063a8030e5c426a6b7ea5b20 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 08:16:19 + sudo jq . + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false} /etc/docker/daemon.json [Pipeline] sh 08:16:19 + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh 08:16:19 + + sudotrue service 08:16:19 docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] wrap 08:16:22 provisioning config files... 08:16:22 copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/1@tmp/config3531869094000899869tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 08:16:23 ---> docker-login.sh 08:16:23 nexus3.edgexfoundry.org:10001 08:16:24 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 08:16:24 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 08:16:24 Configure a credential helper to remove this warning. See 08:16:24 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 08:16:24 08:16:24 Login Succeeded 08:16:24 nexus3.edgexfoundry.org:10002 08:16:25 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 08:16:25 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 08:16:25 Configure a credential helper to remove this warning. See 08:16:25 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 08:16:25 08:16:25 Login Succeeded 08:16:25 nexus3.edgexfoundry.org:10003 08:16:25 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 08:16:25 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 08:16:25 Configure a credential helper to remove this warning. See 08:16:25 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 08:16:25 08:16:25 Login Succeeded 08:16:25 nexus3.edgexfoundry.org:10004 08:16:25 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 08:16:25 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 08:16:25 Configure a credential helper to remove this warning. See 08:16:25 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 08:16:25 08:16:25 Login Succeeded 08:16:25 docker.io 08:16:26 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 08:16:26 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 08:16:26 Configure a credential helper to remove this warning. See 08:16:26 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 08:16:26 08:16:26 Login Succeeded 08:16:26 ---> docker-login.sh ends [Pipeline] } 08:16:26 Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 08:16:27 ========================================================= 08:16:27 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine] 08:16:27 ========================================================= [Pipeline] isUnix [Pipeline] sh 08:16:27 + 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 . 08:16:27 Sending build context to Docker daemon 2.421MB 08:16:27 Step 1/8 : ARG BASE=golang:1.15-alpine3.12 08:16:27 Step 2/8 : FROM ${BASE} 08:16:28 1.15-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 08:16:28 5f621e34cdf4: Pulling fs layer 08:16:28 a4357932f1b6: Pulling fs layer 08:16:28 18c013af1878: Pulling fs layer 08:16:28 00ac8860ef70: Pulling fs layer 08:16:28 63d7cb157983: Pulling fs layer 08:16:28 b116817d02f9: Pulling fs layer 08:16:28 745a02a5169b: Pulling fs layer 08:16:28 00ac8860ef70: Waiting 08:16:28 63d7cb157983: Waiting 08:16:28 b116817d02f9: Waiting 08:16:28 745a02a5169b: Waiting 08:16:28 18c013af1878: Download complete 08:16:28 a4357932f1b6: Verifying Checksum 08:16:28 a4357932f1b6: Download complete 08:16:28 63d7cb157983: Download complete 08:16:28 b116817d02f9: Download complete 08:16:28 5f621e34cdf4: Verifying Checksum 08:16:28 5f621e34cdf4: Download complete 08:16:29 5f621e34cdf4: Pull complete 08:16:29 a4357932f1b6: Pull complete 08:16:30 18c013af1878: Pull complete 08:16:31 745a02a5169b: Verifying Checksum 08:16:31 745a02a5169b: Download complete 08:16:32 00ac8860ef70: Verifying Checksum 08:16:32 00ac8860ef70: Download complete 08:16:42 00ac8860ef70: Pull complete 08:16:42 63d7cb157983: Pull complete 08:16:43 b116817d02f9: Pull complete 08:16:46 745a02a5169b: Pull complete 08:16:46 Digest: sha256:df689100bc6b2f2091bc50e3ab30bcbb973ead998518226adecfd27d0a642918 08:16:46 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine 08:16:46 ---> b7e6874047d6 08:16:46 Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 08:16:49 ---> Running in bed6d6e800e6 08:16:49 Removing intermediate container bed6d6e800e6 08:16:49 ---> 3cfd4f5c555b 08:16:49 Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 08:16:49 ---> Running in 2ea76eff47aa 08:16:52 Removing intermediate container 2ea76eff47aa 08:16:52 ---> 66e15f2ca0db 08:16:52 Step 5/8 : RUN apk add --update --no-cache make git gcc libc-dev libsodium-dev zeromq-dev 08:16:52 ---> Running in 15ca3ed33186 08:16:53 fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz 08:16:54 fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz 08:16:55 (1/6) Installing libc-dev (0.7.2-r3) 08:16:55 (2/6) Installing libsodium (1.0.18-r0) 08:16:55 (3/6) Installing pkgconf (1.7.2-r0) 08:16:55 (4/6) Installing libsodium-dev (1.0.18-r0) 08:16:55 (5/6) Installing libzmq (4.3.3-r0) 08:16:55 (6/6) Installing zeromq-dev (4.3.3-r0) 08:16:55 Executing busybox-1.31.1-r19.trigger 08:16:55 OK: 144 MiB in 45 packages 08:16:57 Removing intermediate container 15ca3ed33186 08:16:57 ---> f60d954201ac 08:16:57 Step 6/8 : WORKDIR /device-sdk-go 08:16:57 ---> Running in 10dc00122fce 08:16:57 Removing intermediate container 10dc00122fce 08:16:57 ---> 9d74ef3a8f01 08:16:57 Step 7/8 : COPY . . 08:16:57 Running on prd-centos7-docker-4c-2g-81 in /w/workspace/dgexfoundry_device-sdk-go_PR-879 [Pipeline] { [Pipeline] ws 08:16:57 Running in /w/workspace/device-sdk-go/1 [Pipeline] { [Pipeline] checkout 08:16:59 ---> cc1eb7f1ed2b 08:16:59 Step 8/8 : RUN go mod download 08:16:59 ---> Running in 3ec681f6baae 08:17:00 using credential edgex-jenkins-ssh 08:17:00 Cloning the remote Git repository 08:17:00 Cloning repository git@github.com:edgexfoundry/device-sdk-go.git 08:17:00 > git init /w/workspace/device-sdk-go/1 # timeout=10 08:17:01 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 08:17:01 > git --version # timeout=10 08:17:01 > git --version # 'git version 2.24.3' 08:17:01 using GIT_SSH to set credentials SSH Credentials for GitHub 08:17:01 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 08:17:02 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 08:17:02 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 08:17:02 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 08:17:02 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 08:17:02 using GIT_SSH to set credentials SSH Credentials for GitHub 08:17:02 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/879/head:refs/remotes/origin/PR-879 +refs/heads/master:refs/remotes/origin/master # timeout=10 08:17:04 Merging remotes/origin/master commit c62645d0ab1012df8ad15b74000ef7e30c377aaa into PR head commit dd0b196889d4fd430a5007e633b91b3603e9182d 08:17:04 Merge succeeded, producing dd0b196889d4fd430a5007e633b91b3603e9182d 08:17:04 Checking out Revision dd0b196889d4fd430a5007e633b91b3603e9182d (PR-879) 08:17:04 > git config core.sparsecheckout # timeout=10 08:17:04 > git checkout -f dd0b196889d4fd430a5007e633b91b3603e9182d # timeout=10 08:17:04 > git remote # timeout=10 08:17:04 > git config --get remote.origin.url # timeout=10 08:17:04 using GIT_SSH to set credentials SSH Credentials for GitHub 08:17:04 > git merge c62645d0ab1012df8ad15b74000ef7e30c377aaa # timeout=10 08:17:04 > git rev-parse HEAD^{commit} # timeout=10 08:17:04 > git config core.sparsecheckout # timeout=10 08:17:04 > git checkout -f dd0b196889d4fd430a5007e633b91b3603e9182d # timeout=10 08:17:08 Commit message: "refactor: Replace use of BurntSushi/toml with pelletier/go-toml" 08:17:08 > git --version # timeout=10 08:17:08 > git --version # 'git version 2.24.3' 08:17:08 fatal: bad object 57ded3389ef25720063a8030e5c426a6b7ea5b20 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 08:17:09 + sudo jq '. + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false}' /etc/docker/daemon.json [Pipeline] sh 08:17:09 + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh 08:17:10 + true 08:17:10 + sudo service docker restart 08:17:10 Redirecting to /bin/systemctl restart docker.service [Pipeline] withEnv [Pipeline] { [Pipeline] wrap 08:17:11 provisioning config files... 08:17:11 copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/1@tmp/config3738384201863858082tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 08:17:12 ---> docker-login.sh 08:17:12 nexus3.edgexfoundry.org:10001 08:17:12 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 08:17:12 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 08:17:12 Configure a credential helper to remove this warning. See 08:17:12 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 08:17:12 08:17:12 Login Succeeded 08:17:12 nexus3.edgexfoundry.org:10002 08:17:12 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 08:17:12 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 08:17:12 Configure a credential helper to remove this warning. See 08:17:12 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 08:17:12 08:17:12 Login Succeeded 08:17:12 nexus3.edgexfoundry.org:10003 08:17:12 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 08:17:12 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 08:17:12 Configure a credential helper to remove this warning. See 08:17:12 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 08:17:12 08:17:12 Login Succeeded 08:17:12 nexus3.edgexfoundry.org:10004 08:17:12 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 08:17:13 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 08:17:13 Configure a credential helper to remove this warning. See 08:17:13 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 08:17:13 08:17:13 Login Succeeded 08:17:13 docker.io 08:17:13 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 08:17:13 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 08:17:13 Configure a credential helper to remove this warning. See 08:17:13 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 08:17:13 08:17:13 Login Succeeded 08:17:13 ---> docker-login.sh ends [Pipeline] } 08:17:13 Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 08:17:13 ========================================================= 08:17:13 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine] 08:17:13 ========================================================= [Pipeline] isUnix [Pipeline] sh 08:17:14 + docker build -t ci-base-image-x86_64 -f Dockerfile.build --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine . 08:17:14 Sending build context to Docker daemon 2.422MB 08:17:14 Step 1/8 : ARG BASE=golang:1.15-alpine3.12 08:17:14 Step 2/8 : FROM ${BASE} 08:17:14 1.15-alpine: Pulling from edgex-devops/edgex-golang-base 08:17:14 188c0c94c7c5: Pulling fs layer 08:17:14 0ef7d3d256c8: Pulling fs layer 08:17:14 de9db76c5a1d: Pulling fs layer 08:17:14 bca2f99d35d6: Pulling fs layer 08:17:14 93359f2a8cfa: Pulling fs layer 08:17:14 7c6f9722023f: Pulling fs layer 08:17:14 a35cf1a2eb13: Pulling fs layer 08:17:14 93359f2a8cfa: Waiting 08:17:14 7c6f9722023f: Waiting 08:17:14 a35cf1a2eb13: Waiting 08:17:14 bca2f99d35d6: Waiting 08:17:14 0ef7d3d256c8: Verifying Checksum 08:17:14 0ef7d3d256c8: Download complete 08:17:14 de9db76c5a1d: Verifying Checksum 08:17:14 de9db76c5a1d: Download complete 08:17:14 93359f2a8cfa: Download complete 08:17:14 188c0c94c7c5: Verifying Checksum 08:17:14 188c0c94c7c5: Download complete 08:17:14 7c6f9722023f: Verifying Checksum 08:17:14 7c6f9722023f: Download complete 08:17:14 188c0c94c7c5: Pull complete 08:17:14 0ef7d3d256c8: Pull complete 08:17:15 de9db76c5a1d: Pull complete 08:17:15 a35cf1a2eb13: Verifying Checksum 08:17:15 a35cf1a2eb13: Download complete 08:17:16 bca2f99d35d6: Verifying Checksum 08:17:16 bca2f99d35d6: Download complete 08:17:23 bca2f99d35d6: Pull complete 08:17:23 93359f2a8cfa: Pull complete 08:17:23 7c6f9722023f: Pull complete 08:17:25 Removing intermediate container 3ec681f6baae 08:17:25 ---> 456d2b988267 08:17:25 Successfully built 456d2b988267 08:17:25 Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh 08:17:26 + docker inspect -f . ci-base-image-arm64 08:17:26 . [Pipeline] withDockerContainer 08:17:26 prd-ubuntu18.04-docker-arm64-4c-16g-80 does not seem to be running inside a container 08:17: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 ******** -e ******** -e ******** ci-base-image-arm64 cat 08:17:27 a35cf1a2eb13: Pull complete 08:17:27 Digest: sha256:47e1832254f01ad1d18e03a79677f1a8325b9c763402aad95be204d7d7715f46 08:17:27 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine 08:17:27 ---> a62c8e92a672 08:17:27 Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 08:17:27 ---> Running in eb106311b5e2 08:17:27 Removing intermediate container eb106311b5e2 08:17:27 ---> 0311271287d1 08:17:27 Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 08:17:27 ---> Running in 49d704202b52 08:17:28 $ docker top e0062a578d93ce8d4db3aaa27d88f00e436fe1444f96eece239c52db5378ea7b -eo pid,comm [Pipeline] { [Pipeline] sh 08:17:29 + go version 08:17:29 go version go1.15.5 linux/arm64 [Pipeline] } 08:17:29 $ docker stop --time=1 e0062a578d93ce8d4db3aaa27d88f00e436fe1444f96eece239c52db5378ea7b 08:17:29 Removing intermediate container 49d704202b52 08:17:29 ---> de92e88b691b 08:17:29 Step 5/8 : RUN apk add --update --no-cache make git gcc libc-dev libsodium-dev zeromq-dev 08:17:29 ---> Running in 9aa7074e42bb 08:17:30 fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz 08:17:30 fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz 08:17:31 $ docker rm -f e0062a578d93ce8d4db3aaa27d88f00e436fe1444f96eece239c52db5378ea7b 08:17:31 (1/6) Installing libc-dev (0.7.2-r3) 08:17:31 (2/6) Installing libsodium (1.0.18-r0) 08:17:31 (3/6) Installing pkgconf (1.7.2-r0) [Pipeline] // withDockerContainer [Pipeline] } 08:17:31 (4/6) Installing libsodium-dev (1.0.18-r0) 08:17:31 (5/6) Installing libzmq (4.3.3-r0) 08:17:31 (6/6) Installing zeromq-dev (4.3.3-r0) [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { 08:17:32 Executing busybox-1.31.1-r19.trigger 08:17:32 OK: 167 MiB in 45 packages [Pipeline] isUnix [Pipeline] sh 08:17:32 + docker inspect -f . ci-base-image-arm64 08:17:32 . [Pipeline] withDockerContainer 08:17:32 Removing intermediate container 9aa7074e42bb 08:17:32 ---> cf027af28ec4 08:17:32 Step 6/8 : WORKDIR /device-sdk-go 08:17:32 ---> Running in 9568695231c3 08:17:32 prd-ubuntu18.04-docker-arm64-4c-16g-80 does not seem to be running inside a container 08:17:32 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/1 -v /w/workspace/device-sdk-go/1:/w/workspace/device-sdk-go/1:rw,z -v /w/workspace/device-sdk-go/1@tmp:/w/workspace/device-sdk-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 08:17:32 Removing intermediate container 9568695231c3 08:17:32 ---> fdbb4efe135c 08:17:32 Step 7/8 : COPY . . 08:17:34 ---> 46024407f25a 08:17:34 Step 8/8 : RUN go mod download 08:17:34 ---> Running in 6ac1f04fc3db 08:17:34 $ docker top 766c5c5a45744fd75777a4c489cee4fcd5dcb4d19a8dfbf8140ca8b89c8adbe4 -eo pid,comm [Pipeline] { [Pipeline] sh 08:17:35 + make test 08:17:35 GO111MODULE=on go test -race -coverprofile=coverage.out ./... 08:17:56 Removing intermediate container 6ac1f04fc3db 08:17:56 ---> 631ec5a19428 08:17:56 Successfully built 631ec5a19428 08:17:56 Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh 08:17:56 + docker inspect -f . ci-base-image-x86_64 08:17:56 . [Pipeline] withDockerContainer 08:17:56 prd-centos7-docker-4c-2g-81 does not seem to be running inside a container 08:17:56 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/1 -v /w/workspace/device-sdk-go/1:/w/workspace/device-sdk-go/1:rw,z -v /w/workspace/device-sdk-go/1@tmp:/w/workspace/device-sdk-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 08:17:57 ? github.com/edgexfoundry/device-sdk-go/v2 [no test files] 08:17:57 $ docker top a73aa2ba9b23a21bfafbc2494abc35bd9b1f7e95bd611ebc5e60ceeeabc003e0 -eo pid,comm [Pipeline] { [Pipeline] sh 08:17:58 + go version 08:17:58 go version go1.15.5 linux/amd64 [Pipeline] } 08:17:58 $ docker stop --time=1 a73aa2ba9b23a21bfafbc2494abc35bd9b1f7e95bd611ebc5e60ceeeabc003e0 08:17:59 $ docker rm -f a73aa2ba9b23a21bfafbc2494abc35bd9b1f7e95bd611ebc5e60ceeeabc003e0 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 08:18:00 + docker inspect -f . ci-base-image-x86_64 08:18:00 . [Pipeline] withDockerContainer 08:18:00 prd-centos7-docker-4c-2g-81 does not seem to be running inside a container 08:18:00 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/1 -v /w/workspace/device-sdk-go/1:/w/workspace/device-sdk-go/1:rw,z -v /w/workspace/device-sdk-go/1@tmp:/w/workspace/device-sdk-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 08:18:01 $ docker top b9d109d26c4ec2d39f19635b645189ebae761aa65f394f56797cd84f09310a93 -eo pid,comm [Pipeline] { [Pipeline] sh 08:18:01 + make test 08:18:01 GO111MODULE=on go test -race -coverprofile=coverage.out ./... 08:18:10 ? github.com/edgexfoundry/device-sdk-go/v2 [no test files] 08:18:28 ? github.com/edgexfoundry/device-sdk-go/v2/example/cmd/device-simple [no test files] 08:18:28 ? github.com/edgexfoundry/device-sdk-go/v2/example/config [no test files] 08:18:28 ? github.com/edgexfoundry/device-sdk-go/v2/example/driver [no test files] 08:18:28 ? github.com/edgexfoundry/device-sdk-go/v2/internal/application [no test files] 08:18:28 ? github.com/edgexfoundry/device-sdk-go/v2/internal/autodiscovery [no test files] 08:18:32 ok github.com/edgexfoundry/device-sdk-go/v2/internal/autoevent 0.084s coverage: 28.1% of statements 08:18:32 ok github.com/edgexfoundry/device-sdk-go/v2/internal/cache 0.082s coverage: 78.9% of statements 08:18:33 ok github.com/edgexfoundry/device-sdk-go/v2/internal/clients 1.071s coverage: 7.8% of statements 08:18:33 ? github.com/edgexfoundry/device-sdk-go/v2/internal/common [no test files] 08:18:33 ? github.com/edgexfoundry/device-sdk-go/v2/internal/config [no test files] 08:18:33 ? github.com/edgexfoundry/device-sdk-go/v2/internal/container [no test files] 08:18:33 ok github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http 0.092s coverage: 32.5% of statements 08:18:33 ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http/correlation [no test files] 08:18:33 ? github.com/edgexfoundry/device-sdk-go/v2/internal/provision [no test files] 08:18:33 ? github.com/edgexfoundry/device-sdk-go/v2/internal/telemetry [no test files] 08:18:34 ok github.com/edgexfoundry/device-sdk-go/v2/internal/transformer 0.129s coverage: 57.1% of statements 08:18:34 ok github.com/edgexfoundry/device-sdk-go/v2/pkg/models 1.231s coverage: 6.6% of statements 08:18:35 ok github.com/edgexfoundry/device-sdk-go/v2/pkg/service 0.058s coverage: 5.0% of statements 08:18:35 ? github.com/edgexfoundry/device-sdk-go/v2/pkg/startup [no test files] 08:18:35 GO111MODULE=on go vet ./... 08:18:53 gofmt -l . 08:18:53 [ "`gofmt -l .`" = "" ] 08:18:53 ./bin/test-attribution-txt.sh 08:18:53 ./bin/test-go-mod-tidy.sh [Pipeline] } 08:18:53 $ docker stop --time=1 b9d109d26c4ec2d39f19635b645189ebae761aa65f394f56797cd84f09310a93 08:18:54 ? github.com/edgexfoundry/device-sdk-go/v2/example/cmd/device-simple [no test files] 08:18:54 ? github.com/edgexfoundry/device-sdk-go/v2/example/config [no test files] 08:18:54 ? github.com/edgexfoundry/device-sdk-go/v2/example/driver [no test files] 08:18:54 ? github.com/edgexfoundry/device-sdk-go/v2/internal/application [no test files] 08:18:54 ? github.com/edgexfoundry/device-sdk-go/v2/internal/autodiscovery [no test files] 08:18:56 $ docker rm -f b9d109d26c4ec2d39f19635b645189ebae761aa65f394f56797cd84f09310a93 [Pipeline] // withDockerContainer [Pipeline] sh 08:18:56 + sudo chown -R jenkins:jenkins . [Pipeline] stash 08:18:56 ok github.com/edgexfoundry/device-sdk-go/v2/internal/autoevent 0.179s coverage: 28.1% of statements 08:18:57 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) 08:18:58 ok github.com/edgexfoundry/device-sdk-go/v2/internal/cache 0.159s coverage: 78.9% of statements 08:18:58 ok github.com/edgexfoundry/device-sdk-go/v2/internal/clients 1.192s coverage: 7.8% of statements 08:18:58 ? github.com/edgexfoundry/device-sdk-go/v2/internal/common [no test files] 08:18:58 ? github.com/edgexfoundry/device-sdk-go/v2/internal/config [no test files] 08:18:58 ? github.com/edgexfoundry/device-sdk-go/v2/internal/container [no test files] [Pipeline] sh 08:19:00 + sudo chown -R jenkins:jenkins . [Pipeline] sh 08:19:00 ok github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http 0.270s coverage: 32.5% of statements 08:19:00 ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http/correlation [no test files] 08:19:00 ? github.com/edgexfoundry/device-sdk-go/v2/internal/provision [no test files] 08:19:00 ? github.com/edgexfoundry/device-sdk-go/v2/internal/telemetry [no test files] 08:19:00 + ls -al . 08:19:00 total 188 08:19:00 drwxrwxr-x. 10 jenkins jenkins 4096 Apr 14 08:18 . 08:19:00 drwxrwxr-x. 4 jenkins jenkins 28 Apr 14 08:17 .. 08:19:00 drwxrwxr-x. 2 jenkins jenkins 64 Apr 14 08:17 bin 08:19:00 -rw-r--r--. 1 jenkins jenkins 99750 Apr 14 08:18 coverage.out 08:19:00 -rw-rw-r--. 1 jenkins jenkins 987 Apr 14 08:17 Dockerfile.build 08:19:00 -rw-rw-r--. 1 jenkins jenkins 140 Apr 14 08:17 .dockerignore 08:19:00 drwxrwxr-x. 5 jenkins jenkins 62 Apr 14 08:17 example 08:19:00 drwxrwxr-x. 8 jenkins jenkins 179 Apr 14 08:17 .git 08:19:00 drwxrwxr-x. 2 jenkins jenkins 103 Apr 14 08:17 .github 08:19:00 -rw-rw-r--. 1 jenkins jenkins 138 Apr 14 08:17 .gitignore 08:19:00 -rw-r--r--. 1 jenkins jenkins 574 Apr 14 08:18 go.mod 08:19:00 -rw-r--r--. 1 jenkins jenkins 20735 Apr 14 08:18 go.sum 08:19:00 drwxrwxr-x. 14 jenkins jenkins 207 Apr 14 08:17 internal 08:19:00 -rw-rw-r--. 1 jenkins jenkins 901 Apr 14 08:17 Jenkinsfile 08:19:00 -rw-rw-r--. 1 jenkins jenkins 11341 Apr 14 08:17 LICENSE 08:19:00 -rw-rw-r--. 1 jenkins jenkins 1022 Apr 14 08:17 Makefile 08:19:00 drwxrwxr-x. 4 jenkins jenkins 26 Apr 14 08:17 openapi 08:19:00 drwxrwxr-x. 5 jenkins jenkins 50 Apr 14 08:17 pkg 08:19:00 -rw-rw-r--. 1 jenkins jenkins 5897 Apr 14 08:17 README.md 08:19:00 -rw-rw-r--. 1 jenkins jenkins 6616 Apr 14 08:17 RELEASE-NOTES.txt 08:19:00 drwxrwxr-x. 4 jenkins jenkins 54 Apr 14 08:17 snap 08:19:00 -rw-rw-r--. 1 jenkins jenkins 5 Apr 14 08:13 VERSION 08:19:00 -rw-rw-r--. 1 jenkins jenkins 222 Apr 14 08:17 version.go [Pipeline] isUnix [Pipeline] sh 08:19:00 + 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=dd0b196889d4fd430a5007e633b91b3603e9182d --label arch=amd64 --label version=0.0.0 . 08:19:01 Sending build context to Docker daemon 2.523MB 08:19:01 Step 1/23 : ARG BASE=golang:1.15-alpine3.12 08:19:01 Step 2/23 : FROM ${BASE} AS builder 08:19:01 ---> 631ec5a19428 08:19:01 Step 3/23 : WORKDIR /device-sdk-go 08:19:01 ---> Running in a8208e3f447d 08:19:01 Removing intermediate container a8208e3f447d 08:19:01 ---> 501d70d8a376 08:19:01 Step 4/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 08:19:01 ---> Running in 65efae4f5abf 08:19:02 Removing intermediate container 65efae4f5abf 08:19:02 ---> 27e2d7616437 08:19:02 Step 5/23 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 08:19:02 ---> Running in d82cc83ef893 08:19:03 Removing intermediate container d82cc83ef893 08:19:03 ---> d88c2393280c 08:19:03 Step 6/23 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev 08:19:03 ---> Running in 72cccebd9ec6 08:19:03 fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz 08:19:03 ok github.com/edgexfoundry/device-sdk-go/v2/internal/transformer 0.296s coverage: 57.1% of statements 08:19:03 ok github.com/edgexfoundry/device-sdk-go/v2/pkg/models 3.187s coverage: 6.6% of statements 08:19:03 ok github.com/edgexfoundry/device-sdk-go/v2/pkg/service 0.148s coverage: 5.0% of statements 08:19:03 ? github.com/edgexfoundry/device-sdk-go/v2/pkg/startup [no test files] 08:19:03 GO111MODULE=on go vet ./... 08:19:04 fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz 08:19:04 OK: 167 MiB in 45 packages 08:19:05 Removing intermediate container 72cccebd9ec6 08:19:05 ---> a2756562f052 08:19:05 Step 7/23 : COPY . . 08:19:06 ---> 167230cd02c7 08:19:06 Step 8/23 : RUN go mod download 08:19:06 ---> Running in cee744ab652b 08:19:07 Removing intermediate container cee744ab652b 08:19:07 ---> 56e7935788f1 08:19:07 Step 9/23 : RUN make build 08:19:07 ---> Running in 2ddc6512a2c8 08:19:08 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 08:19:20 CGO_ENABLED=1 GO111MODULE=on go install -tags=safe 08:19:20 Removing intermediate container 2ddc6512a2c8 08:19:20 ---> 228e93c402b0 08:19:20 Step 10/23 : FROM alpine:3.12 08:19:21 3.12: Pulling from library/alpine 08:19:21 532819f3e44c: Pulling fs layer 08:19:21 532819f3e44c: Verifying Checksum 08:19:21 532819f3e44c: Download complete 08:19:21 532819f3e44c: Pull complete 08:19:21 Digest: sha256:834e9309b5ef0f78d8d20ef0652e7b0272fe97b5baf45720e1b830eaf013cc1b 08:19:21 Status: Downloaded newer image for alpine:3.12 08:19:21 ---> 7230e588e954 08:19:21 Step 11/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 08:19:21 ---> Running in f05f283fc70b 08:19:22 Removing intermediate container f05f283fc70b 08:19:22 ---> 3dc90d670784 08:19:22 Step 12/23 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 08:19:22 ---> Running in dd00078cd162 08:19:23 Removing intermediate container dd00078cd162 08:19:23 ---> 3e81e47b7b6b 08:19:23 Step 13/23 : RUN apk add --update --no-cache zeromq 08:19:23 ---> Running in bda1cdac2b46 08:19:23 fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz 08:19:24 fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz 08:19:24 (1/5) Installing libgcc (9.3.0-r2) 08:19:24 (2/5) Installing libsodium (1.0.18-r0) 08:19:25 (3/5) Installing libstdc++ (9.3.0-r2) 08:19:25 (4/5) Installing libzmq (4.3.3-r0) 08:19:25 (5/5) Installing zeromq (4.3.3-r0) 08:19:25 Executing busybox-1.31.1-r20.trigger 08:19:25 OK: 8 MiB in 19 packages 08:19:26 Removing intermediate container bda1cdac2b46 08:19:26 ---> 22e33d84b9c8 08:19:26 Step 14/23 : WORKDIR / 08:19:26 ---> Running in ef915bbfbbc1 08:19:26 Removing intermediate container ef915bbfbbc1 08:19:26 ---> 27688b6ec251 08:19:26 Step 15/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt 08:19:27 ---> 42533d92b02f 08:19:27 Step 16/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple 08:19:27 ---> 493c0a614227 08:19:27 Step 17/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res 08:19:27 ---> c14cff90055f 08:19:27 Step 18/23 : EXPOSE 49990 08:19:27 ---> Running in cbe86f285f91 08:19:28 Removing intermediate container cbe86f285f91 08:19:28 ---> b12fb9bd9f9b 08:19:28 Step 19/23 : ENTRYPOINT ["/device-simple"] 08:19:28 ---> Running in f16a47aeba02 08:19:28 Removing intermediate container f16a47aeba02 08:19:28 ---> 429a75170e3c 08:19:28 Step 20/23 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] 08:19:28 ---> Running in 7ab6cd8936b6 08:19:28 Removing intermediate container 7ab6cd8936b6 08:19:28 ---> e866f6f6e807 08:19:28 Step 21/23 : LABEL arch=amd64 08:19:28 ---> Running in 6f922dafdd13 08:19:28 Removing intermediate container 6f922dafdd13 08:19:28 ---> f20051de0b91 08:19:28 Step 22/23 : LABEL git_sha=dd0b196889d4fd430a5007e633b91b3603e9182d 08:19:28 ---> Running in 36da40068a08 08:19:28 Removing intermediate container 36da40068a08 08:19:28 ---> c315ff9c1ea7 08:19:28 Step 23/23 : LABEL version=0.0.0 08:19:29 ---> Running in 49b69c6c7b5b 08:19:29 Removing intermediate container 49b69c6c7b5b 08:19:29 ---> ea62df62bb58 08:19:29 [Warning] One or more build-args [ARCH MAKE] were not consumed 08:19:29 Successfully built ea62df62bb58 08:19:29 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 08:19:30 ---> job-cost.sh 08:19:30 lf-activate-venv(): INFO: Creating python3 venv at /tmp/venv-QxE8 08:19:45 lf-activate-venv(): INFO: Installing: zipp==1.1.0 python-openstackclient 08:19:50 gofmt -l . 08:19:50 [ "`gofmt -l .`" = "" ] 08:19:50 ./bin/test-attribution-txt.sh 08:19:50 ./bin/test-go-mod-tidy.sh [Pipeline] } 08:19:50 $ docker stop --time=1 766c5c5a45744fd75777a4c489cee4fcd5dcb4d19a8dfbf8140ca8b89c8adbe4 08:19:53 $ docker rm -f 766c5c5a45744fd75777a4c489cee4fcd5dcb4d19a8dfbf8140ca8b89c8adbe4 [Pipeline] // withDockerContainer [Pipeline] sh 08:19:54 + sudo chown -R jenkins:jenkins . [Pipeline] stash 08:19:54 Warning: overwriting stash ‘coverage-report’ 08:19:55 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 08:19:56 + sudo chown -R jenkins:jenkins . [Pipeline] sh 08:19:56 + ls -al . 08:19:56 total 224 08:19:56 drwxrwxr-x 10 jenkins jenkins 4096 Apr 14 08:19 . 08:19:56 drwxrwxr-x 4 jenkins jenkins 4096 Apr 14 08:16 .. 08:19:56 -rw-rw-r-- 1 jenkins jenkins 140 Apr 14 08:16 .dockerignore 08:19:56 drwxrwxr-x 8 jenkins jenkins 4096 Apr 14 08:16 .git 08:19:56 drwxrwxr-x 2 jenkins jenkins 4096 Apr 14 08:16 .github 08:19:56 -rw-rw-r-- 1 jenkins jenkins 138 Apr 14 08:16 .gitignore 08:19:56 -rw-rw-r-- 1 jenkins jenkins 987 Apr 14 08:16 Dockerfile.build 08:19:56 -rw-rw-r-- 1 jenkins jenkins 901 Apr 14 08:16 Jenkinsfile 08:19:56 -rw-rw-r-- 1 jenkins jenkins 11341 Apr 14 08:16 LICENSE 08:19:56 -rw-rw-r-- 1 jenkins jenkins 1022 Apr 14 08:16 Makefile 08:19:56 -rw-rw-r-- 1 jenkins jenkins 5897 Apr 14 08:16 README.md 08:19:56 -rw-rw-r-- 1 jenkins jenkins 6616 Apr 14 08:16 RELEASE-NOTES.txt 08:19:56 -rw-rw-r-- 1 jenkins jenkins 5 Apr 14 08:13 VERSION 08:19:56 drwxrwxr-x 2 jenkins jenkins 4096 Apr 14 08:16 bin 08:19:56 -rw-r--r-- 1 jenkins jenkins 99751 Apr 14 08:19 coverage.out 08:19:56 drwxrwxr-x 5 jenkins jenkins 4096 Apr 14 08:16 example 08:19:56 -rw-r--r-- 1 jenkins jenkins 574 Apr 14 08:19 go.mod 08:19:56 -rw-r--r-- 1 jenkins jenkins 20735 Apr 14 08:19 go.sum 08:19:56 drwxrwxr-x 14 jenkins jenkins 4096 Apr 14 08:16 internal 08:19:56 drwxrwxr-x 4 jenkins jenkins 4096 Apr 14 08:16 openapi 08:19:56 drwxrwxr-x 5 jenkins jenkins 4096 Apr 14 08:16 pkg 08:19:56 drwxrwxr-x 4 jenkins jenkins 4096 Apr 14 08:16 snap 08:19:56 -rw-rw-r-- 1 jenkins jenkins 222 Apr 14 08:16 version.go [Pipeline] isUnix [Pipeline] sh 08:19:56 + 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=dd0b196889d4fd430a5007e633b91b3603e9182d --label arch=arm64 --label version=0.0.0 . 08:19:57 Sending build context to Docker daemon 2.522MB 08:19:57 Step 1/23 : ARG BASE=golang:1.15-alpine3.12 08:19:57 Step 2/23 : FROM ${BASE} AS builder 08:19:57 ---> 456d2b988267 08:19:57 Step 3/23 : WORKDIR /device-sdk-go 08:19:57 ---> Running in fda60ca64329 08:19:58 Removing intermediate container fda60ca64329 08:19:58 ---> 81a8c636f3ff 08:19:58 Step 4/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 08:19:58 ---> Running in c327d74aea77 08:19:58 Removing intermediate container c327d74aea77 08:19:58 ---> 02613dd529b6 08:19:58 Step 5/23 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 08:19:58 ---> Running in 30b94e75dfa4 08:20:00 Removing intermediate container 30b94e75dfa4 08:20:00 ---> a3742e64ae74 08:20:00 Step 6/23 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev 08:20:01 ---> Running in 1cf0b77ca0f4 08:20:02 fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz 08:20:03 fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz 08:20:03 OK: 144 MiB in 45 packages 08:20:04 Removing intermediate container 1cf0b77ca0f4 08:20:04 ---> e2c4fd4f7846 08:20:04 Step 7/23 : COPY . . 08:20:06 ---> 81fc20c4430d 08:20:06 Step 8/23 : RUN go mod download 08:20:06 ---> Running in a08a00ed5ab5 08:20:08 Removing intermediate container a08a00ed5ab5 08:20:08 ---> 06668d52931e 08:20:08 Step 9/23 : RUN make build 08:20:08 ---> Running in 7a1dd00e1d64 08:20:09 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 08:20:12 lf-activate-venv(): INFO: Adding /tmp/venv-QxE8/bin to PATH 08:20:12 INFO: No Stack... 08:20:13 INFO: Retrieving Pricing Info for: v1-standard-2 08:20:14 INFO: Archiving Costs [Pipeline] sh 08:20:14 + cat /w/workspace/device-sdk-go/1/archives/cost.csv 08:20:14 + cut -d, -f6 [Pipeline] lock 08:20:14 Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-PR-879-1-stack-cost] 08:20:14 Resource [jenkins-edgexfoundry-device-sdk-go-PR-879-1-stack-cost] did not exist. Created. 08:20:14 Lock acquired on [jenkins-edgexfoundry-device-sdk-go-PR-879-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 08:20:14 + echo total: 0.029999999329447746 [Pipeline] stash 08:20:14 Stashed 1 file(s) [Pipeline] } 08:20:15 Lock released on resource [jenkins-edgexfoundry-device-sdk-go-PR-879-1-stack-cost] [Pipeline] // lock [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } 08:20:41 CGO_ENABLED=1 GO111MODULE=on go install -tags=safe 08:20:46 Removing intermediate container 7a1dd00e1d64 08:20:46 ---> 2af08b59c24f 08:20:46 Step 10/23 : FROM alpine:3.12 08:20:46 3.12: Pulling from library/alpine 08:20:47 9a219e8acc52: Pulling fs layer 08:20:48 9a219e8acc52: Verifying Checksum 08:20:48 9a219e8acc52: Download complete 08:20:48 9a219e8acc52: Pull complete 08:20:48 Digest: sha256:834e9309b5ef0f78d8d20ef0652e7b0272fe97b5baf45720e1b830eaf013cc1b 08:20:48 Status: Downloaded newer image for alpine:3.12 08:20:48 ---> d75e27dfc0a0 08:20:48 Step 11/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 08:20:49 ---> Running in 2ff1793b7c30 08:20:49 Removing intermediate container 2ff1793b7c30 08:20:49 ---> 172442c9707f 08:20:49 Step 12/23 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 08:20:49 ---> Running in 94a2db3e4910 08:20:51 Removing intermediate container 94a2db3e4910 08:20:51 ---> e508e99b2f94 08:20:51 Step 13/23 : RUN apk add --update --no-cache zeromq 08:20:51 ---> Running in 3574b8471db2 08:20:52 fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz 08:20:53 fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz 08:20:54 (1/5) Installing libgcc (9.3.0-r2) 08:20:54 (2/5) Installing libsodium (1.0.18-r0) 08:20:54 (3/5) Installing libstdc++ (9.3.0-r2) 08:20:54 (4/5) Installing libzmq (4.3.3-r0) 08:20:54 (5/5) Installing zeromq (4.3.3-r0) 08:20:54 Executing busybox-1.31.1-r20.trigger 08:20:54 OK: 8 MiB in 19 packages 08:20:56 Removing intermediate container 3574b8471db2 08:20:56 ---> d2e4ad65ed35 08:20:56 Step 14/23 : WORKDIR / 08:20:56 ---> Running in a9cf9d4652fd 08:20:56 Removing intermediate container a9cf9d4652fd 08:20:56 ---> 204a32529811 08:20:56 Step 15/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt 08:20:57 ---> 86e436339e14 08:20:57 Step 16/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple 08:20:58 ---> 0cd8d48a53b4 08:20:58 Step 17/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res 08:20:59 ---> 7dc64b90b4f9 08:20:59 Step 18/23 : EXPOSE 49990 08:20:59 ---> Running in 09edb5a8efd7 08:21:00 Removing intermediate container 09edb5a8efd7 08:21:00 ---> cb1687120c20 08:21:00 Step 19/23 : ENTRYPOINT ["/device-simple"] 08:21:00 ---> Running in f1c12729c4cf 08:21:00 Removing intermediate container f1c12729c4cf 08:21:00 ---> cc4ea29ba26d 08:21:00 Step 20/23 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] 08:21:00 ---> Running in c58f5a55c011 08:21:01 Removing intermediate container c58f5a55c011 08:21:01 ---> 401a1420264e 08:21:01 Step 21/23 : LABEL arch=arm64 08:21:01 ---> Running in fea2c9da7c68 08:21:01 Removing intermediate container fea2c9da7c68 08:21:01 ---> 303fb08206a6 08:21:01 Step 22/23 : LABEL git_sha=dd0b196889d4fd430a5007e633b91b3603e9182d 08:21:02 ---> Running in e5290d2fca00 08:21:02 Removing intermediate container e5290d2fca00 08:21:02 ---> 3d660bb15a1d 08:21:02 Step 23/23 : LABEL version=0.0.0 08:21:02 ---> Running in b34fdfb444a5 08:21:03 Removing intermediate container b34fdfb444a5 08:21:03 ---> 282d5537b22d 08:21:03 [Warning] One or more build-args [MAKE ARCH] were not consumed 08:21:03 Successfully built 282d5537b22d 08:21:03 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 08:21:04 ---> job-cost.sh 08:21:04 lf-activate-venv(): INFO: Creating python3 venv at /tmp/venv-mJDs 08:21:43 lf-activate-venv(): INFO: Installing: zipp==1.1.0 python-openstackclient 08:23:19 lf-activate-venv(): INFO: Adding /tmp/venv-mJDs/bin to PATH 08:23:19 INFO: No Stack... 08:23:19 INFO: Retrieving Pricing Info for: lf-standard-4 08:23:19 INFO: Archiving Costs [Pipeline] sh 08:23:20 + + cat /w/workspace/device-sdk-go/1/archives/cost.csv 08:23:20 cut -d, -f6 [Pipeline] lock 08:23:20 Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-PR-879-1-stack-cost] 08:23:20 Resource [jenkins-edgexfoundry-device-sdk-go-PR-879-1-stack-cost] did not exist. Created. 08:23:20 Lock acquired on [jenkins-edgexfoundry-device-sdk-go-PR-879-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 08:23:20 /w/workspace/device-sdk-go/1@tmp/durable-d7fe5bb9/script.sh: 1: /w/workspace/device-sdk-go/1@tmp/durable-d7fe5bb9/script.sh: Syntax error: Unterminated quoted string [Pipeline] sh 08:23:21 + echo total: 0.20999999344348907 [Pipeline] stash 08:23:21 Warning: overwriting stash ‘stack-cost’ 08:23:21 Stashed 1 file(s) [Pipeline] } 08:23:21 Lock released on resource [jenkins-edgexfoundry-device-sdk-go-PR-879-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 08:23:22 provisioning config files... 08:23:22 copy managed file [device-sdk-go-codecov-token] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-879@tmp/config7091272760636877618tmp [Pipeline] { [Pipeline] sh 08:23:22 + set +x 08:23:22 + curl -s https://codecov.io/bash 08:23:22 + bash -s -- 08:23:22 08:23:22 _____ _ 08:23:22 / ____| | | 08:23:22 | | ___ __| | ___ ___ _____ __ 08:23:22 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 08:23:22 | |___| (_) | (_| | __/ (_| (_) \ V / 08:23:22 \_____\___/ \__,_|\___|\___\___/ \_/ 08:23:22 Bash-1.0.1 08:23:22 08:23:22 08:23:22 ==> git version 2.24.3 found 08:23: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 08:23:22 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtsp scp sftp smtp smtps telnet tftp 08:23:22 Features: AsynchDNS GSS-Negotiate IDN IPv6 Largefile NTLM NTLM_WB SSL libz unix-sockets 08:23:22 ==> Jenkins CI detected. 08:23:22 project root: . 08:23:22 --> token set from env 08:23:22 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 08:23:22 ==> Running gcov in . (disable via -X gcov) 08:23:22 ==> Python coveragepy not found 08:23:22 ==> Searching for coverage reports in: 08:23:22 + . 08:23:22 -> Found 1 reports 08:23:22 ==> Detecting git/mercurial file structure 08:23:22 ==> Reading reports 08:23:22 + ./coverage.out bytes=99751 08:23:22 ==> Appending adjustments 08:23:22 https://docs.codecov.io/docs/fixing-reports 08:23:23 + Found adjustments 08:23:23 ==> Gzipping contents 08:23:23 16K /tmp/codecov.QabDDj.gz 08:23:23 ==> Uploading reports 08:23:23 url: https://codecov.io 08:23:23 query: branch=PR-879&commit=dd0b196889d4fd430a5007e633b91b3603e9182d&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-879%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=879&job=&cmd_args= 08:23:23 -> Pinging Codecov 08:23:23 https://codecov.io/upload/v4?package=bash-1.0.1&token=secret&branch=PR-879&commit=dd0b196889d4fd430a5007e633b91b3603e9182d&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-879%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=879&job=&cmd_args= 08:23:23 -> Uploading to 08:23:23 https://storage.googleapis.com/codecov/v4/raw/2021-04-14/7E55EF52A471D76F132DFD9A03CDDE97/dd0b196889d4fd430a5007e633b91b3603e9182d/b02559ec-7f43-4164-865c-1a54c3dd096a.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EQM3VGPYSAFECJRMNAFIPCV2R3P2BOORCJC7NM537NPJQSFLHUDNIDWA%2F20210414%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20210414T082323Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=4604d3394de7dbc1f84a6e6e599aa9f2007c4f2645808545ce401cc9326ff68e 08:23:23 % Total % Received % Xferd Average Speed Time Time Time Current 08:23:23 Dload Upload Total Spent Left Speed 08:23:24 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 13488 0 0 100 13488 0 35621 --:--:-- --:--:-- --:--:-- 35588 08:23:24 -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/device-sdk-go/commit/dd0b196889d4fd430a5007e633b91b3603e9182d [Pipeline] } 08:23: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 08:23:26 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 08:23:27 ---> package-listing.sh 08:23:27 ++ facter osfamily 08:23:27 ++ tr '[:upper:]' '[:lower:]' 08:23:27 + OS_FAMILY=redhat 08:23:27 + workspace=/w/workspace/dgexfoundry_device-sdk-go_PR-879 08:23:27 + START_PACKAGES=/tmp/packages_start.txt 08:23:27 + END_PACKAGES=/tmp/packages_end.txt 08:23:27 + DIFF_PACKAGES=/tmp/packages_diff.txt 08:23:27 + PACKAGES=/tmp/packages_start.txt 08:23:27 + '[' /w/workspace/dgexfoundry_device-sdk-go_PR-879 ']' 08:23:27 + PACKAGES=/tmp/packages_end.txt 08:23:27 + case "${OS_FAMILY}" in 08:23:27 + rpm -qa 08:23:27 + sort 08:23:31 + '[' -f /tmp/packages_start.txt ']' 08:23:31 + '[' -f /tmp/packages_end.txt ']' 08:23:31 + diff /tmp/packages_start.txt /tmp/packages_end.txt 08:23:31 + '[' /w/workspace/dgexfoundry_device-sdk-go_PR-879 ']' 08:23:31 + mkdir -p /w/workspace/dgexfoundry_device-sdk-go_PR-879/archives/ 08:23:31 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/dgexfoundry_device-sdk-go_PR-879/archives/ [Pipeline] echo 08:23:31 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-879/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 08:23:31 + facter operatingsystem [Pipeline] isUnix [Pipeline] sh 08:23:31 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 08:23:31 08:23:31 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh 08:23:32 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 08:23:32 alpine: Pulling from edgex-lftools-log-publisher 08:23:32 df20fa9351a1: Pulling fs layer 08:23:32 36b3adc4ff6f: Pulling fs layer 08:23:32 8ad3a11d3b57: Pulling fs layer 08:23:32 46f8f816bc3b: Pulling fs layer 08:23:32 93b61091891f: Pulling fs layer 08:23:32 93b9cdb0e59b: Pulling fs layer 08:23:32 5e14af77c1be: Pulling fs layer 08:23:32 01666e4c0597: Pulling fs layer 08:23:32 aa168da1d23b: Pulling fs layer 08:23:32 46f8f816bc3b: Waiting 08:23:32 93b61091891f: Waiting 08:23:32 93b9cdb0e59b: Waiting 08:23:32 5e14af77c1be: Waiting 08:23:32 01666e4c0597: Waiting 08:23:32 aa168da1d23b: Waiting 08:23:32 36b3adc4ff6f: Verifying Checksum 08:23:32 36b3adc4ff6f: Download complete 08:23:32 46f8f816bc3b: Verifying Checksum 08:23:32 46f8f816bc3b: Download complete 08:23:32 df20fa9351a1: Verifying Checksum 08:23:32 df20fa9351a1: Download complete 08:23:32 93b9cdb0e59b: Verifying Checksum 08:23:32 93b9cdb0e59b: Download complete 08:23:32 93b61091891f: Download complete 08:23:32 5e14af77c1be: Verifying Checksum 08:23:32 5e14af77c1be: Download complete 08:23:32 01666e4c0597: Download complete 08:23:32 8ad3a11d3b57: Verifying Checksum 08:23:32 8ad3a11d3b57: Download complete 08:23:32 df20fa9351a1: Pull complete 08:23:32 36b3adc4ff6f: Pull complete 08:23:33 8ad3a11d3b57: Pull complete 08:23:33 46f8f816bc3b: Pull complete 08:23:34 aa168da1d23b: Verifying Checksum 08:23:34 aa168da1d23b: Download complete 08:23:34 93b61091891f: Pull complete 08:23:35 93b9cdb0e59b: Pull complete 08:23:35 5e14af77c1be: Pull complete 08:23:35 01666e4c0597: Pull complete 08:23:42 aa168da1d23b: Pull complete 08:23:42 Digest: sha256:ac41798234670a79351fc13b8232b4dbeccc6fb1f122f5db5169d11b1762ca7c 08:23:42 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 08:23:42 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer 08:23:42 prd-centos7-docker-4c-2g-79 does not seem to be running inside a container 08:23:42 $ 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-879/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-879 -v /w/workspace/dgexfoundry_device-sdk-go_PR-879:/w/workspace/dgexfoundry_device-sdk-go_PR-879:rw,z -v /w/workspace/dgexfoundry_device-sdk-go_PR-879@tmp:/w/workspace/dgexfoundry_device-sdk-go_PR-879@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine cat 08:23:45 $ docker top ff0ef38263c521178f7dc2b74703193ae8dff1f00ba198fd09219ac03bee2d4e -eo pid,comm [Pipeline] { [Pipeline] sh 08:23:45 + touch /tmp/pre-build-complete [Pipeline] sh 08:23:45 + mkdir -p /var/log/sa [Pipeline] sh 08:23:46 + ls /var/log/sa-host 08:23:46 + sadf -c /var/log/sa-host/sa14 08:23:46 file_magic: OK 08:23:46 HZ: Using current value: 100 08:23:46 file_header: OK 08:23:46 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 08:23:46 Statistics: 08:23:46 HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... 08:23:46 File successfully converted to sysstat format version 12.2.1 08:23:46 + sadf -c /var/log/sa-host/sa23 08:23:46 file_magic: OK 08:23:46 HZ: Using current value: 100 08:23:46 file_header: OK 08:23:46 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 08:23:46 Statistics: 08:23:46 Hnuu...uuuununununu... 08:23:46 File successfully converted to sysstat format version 12.2.1 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 08:23:46 provisioning config files... 08:23:46 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-879@tmp/config9080388083754062384tmp [Pipeline] { [Pipeline] echo 08:23:47 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 08:23:47 ---> create-netrc.sh [Pipeline] } 08:23:47 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] echo 08:23:47 Running shell/python-tools-install.sh [Pipeline] libraryResource [Pipeline] sh 08:23:47 ---> python-tools-install.sh [Pipeline] echo 08:23:47 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 08:23:48 ---> sudo-logs.sh 08:23:48 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 08:23:48 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 08:23:48 ---> job-cost.sh 08:23:48 lf-activate-venv: SKIPPING 08:23:48 DEBUG: total: 0.20999999344348907 08:23:48 INFO: Retrieving Stack Cost... 08:23:49 INFO: Retrieving Pricing Info for: v1-standard-2 08:23:50 INFO: Archiving Costs [Pipeline] echo 08:23:50 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 08:23:50 ---> logs-deploy.sh 08:23:50 lf-activate-venv: SKIPPING 08:23:50 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-879/1 08:23:50 INFO: archiving workspace using pattern(s): 08:23:52 Archives upload complete. 08:23:52 INFO: archiving logs to Nexus