Pull request #934 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 9f08648ade41faca250647d52fae2d276d6fcbea+9b89d7644d3409c1e42d925e84b99a1b27025fab (c5f80688a3a93bc95187463a0a87e646819f9abb) 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-ssh1354142979033014685.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-ssh8432899461867207303.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-934/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-934/workspace@libs/edgex-global-pipelines@tmp/jenkins-gitclient-ssh1594626048296097125.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-934/workspace@libs/edgex-global-pipelines@tmp/jenkins-gitclient-ssh7691113244822986923.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-ssh762293319882448383.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-934/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-934/workspace@libs/lf-pipelines@tmp/jenkins-gitclient-ssh3692765690849883480.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 Waiting for next available executor on ‘centos7-docker-4c-2g’ Running on prd-centos7-docker-4c-2g-15005 in /w/workspace/dgexfoundry_device-sdk-go_PR-934 [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-934 # 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-934@tmp/jenkins-gitclient-ssh4014503099332211462.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-934@tmp/jenkins-gitclient-ssh9084014977880228500.key > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/934/head:refs/remotes/origin/PR-934 +refs/heads/master:refs/remotes/origin/master # timeout=10 Merging remotes/origin/master commit 9b89d7644d3409c1e42d925e84b99a1b27025fab into PR head commit 9f08648ade41faca250647d52fae2d276d6fcbea Merge succeeded, producing 9f08648ade41faca250647d52fae2d276d6fcbea Checking out Revision 9f08648ade41faca250647d52fae2d276d6fcbea (PR-934) > git config core.sparsecheckout # timeout=10 > git checkout -f 9f08648ade41faca250647d52fae2d276d6fcbea # 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-934@tmp/jenkins-gitclient-ssh5079771623480983944.key > git merge 9b89d7644d3409c1e42d925e84b99a1b27025fab # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 9f08648ade41faca250647d52fae2d276d6fcbea # timeout=10 Commit message: "build: update snap build" 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 [2021-05-19T05:46:06.340Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2021-05-19T05:46:06.544Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2021-05-19T05:46:06.660Z] ========================================================= [2021-05-19T05:46:06.660Z] EdgeX Global Pipelines Version Info [2021-05-19T05:46:06.660Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2021-05-19T05:46:08.113Z] ------------------- [2021-05-19T05:46:08.113Z] stable info: [2021-05-19T05:46:08.113Z] ------------------- [2021-05-19T05:46:08.113Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2021-05-19T05:46:08.113Z] Commit SHA: 9d0281235b943b7ad605f650702698f9078b2862 [2021-05-19T05:46:08.113Z] Message: update stable to v1.0.192 [2021-05-19T05:46:08.693Z] ------------------- [2021-05-19T05:46:08.693Z] experimental info: [2021-05-19T05:46:08.693Z] ------------------- [2021-05-19T05:46:08.693Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2021-05-19T05:46:08.693Z] Commit SHA: 9d0281235b943b7ad605f650702698f9078b2862 [2021-05-19T05:46:08.693Z] Message: update experimental to v1.0.192 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2021-05-19T05:46:08.940Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-go-settings [Pipeline] echo [2021-05-19T05:46:09.060Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-go [Pipeline] echo [2021-05-19T05:46:09.122Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2021-05-19T05:46:09.187Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2021-05-19T05:46:09.247Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2021-05-19T05:46:09.304Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.16 [Pipeline] echo [2021-05-19T05:46:09.370Z] [edgeXSetupEnvironment]: set envvar GOPROXY = https://nexus3.edgexfoundry.org/repository/go-proxy/ [Pipeline] echo [2021-05-19T05:46:09.428Z] [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine [Pipeline] echo [2021-05-19T05:46:09.491Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = example/cmd/device-simple/Dockerfile [Pipeline] echo [2021-05-19T05:46:09.551Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2021-05-19T05:46:09.607Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2021-05-19T05:46:09.667Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-sdk-simple [Pipeline] echo [2021-05-19T05:46:09.737Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2021-05-19T05:46:09.796Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2021-05-19T05:46:09.853Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2021-05-19T05:46:09.913Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo [2021-05-19T05:46:09.969Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2021-05-19T05:46:10.034Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2021-05-19T05:46:10.105Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2021-05-19T05:46:10.165Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2021-05-19T05:46:10.228Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo [2021-05-19T05:46:10.288Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 openapi/v2 [Pipeline] echo [2021-05-19T05:46:10.347Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2021-05-19T05:46:10.408Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2021-05-19T05:46:10.471Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2021-05-19T05:46:10.598Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2021-05-19T05:46:10.668Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-934 [Pipeline] echo [2021-05-19T05:46:10.738Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-934 [Pipeline] echo [2021-05-19T05:46:10.800Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-934 [Pipeline] echo [2021-05-19T05:46:10.860Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 9f08648ade41faca250647d52fae2d276d6fcbea [Pipeline] echo [2021-05-19T05:46:10.928Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 9f08648 [Pipeline] echo [2021-05-19T05:46:10.991Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-05-19T05:46:11.156Z] provisioning config files... [2021-05-19T05:46:11.172Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-934@tmp/config784979524870565456tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-05-19T05:46:11.559Z] ---> docker-login.sh [2021-05-19T05:46:11.559Z] nexus3.edgexfoundry.org:10001 [2021-05-19T05:46:12.134Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-19T05:46:12.134Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-19T05:46:12.134Z] Configure a credential helper to remove this warning. See [2021-05-19T05:46:12.134Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-19T05:46:12.134Z] [2021-05-19T05:46:12.134Z] Login Succeeded [2021-05-19T05:46:12.134Z] nexus3.edgexfoundry.org:10002 [2021-05-19T05:46:12.398Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-19T05:46:12.398Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-19T05:46:12.398Z] Configure a credential helper to remove this warning. See [2021-05-19T05:46:12.398Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-19T05:46:12.398Z] [2021-05-19T05:46:12.398Z] Login Succeeded [2021-05-19T05:46:12.398Z] nexus3.edgexfoundry.org:10003 [2021-05-19T05:46:12.398Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-19T05:46:12.398Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-19T05:46:12.398Z] Configure a credential helper to remove this warning. See [2021-05-19T05:46:12.398Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-19T05:46:12.398Z] [2021-05-19T05:46:12.398Z] Login Succeeded [2021-05-19T05:46:12.398Z] nexus3.edgexfoundry.org:10004 [2021-05-19T05:46:12.660Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-19T05:46:12.660Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-19T05:46:12.660Z] Configure a credential helper to remove this warning. See [2021-05-19T05:46:12.660Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-19T05:46:12.660Z] [2021-05-19T05:46:12.660Z] Login Succeeded [2021-05-19T05:46:12.660Z] docker.io [2021-05-19T05:46:12.660Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-19T05:46:12.921Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-19T05:46:12.921Z] Configure a credential helper to remove this warning. See [2021-05-19T05:46:12.921Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-19T05:46:12.921Z] [2021-05-19T05:46:12.921Z] Login Succeeded [2021-05-19T05:46:12.921Z] ---> docker-login.sh ends [Pipeline] } [2021-05-19T05:46:12.944Z] 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 [2021-05-19T05:46:13.677Z] + git log --format=format:%s -1 9f08648ade41faca250647d52fae2d276d6fcbea [Pipeline] echo [2021-05-19T05:46:13.750Z] GIT_COMMIT: 9f08648ade41faca250647d52fae2d276d6fcbea, Commit Message: build: update snap build [Pipeline] echo [2021-05-19T05:46:13.806Z] This is not a build commit. [Pipeline] isUnix [Pipeline] sh [2021-05-19T05:46:14.464Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-05-19T05:46:14.464Z] [2021-05-19T05:46:14.464Z] Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh [2021-05-19T05:46:14.824Z] + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-05-19T05:46:14.824Z] latest: Pulling from edgex-devops/git-semver [2021-05-19T05:46:14.824Z] 31603596830f: Pulling fs layer [2021-05-19T05:46:14.824Z] 54011a49482f: Pulling fs layer [2021-05-19T05:46:14.824Z] a6820b24f6d8: Pulling fs layer [2021-05-19T05:46:14.824Z] f581987b2513: Pulling fs layer [2021-05-19T05:46:14.824Z] f581987b2513: Waiting [2021-05-19T05:46:14.824Z] 54011a49482f: Verifying Checksum [2021-05-19T05:46:14.824Z] 54011a49482f: Download complete [2021-05-19T05:46:15.101Z] 31603596830f: Verifying Checksum [2021-05-19T05:46:15.101Z] 31603596830f: Download complete [2021-05-19T05:46:15.101Z] f581987b2513: Verifying Checksum [2021-05-19T05:46:15.101Z] f581987b2513: Download complete [2021-05-19T05:46:15.101Z] a6820b24f6d8: Verifying Checksum [2021-05-19T05:46:15.101Z] a6820b24f6d8: Download complete [2021-05-19T05:46:15.101Z] 31603596830f: Pull complete [2021-05-19T05:46:15.367Z] 54011a49482f: Pull complete [2021-05-19T05:46:16.325Z] a6820b24f6d8: Pull complete [2021-05-19T05:46:16.325Z] f581987b2513: Pull complete [2021-05-19T05:46:16.587Z] Digest: sha256:772af3cb61214e5a22880db9bb273bb039d0aa3a8f4edfa0c1def8b4e20ea536 [2021-05-19T05:46:16.587Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-05-19T05:46:16.587Z] nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer [2021-05-19T05:46:16.685Z] prd-centos7-docker-4c-2g-15005 does not seem to be running inside a container [2021-05-19T05:46:16.733Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/dgexfoundry_device-sdk-go_PR-934 -v /w/workspace/dgexfoundry_device-sdk-go_PR-934:/w/workspace/dgexfoundry_device-sdk-go_PR-934:rw,z -v /w/workspace/dgexfoundry_device-sdk-go_PR-934@tmp:/w/workspace/dgexfoundry_device-sdk-go_PR-934@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 [2021-05-19T05:46:17.883Z] $ docker top 8582dce1e20a47011d4334952dbd33237bcffeb47e13e34461fa1b88136fb761 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2021-05-19T05:46:18.105Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-05-19T05:46:18.105Z] [ssh-agent] Looking for ssh-agent implementation... [2021-05-19T05:46:18.213Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-05-19T05:46:18.216Z] $ docker exec 8582dce1e20a47011d4334952dbd33237bcffeb47e13e34461fa1b88136fb761 ssh-agent [2021-05-19T05:46:18.316Z] SSH_AUTH_SOCK=/tmp/ssh-iVWB7X71OE38/agent.12 [2021-05-19T05:46:18.316Z] SSH_AGENT_PID=19 [2021-05-19T05:46:18.324Z] Running ssh-add (command line suppressed) [2021-05-19T05:46:18.416Z] Identity added: /w/workspace/dgexfoundry_device-sdk-go_PR-934@tmp/private_key_1394230719122838821.key (/w/workspace/dgexfoundry_device-sdk-go_PR-934@tmp/private_key_1394230719122838821.key) [2021-05-19T05:46:18.428Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-05-19T05:46:18.794Z] + git tag --points-at HEAD [Pipeline] } [2021-05-19T05:46:18.815Z] $ docker exec --env ******** --env ******** 8582dce1e20a47011d4334952dbd33237bcffeb47e13e34461fa1b88136fb761 ssh-agent -k [2021-05-19T05:46:18.901Z] unset SSH_AUTH_SOCK; [2021-05-19T05:46:18.901Z] unset SSH_AGENT_PID; [2021-05-19T05:46:18.901Z] echo Agent pid 19 killed; [2021-05-19T05:46:18.911Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2021-05-19T05:46:19.006Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-05-19T05:46:19.006Z] [ssh-agent] Looking for ssh-agent implementation... [2021-05-19T05:46:19.106Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-05-19T05:46:19.110Z] $ docker exec 8582dce1e20a47011d4334952dbd33237bcffeb47e13e34461fa1b88136fb761 ssh-agent [2021-05-19T05:46:19.204Z] SSH_AUTH_SOCK=/tmp/ssh-UQRZUYbRNaGT/agent.51 [2021-05-19T05:46:19.204Z] SSH_AGENT_PID=58 [2021-05-19T05:46:19.211Z] Running ssh-add (command line suppressed) [2021-05-19T05:46:19.315Z] Identity added: /w/workspace/dgexfoundry_device-sdk-go_PR-934@tmp/private_key_4145179421689985111.key (/w/workspace/dgexfoundry_device-sdk-go_PR-934@tmp/private_key_4145179421689985111.key) [2021-05-19T05:46:19.326Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-05-19T05:46:19.670Z] + git semver init [2021-05-19T05:46:19.670Z] # -> Open(): unable to determine branch for HEAD [2021-05-19T05:46:19.671Z] # $GIT_DIR = /w/workspace/dgexfoundry_device-sdk-go_PR-934/.git [2021-05-19T05:46:19.671Z] # $GIT_WORK_TREE = /w/workspace/dgexfoundry_device-sdk-go_PR-934 [2021-05-19T05:46:19.671Z] # $SEMVER_REMOTE_NAME = origin [2021-05-19T05:46:19.671Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2021-05-19T05:46:19.671Z] # $SEMVER_USER_NAME = edgex-jenkins [2021-05-19T05:46:19.671Z] # $SEMVER_BRANCH = PR-934 [2021-05-19T05:46:19.671Z] # $SEMVER_TEMP = /tmp/semver-067904440 [2021-05-19T05:46:19.671Z] # git clone --branch semver git@github.com:edgexfoundry/device-sdk-go.git $SEMVER_TEMP [2021-05-19T05:46:21.064Z] # '/tmp/semver-067904440' -> '/w/workspace/dgexfoundry_device-sdk-go_PR-934/.semver' [2021-05-19T05:46:21.064Z] # -> Force: false [2021-05-19T05:46:21.064Z] # $SEMVER_DIR = /w/workspace/dgexfoundry_device-sdk-go_PR-934/.semver [Pipeline] } [2021-05-19T05:46:21.085Z] $ docker exec --env ******** --env ******** 8582dce1e20a47011d4334952dbd33237bcffeb47e13e34461fa1b88136fb761 ssh-agent -k [2021-05-19T05:46:21.179Z] unset SSH_AUTH_SOCK; [2021-05-19T05:46:21.179Z] unset SSH_AGENT_PID; [2021-05-19T05:46:21.179Z] echo Agent pid 58 killed; [2021-05-19T05:46:21.190Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2021-05-19T05:46:21.613Z] + git semver [Pipeline] } [2021-05-19T05:46:21.642Z] $ docker stop --time=1 8582dce1e20a47011d4334952dbd33237bcffeb47e13e34461fa1b88136fb761 [2021-05-19T05:46:23.014Z] $ docker rm -f 8582dce1e20a47011d4334952dbd33237bcffeb47e13e34461fa1b88136fb761 [Pipeline] // withDockerContainer [Pipeline] sh [2021-05-19T05:46:23.504Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2021-05-19T05:46:23.846Z] Stashed 1 file(s) [Pipeline] echo [2021-05-19T05:46:23.876Z] [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 [2021-05-19T05:46:39.426Z] Still waiting to schedule task [2021-05-19T05:46:39.426Z] Waiting for next available executor on ‘centos7-docker-4c-2g’ [2021-05-19T05:46:39.456Z] Still waiting to schedule task [2021-05-19T05:46:39.457Z] Waiting for next available executor on ‘prd-ubuntu18.04-docker-arm64-4c-16g-15003’ [2021-05-19T05:48:59.528Z] Running on prd-centos7-docker-4c-2g-15007 in /w/workspace/dgexfoundry_device-sdk-go_PR-934 [Pipeline] { [Pipeline] ws [2021-05-19T05:48:59.588Z] Running in /w/workspace/device-sdk-go/1 [Pipeline] { [Pipeline] checkout [2021-05-19T05:48:59.735Z] Selected Git installation does not exist. Using Default [2021-05-19T05:48:59.735Z] The recommended git tool is: NONE [2021-05-19T05:49:02.081Z] using credential edgex-jenkins-ssh [2021-05-19T05:49:02.094Z] Cloning the remote Git repository [2021-05-19T05:49:02.112Z] Cloning repository git@github.com:edgexfoundry/device-sdk-go.git [2021-05-19T05:49:02.184Z] > git init /w/workspace/device-sdk-go/1 # timeout=10 [2021-05-19T05:49:02.217Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2021-05-19T05:49:02.218Z] > git --version # timeout=10 [2021-05-19T05:49:02.224Z] > git --version # 'git version 2.24.4' [2021-05-19T05:49:02.225Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-05-19T05:49:02.255Z] [INFO] Currently running in a labeled security context [2021-05-19T05:49:02.255Z] [INFO] Currently SELinux is 'enforcing' on the host [2021-05-19T05:49:02.258Z] > git /usr/bin/chcon --type=ssh_home_t /w/workspace/device-sdk-go/1@tmp/jenkins-gitclient-ssh2683347928461187781.key [2021-05-19T05:49:02.305Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-05-19T05:49:03.849Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2021-05-19T05:49:03.858Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-05-19T05:49:03.872Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2021-05-19T05:49:03.881Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2021-05-19T05:49:03.881Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-05-19T05:49:03.882Z] [INFO] Currently running in a labeled security context [2021-05-19T05:49:03.882Z] [INFO] Currently SELinux is 'enforcing' on the host [2021-05-19T05:49:03.882Z] > git /usr/bin/chcon --type=ssh_home_t /w/workspace/device-sdk-go/1@tmp/jenkins-gitclient-ssh3596529038895564541.key [2021-05-19T05:49:03.890Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/934/head:refs/remotes/origin/PR-934 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2021-05-19T05:49:04.498Z] Merging remotes/origin/master commit 9b89d7644d3409c1e42d925e84b99a1b27025fab into PR head commit 9f08648ade41faca250647d52fae2d276d6fcbea [2021-05-19T05:49:04.592Z] Merge succeeded, producing 9f08648ade41faca250647d52fae2d276d6fcbea [2021-05-19T05:49:04.593Z] Checking out Revision 9f08648ade41faca250647d52fae2d276d6fcbea (PR-934) [2021-05-19T05:49:04.506Z] > git config core.sparsecheckout # timeout=10 [2021-05-19T05:49:04.512Z] > git checkout -f 9f08648ade41faca250647d52fae2d276d6fcbea # timeout=10 [2021-05-19T05:49:04.543Z] > git remote # timeout=10 [2021-05-19T05:49:04.558Z] > git config --get remote.origin.url # timeout=10 [2021-05-19T05:49:04.567Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-05-19T05:49:04.568Z] [INFO] Currently running in a labeled security context [2021-05-19T05:49:04.568Z] [INFO] Currently SELinux is 'enforcing' on the host [2021-05-19T05:49:04.568Z] > git /usr/bin/chcon --type=ssh_home_t /w/workspace/device-sdk-go/1@tmp/jenkins-gitclient-ssh8250785245116782507.key [2021-05-19T05:49:04.573Z] > git merge 9b89d7644d3409c1e42d925e84b99a1b27025fab # timeout=10 [2021-05-19T05:49:04.581Z] > git rev-parse HEAD^{commit} # timeout=10 [2021-05-19T05:49:04.600Z] > git config core.sparsecheckout # timeout=10 [2021-05-19T05:49:04.610Z] > git checkout -f 9f08648ade41faca250647d52fae2d276d6fcbea # timeout=10 [2021-05-19T05:49:08.155Z] Commit message: "build: update snap build" [2021-05-19T05:49:08.181Z] > git --version # timeout=10 [2021-05-19T05:49:08.190Z] > git --version # 'git version 2.24.4' [2021-05-19T05:49:08.480Z] fatal: bad object 9d0281235b943b7ad605f650702698f9078b2862 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-05-19T05:49:09.750Z] + sudo jq '. + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false}' /etc/docker/daemon.json [Pipeline] sh [2021-05-19T05:49:10.102Z] + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh [2021-05-19T05:49:10.422Z] + true [2021-05-19T05:49:10.422Z] + sudo service docker restart [2021-05-19T05:49:10.422Z] Redirecting to /bin/systemctl restart docker.service [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-05-19T05:49:28.675Z] provisioning config files... [2021-05-19T05:49:28.692Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/1@tmp/config1443063805527763101tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-05-19T05:49:29.076Z] ---> docker-login.sh [2021-05-19T05:49:29.076Z] nexus3.edgexfoundry.org:10001 [2021-05-19T05:49:29.342Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-19T05:49:29.342Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-19T05:49:29.342Z] Configure a credential helper to remove this warning. See [2021-05-19T05:49:29.342Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-19T05:49:29.342Z] [2021-05-19T05:49:29.342Z] Login Succeeded [2021-05-19T05:49:29.342Z] nexus3.edgexfoundry.org:10002 [2021-05-19T05:49:29.342Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-19T05:49:29.607Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-19T05:49:29.607Z] Configure a credential helper to remove this warning. See [2021-05-19T05:49:29.607Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-19T05:49:29.607Z] [2021-05-19T05:49:29.607Z] Login Succeeded [2021-05-19T05:49:29.607Z] nexus3.edgexfoundry.org:10003 [2021-05-19T05:49:29.607Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-19T05:49:29.607Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-19T05:49:29.607Z] Configure a credential helper to remove this warning. See [2021-05-19T05:49:29.607Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-19T05:49:29.607Z] [2021-05-19T05:49:29.607Z] Login Succeeded [2021-05-19T05:49:29.607Z] nexus3.edgexfoundry.org:10004 [2021-05-19T05:49:29.868Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-19T05:49:29.868Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-19T05:49:29.868Z] Configure a credential helper to remove this warning. See [2021-05-19T05:49:29.868Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-19T05:49:29.868Z] [2021-05-19T05:49:29.868Z] Login Succeeded [2021-05-19T05:49:29.868Z] docker.io [2021-05-19T05:49:29.868Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-19T05:49:30.129Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-19T05:49:30.130Z] Configure a credential helper to remove this warning. See [2021-05-19T05:49:30.130Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-19T05:49:30.130Z] [2021-05-19T05:49:30.130Z] Login Succeeded [2021-05-19T05:49:30.130Z] ---> docker-login.sh ends [Pipeline] } [2021-05-19T05:49:30.156Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2021-05-19T05:49:30.433Z] ========================================================= [2021-05-19T05:49:30.433Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine] [2021-05-19T05:49:30.433Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2021-05-19T05:49:30.832Z] + 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 . [2021-05-19T05:49:30.832Z] Sending build context to Docker daemon 2.589MB [2021-05-19T05:49:30.832Z] Step 1/8 : ARG BASE=golang:1.16-alpine3.12 [2021-05-19T05:49:30.832Z] Step 2/8 : FROM ${BASE} [2021-05-19T05:49:31.095Z] 1.16-alpine: Pulling from edgex-devops/edgex-golang-base [2021-05-19T05:49:31.095Z] 540db60ca938: Pulling fs layer [2021-05-19T05:49:31.095Z] adcc1eea9eea: Pulling fs layer [2021-05-19T05:49:31.095Z] 4c4ab2625f07: Pulling fs layer [2021-05-19T05:49:31.095Z] 0510c868ecb4: Pulling fs layer [2021-05-19T05:49:31.095Z] afea3b2eda06: Pulling fs layer [2021-05-19T05:49:31.095Z] 7809a108b3ef: Pulling fs layer [2021-05-19T05:49:31.095Z] f706445af74f: Pulling fs layer [2021-05-19T05:49:31.095Z] afea3b2eda06: Waiting [2021-05-19T05:49:31.095Z] 7809a108b3ef: Waiting [2021-05-19T05:49:31.095Z] f706445af74f: Waiting [2021-05-19T05:49:31.095Z] 0510c868ecb4: Waiting [2021-05-19T05:49:31.095Z] 4c4ab2625f07: Verifying Checksum [2021-05-19T05:49:31.095Z] 4c4ab2625f07: Download complete [2021-05-19T05:49:31.095Z] adcc1eea9eea: Verifying Checksum [2021-05-19T05:49:31.095Z] adcc1eea9eea: Download complete [2021-05-19T05:49:31.357Z] 540db60ca938: Verifying Checksum [2021-05-19T05:49:31.357Z] 540db60ca938: Download complete [2021-05-19T05:49:31.357Z] afea3b2eda06: Verifying Checksum [2021-05-19T05:49:31.357Z] afea3b2eda06: Download complete [2021-05-19T05:49:31.357Z] 7809a108b3ef: Verifying Checksum [2021-05-19T05:49:31.357Z] 7809a108b3ef: Download complete [2021-05-19T05:49:31.357Z] 540db60ca938: Pull complete [2021-05-19T05:49:31.928Z] adcc1eea9eea: Pull complete [2021-05-19T05:49:31.928Z] 4c4ab2625f07: Pull complete [2021-05-19T05:49:33.323Z] f706445af74f: Verifying Checksum [2021-05-19T05:49:33.323Z] f706445af74f: Download complete [2021-05-19T05:49:33.906Z] 0510c868ecb4: Verifying Checksum [2021-05-19T05:49:33.906Z] 0510c868ecb4: Download complete [2021-05-19T05:49:37.242Z] 0510c868ecb4: Pull complete [2021-05-19T05:49:37.242Z] afea3b2eda06: Pull complete [2021-05-19T05:49:37.242Z] 7809a108b3ef: Pull complete [2021-05-19T05:49:38.637Z] f706445af74f: Pull complete [2021-05-19T05:49:38.637Z] Digest: sha256:3789524f83b4b99ff44900c39f6da7fc44f99660cd9adf292610dec398b137f4 [2021-05-19T05:49:38.637Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine [2021-05-19T05:49:38.637Z] ---> b068be0155e3 [2021-05-19T05:49:38.637Z] Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-05-19T05:49:41.187Z] ---> Running in 753bcaf35569 [2021-05-19T05:49:41.187Z] Removing intermediate container 753bcaf35569 [2021-05-19T05:49:41.187Z] ---> c83f54bbfbc3 [2021-05-19T05:49:41.187Z] Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-05-19T05:49:41.187Z] ---> Running in 9d5efde35fab [2021-05-19T05:49:41.768Z] Removing intermediate container 9d5efde35fab [2021-05-19T05:49:41.768Z] ---> b77d6122e9f8 [2021-05-19T05:49:41.768Z] Step 5/8 : RUN apk add --update --no-cache make git gcc libc-dev libsodium-dev zeromq-dev [2021-05-19T05:49:42.036Z] ---> Running in 3dad0ed9246f [2021-05-19T05:49:42.336Z] fetch https://nl.alpinelinux.org/alpine/v3.13/main/x86_64/APKINDEX.tar.gz [2021-05-19T05:49:42.908Z] fetch https://nl.alpinelinux.org/alpine/v3.13/community/x86_64/APKINDEX.tar.gz [2021-05-19T05:49:43.480Z] (1/6) Installing libc-dev (0.7.2-r3) [2021-05-19T05:49:43.480Z] (2/6) Installing libsodium (1.0.18-r0) [2021-05-19T05:49:43.480Z] (3/6) Installing pkgconf (1.7.3-r0) [2021-05-19T05:49:43.740Z] (4/6) Installing libsodium-dev (1.0.18-r0) [2021-05-19T05:49:43.740Z] (5/6) Installing libzmq (4.3.3-r1) [2021-05-19T05:49:43.741Z] (6/6) Installing zeromq-dev (4.3.3-r1) [2021-05-19T05:49:44.001Z] Executing busybox-1.32.1-r6.trigger [2021-05-19T05:49:44.001Z] OK: 150 MiB in 46 packages [2021-05-19T05:49:44.261Z] Removing intermediate container 3dad0ed9246f [2021-05-19T05:49:44.261Z] ---> 41dacdc5d524 [2021-05-19T05:49:44.261Z] Step 6/8 : WORKDIR /device-sdk-go [2021-05-19T05:49:44.261Z] ---> Running in bdcd7d6ae56a [2021-05-19T05:49:44.527Z] Removing intermediate container bdcd7d6ae56a [2021-05-19T05:49:44.527Z] ---> 02e8b14609aa [2021-05-19T05:49:44.527Z] Step 7/8 : COPY . . [2021-05-19T05:49:44.789Z] ---> 34316d28e596 [2021-05-19T05:49:44.789Z] Step 8/8 : RUN go mod download [2021-05-19T05:49:44.789Z] ---> Running in d1a36496cde9 [2021-05-19T05:49:57.045Z] Removing intermediate container d1a36496cde9 [2021-05-19T05:49:57.045Z] ---> 5e6b0668abc2 [2021-05-19T05:49:57.045Z] Successfully built 5e6b0668abc2 [2021-05-19T05:49:57.045Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh [2021-05-19T05:49:57.390Z] + docker inspect -f . ci-base-image-x86_64 [2021-05-19T05:49:57.390Z] . [Pipeline] withDockerContainer [2021-05-19T05:49:57.488Z] prd-centos7-docker-4c-2g-15007 does not seem to be running inside a container [2021-05-19T05:49:57.528Z] $ 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-x86_64 cat [2021-05-19T05:49:57.909Z] $ docker top 28d4d310ee7a319eb2f8e088513c881655c29a4b6d78cf747a8becf9b0578df8 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-05-19T05:49:58.333Z] + go version [2021-05-19T05:49:58.333Z] go version go1.16.3 linux/amd64 [Pipeline] } [2021-05-19T05:49:58.360Z] $ docker stop --time=1 28d4d310ee7a319eb2f8e088513c881655c29a4b6d78cf747a8becf9b0578df8 [2021-05-19T05:49:59.609Z] $ docker rm -f 28d4d310ee7a319eb2f8e088513c881655c29a4b6d78cf747a8becf9b0578df8 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-05-19T05:50:00.440Z] + docker inspect -f . ci-base-image-x86_64 [2021-05-19T05:50:00.440Z] . [Pipeline] withDockerContainer [2021-05-19T05:50:00.546Z] prd-centos7-docker-4c-2g-15007 does not seem to be running inside a container [2021-05-19T05:50:00.592Z] $ 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-x86_64 cat [2021-05-19T05:50:00.918Z] $ docker top ea7909d53c1a63162005958ca94448833d34fe238162d1d504ca685fbe832ce3 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-05-19T05:50:01.397Z] + go mod tidy [Pipeline] sh [2021-05-19T05:50:02.045Z] + make test [2021-05-19T05:50:02.045Z] go mod tidy [2021-05-19T05:50:02.045Z] GO111MODULE=on go test -race -coverprofile=coverage.out ./... [2021-05-19T05:50:07.411Z] ? github.com/edgexfoundry/device-sdk-go/v2 [no test files] [2021-05-19T05:50:15.552Z] Running on prd-ubuntu18.04-docker-arm64-4c-16g-15008 in /w/workspace/dgexfoundry_device-sdk-go_PR-934 [Pipeline] { [Pipeline] ws [2021-05-19T05:50:15.622Z] Running in /w/workspace/device-sdk-go/1 [Pipeline] { [Pipeline] checkout [2021-05-19T05:50:15.970Z] Selected Git installation does not exist. Using Default [2021-05-19T05:50:15.970Z] The recommended git tool is: NONE [2021-05-19T05:50:22.037Z] using credential edgex-jenkins-ssh [2021-05-19T05:50:22.071Z] Cloning the remote Git repository [2021-05-19T05:50:22.150Z] Cloning repository git@github.com:edgexfoundry/device-sdk-go.git [2021-05-19T05:50:22.254Z] > git init /w/workspace/device-sdk-go/1 # timeout=10 [2021-05-19T05:50:22.369Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2021-05-19T05:50:22.370Z] > git --version # timeout=10 [2021-05-19T05:50:22.390Z] > git --version # 'git version 2.17.1' [2021-05-19T05:50:22.392Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-05-19T05:50:22.480Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-05-19T05:50:24.397Z] Merging remotes/origin/master commit 9b89d7644d3409c1e42d925e84b99a1b27025fab into PR head commit 9f08648ade41faca250647d52fae2d276d6fcbea [2021-05-19T05:50:24.622Z] Merge succeeded, producing 9f08648ade41faca250647d52fae2d276d6fcbea [2021-05-19T05:50:24.622Z] Checking out Revision 9f08648ade41faca250647d52fae2d276d6fcbea (PR-934) [2021-05-19T05:50:23.688Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2021-05-19T05:50:23.707Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-05-19T05:50:23.740Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2021-05-19T05:50:23.776Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2021-05-19T05:50:23.777Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-05-19T05:50:23.789Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/934/head:refs/remotes/origin/PR-934 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2021-05-19T05:50:24.434Z] > git config core.sparsecheckout # timeout=10 [2021-05-19T05:50:24.449Z] > git checkout -f 9f08648ade41faca250647d52fae2d276d6fcbea # timeout=10 [2021-05-19T05:50:24.544Z] > git remote # timeout=10 [2021-05-19T05:50:24.564Z] > git config --get remote.origin.url # timeout=10 [2021-05-19T05:50:24.583Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-05-19T05:50:24.595Z] > git merge 9b89d7644d3409c1e42d925e84b99a1b27025fab # timeout=10 [2021-05-19T05:50:24.619Z] > git rev-parse HEAD^{commit} # timeout=10 [2021-05-19T05:50:24.647Z] > git config core.sparsecheckout # timeout=10 [2021-05-19T05:50:24.660Z] > git checkout -f 9f08648ade41faca250647d52fae2d276d6fcbea # timeout=10 [2021-05-19T05:50:28.987Z] Commit message: "build: update snap build" [2021-05-19T05:50:29.060Z] > git --version # timeout=10 [2021-05-19T05:50:29.069Z] > git --version # 'git version 2.17.1' [2021-05-19T05:50:29.079Z] fatal: bad object 9d0281235b943b7ad605f650702698f9078b2862 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [2021-05-19T05:50:29.495Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/cmd/device-simple [no test files] [2021-05-19T05:50:29.495Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/config [no test files] [2021-05-19T05:50:29.495Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/driver [no test files] [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-05-19T05:50:30.616Z] + sudo jq . + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false} /etc/docker/daemon.json [Pipeline] sh [2021-05-19T05:50:31.054Z] + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh [2021-05-19T05:50:31.422Z] + sudo service docker restart [2021-05-19T05:50:31.422Z] + true [2021-05-19T05:50:32.820Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/application 0.055s coverage: 25.4% of statements [2021-05-19T05:50:32.820Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/autodiscovery [no test files] [2021-05-19T05:50:32.820Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/autoevent 0.059s coverage: 28.1% of statements [2021-05-19T05:50:33.083Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/cache 0.047s coverage: 78.9% of statements [2021-05-19T05:50:34.028Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/clients 1.058s coverage: 10.7% of statements [2021-05-19T05:50:34.028Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/common [no test files] [2021-05-19T05:50:34.028Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/config [no test files] [2021-05-19T05:50:34.028Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/container [no test files] [2021-05-19T05:50:34.028Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http 0.068s coverage: 30.2% of statements [2021-05-19T05:50:34.028Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http/correlation [no test files] [2021-05-19T05:50:35.971Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/messaging 1.052s coverage: 83.3% of statements [2021-05-19T05:50:35.971Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/provision [no test files] [2021-05-19T05:50:35.971Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/telemetry [no test files] [2021-05-19T05:50:35.971Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/transformer 0.071s coverage: 58.0% of statements [2021-05-19T05:50:36.552Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/models 0.830s coverage: 89.2% of statements [2021-05-19T05:50:36.552Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/models/mocks [no test files] [2021-05-19T05:50:36.816Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/service 0.044s coverage: 5.0% of statements [2021-05-19T05:50:36.816Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/startup [no test files] [2021-05-19T05:50:37.080Z] GO111MODULE=on go vet ./... [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-05-19T05:50:49.855Z] provisioning config files... [2021-05-19T05:50:49.882Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/1@tmp/config4860989444965927867tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-05-19T05:50:50.312Z] ---> docker-login.sh [2021-05-19T05:50:50.312Z] nexus3.edgexfoundry.org:10001 [2021-05-19T05:50:51.296Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-19T05:50:51.571Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-19T05:50:51.571Z] Configure a credential helper to remove this warning. See [2021-05-19T05:50:51.571Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-19T05:50:51.571Z] [2021-05-19T05:50:51.571Z] Login Succeeded [2021-05-19T05:50:51.571Z] nexus3.edgexfoundry.org:10002 [2021-05-19T05:50:51.852Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-19T05:50:52.126Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-19T05:50:52.126Z] Configure a credential helper to remove this warning. See [2021-05-19T05:50:52.126Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-19T05:50:52.126Z] [2021-05-19T05:50:52.126Z] Login Succeeded [2021-05-19T05:50:52.126Z] nexus3.edgexfoundry.org:10003 [2021-05-19T05:50:52.406Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-19T05:50:52.679Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-19T05:50:52.679Z] Configure a credential helper to remove this warning. See [2021-05-19T05:50:52.679Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-19T05:50:52.679Z] [2021-05-19T05:50:52.679Z] Login Succeeded [2021-05-19T05:50:52.679Z] nexus3.edgexfoundry.org:10004 [2021-05-19T05:50:52.952Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-19T05:50:53.225Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-19T05:50:53.225Z] Configure a credential helper to remove this warning. See [2021-05-19T05:50:53.225Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-19T05:50:53.225Z] [2021-05-19T05:50:53.225Z] Login Succeeded [2021-05-19T05:50:53.225Z] docker.io [2021-05-19T05:50:53.498Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-19T05:50:53.770Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-19T05:50:53.771Z] Configure a credential helper to remove this warning. See [2021-05-19T05:50:53.771Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-19T05:50:53.771Z] [2021-05-19T05:50:53.771Z] Login Succeeded [2021-05-19T05:50:53.771Z] ---> docker-login.sh ends [Pipeline] } [2021-05-19T05:50:53.800Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2021-05-19T05:50:54.402Z] ========================================================= [2021-05-19T05:50:54.402Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine] [2021-05-19T05:50:54.402Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2021-05-19T05:50:54.818Z] + 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 . [2021-05-19T05:50:55.293Z] gofmt -l . [2021-05-19T05:50:55.293Z] [ "`gofmt -l .`" = "" ] [2021-05-19T05:50:55.293Z] ./bin/test-attribution-txt.sh [2021-05-19T05:50:55.293Z] ./bin/test-go-mod-tidy.sh [2021-05-19T05:50:55.446Z] Sending build context to Docker daemon 2.588MB [2021-05-19T05:50:55.446Z] Step 1/8 : ARG BASE=golang:1.16-alpine3.12 [2021-05-19T05:50:55.446Z] Step 2/8 : FROM ${BASE} [2021-05-19T05:50:55.446Z] 1.16-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2021-05-19T05:50:55.446Z] 595b0fe564bb: Pulling fs layer [2021-05-19T05:50:55.446Z] 7186ed65a4f7: Pulling fs layer [2021-05-19T05:50:55.446Z] 316046926c0a: Pulling fs layer [2021-05-19T05:50:55.446Z] 4ebd0625c992: Pulling fs layer [2021-05-19T05:50:55.446Z] 207e8628e3a3: Pulling fs layer [2021-05-19T05:50:55.446Z] c791037a9be2: Pulling fs layer [2021-05-19T05:50:55.446Z] ffd874e62e21: Pulling fs layer [2021-05-19T05:50:55.446Z] 4ebd0625c992: Waiting [2021-05-19T05:50:55.446Z] 207e8628e3a3: Waiting [2021-05-19T05:50:55.446Z] c791037a9be2: Waiting [2021-05-19T05:50:55.446Z] ffd874e62e21: Waiting [Pipeline] } [2021-05-19T05:50:55.583Z] $ docker stop --time=1 ea7909d53c1a63162005958ca94448833d34fe238162d1d504ca685fbe832ce3 [2021-05-19T05:50:55.723Z] 316046926c0a: Verifying Checksum [2021-05-19T05:50:55.723Z] 316046926c0a: Download complete [2021-05-19T05:50:55.723Z] 7186ed65a4f7: Verifying Checksum [2021-05-19T05:50:55.723Z] 7186ed65a4f7: Download complete [2021-05-19T05:50:55.723Z] 207e8628e3a3: Verifying Checksum [2021-05-19T05:50:55.723Z] 207e8628e3a3: Download complete [2021-05-19T05:50:55.723Z] c791037a9be2: Download complete [2021-05-19T05:50:55.723Z] 595b0fe564bb: Download complete [2021-05-19T05:50:56.330Z] 595b0fe564bb: Pull complete [2021-05-19T05:50:56.952Z] 7186ed65a4f7: Pull complete [2021-05-19T05:50:57.404Z] $ docker rm -f ea7909d53c1a63162005958ca94448833d34fe238162d1d504ca685fbe832ce3 [2021-05-19T05:50:57.557Z] 316046926c0a: Pull complete [Pipeline] // withDockerContainer [Pipeline] sh [2021-05-19T05:50:57.966Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2021-05-19T05:50:58.193Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [2021-05-19T05:50:58.543Z] ffd874e62e21: Verifying Checksum [2021-05-19T05:50:58.543Z] ffd874e62e21: Download complete [Pipeline] sh [2021-05-19T05:50:59.532Z] + sudo chown -R jenkins:jenkins . [2021-05-19T05:50:59.558Z] 4ebd0625c992: Verifying Checksum [2021-05-19T05:50:59.558Z] 4ebd0625c992: Download complete [Pipeline] sh [2021-05-19T05:50:59.917Z] + ls -al . [2021-05-19T05:50:59.917Z] total 212 [2021-05-19T05:50:59.917Z] drwxrwxr-x. 10 jenkins jenkins 4096 May 19 05:50 . [2021-05-19T05:50:59.917Z] drwxrwxr-x. 4 jenkins jenkins 28 May 19 05:49 .. [2021-05-19T05:50:59.917Z] drwxrwxr-x. 2 jenkins jenkins 64 May 19 05:49 bin [2021-05-19T05:50:59.917Z] -rw-r--r--. 1 jenkins jenkins 126187 May 19 05:50 coverage.out [2021-05-19T05:50:59.917Z] -rw-rw-r--. 1 jenkins jenkins 987 May 19 05:49 Dockerfile.build [2021-05-19T05:50:59.917Z] -rw-rw-r--. 1 jenkins jenkins 140 May 19 05:49 .dockerignore [2021-05-19T05:50:59.917Z] drwxrwxr-x. 5 jenkins jenkins 62 May 19 05:49 example [2021-05-19T05:50:59.917Z] drwxrwxr-x. 8 jenkins jenkins 179 May 19 05:49 .git [2021-05-19T05:50:59.917Z] drwxrwxr-x. 2 jenkins jenkins 103 May 19 05:49 .github [2021-05-19T05:50:59.917Z] -rw-rw-r--. 1 jenkins jenkins 138 May 19 05:49 .gitignore [2021-05-19T05:50:59.917Z] -rw-r--r--. 1 jenkins jenkins 575 May 19 05:50 go.mod [2021-05-19T05:50:59.917Z] -rw-r--r--. 1 jenkins jenkins 20803 May 19 05:50 go.sum [2021-05-19T05:50:59.917Z] drwxrwxr-x. 15 jenkins jenkins 224 May 19 05:49 internal [2021-05-19T05:50:59.917Z] -rw-rw-r--. 1 jenkins jenkins 894 May 19 05:49 Jenkinsfile [2021-05-19T05:50:59.917Z] -rw-rw-r--. 1 jenkins jenkins 11341 May 19 05:49 LICENSE [2021-05-19T05:50:59.917Z] -rw-rw-r--. 1 jenkins jenkins 997 May 19 05:49 Makefile [2021-05-19T05:50:59.917Z] drwxrwxr-x. 4 jenkins jenkins 26 May 19 05:49 openapi [2021-05-19T05:50:59.917Z] drwxrwxr-x. 5 jenkins jenkins 50 May 19 05:49 pkg [2021-05-19T05:50:59.917Z] -rw-rw-r--. 1 jenkins jenkins 7652 May 19 05:49 README.md [2021-05-19T05:50:59.917Z] -rw-rw-r--. 1 jenkins jenkins 6616 May 19 05:49 RELEASE-NOTES.txt [2021-05-19T05:50:59.917Z] drwxrwxr-x. 4 jenkins jenkins 54 May 19 05:49 snap [2021-05-19T05:50:59.917Z] -rw-rw-r--. 1 jenkins jenkins 5 May 19 05:46 VERSION [2021-05-19T05:50:59.917Z] -rw-rw-r--. 1 jenkins jenkins 222 May 19 05:49 version.go [Pipeline] isUnix [Pipeline] sh [2021-05-19T05:51:00.270Z] + 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=9f08648ade41faca250647d52fae2d276d6fcbea --label arch=amd64 --label version=0.0.0 . [2021-05-19T05:51:00.270Z] Sending build context to Docker daemon 2.716MB [2021-05-19T05:51:00.270Z] Step 1/23 : ARG BASE=golang:1.16-alpine3.12 [2021-05-19T05:51:00.270Z] Step 2/23 : FROM ${BASE} AS builder [2021-05-19T05:51:00.270Z] ---> 5e6b0668abc2 [2021-05-19T05:51:00.270Z] Step 3/23 : WORKDIR /device-sdk-go [2021-05-19T05:51:00.270Z] ---> Running in dc821cf0143f [2021-05-19T05:51:00.534Z] Removing intermediate container dc821cf0143f [2021-05-19T05:51:00.534Z] ---> eb1e16c64212 [2021-05-19T05:51:00.534Z] Step 4/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-05-19T05:51:00.534Z] ---> Running in b1eddfc30404 [2021-05-19T05:51:00.534Z] Removing intermediate container b1eddfc30404 [2021-05-19T05:51:00.534Z] ---> e14e49fe4b4c [2021-05-19T05:51:00.534Z] Step 5/23 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-05-19T05:51:00.534Z] ---> Running in 533c0db69190 [2021-05-19T05:51:01.114Z] Removing intermediate container 533c0db69190 [2021-05-19T05:51:01.114Z] ---> 12c1187a2900 [2021-05-19T05:51:01.114Z] Step 6/23 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev [2021-05-19T05:51:01.114Z] ---> Running in 678d3607eedd [2021-05-19T05:51:01.383Z] fetch https://nl.alpinelinux.org/alpine/v3.13/main/x86_64/APKINDEX.tar.gz [2021-05-19T05:51:02.329Z] fetch https://nl.alpinelinux.org/alpine/v3.13/community/x86_64/APKINDEX.tar.gz [2021-05-19T05:51:02.591Z] OK: 150 MiB in 46 packages [2021-05-19T05:51:02.855Z] Removing intermediate container 678d3607eedd [2021-05-19T05:51:02.855Z] ---> 6053e182af58 [2021-05-19T05:51:02.855Z] Step 7/23 : COPY . . [2021-05-19T05:51:03.118Z] ---> fb63ef655414 [2021-05-19T05:51:03.118Z] Step 8/23 : RUN go mod download [2021-05-19T05:51:03.380Z] ---> Running in 81413c17a047 [2021-05-19T05:51:03.949Z] Removing intermediate container 81413c17a047 [2021-05-19T05:51:03.949Z] ---> 5d16d42dbd72 [2021-05-19T05:51:03.949Z] Step 9/23 : RUN make build [2021-05-19T05:51:03.949Z] ---> Running in 08653fc13bfb [2021-05-19T05:51:04.214Z] go mod tidy [2021-05-19T05:51:04.214Z] 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 [2021-05-19T05:51:12.028Z] 4ebd0625c992: Pull complete [2021-05-19T05:51:12.028Z] 207e8628e3a3: Pull complete [2021-05-19T05:51:12.028Z] c791037a9be2: Pull complete [2021-05-19T05:51:14.667Z] ffd874e62e21: Pull complete [2021-05-19T05:51:14.667Z] Digest: sha256:fad7b58e697bd06bcf362d803a3263ca5ec03b905aa8665231fe3262941fe3e0 [2021-05-19T05:51:14.667Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine [2021-05-19T05:51:14.667Z] ---> cfc18b08335c [2021-05-19T05:51:14.667Z] Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-05-19T05:51:16.518Z] Removing intermediate container 08653fc13bfb [2021-05-19T05:51:16.518Z] ---> cbb355e1708e [2021-05-19T05:51:16.518Z] Step 10/23 : FROM alpine:3.12 [2021-05-19T05:51:16.518Z] 3.12: Pulling from library/alpine [2021-05-19T05:51:16.518Z] 339de151aab4: Pulling fs layer [2021-05-19T05:51:16.518Z] 339de151aab4: Verifying Checksum [2021-05-19T05:51:16.518Z] 339de151aab4: Download complete [2021-05-19T05:51:16.636Z] ---> Running in 65b34ae05f96 [2021-05-19T05:51:16.791Z] 339de151aab4: Pull complete [2021-05-19T05:51:16.791Z] Digest: sha256:36553b10a4947067b9fbb7d532951066293a68eae893beba1d9235f7d11a20ad [2021-05-19T05:51:16.791Z] Status: Downloaded newer image for alpine:3.12 [2021-05-19T05:51:16.791Z] ---> 13621d1b12d4 [2021-05-19T05:51:16.791Z] Step 11/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-05-19T05:51:16.791Z] ---> Running in 8739a0ce56da [2021-05-19T05:51:16.791Z] Removing intermediate container 8739a0ce56da [2021-05-19T05:51:16.791Z] ---> 6aa4d92fe308 [2021-05-19T05:51:16.791Z] Step 12/23 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-05-19T05:51:16.791Z] ---> Running in 7143beedb331 [2021-05-19T05:51:17.238Z] Removing intermediate container 65b34ae05f96 [2021-05-19T05:51:17.238Z] ---> 52f9832a5a70 [2021-05-19T05:51:17.238Z] Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-05-19T05:51:17.238Z] ---> Running in cceff74fe7de [2021-05-19T05:51:17.569Z] Removing intermediate container 7143beedb331 [2021-05-19T05:51:17.569Z] ---> 91fced82316f [2021-05-19T05:51:17.569Z] Step 13/23 : RUN apk add --update --no-cache zeromq [2021-05-19T05:51:17.569Z] ---> Running in a657f3fb798a [2021-05-19T05:51:17.569Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz [2021-05-19T05:51:18.510Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz [2021-05-19T05:51:18.773Z] (1/5) Installing libgcc (9.3.0-r2) [2021-05-19T05:51:18.773Z] (2/5) Installing libsodium (1.0.18-r0) [2021-05-19T05:51:18.773Z] (3/5) Installing libstdc++ (9.3.0-r2) [2021-05-19T05:51:19.881Z] Removing intermediate container cceff74fe7de [2021-05-19T05:51:19.881Z] ---> b60ac458bca9 [2021-05-19T05:51:19.881Z] Step 5/8 : RUN apk add --update --no-cache make git gcc libc-dev libsodium-dev zeromq-dev [2021-05-19T05:51:19.881Z] ---> Running in a571c61d6a7b [2021-05-19T05:51:20.161Z] (4/5) Installing libzmq (4.3.3-r0) [2021-05-19T05:51:20.161Z] (5/5) Installing zeromq (4.3.3-r0) [2021-05-19T05:51:20.161Z] Executing busybox-1.31.1-r20.trigger [2021-05-19T05:51:20.161Z] OK: 8 MiB in 19 packages [2021-05-19T05:51:20.423Z] Removing intermediate container a657f3fb798a [2021-05-19T05:51:20.423Z] ---> bf4d4610cf5b [2021-05-19T05:51:20.423Z] Step 14/23 : WORKDIR / [2021-05-19T05:51:20.423Z] ---> Running in 3ec8c10e8f36 [2021-05-19T05:51:20.686Z] Removing intermediate container 3ec8c10e8f36 [2021-05-19T05:51:20.686Z] ---> d0472b0caf03 [2021-05-19T05:51:20.686Z] Step 15/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt [2021-05-19T05:51:20.686Z] ---> f435aa0fbf8b [2021-05-19T05:51:20.686Z] Step 16/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple [2021-05-19T05:51:20.858Z] fetch https://nl.alpinelinux.org/alpine/v3.13/main/aarch64/APKINDEX.tar.gz [2021-05-19T05:51:21.257Z] ---> 67c2a1cdcef0 [2021-05-19T05:51:21.258Z] Step 17/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res [2021-05-19T05:51:21.258Z] ---> d3e4fd3e7b31 [2021-05-19T05:51:21.258Z] Step 18/23 : EXPOSE 49990 [2021-05-19T05:51:21.518Z] ---> Running in 8358e4fa5541 [2021-05-19T05:51:21.518Z] Removing intermediate container 8358e4fa5541 [2021-05-19T05:51:21.518Z] ---> d637f2e1b320 [2021-05-19T05:51:21.518Z] Step 19/23 : ENTRYPOINT ["/device-simple"] [2021-05-19T05:51:21.518Z] ---> Running in 36a5ca1341dc [2021-05-19T05:51:21.518Z] Removing intermediate container 36a5ca1341dc [2021-05-19T05:51:21.518Z] ---> dc3b34c61cb3 [2021-05-19T05:51:21.518Z] Step 20/23 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2021-05-19T05:51:21.779Z] ---> Running in 64a1f4f9e707 [2021-05-19T05:51:21.779Z] Removing intermediate container 64a1f4f9e707 [2021-05-19T05:51:21.779Z] ---> f5031fae8614 [2021-05-19T05:51:21.779Z] Step 21/23 : LABEL arch=amd64 [2021-05-19T05:51:21.779Z] ---> Running in 28be3f7b70bc [2021-05-19T05:51:21.779Z] Removing intermediate container 28be3f7b70bc [2021-05-19T05:51:21.779Z] ---> 4727315f3fbc [2021-05-19T05:51:21.779Z] Step 22/23 : LABEL git_sha=9f08648ade41faca250647d52fae2d276d6fcbea [2021-05-19T05:51:21.779Z] ---> Running in 67bc936d89a9 [2021-05-19T05:51:21.836Z] fetch https://nl.alpinelinux.org/alpine/v3.13/community/aarch64/APKINDEX.tar.gz [2021-05-19T05:51:22.041Z] Removing intermediate container 67bc936d89a9 [2021-05-19T05:51:22.041Z] ---> 09f927f04669 [2021-05-19T05:51:22.041Z] Step 23/23 : LABEL version=0.0.0 [2021-05-19T05:51:22.041Z] ---> Running in 57871d00a878 [2021-05-19T05:51:22.041Z] Removing intermediate container 57871d00a878 [2021-05-19T05:51:22.041Z] ---> 709962cfc9c2 [2021-05-19T05:51:22.041Z] [Warning] One or more build-args [ARCH MAKE] were not consumed [2021-05-19T05:51:22.041Z] Successfully built 709962cfc9c2 [2021-05-19T05:51:22.041Z] 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 [2021-05-19T05:51:23.122Z] ---> job-cost.sh [2021-05-19T05:51:23.123Z] lf-activate-venv(): INFO: Creating python3 venv at /tmp/venv-OmR8 [2021-05-19T05:51:23.275Z] (1/6) Installing libc-dev (0.7.2-r3) [2021-05-19T05:51:23.275Z] (2/6) Installing libsodium (1.0.18-r0) [2021-05-19T05:51:23.547Z] (3/6) Installing pkgconf (1.7.3-r0) [2021-05-19T05:51:23.547Z] (4/6) Installing libsodium-dev (1.0.18-r0) [2021-05-19T05:51:23.547Z] (5/6) Installing libzmq (4.3.3-r1) [2021-05-19T05:51:23.820Z] (6/6) Installing zeromq-dev (4.3.3-r1) [2021-05-19T05:51:24.093Z] Executing busybox-1.32.1-r6.trigger [2021-05-19T05:51:24.093Z] OK: 139 MiB in 46 packages [2021-05-19T05:51:25.073Z] Removing intermediate container a571c61d6a7b [2021-05-19T05:51:25.073Z] ---> 315ef893eeac [2021-05-19T05:51:25.073Z] Step 6/8 : WORKDIR /device-sdk-go [2021-05-19T05:51:25.348Z] ---> Running in bf62d62f63d6 [2021-05-19T05:51:25.941Z] Removing intermediate container bf62d62f63d6 [2021-05-19T05:51:25.941Z] ---> 5788e1a4d37c [2021-05-19T05:51:25.941Z] Step 7/8 : COPY . . [2021-05-19T05:51:27.370Z] ---> 75d9deb34282 [2021-05-19T05:51:27.370Z] Step 8/8 : RUN go mod download [2021-05-19T05:51:27.370Z] ---> Running in 34b5cb9963b0 [2021-05-19T05:51:33.150Z] lf-activate-venv(): INFO: Installing: zipp==1.1.0 python-openstackclient [2021-05-19T05:51:48.073Z] lf-activate-venv(): INFO: Adding /tmp/venv-OmR8/bin to PATH [2021-05-19T05:51:48.073Z] INFO: No Stack... [2021-05-19T05:51:48.073Z] INFO: Retrieving Pricing Info for: v3-standard-2 [2021-05-19T05:51:48.073Z] INFO: Archiving Costs [Pipeline] sh [2021-05-19T05:51:48.393Z] + cat /w/workspace/device-sdk-go/1/archives/cost.csv [2021-05-19T05:51:48.393Z] + cut -d, -f6 [Pipeline] lock [2021-05-19T05:51:48.457Z] Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-PR-934-1-stack-cost] [2021-05-19T05:51:48.464Z] Resource [jenkins-edgexfoundry-device-sdk-go-PR-934-1-stack-cost] did not exist. Created. [2021-05-19T05:51:48.464Z] Lock acquired on [jenkins-edgexfoundry-device-sdk-go-PR-934-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2021-05-19T05:51:48.879Z] + echo total: 0.05999999865889549 [Pipeline] stash [2021-05-19T05:51:48.962Z] Stashed 1 file(s) [Pipeline] } [2021-05-19T05:51:48.983Z] Lock released on resource [jenkins-edgexfoundry-device-sdk-go-PR-934-1-stack-cost] [Pipeline] // lock [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [2021-05-19T05:51:54.238Z] Removing intermediate container 34b5cb9963b0 [2021-05-19T05:51:54.238Z] ---> 81906f3f3331 [2021-05-19T05:51:54.238Z] Successfully built 81906f3f3331 [2021-05-19T05:51:54.238Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh [2021-05-19T05:51:54.685Z] + docker inspect -f . ci-base-image-arm64 [2021-05-19T05:51:54.685Z] . [Pipeline] withDockerContainer [2021-05-19T05:51:54.945Z] prd-ubuntu18.04-docker-arm64-4c-16g-15008 does not seem to be running inside a container [2021-05-19T05:51:55.036Z] $ 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 [2021-05-19T05:51:56.517Z] $ docker top 5abaaaa5b705ac937f019e6e1472c258de753f510f89449eadd80b6d75d8cec3 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-05-19T05:51:57.548Z] + go version [2021-05-19T05:51:57.548Z] go version go1.16.3 linux/arm64 [Pipeline] } [2021-05-19T05:51:57.591Z] $ docker stop --time=1 5abaaaa5b705ac937f019e6e1472c258de753f510f89449eadd80b6d75d8cec3 [2021-05-19T05:51:59.400Z] $ docker rm -f 5abaaaa5b705ac937f019e6e1472c258de753f510f89449eadd80b6d75d8cec3 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-05-19T05:52:00.396Z] + docker inspect -f . ci-base-image-arm64 [2021-05-19T05:52:00.396Z] . [Pipeline] withDockerContainer [2021-05-19T05:52:00.685Z] prd-ubuntu18.04-docker-arm64-4c-16g-15008 does not seem to be running inside a container [2021-05-19T05:52:00.786Z] $ 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 [2021-05-19T05:52:02.477Z] $ docker top 2d5ab7b5473b08211c893d2ac5e4504108220dcba7d1158b9129c4224b2c1575 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-05-19T05:52:03.508Z] + go mod tidy [Pipeline] sh [2021-05-19T05:52:04.789Z] + make test [2021-05-19T05:52:04.789Z] go mod tidy [2021-05-19T05:52:05.390Z] GO111MODULE=on go test -race -coverprofile=coverage.out ./... [2021-05-19T05:52:27.569Z] ? github.com/edgexfoundry/device-sdk-go/v2 [no test files] [2021-05-19T05:53:35.677Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/cmd/device-simple [no test files] [2021-05-19T05:53:35.677Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/config [no test files] [2021-05-19T05:53:35.677Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/driver [no test files] [2021-05-19T05:53:42.426Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/application 0.287s coverage: 25.4% of statements [2021-05-19T05:53:42.427Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/autodiscovery [no test files] [2021-05-19T05:53:42.427Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/autoevent 0.231s coverage: 28.1% of statements [2021-05-19T05:53:42.427Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/cache 0.208s coverage: 78.9% of statements [2021-05-19T05:53:42.427Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/clients 1.220s coverage: 10.7% of statements [2021-05-19T05:53:42.427Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/common [no test files] [2021-05-19T05:53:42.427Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/config [no test files] [2021-05-19T05:53:42.427Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/container [no test files] [2021-05-19T05:53:45.096Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http 0.306s coverage: 30.2% of statements [2021-05-19T05:53:45.096Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http/correlation [no test files] [2021-05-19T05:53:45.701Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/messaging 1.227s coverage: 83.3% of statements [2021-05-19T05:53:45.701Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/provision [no test files] [2021-05-19T05:53:45.701Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/telemetry [no test files] [2021-05-19T05:53:45.701Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/transformer 0.365s coverage: 58.0% of statements [2021-05-19T05:53:50.013Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/models 2.985s coverage: 89.2% of statements [2021-05-19T05:53:50.013Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/models/mocks [no test files] [2021-05-19T05:53:50.013Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/service 0.192s coverage: 5.0% of statements [2021-05-19T05:53:50.013Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/startup [no test files] [2021-05-19T05:53:50.289Z] GO111MODULE=on go vet ./... [2021-05-19T05:54:46.976Z] gofmt -l . [2021-05-19T05:54:46.976Z] [ "`gofmt -l .`" = "" ] [2021-05-19T05:54:46.976Z] ./bin/test-attribution-txt.sh [2021-05-19T05:54:47.985Z] ./bin/test-go-mod-tidy.sh [Pipeline] } [2021-05-19T05:54:48.623Z] $ docker stop --time=1 2d5ab7b5473b08211c893d2ac5e4504108220dcba7d1158b9129c4224b2c1575 [2021-05-19T05:54:50.623Z] $ docker rm -f 2d5ab7b5473b08211c893d2ac5e4504108220dcba7d1158b9129c4224b2c1575 [Pipeline] // withDockerContainer [Pipeline] sh [2021-05-19T05:54:51.756Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2021-05-19T05:54:51.806Z] Warning: overwriting stash ‘coverage-report’ [2021-05-19T05:54:52.413Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-05-19T05:54:53.158Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2021-05-19T05:54:53.516Z] + ls -al . [2021-05-19T05:54:53.516Z] total 248 [2021-05-19T05:54:53.516Z] drwxrwxr-x 10 jenkins jenkins 4096 May 19 05:54 . [2021-05-19T05:54:53.516Z] drwxrwxr-x 4 jenkins jenkins 4096 May 19 05:50 .. [2021-05-19T05:54:53.516Z] -rw-rw-r-- 1 jenkins jenkins 140 May 19 05:50 .dockerignore [2021-05-19T05:54:53.516Z] drwxrwxr-x 8 jenkins jenkins 4096 May 19 05:50 .git [2021-05-19T05:54:53.516Z] drwxrwxr-x 2 jenkins jenkins 4096 May 19 05:50 .github [2021-05-19T05:54:53.516Z] -rw-rw-r-- 1 jenkins jenkins 138 May 19 05:50 .gitignore [2021-05-19T05:54:53.516Z] -rw-rw-r-- 1 jenkins jenkins 987 May 19 05:50 Dockerfile.build [2021-05-19T05:54:53.516Z] -rw-rw-r-- 1 jenkins jenkins 894 May 19 05:50 Jenkinsfile [2021-05-19T05:54:53.516Z] -rw-rw-r-- 1 jenkins jenkins 11341 May 19 05:50 LICENSE [2021-05-19T05:54:53.516Z] -rw-rw-r-- 1 jenkins jenkins 997 May 19 05:50 Makefile [2021-05-19T05:54:53.516Z] -rw-rw-r-- 1 jenkins jenkins 7652 May 19 05:50 README.md [2021-05-19T05:54:53.516Z] -rw-rw-r-- 1 jenkins jenkins 6616 May 19 05:50 RELEASE-NOTES.txt [2021-05-19T05:54:53.516Z] -rw-rw-r-- 1 jenkins jenkins 5 May 19 05:46 VERSION [2021-05-19T05:54:53.516Z] drwxrwxr-x 2 jenkins jenkins 4096 May 19 05:50 bin [2021-05-19T05:54:53.516Z] -rw-r--r-- 1 jenkins jenkins 126188 May 19 05:53 coverage.out [2021-05-19T05:54:53.516Z] drwxrwxr-x 5 jenkins jenkins 4096 May 19 05:50 example [2021-05-19T05:54:53.516Z] -rw-r--r-- 1 jenkins jenkins 575 May 19 05:54 go.mod [2021-05-19T05:54:53.516Z] -rw-r--r-- 1 jenkins jenkins 20803 May 19 05:52 go.sum [2021-05-19T05:54:53.516Z] drwxrwxr-x 15 jenkins jenkins 4096 May 19 05:50 internal [2021-05-19T05:54:53.516Z] drwxrwxr-x 4 jenkins jenkins 4096 May 19 05:50 openapi [2021-05-19T05:54:53.516Z] drwxrwxr-x 5 jenkins jenkins 4096 May 19 05:50 pkg [2021-05-19T05:54:53.516Z] drwxrwxr-x 4 jenkins jenkins 4096 May 19 05:50 snap [2021-05-19T05:54:53.516Z] -rw-rw-r-- 1 jenkins jenkins 222 May 19 05:50 version.go [Pipeline] isUnix [Pipeline] sh [2021-05-19T05:54:53.896Z] + 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=9f08648ade41faca250647d52fae2d276d6fcbea --label arch=arm64 --label version=0.0.0 . [2021-05-19T05:54:54.491Z] Sending build context to Docker daemon 2.715MB [2021-05-19T05:54:54.491Z] Step 1/23 : ARG BASE=golang:1.16-alpine3.12 [2021-05-19T05:54:54.491Z] Step 2/23 : FROM ${BASE} AS builder [2021-05-19T05:54:54.491Z] ---> 81906f3f3331 [2021-05-19T05:54:54.491Z] Step 3/23 : WORKDIR /device-sdk-go [2021-05-19T05:54:54.764Z] ---> Running in 948132098f72 [2021-05-19T05:54:55.364Z] Removing intermediate container 948132098f72 [2021-05-19T05:54:55.364Z] ---> c2b8f44e3e42 [2021-05-19T05:54:55.364Z] Step 4/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-05-19T05:54:55.364Z] ---> Running in 6a3824367fe7 [2021-05-19T05:54:55.960Z] Removing intermediate container 6a3824367fe7 [2021-05-19T05:54:55.960Z] ---> 531bf6f892b6 [2021-05-19T05:54:55.960Z] Step 5/23 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-05-19T05:54:55.960Z] ---> Running in 7155123485f3 [2021-05-19T05:54:58.587Z] Removing intermediate container 7155123485f3 [2021-05-19T05:54:58.587Z] ---> 2bcc60525fcd [2021-05-19T05:54:58.587Z] Step 6/23 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev [2021-05-19T05:54:58.587Z] ---> Running in 2b3f80bc6979 [2021-05-19T05:54:59.573Z] fetch https://nl.alpinelinux.org/alpine/v3.13/main/aarch64/APKINDEX.tar.gz [2021-05-19T05:55:00.579Z] fetch https://nl.alpinelinux.org/alpine/v3.13/community/aarch64/APKINDEX.tar.gz [2021-05-19T05:55:01.174Z] OK: 139 MiB in 46 packages [2021-05-19T05:55:02.612Z] Removing intermediate container 2b3f80bc6979 [2021-05-19T05:55:02.612Z] ---> f996d3cea3a4 [2021-05-19T05:55:02.612Z] Step 7/23 : COPY . . [2021-05-19T05:55:04.057Z] ---> 25b883f403d2 [2021-05-19T05:55:04.057Z] Step 8/23 : RUN go mod download [2021-05-19T05:55:04.057Z] ---> Running in d014e858b7d6 [2021-05-19T05:55:06.679Z] Removing intermediate container d014e858b7d6 [2021-05-19T05:55:06.679Z] ---> 88029e7324d1 [2021-05-19T05:55:06.679Z] Step 9/23 : RUN make build [2021-05-19T05:55:06.679Z] ---> Running in fa5fc0eed028 [2021-05-19T05:55:07.662Z] go mod tidy [2021-05-19T05:55:07.948Z] 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 [2021-05-19T05:55:47.028Z] Removing intermediate container fa5fc0eed028 [2021-05-19T05:55:47.028Z] ---> 17df4b68f8d3 [2021-05-19T05:55:47.028Z] Step 10/23 : FROM alpine:3.12 [2021-05-19T05:55:47.028Z] 3.12: Pulling from library/alpine [2021-05-19T05:55:47.028Z] d2f70382dc9a: Pulling fs layer [2021-05-19T05:55:47.028Z] d2f70382dc9a: Verifying Checksum [2021-05-19T05:55:47.028Z] d2f70382dc9a: Download complete [2021-05-19T05:55:47.028Z] d2f70382dc9a: Pull complete [2021-05-19T05:55:47.028Z] Digest: sha256:36553b10a4947067b9fbb7d532951066293a68eae893beba1d9235f7d11a20ad [2021-05-19T05:55:47.028Z] Status: Downloaded newer image for alpine:3.12 [2021-05-19T05:55:47.028Z] ---> 9852663dfa18 [2021-05-19T05:55:47.028Z] Step 11/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-05-19T05:55:47.028Z] ---> Running in eac723091696 [2021-05-19T05:55:47.028Z] Removing intermediate container eac723091696 [2021-05-19T05:55:47.028Z] ---> 178d70b7f357 [2021-05-19T05:55:47.028Z] Step 12/23 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-05-19T05:55:47.028Z] ---> Running in 3605a8b9a2c2 [2021-05-19T05:55:47.621Z] Removing intermediate container 3605a8b9a2c2 [2021-05-19T05:55:47.621Z] ---> 44de50dcf978 [2021-05-19T05:55:47.621Z] Step 13/23 : RUN apk add --update --no-cache zeromq [2021-05-19T05:55:47.621Z] ---> Running in aa1eaa03f116 [2021-05-19T05:55:49.053Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz [2021-05-19T05:55:49.645Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz [2021-05-19T05:55:50.238Z] (1/5) Installing libgcc (9.3.0-r2) [2021-05-19T05:55:50.238Z] (2/5) Installing libsodium (1.0.18-r0) [2021-05-19T05:55:50.238Z] (3/5) Installing libstdc++ (9.3.0-r2) [2021-05-19T05:55:50.509Z] (4/5) Installing libzmq (4.3.3-r0) [2021-05-19T05:55:50.781Z] (5/5) Installing zeromq (4.3.3-r0) [2021-05-19T05:55:50.781Z] Executing busybox-1.31.1-r20.trigger [2021-05-19T05:55:50.781Z] OK: 8 MiB in 19 packages [2021-05-19T05:55:52.208Z] Removing intermediate container aa1eaa03f116 [2021-05-19T05:55:52.208Z] ---> 621712b67172 [2021-05-19T05:55:52.208Z] Step 14/23 : WORKDIR / [2021-05-19T05:55:52.209Z] ---> Running in 8245261b0153 [2021-05-19T05:55:52.808Z] Removing intermediate container 8245261b0153 [2021-05-19T05:55:52.808Z] ---> 79cb14649417 [2021-05-19T05:55:52.808Z] Step 15/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt [2021-05-19T05:55:53.402Z] ---> 337cef46f8d3 [2021-05-19T05:55:53.402Z] Step 16/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple [2021-05-19T05:55:54.835Z] ---> 6fbcaa962434 [2021-05-19T05:55:54.835Z] Step 17/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res [2021-05-19T05:55:55.428Z] ---> aaec18dbf1da [2021-05-19T05:55:55.428Z] Step 18/23 : EXPOSE 49990 [2021-05-19T05:55:55.428Z] ---> Running in 9e3adbd7422e [2021-05-19T05:55:56.027Z] Removing intermediate container 9e3adbd7422e [2021-05-19T05:55:56.027Z] ---> e9db08e71ee2 [2021-05-19T05:55:56.027Z] Step 19/23 : ENTRYPOINT ["/device-simple"] [2021-05-19T05:55:56.027Z] ---> Running in d71632283668 [2021-05-19T05:55:56.623Z] Removing intermediate container d71632283668 [2021-05-19T05:55:56.623Z] ---> 002e202077f8 [2021-05-19T05:55:56.623Z] Step 20/23 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2021-05-19T05:55:56.623Z] ---> Running in 3a36364e9cff [2021-05-19T05:55:57.221Z] Removing intermediate container 3a36364e9cff [2021-05-19T05:55:57.221Z] ---> 149c01a8b093 [2021-05-19T05:55:57.221Z] Step 21/23 : LABEL arch=arm64 [2021-05-19T05:55:57.221Z] ---> Running in e9bed2ef6bca [2021-05-19T05:55:57.815Z] Removing intermediate container e9bed2ef6bca [2021-05-19T05:55:57.815Z] ---> 5eb2022a036f [2021-05-19T05:55:57.815Z] Step 22/23 : LABEL git_sha=9f08648ade41faca250647d52fae2d276d6fcbea [2021-05-19T05:55:57.815Z] ---> Running in 4d053868e39c [2021-05-19T05:55:58.411Z] Removing intermediate container 4d053868e39c [2021-05-19T05:55:58.411Z] ---> 3604ad19d846 [2021-05-19T05:55:58.411Z] Step 23/23 : LABEL version=0.0.0 [2021-05-19T05:55:58.682Z] ---> Running in 6d32ed796f6f [2021-05-19T05:55:58.959Z] Removing intermediate container 6d32ed796f6f [2021-05-19T05:55:58.959Z] ---> 114a985b2ce2 [2021-05-19T05:55:58.959Z] [Warning] One or more build-args [ARCH MAKE] were not consumed [2021-05-19T05:55:58.959Z] Successfully built 114a985b2ce2 [2021-05-19T05:55:58.959Z] 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 [2021-05-19T05:56:00.118Z] ---> job-cost.sh [2021-05-19T05:56:00.119Z] lf-activate-venv(): INFO: Creating python3 venv at /tmp/venv-kkdc [2021-05-19T05:56:39.067Z] lf-activate-venv(): INFO: Installing: zipp==1.1.0 python-openstackclient [2021-05-19T05:58:00.890Z] lf-activate-venv(): INFO: Adding /tmp/venv-kkdc/bin to PATH [2021-05-19T05:58:00.890Z] INFO: No Stack... [2021-05-19T05:58:00.890Z] INFO: Retrieving Pricing Info for: v2-standard-4 [2021-05-19T05:58:01.163Z] INFO: Archiving Costs [Pipeline] sh [2021-05-19T05:58:01.530Z] + cat /w/workspace/device-sdk-go/1/archives/cost.csv [2021-05-19T05:58:01.530Z] + cut -d, -f6 [Pipeline] lock [2021-05-19T05:58:01.635Z] Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-PR-934-1-stack-cost] [2021-05-19T05:58:01.642Z] Resource [jenkins-edgexfoundry-device-sdk-go-PR-934-1-stack-cost] did not exist. Created. [2021-05-19T05:58:01.642Z] Lock acquired on [jenkins-edgexfoundry-device-sdk-go-PR-934-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2021-05-19T05:58:02.096Z] /w/workspace/device-sdk-go/1@tmp/durable-0d062cc7/script.sh: 1: /w/workspace/device-sdk-go/1@tmp/durable-0d062cc7/script.sh: Syntax error: Unterminated quoted string [Pipeline] sh [2021-05-19T05:58:02.480Z] + echo total: 0.18000000715255737 [Pipeline] stash [2021-05-19T05:58:02.523Z] Warning: overwriting stash ‘stack-cost’ [2021-05-19T05:58:02.678Z] Stashed 1 file(s) [Pipeline] } [2021-05-19T05:58:02.708Z] Lock released on resource [jenkins-edgexfoundry-device-sdk-go-PR-934-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 [2021-05-19T05:58:03.839Z] provisioning config files... [2021-05-19T05:58:03.848Z] copy managed file [device-sdk-go-codecov-token] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-934@tmp/config6803314024417724445tmp [Pipeline] { [Pipeline] sh [2021-05-19T05:58:04.201Z] + set +x [2021-05-19T05:58:04.201Z] + bash -s -- [2021-05-19T05:58:04.201Z] + curl -s https://codecov.io/bash [2021-05-19T05:58:04.201Z] [2021-05-19T05:58:04.201Z] _____ _ [2021-05-19T05:58:04.201Z] / ____| | | [2021-05-19T05:58:04.201Z] | | ___ __| | ___ ___ _____ __ [2021-05-19T05:58:04.201Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2021-05-19T05:58:04.201Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2021-05-19T05:58:04.201Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2021-05-19T05:58:04.201Z] Bash-1.0.2 [2021-05-19T05:58:04.201Z] [2021-05-19T05:58:04.201Z] [2021-05-19T05:58:04.201Z] ==> git version 2.24.4 found [2021-05-19T05:58:04.201Z] ==> 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 [2021-05-19T05:58:04.201Z] Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtsp scp sftp smtp smtps telnet tftp [2021-05-19T05:58:04.201Z] Features: AsynchDNS GSS-Negotiate IDN IPv6 Largefile NTLM NTLM_WB SSL libz unix-sockets [2021-05-19T05:58:04.201Z] ==> Jenkins CI detected. [2021-05-19T05:58:04.201Z] project root: . [2021-05-19T05:58:04.201Z] --> token set from env [2021-05-19T05:58:04.201Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2021-05-19T05:58:04.201Z] ==> Running gcov in . (disable via -X gcov) [2021-05-19T05:58:04.201Z] ==> Python coveragepy not found [2021-05-19T05:58:04.201Z] ==> Searching for coverage reports in: [2021-05-19T05:58:04.201Z] + . [2021-05-19T05:58:04.201Z] -> Found 1 reports [2021-05-19T05:58:04.201Z] ==> Detecting git/mercurial file structure [2021-05-19T05:58:04.201Z] ==> Reading reports [2021-05-19T05:58:04.467Z] + ./coverage.out bytes=126188 [2021-05-19T05:58:04.467Z] ==> Appending adjustments [2021-05-19T05:58:04.467Z] https://docs.codecov.io/docs/fixing-reports [2021-05-19T05:58:04.467Z] + Found adjustments [2021-05-19T05:58:04.467Z] ==> Gzipping contents [2021-05-19T05:58:04.467Z] 20K /tmp/codecov.sPtiZ9.gz [2021-05-19T05:58:04.467Z] ==> Uploading reports [2021-05-19T05:58:04.467Z] url: https://codecov.io [2021-05-19T05:58:04.467Z] query: branch=PR-934&commit=9f08648ade41faca250647d52fae2d276d6fcbea&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-934%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=934&job=&cmd_args= [2021-05-19T05:58:04.467Z] -> Pinging Codecov [2021-05-19T05:58:04.467Z] https://codecov.io/upload/v4?package=bash-1.0.2&token=secret&branch=PR-934&commit=9f08648ade41faca250647d52fae2d276d6fcbea&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-934%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=934&job=&cmd_args= [2021-05-19T05:58:05.409Z] -> Uploading to [2021-05-19T05:58:05.409Z] https://storage.googleapis.com/codecov/v4/raw/2021-05-19/7E55EF52A471D76F132DFD9A03CDDE97/9f08648ade41faca250647d52fae2d276d6fcbea/d0314913-4ed7-4484-9af5-9c2b861d2bff.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EQM3VGPYSAFECJRMNAFIPCV2R3P2BOORCJC7NM537NPJQSFLHUDNIDWA%2F20210519%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20210519T055805Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=d9f133ca4b566e1bc9e775e3d058081378ef03e796009bbcc3c624532558fad9 [2021-05-19T05:58:05.409Z] % Total % Received % Xferd Average Speed Time Time Time Current [2021-05-19T05:58:05.409Z] Dload Upload Total Spent Left Speed [2021-05-19T05:58:05.672Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 16495 0 0 100 16495 0 51270 --:--:-- --:--:-- --:--:-- 51226 100 16495 0 0 100 16495 0 51250 --:--:-- --:--:-- --:--:-- 51226 [2021-05-19T05:58:05.672Z] -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/device-sdk-go/commit/9f08648ade41faca250647d52fae2d276d6fcbea [Pipeline] } [2021-05-19T05:58:05.699Z] 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 [2021-05-19T05:58:08.086Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2021-05-19T05:58:08.709Z] ---> package-listing.sh [2021-05-19T05:58:08.709Z] ++ facter osfamily [2021-05-19T05:58:08.709Z] ++ tr '[:upper:]' '[:lower:]' [2021-05-19T05:58:08.979Z] + OS_FAMILY=redhat [2021-05-19T05:58:08.979Z] + workspace=/w/workspace/dgexfoundry_device-sdk-go_PR-934 [2021-05-19T05:58:08.979Z] + START_PACKAGES=/tmp/packages_start.txt [2021-05-19T05:58:08.979Z] + END_PACKAGES=/tmp/packages_end.txt [2021-05-19T05:58:08.979Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2021-05-19T05:58:08.979Z] + PACKAGES=/tmp/packages_start.txt [2021-05-19T05:58:08.979Z] + '[' /w/workspace/dgexfoundry_device-sdk-go_PR-934 ']' [2021-05-19T05:58:08.979Z] + PACKAGES=/tmp/packages_end.txt [2021-05-19T05:58:08.979Z] + case "${OS_FAMILY}" in [2021-05-19T05:58:08.979Z] + rpm -qa [2021-05-19T05:58:08.979Z] + sort [2021-05-19T05:58:09.557Z] + '[' -f /tmp/packages_start.txt ']' [2021-05-19T05:58:09.557Z] + '[' -f /tmp/packages_end.txt ']' [2021-05-19T05:58:09.557Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2021-05-19T05:58:09.557Z] + '[' /w/workspace/dgexfoundry_device-sdk-go_PR-934 ']' [2021-05-19T05:58:09.557Z] + mkdir -p /w/workspace/dgexfoundry_device-sdk-go_PR-934/archives/ [2021-05-19T05:58:09.557Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/dgexfoundry_device-sdk-go_PR-934/archives/ [Pipeline] echo [2021-05-19T05:58:09.596Z] 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-934/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2021-05-19T05:58:09.917Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] sh [2021-05-19T05:58:10.531Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-05-19T05:58:10.531Z] [2021-05-19T05:58:10.531Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh [2021-05-19T05:58:10.915Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-05-19T05:58:10.915Z] alpine: Pulling from edgex-lftools-log-publisher [2021-05-19T05:58:10.915Z] df20fa9351a1: Pulling fs layer [2021-05-19T05:58:10.915Z] 36b3adc4ff6f: Pulling fs layer [2021-05-19T05:58:10.915Z] 8ad3a11d3b57: Pulling fs layer [2021-05-19T05:58:10.915Z] 46f8f816bc3b: Pulling fs layer [2021-05-19T05:58:10.915Z] 93b61091891f: Pulling fs layer [2021-05-19T05:58:10.915Z] 93b9cdb0e59b: Pulling fs layer [2021-05-19T05:58:10.915Z] 5e14af77c1be: Pulling fs layer [2021-05-19T05:58:10.915Z] 01666e4c0597: Pulling fs layer [2021-05-19T05:58:10.915Z] aa168da1d23b: Pulling fs layer [2021-05-19T05:58:10.915Z] 93b9cdb0e59b: Waiting [2021-05-19T05:58:10.915Z] 5e14af77c1be: Waiting [2021-05-19T05:58:10.915Z] 01666e4c0597: Waiting [2021-05-19T05:58:10.915Z] aa168da1d23b: Waiting [2021-05-19T05:58:10.915Z] 46f8f816bc3b: Waiting [2021-05-19T05:58:10.915Z] 93b61091891f: Waiting [2021-05-19T05:58:10.915Z] 36b3adc4ff6f: Verifying Checksum [2021-05-19T05:58:10.915Z] 36b3adc4ff6f: Download complete [2021-05-19T05:58:10.915Z] 46f8f816bc3b: Verifying Checksum [2021-05-19T05:58:10.915Z] 46f8f816bc3b: Download complete [2021-05-19T05:58:10.915Z] df20fa9351a1: Verifying Checksum [2021-05-19T05:58:10.915Z] df20fa9351a1: Download complete [2021-05-19T05:58:11.184Z] 93b9cdb0e59b: Verifying Checksum [2021-05-19T05:58:11.184Z] 93b9cdb0e59b: Download complete [2021-05-19T05:58:11.184Z] 5e14af77c1be: Verifying Checksum [2021-05-19T05:58:11.184Z] 5e14af77c1be: Download complete [2021-05-19T05:58:11.184Z] 93b61091891f: Verifying Checksum [2021-05-19T05:58:11.184Z] 93b61091891f: Download complete [2021-05-19T05:58:11.184Z] 01666e4c0597: Verifying Checksum [2021-05-19T05:58:11.184Z] 01666e4c0597: Download complete [2021-05-19T05:58:11.184Z] 8ad3a11d3b57: Verifying Checksum [2021-05-19T05:58:11.184Z] 8ad3a11d3b57: Download complete [2021-05-19T05:58:11.184Z] df20fa9351a1: Pull complete [2021-05-19T05:58:11.444Z] 36b3adc4ff6f: Pull complete [2021-05-19T05:58:11.702Z] 8ad3a11d3b57: Pull complete [2021-05-19T05:58:11.961Z] 46f8f816bc3b: Pull complete [2021-05-19T05:58:12.222Z] 93b61091891f: Pull complete [2021-05-19T05:58:12.222Z] 93b9cdb0e59b: Pull complete [2021-05-19T05:58:12.482Z] 5e14af77c1be: Pull complete [2021-05-19T05:58:12.482Z] 01666e4c0597: Pull complete [2021-05-19T05:58:12.747Z] aa168da1d23b: Verifying Checksum [2021-05-19T05:58:12.747Z] aa168da1d23b: Download complete [2021-05-19T05:58:17.011Z] aa168da1d23b: Pull complete [2021-05-19T05:58:17.011Z] Digest: sha256:ac41798234670a79351fc13b8232b4dbeccc6fb1f122f5db5169d11b1762ca7c [2021-05-19T05:58:17.011Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-05-19T05:58:17.011Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer [2021-05-19T05:58:17.134Z] prd-centos7-docker-4c-2g-15005 does not seem to be running inside a container [2021-05-19T05:58:17.173Z] $ 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-934/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-934 -v /w/workspace/dgexfoundry_device-sdk-go_PR-934:/w/workspace/dgexfoundry_device-sdk-go_PR-934:rw,z -v /w/workspace/dgexfoundry_device-sdk-go_PR-934@tmp:/w/workspace/dgexfoundry_device-sdk-go_PR-934@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 [2021-05-19T05:58:22.749Z] $ docker top 0e73a0cf7cd8f8b75eb30a98c39bd8e9cb9a68c842a3f061d1cdf5db9f98b98a -eo pid,comm [Pipeline] { [Pipeline] sh [2021-05-19T05:58:23.184Z] + touch /tmp/pre-build-complete [Pipeline] sh [2021-05-19T05:58:23.500Z] + mkdir -p /var/log/sa [Pipeline] sh [2021-05-19T05:58:23.833Z] + ls /var/log/sa-host [2021-05-19T05:58:23.833Z] + sadf -c /var/log/sa-host/sa05 [2021-05-19T05:58:23.833Z] file_magic: OK [2021-05-19T05:58:23.833Z] HZ: Using current value: 100 [2021-05-19T05:58:23.833Z] file_header: OK [2021-05-19T05:58:23.833Z] 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 [2021-05-19T05:58:23.833Z] Statistics: [2021-05-19T05:58:23.833Z] Hnuu...uuuununununu...Hnuu...uuuununununu... [2021-05-19T05:58:23.833Z] File successfully converted to sysstat format version 12.2.1 [2021-05-19T05:58:23.833Z] + sadf -c /var/log/sa-host/sa19 [2021-05-19T05:58:23.833Z] file_magic: OK [2021-05-19T05:58:23.833Z] HZ: Using current value: 100 [2021-05-19T05:58:23.833Z] file_header: OK [2021-05-19T05:58:23.833Z] 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 [2021-05-19T05:58:23.833Z] Statistics: [2021-05-19T05:58:23.833Z] 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... [2021-05-19T05:58:23.834Z] File successfully converted to sysstat format version 12.2.1 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-05-19T05:58:24.115Z] provisioning config files... [2021-05-19T05:58:24.127Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-934@tmp/config3398661870625088697tmp [Pipeline] { [Pipeline] echo [2021-05-19T05:58:24.192Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2021-05-19T05:58:24.524Z] ---> create-netrc.sh [Pipeline] } [2021-05-19T05:58:24.557Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] echo [2021-05-19T05:58:24.633Z] Running shell/python-tools-install.sh [Pipeline] libraryResource [Pipeline] sh [2021-05-19T05:58:24.971Z] ---> python-tools-install.sh [Pipeline] echo [2021-05-19T05:58:25.004Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2021-05-19T05:58:25.346Z] ---> sudo-logs.sh [2021-05-19T05:58:25.346Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2021-05-19T05:58:25.420Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2021-05-19T05:58:25.750Z] ---> job-cost.sh [2021-05-19T05:58:25.750Z] lf-activate-venv: SKIPPING [2021-05-19T05:58:25.750Z] DEBUG: total: 0.18000000715255737 [2021-05-19T05:58:25.750Z] INFO: Retrieving Stack Cost... [2021-05-19T05:58:26.695Z] INFO: Retrieving Pricing Info for: v3-standard-2 [2021-05-19T05:58:27.269Z] INFO: Archiving Costs [Pipeline] echo [2021-05-19T05:58:27.304Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2021-05-19T05:58:27.675Z] ---> logs-deploy.sh [2021-05-19T05:58:27.675Z] lf-activate-venv: SKIPPING [2021-05-19T05:58:27.675Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-934/1 [2021-05-19T05:58:27.675Z] INFO: archiving workspace using pattern(s): [2021-05-19T05:58:28.619Z] Archives upload complete. [2021-05-19T05:58:28.619Z] INFO: archiving logs to Nexus