Pull request #953 opened Connecting to https://api.github.com using edgex-jenkins/****** (edgex-jenkins github personal access token) Obtained Jenkinsfile from 2d94d2f4e2b44fa818f0f23fcf0f94b1cdf07efe+93abf715a89b706c53091008ba2aa1c6f00d3b1a (e43f4e11ae0fadb41e8b3f7c7f069fa77ce0ba9e) 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-ssh5917824234863847708.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision c93435b1c3a491ac51ce5a3d4b78246cb8dbf7dd 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-ssh591777686451387465.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 c93435b1c3a491ac51ce5a3d4b78246cb8dbf7dd 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-953/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-953/workspace@libs/edgex-global-pipelines@tmp/jenkins-gitclient-ssh7335295983593810890.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-953/workspace@libs/edgex-global-pipelines@tmp/jenkins-gitclient-ssh8565525603153216159.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision c93435b1c3a491ac51ce5a3d4b78246cb8dbf7dd (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f c93435b1c3a491ac51ce5a3d4b78246cb8dbf7dd # timeout=10 Commit message: "Merge pull request #338 from ernestojeda/add-latest-tag" > 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-ssh2931557443138160647.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-953/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-953/workspace@libs/lf-pipelines@tmp/jenkins-gitclient-ssh7764112020427731760.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 c93435b1c3a491ac51ce5a3d4b78246cb8dbf7dd Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that shared library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-sdk-go, dockerImageName:device-sdk-simple, dockerFilePath:example/cmd/device-simple/Dockerfile, pushImage:false, publishSwaggerDocs:true, swaggerApiFolders:[openapi/v1, openapi/v2]] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[centos7-docker-4c-2g, ubuntu18.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-sdk-go-settings PROJECT: device-sdk-go USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.16 GOPROXY: https://nexus3.edgexfoundry.org/repository/go-proxy/ DOCKER_BASE_IMAGE: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine DOCKER_FILE_PATH: example/cmd/device-simple/Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_IMAGE_NAME: device-sdk-simple DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: false BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: true SWAGGER_API_FOLDERS: openapi/v1 openapi/v2 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] node Still waiting to schedule task Waiting for next available executor on ‘centos7-docker-4c-2g’ Running on prd-centos7-docker-4c-2g-271 in /w/workspace/dgexfoundry_device-sdk-go_PR-953 [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-953 # 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-953@tmp/jenkins-gitclient-ssh1289456381413788873.key > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > git /usr/bin/chcon --type=ssh_home_t /w/workspace/dgexfoundry_device-sdk-go_PR-953@tmp/jenkins-gitclient-ssh7280660837460842720.key > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/953/head:refs/remotes/origin/PR-953 +refs/heads/master:refs/remotes/origin/master # timeout=10 Merging remotes/origin/master commit 93abf715a89b706c53091008ba2aa1c6f00d3b1a into PR head commit 2d94d2f4e2b44fa818f0f23fcf0f94b1cdf07efe Merge succeeded, producing 2d94d2f4e2b44fa818f0f23fcf0f94b1cdf07efe Checking out Revision 2d94d2f4e2b44fa818f0f23fcf0f94b1cdf07efe (PR-953) > git config core.sparsecheckout # timeout=10 > git checkout -f 2d94d2f4e2b44fa818f0f23fcf0f94b1cdf07efe # 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-953@tmp/jenkins-gitclient-ssh5024733323603860027.key > git merge 93abf715a89b706c53091008ba2aa1c6f00d3b1a # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 2d94d2f4e2b44fa818f0f23fcf0f94b1cdf07efe # 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 c93435b1c3a491ac51ce5a3d4b78246cb8dbf7dd [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2021-06-03T05:56:34.808Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2021-06-03T05:56:34.997Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2021-06-03T05:56:35.134Z] ========================================================= [2021-06-03T05:56:35.134Z] EdgeX Global Pipelines Version Info [2021-06-03T05:56:35.134Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2021-06-03T05:56:36.652Z] ------------------- [2021-06-03T05:56:36.652Z] stable info: [2021-06-03T05:56:36.652Z] ------------------- [2021-06-03T05:56:36.652Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2021-06-03T05:56:36.652Z] Commit SHA: c93435b1c3a491ac51ce5a3d4b78246cb8dbf7dd [2021-06-03T05:56:36.652Z] Message: update stable to v1.0.193 [2021-06-03T05:56:37.232Z] ------------------- [2021-06-03T05:56:37.232Z] experimental info: [2021-06-03T05:56:37.232Z] ------------------- [2021-06-03T05:56:37.232Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2021-06-03T05:56:37.232Z] Commit SHA: c93435b1c3a491ac51ce5a3d4b78246cb8dbf7dd [2021-06-03T05:56:37.232Z] Message: update experimental to v1.0.193 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2021-06-03T05:56:37.498Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-go-settings [Pipeline] echo [2021-06-03T05:56:37.559Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-go [Pipeline] echo [2021-06-03T05:56:37.618Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2021-06-03T05:56:37.683Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2021-06-03T05:56:37.742Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2021-06-03T05:56:37.802Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.16 [Pipeline] echo [2021-06-03T05:56:37.858Z] [edgeXSetupEnvironment]: set envvar GOPROXY = https://nexus3.edgexfoundry.org/repository/go-proxy/ [Pipeline] echo [2021-06-03T05:56:37.933Z] [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine [Pipeline] echo [2021-06-03T05:56:37.989Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = example/cmd/device-simple/Dockerfile [Pipeline] echo [2021-06-03T05:56:38.049Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2021-06-03T05:56:38.135Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2021-06-03T05:56:38.196Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-sdk-simple [Pipeline] echo [2021-06-03T05:56:38.257Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2021-06-03T05:56:38.321Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2021-06-03T05:56:38.379Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2021-06-03T05:56:38.453Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo [2021-06-03T05:56:38.508Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2021-06-03T05:56:38.698Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2021-06-03T05:56:38.756Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2021-06-03T05:56:38.814Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2021-06-03T05:56:38.891Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo [2021-06-03T05:56:38.948Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 openapi/v2 [Pipeline] echo [2021-06-03T05:56:39.007Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2021-06-03T05:56:39.066Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2021-06-03T05:56:39.121Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2021-06-03T05:56:39.180Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2021-06-03T05:56:39.239Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-953 [Pipeline] echo [2021-06-03T05:56:39.295Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-953 [Pipeline] echo [2021-06-03T05:56:39.353Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-953 [Pipeline] echo [2021-06-03T05:56:39.413Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 2d94d2f4e2b44fa818f0f23fcf0f94b1cdf07efe [Pipeline] echo [2021-06-03T05:56:39.473Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 2d94d2f [Pipeline] echo [2021-06-03T05:56:39.530Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-06-03T05:56:39.690Z] provisioning config files... [2021-06-03T05:56:39.707Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-953@tmp/config6784372691774533261tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-06-03T05:56:40.098Z] ---> docker-login.sh [2021-06-03T05:56:40.098Z] nexus3.edgexfoundry.org:10001 [2021-06-03T05:56:40.098Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-06-03T05:56:40.364Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-06-03T05:56:40.364Z] Configure a credential helper to remove this warning. See [2021-06-03T05:56:40.364Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-06-03T05:56:40.364Z] [2021-06-03T05:56:40.364Z] Login Succeeded [2021-06-03T05:56:40.364Z] nexus3.edgexfoundry.org:10002 [2021-06-03T05:56:40.364Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-06-03T05:56:40.630Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-06-03T05:56:40.630Z] Configure a credential helper to remove this warning. See [2021-06-03T05:56:40.630Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-06-03T05:56:40.630Z] [2021-06-03T05:56:40.630Z] Login Succeeded [2021-06-03T05:56:40.630Z] nexus3.edgexfoundry.org:10003 [2021-06-03T05:56:40.630Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-06-03T05:56:40.630Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-06-03T05:56:40.630Z] Configure a credential helper to remove this warning. See [2021-06-03T05:56:40.630Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-06-03T05:56:40.630Z] [2021-06-03T05:56:40.630Z] Login Succeeded [2021-06-03T05:56:40.630Z] nexus3.edgexfoundry.org:10004 [2021-06-03T05:56:40.893Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-06-03T05:56:40.893Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-06-03T05:56:40.893Z] Configure a credential helper to remove this warning. See [2021-06-03T05:56:40.893Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-06-03T05:56:40.893Z] [2021-06-03T05:56:40.893Z] Login Succeeded [2021-06-03T05:56:40.893Z] docker.io [2021-06-03T05:56:40.893Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-06-03T05:56:41.156Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-06-03T05:56:41.156Z] Configure a credential helper to remove this warning. See [2021-06-03T05:56:41.156Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-06-03T05:56:41.156Z] [2021-06-03T05:56:41.156Z] Login Succeeded [2021-06-03T05:56:41.156Z] ---> docker-login.sh ends [Pipeline] } [2021-06-03T05:56:41.182Z] 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-03T05:56:41.948Z] + git log --format=format:%s -1 2d94d2f4e2b44fa818f0f23fcf0f94b1cdf07efe [Pipeline] echo [2021-06-03T05:56:42.015Z] GIT_COMMIT: 2d94d2f4e2b44fa818f0f23fcf0f94b1cdf07efe, Commit Message: build(deps): bump github.com/edgexfoundry/go-mod-core-contracts/v2 [Pipeline] echo [2021-06-03T05:56:42.055Z] This is not a build commit. [Pipeline] isUnix [Pipeline] sh [2021-06-03T05:56:42.685Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-06-03T05:56:42.685Z] [2021-06-03T05:56:42.685Z] Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh [2021-06-03T05:56:43.037Z] + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-06-03T05:56:43.037Z] latest: Pulling from edgex-devops/git-semver [2021-06-03T05:56:43.037Z] 31603596830f: Pulling fs layer [2021-06-03T05:56:43.037Z] 54011a49482f: Pulling fs layer [2021-06-03T05:56:43.037Z] a6820b24f6d8: Pulling fs layer [2021-06-03T05:56:43.037Z] f581987b2513: Pulling fs layer [2021-06-03T05:56:43.037Z] f581987b2513: Waiting [2021-06-03T05:56:43.037Z] 54011a49482f: Verifying Checksum [2021-06-03T05:56:43.037Z] 54011a49482f: Download complete [2021-06-03T05:56:43.300Z] 31603596830f: Verifying Checksum [2021-06-03T05:56:43.300Z] 31603596830f: Download complete [2021-06-03T05:56:43.300Z] f581987b2513: Verifying Checksum [2021-06-03T05:56:43.300Z] f581987b2513: Download complete [2021-06-03T05:56:43.300Z] a6820b24f6d8: Verifying Checksum [2021-06-03T05:56:43.300Z] a6820b24f6d8: Download complete [2021-06-03T05:56:43.564Z] 31603596830f: Pull complete [2021-06-03T05:56:43.564Z] 54011a49482f: Pull complete [2021-06-03T05:56:44.145Z] a6820b24f6d8: Pull complete [2021-06-03T05:56:44.410Z] f581987b2513: Pull complete [2021-06-03T05:56:44.410Z] Digest: sha256:772af3cb61214e5a22880db9bb273bb039d0aa3a8f4edfa0c1def8b4e20ea536 [2021-06-03T05:56:44.410Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-06-03T05:56:44.410Z] nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer [2021-06-03T05:56:44.550Z] prd-centos7-docker-4c-2g-271 does not seem to be running inside a container [2021-06-03T05:56:44.589Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/dgexfoundry_device-sdk-go_PR-953 -v /w/workspace/dgexfoundry_device-sdk-go_PR-953:/w/workspace/dgexfoundry_device-sdk-go_PR-953:rw,z -v /w/workspace/dgexfoundry_device-sdk-go_PR-953@tmp:/w/workspace/dgexfoundry_device-sdk-go_PR-953@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat [2021-06-03T05:56:45.508Z] $ docker top 344c27a5dee80d0c5a561214f83b5a5bbda1fd6f74b0d801c349f14263f7d219 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2021-06-03T05:56:45.744Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-06-03T05:56:45.744Z] [ssh-agent] Looking for ssh-agent implementation... [2021-06-03T05:56:45.871Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-06-03T05:56:45.871Z] $ docker exec 344c27a5dee80d0c5a561214f83b5a5bbda1fd6f74b0d801c349f14263f7d219 ssh-agent [2021-06-03T05:56:45.995Z] SSH_AUTH_SOCK=/tmp/ssh-qWiHDrx4IadM/agent.14 [2021-06-03T05:56:45.995Z] SSH_AGENT_PID=20 [2021-06-03T05:56:46.004Z] Running ssh-add (command line suppressed) [2021-06-03T05:56:46.115Z] Identity added: /w/workspace/dgexfoundry_device-sdk-go_PR-953@tmp/private_key_6106394065959149679.key (/w/workspace/dgexfoundry_device-sdk-go_PR-953@tmp/private_key_6106394065959149679.key) [2021-06-03T05:56:46.135Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-06-03T05:56:46.505Z] + git tag --points-at HEAD [Pipeline] } [2021-06-03T05:56:46.525Z] $ docker exec --env ******** --env ******** 344c27a5dee80d0c5a561214f83b5a5bbda1fd6f74b0d801c349f14263f7d219 ssh-agent -k [2021-06-03T05:56:46.634Z] unset SSH_AUTH_SOCK; [2021-06-03T05:56:46.635Z] unset SSH_AGENT_PID; [2021-06-03T05:56:46.636Z] echo Agent pid 20 killed; [2021-06-03T05:56:46.656Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2021-06-03T05:56:46.751Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-06-03T05:56:46.751Z] [ssh-agent] Looking for ssh-agent implementation... [2021-06-03T05:56:46.898Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-06-03T05:56:46.898Z] $ docker exec 344c27a5dee80d0c5a561214f83b5a5bbda1fd6f74b0d801c349f14263f7d219 ssh-agent [2021-06-03T05:56:47.030Z] SSH_AUTH_SOCK=/tmp/ssh-3B3ixj8XuetB/agent.53 [2021-06-03T05:56:47.030Z] SSH_AGENT_PID=59 [2021-06-03T05:56:47.036Z] Running ssh-add (command line suppressed) [2021-06-03T05:56:47.142Z] Identity added: /w/workspace/dgexfoundry_device-sdk-go_PR-953@tmp/private_key_6675554423455111517.key (/w/workspace/dgexfoundry_device-sdk-go_PR-953@tmp/private_key_6675554423455111517.key) [2021-06-03T05:56:47.169Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-06-03T05:56:47.519Z] + git semver init [2021-06-03T05:56:47.520Z] # -> Open(): unable to determine branch for HEAD [2021-06-03T05:56:47.520Z] # $GIT_DIR = /w/workspace/dgexfoundry_device-sdk-go_PR-953/.git [2021-06-03T05:56:47.520Z] # $GIT_WORK_TREE = /w/workspace/dgexfoundry_device-sdk-go_PR-953 [2021-06-03T05:56:47.520Z] # $SEMVER_REMOTE_NAME = origin [2021-06-03T05:56:47.520Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2021-06-03T05:56:47.520Z] # $SEMVER_USER_NAME = edgex-jenkins [2021-06-03T05:56:47.520Z] # $SEMVER_BRANCH = PR-953 [2021-06-03T05:56:47.520Z] # $SEMVER_TEMP = /tmp/semver-971682308 [2021-06-03T05:56:47.520Z] # git clone --branch semver git@github.com:edgexfoundry/device-sdk-go.git $SEMVER_TEMP [2021-06-03T05:56:48.493Z] # '/tmp/semver-971682308' -> '/w/workspace/dgexfoundry_device-sdk-go_PR-953/.semver' [2021-06-03T05:56:48.493Z] # -> Force: false [2021-06-03T05:56:48.493Z] # $SEMVER_DIR = /w/workspace/dgexfoundry_device-sdk-go_PR-953/.semver [Pipeline] } [2021-06-03T05:56:48.510Z] $ docker exec --env ******** --env ******** 344c27a5dee80d0c5a561214f83b5a5bbda1fd6f74b0d801c349f14263f7d219 ssh-agent -k [2021-06-03T05:56:48.635Z] unset SSH_AUTH_SOCK; [2021-06-03T05:56:48.636Z] unset SSH_AGENT_PID; [2021-06-03T05:56:48.636Z] echo Agent pid 59 killed; [2021-06-03T05:56:48.647Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2021-06-03T05:56:49.109Z] + git semver [Pipeline] } [2021-06-03T05:56:49.133Z] $ docker stop --time=1 344c27a5dee80d0c5a561214f83b5a5bbda1fd6f74b0d801c349f14263f7d219 [2021-06-03T05:56:50.391Z] $ docker rm -f 344c27a5dee80d0c5a561214f83b5a5bbda1fd6f74b0d801c349f14263f7d219 [Pipeline] // withDockerContainer [Pipeline] sh [2021-06-03T05:56:50.842Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2021-06-03T05:56:51.173Z] Stashed 1 file(s) [Pipeline] echo [2021-06-03T05:56:51.194Z] [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-03T05:57:06.721Z] Still waiting to schedule task [2021-06-03T05:57:06.721Z] Waiting for next available executor on ‘centos7-docker-4c-2g’ [2021-06-03T05:57:06.752Z] Still waiting to schedule task [2021-06-03T05:57:06.752Z] ‘prd-ubuntu18.04-docker-arm64-4c-16g-266’ is offline [2021-06-03T05:59:12.384Z] Running on prd-ubuntu18.04-docker-arm64-4c-16g-272 in /w/workspace/dgexfoundry_device-sdk-go_PR-953 [Pipeline] { [Pipeline] ws [2021-06-03T05:59:12.448Z] Running in /w/workspace/device-sdk-go/1 [Pipeline] { [Pipeline] checkout [2021-06-03T05:59:12.798Z] Selected Git installation does not exist. Using Default [2021-06-03T05:59:12.798Z] The recommended git tool is: NONE [2021-06-03T05:59:18.391Z] using credential edgex-jenkins-ssh [2021-06-03T05:59:18.418Z] Cloning the remote Git repository [2021-06-03T05:59:18.473Z] Cloning repository git@github.com:edgexfoundry/device-sdk-go.git [2021-06-03T05:59:18.612Z] > git init /w/workspace/device-sdk-go/1 # timeout=10 [2021-06-03T05:59:18.672Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2021-06-03T05:59:18.673Z] > git --version # timeout=10 [2021-06-03T05:59:18.686Z] > git --version # 'git version 2.17.1' [2021-06-03T05:59:18.687Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-06-03T05:59:18.757Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-06-03T05:59:20.083Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2021-06-03T05:59:20.095Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-06-03T05:59:20.125Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2021-06-03T05:59:20.162Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2021-06-03T05:59:20.163Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-06-03T05:59:20.180Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/953/head:refs/remotes/origin/PR-953 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2021-06-03T05:59:20.760Z] Merging remotes/origin/master commit 93abf715a89b706c53091008ba2aa1c6f00d3b1a into PR head commit 2d94d2f4e2b44fa818f0f23fcf0f94b1cdf07efe [2021-06-03T05:59:20.971Z] Merge succeeded, producing 2d94d2f4e2b44fa818f0f23fcf0f94b1cdf07efe [2021-06-03T05:59:20.972Z] Checking out Revision 2d94d2f4e2b44fa818f0f23fcf0f94b1cdf07efe (PR-953) [2021-06-03T05:59:20.767Z] > git config core.sparsecheckout # timeout=10 [2021-06-03T05:59:20.781Z] > git checkout -f 2d94d2f4e2b44fa818f0f23fcf0f94b1cdf07efe # timeout=10 [2021-06-03T05:59:20.878Z] > git remote # timeout=10 [2021-06-03T05:59:20.895Z] > git config --get remote.origin.url # timeout=10 [2021-06-03T05:59:20.910Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-06-03T05:59:20.926Z] > git merge 93abf715a89b706c53091008ba2aa1c6f00d3b1a # timeout=10 [2021-06-03T05:59:20.945Z] > git rev-parse HEAD^{commit} # timeout=10 [2021-06-03T05:59:20.969Z] > git config core.sparsecheckout # timeout=10 [2021-06-03T05:59:20.979Z] > git checkout -f 2d94d2f4e2b44fa818f0f23fcf0f94b1cdf07efe # timeout=10 [2021-06-03T05:59:25.196Z] Commit message: "build(deps): bump github.com/edgexfoundry/go-mod-core-contracts/v2" [2021-06-03T05:59:25.242Z] > git --version # timeout=10 [2021-06-03T05:59:25.260Z] > git --version # 'git version 2.17.1' [2021-06-03T05:59:25.275Z] fatal: bad object c93435b1c3a491ac51ce5a3d4b78246cb8dbf7dd [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-06-03T05:59:26.784Z] + sudo jq . + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false} /etc/docker/daemon.json [Pipeline] sh [2021-06-03T05:59:27.246Z] + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh [2021-06-03T05:59:27.620Z] + sudo service docker restart [2021-06-03T05:59:27.620Z] + true [2021-06-03T05:59:30.086Z] Running on prd-centos7-docker-4c-2g-273 in /w/workspace/dgexfoundry_device-sdk-go_PR-953 [Pipeline] { [Pipeline] ws [2021-06-03T05:59:30.141Z] Running in /w/workspace/device-sdk-go/1 [Pipeline] { [Pipeline] checkout [2021-06-03T05:59:30.290Z] Selected Git installation does not exist. Using Default [2021-06-03T05:59:30.290Z] The recommended git tool is: NONE [2021-06-03T05:59:32.486Z] using credential edgex-jenkins-ssh [2021-06-03T05:59:32.498Z] Cloning the remote Git repository [2021-06-03T05:59:32.104Z] Cloning repository git@github.com:edgexfoundry/device-sdk-go.git [2021-06-03T05:59:32.176Z] > git init /w/workspace/device-sdk-go/1 # timeout=10 [2021-06-03T05:59:32.230Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2021-06-03T05:59:32.230Z] > git --version # timeout=10 [2021-06-03T05:59:32.236Z] > git --version # 'git version 2.24.4' [2021-06-03T05:59:32.237Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-06-03T05:59:32.258Z] [INFO] Currently running in a labeled security context [2021-06-03T05:59:32.258Z] [INFO] Currently SELinux is 'enforcing' on the host [2021-06-03T05:59:32.258Z] > git /usr/bin/chcon --type=ssh_home_t /w/workspace/device-sdk-go/1@tmp/jenkins-gitclient-ssh1812311372723206626.key [2021-06-03T05:59:32.273Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-06-03T05:59:34.195Z] Merging remotes/origin/master commit 93abf715a89b706c53091008ba2aa1c6f00d3b1a into PR head commit 2d94d2f4e2b44fa818f0f23fcf0f94b1cdf07efe [2021-06-03T05:59:34.297Z] Merge succeeded, producing 2d94d2f4e2b44fa818f0f23fcf0f94b1cdf07efe [2021-06-03T05:59:34.298Z] Checking out Revision 2d94d2f4e2b44fa818f0f23fcf0f94b1cdf07efe (PR-953) [2021-06-03T05:59:33.392Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2021-06-03T05:59:33.405Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-06-03T05:59:33.421Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2021-06-03T05:59:33.452Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2021-06-03T05:59:33.452Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-06-03T05:59:33.453Z] [INFO] Currently running in a labeled security context [2021-06-03T05:59:33.453Z] [INFO] Currently SELinux is 'enforcing' on the host [2021-06-03T05:59:33.453Z] > git /usr/bin/chcon --type=ssh_home_t /w/workspace/device-sdk-go/1@tmp/jenkins-gitclient-ssh8556589037633065522.key [2021-06-03T05:59:33.460Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/953/head:refs/remotes/origin/PR-953 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2021-06-03T05:59:33.940Z] > git config core.sparsecheckout # timeout=10 [2021-06-03T05:59:33.950Z] > git checkout -f 2d94d2f4e2b44fa818f0f23fcf0f94b1cdf07efe # timeout=10 [2021-06-03T05:59:33.989Z] > git remote # timeout=10 [2021-06-03T05:59:33.999Z] > git config --get remote.origin.url # timeout=10 [2021-06-03T05:59:34.007Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-06-03T05:59:34.008Z] [INFO] Currently running in a labeled security context [2021-06-03T05:59:34.008Z] [INFO] Currently SELinux is 'enforcing' on the host [2021-06-03T05:59:34.008Z] > git /usr/bin/chcon --type=ssh_home_t /w/workspace/device-sdk-go/1@tmp/jenkins-gitclient-ssh4233652613707743912.key [2021-06-03T05:59:34.017Z] > git merge 93abf715a89b706c53091008ba2aa1c6f00d3b1a # timeout=10 [2021-06-03T05:59:34.027Z] > git rev-parse HEAD^{commit} # timeout=10 [2021-06-03T05:59:34.038Z] > git config core.sparsecheckout # timeout=10 [2021-06-03T05:59:34.043Z] > git checkout -f 2d94d2f4e2b44fa818f0f23fcf0f94b1cdf07efe # timeout=10 [2021-06-03T05:59:37.700Z] Commit message: "build(deps): bump github.com/edgexfoundry/go-mod-core-contracts/v2" [2021-06-03T05:59:37.723Z] > git --version # timeout=10 [2021-06-03T05:59:37.729Z] > git --version # 'git version 2.24.4' [2021-06-03T05:59:37.783Z] fatal: bad object c93435b1c3a491ac51ce5a3d4b78246cb8dbf7dd [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-06-03T05:59:39.006Z] + sudo jq '. + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false}' /etc/docker/daemon.json [Pipeline] sh [2021-06-03T05:59:39.355Z] + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh [2021-06-03T05:59:39.677Z] + sudo service docker restart [2021-06-03T05:59:39.677Z] + true [2021-06-03T05:59:39.677Z] Redirecting to /bin/systemctl restart docker.service [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-06-03T05:59:46.027Z] provisioning config files... [2021-06-03T05:59:46.054Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/1@tmp/config4027495358655357564tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-06-03T05:59:46.472Z] ---> docker-login.sh [2021-06-03T05:59:46.472Z] nexus3.edgexfoundry.org:10001 [2021-06-03T05:59:47.071Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-06-03T05:59:47.669Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-06-03T05:59:47.669Z] Configure a credential helper to remove this warning. See [2021-06-03T05:59:47.669Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-06-03T05:59:47.669Z] [2021-06-03T05:59:47.669Z] Login Succeeded [2021-06-03T05:59:47.669Z] nexus3.edgexfoundry.org:10002 [2021-06-03T05:59:47.947Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-06-03T05:59:48.224Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-06-03T05:59:48.224Z] Configure a credential helper to remove this warning. See [2021-06-03T05:59:48.224Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-06-03T05:59:48.224Z] [2021-06-03T05:59:48.224Z] Login Succeeded [2021-06-03T05:59:48.224Z] nexus3.edgexfoundry.org:10003 [2021-06-03T05:59:48.503Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-06-03T05:59:48.779Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-06-03T05:59:48.779Z] Configure a credential helper to remove this warning. See [2021-06-03T05:59:48.779Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-06-03T05:59:48.779Z] [2021-06-03T05:59:48.779Z] Login Succeeded [2021-06-03T05:59:48.779Z] nexus3.edgexfoundry.org:10004 [2021-06-03T05:59:49.054Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-06-03T05:59:49.333Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-06-03T05:59:49.333Z] Configure a credential helper to remove this warning. See [2021-06-03T05:59:49.333Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-06-03T05:59:49.333Z] [2021-06-03T05:59:49.333Z] Login Succeeded [2021-06-03T05:59:49.333Z] docker.io [2021-06-03T05:59:49.606Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-06-03T05:59:49.880Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-06-03T05:59:49.880Z] Configure a credential helper to remove this warning. See [2021-06-03T05:59:49.880Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-06-03T05:59:49.880Z] [2021-06-03T05:59:49.880Z] Login Succeeded [2021-06-03T05:59:49.880Z] ---> docker-login.sh ends [Pipeline] } [2021-06-03T05:59:49.911Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2021-06-03T05:59:50.493Z] ========================================================= [2021-06-03T05:59:50.493Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine] [2021-06-03T05:59:50.494Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2021-06-03T05:59:50.929Z] + 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-03T05:59:51.208Z] Sending build context to Docker daemon 2.622MB [2021-06-03T05:59:51.491Z] Step 1/8 : ARG BASE=golang:1.16-alpine3.12 [2021-06-03T05:59:51.491Z] Step 2/8 : FROM ${BASE} [2021-06-03T05:59:51.491Z] 1.16-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2021-06-03T05:59:51.491Z] 595b0fe564bb: Pulling fs layer [2021-06-03T05:59:51.491Z] 7186ed65a4f7: Pulling fs layer [2021-06-03T05:59:51.491Z] 316046926c0a: Pulling fs layer [2021-06-03T05:59:51.491Z] 4ebd0625c992: Pulling fs layer [2021-06-03T05:59:51.491Z] 207e8628e3a3: Pulling fs layer [2021-06-03T05:59:51.491Z] c791037a9be2: Pulling fs layer [2021-06-03T05:59:51.491Z] ffd874e62e21: Pulling fs layer [2021-06-03T05:59:51.491Z] 4ebd0625c992: Waiting [2021-06-03T05:59:51.491Z] 207e8628e3a3: Waiting [2021-06-03T05:59:51.491Z] c791037a9be2: Waiting [2021-06-03T05:59:51.491Z] ffd874e62e21: Waiting [2021-06-03T05:59:51.787Z] 316046926c0a: Download complete [2021-06-03T05:59:51.787Z] 7186ed65a4f7: Verifying Checksum [2021-06-03T05:59:51.787Z] 7186ed65a4f7: Download complete [2021-06-03T05:59:51.787Z] 207e8628e3a3: Verifying Checksum [2021-06-03T05:59:51.787Z] 207e8628e3a3: Download complete [2021-06-03T05:59:51.787Z] c791037a9be2: Verifying Checksum [2021-06-03T05:59:51.787Z] c791037a9be2: Download complete [2021-06-03T05:59:51.787Z] 595b0fe564bb: Verifying Checksum [2021-06-03T05:59:51.787Z] 595b0fe564bb: Download complete [2021-06-03T05:59:52.389Z] 595b0fe564bb: Pull complete [2021-06-03T05:59:53.005Z] 7186ed65a4f7: Pull complete [2021-06-03T05:59:53.605Z] 316046926c0a: Pull complete [2021-06-03T05:59:54.206Z] ffd874e62e21: Verifying Checksum [2021-06-03T05:59:54.206Z] ffd874e62e21: Download complete [2021-06-03T05:59:56.186Z] 4ebd0625c992: Verifying Checksum [2021-06-03T05:59:56.186Z] 4ebd0625c992: Download complete [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-06-03T05:59:57.924Z] provisioning config files... [2021-06-03T05:59:57.939Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/1@tmp/config512332363540974749tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-06-03T05:59:58.416Z] ---> docker-login.sh [2021-06-03T05:59:58.416Z] nexus3.edgexfoundry.org:10001 [2021-06-03T05:59:58.679Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-06-03T05:59:58.679Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-06-03T05:59:58.679Z] Configure a credential helper to remove this warning. See [2021-06-03T05:59:58.679Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-06-03T05:59:58.679Z] [2021-06-03T05:59:58.679Z] Login Succeeded [2021-06-03T05:59:58.679Z] nexus3.edgexfoundry.org:10002 [2021-06-03T05:59:58.679Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-06-03T05:59:58.963Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-06-03T05:59:58.963Z] Configure a credential helper to remove this warning. See [2021-06-03T05:59:58.963Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-06-03T05:59:58.963Z] [2021-06-03T05:59:58.963Z] Login Succeeded [2021-06-03T05:59:58.963Z] nexus3.edgexfoundry.org:10003 [2021-06-03T05:59:58.963Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-06-03T05:59:58.963Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-06-03T05:59:58.963Z] Configure a credential helper to remove this warning. See [2021-06-03T05:59:58.963Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-06-03T05:59:58.963Z] [2021-06-03T05:59:58.963Z] Login Succeeded [2021-06-03T05:59:58.963Z] nexus3.edgexfoundry.org:10004 [2021-06-03T05:59:58.963Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-06-03T05:59:59.226Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-06-03T05:59:59.226Z] Configure a credential helper to remove this warning. See [2021-06-03T05:59:59.226Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-06-03T05:59:59.226Z] [2021-06-03T05:59:59.226Z] Login Succeeded [2021-06-03T05:59:59.226Z] docker.io [2021-06-03T05:59:59.226Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-06-03T05:59:59.488Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-06-03T05:59:59.488Z] Configure a credential helper to remove this warning. See [2021-06-03T05:59:59.488Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-06-03T05:59:59.488Z] [2021-06-03T05:59:59.488Z] Login Succeeded [2021-06-03T05:59:59.488Z] ---> docker-login.sh ends [Pipeline] } [2021-06-03T05:59:59.518Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2021-06-03T05:59:59.810Z] ========================================================= [2021-06-03T05:59:59.810Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine] [2021-06-03T05:59:59.810Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2021-06-03T06:00:00.215Z] + 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-03T06:00:00.215Z] Sending build context to Docker daemon 2.623MB [2021-06-03T06:00:00.215Z] Step 1/8 : ARG BASE=golang:1.16-alpine3.12 [2021-06-03T06:00:00.215Z] Step 2/8 : FROM ${BASE} [2021-06-03T06:00:00.215Z] 1.16-alpine: Pulling from edgex-devops/edgex-golang-base [2021-06-03T06:00:00.215Z] 540db60ca938: Pulling fs layer [2021-06-03T06:00:00.215Z] adcc1eea9eea: Pulling fs layer [2021-06-03T06:00:00.215Z] 4c4ab2625f07: Pulling fs layer [2021-06-03T06:00:00.215Z] 0510c868ecb4: Pulling fs layer [2021-06-03T06:00:00.215Z] afea3b2eda06: Pulling fs layer [2021-06-03T06:00:00.215Z] 7809a108b3ef: Pulling fs layer [2021-06-03T06:00:00.215Z] f706445af74f: Pulling fs layer [2021-06-03T06:00:00.215Z] 0510c868ecb4: Waiting [2021-06-03T06:00:00.215Z] afea3b2eda06: Waiting [2021-06-03T06:00:00.215Z] 7809a108b3ef: Waiting [2021-06-03T06:00:00.215Z] f706445af74f: Waiting [2021-06-03T06:00:00.215Z] 4c4ab2625f07: Verifying Checksum [2021-06-03T06:00:00.215Z] 4c4ab2625f07: Download complete [2021-06-03T06:00:00.477Z] adcc1eea9eea: Verifying Checksum [2021-06-03T06:00:00.477Z] adcc1eea9eea: Download complete [2021-06-03T06:00:00.477Z] afea3b2eda06: Verifying Checksum [2021-06-03T06:00:00.477Z] afea3b2eda06: Download complete [2021-06-03T06:00:00.477Z] 7809a108b3ef: Verifying Checksum [2021-06-03T06:00:00.477Z] 7809a108b3ef: Download complete [2021-06-03T06:00:00.477Z] 540db60ca938: Verifying Checksum [2021-06-03T06:00:00.477Z] 540db60ca938: Download complete [2021-06-03T06:00:00.738Z] 540db60ca938: Pull complete [2021-06-03T06:00:00.738Z] adcc1eea9eea: Pull complete [2021-06-03T06:00:01.001Z] 4c4ab2625f07: Pull complete [2021-06-03T06:00:02.391Z] f706445af74f: Verifying Checksum [2021-06-03T06:00:02.391Z] f706445af74f: Download complete [2021-06-03T06:00:03.002Z] 0510c868ecb4: Verifying Checksum [2021-06-03T06:00:03.002Z] 0510c868ecb4: Download complete [2021-06-03T06:00:06.346Z] 0510c868ecb4: Pull complete [2021-06-03T06:00:06.346Z] afea3b2eda06: Pull complete [2021-06-03T06:00:06.346Z] 7809a108b3ef: Pull complete [2021-06-03T06:00:06.363Z] 4ebd0625c992: Pull complete [2021-06-03T06:00:06.636Z] 207e8628e3a3: Pull complete [2021-06-03T06:00:06.910Z] c791037a9be2: Pull complete [2021-06-03T06:00:07.758Z] f706445af74f: Pull complete [2021-06-03T06:00:07.758Z] Digest: sha256:3789524f83b4b99ff44900c39f6da7fc44f99660cd9adf292610dec398b137f4 [2021-06-03T06:00:07.758Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine [2021-06-03T06:00:07.758Z] ---> b068be0155e3 [2021-06-03T06:00:07.758Z] Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-06-03T06:00:11.237Z] ffd874e62e21: Pull complete [2021-06-03T06:00:11.237Z] Digest: sha256:fad7b58e697bd06bcf362d803a3263ca5ec03b905aa8665231fe3262941fe3e0 [2021-06-03T06:00:11.237Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine [2021-06-03T06:00:11.237Z] ---> cfc18b08335c [2021-06-03T06:00:11.237Z] Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-06-03T06:00:11.979Z] ---> Running in e742a7d128de [2021-06-03T06:00:12.244Z] Removing intermediate container e742a7d128de [2021-06-03T06:00:12.244Z] ---> 79884b813874 [2021-06-03T06:00:12.244Z] Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-06-03T06:00:12.244Z] ---> Running in 114344feadb7 [2021-06-03T06:00:13.189Z] Removing intermediate container 114344feadb7 [2021-06-03T06:00:13.189Z] ---> c1106f877711 [2021-06-03T06:00:13.189Z] Step 5/8 : RUN apk add --update --no-cache make git gcc libc-dev libsodium-dev zeromq-dev [2021-06-03T06:00:13.189Z] ---> Running in 90e8232d2c88 [2021-06-03T06:00:13.189Z] fetch https://nl.alpinelinux.org/alpine/v3.13/main/x86_64/APKINDEX.tar.gz [2021-06-03T06:00:13.219Z] ---> Running in 9449aaa5bd8f [2021-06-03T06:00:13.491Z] Removing intermediate container 9449aaa5bd8f [2021-06-03T06:00:13.491Z] ---> f1992061f654 [2021-06-03T06:00:13.491Z] Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-06-03T06:00:13.767Z] ---> Running in bc8071322c12 [2021-06-03T06:00:14.138Z] fetch https://nl.alpinelinux.org/alpine/v3.13/community/x86_64/APKINDEX.tar.gz [2021-06-03T06:00:14.713Z] (1/6) Installing libc-dev (0.7.2-r3) [2021-06-03T06:00:14.713Z] (2/6) Installing libsodium (1.0.18-r0) [2021-06-03T06:00:14.713Z] (3/6) Installing pkgconf (1.7.3-r0) [2021-06-03T06:00:14.975Z] (4/6) Installing libsodium-dev (1.0.18-r0) [2021-06-03T06:00:14.975Z] (5/6) Installing libzmq (4.3.3-r1) [2021-06-03T06:00:14.975Z] (6/6) Installing zeromq-dev (4.3.3-r1) [2021-06-03T06:00:15.239Z] Executing busybox-1.32.1-r6.trigger [2021-06-03T06:00:15.239Z] OK: 150 MiB in 46 packages [2021-06-03T06:00:15.504Z] Removing intermediate container 90e8232d2c88 [2021-06-03T06:00:15.504Z] ---> bbe651aa5ac7 [2021-06-03T06:00:15.504Z] Step 6/8 : WORKDIR /device-sdk-go [2021-06-03T06:00:15.504Z] ---> Running in ddb93ba7c73a [2021-06-03T06:00:15.504Z] Removing intermediate container ddb93ba7c73a [2021-06-03T06:00:15.504Z] ---> 5f6e2a1d928b [2021-06-03T06:00:15.504Z] Step 7/8 : COPY . . [2021-06-03T06:00:16.079Z] ---> eda020ed92b8 [2021-06-03T06:00:16.079Z] Step 8/8 : RUN go mod download [2021-06-03T06:00:16.079Z] ---> Running in 466cfccf7e90 [2021-06-03T06:00:16.389Z] Removing intermediate container bc8071322c12 [2021-06-03T06:00:16.389Z] ---> 8db6f79fef15 [2021-06-03T06:00:16.389Z] Step 5/8 : RUN apk add --update --no-cache make git gcc libc-dev libsodium-dev zeromq-dev [2021-06-03T06:00:16.389Z] ---> Running in 17a6286f1a15 [2021-06-03T06:00:17.376Z] fetch https://nl.alpinelinux.org/alpine/v3.13/main/aarch64/APKINDEX.tar.gz [2021-06-03T06:00:18.376Z] fetch https://nl.alpinelinux.org/alpine/v3.13/community/aarch64/APKINDEX.tar.gz [2021-06-03T06:00:18.983Z] (1/6) Installing libc-dev (0.7.2-r3) [2021-06-03T06:00:19.256Z] (2/6) Installing libsodium (1.0.18-r0) [2021-06-03T06:00:19.256Z] (3/6) Installing pkgconf (1.7.3-r0) [2021-06-03T06:00:19.256Z] (4/6) Installing libsodium-dev (1.0.18-r0) [2021-06-03T06:00:19.531Z] (5/6) Installing libzmq (4.3.3-r1) [2021-06-03T06:00:19.531Z] (6/6) Installing zeromq-dev (4.3.3-r1) [2021-06-03T06:00:19.531Z] Executing busybox-1.32.1-r6.trigger [2021-06-03T06:00:19.814Z] OK: 139 MiB in 46 packages [2021-06-03T06:00:20.790Z] Removing intermediate container 17a6286f1a15 [2021-06-03T06:00:20.790Z] ---> b4880c6856ea [2021-06-03T06:00:20.790Z] Step 6/8 : WORKDIR /device-sdk-go [2021-06-03T06:00:21.062Z] ---> Running in 4d3dde980aad [2021-06-03T06:00:21.677Z] Removing intermediate container 4d3dde980aad [2021-06-03T06:00:21.677Z] ---> f6b423767dc8 [2021-06-03T06:00:21.677Z] Step 7/8 : COPY . . [2021-06-03T06:00:23.114Z] ---> 64d45ead4be9 [2021-06-03T06:00:23.114Z] Step 8/8 : RUN go mod download [2021-06-03T06:00:23.114Z] ---> Running in dc9b9d061097 [2021-06-03T06:00:31.043Z] Removing intermediate container 466cfccf7e90 [2021-06-03T06:00:31.043Z] ---> 701694b7a67d [2021-06-03T06:00:31.043Z] Successfully built 701694b7a67d [2021-06-03T06:00:31.043Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh [2021-06-03T06:00:31.405Z] + docker inspect -f . ci-base-image-x86_64 [2021-06-03T06:00:31.405Z] . [Pipeline] withDockerContainer [2021-06-03T06:00:31.519Z] prd-centos7-docker-4c-2g-273 does not seem to be running inside a container [2021-06-03T06:00:31.573Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/1 -v /w/workspace/device-sdk-go/1:/w/workspace/device-sdk-go/1:rw,z -v /w/workspace/device-sdk-go/1@tmp:/w/workspace/device-sdk-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2021-06-03T06:00:31.954Z] $ docker top 080965655fe632eb5c851a1ce0471b0ba4bcee844cd79a8592b724f71c4b7e8a -eo pid,comm [Pipeline] { [Pipeline] sh [2021-06-03T06:00:32.459Z] + go version [2021-06-03T06:00:32.459Z] go version go1.16.3 linux/amd64 [Pipeline] } [2021-06-03T06:00:32.485Z] $ docker stop --time=1 080965655fe632eb5c851a1ce0471b0ba4bcee844cd79a8592b724f71c4b7e8a [2021-06-03T06:00:33.660Z] $ docker rm -f 080965655fe632eb5c851a1ce0471b0ba4bcee844cd79a8592b724f71c4b7e8a [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-06-03T06:00:34.458Z] + docker inspect -f . ci-base-image-x86_64 [2021-06-03T06:00:34.459Z] . [Pipeline] withDockerContainer [2021-06-03T06:00:34.575Z] prd-centos7-docker-4c-2g-273 does not seem to be running inside a container [2021-06-03T06:00:34.642Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/1 -v /w/workspace/device-sdk-go/1:/w/workspace/device-sdk-go/1:rw,z -v /w/workspace/device-sdk-go/1@tmp:/w/workspace/device-sdk-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2021-06-03T06:00:34.983Z] $ docker top 742ca4da7f75b29e5d2dab897fb803662f989cd84fd93f5a1d88cccf1203f2c5 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-06-03T06:00:35.655Z] + go mod tidy [Pipeline] sh [2021-06-03T06:00:36.008Z] + make test [2021-06-03T06:00:36.008Z] go mod tidy [2021-06-03T06:00:36.008Z] GO111MODULE=on go test -race -coverprofile=coverage.out ./... [2021-06-03T06:00:41.373Z] ? github.com/edgexfoundry/device-sdk-go/v2 [no test files] [2021-06-03T06:00:49.979Z] Removing intermediate container dc9b9d061097 [2021-06-03T06:00:49.980Z] ---> e66119e7c4b2 [2021-06-03T06:00:49.980Z] Successfully built e66119e7c4b2 [2021-06-03T06:00:49.980Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh [2021-06-03T06:00:50.349Z] + docker inspect -f . ci-base-image-arm64 [2021-06-03T06:00:50.349Z] . [Pipeline] withDockerContainer [2021-06-03T06:00:50.602Z] prd-ubuntu18.04-docker-arm64-4c-16g-272 does not seem to be running inside a container [2021-06-03T06:00:50.689Z] $ 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-03T06:00:52.332Z] $ docker top 11f11bb5a364da6b411dbed3adf4e443f3c538232ca72a7bd09d98a0ef9ff05e -eo pid,comm [Pipeline] { [Pipeline] sh [2021-06-03T06:00:53.349Z] + go version [2021-06-03T06:00:53.349Z] go version go1.16.3 linux/arm64 [Pipeline] } [2021-06-03T06:00:53.410Z] $ docker stop --time=1 11f11bb5a364da6b411dbed3adf4e443f3c538232ca72a7bd09d98a0ef9ff05e [2021-06-03T06:00:55.270Z] $ docker rm -f 11f11bb5a364da6b411dbed3adf4e443f3c538232ca72a7bd09d98a0ef9ff05e [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-06-03T06:00:56.333Z] + docker inspect -f . ci-base-image-arm64 [2021-06-03T06:00:56.333Z] . [Pipeline] withDockerContainer [2021-06-03T06:00:56.616Z] prd-ubuntu18.04-docker-arm64-4c-16g-272 does not seem to be running inside a container [2021-06-03T06:00:56.705Z] $ 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-03T06:00:58.332Z] $ docker top 9d24112f1cba75641e2cfaccabccfac4f66527cc69d755585d4030cedec910f4 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-06-03T06:00:59.353Z] + go mod tidy [Pipeline] sh [2021-06-03T06:01:00.654Z] + make test [2021-06-03T06:01:00.654Z] go mod tidy [2021-06-03T06:01:01.260Z] GO111MODULE=on go test -race -coverprofile=coverage.out ./... [2021-06-03T06:01:03.394Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/cmd/device-simple [no test files] [2021-06-03T06:01:03.394Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/config [no test files] [2021-06-03T06:01:03.394Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/driver [no test files] [2021-06-03T06:01:05.952Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/application 0.059s coverage: 25.4% of statements [2021-06-03T06:01:05.952Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/autodiscovery [no test files] [2021-06-03T06:01:05.952Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/autoevent 0.054s coverage: 28.1% of statements [2021-06-03T06:01:06.217Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/cache 0.046s coverage: 78.9% of statements [2021-06-03T06:01:06.497Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/clients 0.052s coverage: 9.0% of statements [2021-06-03T06:01:06.497Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/common [no test files] [2021-06-03T06:01:06.497Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/config [no test files] [2021-06-03T06:01:06.497Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/container [no test files] [2021-06-03T06:01:07.446Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http 0.071s coverage: 29.2% of statements [2021-06-03T06:01:07.446Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http/correlation [no test files] [2021-06-03T06:01:08.407Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/messaging 1.056s coverage: 83.3% of statements [2021-06-03T06:01:08.407Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/provision [no test files] [2021-06-03T06:01:08.407Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/telemetry [no test files] [2021-06-03T06:01:08.407Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/transformer 0.077s coverage: 58.0% of statements [2021-06-03T06:01:09.813Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/models 0.834s coverage: 89.2% of statements [2021-06-03T06:01:09.813Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/models/mocks [no test files] [2021-06-03T06:01:09.813Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/service 0.051s coverage: 5.0% of statements [2021-06-03T06:01:09.813Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/startup [no test files] [2021-06-03T06:01:09.813Z] GO111MODULE=on go vet ./... [2021-06-03T06:01:23.466Z] ? github.com/edgexfoundry/device-sdk-go/v2 [no test files] [2021-06-03T06:01:28.023Z] gofmt -l . [2021-06-03T06:01:28.023Z] [ "`gofmt -l .`" = "" ] [2021-06-03T06:01:28.023Z] ./bin/test-attribution-txt.sh [2021-06-03T06:01:28.023Z] ./bin/test-go-mod-tidy.sh [Pipeline] } [2021-06-03T06:01:28.052Z] $ docker stop --time=1 742ca4da7f75b29e5d2dab897fb803662f989cd84fd93f5a1d88cccf1203f2c5 [2021-06-03T06:01:29.908Z] $ docker rm -f 742ca4da7f75b29e5d2dab897fb803662f989cd84fd93f5a1d88cccf1203f2c5 [Pipeline] // withDockerContainer [Pipeline] sh [2021-06-03T06:01:30.429Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2021-06-03T06:01:30.671Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2021-06-03T06:01:32.963Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2021-06-03T06:01:33.294Z] + ls -al . [2021-06-03T06:01:33.294Z] total 212 [2021-06-03T06:01:33.294Z] drwxrwxr-x. 10 jenkins jenkins 4096 Jun 3 06:01 . [2021-06-03T06:01:33.294Z] drwxrwxr-x. 4 jenkins jenkins 28 Jun 3 05:59 .. [2021-06-03T06:01:33.294Z] drwxrwxr-x. 2 jenkins jenkins 64 Jun 3 05:59 bin [2021-06-03T06:01:33.294Z] -rw-r--r--. 1 jenkins jenkins 126072 Jun 3 06:01 coverage.out [2021-06-03T06:01:33.294Z] -rw-rw-r--. 1 jenkins jenkins 987 Jun 3 05:59 Dockerfile.build [2021-06-03T06:01:33.294Z] -rw-rw-r--. 1 jenkins jenkins 140 Jun 3 05:59 .dockerignore [2021-06-03T06:01:33.294Z] drwxrwxr-x. 5 jenkins jenkins 62 Jun 3 05:59 example [2021-06-03T06:01:33.294Z] drwxrwxr-x. 8 jenkins jenkins 179 Jun 3 05:59 .git [2021-06-03T06:01:33.294Z] drwxrwxr-x. 2 jenkins jenkins 103 Jun 3 05:59 .github [2021-06-03T06:01:33.294Z] -rw-rw-r--. 1 jenkins jenkins 138 Jun 3 05:59 .gitignore [2021-06-03T06:01:33.294Z] -rw-r--r--. 1 jenkins jenkins 575 Jun 3 06:01 go.mod [2021-06-03T06:01:33.294Z] -rw-r--r--. 1 jenkins jenkins 20499 Jun 3 06:00 go.sum [2021-06-03T06:01:33.294Z] drwxrwxr-x. 15 jenkins jenkins 224 Jun 3 05:59 internal [2021-06-03T06:01:33.294Z] -rw-rw-r--. 1 jenkins jenkins 894 Jun 3 05:59 Jenkinsfile [2021-06-03T06:01:33.294Z] -rw-rw-r--. 1 jenkins jenkins 11341 Jun 3 05:59 LICENSE [2021-06-03T06:01:33.294Z] -rw-rw-r--. 1 jenkins jenkins 1026 Jun 3 05:59 Makefile [2021-06-03T06:01:33.294Z] drwxrwxr-x. 4 jenkins jenkins 26 Jun 3 05:59 openapi [2021-06-03T06:01:33.294Z] drwxrwxr-x. 5 jenkins jenkins 50 Jun 3 05:59 pkg [2021-06-03T06:01:33.294Z] -rw-rw-r--. 1 jenkins jenkins 7652 Jun 3 05:59 README.md [2021-06-03T06:01:33.294Z] -rw-rw-r--. 1 jenkins jenkins 6616 Jun 3 05:59 RELEASE-NOTES.txt [2021-06-03T06:01:33.294Z] drwxrwxr-x. 4 jenkins jenkins 54 Jun 3 05:59 snap [2021-06-03T06:01:33.294Z] -rw-rw-r--. 1 jenkins jenkins 5 Jun 3 05:56 VERSION [2021-06-03T06:01:33.294Z] -rw-rw-r--. 1 jenkins jenkins 222 Jun 3 05:59 version.go [Pipeline] isUnix [Pipeline] sh [2021-06-03T06:01:33.633Z] + 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=2d94d2f4e2b44fa818f0f23fcf0f94b1cdf07efe --label arch=amd64 --label version=0.0.0 . [2021-06-03T06:01:33.633Z] Sending build context to Docker daemon 2.75MB [2021-06-03T06:01:33.633Z] Step 1/23 : ARG BASE=golang:1.16-alpine3.12 [2021-06-03T06:01:33.633Z] Step 2/23 : FROM ${BASE} AS builder [2021-06-03T06:01:33.633Z] ---> 701694b7a67d [2021-06-03T06:01:33.633Z] Step 3/23 : WORKDIR /device-sdk-go [2021-06-03T06:01:34.207Z] ---> Running in e88b161725af [2021-06-03T06:01:34.468Z] Removing intermediate container e88b161725af [2021-06-03T06:01:34.468Z] ---> 7bfaebf3a6db [2021-06-03T06:01:34.468Z] Step 4/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-06-03T06:01:34.468Z] ---> Running in 056eb5b4a7c5 [2021-06-03T06:01:34.728Z] Removing intermediate container 056eb5b4a7c5 [2021-06-03T06:01:34.728Z] ---> bd634146cba6 [2021-06-03T06:01:34.728Z] Step 5/23 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-06-03T06:01:34.728Z] ---> Running in df6c45627584 [2021-06-03T06:01:35.303Z] Removing intermediate container df6c45627584 [2021-06-03T06:01:35.303Z] ---> e66ae59da4b6 [2021-06-03T06:01:35.303Z] Step 6/23 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev [2021-06-03T06:01:35.303Z] ---> Running in 858a03c5dbd3 [2021-06-03T06:01:35.567Z] fetch https://nl.alpinelinux.org/alpine/v3.13/main/x86_64/APKINDEX.tar.gz [2021-06-03T06:01:36.516Z] fetch https://nl.alpinelinux.org/alpine/v3.13/community/x86_64/APKINDEX.tar.gz [2021-06-03T06:01:36.780Z] OK: 150 MiB in 46 packages [2021-06-03T06:01:37.052Z] Removing intermediate container 858a03c5dbd3 [2021-06-03T06:01:37.053Z] ---> 3ff5a6a7f2c5 [2021-06-03T06:01:37.053Z] Step 7/23 : COPY . . [2021-06-03T06:01:37.313Z] ---> 4e048aead12d [2021-06-03T06:01:37.313Z] Step 8/23 : RUN go mod download [2021-06-03T06:01:37.313Z] ---> Running in 081080e03d47 [2021-06-03T06:01:37.895Z] Removing intermediate container 081080e03d47 [2021-06-03T06:01:37.895Z] ---> db4844e24c7c [2021-06-03T06:01:37.895Z] Step 9/23 : RUN make build [2021-06-03T06:01:37.895Z] ---> Running in 95278828e37e [2021-06-03T06:01:38.183Z] go mod tidy [2021-06-03T06:01:38.456Z] 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-03T06:01:50.814Z] CGO_ENABLED=1 GO111MODULE=on go install -tags=safe [2021-06-03T06:01:50.814Z] Removing intermediate container 95278828e37e [2021-06-03T06:01:50.814Z] ---> a0889ff48bc0 [2021-06-03T06:01:50.814Z] Step 10/23 : FROM alpine:3.12 [2021-06-03T06:01:51.086Z] 3.12: Pulling from library/alpine [2021-06-03T06:01:51.350Z] 339de151aab4: Pulling fs layer [2021-06-03T06:01:51.350Z] 339de151aab4: Verifying Checksum [2021-06-03T06:01:51.350Z] 339de151aab4: Download complete [2021-06-03T06:01:51.612Z] 339de151aab4: Pull complete [2021-06-03T06:01:51.612Z] Digest: sha256:36553b10a4947067b9fbb7d532951066293a68eae893beba1d9235f7d11a20ad [2021-06-03T06:01:51.612Z] Status: Downloaded newer image for alpine:3.12 [2021-06-03T06:01:51.612Z] ---> 13621d1b12d4 [2021-06-03T06:01:51.612Z] Step 11/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-06-03T06:01:51.612Z] ---> Running in 1fb850545bf2 [2021-06-03T06:01:51.877Z] Removing intermediate container 1fb850545bf2 [2021-06-03T06:01:51.877Z] ---> 29c37440df09 [2021-06-03T06:01:51.877Z] Step 12/23 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-06-03T06:01:51.877Z] ---> Running in 6d3bd84c59e8 [2021-06-03T06:01:52.450Z] Removing intermediate container 6d3bd84c59e8 [2021-06-03T06:01:52.450Z] ---> 1e03d3bdd94a [2021-06-03T06:01:52.450Z] Step 13/23 : RUN apk add --update --no-cache zeromq [2021-06-03T06:01:52.450Z] ---> Running in 14251c00fe47 [2021-06-03T06:01:52.450Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz [2021-06-03T06:01:53.396Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz [2021-06-03T06:01:53.657Z] (1/5) Installing libgcc (9.3.0-r2) [2021-06-03T06:01:53.657Z] (2/5) Installing libsodium (1.0.18-r0) [2021-06-03T06:01:53.657Z] (3/5) Installing libstdc++ (9.3.0-r2) [2021-06-03T06:01:54.602Z] (4/5) Installing libzmq (4.3.3-r0) [2021-06-03T06:01:54.866Z] (5/5) Installing zeromq (4.3.3-r0) [2021-06-03T06:01:54.867Z] Executing busybox-1.31.1-r20.trigger [2021-06-03T06:01:54.867Z] OK: 8 MiB in 19 packages [2021-06-03T06:01:55.127Z] Removing intermediate container 14251c00fe47 [2021-06-03T06:01:55.127Z] ---> cb2811d1df4a [2021-06-03T06:01:55.127Z] Step 14/23 : WORKDIR / [2021-06-03T06:01:55.127Z] ---> Running in b42b88ba219d [2021-06-03T06:01:55.390Z] Removing intermediate container b42b88ba219d [2021-06-03T06:01:55.390Z] ---> aae3672c7660 [2021-06-03T06:01:55.390Z] Step 15/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt [2021-06-03T06:01:55.390Z] ---> 798a84f40387 [2021-06-03T06:01:55.390Z] Step 16/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple [2021-06-03T06:01:55.962Z] ---> f467ceb157d2 [2021-06-03T06:01:55.962Z] Step 17/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res [2021-06-03T06:01:55.962Z] ---> 8b95866d208e [2021-06-03T06:01:55.962Z] Step 18/23 : EXPOSE 59999 [2021-06-03T06:01:55.962Z] ---> Running in d6b12f08a274 [2021-06-03T06:01:55.962Z] Removing intermediate container d6b12f08a274 [2021-06-03T06:01:55.962Z] ---> bf80456ca58c [2021-06-03T06:01:55.962Z] Step 19/23 : ENTRYPOINT ["/device-simple"] [2021-06-03T06:01:56.224Z] ---> Running in 4d30d5e2077c [2021-06-03T06:01:56.224Z] Removing intermediate container 4d30d5e2077c [2021-06-03T06:01:56.224Z] ---> 06082c9148e3 [2021-06-03T06:01:56.224Z] Step 20/23 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2021-06-03T06:01:56.224Z] ---> Running in c00a97dd6d7b [2021-06-03T06:01:56.224Z] Removing intermediate container c00a97dd6d7b [2021-06-03T06:01:56.224Z] ---> f632a9f715d6 [2021-06-03T06:01:56.224Z] Step 21/23 : LABEL arch=amd64 [2021-06-03T06:01:56.224Z] ---> Running in 4cd7350998fb [2021-06-03T06:01:56.487Z] Removing intermediate container 4cd7350998fb [2021-06-03T06:01:56.487Z] ---> e7c0ef427bff [2021-06-03T06:01:56.487Z] Step 22/23 : LABEL git_sha=2d94d2f4e2b44fa818f0f23fcf0f94b1cdf07efe [2021-06-03T06:01:56.487Z] ---> Running in f0e3df8a0812 [2021-06-03T06:01:56.487Z] Removing intermediate container f0e3df8a0812 [2021-06-03T06:01:56.487Z] ---> 7f0243d3a23d [2021-06-03T06:01:56.487Z] Step 23/23 : LABEL version=0.0.0 [2021-06-03T06:01:56.487Z] ---> Running in 530b59139f67 [2021-06-03T06:01:56.487Z] Removing intermediate container 530b59139f67 [2021-06-03T06:01:56.487Z] ---> 06526584dfdc [2021-06-03T06:01:56.487Z] [Warning] One or more build-args [MAKE ARCH] were not consumed [2021-06-03T06:01:56.487Z] Successfully built 06526584dfdc [2021-06-03T06:01:56.487Z] Successfully tagged device-sdk-simple:latest [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] libraryResource [Pipeline] sh [2021-06-03T06:01:57.515Z] ---> job-cost.sh [2021-06-03T06:01:57.515Z] lf-activate-venv(): INFO: Creating python3 venv at /tmp/venv-t5H6 [2021-06-03T06:02:07.531Z] lf-activate-venv(): INFO: Installing: zipp==1.1.0 python-openstackclient [2021-06-03T06:02:19.804Z] lf-activate-venv(): INFO: Adding /tmp/venv-t5H6/bin to PATH [2021-06-03T06:02:19.804Z] INFO: No Stack... [2021-06-03T06:02:20.379Z] INFO: Retrieving Pricing Info for: v3-standard-2 [2021-06-03T06:02:20.953Z] INFO: Archiving Costs [Pipeline] sh [2021-06-03T06:02:21.285Z] + cat /w/workspace/device-sdk-go/1/archives/cost.csv [2021-06-03T06:02:21.285Z] + cut -d, -f6 [Pipeline] lock [2021-06-03T06:02:21.349Z] Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-PR-953-1-stack-cost] [2021-06-03T06:02:21.356Z] Resource [jenkins-edgexfoundry-device-sdk-go-PR-953-1-stack-cost] did not exist. Created. [2021-06-03T06:02:21.356Z] Lock acquired on [jenkins-edgexfoundry-device-sdk-go-PR-953-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2021-06-03T06:02:21.774Z] + echo total: 0.05999999865889549 [Pipeline] stash [2021-06-03T06:02:21.909Z] Stashed 1 file(s) [Pipeline] } [2021-06-03T06:02:21.932Z] Lock released on resource [jenkins-edgexfoundry-device-sdk-go-PR-953-1-stack-cost] [Pipeline] // lock [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [2021-06-03T06:02:31.563Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/cmd/device-simple [no test files] [2021-06-03T06:02:31.563Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/config [no test files] [2021-06-03T06:02:31.563Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/driver [no test files] [2021-06-03T06:02:39.866Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/application 0.298s coverage: 25.4% of statements [2021-06-03T06:02:39.866Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/autodiscovery [no test files] [2021-06-03T06:02:39.866Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/autoevent 0.215s coverage: 28.1% of statements [2021-06-03T06:02:39.866Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/cache 0.242s coverage: 78.9% of statements [2021-06-03T06:02:39.866Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/clients 0.194s coverage: 9.0% of statements [2021-06-03T06:02:39.866Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/common [no test files] [2021-06-03T06:02:39.866Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/config [no test files] [2021-06-03T06:02:39.866Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/container [no test files] [2021-06-03T06:02:40.144Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http 0.330s coverage: 29.2% of statements [2021-06-03T06:02:40.144Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http/correlation [no test files] [2021-06-03T06:02:42.132Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/messaging 1.197s coverage: 83.3% of statements [2021-06-03T06:02:42.132Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/provision [no test files] [2021-06-03T06:02:42.132Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/telemetry [no test files] [2021-06-03T06:02:42.132Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/transformer 0.383s coverage: 58.0% of statements [2021-06-03T06:02:45.509Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/models 3.047s coverage: 89.2% of statements [2021-06-03T06:02:45.509Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/models/mocks [no test files] [2021-06-03T06:02:45.509Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/service 0.187s coverage: 5.0% of statements [2021-06-03T06:02:45.509Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/startup [no test files] [2021-06-03T06:02:46.102Z] GO111MODULE=on go vet ./... [2021-06-03T06:03:42.759Z] gofmt -l . [2021-06-03T06:03:42.759Z] [ "`gofmt -l .`" = "" ] [2021-06-03T06:03:42.759Z] ./bin/test-attribution-txt.sh [2021-06-03T06:03:42.759Z] ./bin/test-go-mod-tidy.sh [Pipeline] } [2021-06-03T06:03:43.066Z] $ docker stop --time=1 9d24112f1cba75641e2cfaccabccfac4f66527cc69d755585d4030cedec910f4 [2021-06-03T06:03:45.174Z] $ docker rm -f 9d24112f1cba75641e2cfaccabccfac4f66527cc69d755585d4030cedec910f4 [Pipeline] // withDockerContainer [Pipeline] sh [2021-06-03T06:03:46.299Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2021-06-03T06:03:46.346Z] Warning: overwriting stash ‘coverage-report’ [2021-06-03T06:03:46.944Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-06-03T06:03:47.646Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2021-06-03T06:03:48.019Z] + ls -al . [2021-06-03T06:03:48.019Z] total 248 [2021-06-03T06:03:48.019Z] drwxrwxr-x 10 jenkins jenkins 4096 Jun 3 06:03 . [2021-06-03T06:03:48.019Z] drwxrwxr-x 4 jenkins jenkins 4096 Jun 3 05:59 .. [2021-06-03T06:03:48.019Z] -rw-rw-r-- 1 jenkins jenkins 140 Jun 3 05:59 .dockerignore [2021-06-03T06:03:48.019Z] drwxrwxr-x 8 jenkins jenkins 4096 Jun 3 05:59 .git [2021-06-03T06:03:48.019Z] drwxrwxr-x 2 jenkins jenkins 4096 Jun 3 05:59 .github [2021-06-03T06:03:48.019Z] -rw-rw-r-- 1 jenkins jenkins 138 Jun 3 05:59 .gitignore [2021-06-03T06:03:48.019Z] -rw-rw-r-- 1 jenkins jenkins 987 Jun 3 05:59 Dockerfile.build [2021-06-03T06:03:48.019Z] -rw-rw-r-- 1 jenkins jenkins 894 Jun 3 05:59 Jenkinsfile [2021-06-03T06:03:48.019Z] -rw-rw-r-- 1 jenkins jenkins 11341 Jun 3 05:59 LICENSE [2021-06-03T06:03:48.019Z] -rw-rw-r-- 1 jenkins jenkins 1026 Jun 3 05:59 Makefile [2021-06-03T06:03:48.019Z] -rw-rw-r-- 1 jenkins jenkins 7652 Jun 3 05:59 README.md [2021-06-03T06:03:48.019Z] -rw-rw-r-- 1 jenkins jenkins 6616 Jun 3 05:59 RELEASE-NOTES.txt [2021-06-03T06:03:48.019Z] -rw-rw-r-- 1 jenkins jenkins 5 Jun 3 05:56 VERSION [2021-06-03T06:03:48.019Z] drwxrwxr-x 2 jenkins jenkins 4096 Jun 3 05:59 bin [2021-06-03T06:03:48.019Z] -rw-r--r-- 1 jenkins jenkins 126071 Jun 3 06:02 coverage.out [2021-06-03T06:03:48.019Z] drwxrwxr-x 5 jenkins jenkins 4096 Jun 3 05:59 example [2021-06-03T06:03:48.019Z] -rw-r--r-- 1 jenkins jenkins 575 Jun 3 06:03 go.mod [2021-06-03T06:03:48.019Z] -rw-r--r-- 1 jenkins jenkins 20499 Jun 3 06:00 go.sum [2021-06-03T06:03:48.019Z] drwxrwxr-x 15 jenkins jenkins 4096 Jun 3 05:59 internal [2021-06-03T06:03:48.019Z] drwxrwxr-x 4 jenkins jenkins 4096 Jun 3 05:59 openapi [2021-06-03T06:03:48.019Z] drwxrwxr-x 5 jenkins jenkins 4096 Jun 3 05:59 pkg [2021-06-03T06:03:48.019Z] drwxrwxr-x 4 jenkins jenkins 4096 Jun 3 05:59 snap [2021-06-03T06:03:48.019Z] -rw-rw-r-- 1 jenkins jenkins 222 Jun 3 05:59 version.go [Pipeline] isUnix [Pipeline] sh [2021-06-03T06:03:48.406Z] + 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=2d94d2f4e2b44fa818f0f23fcf0f94b1cdf07efe --label arch=arm64 --label version=0.0.0 . [2021-06-03T06:03:49.003Z] Sending build context to Docker daemon 2.749MB [2021-06-03T06:03:49.003Z] Step 1/23 : ARG BASE=golang:1.16-alpine3.12 [2021-06-03T06:03:49.003Z] Step 2/23 : FROM ${BASE} AS builder [2021-06-03T06:03:49.003Z] ---> e66119e7c4b2 [2021-06-03T06:03:49.003Z] Step 3/23 : WORKDIR /device-sdk-go [2021-06-03T06:03:49.278Z] ---> Running in 9c4820b49131 [2021-06-03T06:03:49.875Z] Removing intermediate container 9c4820b49131 [2021-06-03T06:03:49.875Z] ---> b92553c1d82b [2021-06-03T06:03:49.875Z] Step 4/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-06-03T06:03:49.875Z] ---> Running in 1332c5471897 [2021-06-03T06:03:50.471Z] Removing intermediate container 1332c5471897 [2021-06-03T06:03:50.471Z] ---> a38320841abb [2021-06-03T06:03:50.471Z] Step 5/23 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-06-03T06:03:50.471Z] ---> Running in 420966fc7666 [2021-06-03T06:03:52.444Z] Removing intermediate container 420966fc7666 [2021-06-03T06:03:52.444Z] ---> a3903023b488 [2021-06-03T06:03:52.444Z] Step 6/23 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev [2021-06-03T06:03:52.444Z] ---> Running in 90c095710e81 [2021-06-03T06:03:53.899Z] fetch https://nl.alpinelinux.org/alpine/v3.13/main/aarch64/APKINDEX.tar.gz [2021-06-03T06:03:54.501Z] fetch https://nl.alpinelinux.org/alpine/v3.13/community/aarch64/APKINDEX.tar.gz [2021-06-03T06:03:55.483Z] OK: 139 MiB in 46 packages [2021-06-03T06:03:56.464Z] Removing intermediate container 90c095710e81 [2021-06-03T06:03:56.464Z] ---> a3e9238b6807 [2021-06-03T06:03:56.464Z] Step 7/23 : COPY . . [2021-06-03T06:03:57.919Z] ---> 3ddce0a043d7 [2021-06-03T06:03:57.919Z] Step 8/23 : RUN go mod download [2021-06-03T06:03:58.201Z] ---> Running in fd48bb91613b [2021-06-03T06:04:00.192Z] Removing intermediate container fd48bb91613b [2021-06-03T06:04:00.192Z] ---> 8ad856b43439 [2021-06-03T06:04:00.192Z] Step 9/23 : RUN make build [2021-06-03T06:04:00.466Z] ---> Running in 5b0b4fc0911f [2021-06-03T06:04:01.456Z] go mod tidy [2021-06-03T06:04:02.058Z] 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-03T06:04:34.435Z] CGO_ENABLED=1 GO111MODULE=on go install -tags=safe [2021-06-03T06:04:37.061Z] Removing intermediate container 5b0b4fc0911f [2021-06-03T06:04:37.061Z] ---> 751cd82bdc3d [2021-06-03T06:04:37.061Z] Step 10/23 : FROM alpine:3.12 [2021-06-03T06:04:37.656Z] 3.12: Pulling from library/alpine [2021-06-03T06:04:37.656Z] d2f70382dc9a: Pulling fs layer [2021-06-03T06:04:37.934Z] d2f70382dc9a: Verifying Checksum [2021-06-03T06:04:37.934Z] d2f70382dc9a: Download complete [2021-06-03T06:04:38.534Z] d2f70382dc9a: Pull complete [2021-06-03T06:04:38.534Z] Digest: sha256:36553b10a4947067b9fbb7d532951066293a68eae893beba1d9235f7d11a20ad [2021-06-03T06:04:38.534Z] Status: Downloaded newer image for alpine:3.12 [2021-06-03T06:04:38.809Z] ---> 9852663dfa18 [2021-06-03T06:04:38.809Z] Step 11/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-06-03T06:04:38.809Z] ---> Running in 815db7f2cc4f [2021-06-03T06:04:39.414Z] Removing intermediate container 815db7f2cc4f [2021-06-03T06:04:39.414Z] ---> d86908c70585 [2021-06-03T06:04:39.414Z] Step 12/23 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-06-03T06:04:39.693Z] ---> Running in d9fa26497ac4 [2021-06-03T06:04:41.705Z] Removing intermediate container d9fa26497ac4 [2021-06-03T06:04:41.705Z] ---> b6d63831a785 [2021-06-03T06:04:41.705Z] Step 13/23 : RUN apk add --update --no-cache zeromq [2021-06-03T06:04:41.705Z] ---> Running in c5e7cc45b1bd [2021-06-03T06:04:43.142Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz [2021-06-03T06:04:43.743Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz [2021-06-03T06:04:44.342Z] (1/5) Installing libgcc (9.3.0-r2) [2021-06-03T06:04:44.342Z] (2/5) Installing libsodium (1.0.18-r0) [2021-06-03T06:04:44.614Z] (3/5) Installing libstdc++ (9.3.0-r2) [2021-06-03T06:04:44.614Z] (4/5) Installing libzmq (4.3.3-r0) [2021-06-03T06:04:44.888Z] (5/5) Installing zeromq (4.3.3-r0) [2021-06-03T06:04:44.888Z] Executing busybox-1.31.1-r20.trigger [2021-06-03T06:04:44.888Z] OK: 8 MiB in 19 packages [2021-06-03T06:04:46.346Z] Removing intermediate container c5e7cc45b1bd [2021-06-03T06:04:46.346Z] ---> c22ead8c90cc [2021-06-03T06:04:46.346Z] Step 14/23 : WORKDIR / [2021-06-03T06:04:46.346Z] ---> Running in 3f1f0bc2ee1c [2021-06-03T06:04:46.943Z] Removing intermediate container 3f1f0bc2ee1c [2021-06-03T06:04:46.943Z] ---> 839a043efe04 [2021-06-03T06:04:46.943Z] Step 15/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt [2021-06-03T06:04:47.543Z] ---> 461148006c37 [2021-06-03T06:04:47.543Z] Step 16/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple [2021-06-03T06:04:48.989Z] ---> 9294c22203a4 [2021-06-03T06:04:48.989Z] Step 17/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res [2021-06-03T06:04:49.592Z] ---> 19dd5d0e7bdb [2021-06-03T06:04:49.592Z] Step 18/23 : EXPOSE 59999 [2021-06-03T06:04:49.867Z] ---> Running in 8a099aad9b57 [2021-06-03T06:04:50.465Z] Removing intermediate container 8a099aad9b57 [2021-06-03T06:04:50.465Z] ---> 167a85aa9b0a [2021-06-03T06:04:50.465Z] Step 19/23 : ENTRYPOINT ["/device-simple"] [2021-06-03T06:04:50.465Z] ---> Running in 51654a0a4636 [2021-06-03T06:04:51.061Z] Removing intermediate container 51654a0a4636 [2021-06-03T06:04:51.061Z] ---> e745d5cda7c6 [2021-06-03T06:04:51.061Z] Step 20/23 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2021-06-03T06:04:51.061Z] ---> Running in 5042d23018a2 [2021-06-03T06:04:51.658Z] Removing intermediate container 5042d23018a2 [2021-06-03T06:04:51.658Z] ---> 4935b4959163 [2021-06-03T06:04:51.658Z] Step 21/23 : LABEL arch=arm64 [2021-06-03T06:04:51.658Z] ---> Running in 83c80fc9bde4 [2021-06-03T06:04:52.255Z] Removing intermediate container 83c80fc9bde4 [2021-06-03T06:04:52.255Z] ---> 34e1ce0e6233 [2021-06-03T06:04:52.255Z] Step 22/23 : LABEL git_sha=2d94d2f4e2b44fa818f0f23fcf0f94b1cdf07efe [2021-06-03T06:04:52.529Z] ---> Running in 36a61b4b27c1 [2021-06-03T06:04:52.801Z] Removing intermediate container 36a61b4b27c1 [2021-06-03T06:04:52.801Z] ---> 9fb832d8ba4a [2021-06-03T06:04:52.801Z] Step 23/23 : LABEL version=0.0.0 [2021-06-03T06:04:53.075Z] ---> Running in 88e614c5b78a [2021-06-03T06:04:53.677Z] Removing intermediate container 88e614c5b78a [2021-06-03T06:04:53.677Z] ---> 3d7a021e215a [2021-06-03T06:04:53.677Z] [Warning] One or more build-args [ARCH MAKE] were not consumed [2021-06-03T06:04:53.677Z] Successfully built 3d7a021e215a [2021-06-03T06:04:53.677Z] 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-03T06:04:54.589Z] ---> job-cost.sh [2021-06-03T06:04:54.589Z] lf-activate-venv(): INFO: Creating python3 venv at /tmp/venv-EcPY [2021-06-03T06:05:33.976Z] lf-activate-venv(): INFO: Installing: zipp==1.1.0 python-openstackclient [2021-06-03T06:06:55.771Z] lf-activate-venv(): INFO: Adding /tmp/venv-EcPY/bin to PATH [2021-06-03T06:06:55.771Z] INFO: No Stack... [2021-06-03T06:06:56.746Z] INFO: Retrieving Pricing Info for: v2-standard-4 [2021-06-03T06:06:57.336Z] INFO: Archiving Costs [Pipeline] sh [2021-06-03T06:06:57.696Z] + cat /w/workspace/device-sdk-go/1/archives/cost.csv [2021-06-03T06:06:57.696Z] + cut -d, -f6 [Pipeline] lock [2021-06-03T06:06:57.802Z] Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-PR-953-1-stack-cost] [2021-06-03T06:06:57.809Z] Resource [jenkins-edgexfoundry-device-sdk-go-PR-953-1-stack-cost] did not exist. Created. [2021-06-03T06:06:57.809Z] Lock acquired on [jenkins-edgexfoundry-device-sdk-go-PR-953-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2021-06-03T06:06:58.260Z] /w/workspace/device-sdk-go/1@tmp/durable-655a469c/script.sh: 1: /w/workspace/device-sdk-go/1@tmp/durable-655a469c/script.sh: Syntax error: Unterminated quoted string [Pipeline] sh [2021-06-03T06:06:58.633Z] + echo total: 0.18000000715255737 [Pipeline] stash [2021-06-03T06:06:58.673Z] Warning: overwriting stash ‘stack-cost’ [2021-06-03T06:06:58.827Z] Stashed 1 file(s) [Pipeline] } [2021-06-03T06:06:58.848Z] Lock released on resource [jenkins-edgexfoundry-device-sdk-go-PR-953-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-03T06:07:00.165Z] provisioning config files... [2021-06-03T06:07:00.176Z] copy managed file [device-sdk-go-codecov-token] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-953@tmp/config1883576818279633856tmp [Pipeline] { [Pipeline] sh [2021-06-03T06:07:00.549Z] + set +x [2021-06-03T06:07:00.549Z] + curl -s https://codecov.io/bash [2021-06-03T06:07:00.549Z] + bash -s -- [2021-06-03T06:07:00.549Z] [2021-06-03T06:07:00.549Z] _____ _ [2021-06-03T06:07:00.549Z] / ____| | | [2021-06-03T06:07:00.549Z] | | ___ __| | ___ ___ _____ __ [2021-06-03T06:07:00.549Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2021-06-03T06:07:00.549Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2021-06-03T06:07:00.549Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2021-06-03T06:07:00.549Z] Bash-1.0.3 [2021-06-03T06:07:00.549Z] [2021-06-03T06:07:00.549Z] [2021-06-03T06:07:00.549Z] ==> git version 2.24.4 found [2021-06-03T06:07:00.549Z] ==> 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-03T06:07:00.549Z] Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtsp scp sftp smtp smtps telnet tftp [2021-06-03T06:07:00.549Z] Features: AsynchDNS GSS-Negotiate IDN IPv6 Largefile NTLM NTLM_WB SSL libz unix-sockets [2021-06-03T06:07:00.549Z] ==> Jenkins CI detected. [2021-06-03T06:07:00.549Z] project root: . [2021-06-03T06:07:00.549Z] --> token set from env [2021-06-03T06:07:00.813Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2021-06-03T06:07:00.813Z] ==> Running gcov in . (disable via -X gcov) [2021-06-03T06:07:00.813Z] ==> Python coveragepy not found [2021-06-03T06:07:00.813Z] ==> Searching for coverage reports in: [2021-06-03T06:07:00.813Z] + . [2021-06-03T06:07:00.813Z] -> Found 1 reports [2021-06-03T06:07:00.813Z] ==> Detecting git/mercurial file structure [2021-06-03T06:07:00.813Z] ==> Reading reports [2021-06-03T06:07:00.813Z] + ./coverage.out bytes=126071 [2021-06-03T06:07:00.813Z] ==> Appending adjustments [2021-06-03T06:07:00.813Z] https://docs.codecov.io/docs/fixing-reports [2021-06-03T06:07:01.077Z] + Found adjustments [2021-06-03T06:07:01.077Z] ==> Gzipping contents [2021-06-03T06:07:01.077Z] 20K /tmp/codecov.rk6euA.gz [2021-06-03T06:07:01.077Z] ==> Uploading reports [2021-06-03T06:07:01.077Z] url: https://codecov.io [2021-06-03T06:07:01.077Z] query: branch=PR-953&commit=2d94d2f4e2b44fa818f0f23fcf0f94b1cdf07efe&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-953%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=953&job=&cmd_args= [2021-06-03T06:07:01.077Z] -> Pinging Codecov [2021-06-03T06:07:01.077Z] https://codecov.io/upload/v4?package=bash-1.0.3&token=secret&branch=PR-953&commit=2d94d2f4e2b44fa818f0f23fcf0f94b1cdf07efe&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-953%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=953&job=&cmd_args= [2021-06-03T06:07:01.652Z] -> Uploading to [2021-06-03T06:07:01.652Z] https://storage.googleapis.com/codecov/v4/raw/2021-06-03/7E55EF52A471D76F132DFD9A03CDDE97/2d94d2f4e2b44fa818f0f23fcf0f94b1cdf07efe/ddb8dcff-1bcf-46e6-b77a-bf655ae5d717.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EQM3VGPYSAFECJRMNAFIPCV2R3P2BOORCJC7NM537NPJQSFLHUDNIDWA%2F20210603%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20210603T060701Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=3458a5ebc26b9ab589223fa3cb1a92b0b0aeaad2f4e961e4cb6440326e99a782 [2021-06-03T06:07:01.652Z] % Total % Received % Xferd Average Speed Time Time Time Current [2021-06-03T06:07:01.652Z] Dload Upload Total Spent Left Speed [2021-06-03T06:07:01.916Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 16426 0 0 100 16426 0 48109 --:--:-- --:--:-- --:--:-- 48170 [2021-06-03T06:07:01.916Z] -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/device-sdk-go/commit/2d94d2f4e2b44fa818f0f23fcf0f94b1cdf07efe [Pipeline] } [2021-06-03T06:07:01.946Z] 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-03T06:07:04.408Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2021-06-03T06:07:05.038Z] ---> package-listing.sh [2021-06-03T06:07:05.038Z] ++ tr '[:upper:]' '[:lower:]' [2021-06-03T06:07:05.038Z] ++ facter osfamily [2021-06-03T06:07:05.313Z] + OS_FAMILY=redhat [2021-06-03T06:07:05.313Z] + workspace=/w/workspace/dgexfoundry_device-sdk-go_PR-953 [2021-06-03T06:07:05.313Z] + START_PACKAGES=/tmp/packages_start.txt [2021-06-03T06:07:05.313Z] + END_PACKAGES=/tmp/packages_end.txt [2021-06-03T06:07:05.313Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2021-06-03T06:07:05.313Z] + PACKAGES=/tmp/packages_start.txt [2021-06-03T06:07:05.313Z] + '[' /w/workspace/dgexfoundry_device-sdk-go_PR-953 ']' [2021-06-03T06:07:05.313Z] + PACKAGES=/tmp/packages_end.txt [2021-06-03T06:07:05.313Z] + case "${OS_FAMILY}" in [2021-06-03T06:07:05.313Z] + rpm -qa [2021-06-03T06:07:05.313Z] + sort [2021-06-03T06:07:05.889Z] + '[' -f /tmp/packages_start.txt ']' [2021-06-03T06:07:05.889Z] + '[' -f /tmp/packages_end.txt ']' [2021-06-03T06:07:05.889Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2021-06-03T06:07:05.889Z] + '[' /w/workspace/dgexfoundry_device-sdk-go_PR-953 ']' [2021-06-03T06:07:05.889Z] + mkdir -p /w/workspace/dgexfoundry_device-sdk-go_PR-953/archives/ [2021-06-03T06:07:05.889Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/dgexfoundry_device-sdk-go_PR-953/archives/ [Pipeline] echo [2021-06-03T06:07:05.932Z] 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-953/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2021-06-03T06:07:06.242Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] sh [2021-06-03T06:07:06.843Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-06-03T06:07:06.843Z] [2021-06-03T06:07:06.844Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh [2021-06-03T06:07:07.217Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-06-03T06:07:07.218Z] alpine: Pulling from edgex-lftools-log-publisher [2021-06-03T06:07:07.218Z] df20fa9351a1: Pulling fs layer [2021-06-03T06:07:07.218Z] 36b3adc4ff6f: Pulling fs layer [2021-06-03T06:07:07.218Z] 8ad3a11d3b57: Pulling fs layer [2021-06-03T06:07:07.218Z] 46f8f816bc3b: Pulling fs layer [2021-06-03T06:07:07.218Z] 93b61091891f: Pulling fs layer [2021-06-03T06:07:07.218Z] 93b9cdb0e59b: Pulling fs layer [2021-06-03T06:07:07.218Z] 5e14af77c1be: Pulling fs layer [2021-06-03T06:07:07.218Z] 01666e4c0597: Pulling fs layer [2021-06-03T06:07:07.218Z] aa168da1d23b: Pulling fs layer [2021-06-03T06:07:07.218Z] 93b9cdb0e59b: Waiting [2021-06-03T06:07:07.218Z] 46f8f816bc3b: Waiting [2021-06-03T06:07:07.218Z] 5e14af77c1be: Waiting [2021-06-03T06:07:07.218Z] 93b61091891f: Waiting [2021-06-03T06:07:07.218Z] 01666e4c0597: Waiting [2021-06-03T06:07:07.218Z] aa168da1d23b: Waiting [2021-06-03T06:07:07.218Z] 36b3adc4ff6f: Verifying Checksum [2021-06-03T06:07:07.218Z] 36b3adc4ff6f: Download complete [2021-06-03T06:07:07.218Z] 46f8f816bc3b: Verifying Checksum [2021-06-03T06:07:07.218Z] 46f8f816bc3b: Download complete [2021-06-03T06:07:07.482Z] 93b61091891f: Verifying Checksum [2021-06-03T06:07:07.482Z] 93b61091891f: Download complete [2021-06-03T06:07:07.482Z] df20fa9351a1: Verifying Checksum [2021-06-03T06:07:07.482Z] df20fa9351a1: Download complete [2021-06-03T06:07:07.482Z] 5e14af77c1be: Verifying Checksum [2021-06-03T06:07:07.482Z] 5e14af77c1be: Download complete [2021-06-03T06:07:07.482Z] 93b9cdb0e59b: Verifying Checksum [2021-06-03T06:07:07.482Z] 93b9cdb0e59b: Download complete [2021-06-03T06:07:07.482Z] 8ad3a11d3b57: Verifying Checksum [2021-06-03T06:07:07.482Z] 8ad3a11d3b57: Download complete [2021-06-03T06:07:07.482Z] 01666e4c0597: Verifying Checksum [2021-06-03T06:07:07.482Z] 01666e4c0597: Download complete [2021-06-03T06:07:07.751Z] df20fa9351a1: Pull complete [2021-06-03T06:07:07.751Z] 36b3adc4ff6f: Pull complete [2021-06-03T06:07:08.336Z] 8ad3a11d3b57: Pull complete [2021-06-03T06:07:08.607Z] 46f8f816bc3b: Pull complete [2021-06-03T06:07:08.869Z] 93b61091891f: Pull complete [2021-06-03T06:07:08.869Z] 93b9cdb0e59b: Pull complete [2021-06-03T06:07:09.131Z] 5e14af77c1be: Pull complete [2021-06-03T06:07:09.131Z] 01666e4c0597: Pull complete [2021-06-03T06:07:10.091Z] aa168da1d23b: Download complete [2021-06-03T06:07:14.361Z] aa168da1d23b: Pull complete [2021-06-03T06:07:14.625Z] Digest: sha256:ac41798234670a79351fc13b8232b4dbeccc6fb1f122f5db5169d11b1762ca7c [2021-06-03T06:07:14.625Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-06-03T06:07:14.625Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer [2021-06-03T06:07:14.752Z] prd-centos7-docker-4c-2g-271 does not seem to be running inside a container [2021-06-03T06:07:14.798Z] $ 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-953/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-953 -v /w/workspace/dgexfoundry_device-sdk-go_PR-953:/w/workspace/dgexfoundry_device-sdk-go_PR-953:rw,z -v /w/workspace/dgexfoundry_device-sdk-go_PR-953@tmp:/w/workspace/dgexfoundry_device-sdk-go_PR-953@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine cat [2021-06-03T06:07:16.887Z] $ docker top 5cf0095faa922f7faff364f9a6b2433a3c0d1cfa4506f236cb8a478e3c8782e0 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-06-03T06:07:17.347Z] + touch /tmp/pre-build-complete [Pipeline] sh [2021-06-03T06:07:17.673Z] + mkdir -p /var/log/sa [Pipeline] sh [2021-06-03T06:07:18.000Z] + ls /var/log/sa-host [2021-06-03T06:07:18.000Z] + sadf -c /var/log/sa-host/sa03 [2021-06-03T06:07:18.000Z] file_magic: OK [2021-06-03T06:07:18.000Z] HZ: Using current value: 100 [2021-06-03T06:07:18.000Z] file_header: OK [2021-06-03T06:07:18.000Z] 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-03T06:07:18.000Z] Statistics: [2021-06-03T06:07:18.000Z] HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... [2021-06-03T06:07:18.000Z] File successfully converted to sysstat format version 12.2.1 [2021-06-03T06:07:18.000Z] + sadf -c /var/log/sa-host/sa05 [2021-06-03T06:07:18.000Z] file_magic: OK [2021-06-03T06:07:18.000Z] HZ: Using current value: 100 [2021-06-03T06:07:18.000Z] file_header: OK [2021-06-03T06:07:18.000Z] 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-03T06:07:18.000Z] Statistics: [2021-06-03T06:07:18.000Z] Hnuu...uuuununununu...Hnuu...uuuununununu... [2021-06-03T06:07:18.000Z] File successfully converted to sysstat format version 12.2.1 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-06-03T06:07:18.281Z] provisioning config files... [2021-06-03T06:07:18.300Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-953@tmp/config380026984067165564tmp [Pipeline] { [Pipeline] echo [2021-06-03T06:07:18.356Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2021-06-03T06:07:18.708Z] ---> create-netrc.sh [Pipeline] } [2021-06-03T06:07:18.730Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] echo [2021-06-03T06:07:18.803Z] Running shell/python-tools-install.sh [Pipeline] libraryResource [Pipeline] sh [2021-06-03T06:07:19.163Z] ---> python-tools-install.sh [Pipeline] echo [2021-06-03T06:07:19.198Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2021-06-03T06:07:19.533Z] ---> sudo-logs.sh [2021-06-03T06:07:19.533Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2021-06-03T06:07:19.617Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2021-06-03T06:07:19.960Z] ---> job-cost.sh [2021-06-03T06:07:19.960Z] lf-activate-venv: SKIPPING [2021-06-03T06:07:19.960Z] DEBUG: total: 0.18000000715255737 [2021-06-03T06:07:19.960Z] INFO: Retrieving Stack Cost... [2021-06-03T06:07:21.352Z] INFO: Retrieving Pricing Info for: v3-standard-2 [2021-06-03T06:07:21.621Z] INFO: Archiving Costs [Pipeline] echo [2021-06-03T06:07:21.673Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2021-06-03T06:07:22.026Z] ---> logs-deploy.sh [2021-06-03T06:07:22.026Z] lf-activate-venv: SKIPPING [2021-06-03T06:07:22.026Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-953/1 [2021-06-03T06:07:22.026Z] INFO: archiving workspace using pattern(s): [2021-06-03T06:07:22.975Z] Archives upload complete. [2021-06-03T06:07:22.975Z] INFO: archiving logs to Nexus [2021-06-03T06:07:23.556Z] ---> uname -a: [2021-06-03T06:07:23.556Z] Linux prd-centos7-docker-4c-2g-271.vexxhost.local 3.10.0-1160.21.1.el7.x86_64 #1 SMP Tue Mar 16 18:28:22 UTC 2021 x86_64 Linux [2021-06-03T06:07:23.556Z] [2021-06-03T06:07:23.556Z]