Pull request #966 opened Connecting to https://api.github.com using edgex-jenkins/****** (edgex-jenkins github personal access token) Connecting to https://api.github.com to check permissions of obtain list of hahattan for edgexfoundry/device-sdk-go Obtained Jenkinsfile from 4be52ad7194d3bb75cdabe87e13f51513f36b649+f91460baaab7f197ca117fe0ead63848762b28df (8130f71b2cc6e04e7024ad940a858826aba59f42) 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-ssh5616603476714385.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision f4a1163c6b2b14014f487cca778b157dcbc6cc6b 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-ssh96997664026386458.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 f4a1163c6b2b14014f487cca778b157dcbc6cc6b 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-966/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-966/workspace@libs/edgex-global-pipelines@tmp/jenkins-gitclient-ssh7279318037443861212.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-966/workspace@libs/edgex-global-pipelines@tmp/jenkins-gitclient-ssh5001462079700244321.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision f4a1163c6b2b14014f487cca778b157dcbc6cc6b (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f f4a1163c6b2b14014f487cca778b157dcbc6cc6b # timeout=10 Commit message: "Merge pull request #339 from ernestojeda/disable-snaps-temp" > 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-ssh393465314535546770.key > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision d1a99147b03c6cd90561f8e70b7af78166bcd4cd 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-966/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-966/workspace@libs/lf-pipelines@tmp/jenkins-gitclient-ssh6986346610183865111.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 d1a99147b03c6cd90561f8e70b7af78166bcd4cd (master) > git config core.sparsecheckout # timeout=10 > git checkout -f d1a99147b03c6cd90561f8e70b7af78166bcd4cd # timeout=10 Commit message: "Feat: Add initial Java pipeline functionality" > 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 f4a1163c6b2b14014f487cca778b157dcbc6cc6b 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 All nodes of label ‘centos7-docker-4c-2g’ are offline Running on prd-centos7-docker-4c-2g-160 in /w/workspace/dgexfoundry_device-sdk-go_PR-966 [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-966 # 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-966@tmp/jenkins-gitclient-ssh1488350333384798046.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-966@tmp/jenkins-gitclient-ssh3227314653897237830.key > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/966/head:refs/remotes/origin/PR-966 +refs/heads/master:refs/remotes/origin/master # timeout=10 Merging remotes/origin/master commit f91460baaab7f197ca117fe0ead63848762b28df into PR head commit 4be52ad7194d3bb75cdabe87e13f51513f36b649 Merge succeeded, producing 4be52ad7194d3bb75cdabe87e13f51513f36b649 Checking out Revision 4be52ad7194d3bb75cdabe87e13f51513f36b649 (PR-966) > git config core.sparsecheckout # timeout=10 > git checkout -f 4be52ad7194d3bb75cdabe87e13f51513f36b649 # 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-966@tmp/jenkins-gitclient-ssh7785011215265181387.key > git merge f91460baaab7f197ca117fe0ead63848762b28df # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 4be52ad7194d3bb75cdabe87e13f51513f36b649 # timeout=10 Commit message: "feat: remove coredata dependency" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.24.4' fatal: bad object f4a1163c6b2b14014f487cca778b157dcbc6cc6b [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 07:08:06 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 07:08:06 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 07:08:06 ========================================================= 07:08:06 EdgeX Global Pipelines Version Info 07:08:06 ========================================================= [Pipeline] libraryResource [Pipeline] sh 07:08:08 ------------------- 07:08:08 stable info: 07:08:08 ------------------- 07:08:08 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 07:08:08 Commit SHA: f4a1163c6b2b14014f487cca778b157dcbc6cc6b 07:08:08 Message: update stable to v1.0.194 07:08:09 ------------------- 07:08:09 experimental info: 07:08:09 ------------------- 07:08:09 Commited By: **** collab-it+edgex@linuxfoundation.org 07:08:09 Commit SHA: f4a1163c6b2b14014f487cca778b157dcbc6cc6b 07:08:09 Message: update experimental to v1.0.194 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 07:08:09 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-go-settings [Pipeline] echo 07:08:09 [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-go [Pipeline] echo 07:08:09 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 07:08:09 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 07:08:09 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 07:08:09 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.16 [Pipeline] echo 07:08:09 [edgeXSetupEnvironment]: set envvar GOPROXY = https://nexus3.edgexfoundry.org/repository/go-proxy/ [Pipeline] echo 07:08:09 [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine [Pipeline] echo 07:08:09 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = example/cmd/device-simple/Dockerfile [Pipeline] echo 07:08:09 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 07:08:10 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 07:08:10 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-sdk-simple [Pipeline] echo 07:08:10 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 07:08:10 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 07:08:10 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 07:08:10 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo 07:08:10 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 07:08:10 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 07:08:10 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 07:08:10 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 07:08:10 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo 07:08:10 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 openapi/v2 [Pipeline] echo 07:08:10 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 07:08:10 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 07:08:11 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 07:08:11 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 07:08:11 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-966 [Pipeline] echo 07:08:11 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-966 [Pipeline] echo 07:08:11 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-966 [Pipeline] echo 07:08:11 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 4be52ad7194d3bb75cdabe87e13f51513f36b649 [Pipeline] echo 07:08:11 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 4be52ad [Pipeline] echo 07:08:11 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 07:08:11 provisioning config files... 07:08:11 copy managed file [device-sdk-go-settings] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-966@tmp/config1746331024762455417tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 07:08:12 ---> docker-login.sh 07:08:12 nexus3.edgexfoundry.org:10001 07:08:12 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:08:12 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 07:08:12 Configure a credential helper to remove this warning. See 07:08:12 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 07:08:12 07:08:12 Login Succeeded 07:08:12 nexus3.edgexfoundry.org:10002 07:08:12 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:08:12 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 07:08:12 Configure a credential helper to remove this warning. See 07:08:12 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 07:08:12 07:08:12 Login Succeeded 07:08:12 nexus3.edgexfoundry.org:10003 07:08:12 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:08:12 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 07:08:12 Configure a credential helper to remove this warning. See 07:08:12 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 07:08:12 07:08:12 Login Succeeded 07:08:12 nexus3.edgexfoundry.org:10004 07:08:12 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:08:12 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 07:08:12 Configure a credential helper to remove this warning. See 07:08:12 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 07:08:12 07:08:12 Login Succeeded 07:08:12 docker.io 07:08:12 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:08:13 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 07:08:13 Configure a credential helper to remove this warning. See 07:08:13 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 07:08:13 07:08:13 Login Succeeded 07:08:13 ---> docker-login.sh ends [Pipeline] } 07:08: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 07:08:13 + git log --format=format:%s -1 4be52ad7194d3bb75cdabe87e13f51513f36b649 [Pipeline] echo 07:08:14 GIT_COMMIT: 4be52ad7194d3bb75cdabe87e13f51513f36b649, Commit Message: feat: remove coredata dependency [Pipeline] echo 07:08:14 This is not a build commit. [Pipeline] isUnix [Pipeline] sh 07:08:15 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 07:08:15 07:08:15 Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh 07:08:15 + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 07:08:15 latest: Pulling from edgex-devops/git-semver 07:08:15 31603596830f: Pulling fs layer 07:08:15 54011a49482f: Pulling fs layer 07:08:15 a6820b24f6d8: Pulling fs layer 07:08:15 f581987b2513: Pulling fs layer 07:08:15 f581987b2513: Waiting 07:08:15 54011a49482f: Verifying Checksum 07:08:15 54011a49482f: Download complete 07:08:15 31603596830f: Verifying Checksum 07:08:15 31603596830f: Download complete 07:08:16 31603596830f: Pull complete 07:08:16 54011a49482f: Pull complete 07:08:16 f581987b2513: Verifying Checksum 07:08:16 f581987b2513: Download complete 07:08:16 a6820b24f6d8: Verifying Checksum 07:08:16 a6820b24f6d8: Download complete 07:08:16 a6820b24f6d8: Pull complete 07:08:17 f581987b2513: Pull complete 07:08:17 Digest: sha256:772af3cb61214e5a22880db9bb273bb039d0aa3a8f4edfa0c1def8b4e20ea536 07:08:17 Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 07:08:17 nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer 07:08:17 prd-centos7-docker-4c-2g-160 does not seem to be running inside a container 07:08:17 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/dgexfoundry_device-sdk-go_PR-966 -v /w/workspace/dgexfoundry_device-sdk-go_PR-966:/w/workspace/dgexfoundry_device-sdk-go_PR-966:rw,z -v /w/workspace/dgexfoundry_device-sdk-go_PR-966@tmp:/w/workspace/dgexfoundry_device-sdk-go_PR-966@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 ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat 07:08:18 $ docker top 432b57143f197f329e1badd5f48d5a3bc412d099addf6e960dce4c1bab45ccdb -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 07:08:18 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 07:08:18 [ssh-agent] Looking for ssh-agent implementation... 07:08:18 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 07:08:18 $ docker exec 432b57143f197f329e1badd5f48d5a3bc412d099addf6e960dce4c1bab45ccdb ssh-agent 07:08:18 SSH_AUTH_SOCK=/tmp/ssh-2kyW5kUsvUip/agent.13 07:08:18 SSH_AGENT_PID=19 07:08:18 Running ssh-add (command line suppressed) 07:08:19 Identity added: /w/workspace/dgexfoundry_device-sdk-go_PR-966@tmp/private_key_5748497351842229228.key (/w/workspace/dgexfoundry_device-sdk-go_PR-966@tmp/private_key_5748497351842229228.key) 07:08:19 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 07:08:19 + git tag --points-at HEAD [Pipeline] } 07:08:19 $ docker exec --env ******** --env ******** 432b57143f197f329e1badd5f48d5a3bc412d099addf6e960dce4c1bab45ccdb ssh-agent -k 07:08:19 unset SSH_AUTH_SOCK; 07:08:19 unset SSH_AGENT_PID; 07:08:19 echo Agent pid 19 killed; 07:08:19 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 07:08:19 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 07:08:19 [ssh-agent] Looking for ssh-agent implementation... 07:08:19 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 07:08:19 $ docker exec 432b57143f197f329e1badd5f48d5a3bc412d099addf6e960dce4c1bab45ccdb ssh-agent 07:08:19 SSH_AUTH_SOCK=/tmp/ssh-IbjW9DAEHDmh/agent.53 07:08:19 SSH_AGENT_PID=59 07:08:19 Running ssh-add (command line suppressed) 07:08:20 Identity added: /w/workspace/dgexfoundry_device-sdk-go_PR-966@tmp/private_key_131409067450777727.key (/w/workspace/dgexfoundry_device-sdk-go_PR-966@tmp/private_key_131409067450777727.key) 07:08:20 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 07:08:20 + git semver init 07:08:20 # -> Open(): unable to determine branch for HEAD 07:08:20 # $GIT_DIR = /w/workspace/dgexfoundry_device-sdk-go_PR-966/.git 07:08:20 # $GIT_WORK_TREE = /w/workspace/dgexfoundry_device-sdk-go_PR-966 07:08:20 # $SEMVER_REMOTE_NAME = origin 07:08:20 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 07:08:20 # $SEMVER_USER_NAME = edgex-jenkins 07:08:20 # $SEMVER_BRANCH = PR-966 07:08:20 # $SEMVER_TEMP = /tmp/semver-877859122 07:08:20 # git clone --branch semver git@github.com:edgexfoundry/device-sdk-go.git $SEMVER_TEMP 07:08:21 # '/tmp/semver-877859122' -> '/w/workspace/dgexfoundry_device-sdk-go_PR-966/.semver' 07:08:21 # -> Force: false 07:08:21 # $SEMVER_DIR = /w/workspace/dgexfoundry_device-sdk-go_PR-966/.semver [Pipeline] } 07:08:21 $ docker exec --env ******** --env ******** 432b57143f197f329e1badd5f48d5a3bc412d099addf6e960dce4c1bab45ccdb ssh-agent -k 07:08:21 unset SSH_AUTH_SOCK; 07:08:21 unset SSH_AGENT_PID; 07:08:21 echo Agent pid 59 killed; 07:08:21 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 07:08:21 + git semver [Pipeline] } 07:08:22 $ docker stop --time=1 432b57143f197f329e1badd5f48d5a3bc412d099addf6e960dce4c1bab45ccdb 07:08:23 $ docker rm -f 432b57143f197f329e1badd5f48d5a3bc412d099addf6e960dce4c1bab45ccdb [Pipeline] // withDockerContainer [Pipeline] sh 07:08:23 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 07:08:24 Stashed 1 file(s) [Pipeline] echo 07:08: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 07:08:39 Still waiting to schedule task 07:08:39 Waiting for next available executor on ‘prd-centos7-docker-4c-2g-160’ 07:08:39 Still waiting to schedule task 07:08:39 All nodes of label ‘ubuntu18.04-docker-arm64-4c-16g’ are offline 07:10:37 Running on prd-ubuntu18.04-docker-arm64-4c-16g-161 in /w/workspace/dgexfoundry_device-sdk-go_PR-966 [Pipeline] { [Pipeline] ws 07:10:37 Running in /w/workspace/device-sdk-go/1 [Pipeline] { [Pipeline] checkout 07:10:37 Selected Git installation does not exist. Using Default 07:10:37 The recommended git tool is: NONE 07:10:43 using credential edgex-jenkins-ssh 07:10:43 Cloning the remote Git repository 07:10:43 Cloning repository git@github.com:edgexfoundry/device-sdk-go.git 07:10:43 > git init /w/workspace/device-sdk-go/1 # timeout=10 07:10:43 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 07:10:43 > git --version # timeout=10 07:10:43 > git --version # 'git version 2.17.1' 07:10:43 using GIT_SSH to set credentials SSH Credentials for GitHub 07:10:43 > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 07:10:44 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 07:10:44 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 07:10:44 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 07:10:45 Merging remotes/origin/master commit f91460baaab7f197ca117fe0ead63848762b28df into PR head commit 4be52ad7194d3bb75cdabe87e13f51513f36b649 07:10:45 Merge succeeded, producing 4be52ad7194d3bb75cdabe87e13f51513f36b649 07:10:45 Checking out Revision 4be52ad7194d3bb75cdabe87e13f51513f36b649 (PR-966) 07:10:44 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 07:10:44 using GIT_SSH to set credentials SSH Credentials for GitHub 07:10:44 > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/966/head:refs/remotes/origin/PR-966 +refs/heads/master:refs/remotes/origin/master # timeout=10 07:10:45 > git config core.sparsecheckout # timeout=10 07:10:45 > git checkout -f 4be52ad7194d3bb75cdabe87e13f51513f36b649 # timeout=10 07:10:45 > git remote # timeout=10 07:10:45 > git config --get remote.origin.url # timeout=10 07:10:45 using GIT_SSH to set credentials SSH Credentials for GitHub 07:10:45 > git merge f91460baaab7f197ca117fe0ead63848762b28df # timeout=10 07:10:45 > git rev-parse HEAD^{commit} # timeout=10 07:10:45 > git config core.sparsecheckout # timeout=10 07:10:45 > git checkout -f 4be52ad7194d3bb75cdabe87e13f51513f36b649 # timeout=10 07:10:50 Commit message: "feat: remove coredata dependency" 07:10:50 > git --version # timeout=10 07:10:50 > git --version # 'git version 2.17.1' 07:10:50 fatal: bad object f4a1163c6b2b14014f487cca778b157dcbc6cc6b [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 07:10:51 + sudo jq . + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false} /etc/docker/daemon.json [Pipeline] sh 07:10:52 + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh 07:10:52 + sudo service docker restart 07:10:52 + true [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 07:11:11 provisioning config files... 07:11:11 copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/1@tmp/config8705794032120522870tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 07:11:11 ---> docker-login.sh 07:11:11 nexus3.edgexfoundry.org:10001 07:11:12 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:11:12 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 07:11:12 Configure a credential helper to remove this warning. See 07:11:12 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 07:11:12 07:11:12 Login Succeeded 07:11:12 nexus3.edgexfoundry.org:10002 07:11:13 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:11:13 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 07:11:13 Configure a credential helper to remove this warning. See 07:11:13 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 07:11:13 07:11:13 Login Succeeded 07:11:13 nexus3.edgexfoundry.org:10003 07:11:13 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:11:14 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 07:11:14 Configure a credential helper to remove this warning. See 07:11:14 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 07:11:14 07:11:14 Login Succeeded 07:11:14 nexus3.edgexfoundry.org:10004 07:11:14 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:11:14 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 07:11:14 Configure a credential helper to remove this warning. See 07:11:14 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 07:11:14 07:11:14 Login Succeeded 07:11:14 docker.io 07:11:14 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:11:15 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 07:11:15 Configure a credential helper to remove this warning. See 07:11:15 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 07:11:15 07:11:15 Login Succeeded 07:11:15 ---> docker-login.sh ends [Pipeline] } 07:11:15 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 07:11:16 ========================================================= 07:11:16 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine] 07:11:16 ========================================================= [Pipeline] isUnix [Pipeline] sh 07:11:16 + 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 . 07:11:16 Running on prd-centos7-docker-4c-2g-162 in /w/workspace/dgexfoundry_device-sdk-go_PR-966 [Pipeline] { [Pipeline] ws 07:11:16 Running in /w/workspace/device-sdk-go/1 [Pipeline] { [Pipeline] checkout 07:11:16 Selected Git installation does not exist. Using Default 07:11:16 The recommended git tool is: NONE 07:11:17 Sending build context to Docker daemon 2.659MB 07:11:17 Step 1/8 : ARG BASE=golang:1.16-alpine3.12 07:11:17 Step 2/8 : FROM ${BASE} 07:11:17 1.16-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 07:11:17 595b0fe564bb: Pulling fs layer 07:11:17 3088b5b3c5c0: Pulling fs layer 07:11:17 5b7225fbf94c: Pulling fs layer 07:11:17 ba82ee9f976e: Pulling fs layer 07:11:17 506bd15cee9f: Pulling fs layer 07:11:17 75a0a4a0db45: Pulling fs layer 07:11:17 618dc40b7e24: Pulling fs layer 07:11:17 ba82ee9f976e: Waiting 07:11:17 506bd15cee9f: Waiting 07:11:17 75a0a4a0db45: Waiting 07:11:17 618dc40b7e24: Waiting 07:11:17 5b7225fbf94c: Verifying Checksum 07:11:17 5b7225fbf94c: Download complete 07:11:17 3088b5b3c5c0: Verifying Checksum 07:11:17 3088b5b3c5c0: Download complete 07:11:17 506bd15cee9f: Verifying Checksum 07:11:17 506bd15cee9f: Download complete 07:11:17 75a0a4a0db45: Verifying Checksum 07:11:17 75a0a4a0db45: Download complete 07:11:17 595b0fe564bb: Verifying Checksum 07:11:17 595b0fe564bb: Download complete 07:11:18 595b0fe564bb: Pull complete 07:11:18 3088b5b3c5c0: Pull complete 07:11:19 5b7225fbf94c: Pull complete 07:11:19 using credential edgex-jenkins-ssh 07:11:19 Cloning the remote Git repository 07:11:19 618dc40b7e24: Verifying Checksum 07:11:19 618dc40b7e24: Download complete 07:11:19 Cloning repository git@github.com:edgexfoundry/device-sdk-go.git 07:11:19 > git init /w/workspace/device-sdk-go/1 # timeout=10 07:11:19 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 07:11:19 > git --version # timeout=10 07:11:19 > git --version # 'git version 2.24.4' 07:11:19 using GIT_SSH to set credentials SSH Credentials for GitHub 07:11:19 [INFO] Currently running in a labeled security context 07:11:19 [INFO] Currently SELinux is 'enforcing' on the host 07:11:19 > git /usr/bin/chcon --type=ssh_home_t /w/workspace/device-sdk-go/1@tmp/jenkins-gitclient-ssh6674660045619513556.key 07:11:19 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 07:11:21 ba82ee9f976e: Verifying Checksum 07:11:21 ba82ee9f976e: Download complete 07:11:21 Merging remotes/origin/master commit f91460baaab7f197ca117fe0ead63848762b28df into PR head commit 4be52ad7194d3bb75cdabe87e13f51513f36b649 07:11:20 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 07:11:20 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 07:11:20 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 07:11:20 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 07:11:20 using GIT_SSH to set credentials SSH Credentials for GitHub 07:11:20 [INFO] Currently running in a labeled security context 07:11:20 [INFO] Currently SELinux is 'enforcing' on the host 07:11:20 > git /usr/bin/chcon --type=ssh_home_t /w/workspace/device-sdk-go/1@tmp/jenkins-gitclient-ssh3242271732974714736.key 07:11:20 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/966/head:refs/remotes/origin/PR-966 +refs/heads/master:refs/remotes/origin/master # timeout=10 07:11:21 > git config core.sparsecheckout # timeout=10 07:11:21 > git checkout -f 4be52ad7194d3bb75cdabe87e13f51513f36b649 # timeout=10 07:11:21 > git remote # timeout=10 07:11:21 > git config --get remote.origin.url # timeout=10 07:11:21 using GIT_SSH to set credentials SSH Credentials for GitHub 07:11:21 [INFO] Currently running in a labeled security context 07:11:21 [INFO] Currently SELinux is 'enforcing' on the host 07:11:21 > git /usr/bin/chcon --type=ssh_home_t /w/workspace/device-sdk-go/1@tmp/jenkins-gitclient-ssh6073935292312981872.key 07:11:21 > git merge f91460baaab7f197ca117fe0ead63848762b28df # timeout=10 07:11:21 > git rev-parse HEAD^{commit} # timeout=10 07:11:21 Merge succeeded, producing 4be52ad7194d3bb75cdabe87e13f51513f36b649 07:11:21 Checking out Revision 4be52ad7194d3bb75cdabe87e13f51513f36b649 (PR-966) 07:11:21 > git config core.sparsecheckout # timeout=10 07:11:21 > git checkout -f 4be52ad7194d3bb75cdabe87e13f51513f36b649 # timeout=10 07:11:25 Commit message: "feat: remove coredata dependency" 07:11:25 > git --version # timeout=10 07:11:25 > git --version # 'git version 2.24.4' 07:11:25 fatal: bad object f4a1163c6b2b14014f487cca778b157dcbc6cc6b [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 07:11:26 + sudo jq '. + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false}' /etc/docker/daemon.json [Pipeline] sh 07:11:26 + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh 07:11:27 + sudo service docker restart 07:11:27 + true 07:11:27 Redirecting to /bin/systemctl restart docker.service 07:11:33 ba82ee9f976e: Pull complete 07:11:33 506bd15cee9f: Pull complete 07:11:33 75a0a4a0db45: Pull complete 07:11:36 618dc40b7e24: Pull complete 07:11:36 Digest: sha256:191d62e8e984ab65c8d79a04719ea24e645fa2781e820aadaa53da5888d6c818 07:11:36 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine 07:11:36 ---> a36622ca3599 07:11:36 Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 07:11:38 ---> Running in ab18485baf26 07:11:38 Removing intermediate container ab18485baf26 07:11:38 ---> 2691c454a0fe 07:11:38 Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 07:11:38 ---> Running in 7173d3406210 07:11:41 Removing intermediate container 7173d3406210 07:11:41 ---> 10bdd97f26e8 07:11:41 Step 5/8 : RUN apk add --update --no-cache make git gcc libc-dev libsodium-dev zeromq-dev 07:11:41 ---> Running in 99228b05751d 07:11:42 fetch https://nl.alpinelinux.org/alpine/v3.13/main/aarch64/APKINDEX.tar.gz 07:11:43 fetch https://nl.alpinelinux.org/alpine/v3.13/community/aarch64/APKINDEX.tar.gz 07:11:44 (1/6) Installing libc-dev (0.7.2-r3) 07:11:44 (2/6) Installing libsodium (1.0.18-r0) 07:11:44 (3/6) Installing pkgconf (1.7.3-r0) 07:11:44 (4/6) Installing libsodium-dev (1.0.18-r0) 07:11:44 (5/6) Installing libzmq (4.3.3-r1) 07:11:44 (6/6) Installing zeromq-dev (4.3.3-r1) 07:11:45 Executing busybox-1.32.1-r6.trigger 07:11:45 OK: 139 MiB in 46 packages [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 07:11:45 provisioning config files... 07:11:45 copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/1@tmp/config5213761905252277205tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 07:11:45 ---> docker-login.sh 07:11:45 nexus3.edgexfoundry.org:10001 07:11:46 Removing intermediate container 99228b05751d 07:11:46 ---> beea44e9a70f 07:11:46 Step 6/8 : WORKDIR /device-sdk-go 07:11:46 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:11:46 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 07:11:46 Configure a credential helper to remove this warning. See 07:11:46 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 07:11:46 07:11:46 Login Succeeded 07:11:46 nexus3.edgexfoundry.org:10002 07:11:46 ---> Running in 78716749e3b3 07:11:46 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:11:46 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 07:11:46 Configure a credential helper to remove this warning. See 07:11:46 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 07:11:46 07:11:46 Login Succeeded 07:11:46 nexus3.edgexfoundry.org:10003 07:11:46 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:11:46 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 07:11:46 Configure a credential helper to remove this warning. See 07:11:46 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 07:11:46 07:11:46 Login Succeeded 07:11:46 nexus3.edgexfoundry.org:10004 07:11:46 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:11:46 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 07:11:46 Configure a credential helper to remove this warning. See 07:11:46 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 07:11:46 07:11:46 Login Succeeded 07:11:46 docker.io 07:11:46 Removing intermediate container 78716749e3b3 07:11:46 ---> 67023e98f134 07:11:46 Step 7/8 : COPY . . 07:11:47 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:11:47 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 07:11:47 Configure a credential helper to remove this warning. See 07:11:47 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 07:11:47 07:11:47 Login Succeeded 07:11:47 ---> docker-login.sh ends [Pipeline] } 07:11:47 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 07:11:47 ========================================================= 07:11:47 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine] 07:11:47 ========================================================= [Pipeline] isUnix [Pipeline] sh 07:11:48 + 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 . 07:11:48 Sending build context to Docker daemon 2.66MB 07:11:48 Step 1/8 : ARG BASE=golang:1.16-alpine3.12 07:11:48 Step 2/8 : FROM ${BASE} 07:11:48 1.16-alpine: Pulling from edgex-devops/edgex-golang-base 07:11:48 540db60ca938: Pulling fs layer 07:11:48 adcc1eea9eea: Pulling fs layer 07:11:48 4c4ab2625f07: Pulling fs layer 07:11:48 0510c868ecb4: Pulling fs layer 07:11:48 afea3b2eda06: Pulling fs layer 07:11:48 7809a108b3ef: Pulling fs layer 07:11:48 f706445af74f: Pulling fs layer 07:11:48 0510c868ecb4: Waiting 07:11:48 afea3b2eda06: Waiting 07:11:48 7809a108b3ef: Waiting 07:11:48 f706445af74f: Waiting 07:11:48 4c4ab2625f07: Download complete 07:11:48 adcc1eea9eea: Verifying Checksum 07:11:48 adcc1eea9eea: Download complete 07:11:48 afea3b2eda06: Verifying Checksum 07:11:48 afea3b2eda06: Download complete 07:11:48 540db60ca938: Verifying Checksum 07:11:48 540db60ca938: Download complete 07:11:48 7809a108b3ef: Verifying Checksum 07:11:48 7809a108b3ef: Download complete 07:11:48 ---> f4e865789f38 07:11:48 Step 8/8 : RUN go mod download 07:11:48 ---> Running in f8010c4d510c 07:11:48 540db60ca938: Pull complete 07:11:48 adcc1eea9eea: Pull complete 07:11:48 4c4ab2625f07: Pull complete 07:11:50 f706445af74f: Verifying Checksum 07:11:50 f706445af74f: Download complete 07:11:50 0510c868ecb4: Verifying Checksum 07:11:50 0510c868ecb4: Download complete 07:11:54 0510c868ecb4: Pull complete 07:11:54 afea3b2eda06: Pull complete 07:11:54 7809a108b3ef: Pull complete 07:11:55 f706445af74f: Pull complete 07:11:55 Digest: sha256:3789524f83b4b99ff44900c39f6da7fc44f99660cd9adf292610dec398b137f4 07:11:55 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine 07:11:55 ---> b068be0155e3 07:11:55 Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 07:11:59 ---> Running in 38431ca9c908 07:11:59 Removing intermediate container 38431ca9c908 07:11:59 ---> 9ef19fb78fcb 07:11:59 Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 07:11:59 ---> Running in 0e7767ce79a7 07:11:59 Removing intermediate container 0e7767ce79a7 07:11:59 ---> 634399c2e01c 07:11:59 Step 5/8 : RUN apk add --update --no-cache make git gcc libc-dev libsodium-dev zeromq-dev 07:11:59 ---> Running in 772327e57163 07:12:00 fetch https://nl.alpinelinux.org/alpine/v3.13/main/x86_64/APKINDEX.tar.gz 07:12:01 fetch https://nl.alpinelinux.org/alpine/v3.13/community/x86_64/APKINDEX.tar.gz 07:12:02 (1/6) Installing libc-dev (0.7.2-r3) 07:12:02 (2/6) Installing libsodium (1.0.18-r0) 07:12:02 (3/6) Installing pkgconf (1.7.3-r0) 07:12:02 (4/6) Installing libsodium-dev (1.0.18-r0) 07:12:02 (5/6) Installing libzmq (4.3.3-r1) 07:12:02 (6/6) Installing zeromq-dev (4.3.3-r1) 07:12:02 Executing busybox-1.32.1-r6.trigger 07:12:02 OK: 150 MiB in 46 packages 07:12:02 Removing intermediate container 772327e57163 07:12:02 ---> 02dc9bd4f087 07:12:02 Step 6/8 : WORKDIR /device-sdk-go 07:12:02 ---> Running in ab8ab68a0994 07:12:02 Removing intermediate container ab8ab68a0994 07:12:02 ---> f314014ef8f1 07:12:02 Step 7/8 : COPY . . 07:12:03 ---> ddd81142e545 07:12:03 Step 8/8 : RUN go mod download 07:12:03 ---> Running in c01d125877bc 07:12:15 Removing intermediate container f8010c4d510c 07:12:15 ---> 9e45a7ebe1ca 07:12:15 Successfully built 9e45a7ebe1ca 07:12:15 Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh 07:12:15 + docker inspect -f . ci-base-image-arm64 07:12:15 . [Pipeline] withDockerContainer 07:12:15 prd-ubuntu18.04-docker-arm64-4c-16g-161 does not seem to be running inside a container 07:12:15 Removing intermediate container c01d125877bc 07:12:15 ---> 02b4f771bea1 07:12:15 Successfully built 02b4f771bea1 07:12:15 Successfully tagged ci-base-image-x86_64:latest 07:12:15 $ 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 ******** -e ******** ci-base-image-arm64 cat 07:12:17 $ docker top 8cf69c62da5ac24f63d9108a52a2fb0fb1ca90e114f9bd0ac58d73e1296b1f5d -eo pid,comm [Pipeline] { [Pipeline] sh [Pipeline] isUnix [Pipeline] sh 07:12:18 + docker inspect -f . ci-base-image-x86_64 07:12:18 . [Pipeline] withDockerContainer 07:12:18 + go version 07:12:18 go version go1.16.5 linux/arm64 07:12:18 prd-centos7-docker-4c-2g-162 does not seem to be running inside a container 07:12:18 $ 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-x86_64 cat 07:12:19 $ docker top f70aba30ac41b684fa075f5afda7593a36347121dc8e2f9d3f99cf4e8d338c15 -eo pid,comm [Pipeline] { [Pipeline] } 07:12:19 $ docker stop --time=1 8cf69c62da5ac24f63d9108a52a2fb0fb1ca90e114f9bd0ac58d73e1296b1f5d 07:12:21 $ docker rm -f 8cf69c62da5ac24f63d9108a52a2fb0fb1ca90e114f9bd0ac58d73e1296b1f5d [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] sh [Pipeline] // script [Pipeline] } 07:12:21 + go version 07:12:21 go version go1.16.3 linux/amd64 [Pipeline] // stage [Pipeline] } 07:12:21 $ docker stop --time=1 f70aba30ac41b684fa075f5afda7593a36347121dc8e2f9d3f99cf4e8d338c15 07:12:22 $ docker rm -f f70aba30ac41b684fa075f5afda7593a36347121dc8e2f9d3f99cf4e8d338c15 [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (Test) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [Pipeline] isUnix [Pipeline] sh 07:12:23 + docker inspect -f . ci-base-image-arm64 07:12:23 . [Pipeline] withDockerContainer 07:12:23 + docker inspect -f . ci-base-image-x86_64 07:12:23 . 07:12:24 prd-ubuntu18.04-docker-arm64-4c-16g-161 does not seem to be running inside a container 07:12:24 $ 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 ******** -e ******** ci-base-image-arm64 cat 07:12:25 $ docker top 02ed88af26ccca533c0dc6afa9e28f3205944bc14a9889867e92d0000e07461a -eo pid,comm [Pipeline] { [Pipeline] withDockerContainer 07:12:26 prd-centos7-docker-4c-2g-162 does not seem to be running inside a container 07:12:26 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/1 -v /w/workspace/device-sdk-go/1:/w/workspace/device-sdk-go/1:rw,z -v /w/workspace/device-sdk-go/1@tmp:/w/workspace/device-sdk-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 07:12:26 $ docker top 2d11e7db8e6b319e23880990ca500289b3811e26a4af026c0c7d5158d06aa047 -eo pid,comm [Pipeline] { [Pipeline] sh [Pipeline] sh 07:12:27 + go mod tidy 07:12:27 + go mod tidy [Pipeline] sh 07:12:27 + make test 07:12:27 go mod tidy 07:12:28 GO111MODULE=on go test -race -coverprofile=coverage.out ./... [Pipeline] sh 07:12:28 + make test 07:12:28 go mod tidy 07:12:29 GO111MODULE=on go test -race -coverprofile=coverage.out ./... 07:12:34 ? github.com/edgexfoundry/device-sdk-go/v2 [no test files] 07:12:51 ? github.com/edgexfoundry/device-sdk-go/v2 [no test files] 07:13:01 ? github.com/edgexfoundry/device-sdk-go/v2/example/cmd/device-simple [no test files] 07:13:01 ? github.com/edgexfoundry/device-sdk-go/v2/example/config [no test files] 07:13:01 ? github.com/edgexfoundry/device-sdk-go/v2/example/driver [no test files] 07:13:01 ok github.com/edgexfoundry/device-sdk-go/v2/internal/application 0.062s coverage: 25.4% of statements 07:13:01 ? github.com/edgexfoundry/device-sdk-go/v2/internal/autodiscovery [no test files] 07:13:01 ok github.com/edgexfoundry/device-sdk-go/v2/internal/autoevent 0.057s coverage: 28.1% of statements 07:13:01 ok github.com/edgexfoundry/device-sdk-go/v2/internal/cache 0.058s coverage: 78.9% of statements 07:13:01 ok github.com/edgexfoundry/device-sdk-go/v2/internal/clients 0.048s coverage: 9.0% of statements 07:13:01 ? github.com/edgexfoundry/device-sdk-go/v2/internal/common [no test files] 07:13:01 ? github.com/edgexfoundry/device-sdk-go/v2/internal/config [no test files] 07:13:01 ? github.com/edgexfoundry/device-sdk-go/v2/internal/container [no test files] 07:13:02 ok github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http 0.068s coverage: 29.2% of statements 07:13:02 ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http/correlation [no test files] 07:13:03 ok github.com/edgexfoundry/device-sdk-go/v2/internal/messaging 1.054s coverage: 83.3% of statements 07:13:03 ? github.com/edgexfoundry/device-sdk-go/v2/internal/provision [no test files] 07:13:03 ? github.com/edgexfoundry/device-sdk-go/v2/internal/telemetry [no test files] 07:13:03 ok github.com/edgexfoundry/device-sdk-go/v2/internal/transformer 0.091s coverage: 58.0% of statements 07:13:05 ok github.com/edgexfoundry/device-sdk-go/v2/pkg/models 0.831s coverage: 89.2% of statements 07:13:05 ? github.com/edgexfoundry/device-sdk-go/v2/pkg/models/mocks [no test files] 07:13:05 ok github.com/edgexfoundry/device-sdk-go/v2/pkg/service 0.050s coverage: 5.0% of statements 07:13:05 ? github.com/edgexfoundry/device-sdk-go/v2/pkg/startup [no test files] 07:13:05 GO111MODULE=on go vet ./... 07:13:27 gofmt -l . 07:13:27 [ "`gofmt -l .`" = "" ] 07:13:27 ./bin/test-attribution-txt.sh 07:13:27 ./bin/test-go-mod-tidy.sh [Pipeline] } 07:13:27 $ docker stop --time=1 2d11e7db8e6b319e23880990ca500289b3811e26a4af026c0c7d5158d06aa047 07:13:28 $ docker rm -f 2d11e7db8e6b319e23880990ca500289b3811e26a4af026c0c7d5158d06aa047 [Pipeline] // withDockerContainer [Pipeline] sh 07:13:29 + sudo chown -R jenkins:jenkins . [Pipeline] stash 07:13:29 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 07:13:32 + sudo chown -R jenkins:jenkins . [Pipeline] sh 07:13:33 + ls -al . 07:13:33 total 208 07:13:33 drwxrwxr-x. 10 jenkins jenkins 4096 Jun 10 07:13 . 07:13:33 drwxrwxr-x. 4 jenkins jenkins 28 Jun 10 07:11 .. 07:13:33 drwxrwxr-x. 2 jenkins jenkins 64 Jun 10 07:11 bin 07:13:33 -rw-r--r--. 1 jenkins jenkins 126071 Jun 10 07:13 coverage.out 07:13:33 -rw-rw-r--. 1 jenkins jenkins 987 Jun 10 07:11 Dockerfile.build 07:13:33 -rw-rw-r--. 1 jenkins jenkins 140 Jun 10 07:11 .dockerignore 07:13:33 drwxrwxr-x. 5 jenkins jenkins 62 Jun 10 07:11 example 07:13:33 drwxrwxr-x. 8 jenkins jenkins 179 Jun 10 07:11 .git 07:13:33 drwxrwxr-x. 2 jenkins jenkins 103 Jun 10 07:11 .github 07:13:33 -rw-rw-r--. 1 jenkins jenkins 138 Jun 10 07:11 .gitignore 07:13:33 -rw-r--r--. 1 jenkins jenkins 575 Jun 10 07:13 go.mod 07:13:33 -rw-r--r--. 1 jenkins jenkins 20472 Jun 10 07:12 go.sum 07:13:33 drwxrwxr-x. 15 jenkins jenkins 224 Jun 10 07:11 internal 07:13:33 -rw-rw-r--. 1 jenkins jenkins 894 Jun 10 07:11 Jenkinsfile 07:13:33 -rw-rw-r--. 1 jenkins jenkins 11341 Jun 10 07:11 LICENSE 07:13:33 -rw-rw-r--. 1 jenkins jenkins 1026 Jun 10 07:11 Makefile 07:13:33 drwxrwxr-x. 4 jenkins jenkins 26 Jun 10 07:11 openapi 07:13:33 drwxrwxr-x. 5 jenkins jenkins 50 Jun 10 07:11 pkg 07:13:33 -rw-rw-r--. 1 jenkins jenkins 7652 Jun 10 07:11 README.md 07:13:33 -rw-rw-r--. 1 jenkins jenkins 6616 Jun 10 07:11 RELEASE-NOTES.txt 07:13:33 drwxrwxr-x. 4 jenkins jenkins 54 Jun 10 07:11 snap 07:13:33 -rw-rw-r--. 1 jenkins jenkins 5 Jun 10 07:08 VERSION 07:13:33 -rw-rw-r--. 1 jenkins jenkins 222 Jun 10 07:11 version.go [Pipeline] isUnix [Pipeline] sh 07:13:33 + 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=4be52ad7194d3bb75cdabe87e13f51513f36b649 --label arch=amd64 --label version=0.0.0 . 07:13:33 Sending build context to Docker daemon 2.787MB 07:13:33 Step 1/23 : ARG BASE=golang:1.16-alpine3.12 07:13:33 Step 2/23 : FROM ${BASE} AS builder 07:13:33 ---> 02b4f771bea1 07:13:33 Step 3/23 : WORKDIR /device-sdk-go 07:13:33 ---> Running in 6ef35cd65cfe 07:13:33 Removing intermediate container 6ef35cd65cfe 07:13:33 ---> 02f5061bd4a7 07:13:33 Step 4/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 07:13:33 ---> Running in 6aa0e7daf2d6 07:13:33 Removing intermediate container 6aa0e7daf2d6 07:13:33 ---> 6cc81a6994bd 07:13:33 Step 5/23 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 07:13:33 ---> Running in 9303ff6ed5a1 07:13:34 Removing intermediate container 9303ff6ed5a1 07:13:34 ---> 9d0cefc3ad3b 07:13:34 Step 6/23 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev 07:13:34 ---> Running in a1142d6e5210 07:13:34 fetch https://nl.alpinelinux.org/alpine/v3.13/main/x86_64/APKINDEX.tar.gz 07:13:35 fetch https://nl.alpinelinux.org/alpine/v3.13/community/x86_64/APKINDEX.tar.gz 07:13:35 OK: 150 MiB in 46 packages 07:13:36 Removing intermediate container a1142d6e5210 07:13:36 ---> ad90f2de8fce 07:13:36 Step 7/23 : COPY . . 07:13:36 ---> 52bde55365d5 07:13:36 Step 8/23 : RUN go mod download 07:13:36 ---> Running in ced80aa55a42 07:13:37 Removing intermediate container ced80aa55a42 07:13:37 ---> 9f6a8a15b00f 07:13:37 Step 9/23 : RUN make build 07:13:37 ---> Running in 2914e77caa16 07:13:37 go mod tidy 07:13:37 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 07:13:49 CGO_ENABLED=1 GO111MODULE=on go install -tags=safe 07:13:50 Removing intermediate container 2914e77caa16 07:13:50 ---> 7bbeb0fa5c9f 07:13:50 Step 10/23 : FROM alpine:3.12 07:13:50 3.12: Pulling from library/alpine 07:13:51 339de151aab4: Pulling fs layer 07:13:51 339de151aab4: Verifying Checksum 07:13:51 339de151aab4: Download complete 07:13:51 339de151aab4: Pull complete 07:13:51 Digest: sha256:36553b10a4947067b9fbb7d532951066293a68eae893beba1d9235f7d11a20ad 07:13:51 Status: Downloaded newer image for alpine:3.12 07:13:51 ---> 13621d1b12d4 07:13:51 Step 11/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 07:13:51 ---> Running in c76e30f6c670 07:13:51 Removing intermediate container c76e30f6c670 07:13:51 ---> 5d6128627779 07:13:51 Step 12/23 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 07:13:51 ---> Running in 3e78d0bc92b7 07:13:52 Removing intermediate container 3e78d0bc92b7 07:13:52 ---> e0d731dc37c7 07:13:52 Step 13/23 : RUN apk add --update --no-cache zeromq 07:13:52 ---> Running in 46eb708d0bdf 07:13:52 fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz 07:13:53 fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz 07:13:53 (1/5) Installing libgcc (9.3.0-r2) 07:13:53 (2/5) Installing libsodium (1.0.18-r0) 07:13:53 (3/5) Installing libstdc++ (9.3.0-r2) 07:13:54 (4/5) Installing libzmq (4.3.3-r0) 07:13:54 (5/5) Installing zeromq (4.3.3-r0) 07:13:54 Executing busybox-1.31.1-r20.trigger 07:13:54 OK: 8 MiB in 19 packages 07:13:55 Removing intermediate container 46eb708d0bdf 07:13:55 ---> 90c1aa40853c 07:13:55 Step 14/23 : WORKDIR / 07:13:55 ---> Running in 36a1893275e8 07:13:55 Removing intermediate container 36a1893275e8 07:13:55 ---> 6e08bbe74136 07:13:55 Step 15/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt 07:13:55 ---> 2077730a0df2 07:13:55 Step 16/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple 07:13:55 ---> 47088e71ad0b 07:13:55 Step 17/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res 07:13:55 ---> fbbdec759a86 07:13:55 Step 18/23 : EXPOSE 59999 07:13:55 ---> Running in e341a7fc9735 07:13:56 Removing intermediate container e341a7fc9735 07:13:56 ---> d1a54b14a11a 07:13:56 Step 19/23 : ENTRYPOINT ["/device-simple"] 07:13:56 ---> Running in e4bad9989ed6 07:13:56 Removing intermediate container e4bad9989ed6 07:13:56 ---> a63c9f185ae1 07:13:56 Step 20/23 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] 07:13:56 ---> Running in 15013d742162 07:13:56 Removing intermediate container 15013d742162 07:13:56 ---> 5924b1a23d94 07:13:56 Step 21/23 : LABEL arch=amd64 07:13:56 ---> Running in a5d54b5f48f3 07:13:56 Removing intermediate container a5d54b5f48f3 07:13:56 ---> 5dfcd883d908 07:13:56 Step 22/23 : LABEL git_sha=4be52ad7194d3bb75cdabe87e13f51513f36b649 07:13:56 ---> Running in 66779c1c12ec 07:13:56 Removing intermediate container 66779c1c12ec 07:13:56 ---> 6c2b468a368e 07:13:56 Step 23/23 : LABEL version=0.0.0 07:13:56 ---> Running in 47e1f9d477e8 07:13:56 Removing intermediate container 47e1f9d477e8 07:13:56 ---> 2eac49418c8f 07:13:56 [Warning] One or more build-args [ARCH MAKE] were not consumed 07:13:56 Successfully built 2eac49418c8f 07:13:56 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 07:13:57 ---> job-cost.sh 07:13:57 lf-activate-venv(): INFO: Creating python3 venv at /tmp/venv-b7Cu 07:13:59 ? github.com/edgexfoundry/device-sdk-go/v2/example/cmd/device-simple [no test files] 07:13:59 ? github.com/edgexfoundry/device-sdk-go/v2/example/config [no test files] 07:13:59 ? github.com/edgexfoundry/device-sdk-go/v2/example/driver [no test files] 07:14:05 ok github.com/edgexfoundry/device-sdk-go/v2/internal/application 0.378s coverage: 25.4% of statements 07:14:05 ? github.com/edgexfoundry/device-sdk-go/v2/internal/autodiscovery [no test files] 07:14:05 ok github.com/edgexfoundry/device-sdk-go/v2/internal/autoevent 0.250s coverage: 28.1% of statements 07:14:05 ok github.com/edgexfoundry/device-sdk-go/v2/internal/cache 0.284s coverage: 78.9% of statements 07:14:05 ok github.com/edgexfoundry/device-sdk-go/v2/internal/clients 0.191s coverage: 9.0% of statements 07:14:05 ? github.com/edgexfoundry/device-sdk-go/v2/internal/common [no test files] 07:14:05 ? github.com/edgexfoundry/device-sdk-go/v2/internal/config [no test files] 07:14:05 ? github.com/edgexfoundry/device-sdk-go/v2/internal/container [no test files] 07:14:07 ok github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http 0.299s coverage: 29.2% of statements 07:14:07 ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http/correlation [no test files] 07:14:07 lf-activate-venv(): INFO: Installing: zipp==1.1.0 python-openstackclient 07:14:08 ok github.com/edgexfoundry/device-sdk-go/v2/internal/messaging 1.213s coverage: 83.3% of statements 07:14:08 ? github.com/edgexfoundry/device-sdk-go/v2/internal/provision [no test files] 07:14:08 ? github.com/edgexfoundry/device-sdk-go/v2/internal/telemetry [no test files] 07:14:08 ok github.com/edgexfoundry/device-sdk-go/v2/internal/transformer 0.351s coverage: 58.0% of statements 07:14:12 ok github.com/edgexfoundry/device-sdk-go/v2/pkg/models 3.026s coverage: 89.2% of statements 07:14:12 ? github.com/edgexfoundry/device-sdk-go/v2/pkg/models/mocks [no test files] 07:14:12 ok github.com/edgexfoundry/device-sdk-go/v2/pkg/service 0.180s coverage: 5.0% of statements 07:14:12 ? github.com/edgexfoundry/device-sdk-go/v2/pkg/startup [no test files] 07:14:12 GO111MODULE=on go vet ./... 07:14:20 lf-activate-venv(): INFO: Adding /tmp/venv-b7Cu/bin to PATH 07:14:20 INFO: No Stack... 07:14:20 INFO: Retrieving Pricing Info for: v3-standard-2 07:14:21 INFO: Archiving Costs [Pipeline] sh 07:14:21 + cat /w/workspace/device-sdk-go/1/archives/cost.csv 07:14:21 + cut -d, -f6 [Pipeline] lock 07:14:21 Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-PR-966-1-stack-cost] 07:14:21 Resource [jenkins-edgexfoundry-device-sdk-go-PR-966-1-stack-cost] did not exist. Created. 07:14:21 Lock acquired on [jenkins-edgexfoundry-device-sdk-go-PR-966-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 07:14:21 + echo total: 0.05999999865889549 [Pipeline] stash 07:14:22 Stashed 1 file(s) [Pipeline] } 07:14:22 Lock released on resource [jenkins-edgexfoundry-device-sdk-go-PR-966-1-stack-cost] [Pipeline] // lock [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } 07:15:09 gofmt -l . 07:15:09 [ "`gofmt -l .`" = "" ] 07:15:09 ./bin/test-attribution-txt.sh 07:15:09 ./bin/test-go-mod-tidy.sh [Pipeline] } 07:15:09 $ docker stop --time=1 02ed88af26ccca533c0dc6afa9e28f3205944bc14a9889867e92d0000e07461a 07:15:11 $ docker rm -f 02ed88af26ccca533c0dc6afa9e28f3205944bc14a9889867e92d0000e07461a [Pipeline] // withDockerContainer [Pipeline] sh 07:15:12 + sudo chown -R jenkins:jenkins . [Pipeline] stash 07:15:12 Warning: overwriting stash ‘coverage-report’ 07:15:12 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 07:15:13 + sudo chown -R jenkins:jenkins . [Pipeline] sh 07:15:14 + ls -al . 07:15:14 total 244 07:15:14 drwxrwxr-x 10 jenkins jenkins 4096 Jun 10 07:15 . 07:15:14 drwxrwxr-x 4 jenkins jenkins 4096 Jun 10 07:10 .. 07:15:14 -rw-rw-r-- 1 jenkins jenkins 140 Jun 10 07:10 .dockerignore 07:15:14 drwxrwxr-x 8 jenkins jenkins 4096 Jun 10 07:10 .git 07:15:14 drwxrwxr-x 2 jenkins jenkins 4096 Jun 10 07:10 .github 07:15:14 -rw-rw-r-- 1 jenkins jenkins 138 Jun 10 07:10 .gitignore 07:15:14 -rw-rw-r-- 1 jenkins jenkins 987 Jun 10 07:10 Dockerfile.build 07:15:14 -rw-rw-r-- 1 jenkins jenkins 894 Jun 10 07:10 Jenkinsfile 07:15:14 -rw-rw-r-- 1 jenkins jenkins 11341 Jun 10 07:10 LICENSE 07:15:14 -rw-rw-r-- 1 jenkins jenkins 1026 Jun 10 07:10 Makefile 07:15:14 -rw-rw-r-- 1 jenkins jenkins 7652 Jun 10 07:10 README.md 07:15:14 -rw-rw-r-- 1 jenkins jenkins 6616 Jun 10 07:10 RELEASE-NOTES.txt 07:15:14 -rw-rw-r-- 1 jenkins jenkins 5 Jun 10 07:08 VERSION 07:15:14 drwxrwxr-x 2 jenkins jenkins 4096 Jun 10 07:10 bin 07:15:14 -rw-r--r-- 1 jenkins jenkins 126072 Jun 10 07:14 coverage.out 07:15:14 drwxrwxr-x 5 jenkins jenkins 4096 Jun 10 07:10 example 07:15:14 -rw-r--r-- 1 jenkins jenkins 575 Jun 10 07:15 go.mod 07:15:14 -rw-r--r-- 1 jenkins jenkins 20472 Jun 10 07:12 go.sum 07:15:14 drwxrwxr-x 15 jenkins jenkins 4096 Jun 10 07:10 internal 07:15:14 drwxrwxr-x 4 jenkins jenkins 4096 Jun 10 07:10 openapi 07:15:14 drwxrwxr-x 5 jenkins jenkins 4096 Jun 10 07:10 pkg 07:15:14 drwxrwxr-x 4 jenkins jenkins 4096 Jun 10 07:10 snap 07:15:14 -rw-rw-r-- 1 jenkins jenkins 222 Jun 10 07:10 version.go [Pipeline] isUnix [Pipeline] sh 07:15:14 + 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=4be52ad7194d3bb75cdabe87e13f51513f36b649 --label arch=arm64 --label version=0.0.0 . 07:15:15 Sending build context to Docker daemon 2.786MB 07:15:15 Step 1/23 : ARG BASE=golang:1.16-alpine3.12 07:15:15 Step 2/23 : FROM ${BASE} AS builder 07:15:15 ---> 9e45a7ebe1ca 07:15:15 Step 3/23 : WORKDIR /device-sdk-go 07:15:15 ---> Running in 6e093313a473 07:15:16 Removing intermediate container 6e093313a473 07:15:16 ---> 76dbe5e2e22e 07:15:16 Step 4/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 07:15:16 ---> Running in 566e00120488 07:15:16 Removing intermediate container 566e00120488 07:15:16 ---> d3637b5d80c3 07:15:16 Step 5/23 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 07:15:16 ---> Running in 034cb646aa05 07:15:19 Removing intermediate container 034cb646aa05 07:15:19 ---> 7cc9592c8999 07:15:19 Step 6/23 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev 07:15:19 ---> Running in 3730ba87fff2 07:15:20 fetch https://nl.alpinelinux.org/alpine/v3.13/main/aarch64/APKINDEX.tar.gz 07:15:21 fetch https://nl.alpinelinux.org/alpine/v3.13/community/aarch64/APKINDEX.tar.gz 07:15:22 OK: 139 MiB in 46 packages 07:15:23 Removing intermediate container 3730ba87fff2 07:15:23 ---> e57a738588a8 07:15:23 Step 7/23 : COPY . . 07:15:24 ---> d0856981b611 07:15:24 Step 8/23 : RUN go mod download 07:15:24 ---> Running in 5d5c11544e19 07:15:27 Removing intermediate container 5d5c11544e19 07:15:27 ---> 454f2e1ba097 07:15:27 Step 9/23 : RUN make build 07:15:27 ---> Running in c485d323c532 07:15:28 go mod tidy 07:15:29 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 07:16:01 CGO_ENABLED=1 GO111MODULE=on go install -tags=safe 07:16:03 Removing intermediate container c485d323c532 07:16:03 ---> efe45dacf7f0 07:16:03 Step 10/23 : FROM alpine:3.12 07:16:03 3.12: Pulling from library/alpine 07:16:04 d2f70382dc9a: Pulling fs layer 07:16:04 d2f70382dc9a: Verifying Checksum 07:16:04 d2f70382dc9a: Download complete 07:16:05 d2f70382dc9a: Pull complete 07:16:05 Digest: sha256:36553b10a4947067b9fbb7d532951066293a68eae893beba1d9235f7d11a20ad 07:16:05 Status: Downloaded newer image for alpine:3.12 07:16:05 ---> 9852663dfa18 07:16:05 Step 11/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 07:16:05 ---> Running in fc10c0d35999 07:16:05 Removing intermediate container fc10c0d35999 07:16:05 ---> eb85abb87625 07:16:05 Step 12/23 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 07:16:05 ---> Running in 834c3b4c0bb1 07:16:07 Removing intermediate container 834c3b4c0bb1 07:16:07 ---> c8a46480e583 07:16:07 Step 13/23 : RUN apk add --update --no-cache zeromq 07:16:07 ---> Running in 51c39612b8c2 07:16:09 fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz 07:16:09 fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz 07:16:10 (1/5) Installing libgcc (9.3.0-r2) 07:16:10 (2/5) Installing libsodium (1.0.18-r0) 07:16:10 (3/5) Installing libstdc++ (9.3.0-r2) 07:16:10 (4/5) Installing libzmq (4.3.3-r0) 07:16:10 (5/5) Installing zeromq (4.3.3-r0) 07:16:10 Executing busybox-1.31.1-r20.trigger 07:16:10 OK: 8 MiB in 19 packages 07:16:11 Removing intermediate container 51c39612b8c2 07:16:11 ---> 2af06637102d 07:16:11 Step 14/23 : WORKDIR / 07:16:12 ---> Running in 66d693376806 07:16:12 Removing intermediate container 66d693376806 07:16:12 ---> a979b09edaa7 07:16:12 Step 15/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt 07:16:13 ---> 0b8964489c47 07:16:13 Step 16/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple 07:16:14 ---> 2c0c45f61d30 07:16:14 Step 17/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res 07:16:15 ---> 9a65e101a51a 07:16:15 Step 18/23 : EXPOSE 59999 07:16:15 ---> Running in 7b12d38f4dc7 07:16:15 Removing intermediate container 7b12d38f4dc7 07:16:15 ---> 66d942927571 07:16:15 Step 19/23 : ENTRYPOINT ["/device-simple"] 07:16:15 ---> Running in 9316d4ec89f0 07:16:16 Removing intermediate container 9316d4ec89f0 07:16:16 ---> 7306fc939d6d 07:16:16 Step 20/23 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] 07:16:16 ---> Running in 4f1b96f75444 07:16:17 Removing intermediate container 4f1b96f75444 07:16:17 ---> 3a9bcd797b16 07:16:17 Step 21/23 : LABEL arch=arm64 07:16:17 ---> Running in 12e73a32e55b 07:16:17 Removing intermediate container 12e73a32e55b 07:16:17 ---> 0221a463fe5d 07:16:17 Step 22/23 : LABEL git_sha=4be52ad7194d3bb75cdabe87e13f51513f36b649 07:16:17 ---> Running in 850a7fba02cc 07:16:18 Removing intermediate container 850a7fba02cc 07:16:18 ---> cea1e65712c8 07:16:18 Step 23/23 : LABEL version=0.0.0 07:16:18 ---> Running in 5e375a0bfd3d 07:16:18 Removing intermediate container 5e375a0bfd3d 07:16:18 ---> e67401bb40a8 07:16:18 [Warning] One or more build-args [ARCH MAKE] were not consumed 07:16:18 Successfully built e67401bb40a8 07:16:18 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 07:16:19 ---> job-cost.sh 07:16:19 lf-activate-venv(): INFO: Creating python3 venv at /tmp/venv-njvv 07:17:27 Retrying (Retry(total=4, connect=None, read=None, redirect=None, status=None)) after connection broken by 'ReadTimeoutError("HTTPSConnectionPool(host='pypi.python.org', port=443): Read timed out. (read timeout=15)",)': /simple/importlib-metadata/ 07:17:38 Retrying (Retry(total=3, connect=None, read=None, redirect=None, status=None)) after connection broken by 'ReadTimeoutError("HTTPSConnectionPool(host='pypi.python.org', port=443): Read timed out. (read timeout=15)",)': /simple/importlib-metadata/ 07:17:50 lf-activate-venv(): INFO: Installing: zipp==1.1.0 python-openstackclient 07:19:27 lf-activate-venv(): INFO: Adding /tmp/venv-njvv/bin to PATH 07:19:27 INFO: No Stack... 07:19:27 INFO: Retrieving Pricing Info for: v2-standard-4 07:19:27 INFO: Archiving Costs [Pipeline] sh 07:19:27 + cat /w/workspace/device-sdk-go/1/archives/cost.csv 07:19:27 + cut -d, -f6 [Pipeline] lock 07:19:27 Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-PR-966-1-stack-cost] 07:19:27 Resource [jenkins-edgexfoundry-device-sdk-go-PR-966-1-stack-cost] did not exist. Created. 07:19:27 Lock acquired on [jenkins-edgexfoundry-device-sdk-go-PR-966-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 07:19:28 /w/workspace/device-sdk-go/1@tmp/durable-317884aa/script.sh: 1: /w/workspace/device-sdk-go/1@tmp/durable-317884aa/script.sh: Syntax error: Unterminated quoted string [Pipeline] sh 07:19:28 + echo total: 0.18000000715255737 [Pipeline] stash 07:19:28 Warning: overwriting stash ‘stack-cost’ 07:19:28 Stashed 1 file(s) [Pipeline] } 07:19:28 Lock released on resource [jenkins-edgexfoundry-device-sdk-go-PR-966-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 07:19:30 provisioning config files... 07:19:30 copy managed file [device-sdk-go-codecov-token] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-966@tmp/config213801117701049609tmp [Pipeline] { [Pipeline] sh 07:19:30 + set +x 07:19:30 + bash -s -- 07:19:30 + curl -s https://codecov.io/bash 07:19:30 07:19:30 _____ _ 07:19:30 / ____| | | 07:19:30 | | ___ __| | ___ ___ _____ __ 07:19:30 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 07:19:30 | |___| (_) | (_| | __/ (_| (_) \ V / 07:19:30 \_____\___/ \__,_|\___|\___\___/ \_/ 07:19:30 Bash-1.0.3 07:19:30 07:19:30 07:19:30 ==> git version 2.24.4 found 07:19:30 ==> 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:30 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtsp scp sftp smtp smtps telnet tftp 07:19:30 Features: AsynchDNS GSS-Negotiate IDN IPv6 Largefile NTLM NTLM_WB SSL libz unix-sockets 07:19:30 ==> Jenkins CI detected. 07:19:30 project root: . 07:19:30 --> token set from env 07:19:30 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 07:19:30 ==> Running gcov in . (disable via -X gcov) 07:19:30 ==> Python coveragepy not found 07:19:30 ==> Searching for coverage reports in: 07:19:30 + . 07:19:30 -> Found 1 reports 07:19:30 ==> Detecting git/mercurial file structure 07:19:30 ==> Reading reports 07:19:30 + ./coverage.out bytes=126072 07:19:30 ==> Appending adjustments 07:19:30 https://docs.codecov.io/docs/fixing-reports 07:19:30 + Found adjustments 07:19:30 ==> Gzipping contents 07:19:31 20K /tmp/codecov.IH9r8t.gz 07:19:31 ==> Uploading reports 07:19:31 url: https://codecov.io 07:19:31 query: branch=PR-966&commit=4be52ad7194d3bb75cdabe87e13f51513f36b649&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-966%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=966&job=&cmd_args= 07:19:31 -> Pinging Codecov 07:19:31 https://codecov.io/upload/v4?package=bash-1.0.3&token=secret&branch=PR-966&commit=4be52ad7194d3bb75cdabe87e13f51513f36b649&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-966%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=966&job=&cmd_args= 07:19:31 -> Uploading to 07:19:31 https://storage.googleapis.com/codecov/v4/raw/2021-06-10/7E55EF52A471D76F132DFD9A03CDDE97/4be52ad7194d3bb75cdabe87e13f51513f36b649/2645ae5a-f79d-4467-ab39-4419289a3be6.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EKKHVKCKHW7KBCGM7IHR55T63V2PAVJWLVFNITJHDU5G6R5IRN3LMWJA%2F20210610%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20210610T071931Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=fda077ef135fde78d531cd59a6ffb7281343b16867324d187d1cd85ef6dd307b 07:19:31 % Total % Received % Xferd Average Speed Time Time Time Current 07:19:31 Dload Upload Total Spent Left Speed 07:19:32 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 16446 0 0 100 16446 0 36252 --:--:-- --:--:-- --:--:-- 36304 07:19:32 -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/device-sdk-go/commit/4be52ad7194d3bb75cdabe87e13f51513f36b649 [Pipeline] } 07:19:32 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 07:19:35 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 07:19:35 ---> package-listing.sh 07:19:35 ++ facter osfamily 07:19:35 ++ tr '[:upper:]' '[:lower:]' 07:19:36 + OS_FAMILY=redhat 07:19:36 + workspace=/w/workspace/dgexfoundry_device-sdk-go_PR-966 07:19:36 + START_PACKAGES=/tmp/packages_start.txt 07:19:36 + END_PACKAGES=/tmp/packages_end.txt 07:19:36 + DIFF_PACKAGES=/tmp/packages_diff.txt 07:19:36 + PACKAGES=/tmp/packages_start.txt 07:19:36 + '[' /w/workspace/dgexfoundry_device-sdk-go_PR-966 ']' 07:19:36 + PACKAGES=/tmp/packages_end.txt 07:19:36 + case "${OS_FAMILY}" in 07:19:36 + sort 07:19:36 + rpm -qa 07:19:36 + '[' -f /tmp/packages_start.txt ']' 07:19:36 + '[' -f /tmp/packages_end.txt ']' 07:19:36 + diff /tmp/packages_start.txt /tmp/packages_end.txt 07:19:36 + '[' /w/workspace/dgexfoundry_device-sdk-go_PR-966 ']' 07:19:36 + mkdir -p /w/workspace/dgexfoundry_device-sdk-go_PR-966/archives/ 07:19:36 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/dgexfoundry_device-sdk-go_PR-966/archives/ [Pipeline] echo 07:19:36 Launching container with: [--privileged -u 0:0 --net host -v /var/log/sa:/var/log/sa-host -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/dgexfoundry_device-sdk-go_PR-966/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 07:19:37 + facter operatingsystem [Pipeline] isUnix [Pipeline] sh 07:19:37 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 07:19:37 07:19:37 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh 07:19:38 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 07:19:38 alpine: Pulling from edgex-lftools-log-publisher 07:19:38 df20fa9351a1: Pulling fs layer 07:19:38 36b3adc4ff6f: Pulling fs layer 07:19:38 8ad3a11d3b57: Pulling fs layer 07:19:38 46f8f816bc3b: Pulling fs layer 07:19:38 93b61091891f: Pulling fs layer 07:19:38 93b9cdb0e59b: Pulling fs layer 07:19:38 5e14af77c1be: Pulling fs layer 07:19:38 01666e4c0597: Pulling fs layer 07:19:38 aa168da1d23b: Pulling fs layer 07:19:38 46f8f816bc3b: Waiting 07:19:38 93b61091891f: Waiting 07:19:38 93b9cdb0e59b: Waiting 07:19:38 5e14af77c1be: Waiting 07:19:38 01666e4c0597: Waiting 07:19:38 aa168da1d23b: Waiting 07:19:38 36b3adc4ff6f: Verifying Checksum 07:19:38 36b3adc4ff6f: Download complete 07:19:38 46f8f816bc3b: Verifying Checksum 07:19:38 46f8f816bc3b: Download complete 07:19:38 df20fa9351a1: Verifying Checksum 07:19:38 df20fa9351a1: Download complete 07:19:38 93b9cdb0e59b: Verifying Checksum 07:19:38 93b9cdb0e59b: Download complete 07:19:38 5e14af77c1be: Verifying Checksum 07:19:38 5e14af77c1be: Download complete 07:19:38 93b61091891f: Verifying Checksum 07:19:38 93b61091891f: Download complete 07:19:38 01666e4c0597: Verifying Checksum 07:19:38 01666e4c0597: Download complete 07:19:38 df20fa9351a1: Pull complete 07:19:38 8ad3a11d3b57: Verifying Checksum 07:19:38 8ad3a11d3b57: Download complete 07:19:38 36b3adc4ff6f: Pull complete 07:19:39 8ad3a11d3b57: Pull complete 07:19:39 46f8f816bc3b: Pull complete 07:19:39 93b61091891f: Pull complete 07:19:39 93b9cdb0e59b: Pull complete 07:19:39 5e14af77c1be: Pull complete 07:19:39 01666e4c0597: Pull complete 07:19:40 aa168da1d23b: Verifying Checksum 07:19:40 aa168da1d23b: Download complete 07:19:44 aa168da1d23b: Pull complete 07:19:44 Digest: sha256:ac41798234670a79351fc13b8232b4dbeccc6fb1f122f5db5169d11b1762ca7c 07:19:44 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 07:19:44 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer 07:19:44 prd-centos7-docker-4c-2g-160 does not seem to be running inside a container 07:19:44 $ 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-966/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-966 -v /w/workspace/dgexfoundry_device-sdk-go_PR-966:/w/workspace/dgexfoundry_device-sdk-go_PR-966:rw,z -v /w/workspace/dgexfoundry_device-sdk-go_PR-966@tmp:/w/workspace/dgexfoundry_device-sdk-go_PR-966@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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine cat 07:19:47 $ docker top 8104dd3c1e97e91d5ee6cd6e766f3b9e7fdcfbc194b4b52ee4c63ade1d696098 -eo pid,comm [Pipeline] { [Pipeline] sh 07:19:47 + touch /tmp/pre-build-complete [Pipeline] sh 07:19:47 + mkdir -p /var/log/sa [Pipeline] sh 07:19:48 + ls /var/log/sa-host 07:19:48 + sadf -c /var/log/sa-host/sa05 07:19:48 file_magic: OK 07:19:48 HZ: Using current value: 100 07:19:48 file_header: OK 07:19:48 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:48 Statistics: 07:19:48 Hnuu...uuuununununu...Hnuu...uuuununununu... 07:19:48 File successfully converted to sysstat format version 12.2.1 07:19:48 + sadf -c /var/log/sa-host/sa10 07:19:48 file_magic: OK 07:19:48 HZ: Using current value: 100 07:19:48 file_header: OK 07:19:48 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:48 Statistics: 07:19:48 HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... 07:19:48 File successfully converted to sysstat format version 12.2.1 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 07:19:49 provisioning config files... 07:19:49 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-966@tmp/config765533804609230031tmp [Pipeline] { [Pipeline] echo 07:19:49 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 07:19:49 ---> create-netrc.sh [Pipeline] } 07:19:49 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 07:19:50 ---> python-tools-install.sh [Pipeline] echo 07:19:50 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 07:19:50 ---> sudo-logs.sh 07:19:50 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 07:19:50 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 07:19:51 ---> job-cost.sh 07:19:51 lf-activate-venv: SKIPPING 07:19:51 DEBUG: total: 0.18000000715255737 07:19:51 INFO: Retrieving Stack Cost... 07:19:51 INFO: Retrieving Pricing Info for: v3-standard-2 07:19:52 INFO: Archiving Costs [Pipeline] echo 07:19:52 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 07:19:52 ---> logs-deploy.sh 07:19:52 lf-activate-venv: SKIPPING 07:19:52 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-966/1 07:19:52 INFO: archiving workspace using pattern(s): 07:19:53 Archives upload complete. 07:19:53 INFO: archiving logs to Nexus