Pull request #816 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 weichou1229 for edgexfoundry/device-sdk-go Loading trusted files from base branch master at 3a78cb9bf8b7553c4c832ded1e5b92bc4e1fc828 rather than afe37b68d0e09581a5b87c19efbb6e049d7ddff9 Obtained Jenkinsfile from 3a78cb9bf8b7553c4c832ded1e5b92bc4e1fc828 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 878f1b5bff316b9f7b5d8f8b1d22b752867b496c 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 878f1b5bff316b9f7b5d8f8b1d22b752867b496c 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-816/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 878f1b5bff316b9f7b5d8f8b1d22b752867b496c (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 878f1b5bff316b9f7b5d8f8b1d22b752867b496c # timeout=10 Commit message: "Merge pull request #321 from ernestojeda/email-fix-generateEmailTemplate" > 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-816/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 878f1b5bff316b9f7b5d8f8b1d22b752867b496c Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that shared library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-sdk-go, dockerImageName:docker-device-sdk-simple, dockerFilePath:example/cmd/device-simple/Dockerfile, pushImage:false, publishSwaggerDocs:true, swaggerApiFolders:[openapi/v1, openapi/v2]] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[centos7-docker-4c-2g, ubuntu18.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-sdk-go-settings PROJECT: device-sdk-go USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.15 GOPROXY: https://nexus3.edgexfoundry.org/repository/go-proxy/ DOCKER_BASE_IMAGE: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine DOCKER_FILE_PATH: example/cmd/device-simple/Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_IMAGE_NAME: docker-device-sdk-simple DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: false BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: true SWAGGER_API_FOLDERS: openapi/v1 openapi/v2 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] node Still waiting to schedule task Waiting for next available executor on ‘prd-centos7-docker-4c-2g-29616’ Running on prd-centos7-docker-4c-2g-29618 in /w/workspace/dgexfoundry_device-sdk-go_PR-816 [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-816 # 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/816/head:refs/remotes/origin/PR-816 +refs/heads/master:refs/remotes/origin/master # timeout=10 Merging remotes/origin/master commit 3a78cb9bf8b7553c4c832ded1e5b92bc4e1fc828 into PR head commit afe37b68d0e09581a5b87c19efbb6e049d7ddff9 Merge succeeded, producing afe37b68d0e09581a5b87c19efbb6e049d7ddff9 Checking out Revision afe37b68d0e09581a5b87c19efbb6e049d7ddff9 (PR-816) > git config core.sparsecheckout # timeout=10 > git checkout -f afe37b68d0e09581a5b87c19efbb6e049d7ddff9 # 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 3a78cb9bf8b7553c4c832ded1e5b92bc4e1fc828 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f afe37b68d0e09581a5b87c19efbb6e049d7ddff9 # timeout=10 Commit message: "feat: Upgrade core-contracts lib to use redesigned device profile" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.24.3' fatal: bad object 878f1b5bff316b9f7b5d8f8b1d22b752867b496c [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 07:08:57 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 07:08:58 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 07:08:58 ========================================================= 07:08:58 EdgeX Global Pipelines Version Info 07:08:58 ========================================================= [Pipeline] libraryResource [Pipeline] sh 07:08:59 ------------------- 07:08:59 stable info: 07:08:59 ------------------- 07:08:59 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 07:08:59 Commit SHA: 878f1b5bff316b9f7b5d8f8b1d22b752867b496c 07:08:59 Message: update stable to v1.0.184 07:09:00 ------------------- 07:09:00 experimental info: 07:09:00 ------------------- 07:09:00 Commited By: **** collab-it+edgex@linuxfoundation.org 07:09:00 Commit SHA: 878f1b5bff316b9f7b5d8f8b1d22b752867b496c 07:09:00 Message: update experimental to v1.0.184 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 07:09:01 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-go-settings [Pipeline] echo 07:09:01 [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-go [Pipeline] echo 07:09:01 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 07:09:01 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 07:09:01 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 07:09:01 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.15 [Pipeline] echo 07:09:02 [edgeXSetupEnvironment]: set envvar GOPROXY = https://nexus3.edgexfoundry.org/repository/go-proxy/ [Pipeline] echo 07:09:02 [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine [Pipeline] echo 07:09:02 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = example/cmd/device-simple/Dockerfile [Pipeline] echo 07:09:02 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 07:09:02 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 07:09:02 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = docker-device-sdk-simple [Pipeline] echo 07:09:03 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 07:09:03 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 07:09:03 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 07:09:03 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo 07:09:03 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 07:09:03 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 07:09:03 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 07:09:04 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 07:09:04 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo 07:09:04 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 openapi/v2 [Pipeline] echo 07:09:04 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 07:09:04 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 07:09:04 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 07:09:04 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 07:09:05 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-816 [Pipeline] echo 07:09:05 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-816 [Pipeline] echo 07:09:05 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-816 [Pipeline] echo 07:09:05 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = afe37b68d0e09581a5b87c19efbb6e049d7ddff9 [Pipeline] echo 07:09:05 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = afe37b6 [Pipeline] echo 07:09:05 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] wrap 07:09:05 provisioning config files... 07:09:06 copy managed file [device-sdk-go-settings] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-816@tmp/config1181705821439875154tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 07:09:06 ---> docker-login.sh 07:09:06 nexus3.edgexfoundry.org:10001 07:09:06 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:09:06 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 07:09:06 Configure a credential helper to remove this warning. See 07:09:06 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 07:09:06 07:09:06 Login Succeeded 07:09:06 nexus3.edgexfoundry.org:10002 07:09:06 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:09:07 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 07:09:07 Configure a credential helper to remove this warning. See 07:09:07 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 07:09:07 07:09:07 Login Succeeded 07:09:07 nexus3.edgexfoundry.org:10003 07:09:07 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:09:07 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 07:09:07 Configure a credential helper to remove this warning. See 07:09:07 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 07:09:07 07:09:07 Login Succeeded 07:09:07 nexus3.edgexfoundry.org:10004 07:09:07 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:09:07 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 07:09:07 Configure a credential helper to remove this warning. See 07:09:07 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 07:09:07 07:09:07 Login Succeeded 07:09:07 docker.io 07:09:07 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:09:08 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 07:09:08 Configure a credential helper to remove this warning. See 07:09:08 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 07:09:08 07:09:08 Login Succeeded 07:09:08 ---> docker-login.sh ends [Pipeline] } 07:09:08 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 07:09:09 + git log --format=format:%s -1 afe37b68d0e09581a5b87c19efbb6e049d7ddff9 [Pipeline] echo 07:09:09 GIT_COMMIT: afe37b68d0e09581a5b87c19efbb6e049d7ddff9, Commit Message: feat: Upgrade core-contracts lib to use redesigned device profile [Pipeline] echo 07:09:09 This is not a build commit. [Pipeline] isUnix [Pipeline] sh 07:09:10 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 07:09:10 07:09:10 Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh 07:09:10 + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 07:09:10 latest: Pulling from edgex-devops/git-semver 07:09:10 31603596830f: Pulling fs layer 07:09:10 2a8b12db71e7: Pulling fs layer 07:09:10 6ca5941a6612: Pulling fs layer 07:09:10 ecc8261a40a4: Pulling fs layer 07:09:10 ecc8261a40a4: Waiting 07:09:10 2a8b12db71e7: Verifying Checksum 07:09:10 2a8b12db71e7: Download complete 07:09:11 31603596830f: Verifying Checksum 07:09:11 31603596830f: Download complete 07:09:11 ecc8261a40a4: Verifying Checksum 07:09:11 ecc8261a40a4: Download complete 07:09:11 6ca5941a6612: Verifying Checksum 07:09:11 6ca5941a6612: Download complete 07:09:11 31603596830f: Pull complete 07:09:11 2a8b12db71e7: Pull complete 07:09:12 6ca5941a6612: Pull complete 07:09:12 ecc8261a40a4: Pull complete 07:09:12 Digest: sha256:c336c3cb7d26c4f33e4bbf869d415e221d43967d83d6a5809e4cb0cc2a1e8fe7 07:09:12 Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 07:09:12 nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer 07:09:13 prd-centos7-docker-4c-2g-29618 does not seem to be running inside a container 07:09:13 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/dgexfoundry_device-sdk-go_PR-816 -v /w/workspace/dgexfoundry_device-sdk-go_PR-816:/w/workspace/dgexfoundry_device-sdk-go_PR-816:rw,z -v /w/workspace/dgexfoundry_device-sdk-go_PR-816@tmp:/w/workspace/dgexfoundry_device-sdk-go_PR-816@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 07:09:15 $ docker top bba7fb54dc99524939e1b2c89edcb4685ed377e2ae2cec85eeb98382d459a74f -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 07:09:16 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 07:09:16 [ssh-agent] Looking for ssh-agent implementation... 07:09:16 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 07:09:16 $ docker exec bba7fb54dc99524939e1b2c89edcb4685ed377e2ae2cec85eeb98382d459a74f ssh-agent 07:09:16 SSH_AUTH_SOCK=/tmp/ssh-arFzTBZBNFD3/agent.12 07:09:16 SSH_AGENT_PID=17 07:09:16 Running ssh-add (command line suppressed) 07:09:16 Identity added: /w/workspace/dgexfoundry_device-sdk-go_PR-816@tmp/private_key_548081834599637439.key (/w/workspace/dgexfoundry_device-sdk-go_PR-816@tmp/private_key_548081834599637439.key) 07:09:16 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 07:09:17 + git tag --points-at HEAD [Pipeline] } 07:09:17 $ docker exec --env ******** --env ******** bba7fb54dc99524939e1b2c89edcb4685ed377e2ae2cec85eeb98382d459a74f ssh-agent -k 07:09:17 unset SSH_AUTH_SOCK; 07:09:17 unset SSH_AGENT_PID; 07:09:17 echo Agent pid 17 killed; 07:09:17 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 07:09:17 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 07:09:17 [ssh-agent] Looking for ssh-agent implementation... 07:09:17 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 07:09:18 $ docker exec bba7fb54dc99524939e1b2c89edcb4685ed377e2ae2cec85eeb98382d459a74f ssh-agent 07:09:18 SSH_AUTH_SOCK=/tmp/ssh-kzYo7bS8qbQQ/agent.46 07:09:18 SSH_AGENT_PID=51 07:09:18 Running ssh-add (command line suppressed) 07:09:18 Identity added: /w/workspace/dgexfoundry_device-sdk-go_PR-816@tmp/private_key_323716432185345221.key (/w/workspace/dgexfoundry_device-sdk-go_PR-816@tmp/private_key_323716432185345221.key) 07:09:18 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 07:09:18 + git semver init 07:09:18 # -> Open(): unable to determine branch for HEAD 07:09:18 # $GIT_DIR = /w/workspace/dgexfoundry_device-sdk-go_PR-816/.git 07:09:18 # $GIT_WORK_TREE = /w/workspace/dgexfoundry_device-sdk-go_PR-816 07:09:18 # $SEMVER_REMOTE_NAME = origin 07:09:18 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 07:09:18 # $SEMVER_USER_NAME = edgex-jenkins 07:09:18 # $SEMVER_BRANCH = PR-816 07:09:18 # $SEMVER_TEMP = /tmp/semver-165813025 07:09:18 # git clone --branch semver git@github.com:edgexfoundry/device-sdk-go.git $SEMVER_TEMP 07:09:19 # '/tmp/semver-165813025' -> '/w/workspace/dgexfoundry_device-sdk-go_PR-816/.semver' 07:09:19 # -> Force: false 07:09:19 # $SEMVER_DIR = /w/workspace/dgexfoundry_device-sdk-go_PR-816/.semver [Pipeline] } 07:09:19 $ docker exec --env ******** --env ******** bba7fb54dc99524939e1b2c89edcb4685ed377e2ae2cec85eeb98382d459a74f ssh-agent -k 07:09:19 unset SSH_AUTH_SOCK; 07:09:19 unset SSH_AGENT_PID; 07:09:19 echo Agent pid 51 killed; 07:09:19 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 07:09:20 + git semver [Pipeline] } 07:09:20 $ docker stop --time=1 bba7fb54dc99524939e1b2c89edcb4685ed377e2ae2cec85eeb98382d459a74f 07:09:22 $ docker rm -f bba7fb54dc99524939e1b2c89edcb4685ed377e2ae2cec85eeb98382d459a74f [Pipeline] // withDockerContainer [Pipeline] sh 07:09:22 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 07:09:23 Stashed 1 file(s) [Pipeline] echo 07:09:23 [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 07:09:38 Still waiting to schedule task 07:09:38 Waiting for next available executor on ‘centos7-docker-4c-2g’ 07:09:38 Still waiting to schedule task 07:09:38 All nodes of label ‘ubuntu18.04-docker-arm64-4c-16g’ are offline 07:11:38 Running on prd-centos7-docker-4c-2g-29622 in /w/workspace/dgexfoundry_device-sdk-go_PR-816 [Pipeline] { [Pipeline] ws 07:11:38 Running in /w/workspace/device-sdk-go/1 [Pipeline] { [Pipeline] checkout 07:11:41 using credential edgex-jenkins-ssh 07:11:41 Cloning the remote Git repository 07:11:41 Cloning repository git@github.com:edgexfoundry/device-sdk-go.git 07:11:41 > git init /w/workspace/device-sdk-go/1 # timeout=10 07:11:41 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 07:11:41 > git --version # timeout=10 07:11:41 > git --version # 'git version 2.24.3' 07:11:41 using GIT_SSH to set credentials SSH Credentials for GitHub 07:11:41 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 07:11:42 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 07:11:42 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 07:11:42 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 07:11:42 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 07:11:42 using GIT_SSH to set credentials SSH Credentials for GitHub 07:11:42 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/816/head:refs/remotes/origin/PR-816 +refs/heads/master:refs/remotes/origin/master # timeout=10 07:11:42 Merging remotes/origin/master commit 3a78cb9bf8b7553c4c832ded1e5b92bc4e1fc828 into PR head commit afe37b68d0e09581a5b87c19efbb6e049d7ddff9 07:11:42 Merge succeeded, producing afe37b68d0e09581a5b87c19efbb6e049d7ddff9 07:11:42 Checking out Revision afe37b68d0e09581a5b87c19efbb6e049d7ddff9 (PR-816) 07:11:42 > git config core.sparsecheckout # timeout=10 07:11:42 > git checkout -f afe37b68d0e09581a5b87c19efbb6e049d7ddff9 # timeout=10 07:11:42 > git remote # timeout=10 07:11:42 > git config --get remote.origin.url # timeout=10 07:11:42 using GIT_SSH to set credentials SSH Credentials for GitHub 07:11:42 > git merge 3a78cb9bf8b7553c4c832ded1e5b92bc4e1fc828 # timeout=10 07:11:42 > git rev-parse HEAD^{commit} # timeout=10 07:11:42 > git config core.sparsecheckout # timeout=10 07:11:42 > git checkout -f afe37b68d0e09581a5b87c19efbb6e049d7ddff9 # timeout=10 07:11:46 Commit message: "feat: Upgrade core-contracts lib to use redesigned device profile" 07:11:46 > git --version # timeout=10 07:11:46 > git --version # 'git version 2.24.3' 07:11:46 fatal: bad object 878f1b5bff316b9f7b5d8f8b1d22b752867b496c [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 07:11:47 + sudo jq '. + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false}' /etc/docker/daemon.json [Pipeline] sh 07:11:48 + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh 07:11:48 + sudo service docker restart 07:11:48 + true 07:11:48 Redirecting to /bin/systemctl restart docker.service [Pipeline] withEnv [Pipeline] { [Pipeline] wrap 07:11:49 provisioning config files... 07:11:49 copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/1@tmp/config5480671775081838028tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 07:11:50 ---> docker-login.sh 07:11:50 nexus3.edgexfoundry.org:10001 07:11:50 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:11:50 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 07:11:50 Configure a credential helper to remove this warning. See 07:11:50 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 07:11:50 07:11:50 Login Succeeded 07:11:50 nexus3.edgexfoundry.org:10002 07:11:50 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:11:50 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 07:11:50 Configure a credential helper to remove this warning. See 07:11:50 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 07:11:50 07:11:50 Login Succeeded 07:11:50 nexus3.edgexfoundry.org:10003 07:11:50 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:11:50 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 07:11:50 Configure a credential helper to remove this warning. See 07:11:50 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 07:11:50 07:11:50 Login Succeeded 07:11:50 nexus3.edgexfoundry.org:10004 07:11:50 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:11:51 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 07:11:51 Configure a credential helper to remove this warning. See 07:11:51 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 07:11:51 07:11:51 Login Succeeded 07:11:51 docker.io 07:11:51 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:11:51 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 07:11:51 Configure a credential helper to remove this warning. See 07:11:51 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 07:11:51 07:11:51 Login Succeeded 07:11:51 ---> docker-login.sh ends [Pipeline] } 07:11:51 Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 07:11:52 ========================================================= 07:11:52 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine] 07:11:52 ========================================================= [Pipeline] isUnix [Pipeline] sh 07:11:52 + 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 . 07:11:52 Sending build context to Docker daemon 2.32MB 07:11:52 Step 1/8 : ARG BASE=golang:1.15-alpine3.12 07:11:52 Step 2/8 : FROM ${BASE} 07:11:52 1.15-alpine: Pulling from edgex-devops/edgex-golang-base 07:11:52 188c0c94c7c5: Pulling fs layer 07:11:52 0ef7d3d256c8: Pulling fs layer 07:11:52 de9db76c5a1d: Pulling fs layer 07:11:52 bca2f99d35d6: Pulling fs layer 07:11:52 93359f2a8cfa: Pulling fs layer 07:11:52 7c6f9722023f: Pulling fs layer 07:11:52 a35cf1a2eb13: Pulling fs layer 07:11:52 93359f2a8cfa: Waiting 07:11:52 7c6f9722023f: Waiting 07:11:52 a35cf1a2eb13: Waiting 07:11:52 bca2f99d35d6: Waiting 07:11:52 de9db76c5a1d: Download complete 07:11:52 0ef7d3d256c8: Download complete 07:11:52 93359f2a8cfa: Download complete 07:11:52 7c6f9722023f: Verifying Checksum 07:11:52 7c6f9722023f: Download complete 07:11:52 188c0c94c7c5: Verifying Checksum 07:11:52 188c0c94c7c5: Download complete 07:11:53 188c0c94c7c5: Pull complete 07:11:53 0ef7d3d256c8: Pull complete 07:11:53 de9db76c5a1d: Pull complete 07:11:54 a35cf1a2eb13: Verifying Checksum 07:11:54 a35cf1a2eb13: Download complete 07:11:55 bca2f99d35d6: Verifying Checksum 07:11:55 bca2f99d35d6: Download complete 07:12:00 bca2f99d35d6: Pull complete 07:12:00 93359f2a8cfa: Pull complete 07:12:00 7c6f9722023f: Pull complete 07:12:08 a35cf1a2eb13: Pull complete 07:12:08 Digest: sha256:47e1832254f01ad1d18e03a79677f1a8325b9c763402aad95be204d7d7715f46 07:12:08 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine 07:12:08 ---> a62c8e92a672 07:12:08 Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 07:12:08 ---> Running in 8632d1add17f 07:12:08 Removing intermediate container 8632d1add17f 07:12:08 ---> 1a58b43b8317 07:12:08 Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 07:12:08 ---> Running in 860cd77cdb4b 07:12:08 Removing intermediate container 860cd77cdb4b 07:12:08 ---> 939177035df1 07:12:08 Step 5/8 : RUN apk add --update --no-cache make git 07:12:08 ---> Running in efef254438f2 07:12:09 fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz 07:12:10 fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz 07:12:11 OK: 166 MiB in 39 packages 07:12:11 Removing intermediate container efef254438f2 07:12:11 ---> cb61f2426cac 07:12:11 Step 6/8 : WORKDIR /device-sdk-go 07:12:11 ---> Running in 0cc8ec7caf6f 07:12:11 Removing intermediate container 0cc8ec7caf6f 07:12:11 ---> 819db17e1c78 07:12:11 Step 7/8 : COPY . . 07:12:13 ---> 47f980b48f3b 07:12:13 Step 8/8 : RUN go mod download 07:12:13 ---> Running in 9c205857839b 07:12:17 Running on prd-ubuntu18.04-docker-arm64-4c-16g-29621 in /w/workspace/dgexfoundry_device-sdk-go_PR-816 [Pipeline] { [Pipeline] ws 07:12:17 Running in /w/workspace/device-sdk-go/1 [Pipeline] { [Pipeline] checkout 07:12:22 using credential edgex-jenkins-ssh 07:12:22 Cloning the remote Git repository 07:12:22 Cloning repository git@github.com:edgexfoundry/device-sdk-go.git 07:12:22 > git init /w/workspace/device-sdk-go/1 # timeout=10 07:12:22 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 07:12:22 > git --version # timeout=10 07:12:22 > git --version # 'git version 2.17.1' 07:12:22 using GIT_SSH to set credentials SSH Credentials for GitHub 07:12:22 > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 07:12:24 Merging remotes/origin/master commit 3a78cb9bf8b7553c4c832ded1e5b92bc4e1fc828 into PR head commit afe37b68d0e09581a5b87c19efbb6e049d7ddff9 07:12:25 Merge succeeded, producing afe37b68d0e09581a5b87c19efbb6e049d7ddff9 07:12:25 Checking out Revision afe37b68d0e09581a5b87c19efbb6e049d7ddff9 (PR-816) 07:12:24 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 07:12:24 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 07:12:24 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 07:12:24 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 07:12:24 using GIT_SSH to set credentials SSH Credentials for GitHub 07:12:24 > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/816/head:refs/remotes/origin/PR-816 +refs/heads/master:refs/remotes/origin/master # timeout=10 07:12:24 > git config core.sparsecheckout # timeout=10 07:12:24 > git checkout -f afe37b68d0e09581a5b87c19efbb6e049d7ddff9 # timeout=10 07:12:25 > git remote # timeout=10 07:12:25 > git config --get remote.origin.url # timeout=10 07:12:25 using GIT_SSH to set credentials SSH Credentials for GitHub 07:12:25 > git merge 3a78cb9bf8b7553c4c832ded1e5b92bc4e1fc828 # timeout=10 07:12:25 > git rev-parse HEAD^{commit} # timeout=10 07:12:25 > git config core.sparsecheckout # timeout=10 07:12:25 > git checkout -f afe37b68d0e09581a5b87c19efbb6e049d7ddff9 # timeout=10 07:12:29 Commit message: "feat: Upgrade core-contracts lib to use redesigned device profile" 07:12:29 > git --version # timeout=10 07:12:29 > git --version # 'git version 2.17.1' 07:12:29 fatal: bad object 878f1b5bff316b9f7b5d8f8b1d22b752867b496c [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 07:12:31 + sudo jq . + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false} /etc/docker/daemon.json [Pipeline] sh 07:12:31 + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh 07:12:32 + sudo service docker restart 07:12:32 + true [Pipeline] withEnv [Pipeline] { [Pipeline] wrap 07:12:34 provisioning config files... 07:12:35 copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/1@tmp/config1222769287961716635tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 07:12:35 Removing intermediate container 9c205857839b 07:12:35 ---> 1ad88f9af493 07:12:35 Successfully built 1ad88f9af493 07:12:35 Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh 07:12:35 ---> docker-login.sh 07:12:35 nexus3.edgexfoundry.org:10001 07:12:35 + docker inspect -f . ci-base-image-x86_64 07:12:36 . [Pipeline] withDockerContainer 07:12:36 prd-centos7-docker-4c-2g-29622 does not seem to be running inside a container 07:12:36 $ 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 07:12:36 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:12:36 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 07:12:36 Configure a credential helper to remove this warning. See 07:12:36 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 07:12:36 07:12:36 Login Succeeded 07:12:36 nexus3.edgexfoundry.org:10002 07:12:37 $ docker top 864bc38de78efaf06a1176fe7f8b8d8807e343576dee7e5899978718c03cbd66 -eo pid,comm [Pipeline] { [Pipeline] sh 07:12:37 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:12:37 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 07:12:37 Configure a credential helper to remove this warning. See 07:12:37 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 07:12:37 07:12:37 Login Succeeded 07:12:37 nexus3.edgexfoundry.org:10003 07:12:37 + go version 07:12:37 go version go1.15.5 linux/amd64 07:12:37 WARNING! Using --password via the CLI is insecure. Use --password-stdin. [Pipeline] } 07:12:37 $ docker stop --time=1 864bc38de78efaf06a1176fe7f8b8d8807e343576dee7e5899978718c03cbd66 07:12:38 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 07:12:38 Configure a credential helper to remove this warning. See 07:12:38 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 07:12:38 07:12:38 Login Succeeded 07:12:38 nexus3.edgexfoundry.org:10004 07:12:38 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:12:38 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 07:12:38 Configure a credential helper to remove this warning. See 07:12:38 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 07:12:38 07:12:38 Login Succeeded 07:12:38 docker.io 07:12:38 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:12:39 $ docker rm -f 864bc38de78efaf06a1176fe7f8b8d8807e343576dee7e5899978718c03cbd66 [Pipeline] // withDockerContainer [Pipeline] } 07:12:39 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 07:12:39 Configure a credential helper to remove this warning. See 07:12:39 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 07:12:39 07:12:39 Login Succeeded 07:12:39 ---> docker-login.sh ends [Pipeline] // script [Pipeline] } [Pipeline] } 07:12:39 Deleting 1 temporary files [Pipeline] // stage [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] echo 07:12:40 ========================================================= 07:12:40 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine] 07:12:40 ========================================================= [Pipeline] isUnix [Pipeline] sh [Pipeline] isUnix [Pipeline] sh 07:12:40 + docker inspect -f . ci-base-image-x86_64 07:12:40 . [Pipeline] withDockerContainer 07:12:40 prd-centos7-docker-4c-2g-29622 does not seem to be running inside a container 07:12:40 + 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 . 07:12:40 $ 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 07:12:41 Sending build context to Docker daemon 2.319MB 07:12:41 Step 1/8 : ARG BASE=golang:1.15-alpine3.12 07:12:41 Step 2/8 : FROM ${BASE} 07:12:41 1.15-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 07:12:41 5f621e34cdf4: Pulling fs layer 07:12:41 a4357932f1b6: Pulling fs layer 07:12:41 18c013af1878: Pulling fs layer 07:12:41 00ac8860ef70: Pulling fs layer 07:12:41 63d7cb157983: Pulling fs layer 07:12:41 b116817d02f9: Pulling fs layer 07:12:41 745a02a5169b: Pulling fs layer 07:12:41 00ac8860ef70: Waiting 07:12:41 63d7cb157983: Waiting 07:12:41 b116817d02f9: Waiting 07:12:41 745a02a5169b: Waiting 07:12:41 18c013af1878: Verifying Checksum 07:12:41 18c013af1878: Download complete 07:12:41 a4357932f1b6: Verifying Checksum 07:12:41 a4357932f1b6: Download complete 07:12:41 63d7cb157983: Verifying Checksum 07:12:41 63d7cb157983: Download complete 07:12:41 5f621e34cdf4: Download complete 07:12:41 b116817d02f9: Verifying Checksum 07:12:41 b116817d02f9: Download complete 07:12:41 $ docker top 770abd9f083353fd4320a07887b69a61c12061380e615832c03f517c565c1b05 -eo pid,comm [Pipeline] { [Pipeline] sh 07:12:42 + make test 07:12:42 GO111MODULE=on go test -race -coverprofile=coverage.out ./... 07:12:42 5f621e34cdf4: Pull complete 07:12:42 a4357932f1b6: Pull complete 07:12:43 18c013af1878: Pull complete 07:12:43 745a02a5169b: Verifying Checksum 07:12:43 745a02a5169b: Download complete 07:12:44 00ac8860ef70: Verifying Checksum 07:12:44 00ac8860ef70: Download complete 07:12:50 ? github.com/edgexfoundry/device-sdk-go/v2 [no test files] 07:12:55 00ac8860ef70: Pull complete 07:12:55 63d7cb157983: Pull complete 07:12:55 b116817d02f9: Pull complete 07:12:59 745a02a5169b: Pull complete 07:12:59 Digest: sha256:df689100bc6b2f2091bc50e3ab30bcbb973ead998518226adecfd27d0a642918 07:12:59 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine 07:12:59 ---> b7e6874047d6 07:12:59 Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 07:13:02 ---> Running in 21ee82e23d98 07:13:02 Removing intermediate container 21ee82e23d98 07:13:02 ---> 2502700d5095 07:13:02 Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 07:13:02 ---> Running in 4a0ac7a38077 07:13:05 ? github.com/edgexfoundry/device-sdk-go/v2/example/cmd/device-simple [no test files] 07:13:05 ? github.com/edgexfoundry/device-sdk-go/v2/example/driver [no test files] 07:13:05 ? github.com/edgexfoundry/device-sdk-go/v2/internal/autodiscovery [no test files] 07:13:05 Removing intermediate container 4a0ac7a38077 07:13:05 ---> dc8fbd870095 07:13:05 Step 5/8 : RUN apk add --update --no-cache make git 07:13:05 ---> Running in ccc6789bde19 07:13:05 ok github.com/edgexfoundry/device-sdk-go/v2/internal/autoevent 0.059s coverage: 25.5% of statements 07:13:06 fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz 07:13:07 fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz 07:13:08 OK: 142 MiB in 39 packages 07:13:09 Removing intermediate container ccc6789bde19 07:13:09 ---> f4ed9a926dd3 07:13:09 Step 6/8 : WORKDIR /device-sdk-go 07:13:09 ---> Running in 5c4e5c04f106 07:13:09 Removing intermediate container 5c4e5c04f106 07:13:09 ---> 138ce0ea68b0 07:13:09 Step 7/8 : COPY . . 07:13:11 ---> 0ecfafa6b706 07:13:11 Step 8/8 : RUN go mod download 07:13:11 ---> Running in 1ec4c44819de 07:13:38 ok github.com/edgexfoundry/device-sdk-go/v2/internal/clients 30.061s coverage: 10.5% of statements 07:13:38 ok github.com/edgexfoundry/device-sdk-go/v2/internal/common 0.049s coverage: 12.5% of statements 07:13:38 ? github.com/edgexfoundry/device-sdk-go/v2/internal/container [no test files] 07:13:38 ok github.com/edgexfoundry/device-sdk-go/v2/internal/controller 0.063s coverage: 84.8% of statements 07:13:38 ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/correlation [no test files] 07:13:38 ? github.com/edgexfoundry/device-sdk-go/v2/internal/provision [no test files] 07:13:38 ? github.com/edgexfoundry/device-sdk-go/v2/internal/telemetry [no test files] 07:13:38 ok github.com/edgexfoundry/device-sdk-go/v2/internal/transformer 0.078s coverage: 47.6% of statements 07:13:38 ? github.com/edgexfoundry/device-sdk-go/v2/internal/v2/application [no test files] 07:13:38 ok github.com/edgexfoundry/device-sdk-go/v2/internal/v2/cache 0.069s coverage: 81.2% of statements 07:13:38 ok github.com/edgexfoundry/device-sdk-go/v2/internal/v2/controller/http 0.085s coverage: 24.8% of statements 07:13:38 ok github.com/edgexfoundry/device-sdk-go/v2/pkg/models 1.117s coverage: 6.4% of statements 07:13:38 ok github.com/edgexfoundry/device-sdk-go/v2/pkg/service 0.057s coverage: 5.2% of statements 07:13:38 ? github.com/edgexfoundry/device-sdk-go/v2/pkg/startup [no test files] 07:13:38 GO111MODULE=on go vet ./... 07:13:38 Removing intermediate container 1ec4c44819de 07:13:38 ---> ece393d10859 07:13:38 Successfully built ece393d10859 07:13:38 Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh 07:13:38 + docker inspect -f . ci-base-image-arm64 07:13:38 . [Pipeline] withDockerContainer 07:13:38 prd-ubuntu18.04-docker-arm64-4c-16g-29621 does not seem to be running inside a container 07:13:38 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/1 -v /w/workspace/device-sdk-go/1:/w/workspace/device-sdk-go/1:rw,z -v /w/workspace/device-sdk-go/1@tmp:/w/workspace/device-sdk-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 07:13:40 $ docker top 0b3d19f25892afca7dc7f0a0e5e710e7ae6f4bd547f765e81759aea95e18bcf9 -eo pid,comm [Pipeline] { [Pipeline] sh 07:13:41 + go version 07:13:41 go version go1.15.5 linux/arm64 [Pipeline] } 07:13:41 $ docker stop --time=1 0b3d19f25892afca7dc7f0a0e5e710e7ae6f4bd547f765e81759aea95e18bcf9 07:13:43 $ docker rm -f 0b3d19f25892afca7dc7f0a0e5e710e7ae6f4bd547f765e81759aea95e18bcf9 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 07:13:44 + docker inspect -f . ci-base-image-arm64 07:13:44 . [Pipeline] withDockerContainer 07:13:45 prd-ubuntu18.04-docker-arm64-4c-16g-29621 does not seem to be running inside a container 07:13:45 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/1 -v /w/workspace/device-sdk-go/1:/w/workspace/device-sdk-go/1:rw,z -v /w/workspace/device-sdk-go/1@tmp:/w/workspace/device-sdk-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 07:13:46 $ docker top 58e8e735aeabb23ba689c54597e8e1ea24b656e149ca22aace7e85394e5d20e8 -eo pid,comm [Pipeline] { [Pipeline] sh 07:13:47 + make test 07:13:47 GO111MODULE=on go test -race -coverprofile=coverage.out ./... 07:13:48 gofmt -l . 07:13:48 [ "`gofmt -l .`" = "" ] 07:13:48 ./bin/test-attribution-txt.sh 07:13:48 ./bin/test-go-mod-tidy.sh [Pipeline] } 07:13:48 $ docker stop --time=1 770abd9f083353fd4320a07887b69a61c12061380e615832c03f517c565c1b05 07:13:50 $ docker rm -f 770abd9f083353fd4320a07887b69a61c12061380e615832c03f517c565c1b05 [Pipeline] // withDockerContainer [Pipeline] sh 07:13:51 + sudo chown -R jenkins:jenkins . [Pipeline] stash 07:13:51 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 07:13:55 + sudo chown -R jenkins:jenkins . [Pipeline] sh 07:13:56 + ls -al . 07:13:56 total 184 07:13:56 drwxrwxr-x. 10 jenkins jenkins 4096 Mar 12 07:13 . 07:13:56 drwxrwxr-x. 4 jenkins jenkins 28 Mar 12 07:11 .. 07:13:56 drwxrwxr-x. 2 jenkins jenkins 64 Mar 12 07:11 bin 07:13:56 -rw-r--r--. 1 jenkins jenkins 102032 Mar 12 07:13 coverage.out 07:13:56 -rw-rw-r--. 1 jenkins jenkins 949 Mar 12 07:11 Dockerfile.build 07:13:56 -rw-rw-r--. 1 jenkins jenkins 140 Mar 12 07:11 .dockerignore 07:13:56 drwxrwxr-x. 4 jenkins jenkins 48 Mar 12 07:11 example 07:13:56 drwxrwxr-x. 8 jenkins jenkins 179 Mar 12 07:11 .git 07:13:56 drwxrwxr-x. 2 jenkins jenkins 103 Mar 12 07:11 .github 07:13:56 -rw-rw-r--. 1 jenkins jenkins 138 Mar 12 07:11 .gitignore 07:13:56 -rw-r--r--. 1 jenkins jenkins 479 Mar 12 07:13 go.mod 07:13:56 -rw-r--r--. 1 jenkins jenkins 17490 Mar 12 07:13 go.sum 07:13:56 drwxrwxr-x. 12 jenkins jenkins 171 Mar 12 07:11 internal 07:13:56 -rw-rw-r--. 1 jenkins jenkins 901 Mar 12 07:11 Jenkinsfile 07:13:56 -rw-rw-r--. 1 jenkins jenkins 11341 Mar 12 07:11 LICENSE 07:13:56 -rw-rw-r--. 1 jenkins jenkins 1016 Mar 12 07:11 Makefile 07:13:56 drwxrwxr-x. 4 jenkins jenkins 26 Mar 12 07:11 openapi 07:13:56 drwxrwxr-x. 5 jenkins jenkins 50 Mar 12 07:11 pkg 07:13:56 -rw-rw-r--. 1 jenkins jenkins 5897 Mar 12 07:11 README.md 07:13:56 -rw-rw-r--. 1 jenkins jenkins 6616 Mar 12 07:11 RELEASE-NOTES.txt 07:13:56 drwxrwxr-x. 4 jenkins jenkins 54 Mar 12 07:11 snap 07:13:56 -rw-rw-r--. 1 jenkins jenkins 5 Mar 12 07:09 VERSION 07:13:56 -rw-rw-r--. 1 jenkins jenkins 222 Mar 12 07:11 version.go [Pipeline] isUnix [Pipeline] sh 07:13:56 + 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=afe37b68d0e09581a5b87c19efbb6e049d7ddff9 --label arch=amd64 --label version=0.0.0 . 07:13:56 Sending build context to Docker daemon 2.423MB 07:13:56 Step 1/24 : ARG BASE=golang:1.15-alpine3.12 07:13:56 Step 2/24 : FROM ${BASE} AS builder 07:13:56 ---> 1ad88f9af493 07:13:56 Step 3/24 : ARG MAKE='make build' 07:13:57 ---> Running in 0e56c4cf7f33 07:13:57 Removing intermediate container 0e56c4cf7f33 07:13:57 ---> f9c044275c87 07:13:57 Step 4/24 : WORKDIR /device-sdk-go 07:13:57 ---> Running in 27c792a57357 07:13:57 Removing intermediate container 27c792a57357 07:13:57 ---> 3f5111dd669b 07:13:57 Step 5/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 07:13:57 ---> Running in 863a625f3d09 07:13:57 Removing intermediate container 863a625f3d09 07:13:57 ---> 488723f2f685 07:13:57 Step 6/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 07:13:58 ---> Running in 8ca8b88c16ac 07:13:59 Removing intermediate container 8ca8b88c16ac 07:13:59 ---> 0a443effe8b3 07:13:59 Step 7/24 : RUN apk add --update --no-cache make git 07:13:59 ---> Running in a932b624da8e 07:13:59 fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz 07:14:00 fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz 07:14:00 OK: 166 MiB in 39 packages 07:14:01 Removing intermediate container a932b624da8e 07:14:01 ---> 6101ae9cd088 07:14:01 Step 8/24 : COPY . . 07:14:02 ---> 33fb763a2ae8 07:14:02 Step 9/24 : RUN ${MAKE} 07:14:02 ---> Running in b4c316d0aaa0 07:14:02 CGO_ENABLED=0 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 07:14:10 ? github.com/edgexfoundry/device-sdk-go/v2 [no test files] 07:14:13 CGO_ENABLED=0 GO111MODULE=on go install -tags=safe 07:14:13 Removing intermediate container b4c316d0aaa0 07:14:13 ---> c6572ccd6d3e 07:14:13 Step 10/24 : FROM scratch 07:14:13 ---> 07:14:13 Step 11/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 07:14:13 ---> Running in 4bf76c71556d 07:14:13 Removing intermediate container 4bf76c71556d 07:14:13 ---> 61d16e8ba4ad 07:14:13 Step 12/24 : ENV APP_PORT=49990 07:14:13 ---> Running in 83753525a418 07:14:14 Removing intermediate container 83753525a418 07:14:14 ---> e454e1cd5642 07:14:14 Step 13/24 : EXPOSE $APP_PORT 07:14:14 ---> Running in 65159f1bbf82 07:14:14 Removing intermediate container 65159f1bbf82 07:14:14 ---> c66b4038c380 07:14:14 Step 14/24 : WORKDIR / 07:14:14 ---> Running in 4769b6f1608d 07:14:14 Removing intermediate container 4769b6f1608d 07:14:14 ---> ae88ba1eccfd 07:14:14 Step 15/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /usr/local/bin/device-simple 07:14:14 ---> b176e21a9d29 07:14:14 Step 16/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/configuration.toml /res/configuration.toml 07:14:15 ---> 522e5a0a2afe 07:14:15 Step 17/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/Simple-Driver.yaml /res/Simple-Driver.yaml 07:14:15 ---> ae03553680e5 07:14:15 Step 18/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/on.png /res/on.png 07:14:15 ---> a751fa4b17ae 07:14:15 Step 19/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/off.jpg /res/off.jpg 07:14:16 ---> 02f179c427db 07:14:16 Step 20/24 : ENTRYPOINT ["/usr/local/bin/device-simple"] 07:14:16 ---> Running in bdab100faeee 07:14:16 Removing intermediate container bdab100faeee 07:14:16 ---> 38bab2097996 07:14:16 Step 21/24 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] 07:14:16 ---> Running in 6349dde2a7ae 07:14:16 Removing intermediate container 6349dde2a7ae 07:14:16 ---> 2b64ae6993f6 07:14:16 Step 22/24 : LABEL arch=amd64 07:14:16 ---> Running in 2c974efd5cc0 07:14:16 Removing intermediate container 2c974efd5cc0 07:14:16 ---> 2f622bb29494 07:14:16 Step 23/24 : LABEL git_sha=afe37b68d0e09581a5b87c19efbb6e049d7ddff9 07:14:16 ---> Running in 9b8cb60188c2 07:14:17 Removing intermediate container 9b8cb60188c2 07:14:17 ---> ef8d561a4887 07:14:17 Step 24/24 : LABEL version=0.0.0 07:14:17 ---> Running in 99bec3288420 07:14:17 Removing intermediate container 99bec3288420 07:14:17 ---> f955fc428d51 07:14:17 [Warning] One or more build-args [ARCH] were not consumed 07:14:17 Successfully built f955fc428d51 07:14: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 07:14:18 ---> job-cost.sh 07:14:18 lf-activate-venv(): INFO: Creating python3 venv at /tmp/venv-q2qH 07:14:33 lf-activate-venv(): INFO: Installing: zipp==1.1.0 python-openstackclient 07:14:57 ? github.com/edgexfoundry/device-sdk-go/v2/example/cmd/device-simple [no test files] 07:14:57 ? github.com/edgexfoundry/device-sdk-go/v2/example/driver [no test files] 07:14:57 ? github.com/edgexfoundry/device-sdk-go/v2/internal/autodiscovery [no test files] 07:14:57 ok github.com/edgexfoundry/device-sdk-go/v2/internal/autoevent 0.114s coverage: 25.5% of statements 07:15:06 lf-activate-venv(): INFO: Adding /tmp/venv-q2qH/bin to PATH 07:15:06 INFO: No Stack... 07:15:06 INFO: Retrieving Pricing Info for: v1-standard-2 07:15:06 INFO: Archiving Costs [Pipeline] sh 07:15:06 + cat /w/workspace/device-sdk-go/1/archives/cost.csv 07:15:06 + cut -d, -f6 [Pipeline] lock 07:15:06 Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-PR-816-1-stack-cost] 07:15:06 Resource [jenkins-edgexfoundry-device-sdk-go-PR-816-1-stack-cost] did not exist. Created. 07:15:06 Lock acquired on [jenkins-edgexfoundry-device-sdk-go-PR-816-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 07:15:07 + echo total: 0.029999999329447746 [Pipeline] stash 07:15:07 Stashed 1 file(s) [Pipeline] } 07:15:07 Lock released on resource [jenkins-edgexfoundry-device-sdk-go-PR-816-1-stack-cost] [Pipeline] // lock [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } 07:15:24 ok github.com/edgexfoundry/device-sdk-go/v2/internal/clients 30.134s coverage: 10.5% of statements 07:15:24 ok github.com/edgexfoundry/device-sdk-go/v2/internal/common 0.103s coverage: 12.5% of statements 07:15:24 ? github.com/edgexfoundry/device-sdk-go/v2/internal/container [no test files] 07:15:24 ok github.com/edgexfoundry/device-sdk-go/v2/internal/controller 0.142s coverage: 84.8% of statements 07:15:24 ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/correlation [no test files] 07:15:24 ? github.com/edgexfoundry/device-sdk-go/v2/internal/provision [no test files] 07:15:24 ? github.com/edgexfoundry/device-sdk-go/v2/internal/telemetry [no test files] 07:15:24 ok github.com/edgexfoundry/device-sdk-go/v2/internal/transformer 0.178s coverage: 47.6% of statements 07:15:24 ? github.com/edgexfoundry/device-sdk-go/v2/internal/v2/application [no test files] 07:15:24 ok github.com/edgexfoundry/device-sdk-go/v2/internal/v2/cache 0.166s coverage: 81.2% of statements 07:15:24 ok github.com/edgexfoundry/device-sdk-go/v2/internal/v2/controller/http 0.165s coverage: 24.8% of statements 07:15:24 ok github.com/edgexfoundry/device-sdk-go/v2/pkg/models 2.804s coverage: 6.4% of statements 07:15:24 ok github.com/edgexfoundry/device-sdk-go/v2/pkg/service 0.132s coverage: 5.2% of statements 07:15:24 ? github.com/edgexfoundry/device-sdk-go/v2/pkg/startup [no test files] 07:15:24 GO111MODULE=on go vet ./... 07:16:03 gofmt -l . 07:16:03 [ "`gofmt -l .`" = "" ] 07:16:03 ./bin/test-attribution-txt.sh 07:16:03 ./bin/test-go-mod-tidy.sh [Pipeline] } 07:16:03 $ docker stop --time=1 58e8e735aeabb23ba689c54597e8e1ea24b656e149ca22aace7e85394e5d20e8 07:16:05 $ docker rm -f 58e8e735aeabb23ba689c54597e8e1ea24b656e149ca22aace7e85394e5d20e8 [Pipeline] // withDockerContainer [Pipeline] sh 07:16:07 + sudo chown -R jenkins:jenkins . [Pipeline] stash 07:16:07 Warning: overwriting stash ‘coverage-report’ 07:16:08 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 07:16:08 + sudo chown -R jenkins:jenkins . [Pipeline] sh 07:16:09 + ls -al . 07:16:09 total 220 07:16:09 drwxrwxr-x 10 jenkins jenkins 4096 Mar 12 07:15 . 07:16:09 drwxrwxr-x 4 jenkins jenkins 4096 Mar 12 07:12 .. 07:16:09 -rw-rw-r-- 1 jenkins jenkins 140 Mar 12 07:12 .dockerignore 07:16:09 drwxrwxr-x 8 jenkins jenkins 4096 Mar 12 07:12 .git 07:16:09 drwxrwxr-x 2 jenkins jenkins 4096 Mar 12 07:12 .github 07:16:09 -rw-rw-r-- 1 jenkins jenkins 138 Mar 12 07:12 .gitignore 07:16:09 -rw-rw-r-- 1 jenkins jenkins 949 Mar 12 07:12 Dockerfile.build 07:16:09 -rw-rw-r-- 1 jenkins jenkins 901 Mar 12 07:12 Jenkinsfile 07:16:09 -rw-rw-r-- 1 jenkins jenkins 11341 Mar 12 07:12 LICENSE 07:16:09 -rw-rw-r-- 1 jenkins jenkins 1016 Mar 12 07:12 Makefile 07:16:09 -rw-rw-r-- 1 jenkins jenkins 5897 Mar 12 07:12 README.md 07:16:09 -rw-rw-r-- 1 jenkins jenkins 6616 Mar 12 07:12 RELEASE-NOTES.txt 07:16:09 -rw-rw-r-- 1 jenkins jenkins 5 Mar 12 07:09 VERSION 07:16:09 drwxrwxr-x 2 jenkins jenkins 4096 Mar 12 07:12 bin 07:16:09 -rw-r--r-- 1 jenkins jenkins 102032 Mar 12 07:15 coverage.out 07:16:09 drwxrwxr-x 4 jenkins jenkins 4096 Mar 12 07:12 example 07:16:09 -rw-r--r-- 1 jenkins jenkins 479 Mar 12 07:15 go.mod 07:16:09 -rw-r--r-- 1 jenkins jenkins 17490 Mar 12 07:15 go.sum 07:16:09 drwxrwxr-x 12 jenkins jenkins 4096 Mar 12 07:12 internal 07:16:09 drwxrwxr-x 4 jenkins jenkins 4096 Mar 12 07:12 openapi 07:16:09 drwxrwxr-x 5 jenkins jenkins 4096 Mar 12 07:12 pkg 07:16:09 drwxrwxr-x 4 jenkins jenkins 4096 Mar 12 07:12 snap 07:16:09 -rw-rw-r-- 1 jenkins jenkins 222 Mar 12 07:12 version.go [Pipeline] isUnix [Pipeline] sh 07:16:09 + 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=afe37b68d0e09581a5b87c19efbb6e049d7ddff9 --label arch=arm64 --label version=0.0.0 . 07:16:10 Sending build context to Docker daemon 2.422MB 07:16:10 Step 1/24 : ARG BASE=golang:1.15-alpine3.12 07:16:10 Step 2/24 : FROM ${BASE} AS builder 07:16:10 ---> ece393d10859 07:16:10 Step 3/24 : ARG MAKE='make build' 07:16:10 ---> Running in 0e16c4c328f8 07:16:11 Removing intermediate container 0e16c4c328f8 07:16:11 ---> 409c1566aec1 07:16:11 Step 4/24 : WORKDIR /device-sdk-go 07:16:11 ---> Running in 7ef00038038d 07:16:11 Removing intermediate container 7ef00038038d 07:16:11 ---> c6be15795fa0 07:16:11 Step 5/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 07:16:11 ---> Running in eb9e3c836c91 07:16:12 Removing intermediate container eb9e3c836c91 07:16:12 ---> e848b51953ed 07:16:12 Step 6/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 07:16:12 ---> Running in 3ac3f3d29c60 07:16:15 Removing intermediate container 3ac3f3d29c60 07:16:15 ---> 61d402236d49 07:16:15 Step 7/24 : RUN apk add --update --no-cache make git 07:16:15 ---> Running in c36751a4c861 07:16:15 fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz 07:16:16 fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz 07:16:17 OK: 142 MiB in 39 packages 07:16:18 Removing intermediate container c36751a4c861 07:16:18 ---> 73a20e5e6218 07:16:18 Step 8/24 : COPY . . 07:16:20 ---> 68b8160f8c00 07:16:20 Step 9/24 : RUN ${MAKE} 07:16:20 ---> Running in 080600772afd 07:16:21 CGO_ENABLED=0 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 07:16:47 CGO_ENABLED=0 GO111MODULE=on go install -tags=safe 07:16:49 Removing intermediate container 080600772afd 07:16:49 ---> 31f659e84aca 07:16:49 Step 10/24 : FROM scratch 07:16:49 ---> 07:16:49 Step 11/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 07:16:49 ---> Running in 628fd5656a36 07:16:49 Removing intermediate container 628fd5656a36 07:16:49 ---> 3a49585bfeb1 07:16:49 Step 12/24 : ENV APP_PORT=49990 07:16:49 ---> Running in 6ec6693d6742 07:16:50 Removing intermediate container 6ec6693d6742 07:16:50 ---> 2ff401dab94d 07:16:50 Step 13/24 : EXPOSE $APP_PORT 07:16:50 ---> Running in 910b0b9f2857 07:16:50 Removing intermediate container 910b0b9f2857 07:16:50 ---> 9441b3c6e2a0 07:16:50 Step 14/24 : WORKDIR / 07:16:50 ---> Running in 0582fc5898ab 07:16:51 Removing intermediate container 0582fc5898ab 07:16:51 ---> ca028d3d060f 07:16:51 Step 15/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /usr/local/bin/device-simple 07:16:52 ---> 72f643806c34 07:16:52 Step 16/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/configuration.toml /res/configuration.toml 07:16:53 ---> e544f0fbad4a 07:16:53 Step 17/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/Simple-Driver.yaml /res/Simple-Driver.yaml 07:16:53 ---> a90b4d6d59de 07:16:53 Step 18/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/on.png /res/on.png 07:16:54 ---> 6c647d7905b7 07:16:54 Step 19/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/off.jpg /res/off.jpg 07:16:55 ---> b7a72780481d 07:16:55 Step 20/24 : ENTRYPOINT ["/usr/local/bin/device-simple"] 07:16:55 ---> Running in 265b8ee74221 07:16:55 Removing intermediate container 265b8ee74221 07:16:55 ---> 84949e05a58a 07:16:55 Step 21/24 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] 07:16:55 ---> Running in 49c164dadea6 07:16:56 Removing intermediate container 49c164dadea6 07:16:56 ---> 590aef213683 07:16:56 Step 22/24 : LABEL arch=arm64 07:16:56 ---> Running in d7eb204e801a 07:16:57 Removing intermediate container d7eb204e801a 07:16:57 ---> 516e32e6e35e 07:16:57 Step 23/24 : LABEL git_sha=afe37b68d0e09581a5b87c19efbb6e049d7ddff9 07:16:57 ---> Running in 2fb2d15c1c0c 07:16:57 Removing intermediate container 2fb2d15c1c0c 07:16:57 ---> 9c22b5757ae1 07:16:57 Step 24/24 : LABEL version=0.0.0 07:16:57 ---> Running in 2f3e3c5a30d1 07:16:58 Removing intermediate container 2f3e3c5a30d1 07:16:58 ---> e9dcd79040f8 07:16:58 [Warning] One or more build-args [ARCH] were not consumed 07:16:58 Successfully built e9dcd79040f8 07:16:58 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 07:16:59 ---> job-cost.sh 07:16:59 lf-activate-venv(): INFO: Creating python3 venv at /tmp/venv-tLxB 07:17:38 lf-activate-venv(): INFO: Installing: zipp==1.1.0 python-openstackclient 07:19:15 lf-activate-venv(): INFO: Adding /tmp/venv-tLxB/bin to PATH 07:19:15 INFO: No Stack... 07:19:15 INFO: Retrieving Pricing Info for: lf-standard-4 07:19:15 INFO: Archiving Costs [Pipeline] sh 07:19:15 + cat /w/workspace/device-sdk-go/1/archives/cost.csv 07:19:15 + cut -d, -f6 [Pipeline] lock 07:19:15 Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-PR-816-1-stack-cost] 07:19:15 Resource [jenkins-edgexfoundry-device-sdk-go-PR-816-1-stack-cost] did not exist. Created. 07:19:15 Lock acquired on [jenkins-edgexfoundry-device-sdk-go-PR-816-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 07:19:16 /w/workspace/device-sdk-go/1@tmp/durable-03b1840e/script.sh: 1: /w/workspace/device-sdk-go/1@tmp/durable-03b1840e/script.sh: Syntax error: Unterminated quoted string [Pipeline] sh 07:19:16 + echo total: 0.20999999344348907 [Pipeline] stash 07:19:16 Warning: overwriting stash ‘stack-cost’ 07:19:16 Stashed 1 file(s) [Pipeline] } 07:19:16 Lock released on resource [jenkins-edgexfoundry-device-sdk-go-PR-816-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 07:19:19 provisioning config files... 07:19:19 copy managed file [device-sdk-go-codecov-token] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-816@tmp/config5520575323794332216tmp [Pipeline] { [Pipeline] sh 07:19:19 + set +x 07:19:19 + curl -s https://codecov.io/bash 07:19:19 + bash -s -- 07:19:19 07:19:19 _____ _ 07:19:19 / ____| | | 07:19:19 | | ___ __| | ___ ___ _____ __ 07:19:19 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 07:19:19 | |___| (_) | (_| | __/ (_| (_) \ V / 07:19:19 \_____\___/ \__,_|\___|\___\___/ \_/ 07:19:19 Bash-20210309-2b87ace 07:19:19 07:19:19 07:19:19 ==> git version 2.24.3 found 07:19:19 ==> 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 07:19:19 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtsp scp sftp smtp smtps telnet tftp 07:19:19 Features: AsynchDNS GSS-Negotiate IDN IPv6 Largefile NTLM NTLM_WB SSL libz unix-sockets 07:19:19 ==> Jenkins CI detected. 07:19:19 project root: . 07:19:19 --> token set from env 07:19:19 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 07:19:19 ==> Running gcov in . (disable via -X gcov) 07:19:19 ==> Python coveragepy not found 07:19:19 ==> Searching for coverage reports in: 07:19:19 + . 07:19:19 -> Found 1 reports 07:19:19 ==> Detecting git/mercurial file structure 07:19:19 ==> Reading reports 07:19:19 + ./coverage.out bytes=102032 07:19:19 ==> Appending adjustments 07:19:19 https://docs.codecov.io/docs/fixing-reports 07:19:20 + Found adjustments 07:19:20 ==> Gzipping contents 07:19:20 16K /tmp/codecov.GloFeA.gz 07:19:20 ==> Uploading reports 07:19:20 url: https://codecov.io 07:19:20 query: branch=PR-816&commit=afe37b68d0e09581a5b87c19efbb6e049d7ddff9&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-816%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=816&job=&cmd_args= 07:19:20 -> Pinging Codecov 07:19:20 https://codecov.io/upload/v4?package=bash-20210309-2b87ace&token=secret&branch=PR-816&commit=afe37b68d0e09581a5b87c19efbb6e049d7ddff9&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-816%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=816&job=&cmd_args= 07:19:21 -> Uploading to 07:19:21 https://storage.googleapis.com/codecov/v4/raw/2021-03-12/7E55EF52A471D76F132DFD9A03CDDE97/afe37b68d0e09581a5b87c19efbb6e049d7ddff9/865638e7-a21d-42d6-acc4-e7d0bfcb088c.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EQX6OZVJGHKK3633AAFGLBUCOOATRACRQRQF6HMSMLYUP6EAD6XSWAAY%2F20210312%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20210312T071920Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=d4b58b8b9fab3a6f62cc72d88e3f8410f2f0b4b47dc2fa41ced18cedc9fa1c14 07:19:21 % Total % Received % Xferd Average Speed Time Time Time Current 07:19:21 Dload Upload Total Spent Left Speed 07:19:21 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 15136 0 0 100 15136 0 30208 --:--:-- --:--:-- --:--:-- 30272 07:19:21 -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/device-sdk-go/commit/afe37b68d0e09581a5b87c19efbb6e049d7ddff9 [Pipeline] } 07:19:21 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 07:19:25 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 07:19:25 ---> package-listing.sh 07:19:25 ++ facter osfamily 07:19:25 ++ tr '[:upper:]' '[:lower:]' 07:19:25 + OS_FAMILY=redhat 07:19:25 + workspace=/w/workspace/dgexfoundry_device-sdk-go_PR-816 07:19:25 + START_PACKAGES=/tmp/packages_start.txt 07:19:25 + END_PACKAGES=/tmp/packages_end.txt 07:19:25 + DIFF_PACKAGES=/tmp/packages_diff.txt 07:19:25 + PACKAGES=/tmp/packages_start.txt 07:19:25 + '[' /w/workspace/dgexfoundry_device-sdk-go_PR-816 ']' 07:19:25 + PACKAGES=/tmp/packages_end.txt 07:19:25 + case "${OS_FAMILY}" in 07:19:25 + rpm -qa 07:19:25 + sort 07:19:30 + '[' -f /tmp/packages_start.txt ']' 07:19:30 + '[' -f /tmp/packages_end.txt ']' 07:19:30 + diff /tmp/packages_start.txt /tmp/packages_end.txt 07:19:30 + '[' /w/workspace/dgexfoundry_device-sdk-go_PR-816 ']' 07:19:30 + mkdir -p /w/workspace/dgexfoundry_device-sdk-go_PR-816/archives/ 07:19:30 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/dgexfoundry_device-sdk-go_PR-816/archives/ [Pipeline] echo 07:19:30 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-816/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 07:19:31 + facter operatingsystem [Pipeline] isUnix [Pipeline] sh 07:19:31 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 07:19:31 07:19:31 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh 07:19:31 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 07:19:31 alpine: Pulling from edgex-lftools-log-publisher 07:19:31 df20fa9351a1: Pulling fs layer 07:19:31 36b3adc4ff6f: Pulling fs layer 07:19:31 8ad3a11d3b57: Pulling fs layer 07:19:31 46f8f816bc3b: Pulling fs layer 07:19:31 93b61091891f: Pulling fs layer 07:19:31 93b9cdb0e59b: Pulling fs layer 07:19:31 5e14af77c1be: Pulling fs layer 07:19:31 01666e4c0597: Pulling fs layer 07:19:31 aa168da1d23b: Pulling fs layer 07:19:31 46f8f816bc3b: Waiting 07:19:31 93b61091891f: Waiting 07:19:31 93b9cdb0e59b: Waiting 07:19:31 5e14af77c1be: Waiting 07:19:31 01666e4c0597: Waiting 07:19:31 aa168da1d23b: Waiting 07:19:31 36b3adc4ff6f: Download complete 07:19:31 46f8f816bc3b: Verifying Checksum 07:19:31 46f8f816bc3b: Download complete 07:19:31 df20fa9351a1: Verifying Checksum 07:19:32 93b9cdb0e59b: Verifying Checksum 07:19:32 93b9cdb0e59b: Download complete 07:19:32 5e14af77c1be: Verifying Checksum 07:19:32 5e14af77c1be: Download complete 07:19:32 01666e4c0597: Verifying Checksum 07:19:32 01666e4c0597: Download complete 07:19:32 93b61091891f: Verifying Checksum 07:19:32 93b61091891f: Download complete 07:19:32 8ad3a11d3b57: Verifying Checksum 07:19:32 8ad3a11d3b57: Download complete 07:19:32 df20fa9351a1: Pull complete 07:19:32 36b3adc4ff6f: Pull complete 07:19:33 8ad3a11d3b57: Pull complete 07:19:33 46f8f816bc3b: Pull complete 07:19:34 aa168da1d23b: Verifying Checksum 07:19:34 aa168da1d23b: Download complete 07:19:34 93b61091891f: Pull complete 07:19:34 93b9cdb0e59b: Pull complete 07:19:34 5e14af77c1be: Pull complete 07:19:34 01666e4c0597: Pull complete 07:19:41 aa168da1d23b: Pull complete 07:19:41 Digest: sha256:ac41798234670a79351fc13b8232b4dbeccc6fb1f122f5db5169d11b1762ca7c 07:19:41 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 07:19:41 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer 07:19:41 prd-centos7-docker-4c-2g-29618 does not seem to be running inside a container 07:19:41 $ 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-816/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-816 -v /w/workspace/dgexfoundry_device-sdk-go_PR-816:/w/workspace/dgexfoundry_device-sdk-go_PR-816:rw,z -v /w/workspace/dgexfoundry_device-sdk-go_PR-816@tmp:/w/workspace/dgexfoundry_device-sdk-go_PR-816@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 07:19:45 $ docker top 2d8172719cd51ed9204b386ccc9847e018aad7b49dce38752fc0e35fb4175c4a -eo pid,comm [Pipeline] { [Pipeline] sh 07:19:45 + touch /tmp/pre-build-complete [Pipeline] sh 07:19:45 + mkdir -p /var/log/sa [Pipeline] sh 07:19:46 + ls /var/log/sa-host 07:19:46 + sadf -c /var/log/sa-host/sa12 07:19:46 file_magic: OK 07:19:46 HZ: Using current value: 100 07:19:46 file_header: OK 07:19: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 07:19:46 Statistics: 07:19:46 HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... 07:19:46 File successfully converted to sysstat format version 12.2.1 07:19:46 + sadf -c /var/log/sa-host/sa23 07:19:46 file_magic: OK 07:19:46 HZ: Using current value: 100 07:19:46 file_header: OK 07:19: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 07:19:46 Statistics: 07:19:46 Hnuu...uuuununununu... 07:19:46 File successfully converted to sysstat format version 12.2.1 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 07:19:47 provisioning config files... 07:19:47 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-816@tmp/config7812764051550321428tmp [Pipeline] { [Pipeline] echo 07:19:47 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 07:19:47 ---> create-netrc.sh [Pipeline] } 07:19:47 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] echo 07:19:47 Running shell/python-tools-install.sh [Pipeline] libraryResource [Pipeline] sh 07:19:48 ---> python-tools-install.sh [Pipeline] echo 07:19:48 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 07:19:48 ---> sudo-logs.sh 07:19:48 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 07:19:48 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 07:19:48 ---> job-cost.sh 07:19:48 lf-activate-venv: SKIPPING 07:19:48 DEBUG: total: 0.20999999344348907 07:19:48 INFO: Retrieving Stack Cost... 07:19:49 INFO: Retrieving Pricing Info for: v1-standard-2 07:19:50 INFO: Archiving Costs [Pipeline] echo 07:19:50 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 07:19:50 ---> logs-deploy.sh 07:19:50 lf-activate-venv: SKIPPING 07:19:50 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-816/1 07:19:50 INFO: archiving workspace using pattern(s): 07:19:52 Archives upload complete. 07:19:52 INFO: archiving logs to Nexus