Pull request #947 opened Connecting to https://api.github.com using edgex-jenkins/****** (edgex-jenkins github personal access token) Obtained Jenkinsfile from a0faaf100a45f710ac8d37cc291467948e5b160e+f9e550b20f5a93948f1e6d0294bcd4043c76663f (ab23fb2d48189f2fc9c782e584665c740619d03c) 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 [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > git /usr/bin/chcon --type=ssh_home_t /tmp/jenkins-gitclient-ssh5582238306163536438.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 9d0281235b943b7ad605f650702698f9078b2862 Resolving tag commit... (remote references may be a lightweight tag or an annotated tag) > git rev-parse --resolve-git-dir /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f/.git # 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 [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > git /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f@tmp/jenkins-gitclient-ssh6704962974493209762.key > 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 9d0281235b943b7ad605f650702698f9078b2862 The recommended git tool is: git 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-947/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 [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > git /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-sdk-go/branches/PR-947/workspace@libs/edgex-global-pipelines@tmp/jenkins-gitclient-ssh7198117759501275995.key > 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 [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > git /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-sdk-go/branches/PR-947/workspace@libs/edgex-global-pipelines@tmp/jenkins-gitclient-ssh6445407899016996428.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 9d0281235b943b7ad605f650702698f9078b2862 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 9d0281235b943b7ad605f650702698f9078b2862 # timeout=10 Commit message: "Merge pull request #315 from ernestojeda/rename-docker-images-again" > 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 [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > git /usr/bin/chcon --type=ssh_home_t /tmp/jenkins-gitclient-ssh150517317727630209.key > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision 46d8313d362d7075c0f562900eedc504c24ea18a The recommended git tool is: NONE 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-947/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 [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > git /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-sdk-go/branches/PR-947/workspace@libs/lf-pipelines@tmp/jenkins-gitclient-ssh120283647469992885.key > 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 Avoid second fetch 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 9d0281235b943b7ad605f650702698f9078b2862 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:device-sdk-simple, dockerFilePath:example/cmd/device-simple/Dockerfile, pushImage:false, publishSwaggerDocs:true, swaggerApiFolders:[openapi/v1, openapi/v2]] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[centos7-docker-4c-2g, ubuntu18.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-sdk-go-settings PROJECT: device-sdk-go USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.16 GOPROXY: https://nexus3.edgexfoundry.org/repository/go-proxy/ DOCKER_BASE_IMAGE: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine DOCKER_FILE_PATH: example/cmd/device-simple/Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_IMAGE_NAME: 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 ‘prd-centos7-docker-4c-2g-309’ is offline Running on prd-centos7-docker-4c-2g-589 in /w/workspace/dgexfoundry_device-sdk-go_PR-947 [Pipeline] { [Pipeline] stage [Pipeline] { (Declarative: Checkout SCM) [Pipeline] checkout Selected Git installation does not exist. Using Default The recommended git tool is: NONE 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-947 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git > git --version # timeout=10 > git --version # 'git version 2.24.4' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > git /usr/bin/chcon --type=ssh_home_t /w/workspace/dgexfoundry_device-sdk-go_PR-947@tmp/jenkins-gitclient-ssh1151954789693851676.key > 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 [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > git /usr/bin/chcon --type=ssh_home_t /w/workspace/dgexfoundry_device-sdk-go_PR-947@tmp/jenkins-gitclient-ssh620950193214160641.key > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/947/head:refs/remotes/origin/PR-947 +refs/heads/master:refs/remotes/origin/master # timeout=10 Merging remotes/origin/master commit f9e550b20f5a93948f1e6d0294bcd4043c76663f into PR head commit a0faaf100a45f710ac8d37cc291467948e5b160e Merge succeeded, producing a0faaf100a45f710ac8d37cc291467948e5b160e Checking out Revision a0faaf100a45f710ac8d37cc291467948e5b160e (PR-947) > git config core.sparsecheckout # timeout=10 > git checkout -f a0faaf100a45f710ac8d37cc291467948e5b160e # timeout=10 > git remote # timeout=10 > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > git /usr/bin/chcon --type=ssh_home_t /w/workspace/dgexfoundry_device-sdk-go_PR-947@tmp/jenkins-gitclient-ssh1777636394577637721.key > git merge f9e550b20f5a93948f1e6d0294bcd4043c76663f # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f a0faaf100a45f710ac8d37cc291467948e5b160e # timeout=10 Commit message: "build(deps): bump github.com/edgexfoundry/go-mod-bootstrap/v2" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.24.4' fatal: bad object 9d0281235b943b7ad605f650702698f9078b2862 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 05:46:07 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 05:46:07 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 05:46:07 ========================================================= 05:46:07 EdgeX Global Pipelines Version Info 05:46:07 ========================================================= [Pipeline] libraryResource [Pipeline] sh 05:46:09 ------------------- 05:46:09 stable info: 05:46:09 ------------------- 05:46:09 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 05:46:09 Commit SHA: 9d0281235b943b7ad605f650702698f9078b2862 05:46:09 Message: update stable to v1.0.192 05:46:10 ------------------- 05:46:10 experimental info: 05:46:10 ------------------- 05:46:10 Commited By: **** collab-it+edgex@linuxfoundation.org 05:46:10 Commit SHA: 9d0281235b943b7ad605f650702698f9078b2862 05:46:10 Message: update experimental to v1.0.192 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 05:46:10 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-go-settings [Pipeline] echo 05:46:10 [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-go [Pipeline] echo 05:46:10 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 05:46:10 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 05:46:10 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 05:46:10 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.16 [Pipeline] echo 05:46:10 [edgeXSetupEnvironment]: set envvar GOPROXY = https://nexus3.edgexfoundry.org/repository/go-proxy/ [Pipeline] echo 05:46:10 [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine [Pipeline] echo 05:46:10 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = example/cmd/device-simple/Dockerfile [Pipeline] echo 05:46:10 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 05:46:10 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 05:46:10 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-sdk-simple [Pipeline] echo 05:46:10 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 05:46:11 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 05:46:11 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 05:46:11 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo 05:46:11 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 05:46:11 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 05:46:11 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 05:46:11 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 05:46:11 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo 05:46:11 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 openapi/v2 [Pipeline] echo 05:46:11 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 05:46:11 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 05:46:11 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 05:46:11 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 05:46:11 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-947 [Pipeline] echo 05:46:11 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-947 [Pipeline] echo 05:46:11 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-947 [Pipeline] echo 05:46:12 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = a0faaf100a45f710ac8d37cc291467948e5b160e [Pipeline] echo 05:46:12 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = a0faaf1 [Pipeline] echo 05:46:12 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 05:46:12 provisioning config files... 05:46:12 copy managed file [device-sdk-go-settings] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-947@tmp/config5771531268236531551tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 05:46:12 ---> docker-login.sh 05:46:12 nexus3.edgexfoundry.org:10001 05:46:12 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:46:12 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:46:12 Configure a credential helper to remove this warning. See 05:46:12 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:46:12 05:46:12 Login Succeeded 05:46:12 nexus3.edgexfoundry.org:10002 05:46:12 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:46:12 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:46:12 Configure a credential helper to remove this warning. See 05:46:12 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:46:12 05:46:12 Login Succeeded 05:46:12 nexus3.edgexfoundry.org:10003 05:46:13 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:46:13 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:46:13 Configure a credential helper to remove this warning. See 05:46:13 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:46:13 05:46:13 Login Succeeded 05:46:13 nexus3.edgexfoundry.org:10004 05:46:13 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:46:13 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:46:13 Configure a credential helper to remove this warning. See 05:46:13 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:46:13 05:46:13 Login Succeeded 05:46:13 docker.io 05:46:13 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:46:13 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:46:13 Configure a credential helper to remove this warning. See 05:46:13 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:46:13 05:46:13 Login Succeeded 05:46:13 ---> docker-login.sh ends [Pipeline] } 05:46:13 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 05:46:14 + git log --format=format:%s -1 a0faaf100a45f710ac8d37cc291467948e5b160e [Pipeline] echo 05:46:14 GIT_COMMIT: a0faaf100a45f710ac8d37cc291467948e5b160e, Commit Message: build(deps): bump github.com/edgexfoundry/go-mod-bootstrap/v2 [Pipeline] echo 05:46:14 This is not a build commit. [Pipeline] isUnix [Pipeline] sh 05:46:15 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 05:46:15 05:46:15 Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh 05:46:15 + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 05:46:15 latest: Pulling from edgex-devops/git-semver 05:46:15 31603596830f: Pulling fs layer 05:46:15 54011a49482f: Pulling fs layer 05:46:15 a6820b24f6d8: Pulling fs layer 05:46:15 f581987b2513: Pulling fs layer 05:46:15 f581987b2513: Waiting 05:46:15 54011a49482f: Verifying Checksum 05:46:15 54011a49482f: Download complete 05:46:15 31603596830f: Verifying Checksum 05:46:15 31603596830f: Download complete 05:46:15 f581987b2513: Verifying Checksum 05:46:15 f581987b2513: Download complete 05:46:15 a6820b24f6d8: Verifying Checksum 05:46:15 a6820b24f6d8: Download complete 05:46:16 31603596830f: Pull complete 05:46:16 54011a49482f: Pull complete 05:46:16 a6820b24f6d8: Pull complete 05:46:17 f581987b2513: Pull complete 05:46:17 Digest: sha256:772af3cb61214e5a22880db9bb273bb039d0aa3a8f4edfa0c1def8b4e20ea536 05:46:17 Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 05:46:17 nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer 05:46:17 prd-centos7-docker-4c-2g-589 does not seem to be running inside a container 05:46:17 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/dgexfoundry_device-sdk-go_PR-947 -v /w/workspace/dgexfoundry_device-sdk-go_PR-947:/w/workspace/dgexfoundry_device-sdk-go_PR-947:rw,z -v /w/workspace/dgexfoundry_device-sdk-go_PR-947@tmp:/w/workspace/dgexfoundry_device-sdk-go_PR-947@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat 05:46:18 $ docker top 4e8733ae0b4507beabbbfb4e8e8e0e9a0b0d62760f4b10c178eb158b7d08b79c -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 05:46:18 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 05:46:18 [ssh-agent] Looking for ssh-agent implementation... 05:46:18 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 05:46:18 $ docker exec 4e8733ae0b4507beabbbfb4e8e8e0e9a0b0d62760f4b10c178eb158b7d08b79c ssh-agent 05:46:19 SSH_AUTH_SOCK=/tmp/ssh-0oOuZbX23ODl/agent.14 05:46:19 SSH_AGENT_PID=20 05:46:19 Running ssh-add (command line suppressed) 05:46:19 Identity added: /w/workspace/dgexfoundry_device-sdk-go_PR-947@tmp/private_key_2354469590696780203.key (/w/workspace/dgexfoundry_device-sdk-go_PR-947@tmp/private_key_2354469590696780203.key) 05:46:19 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 05:46:19 + git tag --points-at HEAD [Pipeline] } 05:46:19 $ docker exec --env ******** --env ******** 4e8733ae0b4507beabbbfb4e8e8e0e9a0b0d62760f4b10c178eb158b7d08b79c ssh-agent -k 05:46:19 unset SSH_AUTH_SOCK; 05:46:19 unset SSH_AGENT_PID; 05:46:19 echo Agent pid 20 killed; 05:46:19 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 05:46:19 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 05:46:19 [ssh-agent] Looking for ssh-agent implementation... 05:46:19 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 05:46:19 $ docker exec 4e8733ae0b4507beabbbfb4e8e8e0e9a0b0d62760f4b10c178eb158b7d08b79c ssh-agent 05:46:20 SSH_AUTH_SOCK=/tmp/ssh-giMEPmaHdcm7/agent.53 05:46:20 SSH_AGENT_PID=59 05:46:20 Running ssh-add (command line suppressed) 05:46:20 Identity added: /w/workspace/dgexfoundry_device-sdk-go_PR-947@tmp/private_key_5784587294821324935.key (/w/workspace/dgexfoundry_device-sdk-go_PR-947@tmp/private_key_5784587294821324935.key) 05:46:20 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 05:46:20 + git semver init 05:46:20 # -> Open(): unable to determine branch for HEAD 05:46:20 # $GIT_DIR = /w/workspace/dgexfoundry_device-sdk-go_PR-947/.git 05:46:20 # $GIT_WORK_TREE = /w/workspace/dgexfoundry_device-sdk-go_PR-947 05:46:20 # $SEMVER_REMOTE_NAME = origin 05:46:20 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 05:46:20 # $SEMVER_USER_NAME = edgex-jenkins 05:46:20 # $SEMVER_BRANCH = PR-947 05:46:20 # $SEMVER_TEMP = /tmp/semver-291756640 05:46:20 # git clone --branch semver git@github.com:edgexfoundry/device-sdk-go.git $SEMVER_TEMP 05:46:21 # '/tmp/semver-291756640' -> '/w/workspace/dgexfoundry_device-sdk-go_PR-947/.semver' 05:46:21 # -> Force: false 05:46:21 # $SEMVER_DIR = /w/workspace/dgexfoundry_device-sdk-go_PR-947/.semver [Pipeline] } 05:46:21 $ docker exec --env ******** --env ******** 4e8733ae0b4507beabbbfb4e8e8e0e9a0b0d62760f4b10c178eb158b7d08b79c ssh-agent -k 05:46:21 unset SSH_AUTH_SOCK; 05:46:21 unset SSH_AGENT_PID; 05:46:21 echo Agent pid 59 killed; 05:46:21 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 05:46:22 + git semver [Pipeline] } 05:46:22 $ docker stop --time=1 4e8733ae0b4507beabbbfb4e8e8e0e9a0b0d62760f4b10c178eb158b7d08b79c 05:46:23 $ docker rm -f 4e8733ae0b4507beabbbfb4e8e8e0e9a0b0d62760f4b10c178eb158b7d08b79c [Pipeline] // withDockerContainer [Pipeline] sh 05:46:23 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 05:46:24 Stashed 1 file(s) [Pipeline] echo 05:46:24 [edgeXSemver]: initialized semver on version 0.0.0 [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] parallel [Pipeline] { (Branch: amd64) [Pipeline] { (Branch: arm64) [Pipeline] stage [Pipeline] { (amd64) [Pipeline] stage [Pipeline] { (arm64) [Pipeline] node [Pipeline] node 05:46:39 Still waiting to schedule task 05:46:39 Waiting for next available executor on ‘centos7-docker-4c-2g’ 05:46:39 Still waiting to schedule task 05:46:39 ‘prd-ubuntu18.04-docker-arm64-4c-16g-590’ is offline 05:48:07 Running on prd-centos7-docker-4c-2g-592 in /w/workspace/dgexfoundry_device-sdk-go_PR-947 [Pipeline] { [Pipeline] ws 05:48:07 Running in /w/workspace/device-sdk-go/1 [Pipeline] { [Pipeline] checkout 05:48:07 Selected Git installation does not exist. Using Default 05:48:07 The recommended git tool is: NONE 05:48:10 using credential edgex-jenkins-ssh 05:48:10 Cloning the remote Git repository 05:48:10 Cloning repository git@github.com:edgexfoundry/device-sdk-go.git 05:48:10 > git init /w/workspace/device-sdk-go/1 # timeout=10 05:48:10 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 05:48:10 > git --version # timeout=10 05:48:10 > git --version # 'git version 2.24.4' 05:48:10 using GIT_SSH to set credentials SSH Credentials for GitHub 05:48:10 [INFO] Currently running in a labeled security context 05:48:10 [INFO] Currently SELinux is 'enforcing' on the host 05:48:10 > git /usr/bin/chcon --type=ssh_home_t /w/workspace/device-sdk-go/1@tmp/jenkins-gitclient-ssh1267615277831345478.key 05:48:10 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 05:48:11 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 05:48:11 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 05:48:11 Merging remotes/origin/master commit f9e550b20f5a93948f1e6d0294bcd4043c76663f into PR head commit a0faaf100a45f710ac8d37cc291467948e5b160e 05:48:11 Merge succeeded, producing a0faaf100a45f710ac8d37cc291467948e5b160e 05:48:11 Checking out Revision a0faaf100a45f710ac8d37cc291467948e5b160e (PR-947) 05:48:11 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 05:48:11 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 05:48:11 using GIT_SSH to set credentials SSH Credentials for GitHub 05:48:11 [INFO] Currently running in a labeled security context 05:48:11 [INFO] Currently SELinux is 'enforcing' on the host 05:48:11 > git /usr/bin/chcon --type=ssh_home_t /w/workspace/device-sdk-go/1@tmp/jenkins-gitclient-ssh4136900741327820662.key 05:48:11 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/947/head:refs/remotes/origin/PR-947 +refs/heads/master:refs/remotes/origin/master # timeout=10 05:48:11 > git config core.sparsecheckout # timeout=10 05:48:11 > git checkout -f a0faaf100a45f710ac8d37cc291467948e5b160e # timeout=10 05:48:11 > git remote # timeout=10 05:48:11 > git config --get remote.origin.url # timeout=10 05:48:11 using GIT_SSH to set credentials SSH Credentials for GitHub 05:48:11 [INFO] Currently running in a labeled security context 05:48:11 [INFO] Currently SELinux is 'enforcing' on the host 05:48:11 > git /usr/bin/chcon --type=ssh_home_t /w/workspace/device-sdk-go/1@tmp/jenkins-gitclient-ssh9180069527062498470.key 05:48:11 > git merge f9e550b20f5a93948f1e6d0294bcd4043c76663f # timeout=10 05:48:11 > git rev-parse HEAD^{commit} # timeout=10 05:48:11 > git config core.sparsecheckout # timeout=10 05:48:11 > git checkout -f a0faaf100a45f710ac8d37cc291467948e5b160e # timeout=10 05:48:15 Commit message: "build(deps): bump github.com/edgexfoundry/go-mod-bootstrap/v2" 05:48:15 > git --version # timeout=10 05:48:15 > git --version # 'git version 2.24.4' 05:48:15 fatal: bad object 9d0281235b943b7ad605f650702698f9078b2862 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 05:48:16 + sudo jq '. + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false}' /etc/docker/daemon.json [Pipeline] sh 05:48:17 + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh 05:48:17 + true 05:48:17 + sudo service docker restart 05:48:17 Redirecting to /bin/systemctl restart docker.service [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 05:48:35 provisioning config files... 05:48:35 copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/1@tmp/config7967146426088420386tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 05:48:36 ---> docker-login.sh 05:48:36 nexus3.edgexfoundry.org:10001 05:48:36 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:48:36 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:48:36 Configure a credential helper to remove this warning. See 05:48:36 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:48:36 05:48:36 Login Succeeded 05:48:36 nexus3.edgexfoundry.org:10002 05:48:36 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:48:37 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:48:37 Configure a credential helper to remove this warning. See 05:48:37 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:48:37 05:48:37 Login Succeeded 05:48:37 nexus3.edgexfoundry.org:10003 05:48:37 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:48:37 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:48:37 Configure a credential helper to remove this warning. See 05:48:37 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:48:37 05:48:37 Login Succeeded 05:48:37 nexus3.edgexfoundry.org:10004 05:48:37 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:48:37 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:48:37 Configure a credential helper to remove this warning. See 05:48:37 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:48:37 05:48:37 Login Succeeded 05:48:37 docker.io 05:48:37 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:48:37 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:48:37 Configure a credential helper to remove this warning. See 05:48:37 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:48:37 05:48:37 Login Succeeded 05:48:37 ---> docker-login.sh ends [Pipeline] } 05:48:37 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 05:48:37 ========================================================= 05:48:37 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine] 05:48:37 ========================================================= [Pipeline] isUnix [Pipeline] sh 05:48:38 + docker build -t ci-base-image-x86_64 -f Dockerfile.build --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine . 05:48:38 Sending build context to Docker daemon 2.618MB 05:48:38 Step 1/8 : ARG BASE=golang:1.16-alpine3.12 05:48:38 Step 2/8 : FROM ${BASE} 05:48:38 1.16-alpine: Pulling from edgex-devops/edgex-golang-base 05:48:38 540db60ca938: Pulling fs layer 05:48:38 adcc1eea9eea: Pulling fs layer 05:48:38 4c4ab2625f07: Pulling fs layer 05:48:38 0510c868ecb4: Pulling fs layer 05:48:38 afea3b2eda06: Pulling fs layer 05:48:38 7809a108b3ef: Pulling fs layer 05:48:38 f706445af74f: Pulling fs layer 05:48:38 afea3b2eda06: Waiting 05:48:38 7809a108b3ef: Waiting 05:48:38 f706445af74f: Waiting 05:48:38 0510c868ecb4: Waiting 05:48:38 4c4ab2625f07: Verifying Checksum 05:48:38 4c4ab2625f07: Download complete 05:48:38 adcc1eea9eea: Verifying Checksum 05:48:38 adcc1eea9eea: Download complete 05:48:38 afea3b2eda06: Verifying Checksum 05:48:38 afea3b2eda06: Download complete 05:48:38 7809a108b3ef: Verifying Checksum 05:48:38 7809a108b3ef: Download complete 05:48:38 540db60ca938: Verifying Checksum 05:48:38 540db60ca938: Download complete 05:48:38 540db60ca938: Pull complete 05:48:39 adcc1eea9eea: Pull complete 05:48:39 4c4ab2625f07: Pull complete 05:48:40 f706445af74f: Verifying Checksum 05:48:40 f706445af74f: Download complete 05:48:40 0510c868ecb4: Verifying Checksum 05:48:40 0510c868ecb4: Download complete 05:48:45 0510c868ecb4: Pull complete 05:48:45 afea3b2eda06: Pull complete 05:48:45 7809a108b3ef: Pull complete 05:48:46 f706445af74f: Pull complete 05:48:46 Digest: sha256:3789524f83b4b99ff44900c39f6da7fc44f99660cd9adf292610dec398b137f4 05:48:46 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine 05:48:46 ---> b068be0155e3 05:48:46 Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 05:48:58 ---> Running in bc196a16c4a8 05:48:58 Removing intermediate container bc196a16c4a8 05:48:58 ---> 798aaa758ff7 05:48:58 Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 05:48:58 ---> Running in 85b60b0e043b 05:48:58 Removing intermediate container 85b60b0e043b 05:48:58 ---> 8f7b1e897a07 05:48:58 Step 5/8 : RUN apk add --update --no-cache make git gcc libc-dev libsodium-dev zeromq-dev 05:48:58 ---> Running in 8608a5abe84c 05:48:59 fetch https://nl.alpinelinux.org/alpine/v3.13/main/x86_64/APKINDEX.tar.gz 05:49:00 fetch https://nl.alpinelinux.org/alpine/v3.13/community/x86_64/APKINDEX.tar.gz 05:49:01 (1/6) Installing libc-dev (0.7.2-r3) 05:49:01 (2/6) Installing libsodium (1.0.18-r0) 05:49:01 (3/6) Installing pkgconf (1.7.3-r0) 05:49:01 (4/6) Installing libsodium-dev (1.0.18-r0) 05:49:01 (5/6) Installing libzmq (4.3.3-r1) 05:49:01 (6/6) Installing zeromq-dev (4.3.3-r1) 05:49:01 Executing busybox-1.32.1-r6.trigger 05:49:01 OK: 150 MiB in 46 packages 05:49:01 Removing intermediate container 8608a5abe84c 05:49:01 ---> 0c60c7cf66cc 05:49:01 Step 6/8 : WORKDIR /device-sdk-go 05:49:02 ---> Running in 55a52cd15f13 05:49:02 Removing intermediate container 55a52cd15f13 05:49:02 ---> 17852ced874e 05:49:02 Step 7/8 : COPY . . 05:49:03 ---> 7b45a138efc8 05:49:03 Step 8/8 : RUN go mod download 05:49:03 ---> Running in fedd15027d15 05:49:29 Removing intermediate container fedd15027d15 05:49:29 ---> a46da00fcade 05:49:29 Successfully built a46da00fcade 05:49:29 Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh 05:49:30 + docker inspect -f . ci-base-image-x86_64 05:49:30 . [Pipeline] withDockerContainer 05:49:30 prd-centos7-docker-4c-2g-592 does not seem to be running inside a container 05:49:30 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/1 -v /w/workspace/device-sdk-go/1:/w/workspace/device-sdk-go/1:rw,z -v /w/workspace/device-sdk-go/1@tmp:/w/workspace/device-sdk-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 05:49:31 $ docker top bf04b51ca18f6f60f3caa3c4e5246d12e8267291ddf7659050aee1e306106d79 -eo pid,comm [Pipeline] { [Pipeline] sh 05:49:31 + go version 05:49:31 go version go1.16.3 linux/amd64 [Pipeline] } 05:49:31 $ docker stop --time=1 bf04b51ca18f6f60f3caa3c4e5246d12e8267291ddf7659050aee1e306106d79 05:49:32 $ docker rm -f bf04b51ca18f6f60f3caa3c4e5246d12e8267291ddf7659050aee1e306106d79 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 05:49:33 + docker inspect -f . ci-base-image-x86_64 05:49:33 . [Pipeline] withDockerContainer 05:49:33 prd-centos7-docker-4c-2g-592 does not seem to be running inside a container 05:49:33 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/1 -v /w/workspace/device-sdk-go/1:/w/workspace/device-sdk-go/1:rw,z -v /w/workspace/device-sdk-go/1@tmp:/w/workspace/device-sdk-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 05:49:34 $ docker top d47498ff07580e4a4d2a448546813a0a3de766b7c0f54e2ade22291dda916e06 -eo pid,comm [Pipeline] { [Pipeline] sh 05:49:34 + go mod tidy [Pipeline] sh 05:49:35 + make test 05:49:35 go mod tidy 05:49:35 GO111MODULE=on go test -race -coverprofile=coverage.out ./... 05:49:40 ? github.com/edgexfoundry/device-sdk-go/v2 [no test files] 05:49:46 Running on prd-ubuntu18.04-docker-arm64-4c-16g-594 in /w/workspace/dgexfoundry_device-sdk-go_PR-947 [Pipeline] { [Pipeline] ws 05:49:46 Running in /w/workspace/device-sdk-go/1 [Pipeline] { [Pipeline] checkout 05:49:47 Selected Git installation does not exist. Using Default 05:49:47 The recommended git tool is: NONE 05:49:52 using credential edgex-jenkins-ssh 05:49:52 Cloning the remote Git repository 05:49:52 Cloning repository git@github.com:edgexfoundry/device-sdk-go.git 05:49:52 > git init /w/workspace/device-sdk-go/1 # timeout=10 05:49:52 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 05:49:52 > git --version # timeout=10 05:49:52 > git --version # 'git version 2.17.1' 05:49:52 using GIT_SSH to set credentials SSH Credentials for GitHub 05:49:53 > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 05:49:54 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 05:49:54 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 05:49:54 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 05:49:54 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 05:49:54 using GIT_SSH to set credentials SSH Credentials for GitHub 05:49:54 > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/947/head:refs/remotes/origin/PR-947 +refs/heads/master:refs/remotes/origin/master # timeout=10 05:49:54 Merging remotes/origin/master commit f9e550b20f5a93948f1e6d0294bcd4043c76663f into PR head commit a0faaf100a45f710ac8d37cc291467948e5b160e 05:49:55 Merge succeeded, producing a0faaf100a45f710ac8d37cc291467948e5b160e 05:49:55 Checking out Revision a0faaf100a45f710ac8d37cc291467948e5b160e (PR-947) 05:49:54 > git config core.sparsecheckout # timeout=10 05:49:54 > git checkout -f a0faaf100a45f710ac8d37cc291467948e5b160e # timeout=10 05:49:55 > git remote # timeout=10 05:49:55 > git config --get remote.origin.url # timeout=10 05:49:55 using GIT_SSH to set credentials SSH Credentials for GitHub 05:49:55 > git merge f9e550b20f5a93948f1e6d0294bcd4043c76663f # timeout=10 05:49:55 > git rev-parse HEAD^{commit} # timeout=10 05:49:55 > git config core.sparsecheckout # timeout=10 05:49:55 > git checkout -f a0faaf100a45f710ac8d37cc291467948e5b160e # timeout=10 05:49:59 Commit message: "build(deps): bump github.com/edgexfoundry/go-mod-bootstrap/v2" 05:49:59 > git --version # timeout=10 05:49:59 > git --version # 'git version 2.17.1' 05:49:59 fatal: bad object 9d0281235b943b7ad605f650702698f9078b2862 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 05:50:01 + sudo jq . + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false} /etc/docker/daemon.json [Pipeline] sh 05:50:01 + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh 05:50:01 + sudo service docker restart 05:50:01 + true 05:50:02 ? github.com/edgexfoundry/device-sdk-go/v2/example/cmd/device-simple [no test files] 05:50:02 ? github.com/edgexfoundry/device-sdk-go/v2/example/config [no test files] 05:50:02 ? github.com/edgexfoundry/device-sdk-go/v2/example/driver [no test files] 05:50:05 ok github.com/edgexfoundry/device-sdk-go/v2/internal/application 0.056s coverage: 25.4% of statements 05:50:05 ? github.com/edgexfoundry/device-sdk-go/v2/internal/autodiscovery [no test files] 05:50:05 ok github.com/edgexfoundry/device-sdk-go/v2/internal/autoevent 0.059s coverage: 28.1% of statements 05:50:06 ok github.com/edgexfoundry/device-sdk-go/v2/internal/cache 0.048s coverage: 78.9% of statements 05:50:06 ok github.com/edgexfoundry/device-sdk-go/v2/internal/clients 0.042s coverage: 9.0% of statements 05:50:06 ? github.com/edgexfoundry/device-sdk-go/v2/internal/common [no test files] 05:50:06 ? github.com/edgexfoundry/device-sdk-go/v2/internal/config [no test files] 05:50:06 ? github.com/edgexfoundry/device-sdk-go/v2/internal/container [no test files] 05:50:07 ok github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http 0.065s coverage: 30.2% of statements 05:50:07 ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http/correlation [no test files] 05:50:08 ok github.com/edgexfoundry/device-sdk-go/v2/internal/messaging 1.055s coverage: 83.3% of statements 05:50:08 ? github.com/edgexfoundry/device-sdk-go/v2/internal/provision [no test files] 05:50:08 ? github.com/edgexfoundry/device-sdk-go/v2/internal/telemetry [no test files] 05:50:08 ok github.com/edgexfoundry/device-sdk-go/v2/internal/transformer 0.076s coverage: 58.0% of statements 05:50:09 ok github.com/edgexfoundry/device-sdk-go/v2/pkg/models 0.847s coverage: 89.2% of statements 05:50:09 ? github.com/edgexfoundry/device-sdk-go/v2/pkg/models/mocks [no test files] 05:50:09 ok github.com/edgexfoundry/device-sdk-go/v2/pkg/service 0.058s coverage: 5.0% of statements 05:50:09 ? github.com/edgexfoundry/device-sdk-go/v2/pkg/startup [no test files] 05:50:09 GO111MODULE=on go vet ./... [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 05:50:20 provisioning config files... 05:50:20 copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/1@tmp/config6743526563009871234tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 05:50:20 ---> docker-login.sh 05:50:20 nexus3.edgexfoundry.org:10001 05:50:21 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:50:21 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:50:21 Configure a credential helper to remove this warning. See 05:50:21 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:50:21 05:50:21 Login Succeeded 05:50:21 nexus3.edgexfoundry.org:10002 05:50:22 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:50:22 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:50:22 Configure a credential helper to remove this warning. See 05:50:22 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:50:22 05:50:22 Login Succeeded 05:50:22 nexus3.edgexfoundry.org:10003 05:50:22 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:50:23 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:50:23 Configure a credential helper to remove this warning. See 05:50:23 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:50:23 05:50:23 Login Succeeded 05:50:23 nexus3.edgexfoundry.org:10004 05:50:23 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:50:23 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:50:23 Configure a credential helper to remove this warning. See 05:50:23 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:50:23 05:50:23 Login Succeeded 05:50:23 docker.io 05:50:23 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:50:24 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:50:24 Configure a credential helper to remove this warning. See 05:50:24 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:50:24 05:50:24 Login Succeeded 05:50:24 ---> docker-login.sh ends [Pipeline] } 05:50:24 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 05:50:25 ========================================================= 05:50:25 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine] 05:50:25 ========================================================= [Pipeline] isUnix [Pipeline] sh 05:50:25 + docker build -t ci-base-image-arm64 -f Dockerfile.build --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine . 05:50:26 Sending build context to Docker daemon 2.614MB 05:50:26 Step 1/8 : ARG BASE=golang:1.16-alpine3.12 05:50:26 Step 2/8 : FROM ${BASE} 05:50:26 1.16-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 05:50:26 595b0fe564bb: Pulling fs layer 05:50:26 7186ed65a4f7: Pulling fs layer 05:50:26 316046926c0a: Pulling fs layer 05:50:26 4ebd0625c992: Pulling fs layer 05:50:26 207e8628e3a3: Pulling fs layer 05:50:26 c791037a9be2: Pulling fs layer 05:50:26 ffd874e62e21: Pulling fs layer 05:50:26 207e8628e3a3: Waiting 05:50:26 ffd874e62e21: Waiting 05:50:26 4ebd0625c992: Waiting 05:50:26 316046926c0a: Verifying Checksum 05:50:26 316046926c0a: Download complete 05:50:26 7186ed65a4f7: Verifying Checksum 05:50:26 7186ed65a4f7: Download complete 05:50:26 207e8628e3a3: Download complete 05:50:26 c791037a9be2: Download complete 05:50:26 595b0fe564bb: Verifying Checksum 05:50:26 595b0fe564bb: Download complete 05:50:27 595b0fe564bb: Pull complete 05:50:27 gofmt -l . 05:50:27 [ "`gofmt -l .`" = "" ] 05:50:27 ./bin/test-attribution-txt.sh 05:50:27 ./bin/test-go-mod-tidy.sh [Pipeline] } 05:50:27 $ docker stop --time=1 d47498ff07580e4a4d2a448546813a0a3de766b7c0f54e2ade22291dda916e06 05:50:28 7186ed65a4f7: Pull complete 05:50:28 316046926c0a: Pull complete 05:50:28 ffd874e62e21: Verifying Checksum 05:50:28 ffd874e62e21: Download complete 05:50:29 $ docker rm -f d47498ff07580e4a4d2a448546813a0a3de766b7c0f54e2ade22291dda916e06 [Pipeline] // withDockerContainer [Pipeline] sh 05:50:29 4ebd0625c992: Verifying Checksum 05:50:29 4ebd0625c992: Download complete 05:50:29 + sudo chown -R jenkins:jenkins . [Pipeline] stash 05:50:30 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 05:50:31 + sudo chown -R jenkins:jenkins . [Pipeline] sh 05:50:31 + ls -al . 05:50:31 total 208 05:50:31 drwxrwxr-x. 10 jenkins jenkins 4096 May 27 05:50 . 05:50:31 drwxrwxr-x. 4 jenkins jenkins 28 May 27 05:48 .. 05:50:31 drwxrwxr-x. 2 jenkins jenkins 64 May 27 05:48 bin 05:50:31 -rw-r--r--. 1 jenkins jenkins 126444 May 27 05:50 coverage.out 05:50:31 -rw-rw-r--. 1 jenkins jenkins 987 May 27 05:48 Dockerfile.build 05:50:31 -rw-rw-r--. 1 jenkins jenkins 140 May 27 05:48 .dockerignore 05:50:31 drwxrwxr-x. 5 jenkins jenkins 62 May 27 05:48 example 05:50:31 drwxrwxr-x. 8 jenkins jenkins 179 May 27 05:48 .git 05:50:31 drwxrwxr-x. 2 jenkins jenkins 103 May 27 05:48 .github 05:50:31 -rw-rw-r--. 1 jenkins jenkins 138 May 27 05:48 .gitignore 05:50:31 -rw-r--r--. 1 jenkins jenkins 575 May 27 05:50 go.mod 05:50:31 -rw-r--r--. 1 jenkins jenkins 20381 May 27 05:49 go.sum 05:50:31 drwxrwxr-x. 15 jenkins jenkins 224 May 27 05:48 internal 05:50:31 -rw-rw-r--. 1 jenkins jenkins 894 May 27 05:48 Jenkinsfile 05:50:31 -rw-rw-r--. 1 jenkins jenkins 11341 May 27 05:48 LICENSE 05:50:31 -rw-rw-r--. 1 jenkins jenkins 1026 May 27 05:48 Makefile 05:50:31 drwxrwxr-x. 4 jenkins jenkins 26 May 27 05:48 openapi 05:50:31 drwxrwxr-x. 5 jenkins jenkins 50 May 27 05:48 pkg 05:50:31 -rw-rw-r--. 1 jenkins jenkins 7652 May 27 05:48 README.md 05:50:31 -rw-rw-r--. 1 jenkins jenkins 6616 May 27 05:48 RELEASE-NOTES.txt 05:50:31 drwxrwxr-x. 4 jenkins jenkins 54 May 27 05:48 snap 05:50:31 -rw-rw-r--. 1 jenkins jenkins 5 May 27 05:46 VERSION 05:50:31 -rw-rw-r--. 1 jenkins jenkins 222 May 27 05:48 version.go [Pipeline] isUnix [Pipeline] sh 05:50:32 + docker build -t 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=a0faaf100a45f710ac8d37cc291467948e5b160e --label arch=amd64 --label version=0.0.0 . 05:50:32 Sending build context to Docker daemon 2.745MB 05:50:32 Step 1/23 : ARG BASE=golang:1.16-alpine3.12 05:50:32 Step 2/23 : FROM ${BASE} AS builder 05:50:32 ---> a46da00fcade 05:50:32 Step 3/23 : WORKDIR /device-sdk-go 05:50:32 ---> Running in d359afe4613e 05:50:32 Removing intermediate container d359afe4613e 05:50:32 ---> 80fc114f5db9 05:50:32 Step 4/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 05:50:32 ---> Running in 82e16b61bf60 05:50:32 Removing intermediate container 82e16b61bf60 05:50:32 ---> 6f8556af306e 05:50:32 Step 5/23 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 05:50:32 ---> Running in dd2edcc11a24 05:50:33 Removing intermediate container dd2edcc11a24 05:50:33 ---> 19b7252f7baa 05:50:33 Step 6/23 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev 05:50:33 ---> Running in e7c78d6d8528 05:50:33 fetch https://nl.alpinelinux.org/alpine/v3.13/main/x86_64/APKINDEX.tar.gz 05:50:34 fetch https://nl.alpinelinux.org/alpine/v3.13/community/x86_64/APKINDEX.tar.gz 05:50:34 OK: 150 MiB in 46 packages 05:50:34 Removing intermediate container e7c78d6d8528 05:50:34 ---> 312831619377 05:50:34 Step 7/23 : COPY . . 05:50:35 ---> 2d96726accca 05:50:35 Step 8/23 : RUN go mod download 05:50:35 ---> Running in c91cfa8d6259 05:50:35 Removing intermediate container c91cfa8d6259 05:50:35 ---> d0d2ccb58911 05:50:35 Step 9/23 : RUN make build 05:50:35 ---> Running in ce71ba739205 05:50:36 go mod tidy 05:50:36 CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-sdk-go/v2.Version=0.0.0" -o example/cmd/device-simple/device-simple ./example/cmd/device-simple 05:50:42 4ebd0625c992: Pull complete 05:50:42 207e8628e3a3: Pull complete 05:50:42 c791037a9be2: Pull complete 05:50:44 ffd874e62e21: Pull complete 05:50:44 Digest: sha256:fad7b58e697bd06bcf362d803a3263ca5ec03b905aa8665231fe3262941fe3e0 05:50:44 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine 05:50:44 ---> cfc18b08335c 05:50:44 Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 05:50:46 CGO_ENABLED=1 GO111MODULE=on go install -tags=safe 05:50:46 ---> Running in 76f7403e7fda 05:50:47 Removing intermediate container 76f7403e7fda 05:50:47 ---> eefee123f3ee 05:50:47 Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 05:50:47 ---> Running in 07a169de3da9 05:50:47 Removing intermediate container ce71ba739205 05:50:47 ---> 40c4cf9ed6ac 05:50:47 Step 10/23 : FROM alpine:3.12 05:50:48 3.12: Pulling from library/alpine 05:50:48 339de151aab4: Pulling fs layer 05:50:48 339de151aab4: Verifying Checksum 05:50:48 339de151aab4: Download complete 05:50:48 339de151aab4: Pull complete 05:50:48 Digest: sha256:36553b10a4947067b9fbb7d532951066293a68eae893beba1d9235f7d11a20ad 05:50:48 Status: Downloaded newer image for alpine:3.12 05:50:48 ---> 13621d1b12d4 05:50:48 Step 11/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 05:50:48 ---> Running in b2279bf0e9b0 05:50:48 Removing intermediate container b2279bf0e9b0 05:50:48 ---> b54645af6fff 05:50:48 Step 12/23 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 05:50:48 ---> Running in a93fb3bf123e 05:50:49 Removing intermediate container a93fb3bf123e 05:50:49 ---> 048b5d4ee495 05:50:49 Step 13/23 : RUN apk add --update --no-cache zeromq 05:50:49 ---> Running in cebd518c7e8f 05:50:49 fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz 05:50:49 Removing intermediate container 07a169de3da9 05:50:49 ---> a05fc236fef6 05:50:49 Step 5/8 : RUN apk add --update --no-cache make git gcc libc-dev libsodium-dev zeromq-dev 05:50:49 ---> Running in 3f9fb19b5756 05:50:50 fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz 05:50:50 (1/5) Installing libgcc (9.3.0-r2) 05:50:50 (2/5) Installing libsodium (1.0.18-r0) 05:50:50 (3/5) Installing libstdc++ (9.3.0-r2) 05:50:50 fetch https://nl.alpinelinux.org/alpine/v3.13/main/aarch64/APKINDEX.tar.gz 05:50:51 (4/5) Installing libzmq (4.3.3-r0) 05:50:51 (5/5) Installing zeromq (4.3.3-r0) 05:50:51 Executing busybox-1.31.1-r20.trigger 05:50:51 OK: 8 MiB in 19 packages 05:50:51 fetch https://nl.alpinelinux.org/alpine/v3.13/community/aarch64/APKINDEX.tar.gz 05:50:51 Removing intermediate container cebd518c7e8f 05:50:51 ---> 18abd186dc29 05:50:51 Step 14/23 : WORKDIR / 05:50:51 ---> Running in 107ff5e2fd1d 05:50:52 Removing intermediate container 107ff5e2fd1d 05:50:52 ---> 69af94cfbe15 05:50:52 Step 15/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt 05:50:52 ---> 2997bb515433 05:50:52 Step 16/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple 05:50:52 ---> f49014947584 05:50:52 Step 17/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res 05:50:52 (1/6) Installing libc-dev (0.7.2-r3) 05:50:52 (2/6) Installing libsodium (1.0.18-r0) 05:50:52 (3/6) Installing pkgconf (1.7.3-r0) 05:50:53 ---> 86f5d48bbfe3 05:50:53 Step 18/23 : EXPOSE 59999 05:50:53 ---> Running in 966a3a5e952b 05:50:53 Removing intermediate container 966a3a5e952b 05:50:53 ---> 0bcdeababdd0 05:50:53 Step 19/23 : ENTRYPOINT ["/device-simple"] 05:50:53 (4/6) Installing libsodium-dev (1.0.18-r0) 05:50:53 (5/6) Installing libzmq (4.3.3-r1) 05:50:53 ---> Running in 151612835d69 05:50:53 Removing intermediate container 151612835d69 05:50:53 ---> 0132857697e2 05:50:53 Step 20/23 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] 05:50:53 ---> Running in 4558f2230856 05:50:53 Removing intermediate container 4558f2230856 05:50:53 ---> 0c18ebb0852c 05:50:53 Step 21/23 : LABEL arch=amd64 05:50:53 ---> Running in 035437f01e5c 05:50:53 (6/6) Installing zeromq-dev (4.3.3-r1) 05:50:53 Executing busybox-1.32.1-r6.trigger 05:50:53 OK: 139 MiB in 46 packages 05:50:53 Removing intermediate container 035437f01e5c 05:50:53 ---> 14965baa923f 05:50:53 Step 22/23 : LABEL git_sha=a0faaf100a45f710ac8d37cc291467948e5b160e 05:50:53 ---> Running in 2f44a52d1619 05:50:53 Removing intermediate container 2f44a52d1619 05:50:53 ---> de3be41780d5 05:50:53 Step 23/23 : LABEL version=0.0.0 05:50:53 ---> Running in 1a9e4d87c504 05:50:53 Removing intermediate container 1a9e4d87c504 05:50:53 ---> f221cc43bb97 05:50:53 [Warning] One or more build-args [ARCH MAKE] were not consumed 05:50:53 Successfully built f221cc43bb97 05:50:53 Successfully tagged 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 05:50:54 ---> job-cost.sh 05:50:54 lf-activate-venv(): INFO: Creating python3 venv at /tmp/venv-6IM3 05:50:54 Removing intermediate container 3f9fb19b5756 05:50:54 ---> b132af33c0cc 05:50:54 Step 6/8 : WORKDIR /device-sdk-go 05:50:54 ---> Running in 9884fae708a0 05:50:55 Removing intermediate container 9884fae708a0 05:50:55 ---> 292ec8512138 05:50:55 Step 7/8 : COPY . . 05:50:56 ---> 7846284562b5 05:50:56 Step 8/8 : RUN go mod download 05:50:56 ---> Running in 785f069f7ad7 05:51:04 lf-activate-venv(): INFO: Installing: zipp==1.1.0 python-openstackclient 05:51:19 lf-activate-venv(): INFO: Adding /tmp/venv-6IM3/bin to PATH 05:51:19 INFO: No Stack... 05:51:19 INFO: Retrieving Pricing Info for: v3-standard-2 05:51:19 INFO: Archiving Costs [Pipeline] sh 05:51:20 + cat /w/workspace/device-sdk-go/1/archives/cost.csv 05:51:20 + cut -d, -f6 [Pipeline] lock 05:51:20 Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-PR-947-1-stack-cost] 05:51:20 Resource [jenkins-edgexfoundry-device-sdk-go-PR-947-1-stack-cost] did not exist. Created. 05:51:20 Lock acquired on [jenkins-edgexfoundry-device-sdk-go-PR-947-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 05:51:20 + echo total: 0.05999999865889549 [Pipeline] stash 05:51:20 Stashed 1 file(s) [Pipeline] } 05:51:20 Lock released on resource [jenkins-edgexfoundry-device-sdk-go-PR-947-1-stack-cost] [Pipeline] // lock [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } 05:51:24 Removing intermediate container 785f069f7ad7 05:51:24 ---> 2fa5ec999237 05:51:24 Successfully built 2fa5ec999237 05:51:24 Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh 05:51:24 + docker inspect -f . ci-base-image-arm64 05:51:24 . [Pipeline] withDockerContainer 05:51:25 prd-ubuntu18.04-docker-arm64-4c-16g-594 does not seem to be running inside a container 05:51:25 $ 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 ******** ci-base-image-arm64 cat 05:51:26 $ docker top 7a8fdb9239383bfe22cb3efc4e12b1de51ad10785ebc2b11fc371541a71f3ac1 -eo pid,comm [Pipeline] { [Pipeline] sh 05:51:27 + go version 05:51:27 go version go1.16.3 linux/arm64 [Pipeline] } 05:51:27 $ docker stop --time=1 7a8fdb9239383bfe22cb3efc4e12b1de51ad10785ebc2b11fc371541a71f3ac1 05:51:29 $ docker rm -f 7a8fdb9239383bfe22cb3efc4e12b1de51ad10785ebc2b11fc371541a71f3ac1 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 05:51:30 + docker inspect -f . ci-base-image-arm64 05:51:30 . [Pipeline] withDockerContainer 05:51:30 prd-ubuntu18.04-docker-arm64-4c-16g-594 does not seem to be running inside a container 05:51:31 $ 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 ******** ci-base-image-arm64 cat 05:51:32 $ docker top d977b866d3b4502041040a509f37adc5d5a3717b54ddfc062ceccb9e9cf645ab -eo pid,comm [Pipeline] { [Pipeline] sh 05:51:33 + go mod tidy [Pipeline] sh 05:51:34 + make test 05:51:34 go mod tidy 05:51:35 GO111MODULE=on go test -race -coverprofile=coverage.out ./... 05:51:57 ? github.com/edgexfoundry/device-sdk-go/v2 [no test files] 05:53:05 ? github.com/edgexfoundry/device-sdk-go/v2/example/cmd/device-simple [no test files] 05:53:05 ? github.com/edgexfoundry/device-sdk-go/v2/example/config [no test files] 05:53:05 ? github.com/edgexfoundry/device-sdk-go/v2/example/driver [no test files] 05:53:12 ok github.com/edgexfoundry/device-sdk-go/v2/internal/application 0.329s coverage: 25.4% of statements 05:53:12 ? github.com/edgexfoundry/device-sdk-go/v2/internal/autodiscovery [no test files] 05:53:12 ok github.com/edgexfoundry/device-sdk-go/v2/internal/autoevent 0.203s coverage: 28.1% of statements 05:53:12 ok github.com/edgexfoundry/device-sdk-go/v2/internal/cache 0.224s coverage: 78.9% of statements 05:53:12 ok github.com/edgexfoundry/device-sdk-go/v2/internal/clients 0.290s coverage: 9.0% of statements 05:53:12 ? github.com/edgexfoundry/device-sdk-go/v2/internal/common [no test files] 05:53:12 ? github.com/edgexfoundry/device-sdk-go/v2/internal/config [no test files] 05:53:12 ? github.com/edgexfoundry/device-sdk-go/v2/internal/container [no test files] 05:53:14 ok github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http 0.255s coverage: 30.2% of statements 05:53:14 ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http/correlation [no test files] 05:53:15 ok github.com/edgexfoundry/device-sdk-go/v2/internal/messaging 1.224s coverage: 83.3% of statements 05:53:15 ? github.com/edgexfoundry/device-sdk-go/v2/internal/provision [no test files] 05:53:15 ? github.com/edgexfoundry/device-sdk-go/v2/internal/telemetry [no test files] 05:53:17 ok github.com/edgexfoundry/device-sdk-go/v2/internal/transformer 0.489s coverage: 58.0% of statements 05:53:19 ok github.com/edgexfoundry/device-sdk-go/v2/pkg/models 3.187s coverage: 89.2% of statements 05:53:19 ? github.com/edgexfoundry/device-sdk-go/v2/pkg/models/mocks [no test files] 05:53:19 ok github.com/edgexfoundry/device-sdk-go/v2/pkg/service 0.177s coverage: 5.0% of statements 05:53:19 ? github.com/edgexfoundry/device-sdk-go/v2/pkg/startup [no test files] 05:53:19 GO111MODULE=on go vet ./... 05:54:16 gofmt -l . 05:54:16 [ "`gofmt -l .`" = "" ] 05:54:17 ./bin/test-attribution-txt.sh 05:54:19 ./bin/test-go-mod-tidy.sh [Pipeline] } 05:54:19 $ docker stop --time=1 d977b866d3b4502041040a509f37adc5d5a3717b54ddfc062ceccb9e9cf645ab 05:54:21 $ docker rm -f d977b866d3b4502041040a509f37adc5d5a3717b54ddfc062ceccb9e9cf645ab [Pipeline] // withDockerContainer [Pipeline] sh 05:54:22 + sudo chown -R jenkins:jenkins . [Pipeline] stash 05:54:22 Warning: overwriting stash ‘coverage-report’ 05:54:23 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 05:54:23 + sudo chown -R jenkins:jenkins . [Pipeline] sh 05:54:24 + ls -al . 05:54:24 total 244 05:54:24 drwxrwxr-x 10 jenkins jenkins 4096 May 27 05:54 . 05:54:24 drwxrwxr-x 4 jenkins jenkins 4096 May 27 05:49 .. 05:54:24 -rw-rw-r-- 1 jenkins jenkins 140 May 27 05:49 .dockerignore 05:54:24 drwxrwxr-x 8 jenkins jenkins 4096 May 27 05:49 .git 05:54:24 drwxrwxr-x 2 jenkins jenkins 4096 May 27 05:49 .github 05:54:24 -rw-rw-r-- 1 jenkins jenkins 138 May 27 05:49 .gitignore 05:54:24 -rw-rw-r-- 1 jenkins jenkins 987 May 27 05:49 Dockerfile.build 05:54:24 -rw-rw-r-- 1 jenkins jenkins 894 May 27 05:49 Jenkinsfile 05:54:24 -rw-rw-r-- 1 jenkins jenkins 11341 May 27 05:49 LICENSE 05:54:24 -rw-rw-r-- 1 jenkins jenkins 1026 May 27 05:49 Makefile 05:54:24 -rw-rw-r-- 1 jenkins jenkins 7652 May 27 05:49 README.md 05:54:24 -rw-rw-r-- 1 jenkins jenkins 6616 May 27 05:49 RELEASE-NOTES.txt 05:54:24 -rw-rw-r-- 1 jenkins jenkins 5 May 27 05:46 VERSION 05:54:24 drwxrwxr-x 2 jenkins jenkins 4096 May 27 05:49 bin 05:54:24 -rw-r--r-- 1 jenkins jenkins 126444 May 27 05:53 coverage.out 05:54:24 drwxrwxr-x 5 jenkins jenkins 4096 May 27 05:49 example 05:54:24 -rw-r--r-- 1 jenkins jenkins 575 May 27 05:54 go.mod 05:54:24 -rw-r--r-- 1 jenkins jenkins 20381 May 27 05:51 go.sum 05:54:24 drwxrwxr-x 15 jenkins jenkins 4096 May 27 05:49 internal 05:54:24 drwxrwxr-x 4 jenkins jenkins 4096 May 27 05:49 openapi 05:54:24 drwxrwxr-x 5 jenkins jenkins 4096 May 27 05:49 pkg 05:54:24 drwxrwxr-x 4 jenkins jenkins 4096 May 27 05:49 snap 05:54:24 -rw-rw-r-- 1 jenkins jenkins 222 May 27 05:49 version.go [Pipeline] isUnix [Pipeline] sh 05:54:24 + docker build -t 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=a0faaf100a45f710ac8d37cc291467948e5b160e --label arch=arm64 --label version=0.0.0 . 05:54:25 Sending build context to Docker daemon 2.741MB 05:54:25 Step 1/23 : ARG BASE=golang:1.16-alpine3.12 05:54:25 Step 2/23 : FROM ${BASE} AS builder 05:54:25 ---> 2fa5ec999237 05:54:25 Step 3/23 : WORKDIR /device-sdk-go 05:54:25 ---> Running in 0dc5719e9558 05:54:26 Removing intermediate container 0dc5719e9558 05:54:26 ---> 6bf54fa94a48 05:54:26 Step 4/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 05:54:26 ---> Running in d2d2a157041e 05:54:26 Removing intermediate container d2d2a157041e 05:54:26 ---> 5fcc9435052d 05:54:26 Step 5/23 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 05:54:26 ---> Running in d37401eaa3f4 05:54:28 Removing intermediate container d37401eaa3f4 05:54:28 ---> 03c9aa49f9b2 05:54:28 Step 6/23 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev 05:54:29 ---> Running in 166d3172a09e 05:54:30 fetch https://nl.alpinelinux.org/alpine/v3.13/main/aarch64/APKINDEX.tar.gz 05:54:31 fetch https://nl.alpinelinux.org/alpine/v3.13/community/aarch64/APKINDEX.tar.gz 05:54:31 OK: 139 MiB in 46 packages 05:54:32 Removing intermediate container 166d3172a09e 05:54:32 ---> b2a988b19eaa 05:54:32 Step 7/23 : COPY . . 05:54:34 ---> 2dfe37253009 05:54:34 Step 8/23 : RUN go mod download 05:54:34 ---> Running in 58191b813deb 05:54:37 Removing intermediate container 58191b813deb 05:54:37 ---> ab28eca93dbc 05:54:37 Step 9/23 : RUN make build 05:54:37 ---> Running in 2f28d004f39f 05:54:38 go mod tidy 05:54:38 CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-sdk-go/v2.Version=0.0.0" -o example/cmd/device-simple/device-simple ./example/cmd/device-simple 05:55:11 CGO_ENABLED=1 GO111MODULE=on go install -tags=safe 05:55:14 Removing intermediate container 2f28d004f39f 05:55:14 ---> 779472df36f7 05:55:14 Step 10/23 : FROM alpine:3.12 05:55:15 3.12: Pulling from library/alpine 05:55:15 d2f70382dc9a: Pulling fs layer 05:55:15 d2f70382dc9a: Download complete 05:55:16 d2f70382dc9a: Pull complete 05:55:16 Digest: sha256:36553b10a4947067b9fbb7d532951066293a68eae893beba1d9235f7d11a20ad 05:55:16 Status: Downloaded newer image for alpine:3.12 05:55:16 ---> 9852663dfa18 05:55:16 Step 11/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 05:55:16 ---> Running in 3b2c0e767d11 05:55:17 Removing intermediate container 3b2c0e767d11 05:55:17 ---> 4b2deafd9666 05:55:17 Step 12/23 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 05:55:17 ---> Running in 3fe4c133f6bb 05:55:19 Removing intermediate container 3fe4c133f6bb 05:55:19 ---> 135f9c871860 05:55:19 Step 13/23 : RUN apk add --update --no-cache zeromq 05:55:19 ---> Running in 49cf591b4cd6 05:55:20 fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz 05:55:21 fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz 05:55:22 (1/5) Installing libgcc (9.3.0-r2) 05:55:22 (2/5) Installing libsodium (1.0.18-r0) 05:55:22 (3/5) Installing libstdc++ (9.3.0-r2) 05:55:22 (4/5) Installing libzmq (4.3.3-r0) 05:55:23 (5/5) Installing zeromq (4.3.3-r0) 05:55:23 Executing busybox-1.31.1-r20.trigger 05:55:23 OK: 8 MiB in 19 packages 05:55:24 Removing intermediate container 49cf591b4cd6 05:55:24 ---> 2fc5d0a70779 05:55:24 Step 14/23 : WORKDIR / 05:55:24 ---> Running in 6d70d20e1931 05:55:24 Removing intermediate container 6d70d20e1931 05:55:24 ---> 10b347550131 05:55:24 Step 15/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt 05:55:25 ---> dc0ed342a947 05:55:25 Step 16/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple 05:55:26 ---> 4abb3af388c7 05:55:26 Step 17/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res 05:55:27 ---> 002fddbb9814 05:55:27 Step 18/23 : EXPOSE 59999 05:55:27 ---> Running in ac9813beff6c 05:55:28 Removing intermediate container ac9813beff6c 05:55:28 ---> 57215c16d885 05:55:28 Step 19/23 : ENTRYPOINT ["/device-simple"] 05:55:28 ---> Running in 1bf33e3b6b3e 05:55:28 Removing intermediate container 1bf33e3b6b3e 05:55:28 ---> a2c544ad6a3f 05:55:28 Step 20/23 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] 05:55:28 ---> Running in d78254c54c03 05:55:29 Removing intermediate container d78254c54c03 05:55:29 ---> abb53f3b62f6 05:55:29 Step 21/23 : LABEL arch=arm64 05:55:29 ---> Running in a537c1af4095 05:55:30 Removing intermediate container a537c1af4095 05:55:30 ---> 47b8f0a4edd3 05:55:30 Step 22/23 : LABEL git_sha=a0faaf100a45f710ac8d37cc291467948e5b160e 05:55:30 ---> Running in 672274a05a35 05:55:30 Removing intermediate container 672274a05a35 05:55:30 ---> 9f99c1ba5c92 05:55:30 Step 23/23 : LABEL version=0.0.0 05:55:30 ---> Running in f2039ad49a4f 05:55:31 Removing intermediate container f2039ad49a4f 05:55:31 ---> 677c34f4110e 05:55:31 [Warning] One or more build-args [MAKE ARCH] were not consumed 05:55:31 Successfully built 677c34f4110e 05:55:31 Successfully tagged 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 05:55:32 ---> job-cost.sh 05:55:32 lf-activate-venv(): INFO: Creating python3 venv at /tmp/venv-EI7Z 05:56:19 lf-activate-venv(): INFO: Installing: zipp==1.1.0 python-openstackclient 05:57:56 lf-activate-venv(): INFO: Adding /tmp/venv-EI7Z/bin to PATH 05:57:56 INFO: No Stack... 05:57:56 INFO: Retrieving Pricing Info for: v2-standard-4 05:57:56 INFO: Archiving Costs [Pipeline] sh 05:57:56 + + cat /w/workspace/device-sdk-go/1/archives/cost.csvcut 05:57:56 -d, -f6 [Pipeline] lock 05:57:56 Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-PR-947-1-stack-cost] 05:57:56 Resource [jenkins-edgexfoundry-device-sdk-go-PR-947-1-stack-cost] did not exist. Created. 05:57:56 Lock acquired on [jenkins-edgexfoundry-device-sdk-go-PR-947-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 05:57:56 /w/workspace/device-sdk-go/1@tmp/durable-58f95812/script.sh: 1: /w/workspace/device-sdk-go/1@tmp/durable-58f95812/script.sh: Syntax error: Unterminated quoted string [Pipeline] sh 05:57:57 + echo total: 0.18000000715255737 [Pipeline] stash 05:57:57 Warning: overwriting stash ‘stack-cost’ 05:57:57 Stashed 1 file(s) [Pipeline] } 05:57:57 Lock released on resource [jenkins-edgexfoundry-device-sdk-go-PR-947-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] configFileProvider 05:57:58 provisioning config files... 05:57:58 copy managed file [device-sdk-go-codecov-token] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-947@tmp/config5105788945611183662tmp [Pipeline] { [Pipeline] sh 05:57:58 + set +x 05:57:58 + curl -s https://codecov.io/bash 05:57:58 + bash -s -- 05:57:58 05:57:58 _____ _ 05:57:58 / ____| | | 05:57:58 | | ___ __| | ___ ___ _____ __ 05:57:58 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 05:57:58 | |___| (_) | (_| | __/ (_| (_) \ V / 05:57:58 \_____\___/ \__,_|\___|\___\___/ \_/ 05:57:58 Bash-1.0.3 05:57:58 05:57:58 05:57:58 ==> git version 2.24.4 found 05:57:58 ==> 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 05:57:58 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtsp scp sftp smtp smtps telnet tftp 05:57:58 Features: AsynchDNS GSS-Negotiate IDN IPv6 Largefile NTLM NTLM_WB SSL libz unix-sockets 05:57:58 ==> Jenkins CI detected. 05:57:58 project root: . 05:57:58 --> token set from env 05:57:58 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 05:57:58 ==> Running gcov in . (disable via -X gcov) 05:57:58 ==> Python coveragepy not found 05:57:58 ==> Searching for coverage reports in: 05:57:58 + . 05:57:59 -> Found 1 reports 05:57:59 ==> Detecting git/mercurial file structure 05:57:59 ==> Reading reports 05:57:59 + ./coverage.out bytes=126444 05:57:59 ==> Appending adjustments 05:57:59 https://docs.codecov.io/docs/fixing-reports 05:57:59 + Found adjustments 05:57:59 ==> Gzipping contents 05:57:59 20K /tmp/codecov.khupaU.gz 05:57:59 ==> Uploading reports 05:57:59 url: https://codecov.io 05:57:59 query: branch=PR-947&commit=a0faaf100a45f710ac8d37cc291467948e5b160e&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-947%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=947&job=&cmd_args= 05:57:59 -> Pinging Codecov 05:57:59 https://codecov.io/upload/v4?package=bash-1.0.3&token=secret&branch=PR-947&commit=a0faaf100a45f710ac8d37cc291467948e5b160e&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-947%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=947&job=&cmd_args= 05:57:59 -> Uploading to 05:57:59 https://storage.googleapis.com/codecov/v4/raw/2021-05-27/7E55EF52A471D76F132DFD9A03CDDE97/a0faaf100a45f710ac8d37cc291467948e5b160e/8ea38281-67b9-45ca-9297-eb17f00b43a6.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EQM3VGPYSAFECJRMNAFIPCV2R3P2BOORCJC7NM537NPJQSFLHUDNIDWA%2F20210527%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20210527T055759Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=55ff36e39afe51cdf1f7d4658a16646e83fd9e43ece83c7aa7bb72817082a4bb 05:57:59 % Total % Received % Xferd Average Speed Time Time Time Current 05:57:59 Dload Upload Total Spent Left Speed 05:58:00 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 16480 0 0 100 16480 0 34634 --:--:-- --:--:-- --:--:-- 34694 05:58:00 -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/device-sdk-go/commit/a0faaf100a45f710ac8d37cc291467948e5b160e [Pipeline] } 05:58:00 Deleting 1 temporary files [Pipeline] // configFileProvider [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 05:58:02 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 05:58:02 ---> package-listing.sh 05:58:02 ++ facter osfamily 05:58:02 ++ tr '[:upper:]' '[:lower:]' 05:58:02 + OS_FAMILY=redhat 05:58:02 + workspace=/w/workspace/dgexfoundry_device-sdk-go_PR-947 05:58:02 + START_PACKAGES=/tmp/packages_start.txt 05:58:02 + END_PACKAGES=/tmp/packages_end.txt 05:58:02 + DIFF_PACKAGES=/tmp/packages_diff.txt 05:58:02 + PACKAGES=/tmp/packages_start.txt 05:58:02 + '[' /w/workspace/dgexfoundry_device-sdk-go_PR-947 ']' 05:58:02 + PACKAGES=/tmp/packages_end.txt 05:58:02 + case "${OS_FAMILY}" in 05:58:02 + rpm -qa 05:58:02 + sort 05:58:03 + '[' -f /tmp/packages_start.txt ']' 05:58:03 + '[' -f /tmp/packages_end.txt ']' 05:58:03 + diff /tmp/packages_start.txt /tmp/packages_end.txt 05:58:03 + '[' /w/workspace/dgexfoundry_device-sdk-go_PR-947 ']' 05:58:03 + mkdir -p /w/workspace/dgexfoundry_device-sdk-go_PR-947/archives/ 05:58:03 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/dgexfoundry_device-sdk-go_PR-947/archives/ [Pipeline] echo 05:58:03 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-947/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 05:58:03 + facter operatingsystem [Pipeline] isUnix [Pipeline] sh 05:58:04 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 05:58:04 05:58:04 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh 05:58:04 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 05:58:04 alpine: Pulling from edgex-lftools-log-publisher 05:58:04 df20fa9351a1: Pulling fs layer 05:58:04 36b3adc4ff6f: Pulling fs layer 05:58:04 8ad3a11d3b57: Pulling fs layer 05:58:04 46f8f816bc3b: Pulling fs layer 05:58:04 93b61091891f: Pulling fs layer 05:58:04 93b9cdb0e59b: Pulling fs layer 05:58:04 5e14af77c1be: Pulling fs layer 05:58:04 01666e4c0597: Pulling fs layer 05:58:04 aa168da1d23b: Pulling fs layer 05:58:04 93b9cdb0e59b: Waiting 05:58:04 5e14af77c1be: Waiting 05:58:04 01666e4c0597: Waiting 05:58:04 aa168da1d23b: Waiting 05:58:04 46f8f816bc3b: Waiting 05:58:04 93b61091891f: Waiting 05:58:04 36b3adc4ff6f: Verifying Checksum 05:58:04 36b3adc4ff6f: Download complete 05:58:04 46f8f816bc3b: Verifying Checksum 05:58:04 46f8f816bc3b: Download complete 05:58:05 df20fa9351a1: Verifying Checksum 05:58:05 df20fa9351a1: Download complete 05:58:05 93b9cdb0e59b: Verifying Checksum 05:58:05 93b9cdb0e59b: Download complete 05:58:05 5e14af77c1be: Download complete 05:58:05 93b61091891f: Verifying Checksum 05:58:05 93b61091891f: Download complete 05:58:05 01666e4c0597: Verifying Checksum 05:58:05 01666e4c0597: Download complete 05:58:05 8ad3a11d3b57: Verifying Checksum 05:58:05 8ad3a11d3b57: Download complete 05:58:05 df20fa9351a1: Pull complete 05:58:05 36b3adc4ff6f: Pull complete 05:58:06 8ad3a11d3b57: Pull complete 05:58:06 46f8f816bc3b: Pull complete 05:58:06 93b61091891f: Pull complete 05:58:06 93b9cdb0e59b: Pull complete 05:58:06 5e14af77c1be: Pull complete 05:58:07 01666e4c0597: Pull complete 05:58:07 aa168da1d23b: Verifying Checksum 05:58:07 aa168da1d23b: Download complete 05:58:12 aa168da1d23b: Pull complete 05:58:12 Digest: sha256:ac41798234670a79351fc13b8232b4dbeccc6fb1f122f5db5169d11b1762ca7c 05:58:12 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 05:58:12 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer 05:58:12 prd-centos7-docker-4c-2g-589 does not seem to be running inside a container 05:58:12 $ 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-947/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-947 -v /w/workspace/dgexfoundry_device-sdk-go_PR-947:/w/workspace/dgexfoundry_device-sdk-go_PR-947:rw,z -v /w/workspace/dgexfoundry_device-sdk-go_PR-947@tmp:/w/workspace/dgexfoundry_device-sdk-go_PR-947@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:10003/edgex-lftools-log-publisher:alpine cat 05:58:23 $ docker top 9569ba4fed4c7c655512fdd05edfd4cdf2bca69aae68fc43f9aa61534a153f60 -eo pid,comm [Pipeline] { [Pipeline] sh 05:58:24 + touch /tmp/pre-build-complete [Pipeline] sh 05:58:24 + mkdir -p /var/log/sa [Pipeline] sh 05:58:24 + ls /var/log/sa-host 05:58:24 + sadf -c /var/log/sa-host/sa05 05:58:24 file_magic: OK 05:58:24 HZ: Using current value: 100 05:58:24 file_header: OK 05:58:24 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 05:58:24 Statistics: 05:58:24 Hnuu...uuuununununu...Hnuu...uuuununununu... 05:58:24 File successfully converted to sysstat format version 12.2.1 05:58:24 + sadf -c /var/log/sa-host/sa27 05:58:24 file_magic: OK 05:58:24 HZ: Using current value: 100 05:58:24 file_header: OK 05:58:24 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 05:58:24 Statistics: 05:58:24 HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... 05:58:24 File successfully converted to sysstat format version 12.2.1 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 05:58:25 provisioning config files... 05:58:25 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-947@tmp/config533042688926380393tmp [Pipeline] { [Pipeline] echo 05:58:25 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 05:58:25 ---> create-netrc.sh [Pipeline] } 05:58:25 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] echo 05:58:25 Running shell/python-tools-install.sh [Pipeline] libraryResource [Pipeline] sh 05:58:26 ---> python-tools-install.sh [Pipeline] echo 05:58:26 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 05:58:26 ---> sudo-logs.sh 05:58:26 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 05:58:26 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 05:58:26 ---> job-cost.sh 05:58:26 lf-activate-venv: SKIPPING 05:58:26 DEBUG: total: 0.18000000715255737 05:58:26 INFO: Retrieving Stack Cost... 05:58:27 INFO: Retrieving Pricing Info for: v3-standard-2 05:58:28 INFO: Archiving Costs [Pipeline] echo 05:58:28 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 05:58:28 ---> logs-deploy.sh 05:58:28 lf-activate-venv: SKIPPING 05:58:28 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-947/1 05:58:28 INFO: archiving workspace using pattern(s): 05:58:29 Archives upload complete. 05:58:29 INFO: archiving logs to Nexus