Pull request #952 opened Connecting to https://api.github.com using edgex-jenkins/****** (edgex-jenkins github personal access token) Obtained Jenkinsfile from ef863db579e6d4e0579033a4c76015e68da9ea6b+f9e550b20f5a93948f1e6d0294bcd4043c76663f (696146a1c979b93052f27236d9e725caef51c777) 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-ssh5584137092255714617.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-ssh7459911231101693330.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-952/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-952/workspace@libs/edgex-global-pipelines@tmp/jenkins-gitclient-ssh7437808480623223656.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-952/workspace@libs/edgex-global-pipelines@tmp/jenkins-gitclient-ssh1197136030342967008.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-ssh457232030262072067.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-952/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-952/workspace@libs/lf-pipelines@tmp/jenkins-gitclient-ssh4625490386420350161.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 Avoid second fetch Checking out Revision 46d8313d362d7075c0f562900eedc504c24ea18a (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 46d8313d362d7075c0f562900eedc504c24ea18a # timeout=10 Commit message: "Fix lfParallelCostCapture env var name" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 > git --version # timeout=10 > git --version # 'git version 2.16.6' fatal: bad object 9d0281235b943b7ad605f650702698f9078b2862 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that shared library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-sdk-go, dockerImageName:device-sdk-simple, dockerFilePath:example/cmd/device-simple/Dockerfile, pushImage:false, publishSwaggerDocs:true, swaggerApiFolders:[openapi/v1, openapi/v2]] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[centos7-docker-4c-2g, ubuntu18.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-sdk-go-settings PROJECT: device-sdk-go USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.16 GOPROXY: https://nexus3.edgexfoundry.org/repository/go-proxy/ DOCKER_BASE_IMAGE: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine DOCKER_FILE_PATH: example/cmd/device-simple/Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_IMAGE_NAME: device-sdk-simple DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: false BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: true SWAGGER_API_FOLDERS: openapi/v1 openapi/v2 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] node Still waiting to schedule task ‘prd-centos7-docker-4c-2g-309’ is offline Running on prd-centos7-docker-4c-2g-1773 in /w/workspace/dgexfoundry_device-sdk-go_PR-952 [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-952 # 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-952@tmp/jenkins-gitclient-ssh8621495540266454925.key > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Merging remotes/origin/master commit f9e550b20f5a93948f1e6d0294bcd4043c76663f into PR head commit ef863db579e6d4e0579033a4c76015e68da9ea6b Merge succeeded, producing ef863db579e6d4e0579033a4c76015e68da9ea6b Checking out Revision ef863db579e6d4e0579033a4c76015e68da9ea6b (PR-952) > 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-952@tmp/jenkins-gitclient-ssh2958678097452243195.key > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/952/head:refs/remotes/origin/PR-952 +refs/heads/master:refs/remotes/origin/master # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f ef863db579e6d4e0579033a4c76015e68da9ea6b # 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-952@tmp/jenkins-gitclient-ssh8697878141457771402.key > git merge f9e550b20f5a93948f1e6d0294bcd4043c76663f # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f ef863db579e6d4e0579033a4c76015e68da9ea6b # timeout=10 Commit message: "build(deps): bump github.com/edgexfoundry/go-mod-core-contracts/v2" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.24.4' fatal: bad object 9d0281235b943b7ad605f650702698f9078b2862 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2021-06-01T05:55:29.378Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2021-06-01T05:55:31.625Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2021-06-01T05:55:31.759Z] ========================================================= [2021-06-01T05:55:31.759Z] EdgeX Global Pipelines Version Info [2021-06-01T05:55:31.759Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2021-06-01T05:55:33.308Z] ------------------- [2021-06-01T05:55:33.308Z] stable info: [2021-06-01T05:55:33.308Z] ------------------- [2021-06-01T05:55:33.308Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2021-06-01T05:55:33.308Z] Commit SHA: 9d0281235b943b7ad605f650702698f9078b2862 [2021-06-01T05:55:33.308Z] Message: update stable to v1.0.192 [2021-06-01T05:55:33.881Z] ------------------- [2021-06-01T05:55:33.882Z] experimental info: [2021-06-01T05:55:33.882Z] ------------------- [2021-06-01T05:55:33.882Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2021-06-01T05:55:33.882Z] Commit SHA: 9d0281235b943b7ad605f650702698f9078b2862 [2021-06-01T05:55:33.882Z] Message: update experimental to v1.0.192 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2021-06-01T05:55:34.126Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-go-settings [Pipeline] echo [2021-06-01T05:55:34.184Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-go [Pipeline] echo [2021-06-01T05:55:34.240Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2021-06-01T05:55:34.312Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2021-06-01T05:55:34.379Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2021-06-01T05:55:36.478Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.16 [Pipeline] echo [2021-06-01T05:55:36.537Z] [edgeXSetupEnvironment]: set envvar GOPROXY = https://nexus3.edgexfoundry.org/repository/go-proxy/ [Pipeline] echo [2021-06-01T05:55:36.593Z] [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine [Pipeline] echo [2021-06-01T05:55:36.678Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = example/cmd/device-simple/Dockerfile [Pipeline] echo [2021-06-01T05:55:36.739Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2021-06-01T05:55:36.808Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2021-06-01T05:55:36.869Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-sdk-simple [Pipeline] echo [2021-06-01T05:55:36.929Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2021-06-01T05:55:36.986Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2021-06-01T05:55:37.062Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2021-06-01T05:55:37.128Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo [2021-06-01T05:55:37.187Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2021-06-01T05:55:37.246Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2021-06-01T05:55:37.313Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2021-06-01T05:55:37.375Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2021-06-01T05:55:37.432Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo [2021-06-01T05:55:37.497Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 openapi/v2 [Pipeline] echo [2021-06-01T05:55:37.555Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2021-06-01T05:55:37.613Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2021-06-01T05:55:37.675Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2021-06-01T05:55:37.731Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2021-06-01T05:55:37.790Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-952 [Pipeline] echo [2021-06-01T05:55:37.855Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-952 [Pipeline] echo [2021-06-01T05:55:37.908Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-952 [Pipeline] echo [2021-06-01T05:55:37.967Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = ef863db579e6d4e0579033a4c76015e68da9ea6b [Pipeline] echo [2021-06-01T05:55:38.031Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = ef863db [Pipeline] echo [2021-06-01T05:55:38.111Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-06-01T05:55:40.232Z] provisioning config files... [2021-06-01T05:55:40.249Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-952@tmp/config4524704909932779850tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-06-01T05:55:40.625Z] ---> docker-login.sh [2021-06-01T05:55:40.625Z] nexus3.edgexfoundry.org:10001 [2021-06-01T05:55:40.892Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-06-01T05:55:41.173Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-06-01T05:55:41.173Z] Configure a credential helper to remove this warning. See [2021-06-01T05:55:41.173Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-06-01T05:55:41.173Z] [2021-06-01T05:55:41.173Z] Login Succeeded [2021-06-01T05:55:41.173Z] nexus3.edgexfoundry.org:10002 [2021-06-01T05:55:41.173Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-06-01T05:55:41.435Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-06-01T05:55:41.435Z] Configure a credential helper to remove this warning. See [2021-06-01T05:55:41.435Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-06-01T05:55:41.435Z] [2021-06-01T05:55:41.435Z] Login Succeeded [2021-06-01T05:55:41.435Z] nexus3.edgexfoundry.org:10003 [2021-06-01T05:55:41.435Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-06-01T05:55:41.435Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-06-01T05:55:41.435Z] Configure a credential helper to remove this warning. See [2021-06-01T05:55:41.435Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-06-01T05:55:41.435Z] [2021-06-01T05:55:41.435Z] Login Succeeded [2021-06-01T05:55:41.435Z] nexus3.edgexfoundry.org:10004 [2021-06-01T05:55:41.435Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-06-01T05:55:41.698Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-06-01T05:55:41.698Z] Configure a credential helper to remove this warning. See [2021-06-01T05:55:41.698Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-06-01T05:55:41.698Z] [2021-06-01T05:55:41.698Z] Login Succeeded [2021-06-01T05:55:41.698Z] docker.io [2021-06-01T05:55:41.698Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-06-01T05:55:41.961Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-06-01T05:55:41.961Z] Configure a credential helper to remove this warning. See [2021-06-01T05:55:41.961Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-06-01T05:55:41.961Z] [2021-06-01T05:55:41.961Z] Login Succeeded [2021-06-01T05:55:41.961Z] ---> docker-login.sh ends [Pipeline] } [2021-06-01T05:55:41.991Z] 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-06-01T05:55:42.816Z] + git log --format=format:%s -1 ef863db579e6d4e0579033a4c76015e68da9ea6b [Pipeline] echo [2021-06-01T05:55:42.873Z] GIT_COMMIT: ef863db579e6d4e0579033a4c76015e68da9ea6b, Commit Message: build(deps): bump github.com/edgexfoundry/go-mod-core-contracts/v2 [Pipeline] echo [2021-06-01T05:55:42.917Z] This is not a build commit. [Pipeline] isUnix [Pipeline] sh [2021-06-01T05:55:47.828Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-06-01T05:55:47.828Z] [2021-06-01T05:55:47.828Z] Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh [2021-06-01T05:55:48.180Z] + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-06-01T05:55:48.180Z] latest: Pulling from edgex-devops/git-semver [2021-06-01T05:55:48.180Z] 31603596830f: Pulling fs layer [2021-06-01T05:55:48.180Z] 54011a49482f: Pulling fs layer [2021-06-01T05:55:48.180Z] a6820b24f6d8: Pulling fs layer [2021-06-01T05:55:48.180Z] f581987b2513: Pulling fs layer [2021-06-01T05:55:48.180Z] f581987b2513: Waiting [2021-06-01T05:55:48.180Z] 54011a49482f: Download complete [2021-06-01T05:55:48.443Z] 31603596830f: Verifying Checksum [2021-06-01T05:55:48.443Z] 31603596830f: Download complete [2021-06-01T05:55:48.708Z] a6820b24f6d8: Verifying Checksum [2021-06-01T05:55:48.708Z] a6820b24f6d8: Download complete [2021-06-01T05:55:48.708Z] f581987b2513: Verifying Checksum [2021-06-01T05:55:48.708Z] f581987b2513: Download complete [2021-06-01T05:55:48.708Z] 31603596830f: Pull complete [2021-06-01T05:55:48.708Z] 54011a49482f: Pull complete [2021-06-01T05:55:49.290Z] a6820b24f6d8: Pull complete [2021-06-01T05:55:49.551Z] f581987b2513: Pull complete [2021-06-01T05:55:49.551Z] Digest: sha256:772af3cb61214e5a22880db9bb273bb039d0aa3a8f4edfa0c1def8b4e20ea536 [2021-06-01T05:55:49.551Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-06-01T05:55:49.551Z] nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer [2021-06-01T05:55:49.655Z] prd-centos7-docker-4c-2g-1773 does not seem to be running inside a container [2021-06-01T05:55:49.700Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/dgexfoundry_device-sdk-go_PR-952 -v /w/workspace/dgexfoundry_device-sdk-go_PR-952:/w/workspace/dgexfoundry_device-sdk-go_PR-952:rw,z -v /w/workspace/dgexfoundry_device-sdk-go_PR-952@tmp:/w/workspace/dgexfoundry_device-sdk-go_PR-952@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 ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat [2021-06-01T05:55:51.330Z] $ docker top a2151380e854dbcd1ce8a3e259396278457c69a95336eb7c99f21d56b7528cf4 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2021-06-01T05:55:51.558Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-06-01T05:55:51.558Z] [ssh-agent] Looking for ssh-agent implementation... [2021-06-01T05:55:51.667Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-06-01T05:55:51.671Z] $ docker exec a2151380e854dbcd1ce8a3e259396278457c69a95336eb7c99f21d56b7528cf4 ssh-agent [2021-06-01T05:55:51.770Z] SSH_AUTH_SOCK=/tmp/ssh-3KkQdmR6CXsw/agent.14 [2021-06-01T05:55:51.771Z] SSH_AGENT_PID=21 [2021-06-01T05:55:51.779Z] Running ssh-add (command line suppressed) [2021-06-01T05:55:51.876Z] Identity added: /w/workspace/dgexfoundry_device-sdk-go_PR-952@tmp/private_key_7767965541645454778.key (/w/workspace/dgexfoundry_device-sdk-go_PR-952@tmp/private_key_7767965541645454778.key) [2021-06-01T05:55:51.909Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-06-01T05:55:52.271Z] + git tag --points-at HEAD [Pipeline] } [2021-06-01T05:55:52.300Z] $ docker exec --env ******** --env ******** a2151380e854dbcd1ce8a3e259396278457c69a95336eb7c99f21d56b7528cf4 ssh-agent -k [2021-06-01T05:55:52.398Z] unset SSH_AUTH_SOCK; [2021-06-01T05:55:52.399Z] unset SSH_AGENT_PID; [2021-06-01T05:55:52.399Z] echo Agent pid 21 killed; [2021-06-01T05:55:52.410Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2021-06-01T05:55:52.515Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-06-01T05:55:52.516Z] [ssh-agent] Looking for ssh-agent implementation... [2021-06-01T05:55:52.627Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-06-01T05:55:52.631Z] $ docker exec a2151380e854dbcd1ce8a3e259396278457c69a95336eb7c99f21d56b7528cf4 ssh-agent [2021-06-01T05:55:52.728Z] SSH_AUTH_SOCK=/tmp/ssh-SBmp2he7aBuC/agent.54 [2021-06-01T05:55:52.728Z] SSH_AGENT_PID=60 [2021-06-01T05:55:52.733Z] Running ssh-add (command line suppressed) [2021-06-01T05:55:52.821Z] Identity added: /w/workspace/dgexfoundry_device-sdk-go_PR-952@tmp/private_key_2733179274205637863.key (/w/workspace/dgexfoundry_device-sdk-go_PR-952@tmp/private_key_2733179274205637863.key) [2021-06-01T05:55:52.835Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-06-01T05:55:53.183Z] + git semver init [2021-06-01T05:55:53.183Z] # -> Open(): unable to determine branch for HEAD [2021-06-01T05:55:53.183Z] # $GIT_DIR = /w/workspace/dgexfoundry_device-sdk-go_PR-952/.git [2021-06-01T05:55:53.183Z] # $GIT_WORK_TREE = /w/workspace/dgexfoundry_device-sdk-go_PR-952 [2021-06-01T05:55:53.183Z] # $SEMVER_REMOTE_NAME = origin [2021-06-01T05:55:53.183Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2021-06-01T05:55:53.183Z] # $SEMVER_USER_NAME = edgex-jenkins [2021-06-01T05:55:53.183Z] # $SEMVER_BRANCH = PR-952 [2021-06-01T05:55:53.183Z] # $SEMVER_TEMP = /tmp/semver-910812271 [2021-06-01T05:55:53.183Z] # git clone --branch semver git@github.com:edgexfoundry/device-sdk-go.git $SEMVER_TEMP [2021-06-01T05:55:53.759Z] # '/tmp/semver-910812271' -> '/w/workspace/dgexfoundry_device-sdk-go_PR-952/.semver' [2021-06-01T05:55:53.759Z] # -> Force: false [2021-06-01T05:55:53.759Z] # $SEMVER_DIR = /w/workspace/dgexfoundry_device-sdk-go_PR-952/.semver [Pipeline] } [2021-06-01T05:55:53.779Z] $ docker exec --env ******** --env ******** a2151380e854dbcd1ce8a3e259396278457c69a95336eb7c99f21d56b7528cf4 ssh-agent -k [2021-06-01T05:55:53.873Z] unset SSH_AUTH_SOCK; [2021-06-01T05:55:53.874Z] unset SSH_AGENT_PID; [2021-06-01T05:55:53.874Z] echo Agent pid 60 killed; [2021-06-01T05:55:53.885Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2021-06-01T05:55:56.465Z] + git semver [Pipeline] } [2021-06-01T05:55:56.494Z] $ docker stop --time=1 a2151380e854dbcd1ce8a3e259396278457c69a95336eb7c99f21d56b7528cf4 [2021-06-01T05:55:57.933Z] $ docker rm -f a2151380e854dbcd1ce8a3e259396278457c69a95336eb7c99f21d56b7528cf4 [Pipeline] // withDockerContainer [Pipeline] sh [2021-06-01T05:55:58.372Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2021-06-01T05:55:58.717Z] Stashed 1 file(s) [Pipeline] echo [2021-06-01T05:55:58.739Z] [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-06-01T05:56:14.240Z] Still waiting to schedule task [2021-06-01T05:56:14.241Z] Waiting for next available executor on ‘centos7-docker-4c-2g’ [2021-06-01T05:56:14.266Z] Still waiting to schedule task [2021-06-01T05:56:14.266Z] All nodes of label ‘ubuntu18.04-docker-arm64-4c-16g’ are offline [2021-06-01T05:58:29.175Z] Running on prd-ubuntu18.04-docker-arm64-4c-16g-1774 in /w/workspace/dgexfoundry_device-sdk-go_PR-952 [Pipeline] { [Pipeline] ws [2021-06-01T05:58:29.242Z] Running in /w/workspace/device-sdk-go/1 [Pipeline] { [Pipeline] checkout [2021-06-01T05:58:29.495Z] Selected Git installation does not exist. Using Default [2021-06-01T05:58:29.495Z] The recommended git tool is: NONE [2021-06-01T05:58:38.335Z] using credential edgex-jenkins-ssh [2021-06-01T05:58:38.391Z] Cloning the remote Git repository [2021-06-01T05:58:38.446Z] Cloning repository git@github.com:edgexfoundry/device-sdk-go.git [2021-06-01T05:58:38.567Z] > git init /w/workspace/device-sdk-go/1 # timeout=10 [2021-06-01T05:58:38.653Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2021-06-01T05:58:38.654Z] > git --version # timeout=10 [2021-06-01T05:58:38.672Z] > git --version # 'git version 2.17.1' [2021-06-01T05:58:38.673Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-06-01T05:58:38.733Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-06-01T05:58:40.408Z] Merging remotes/origin/master commit f9e550b20f5a93948f1e6d0294bcd4043c76663f into PR head commit ef863db579e6d4e0579033a4c76015e68da9ea6b [2021-06-01T05:58:40.602Z] Merge succeeded, producing ef863db579e6d4e0579033a4c76015e68da9ea6b [2021-06-01T05:58:40.603Z] Checking out Revision ef863db579e6d4e0579033a4c76015e68da9ea6b (PR-952) [2021-06-01T05:58:39.809Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2021-06-01T05:58:39.823Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-06-01T05:58:39.848Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2021-06-01T05:58:39.877Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2021-06-01T05:58:39.878Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-06-01T05:58:39.891Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/952/head:refs/remotes/origin/PR-952 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2021-06-01T05:58:40.430Z] > git config core.sparsecheckout # timeout=10 [2021-06-01T05:58:40.442Z] > git checkout -f ef863db579e6d4e0579033a4c76015e68da9ea6b # timeout=10 [2021-06-01T05:58:40.534Z] > git remote # timeout=10 [2021-06-01T05:58:40.548Z] > git config --get remote.origin.url # timeout=10 [2021-06-01T05:58:40.560Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-06-01T05:58:40.571Z] > git merge f9e550b20f5a93948f1e6d0294bcd4043c76663f # timeout=10 [2021-06-01T05:58:40.592Z] > git rev-parse HEAD^{commit} # timeout=10 [2021-06-01T05:58:40.611Z] > git config core.sparsecheckout # timeout=10 [2021-06-01T05:58:40.620Z] > git checkout -f ef863db579e6d4e0579033a4c76015e68da9ea6b # timeout=10 [2021-06-01T05:58:44.826Z] Commit message: "build(deps): bump github.com/edgexfoundry/go-mod-core-contracts/v2" [2021-06-01T05:58:44.883Z] > git --version # timeout=10 [2021-06-01T05:58:44.894Z] > git --version # 'git version 2.17.1' [2021-06-01T05:58:44.907Z] fatal: bad object 9d0281235b943b7ad605f650702698f9078b2862 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-06-01T05:58:48.474Z] + sudo jq . + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false} /etc/docker/daemon.json [Pipeline] sh [2021-06-01T05:58:48.907Z] + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh [2021-06-01T05:58:49.280Z] + true [2021-06-01T05:58:49.280Z] + sudo service docker restart [2021-06-01T05:58:55.983Z] Running on prd-centos7-docker-4c-2g-1775 in /w/workspace/dgexfoundry_device-sdk-go_PR-952 [Pipeline] { [Pipeline] ws [2021-06-01T05:58:56.041Z] Running in /w/workspace/device-sdk-go/1 [Pipeline] { [Pipeline] checkout [2021-06-01T05:58:56.196Z] Selected Git installation does not exist. Using Default [2021-06-01T05:58:56.196Z] The recommended git tool is: NONE [2021-06-01T05:59:02.704Z] using credential edgex-jenkins-ssh [2021-06-01T05:59:02.725Z] Cloning the remote Git repository [2021-06-01T05:59:02.745Z] Cloning repository git@github.com:edgexfoundry/device-sdk-go.git [2021-06-01T05:59:02.812Z] > git init /w/workspace/device-sdk-go/1 # timeout=10 [2021-06-01T05:59:02.844Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2021-06-01T05:59:02.845Z] > git --version # timeout=10 [2021-06-01T05:59:02.851Z] > git --version # 'git version 2.24.4' [2021-06-01T05:59:02.851Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-06-01T05:59:02.882Z] [INFO] Currently running in a labeled security context [2021-06-01T05:59:02.882Z] [INFO] Currently SELinux is 'enforcing' on the host [2021-06-01T05:59:02.882Z] > git /usr/bin/chcon --type=ssh_home_t /w/workspace/device-sdk-go/1@tmp/jenkins-gitclient-ssh8526619692318677386.key [2021-06-01T05:59:02.898Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-06-01T05:59:04.243Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2021-06-01T05:59:04.253Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-06-01T05:59:04.267Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2021-06-01T05:59:04.282Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2021-06-01T05:59:04.282Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-06-01T05:59:04.283Z] [INFO] Currently running in a labeled security context [2021-06-01T05:59:04.284Z] [INFO] Currently SELinux is 'enforcing' on the host [2021-06-01T05:59:04.284Z] > git /usr/bin/chcon --type=ssh_home_t /w/workspace/device-sdk-go/1@tmp/jenkins-gitclient-ssh6966067872221875928.key [2021-06-01T05:59:04.291Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/952/head:refs/remotes/origin/PR-952 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2021-06-01T05:59:04.717Z] Merging remotes/origin/master commit f9e550b20f5a93948f1e6d0294bcd4043c76663f into PR head commit ef863db579e6d4e0579033a4c76015e68da9ea6b [2021-06-01T05:59:04.829Z] Merge succeeded, producing ef863db579e6d4e0579033a4c76015e68da9ea6b [2021-06-01T05:59:04.829Z] Checking out Revision ef863db579e6d4e0579033a4c76015e68da9ea6b (PR-952) [2021-06-01T05:59:04.724Z] > git config core.sparsecheckout # timeout=10 [2021-06-01T05:59:04.734Z] > git checkout -f ef863db579e6d4e0579033a4c76015e68da9ea6b # timeout=10 [2021-06-01T05:59:04.767Z] > git remote # timeout=10 [2021-06-01T05:59:04.778Z] > git config --get remote.origin.url # timeout=10 [2021-06-01T05:59:04.788Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-06-01T05:59:04.789Z] [INFO] Currently running in a labeled security context [2021-06-01T05:59:04.789Z] [INFO] Currently SELinux is 'enforcing' on the host [2021-06-01T05:59:04.789Z] > git /usr/bin/chcon --type=ssh_home_t /w/workspace/device-sdk-go/1@tmp/jenkins-gitclient-ssh7867087740950558228.key [2021-06-01T05:59:04.796Z] > git merge f9e550b20f5a93948f1e6d0294bcd4043c76663f # timeout=10 [2021-06-01T05:59:04.808Z] > git rev-parse HEAD^{commit} # timeout=10 [2021-06-01T05:59:04.828Z] > git config core.sparsecheckout # timeout=10 [2021-06-01T05:59:04.832Z] > git checkout -f ef863db579e6d4e0579033a4c76015e68da9ea6b # timeout=10 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-06-01T05:59:08.314Z] provisioning config files... [2021-06-01T05:59:08.339Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/1@tmp/config1044721199463506395tmp [Pipeline] { [2021-06-01T05:59:08.394Z] Commit message: "build(deps): bump github.com/edgexfoundry/go-mod-core-contracts/v2" [Pipeline] libraryResource [Pipeline] sh [2021-06-01T05:59:08.416Z] > git --version # timeout=10 [2021-06-01T05:59:08.428Z] > git --version # 'git version 2.24.4' [2021-06-01T05:59:08.436Z] fatal: bad object 9d0281235b943b7ad605f650702698f9078b2862 [2021-06-01T05:59:08.760Z] ---> docker-login.sh [2021-06-01T05:59:08.760Z] nexus3.edgexfoundry.org:10001 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [2021-06-01T05:59:10.978Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-06-01T05:59:10.978Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-06-01T05:59:10.978Z] Configure a credential helper to remove this warning. See [2021-06-01T05:59:10.978Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-06-01T05:59:10.978Z] [2021-06-01T05:59:10.978Z] Login Succeeded [2021-06-01T05:59:10.978Z] nexus3.edgexfoundry.org:10002 [2021-06-01T05:59:10.978Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-06-01T05:59:10.978Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-06-01T05:59:10.978Z] Configure a credential helper to remove this warning. See [2021-06-01T05:59:10.978Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-06-01T05:59:10.978Z] [2021-06-01T05:59:10.978Z] Login Succeeded [2021-06-01T05:59:10.978Z] nexus3.edgexfoundry.org:10003 [2021-06-01T05:59:10.978Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-06-01T05:59:10.978Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-06-01T05:59:10.978Z] Configure a credential helper to remove this warning. See [2021-06-01T05:59:10.978Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-06-01T05:59:10.978Z] [2021-06-01T05:59:10.978Z] Login Succeeded [2021-06-01T05:59:10.978Z] nexus3.edgexfoundry.org:10004 [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-06-01T05:59:11.576Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-06-01T05:59:11.577Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-06-01T05:59:11.577Z] Configure a credential helper to remove this warning. See [2021-06-01T05:59:11.577Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-06-01T05:59:11.577Z] [2021-06-01T05:59:11.577Z] Login Succeeded [2021-06-01T05:59:11.577Z] docker.io [2021-06-01T05:59:11.859Z] + sudo jq '. + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false}' /etc/docker/daemon.json [Pipeline] sh [2021-06-01T05:59:12.175Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-06-01T05:59:12.208Z] + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh [2021-06-01T05:59:12.447Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-06-01T05:59:12.447Z] Configure a credential helper to remove this warning. See [2021-06-01T05:59:12.447Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-06-01T05:59:12.447Z] [2021-06-01T05:59:12.447Z] Login Succeeded [2021-06-01T05:59:12.447Z] ---> docker-login.sh ends [Pipeline] } [2021-06-01T05:59:12.486Z] Deleting 1 temporary files [Pipeline] // configFileProvider [2021-06-01T05:59:12.546Z] + sudo service docker restart [2021-06-01T05:59:12.546Z] + true [2021-06-01T05:59:12.546Z] Redirecting to /bin/systemctl restart docker.service [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2021-06-01T05:59:13.112Z] ========================================================= [2021-06-01T05:59:13.112Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine] [2021-06-01T05:59:13.112Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2021-06-01T05:59:15.530Z] + 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-06-01T05:59:16.130Z] Sending build context to Docker daemon 2.618MB [2021-06-01T05:59:16.130Z] Step 1/8 : ARG BASE=golang:1.16-alpine3.12 [2021-06-01T05:59:16.130Z] Step 2/8 : FROM ${BASE} [2021-06-01T05:59:16.130Z] 1.16-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2021-06-01T05:59:16.130Z] 595b0fe564bb: Pulling fs layer [2021-06-01T05:59:16.130Z] 7186ed65a4f7: Pulling fs layer [2021-06-01T05:59:16.130Z] 316046926c0a: Pulling fs layer [2021-06-01T05:59:16.130Z] 4ebd0625c992: Pulling fs layer [2021-06-01T05:59:16.130Z] 207e8628e3a3: Pulling fs layer [2021-06-01T05:59:16.130Z] c791037a9be2: Pulling fs layer [2021-06-01T05:59:16.130Z] ffd874e62e21: Pulling fs layer [2021-06-01T05:59:16.130Z] 4ebd0625c992: Waiting [2021-06-01T05:59:16.130Z] 207e8628e3a3: Waiting [2021-06-01T05:59:16.130Z] ffd874e62e21: Waiting [2021-06-01T05:59:16.407Z] 316046926c0a: Verifying Checksum [2021-06-01T05:59:16.407Z] 316046926c0a: Download complete [2021-06-01T05:59:16.407Z] 7186ed65a4f7: Download complete [2021-06-01T05:59:16.407Z] 207e8628e3a3: Download complete [2021-06-01T05:59:16.407Z] c791037a9be2: Verifying Checksum [2021-06-01T05:59:16.407Z] c791037a9be2: Download complete [2021-06-01T05:59:16.407Z] 595b0fe564bb: Verifying Checksum [2021-06-01T05:59:16.407Z] 595b0fe564bb: Download complete [2021-06-01T05:59:17.399Z] 595b0fe564bb: Pull complete [2021-06-01T05:59:17.676Z] 7186ed65a4f7: Pull complete [2021-06-01T05:59:18.277Z] 316046926c0a: Pull complete [2021-06-01T05:59:18.873Z] ffd874e62e21: Download complete [2021-06-01T05:59:20.855Z] 4ebd0625c992: Verifying Checksum [2021-06-01T05:59:20.855Z] 4ebd0625c992: Download complete [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-06-01T05:59:29.283Z] provisioning config files... [2021-06-01T05:59:29.300Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/1@tmp/config6485246346726629845tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-06-01T05:59:29.696Z] ---> docker-login.sh [2021-06-01T05:59:29.696Z] nexus3.edgexfoundry.org:10001 [2021-06-01T05:59:29.696Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-06-01T05:59:29.957Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-06-01T05:59:29.957Z] Configure a credential helper to remove this warning. See [2021-06-01T05:59:29.957Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-06-01T05:59:29.957Z] [2021-06-01T05:59:29.957Z] Login Succeeded [2021-06-01T05:59:29.957Z] nexus3.edgexfoundry.org:10002 [2021-06-01T05:59:29.957Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-06-01T05:59:29.957Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-06-01T05:59:29.957Z] Configure a credential helper to remove this warning. See [2021-06-01T05:59:29.957Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-06-01T05:59:29.957Z] [2021-06-01T05:59:29.957Z] Login Succeeded [2021-06-01T05:59:29.957Z] nexus3.edgexfoundry.org:10003 [2021-06-01T05:59:30.226Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-06-01T05:59:30.226Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-06-01T05:59:30.226Z] Configure a credential helper to remove this warning. See [2021-06-01T05:59:30.226Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-06-01T05:59:30.226Z] [2021-06-01T05:59:30.226Z] Login Succeeded [2021-06-01T05:59:30.226Z] nexus3.edgexfoundry.org:10004 [2021-06-01T05:59:30.226Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-06-01T05:59:30.496Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-06-01T05:59:30.496Z] Configure a credential helper to remove this warning. See [2021-06-01T05:59:30.496Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-06-01T05:59:30.496Z] [2021-06-01T05:59:30.496Z] Login Succeeded [2021-06-01T05:59:30.496Z] docker.io [2021-06-01T05:59:30.496Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-06-01T05:59:30.761Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-06-01T05:59:30.761Z] Configure a credential helper to remove this warning. See [2021-06-01T05:59:30.761Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-06-01T05:59:30.761Z] [2021-06-01T05:59:30.761Z] Login Succeeded [2021-06-01T05:59:30.761Z] ---> docker-login.sh ends [Pipeline] } [2021-06-01T05:59:30.787Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [2021-06-01T05:59:31.023Z] 4ebd0625c992: Pull complete [2021-06-01T05:59:31.024Z] 207e8628e3a3: Pull complete [Pipeline] echo [2021-06-01T05:59:31.093Z] ========================================================= [2021-06-01T05:59:31.094Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine] [2021-06-01T05:59:31.094Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2021-06-01T05:59:33.404Z] + 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-06-01T05:59:33.404Z] Sending build context to Docker daemon 2.62MB [2021-06-01T05:59:33.404Z] Step 1/8 : ARG BASE=golang:1.16-alpine3.12 [2021-06-01T05:59:33.404Z] Step 2/8 : FROM ${BASE} [2021-06-01T05:59:33.404Z] 1.16-alpine: Pulling from edgex-devops/edgex-golang-base [2021-06-01T05:59:33.404Z] 540db60ca938: Pulling fs layer [2021-06-01T05:59:33.404Z] adcc1eea9eea: Pulling fs layer [2021-06-01T05:59:33.404Z] 4c4ab2625f07: Pulling fs layer [2021-06-01T05:59:33.404Z] 0510c868ecb4: Pulling fs layer [2021-06-01T05:59:33.404Z] afea3b2eda06: Pulling fs layer [2021-06-01T05:59:33.404Z] 7809a108b3ef: Pulling fs layer [2021-06-01T05:59:33.404Z] f706445af74f: Pulling fs layer [2021-06-01T05:59:33.404Z] 0510c868ecb4: Waiting [2021-06-01T05:59:33.404Z] f706445af74f: Waiting [2021-06-01T05:59:33.404Z] afea3b2eda06: Waiting [2021-06-01T05:59:33.404Z] 7809a108b3ef: Waiting [2021-06-01T05:59:33.404Z] 4c4ab2625f07: Verifying Checksum [2021-06-01T05:59:33.404Z] 4c4ab2625f07: Download complete [2021-06-01T05:59:33.404Z] adcc1eea9eea: Verifying Checksum [2021-06-01T05:59:33.404Z] adcc1eea9eea: Download complete [2021-06-01T05:59:33.404Z] afea3b2eda06: Verifying Checksum [2021-06-01T05:59:33.404Z] afea3b2eda06: Download complete [2021-06-01T05:59:33.404Z] 540db60ca938: Verifying Checksum [2021-06-01T05:59:33.404Z] 540db60ca938: Download complete [2021-06-01T05:59:33.404Z] 7809a108b3ef: Verifying Checksum [2021-06-01T05:59:33.404Z] 7809a108b3ef: Download complete [2021-06-01T05:59:33.404Z] 540db60ca938: Pull complete [2021-06-01T05:59:33.404Z] adcc1eea9eea: Pull complete [2021-06-01T05:59:33.404Z] 4c4ab2625f07: Pull complete [2021-06-01T05:59:33.404Z] f706445af74f: Verifying Checksum [2021-06-01T05:59:33.404Z] f706445af74f: Download complete [2021-06-01T05:59:33.412Z] c791037a9be2: Pull complete [2021-06-01T05:59:33.668Z] 0510c868ecb4: Verifying Checksum [2021-06-01T05:59:33.668Z] 0510c868ecb4: Download complete [2021-06-01T05:59:35.414Z] ffd874e62e21: Pull complete [2021-06-01T05:59:35.414Z] Digest: sha256:fad7b58e697bd06bcf362d803a3263ca5ec03b905aa8665231fe3262941fe3e0 [2021-06-01T05:59:35.414Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine [2021-06-01T05:59:35.414Z] ---> cfc18b08335c [2021-06-01T05:59:35.414Z] Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-06-01T05:59:37.393Z] ---> Running in 3db9f6b3fb9c [2021-06-01T05:59:37.667Z] Removing intermediate container 3db9f6b3fb9c [2021-06-01T05:59:37.667Z] ---> a773a2c11d44 [2021-06-01T05:59:37.667Z] Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-06-01T05:59:37.923Z] 0510c868ecb4: Pull complete [2021-06-01T05:59:37.923Z] afea3b2eda06: Pull complete [2021-06-01T05:59:37.923Z] 7809a108b3ef: Pull complete [2021-06-01T05:59:37.940Z] ---> Running in 6a7b47537fbd [2021-06-01T05:59:39.356Z] f706445af74f: Pull complete [2021-06-01T05:59:39.356Z] Digest: sha256:3789524f83b4b99ff44900c39f6da7fc44f99660cd9adf292610dec398b137f4 [2021-06-01T05:59:39.356Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine [2021-06-01T05:59:39.356Z] ---> b068be0155e3 [2021-06-01T05:59:39.356Z] Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-06-01T05:59:39.927Z] Removing intermediate container 6a7b47537fbd [2021-06-01T05:59:39.927Z] ---> 887f2012e49e [2021-06-01T05:59:39.927Z] Step 5/8 : RUN apk add --update --no-cache make git gcc libc-dev libsodium-dev zeromq-dev [2021-06-01T05:59:40.201Z] ---> Running in c52fe6385ad5 [2021-06-01T05:59:41.194Z] fetch https://nl.alpinelinux.org/alpine/v3.13/main/aarch64/APKINDEX.tar.gz [2021-06-01T05:59:42.623Z] fetch https://nl.alpinelinux.org/alpine/v3.13/community/aarch64/APKINDEX.tar.gz [2021-06-01T05:59:43.593Z] ---> Running in 052d6488b894 [2021-06-01T05:59:43.593Z] Removing intermediate container 052d6488b894 [2021-06-01T05:59:43.593Z] ---> 1785c2c35117 [2021-06-01T05:59:43.593Z] Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-06-01T05:59:43.593Z] ---> Running in 4b1b8bd300bb [2021-06-01T05:59:43.593Z] (1/6) Installing libc-dev (0.7.2-r3) [2021-06-01T05:59:43.593Z] (2/6) Installing libsodium (1.0.18-r0) [2021-06-01T05:59:43.863Z] (3/6) Installing pkgconf (1.7.3-r0) [2021-06-01T05:59:43.863Z] (4/6) Installing libsodium-dev (1.0.18-r0) [2021-06-01T05:59:43.863Z] (5/6) Installing libzmq (4.3.3-r1) [2021-06-01T05:59:44.136Z] (6/6) Installing zeromq-dev (4.3.3-r1) [2021-06-01T05:59:44.136Z] Executing busybox-1.32.1-r6.trigger [2021-06-01T05:59:44.136Z] OK: 139 MiB in 46 packages [2021-06-01T05:59:44.168Z] Removing intermediate container 4b1b8bd300bb [2021-06-01T05:59:44.168Z] ---> c70aa8f9524e [2021-06-01T05:59:44.168Z] Step 5/8 : RUN apk add --update --no-cache make git gcc libc-dev libsodium-dev zeromq-dev [2021-06-01T05:59:44.168Z] ---> Running in db51a7b513fd [2021-06-01T05:59:44.430Z] fetch https://nl.alpinelinux.org/alpine/v3.13/main/x86_64/APKINDEX.tar.gz [2021-06-01T05:59:45.379Z] fetch https://nl.alpinelinux.org/alpine/v3.13/community/x86_64/APKINDEX.tar.gz [2021-06-01T05:59:45.574Z] Removing intermediate container c52fe6385ad5 [2021-06-01T05:59:45.574Z] ---> 8a35b0f0234e [2021-06-01T05:59:45.574Z] Step 6/8 : WORKDIR /device-sdk-go [2021-06-01T05:59:45.574Z] ---> Running in 9b51dba6415d [2021-06-01T05:59:45.950Z] (1/6) Installing libc-dev (0.7.2-r3) [2021-06-01T05:59:46.170Z] Removing intermediate container 9b51dba6415d [2021-06-01T05:59:46.170Z] ---> 39ac6d680b0e [2021-06-01T05:59:46.170Z] Step 7/8 : COPY . . [2021-06-01T05:59:46.214Z] (2/6) Installing libsodium (1.0.18-r0) [2021-06-01T05:59:46.214Z] (3/6) Installing pkgconf (1.7.3-r0) [2021-06-01T05:59:46.475Z] (4/6) Installing libsodium-dev (1.0.18-r0) [2021-06-01T05:59:46.475Z] (5/6) Installing libzmq (4.3.3-r1) [2021-06-01T05:59:46.475Z] (6/6) Installing zeromq-dev (4.3.3-r1) [2021-06-01T05:59:46.742Z] Executing busybox-1.32.1-r6.trigger [2021-06-01T05:59:46.742Z] OK: 150 MiB in 46 packages [2021-06-01T05:59:47.007Z] Removing intermediate container db51a7b513fd [2021-06-01T05:59:47.007Z] ---> 2e11dc90d9cc [2021-06-01T05:59:47.007Z] Step 6/8 : WORKDIR /device-sdk-go [2021-06-01T05:59:47.007Z] ---> Running in f240ce160035 [2021-06-01T05:59:47.276Z] Removing intermediate container f240ce160035 [2021-06-01T05:59:47.276Z] ---> a863e611063e [2021-06-01T05:59:47.276Z] Step 7/8 : COPY . . [2021-06-01T05:59:47.539Z] ---> de933c9c2eb8 [2021-06-01T05:59:47.539Z] Step 8/8 : RUN go mod download [2021-06-01T05:59:47.539Z] ---> Running in e5ad79222505 [2021-06-01T05:59:47.604Z] ---> 3961cecf7e04 [2021-06-01T05:59:47.604Z] Step 8/8 : RUN go mod download [2021-06-01T05:59:47.604Z] ---> Running in d8c7e549f158 [2021-06-01T06:00:02.544Z] Removing intermediate container e5ad79222505 [2021-06-01T06:00:02.544Z] ---> f86f3b169519 [2021-06-01T06:00:02.544Z] Successfully built f86f3b169519 [2021-06-01T06:00:02.544Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh [2021-06-01T06:00:02.906Z] + docker inspect -f . ci-base-image-x86_64 [2021-06-01T06:00:02.906Z] . [Pipeline] withDockerContainer [2021-06-01T06:00:03.018Z] prd-centos7-docker-4c-2g-1775 does not seem to be running inside a container [2021-06-01T06:00:03.061Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/1 -v /w/workspace/device-sdk-go/1:/w/workspace/device-sdk-go/1:rw,z -v /w/workspace/device-sdk-go/1@tmp:/w/workspace/device-sdk-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2021-06-01T06:00:03.495Z] $ docker top 0917265a3324186659243f2ac3ae560f0d9c0fb55ff99bd692c6c501fc4113c8 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-06-01T06:00:06.239Z] + go version [2021-06-01T06:00:06.239Z] go version go1.16.3 linux/amd64 [Pipeline] } [2021-06-01T06:00:06.272Z] $ docker stop --time=1 0917265a3324186659243f2ac3ae560f0d9c0fb55ff99bd692c6c501fc4113c8 [2021-06-01T06:00:07.478Z] $ docker rm -f 0917265a3324186659243f2ac3ae560f0d9c0fb55ff99bd692c6c501fc4113c8 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-06-01T06:00:08.255Z] + docker inspect -f . ci-base-image-x86_64 [2021-06-01T06:00:08.255Z] . [Pipeline] withDockerContainer [2021-06-01T06:00:08.366Z] prd-centos7-docker-4c-2g-1775 does not seem to be running inside a container [2021-06-01T06:00:08.410Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/1 -v /w/workspace/device-sdk-go/1:/w/workspace/device-sdk-go/1:rw,z -v /w/workspace/device-sdk-go/1@tmp:/w/workspace/device-sdk-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2021-06-01T06:00:08.834Z] $ docker top 8c8005ae85fcd89018fd0f60923362ce495c44f549be75a00f69ac7c3ab43727 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-06-01T06:00:09.528Z] + go mod tidy [Pipeline] sh [2021-06-01T06:00:12.263Z] + make test [2021-06-01T06:00:12.263Z] go mod tidy [2021-06-01T06:00:12.525Z] GO111MODULE=on go test -race -coverprofile=coverage.out ./... [2021-06-01T06:00:16.299Z] Removing intermediate container d8c7e549f158 [2021-06-01T06:00:16.299Z] ---> 89a9d241fc79 [2021-06-01T06:00:16.299Z] Successfully built 89a9d241fc79 [2021-06-01T06:00:16.299Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh [2021-06-01T06:00:16.675Z] + docker inspect -f . ci-base-image-arm64 [2021-06-01T06:00:16.675Z] . [Pipeline] withDockerContainer [2021-06-01T06:00:16.914Z] prd-ubuntu18.04-docker-arm64-4c-16g-1774 does not seem to be running inside a container [2021-06-01T06:00:16.989Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/1 -v /w/workspace/device-sdk-go/1:/w/workspace/device-sdk-go/1:rw,z -v /w/workspace/device-sdk-go/1@tmp:/w/workspace/device-sdk-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2021-06-01T06:00:18.559Z] $ docker top e7006d6969028a8b8a94ab3314cd9cb0153481efaa97f1254c86b85a1ef6c9a9 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-06-01T06:00:19.148Z] ? github.com/edgexfoundry/device-sdk-go/v2 [no test files] [2021-06-01T06:00:19.554Z] + go version [2021-06-01T06:00:19.554Z] go version go1.16.3 linux/arm64 [Pipeline] } [2021-06-01T06:00:19.602Z] $ docker stop --time=1 e7006d6969028a8b8a94ab3314cd9cb0153481efaa97f1254c86b85a1ef6c9a9 [2021-06-01T06:00:21.494Z] $ docker rm -f e7006d6969028a8b8a94ab3314cd9cb0153481efaa97f1254c86b85a1ef6c9a9 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-06-01T06:00:24.424Z] + docker inspect -f . ci-base-image-arm64 [2021-06-01T06:00:24.424Z] . [Pipeline] withDockerContainer [2021-06-01T06:00:24.709Z] prd-ubuntu18.04-docker-arm64-4c-16g-1774 does not seem to be running inside a container [2021-06-01T06:00:24.789Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/1 -v /w/workspace/device-sdk-go/1:/w/workspace/device-sdk-go/1:rw,z -v /w/workspace/device-sdk-go/1@tmp:/w/workspace/device-sdk-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2021-06-01T06:00:26.415Z] $ docker top c7fb03cadf0ec495ae67f28109160e809995d3acaba8166e6cd7db2cd7da132a -eo pid,comm [Pipeline] { [Pipeline] sh [2021-06-01T06:00:27.455Z] + go mod tidy [Pipeline] sh [2021-06-01T06:00:28.736Z] + make test [2021-06-01T06:00:28.736Z] go mod tidy [2021-06-01T06:00:29.335Z] GO111MODULE=on go test -race -coverprofile=coverage.out ./... [2021-06-01T06:00:42.461Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/cmd/device-simple [no test files] [2021-06-01T06:00:42.461Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/config [no test files] [2021-06-01T06:00:42.461Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/driver [no test files] [2021-06-01T06:00:45.845Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/application 0.057s coverage: 25.4% of statements [2021-06-01T06:00:45.845Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/autodiscovery [no test files] [2021-06-01T06:00:45.845Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/autoevent 0.057s coverage: 28.1% of statements [2021-06-01T06:00:46.118Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/cache 0.049s coverage: 78.9% of statements [2021-06-01T06:00:46.118Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/clients 0.044s coverage: 9.0% of statements [2021-06-01T06:00:46.118Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/common [no test files] [2021-06-01T06:00:46.118Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/config [no test files] [2021-06-01T06:00:46.118Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/container [no test files] [2021-06-01T06:00:47.099Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http 0.065s coverage: 30.2% of statements [2021-06-01T06:00:47.099Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http/correlation [no test files] [2021-06-01T06:00:49.469Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/messaging 1.054s coverage: 83.3% of statements [2021-06-01T06:00:49.469Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/provision [no test files] [2021-06-01T06:00:49.469Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/telemetry [no test files] [2021-06-01T06:00:49.469Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/transformer 0.079s coverage: 58.0% of statements [2021-06-01T06:00:49.733Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/models 0.816s coverage: 89.2% of statements [2021-06-01T06:00:49.733Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/models/mocks [no test files] [2021-06-01T06:00:49.733Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/service 0.050s coverage: 5.0% of statements [2021-06-01T06:00:49.733Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/startup [no test files] [2021-06-01T06:00:50.019Z] GO111MODULE=on go vet ./... [2021-06-01T06:00:53.346Z] ? github.com/edgexfoundry/device-sdk-go/v2 [no test files] [2021-06-01T06:01:12.824Z] gofmt -l . [2021-06-01T06:01:12.824Z] [ "`gofmt -l .`" = "" ] [2021-06-01T06:01:12.824Z] ./bin/test-attribution-txt.sh [2021-06-01T06:01:12.824Z] ./bin/test-go-mod-tidy.sh [Pipeline] } [2021-06-01T06:01:12.863Z] $ docker stop --time=1 8c8005ae85fcd89018fd0f60923362ce495c44f549be75a00f69ac7c3ab43727 [2021-06-01T06:01:16.270Z] $ docker rm -f 8c8005ae85fcd89018fd0f60923362ce495c44f549be75a00f69ac7c3ab43727 [Pipeline] // withDockerContainer [Pipeline] sh [2021-06-01T06:01:16.906Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2021-06-01T06:01:17.197Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2021-06-01T06:01:38.851Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2021-06-01T06:01:39.182Z] + ls -al . [2021-06-01T06:01:39.183Z] total 212 [2021-06-01T06:01:39.183Z] drwxrwxr-x. 10 jenkins jenkins 4096 Jun 1 06:01 . [2021-06-01T06:01:39.183Z] drwxrwxr-x. 4 jenkins jenkins 28 Jun 1 05:59 .. [2021-06-01T06:01:39.183Z] drwxrwxr-x. 2 jenkins jenkins 64 Jun 1 05:59 bin [2021-06-01T06:01:39.183Z] -rw-r--r--. 1 jenkins jenkins 126444 Jun 1 06:00 coverage.out [2021-06-01T06:01:39.183Z] -rw-rw-r--. 1 jenkins jenkins 987 Jun 1 05:59 Dockerfile.build [2021-06-01T06:01:39.183Z] -rw-rw-r--. 1 jenkins jenkins 140 Jun 1 05:59 .dockerignore [2021-06-01T06:01:39.183Z] drwxrwxr-x. 5 jenkins jenkins 62 Jun 1 05:59 example [2021-06-01T06:01:39.183Z] drwxrwxr-x. 8 jenkins jenkins 179 Jun 1 05:59 .git [2021-06-01T06:01:39.183Z] drwxrwxr-x. 2 jenkins jenkins 103 Jun 1 05:59 .github [2021-06-01T06:01:39.183Z] -rw-rw-r--. 1 jenkins jenkins 138 Jun 1 05:59 .gitignore [2021-06-01T06:01:39.183Z] -rw-r--r--. 1 jenkins jenkins 575 Jun 1 06:01 go.mod [2021-06-01T06:01:39.183Z] -rw-r--r--. 1 jenkins jenkins 20803 Jun 1 06:00 go.sum [2021-06-01T06:01:39.183Z] drwxrwxr-x. 15 jenkins jenkins 224 Jun 1 05:59 internal [2021-06-01T06:01:39.183Z] -rw-rw-r--. 1 jenkins jenkins 894 Jun 1 05:59 Jenkinsfile [2021-06-01T06:01:39.183Z] -rw-rw-r--. 1 jenkins jenkins 11341 Jun 1 05:59 LICENSE [2021-06-01T06:01:39.183Z] -rw-rw-r--. 1 jenkins jenkins 1026 Jun 1 05:59 Makefile [2021-06-01T06:01:39.183Z] drwxrwxr-x. 4 jenkins jenkins 26 Jun 1 05:59 openapi [2021-06-01T06:01:39.183Z] drwxrwxr-x. 5 jenkins jenkins 50 Jun 1 05:59 pkg [2021-06-01T06:01:39.183Z] -rw-rw-r--. 1 jenkins jenkins 7652 Jun 1 05:59 README.md [2021-06-01T06:01:39.183Z] -rw-rw-r--. 1 jenkins jenkins 6616 Jun 1 05:59 RELEASE-NOTES.txt [2021-06-01T06:01:39.183Z] drwxrwxr-x. 4 jenkins jenkins 54 Jun 1 05:59 snap [2021-06-01T06:01:39.183Z] -rw-rw-r--. 1 jenkins jenkins 5 Jun 1 05:55 VERSION [2021-06-01T06:01:39.183Z] -rw-rw-r--. 1 jenkins jenkins 222 Jun 1 05:59 version.go [Pipeline] isUnix [Pipeline] sh [2021-06-01T06:01:39.549Z] + 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=ef863db579e6d4e0579033a4c76015e68da9ea6b --label arch=amd64 --label version=0.0.0 . [2021-06-01T06:01:39.549Z] Sending build context to Docker daemon 2.747MB [2021-06-01T06:01:39.549Z] Step 1/23 : ARG BASE=golang:1.16-alpine3.12 [2021-06-01T06:01:39.549Z] Step 2/23 : FROM ${BASE} AS builder [2021-06-01T06:01:39.549Z] ---> f86f3b169519 [2021-06-01T06:01:39.549Z] Step 3/23 : WORKDIR /device-sdk-go [2021-06-01T06:01:39.549Z] ---> Running in 0f9c1fa0af98 [2021-06-01T06:01:39.810Z] Removing intermediate container 0f9c1fa0af98 [2021-06-01T06:01:39.810Z] ---> e9558b9bb6cf [2021-06-01T06:01:39.810Z] Step 4/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-06-01T06:01:39.810Z] ---> Running in 5a26d0ed9dda [2021-06-01T06:01:39.810Z] Removing intermediate container 5a26d0ed9dda [2021-06-01T06:01:39.810Z] ---> e2979228ccec [2021-06-01T06:01:39.810Z] Step 5/23 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-06-01T06:01:39.810Z] ---> Running in 9a557aa2435b [2021-06-01T06:01:40.393Z] Removing intermediate container 9a557aa2435b [2021-06-01T06:01:40.393Z] ---> efce5d40175b [2021-06-01T06:01:40.393Z] Step 6/23 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev [2021-06-01T06:01:40.393Z] ---> Running in b2e9d9edd117 [2021-06-01T06:01:40.658Z] fetch https://nl.alpinelinux.org/alpine/v3.13/main/x86_64/APKINDEX.tar.gz [2021-06-01T06:01:41.606Z] fetch https://nl.alpinelinux.org/alpine/v3.13/community/x86_64/APKINDEX.tar.gz [2021-06-01T06:01:42.554Z] OK: 150 MiB in 46 packages [2021-06-01T06:01:42.554Z] Removing intermediate container b2e9d9edd117 [2021-06-01T06:01:42.554Z] ---> 895ae1cc4699 [2021-06-01T06:01:42.554Z] Step 7/23 : COPY . . [2021-06-01T06:01:43.129Z] ---> 22d36b35e32f [2021-06-01T06:01:43.129Z] Step 8/23 : RUN go mod download [2021-06-01T06:01:43.129Z] ---> Running in 67e68b2a70af [2021-06-01T06:01:43.710Z] Removing intermediate container 67e68b2a70af [2021-06-01T06:01:43.710Z] ---> 7f19a6d232cb [2021-06-01T06:01:43.710Z] Step 9/23 : RUN make build [2021-06-01T06:01:43.710Z] ---> Running in 82821a69b9b7 [2021-06-01T06:01:43.710Z] go mod tidy [2021-06-01T06:01:43.982Z] 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-06-01T06:01:53.925Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/cmd/device-simple [no test files] [2021-06-01T06:01:53.925Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/config [no test files] [2021-06-01T06:01:53.925Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/driver [no test files] [2021-06-01T06:01:55.794Z] CGO_ENABLED=1 GO111MODULE=on go install -tags=safe [2021-06-01T06:01:56.745Z] Removing intermediate container 82821a69b9b7 [2021-06-01T06:01:56.745Z] ---> b22dab033612 [2021-06-01T06:01:56.745Z] Step 10/23 : FROM alpine:3.12 [2021-06-01T06:01:57.321Z] 3.12: Pulling from library/alpine [2021-06-01T06:01:57.321Z] 339de151aab4: Pulling fs layer [2021-06-01T06:01:57.589Z] 339de151aab4: Verifying Checksum [2021-06-01T06:01:57.589Z] 339de151aab4: Download complete [2021-06-01T06:01:57.851Z] 339de151aab4: Pull complete [2021-06-01T06:01:57.851Z] Digest: sha256:36553b10a4947067b9fbb7d532951066293a68eae893beba1d9235f7d11a20ad [2021-06-01T06:01:57.851Z] Status: Downloaded newer image for alpine:3.12 [2021-06-01T06:01:57.851Z] ---> 13621d1b12d4 [2021-06-01T06:01:57.851Z] Step 11/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-06-01T06:01:57.851Z] ---> Running in 39b4f756cf86 [2021-06-01T06:01:57.851Z] Removing intermediate container 39b4f756cf86 [2021-06-01T06:01:57.851Z] ---> 4f54c51c4de1 [2021-06-01T06:01:57.851Z] Step 12/23 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-06-01T06:01:58.114Z] ---> Running in 7fcce34408bb [2021-06-01T06:02:00.378Z] Removing intermediate container 7fcce34408bb [2021-06-01T06:02:00.378Z] ---> 06eff1354396 [2021-06-01T06:02:00.378Z] Step 13/23 : RUN apk add --update --no-cache zeromq [2021-06-01T06:02:00.378Z] ---> Running in d33d57fb6271 [2021-06-01T06:02:00.378Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz [2021-06-01T06:02:00.378Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz [2021-06-01T06:02:00.378Z] (1/5) Installing libgcc (9.3.0-r2) [2021-06-01T06:02:00.378Z] (2/5) Installing libsodium (1.0.18-r0) [2021-06-01T06:02:00.378Z] (3/5) Installing libstdc++ (9.3.0-r2) [2021-06-01T06:02:00.955Z] (4/5) Installing libzmq (4.3.3-r0) [2021-06-01T06:02:00.955Z] (5/5) Installing zeromq (4.3.3-r0) [2021-06-01T06:02:01.225Z] Executing busybox-1.31.1-r20.trigger [2021-06-01T06:02:01.225Z] OK: 8 MiB in 19 packages [2021-06-01T06:02:01.489Z] Removing intermediate container d33d57fb6271 [2021-06-01T06:02:01.489Z] ---> d96a68e67f69 [2021-06-01T06:02:01.489Z] Step 14/23 : WORKDIR / [2021-06-01T06:02:01.489Z] ---> Running in 5c3336e05013 [2021-06-01T06:02:01.489Z] Removing intermediate container 5c3336e05013 [2021-06-01T06:02:01.489Z] ---> 459435557140 [2021-06-01T06:02:01.489Z] Step 15/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt [2021-06-01T06:02:01.753Z] ---> fcb8dbb42892 [2021-06-01T06:02:01.753Z] Step 16/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple [2021-06-01T06:02:02.017Z] ---> cdc63ec222cb [2021-06-01T06:02:02.017Z] Step 17/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res [2021-06-01T06:02:02.282Z] ---> 49e24fe6a9db [2021-06-01T06:02:02.282Z] Step 18/23 : EXPOSE 59999 [2021-06-01T06:02:02.282Z] ---> Running in d93508d47d23 [2021-06-01T06:02:02.543Z] Removing intermediate container d93508d47d23 [2021-06-01T06:02:02.543Z] ---> 502343f874cd [2021-06-01T06:02:02.543Z] Step 19/23 : ENTRYPOINT ["/device-simple"] [2021-06-01T06:02:02.543Z] ---> Running in 9315dc202672 [2021-06-01T06:02:02.543Z] Removing intermediate container 9315dc202672 [2021-06-01T06:02:02.543Z] ---> 9d0e45d8656a [2021-06-01T06:02:02.543Z] Step 20/23 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2021-06-01T06:02:02.543Z] ---> Running in c27605a19ea1 [2021-06-01T06:02:02.807Z] Removing intermediate container c27605a19ea1 [2021-06-01T06:02:02.807Z] ---> 2a079afabcbf [2021-06-01T06:02:02.807Z] Step 21/23 : LABEL arch=amd64 [2021-06-01T06:02:02.807Z] ---> Running in 554bae2dca52 [2021-06-01T06:02:02.807Z] Removing intermediate container 554bae2dca52 [2021-06-01T06:02:02.807Z] ---> c241078064e2 [2021-06-01T06:02:02.807Z] Step 22/23 : LABEL git_sha=ef863db579e6d4e0579033a4c76015e68da9ea6b [2021-06-01T06:02:02.807Z] ---> Running in b99040b12178 [2021-06-01T06:02:02.807Z] Removing intermediate container b99040b12178 [2021-06-01T06:02:02.807Z] ---> e648b1e76fa1 [2021-06-01T06:02:02.807Z] Step 23/23 : LABEL version=0.0.0 [2021-06-01T06:02:05.000Z] ---> Running in 0d3f2bfdee94 [2021-06-01T06:02:05.000Z] Removing intermediate container 0d3f2bfdee94 [2021-06-01T06:02:05.000Z] ---> ce927e5eec82 [2021-06-01T06:02:05.000Z] [Warning] One or more build-args [ARCH MAKE] were not consumed [2021-06-01T06:02:05.000Z] Successfully built ce927e5eec82 [2021-06-01T06:02:05.000Z] 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 [2021-06-01T06:02:07.692Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/application 0.257s coverage: 25.4% of statements [2021-06-01T06:02:07.692Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/autodiscovery [no test files] [2021-06-01T06:02:07.692Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/autoevent 0.216s coverage: 28.1% of statements [2021-06-01T06:02:07.692Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/cache 0.279s coverage: 78.9% of statements [2021-06-01T06:02:07.692Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/clients 0.206s coverage: 9.0% of statements [2021-06-01T06:02:07.692Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/common [no test files] [2021-06-01T06:02:07.692Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/config [no test files] [2021-06-01T06:02:07.692Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/container [no test files] [2021-06-01T06:02:07.692Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http 0.280s coverage: 30.2% of statements [2021-06-01T06:02:07.692Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http/correlation [no test files] [Pipeline] libraryResource [Pipeline] sh [2021-06-01T06:02:08.115Z] ---> job-cost.sh [2021-06-01T06:02:08.115Z] lf-activate-venv(): INFO: Creating python3 venv at /tmp/venv-n0yh [2021-06-01T06:02:08.679Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/messaging 1.188s coverage: 83.3% of statements [2021-06-01T06:02:08.679Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/provision [no test files] [2021-06-01T06:02:08.679Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/telemetry [no test files] [2021-06-01T06:02:10.782Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/transformer 0.409s coverage: 58.0% of statements [2021-06-01T06:02:12.769Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/models 3.104s coverage: 89.2% of statements [2021-06-01T06:02:12.769Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/models/mocks [no test files] [2021-06-01T06:02:12.769Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/service 0.186s coverage: 5.0% of statements [2021-06-01T06:02:12.769Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/startup [no test files] [2021-06-01T06:02:12.769Z] GO111MODULE=on go vet ./... [2021-06-01T06:02:16.404Z] lf-activate-venv(): INFO: Installing: zipp==1.1.0 python-openstackclient [2021-06-01T06:02:30.010Z] lf-activate-venv(): INFO: Adding /tmp/venv-n0yh/bin to PATH [2021-06-01T06:02:30.011Z] INFO: No Stack... [2021-06-01T06:02:30.958Z] INFO: Retrieving Pricing Info for: v3-standard-2 [2021-06-01T06:02:31.220Z] INFO: Archiving Costs [Pipeline] sh [2021-06-01T06:02:31.545Z] + cat /w/workspace/device-sdk-go/1/archives/cost.csv [2021-06-01T06:02:31.545Z] + cut -d, -f6 [Pipeline] lock [2021-06-01T06:02:31.598Z] Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-PR-952-1-stack-cost] [2021-06-01T06:02:31.603Z] Resource [jenkins-edgexfoundry-device-sdk-go-PR-952-1-stack-cost] did not exist. Created. [2021-06-01T06:02:31.603Z] Lock acquired on [jenkins-edgexfoundry-device-sdk-go-PR-952-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2021-06-01T06:02:32.077Z] + echo total: 0.05999999865889549 [Pipeline] stash [2021-06-01T06:02:32.219Z] Stashed 1 file(s) [Pipeline] } [2021-06-01T06:02:32.243Z] Lock released on resource [jenkins-edgexfoundry-device-sdk-go-PR-952-1-stack-cost] [Pipeline] // lock [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [2021-06-01T06:03:13.694Z] gofmt -l . [2021-06-01T06:03:13.694Z] [ "`gofmt -l .`" = "" ] [2021-06-01T06:03:13.694Z] ./bin/test-attribution-txt.sh [2021-06-01T06:03:13.694Z] ./bin/test-go-mod-tidy.sh [Pipeline] } [2021-06-01T06:03:13.730Z] $ docker stop --time=1 c7fb03cadf0ec495ae67f28109160e809995d3acaba8166e6cd7db2cd7da132a [2021-06-01T06:03:16.428Z] $ docker rm -f c7fb03cadf0ec495ae67f28109160e809995d3acaba8166e6cd7db2cd7da132a [Pipeline] // withDockerContainer [Pipeline] sh [2021-06-01T06:03:17.652Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2021-06-01T06:03:17.695Z] Warning: overwriting stash ‘coverage-report’ [2021-06-01T06:03:18.281Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-06-01T06:03:18.918Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2021-06-01T06:03:21.347Z] + ls -al . [2021-06-01T06:03:21.347Z] total 248 [2021-06-01T06:03:21.347Z] drwxrwxr-x 10 jenkins jenkins 4096 Jun 1 06:03 . [2021-06-01T06:03:21.347Z] drwxrwxr-x 4 jenkins jenkins 4096 Jun 1 05:58 .. [2021-06-01T06:03:21.347Z] -rw-rw-r-- 1 jenkins jenkins 140 Jun 1 05:58 .dockerignore [2021-06-01T06:03:21.347Z] drwxrwxr-x 8 jenkins jenkins 4096 Jun 1 05:58 .git [2021-06-01T06:03:21.347Z] drwxrwxr-x 2 jenkins jenkins 4096 Jun 1 05:58 .github [2021-06-01T06:03:21.347Z] -rw-rw-r-- 1 jenkins jenkins 138 Jun 1 05:58 .gitignore [2021-06-01T06:03:21.347Z] -rw-rw-r-- 1 jenkins jenkins 987 Jun 1 05:58 Dockerfile.build [2021-06-01T06:03:21.347Z] -rw-rw-r-- 1 jenkins jenkins 894 Jun 1 05:58 Jenkinsfile [2021-06-01T06:03:21.347Z] -rw-rw-r-- 1 jenkins jenkins 11341 Jun 1 05:58 LICENSE [2021-06-01T06:03:21.347Z] -rw-rw-r-- 1 jenkins jenkins 1026 Jun 1 05:58 Makefile [2021-06-01T06:03:21.347Z] -rw-rw-r-- 1 jenkins jenkins 7652 Jun 1 05:58 README.md [2021-06-01T06:03:21.347Z] -rw-rw-r-- 1 jenkins jenkins 6616 Jun 1 05:58 RELEASE-NOTES.txt [2021-06-01T06:03:21.347Z] -rw-rw-r-- 1 jenkins jenkins 5 Jun 1 05:55 VERSION [2021-06-01T06:03:21.347Z] drwxrwxr-x 2 jenkins jenkins 4096 Jun 1 05:58 bin [2021-06-01T06:03:21.347Z] -rw-r--r-- 1 jenkins jenkins 126444 Jun 1 06:02 coverage.out [2021-06-01T06:03:21.347Z] drwxrwxr-x 5 jenkins jenkins 4096 Jun 1 05:58 example [2021-06-01T06:03:21.347Z] -rw-r--r-- 1 jenkins jenkins 575 Jun 1 06:03 go.mod [2021-06-01T06:03:21.347Z] -rw-r--r-- 1 jenkins jenkins 20803 Jun 1 06:00 go.sum [2021-06-01T06:03:21.347Z] drwxrwxr-x 15 jenkins jenkins 4096 Jun 1 05:58 internal [2021-06-01T06:03:21.347Z] drwxrwxr-x 4 jenkins jenkins 4096 Jun 1 05:58 openapi [2021-06-01T06:03:21.347Z] drwxrwxr-x 5 jenkins jenkins 4096 Jun 1 05:58 pkg [2021-06-01T06:03:21.347Z] drwxrwxr-x 4 jenkins jenkins 4096 Jun 1 05:58 snap [2021-06-01T06:03:21.347Z] -rw-rw-r-- 1 jenkins jenkins 222 Jun 1 05:58 version.go [Pipeline] isUnix [Pipeline] sh [2021-06-01T06:03:21.723Z] + 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=ef863db579e6d4e0579033a4c76015e68da9ea6b --label arch=arm64 --label version=0.0.0 . [2021-06-01T06:03:22.318Z] Sending build context to Docker daemon 2.745MB [2021-06-01T06:03:22.318Z] Step 1/23 : ARG BASE=golang:1.16-alpine3.12 [2021-06-01T06:03:22.318Z] Step 2/23 : FROM ${BASE} AS builder [2021-06-01T06:03:22.318Z] ---> 89a9d241fc79 [2021-06-01T06:03:22.318Z] Step 3/23 : WORKDIR /device-sdk-go [2021-06-01T06:03:22.921Z] ---> Running in f0139bed675c [2021-06-01T06:03:23.519Z] Removing intermediate container f0139bed675c [2021-06-01T06:03:23.519Z] ---> f97b04792502 [2021-06-01T06:03:23.519Z] Step 4/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-06-01T06:03:23.795Z] ---> Running in d747b435a6e6 [2021-06-01T06:03:24.390Z] Removing intermediate container d747b435a6e6 [2021-06-01T06:03:24.391Z] ---> 0218dfae53ca [2021-06-01T06:03:24.391Z] Step 5/23 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-06-01T06:03:24.666Z] ---> Running in c488b9459115 [2021-06-01T06:03:28.044Z] Removing intermediate container c488b9459115 [2021-06-01T06:03:28.044Z] ---> a2a00b297209 [2021-06-01T06:03:28.044Z] Step 6/23 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev [2021-06-01T06:03:28.314Z] ---> Running in 9a99ee19a8cb [2021-06-01T06:03:29.759Z] fetch https://nl.alpinelinux.org/alpine/v3.13/main/aarch64/APKINDEX.tar.gz [2021-06-01T06:03:30.366Z] fetch https://nl.alpinelinux.org/alpine/v3.13/community/aarch64/APKINDEX.tar.gz [2021-06-01T06:03:31.343Z] OK: 139 MiB in 46 packages [2021-06-01T06:03:34.549Z] Removing intermediate container 9a99ee19a8cb [2021-06-01T06:03:34.549Z] ---> 633a22673808 [2021-06-01T06:03:34.549Z] Step 7/23 : COPY . . [2021-06-01T06:03:35.145Z] ---> cc3aec30abbc [2021-06-01T06:03:35.145Z] Step 8/23 : RUN go mod download [2021-06-01T06:03:35.145Z] ---> Running in 18b923df440b [2021-06-01T06:03:39.455Z] Removing intermediate container 18b923df440b [2021-06-01T06:03:39.455Z] ---> 8eacc67874ef [2021-06-01T06:03:39.455Z] Step 9/23 : RUN make build [2021-06-01T06:03:39.455Z] ---> Running in ad4f72c00964 [2021-06-01T06:03:40.436Z] go mod tidy [2021-06-01T06:03:41.039Z] 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-06-01T06:04:13.414Z] CGO_ENABLED=1 GO111MODULE=on go install -tags=safe [2021-06-01T06:04:16.032Z] Removing intermediate container ad4f72c00964 [2021-06-01T06:04:16.032Z] ---> 3f76153a4c31 [2021-06-01T06:04:16.032Z] Step 10/23 : FROM alpine:3.12 [2021-06-01T06:04:16.626Z] 3.12: Pulling from library/alpine [2021-06-01T06:04:16.901Z] d2f70382dc9a: Pulling fs layer [2021-06-01T06:04:19.553Z] d2f70382dc9a: Pull complete [2021-06-01T06:04:19.553Z] Digest: sha256:36553b10a4947067b9fbb7d532951066293a68eae893beba1d9235f7d11a20ad [2021-06-01T06:04:19.553Z] Status: Downloaded newer image for alpine:3.12 [2021-06-01T06:04:19.553Z] ---> 9852663dfa18 [2021-06-01T06:04:19.553Z] Step 11/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-06-01T06:04:19.553Z] ---> Running in 8fd1e3f9b0f9 [2021-06-01T06:04:19.553Z] Removing intermediate container 8fd1e3f9b0f9 [2021-06-01T06:04:19.553Z] ---> 376a376f9c21 [2021-06-01T06:04:19.553Z] Step 12/23 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-06-01T06:04:19.553Z] ---> Running in e2a30bf36fae [2021-06-01T06:04:21.512Z] Removing intermediate container e2a30bf36fae [2021-06-01T06:04:21.512Z] ---> 6baeba8fe2b8 [2021-06-01T06:04:21.512Z] Step 13/23 : RUN apk add --update --no-cache zeromq [2021-06-01T06:04:21.512Z] ---> Running in 22b761976cc0 [2021-06-01T06:04:22.963Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz [2021-06-01T06:04:23.566Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz [2021-06-01T06:04:24.182Z] (1/5) Installing libgcc (9.3.0-r2) [2021-06-01T06:04:24.182Z] (2/5) Installing libsodium (1.0.18-r0) [2021-06-01T06:04:24.458Z] (3/5) Installing libstdc++ (9.3.0-r2) [2021-06-01T06:04:24.734Z] (4/5) Installing libzmq (4.3.3-r0) [2021-06-01T06:04:24.734Z] (5/5) Installing zeromq (4.3.3-r0) [2021-06-01T06:04:24.734Z] Executing busybox-1.31.1-r20.trigger [2021-06-01T06:04:24.734Z] OK: 8 MiB in 19 packages [2021-06-01T06:04:27.599Z] Removing intermediate container 22b761976cc0 [2021-06-01T06:04:27.599Z] ---> b6d2c67ade3f [2021-06-01T06:04:27.599Z] Step 14/23 : WORKDIR / [2021-06-01T06:04:27.599Z] ---> Running in 5f97a6dc3d92 [2021-06-01T06:04:27.600Z] Removing intermediate container 5f97a6dc3d92 [2021-06-01T06:04:27.600Z] ---> 59df54fba275 [2021-06-01T06:04:27.600Z] Step 15/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt [2021-06-01T06:04:28.199Z] ---> 8eac5aafa1c6 [2021-06-01T06:04:28.199Z] Step 16/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple [2021-06-01T06:04:30.900Z] ---> eeb17e9836f2 [2021-06-01T06:04:30.900Z] Step 17/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res [2021-06-01T06:04:30.900Z] ---> fe9eaa5cfc06 [2021-06-01T06:04:30.900Z] Step 18/23 : EXPOSE 59999 [2021-06-01T06:04:30.900Z] ---> Running in c4bce2dfa6be [2021-06-01T06:04:31.176Z] Removing intermediate container c4bce2dfa6be [2021-06-01T06:04:31.177Z] ---> 3a52c43670eb [2021-06-01T06:04:31.177Z] Step 19/23 : ENTRYPOINT ["/device-simple"] [2021-06-01T06:04:31.457Z] ---> Running in aedb5e2f7dff [2021-06-01T06:04:34.044Z] Removing intermediate container aedb5e2f7dff [2021-06-01T06:04:34.044Z] ---> c0bc77f10b95 [2021-06-01T06:04:34.044Z] Step 20/23 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2021-06-01T06:04:34.044Z] ---> Running in 17b0829189dc [2021-06-01T06:04:34.044Z] Removing intermediate container 17b0829189dc [2021-06-01T06:04:34.044Z] ---> 7de7179339d8 [2021-06-01T06:04:34.044Z] Step 21/23 : LABEL arch=arm64 [2021-06-01T06:04:34.044Z] ---> Running in 3c6bc1ef04e2 [2021-06-01T06:04:34.044Z] Removing intermediate container 3c6bc1ef04e2 [2021-06-01T06:04:34.044Z] ---> bcce1f0481e0 [2021-06-01T06:04:34.044Z] Step 22/23 : LABEL git_sha=ef863db579e6d4e0579033a4c76015e68da9ea6b [2021-06-01T06:04:34.044Z] ---> Running in eb15f82e6627 [2021-06-01T06:04:34.634Z] Removing intermediate container eb15f82e6627 [2021-06-01T06:04:34.634Z] ---> a4d4ddbc150b [2021-06-01T06:04:34.635Z] Step 23/23 : LABEL version=0.0.0 [2021-06-01T06:04:34.635Z] ---> Running in c14fa52c58f2 [2021-06-01T06:04:35.223Z] Removing intermediate container c14fa52c58f2 [2021-06-01T06:04:35.223Z] ---> fdb1b363afcc [2021-06-01T06:04:37.307Z] [Warning] One or more build-args [MAKE ARCH] were not consumed [2021-06-01T06:04:37.307Z] Successfully built fdb1b363afcc [2021-06-01T06:04:37.307Z] 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-06-01T06:04:38.004Z] ---> job-cost.sh [2021-06-01T06:04:38.004Z] lf-activate-venv(): INFO: Creating python3 venv at /tmp/venv-WXtT [2021-06-01T06:05:19.551Z] lf-activate-venv(): INFO: Installing: zipp==1.1.0 python-openstackclient [2021-06-01T06:06:41.792Z] lf-activate-venv(): INFO: Adding /tmp/venv-WXtT/bin to PATH [2021-06-01T06:06:41.792Z] INFO: No Stack... [2021-06-01T06:06:41.792Z] INFO: Retrieving Pricing Info for: v2-standard-4 [2021-06-01T06:06:42.382Z] INFO: Archiving Costs [Pipeline] sh [2021-06-01T06:06:42.759Z] + cat /w/workspace/device-sdk-go/1/archives/cost.csv [2021-06-01T06:06:42.759Z] + cut -d, -f6 [Pipeline] lock [2021-06-01T06:06:42.846Z] Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-PR-952-1-stack-cost] [2021-06-01T06:06:42.853Z] Resource [jenkins-edgexfoundry-device-sdk-go-PR-952-1-stack-cost] did not exist. Created. [2021-06-01T06:06:42.854Z] Lock acquired on [jenkins-edgexfoundry-device-sdk-go-PR-952-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2021-06-01T06:06:45.565Z] /w/workspace/device-sdk-go/1@tmp/durable-bad95738/script.sh: 1: /w/workspace/device-sdk-go/1@tmp/durable-bad95738/script.sh: Syntax error: Unterminated quoted string [Pipeline] sh [2021-06-01T06:06:45.932Z] + echo total: 0.18000000715255737 [Pipeline] stash [2021-06-01T06:06:45.976Z] Warning: overwriting stash ‘stack-cost’ [2021-06-01T06:06:46.131Z] Stashed 1 file(s) [Pipeline] } [2021-06-01T06:06:46.152Z] Lock released on resource [jenkins-edgexfoundry-device-sdk-go-PR-952-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-06-01T06:06:49.279Z] provisioning config files... [2021-06-01T06:06:49.288Z] copy managed file [device-sdk-go-codecov-token] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-952@tmp/config4486715815755430709tmp [Pipeline] { [Pipeline] sh [2021-06-01T06:06:49.666Z] + set +x [2021-06-01T06:06:49.666Z] + curl -s https://codecov.io/bash [2021-06-01T06:06:49.666Z] + bash -s -- [2021-06-01T06:06:49.666Z] [2021-06-01T06:06:49.666Z] _____ _ [2021-06-01T06:06:49.666Z] / ____| | | [2021-06-01T06:06:49.666Z] | | ___ __| | ___ ___ _____ __ [2021-06-01T06:06:49.666Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2021-06-01T06:06:49.666Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2021-06-01T06:06:49.666Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2021-06-01T06:06:49.666Z] Bash-1.0.3 [2021-06-01T06:06:49.666Z] [2021-06-01T06:06:49.666Z] [2021-06-01T06:06:49.666Z] ==> git version 2.24.4 found [2021-06-01T06:06:49.666Z] ==> 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-06-01T06:06:49.666Z] Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtsp scp sftp smtp smtps telnet tftp [2021-06-01T06:06:49.666Z] Features: AsynchDNS GSS-Negotiate IDN IPv6 Largefile NTLM NTLM_WB SSL libz unix-sockets [2021-06-01T06:06:49.666Z] ==> Jenkins CI detected. [2021-06-01T06:06:49.666Z] project root: . [2021-06-01T06:06:49.666Z] --> token set from env [2021-06-01T06:06:49.961Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2021-06-01T06:06:49.961Z] ==> Running gcov in . (disable via -X gcov) [2021-06-01T06:06:49.961Z] ==> Python coveragepy not found [2021-06-01T06:06:49.961Z] ==> Searching for coverage reports in: [2021-06-01T06:06:49.961Z] + . [2021-06-01T06:06:49.961Z] -> Found 1 reports [2021-06-01T06:06:49.961Z] ==> Detecting git/mercurial file structure [2021-06-01T06:06:49.961Z] ==> Reading reports [2021-06-01T06:06:49.961Z] + ./coverage.out bytes=126444 [2021-06-01T06:06:49.961Z] ==> Appending adjustments [2021-06-01T06:06:49.961Z] https://docs.codecov.io/docs/fixing-reports [2021-06-01T06:06:50.224Z] + Found adjustments [2021-06-01T06:06:50.224Z] ==> Gzipping contents [2021-06-01T06:06:50.224Z] 20K /tmp/codecov.gNa8OD.gz [2021-06-01T06:06:50.224Z] ==> Uploading reports [2021-06-01T06:06:50.224Z] url: https://codecov.io [2021-06-01T06:06:50.224Z] query: branch=PR-952&commit=ef863db579e6d4e0579033a4c76015e68da9ea6b&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-952%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=952&job=&cmd_args= [2021-06-01T06:06:50.224Z] -> Pinging Codecov [2021-06-01T06:06:50.224Z] https://codecov.io/upload/v4?package=bash-1.0.3&token=secret&branch=PR-952&commit=ef863db579e6d4e0579033a4c76015e68da9ea6b&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-952%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=952&job=&cmd_args= [2021-06-01T06:06:50.798Z] -> Uploading to [2021-06-01T06:06:50.798Z] https://storage.googleapis.com/codecov/v4/raw/2021-06-01/7E55EF52A471D76F132DFD9A03CDDE97/ef863db579e6d4e0579033a4c76015e68da9ea6b/312d04db-a030-46c9-a88a-2e40312fe375.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EQM3VGPYSAFECJRMNAFIPCV2R3P2BOORCJC7NM537NPJQSFLHUDNIDWA%2F20210601%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20210601T060650Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=90d51d68c95eaeaa558c0fb18772d653d646b1d30b6923b2ed3d3ad780d3a8bd [2021-06-01T06:06:50.798Z] % Total % Received % Xferd Average Speed Time Time Time Current [2021-06-01T06:06:50.798Z] Dload Upload Total Spent Left Speed [2021-06-01T06:06:51.060Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 16472 0 0 100 16472 0 47251 --:--:-- --:--:-- --:--:-- 47333 [2021-06-01T06:06:51.060Z] -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/device-sdk-go/commit/ef863db579e6d4e0579033a4c76015e68da9ea6b [Pipeline] } [2021-06-01T06:06:51.090Z] 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-06-01T06:06:57.149Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2021-06-01T06:06:57.772Z] ---> package-listing.sh [2021-06-01T06:06:57.772Z] ++ tr '[:upper:]' '[:lower:]' [2021-06-01T06:06:57.772Z] ++ facter osfamily [2021-06-01T06:06:58.035Z] + OS_FAMILY=redhat [2021-06-01T06:06:58.035Z] + workspace=/w/workspace/dgexfoundry_device-sdk-go_PR-952 [2021-06-01T06:06:58.035Z] + START_PACKAGES=/tmp/packages_start.txt [2021-06-01T06:06:58.035Z] + END_PACKAGES=/tmp/packages_end.txt [2021-06-01T06:06:58.035Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2021-06-01T06:06:58.035Z] + PACKAGES=/tmp/packages_start.txt [2021-06-01T06:06:58.035Z] + '[' /w/workspace/dgexfoundry_device-sdk-go_PR-952 ']' [2021-06-01T06:06:58.035Z] + PACKAGES=/tmp/packages_end.txt [2021-06-01T06:06:58.035Z] + case "${OS_FAMILY}" in [2021-06-01T06:06:58.035Z] + rpm -qa [2021-06-01T06:06:58.035Z] + sort [2021-06-01T06:06:58.609Z] + '[' -f /tmp/packages_start.txt ']' [2021-06-01T06:06:58.609Z] + '[' -f /tmp/packages_end.txt ']' [2021-06-01T06:06:58.609Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2021-06-01T06:06:58.609Z] + '[' /w/workspace/dgexfoundry_device-sdk-go_PR-952 ']' [2021-06-01T06:06:58.609Z] + mkdir -p /w/workspace/dgexfoundry_device-sdk-go_PR-952/archives/ [2021-06-01T06:06:58.609Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/dgexfoundry_device-sdk-go_PR-952/archives/ [Pipeline] echo [2021-06-01T06:06:58.645Z] 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-952/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2021-06-01T06:06:58.958Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] sh [2021-06-01T06:06:59.613Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-06-01T06:06:59.613Z] [2021-06-01T06:06:59.613Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh [2021-06-01T06:07:02.015Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-06-01T06:07:02.016Z] alpine: Pulling from edgex-lftools-log-publisher [2021-06-01T06:07:02.016Z] df20fa9351a1: Pulling fs layer [2021-06-01T06:07:02.016Z] 36b3adc4ff6f: Pulling fs layer [2021-06-01T06:07:02.016Z] 8ad3a11d3b57: Pulling fs layer [2021-06-01T06:07:02.016Z] 46f8f816bc3b: Pulling fs layer [2021-06-01T06:07:02.016Z] 93b61091891f: Pulling fs layer [2021-06-01T06:07:02.016Z] 93b9cdb0e59b: Pulling fs layer [2021-06-01T06:07:02.016Z] 5e14af77c1be: Pulling fs layer [2021-06-01T06:07:02.016Z] 01666e4c0597: Pulling fs layer [2021-06-01T06:07:02.016Z] aa168da1d23b: Pulling fs layer [2021-06-01T06:07:02.016Z] 93b9cdb0e59b: Waiting [2021-06-01T06:07:02.016Z] 5e14af77c1be: Waiting [2021-06-01T06:07:02.016Z] 01666e4c0597: Waiting [2021-06-01T06:07:02.016Z] aa168da1d23b: Waiting [2021-06-01T06:07:02.016Z] 46f8f816bc3b: Waiting [2021-06-01T06:07:02.016Z] 93b61091891f: Waiting [2021-06-01T06:07:02.016Z] 36b3adc4ff6f: Verifying Checksum [2021-06-01T06:07:02.016Z] 36b3adc4ff6f: Download complete [2021-06-01T06:07:02.016Z] 46f8f816bc3b: Verifying Checksum [2021-06-01T06:07:02.016Z] 46f8f816bc3b: Download complete [2021-06-01T06:07:02.281Z] df20fa9351a1: Verifying Checksum [2021-06-01T06:07:02.281Z] df20fa9351a1: Download complete [2021-06-01T06:07:02.281Z] 93b9cdb0e59b: Verifying Checksum [2021-06-01T06:07:02.281Z] 93b9cdb0e59b: Download complete [2021-06-01T06:07:02.281Z] 5e14af77c1be: Verifying Checksum [2021-06-01T06:07:02.281Z] 5e14af77c1be: Download complete [2021-06-01T06:07:02.281Z] 93b61091891f: Verifying Checksum [2021-06-01T06:07:02.281Z] 93b61091891f: Download complete [2021-06-01T06:07:02.281Z] 01666e4c0597: Verifying Checksum [2021-06-01T06:07:02.281Z] 01666e4c0597: Download complete [2021-06-01T06:07:02.281Z] df20fa9351a1: Pull complete [2021-06-01T06:07:02.544Z] 36b3adc4ff6f: Pull complete [2021-06-01T06:07:02.544Z] 8ad3a11d3b57: Verifying Checksum [2021-06-01T06:07:02.544Z] 8ad3a11d3b57: Download complete [2021-06-01T06:07:03.120Z] 8ad3a11d3b57: Pull complete [2021-06-01T06:07:03.120Z] 46f8f816bc3b: Pull complete [2021-06-01T06:07:03.388Z] 93b61091891f: Pull complete [2021-06-01T06:07:03.657Z] 93b9cdb0e59b: Pull complete [2021-06-01T06:07:03.657Z] 5e14af77c1be: Pull complete [2021-06-01T06:07:03.917Z] 01666e4c0597: Pull complete [2021-06-01T06:07:04.489Z] aa168da1d23b: Verifying Checksum [2021-06-01T06:07:04.489Z] aa168da1d23b: Download complete [2021-06-01T06:07:08.721Z] aa168da1d23b: Pull complete [2021-06-01T06:07:08.721Z] Digest: sha256:ac41798234670a79351fc13b8232b4dbeccc6fb1f122f5db5169d11b1762ca7c [2021-06-01T06:07:08.721Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-06-01T06:07:08.721Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer [2021-06-01T06:07:08.826Z] prd-centos7-docker-4c-2g-1773 does not seem to be running inside a container [2021-06-01T06:07:08.866Z] $ 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-952/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-952 -v /w/workspace/dgexfoundry_device-sdk-go_PR-952:/w/workspace/dgexfoundry_device-sdk-go_PR-952:rw,z -v /w/workspace/dgexfoundry_device-sdk-go_PR-952@tmp:/w/workspace/dgexfoundry_device-sdk-go_PR-952@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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine cat [2021-06-01T06:07:21.399Z] $ docker top f2b25d9f582d36d5125b8a214f4caabf155be50d7266d3d4e969e4d5309e8e08 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-06-01T06:07:21.829Z] + touch /tmp/pre-build-complete [Pipeline] sh [2021-06-01T06:07:22.159Z] + mkdir -p /var/log/sa [Pipeline] sh [2021-06-01T06:07:22.475Z] + ls /var/log/sa-host [2021-06-01T06:07:22.475Z] + sadf -c /var/log/sa-host/sa01 [2021-06-01T06:07:22.475Z] file_magic: OK [2021-06-01T06:07:22.475Z] HZ: Using current value: 100 [2021-06-01T06:07:22.475Z] file_header: OK [2021-06-01T06:07:22.475Z] 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-06-01T06:07:22.475Z] Statistics: [2021-06-01T06:07:22.475Z] 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-06-01T06:07:22.475Z] File successfully converted to sysstat format version 12.2.1 [2021-06-01T06:07:22.475Z] + sadf -c /var/log/sa-host/sa05 [2021-06-01T06:07:22.475Z] file_magic: OK [2021-06-01T06:07:22.475Z] HZ: Using current value: 100 [2021-06-01T06:07:22.475Z] file_header: OK [2021-06-01T06:07:22.475Z] 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-06-01T06:07:22.475Z] Statistics: [2021-06-01T06:07:22.475Z] Hnuu...uuuununununu...Hnuu...uuuununununu... [2021-06-01T06:07:22.475Z] File successfully converted to sysstat format version 12.2.1 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-06-01T06:07:27.135Z] provisioning config files... [2021-06-01T06:07:27.151Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-952@tmp/config4412335343779179070tmp [Pipeline] { [Pipeline] echo [2021-06-01T06:07:27.215Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2021-06-01T06:07:27.556Z] ---> create-netrc.sh [Pipeline] } [2021-06-01T06:07:29.548Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] echo [2021-06-01T06:07:29.655Z] Running shell/python-tools-install.sh [Pipeline] libraryResource [Pipeline] sh [2021-06-01T06:07:30.007Z] ---> python-tools-install.sh [Pipeline] echo [2021-06-01T06:07:30.036Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2021-06-01T06:07:30.383Z] ---> sudo-logs.sh [2021-06-01T06:07:30.383Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2021-06-01T06:07:30.468Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2021-06-01T06:07:30.797Z] ---> job-cost.sh [2021-06-01T06:07:30.797Z] lf-activate-venv: SKIPPING [2021-06-01T06:07:30.797Z] DEBUG: total: 0.18000000715255737 [2021-06-01T06:07:30.797Z] INFO: Retrieving Stack Cost... [2021-06-01T06:07:33.564Z] INFO: Retrieving Pricing Info for: v3-standard-2 [2021-06-01T06:07:33.564Z] INFO: Archiving Costs [Pipeline] echo [2021-06-01T06:07:33.626Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2021-06-01T06:07:33.961Z] ---> logs-deploy.sh [2021-06-01T06:07:33.961Z] lf-activate-venv: SKIPPING [2021-06-01T06:07:33.962Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-952/1 [2021-06-01T06:07:33.962Z] INFO: archiving workspace using pattern(s): [2021-06-01T06:07:34.907Z] Archives upload complete. [2021-06-01T06:07:34.907Z] INFO: archiving logs to Nexus