Pull request #1009 opened Connecting to https://api.github.com using edgex-jenkins github personal access token Connecting to https://api.github.com to check permissions of obtain list of jpwhitemn for edgexfoundry/device-sdk-go Obtained Jenkinsfile from 9e077e81f0e0ac0fe230ae39af6cb29f8f63b841+4c8039af1df2b85f6ebf5f903b31f826607b92c3 (42d238bfbb25f3f0b64f874f47cbb9fd44dd3e0f) 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 > /usr/bin/chcon --type=ssh_home_t /tmp/jenkins-gitclient-ssh7498715657206580113.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 6c5fdc1010301c282ffa2a40e20644f1c502bfa8 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 > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f@tmp/jenkins-gitclient-ssh1553688185355628272.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 6c5fdc1010301c282ffa2a40e20644f1c502bfa8 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-1009/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 > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-sdk-go/branches/PR-1009/workspace@libs/edgex-global-pipelines@tmp/jenkins-gitclient-ssh4944860753221541004.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 > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-sdk-go/branches/PR-1009/workspace@libs/edgex-global-pipelines@tmp/jenkins-gitclient-ssh5329531971579068430.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 6c5fdc1010301c282ffa2a40e20644f1c502bfa8 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 6c5fdc1010301c282ffa2a40e20644f1c502bfa8 # timeout=10 Commit message: "Merge pull request #353 from ernestojeda/go-mod-tidy-change" > 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 > /usr/bin/chcon --type=ssh_home_t /tmp/jenkins-gitclient-ssh1958602615846066556.key > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision 98bb157299c17168c94e81a7dba3d05dc38b0f72 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-1009/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 > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-sdk-go/branches/PR-1009/workspace@libs/lf-pipelines@tmp/jenkins-gitclient-ssh7851108265777497856.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 98bb157299c17168c94e81a7dba3d05dc38b0f72 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 98bb157299c17168c94e81a7dba3d05dc38b0f72 # timeout=10 Commit message: "Docs: Add example Jenkinsfile to documentation" > 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 6c5fdc1010301c282ffa2a40e20644f1c502bfa8 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/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_BUILD_IMAGE_TARGET: builder 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/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-407 in /w/workspace/gexfoundry_device-sdk-go_PR-1009 [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/gexfoundry_device-sdk-go_PR-1009 # 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 > /usr/bin/chcon --type=ssh_home_t /w/workspace/gexfoundry_device-sdk-go_PR-1009@tmp/jenkins-gitclient-ssh7637016010393542463.key > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Merging remotes/origin/main commit 4c8039af1df2b85f6ebf5f903b31f826607b92c3 into PR head commit 9e077e81f0e0ac0fe230ae39af6cb29f8f63b841 Merge succeeded, producing 9e077e81f0e0ac0fe230ae39af6cb29f8f63b841 Checking out Revision 9e077e81f0e0ac0fe230ae39af6cb29f8f63b841 (PR-1009) > 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 > /usr/bin/chcon --type=ssh_home_t /w/workspace/gexfoundry_device-sdk-go_PR-1009@tmp/jenkins-gitclient-ssh6055859554352793479.key > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/1009/head:refs/remotes/origin/PR-1009 +refs/heads/main:refs/remotes/origin/main # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 9e077e81f0e0ac0fe230ae39af6cb29f8f63b841 # 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 > /usr/bin/chcon --type=ssh_home_t /w/workspace/gexfoundry_device-sdk-go_PR-1009@tmp/jenkins-gitclient-ssh6489766820395937659.key > git merge 4c8039af1df2b85f6ebf5f903b31f826607b92c3 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 9e077e81f0e0ac0fe230ae39af6cb29f8f63b841 # timeout=10 Commit message: "fix: update all TOML to use quote and not single-quote" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.24.4' fatal: bad object 6c5fdc1010301c282ffa2a40e20644f1c502bfa8 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2021-08-11T19:41:34.294Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2021-08-11T19:41:34.501Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2021-08-11T19:41:34.644Z] ========================================================= [2021-08-11T19:41:34.644Z] EdgeX Global Pipelines Version Info [2021-08-11T19:41:34.644Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2021-08-11T19:41:35.950Z] ------------------- [2021-08-11T19:41:35.950Z] stable info: [2021-08-11T19:41:35.950Z] ------------------- [2021-08-11T19:41:35.950Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2021-08-11T19:41:35.950Z] Commit SHA: 6c5fdc1010301c282ffa2a40e20644f1c502bfa8 [2021-08-11T19:41:35.950Z] Message: update stable to v1.0.205 [2021-08-11T19:41:37.367Z] ------------------- [2021-08-11T19:41:37.367Z] experimental info: [2021-08-11T19:41:37.367Z] ------------------- [2021-08-11T19:41:37.367Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2021-08-11T19:41:37.367Z] Commit SHA: 6c5fdc1010301c282ffa2a40e20644f1c502bfa8 [2021-08-11T19:41:37.367Z] Message: update experimental to v1.0.205 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2021-08-11T19:41:37.699Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-go-settings [Pipeline] echo [2021-08-11T19:41:37.758Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-go [Pipeline] echo [2021-08-11T19:41:37.813Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2021-08-11T19:41:37.869Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2021-08-11T19:41:37.928Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2021-08-11T19:41:37.984Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.16 [Pipeline] echo [2021-08-11T19:41:38.041Z] [edgeXSetupEnvironment]: set envvar GOPROXY = https://nexus3.edgexfoundry.org/repository/go-proxy/ [Pipeline] echo [2021-08-11T19:41:38.101Z] [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine [Pipeline] echo [2021-08-11T19:41:38.164Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = example/cmd/device-simple/Dockerfile [Pipeline] echo [2021-08-11T19:41:38.222Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2021-08-11T19:41:38.281Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2021-08-11T19:41:38.351Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2021-08-11T19:41:38.410Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-sdk-simple [Pipeline] echo [2021-08-11T19:41:38.469Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2021-08-11T19:41:38.528Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2021-08-11T19:41:38.589Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2021-08-11T19:41:38.646Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo [2021-08-11T19:41:38.700Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2021-08-11T19:41:38.761Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2021-08-11T19:41:38.818Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2021-08-11T19:41:38.875Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2021-08-11T19:41:38.930Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo [2021-08-11T19:41:38.986Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v2 [Pipeline] echo [2021-08-11T19:41:39.057Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2021-08-11T19:41:39.116Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2021-08-11T19:41:39.173Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2021-08-11T19:41:39.226Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2021-08-11T19:41:39.282Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-1009 [Pipeline] echo [2021-08-11T19:41:39.338Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-1009 [Pipeline] echo [2021-08-11T19:41:39.393Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-1009 [Pipeline] echo [2021-08-11T19:41:39.448Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 9e077e81f0e0ac0fe230ae39af6cb29f8f63b841 [Pipeline] echo [2021-08-11T19:41:39.503Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 9e077e8 [Pipeline] echo [2021-08-11T19:41:39.579Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-08-11T19:41:39.730Z] provisioning config files... [2021-08-11T19:41:39.751Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1009@tmp/config7267720882219261130tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-08-11T19:41:40.142Z] ---> docker-login.sh [2021-08-11T19:41:40.143Z] nexus3.edgexfoundry.org:10001 [2021-08-11T19:41:40.143Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-08-11T19:41:41.552Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-08-11T19:41:41.552Z] Configure a credential helper to remove this warning. See [2021-08-11T19:41:41.552Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-08-11T19:41:41.552Z] [2021-08-11T19:41:41.552Z] Login Succeeded [2021-08-11T19:41:41.552Z] nexus3.edgexfoundry.org:10002 [2021-08-11T19:41:41.552Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-08-11T19:41:41.552Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-08-11T19:41:41.552Z] Configure a credential helper to remove this warning. See [2021-08-11T19:41:41.552Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-08-11T19:41:41.552Z] [2021-08-11T19:41:41.552Z] Login Succeeded [2021-08-11T19:41:41.552Z] nexus3.edgexfoundry.org:10003 [2021-08-11T19:41:41.552Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-08-11T19:41:41.822Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-08-11T19:41:41.822Z] Configure a credential helper to remove this warning. See [2021-08-11T19:41:41.822Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-08-11T19:41:41.822Z] [2021-08-11T19:41:41.822Z] Login Succeeded [2021-08-11T19:41:41.822Z] nexus3.edgexfoundry.org:10004 [2021-08-11T19:41:41.822Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-08-11T19:41:41.822Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-08-11T19:41:41.822Z] Configure a credential helper to remove this warning. See [2021-08-11T19:41:41.822Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-08-11T19:41:41.822Z] [2021-08-11T19:41:41.822Z] Login Succeeded [2021-08-11T19:41:41.822Z] docker.io [2021-08-11T19:41:42.091Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-08-11T19:41:42.369Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-08-11T19:41:42.369Z] Configure a credential helper to remove this warning. See [2021-08-11T19:41:42.369Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-08-11T19:41:42.369Z] [2021-08-11T19:41:42.369Z] Login Succeeded [2021-08-11T19:41:42.369Z] ---> docker-login.sh ends [Pipeline] } [2021-08-11T19:41:42.430Z] 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-08-11T19:41:43.159Z] + git log --format=format:%s -1 9e077e81f0e0ac0fe230ae39af6cb29f8f63b841 [Pipeline] echo [2021-08-11T19:41:43.236Z] GIT_COMMIT: 9e077e81f0e0ac0fe230ae39af6cb29f8f63b841, Commit Message: fix: update all TOML to use quote and not single-quote [Pipeline] echo [2021-08-11T19:41:43.281Z] This is not a build commit. [Pipeline] isUnix [Pipeline] sh [2021-08-11T19:41:44.158Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-08-11T19:41:44.158Z] [2021-08-11T19:41:44.158Z] Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh [2021-08-11T19:41:44.526Z] + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-08-11T19:41:44.526Z] latest: Pulling from edgex-devops/git-semver [2021-08-11T19:41:44.526Z] 31603596830f: Pulling fs layer [2021-08-11T19:41:44.526Z] d4622e32a9a9: Pulling fs layer [2021-08-11T19:41:44.526Z] 1030fce36090: Pulling fs layer [2021-08-11T19:41:44.526Z] 6c6cb7e1b49b: Pulling fs layer [2021-08-11T19:41:44.526Z] 6c6cb7e1b49b: Waiting [2021-08-11T19:41:44.526Z] d4622e32a9a9: Verifying Checksum [2021-08-11T19:41:44.526Z] d4622e32a9a9: Download complete [2021-08-11T19:41:44.798Z] 31603596830f: Verifying Checksum [2021-08-11T19:41:44.798Z] 31603596830f: Download complete [2021-08-11T19:41:45.072Z] 6c6cb7e1b49b: Verifying Checksum [2021-08-11T19:41:45.072Z] 6c6cb7e1b49b: Download complete [2021-08-11T19:41:45.072Z] 31603596830f: Pull complete [2021-08-11T19:41:45.072Z] d4622e32a9a9: Pull complete [2021-08-11T19:41:45.662Z] 1030fce36090: Verifying Checksum [2021-08-11T19:41:45.662Z] 1030fce36090: Download complete [2021-08-11T19:41:45.929Z] 1030fce36090: Pull complete [2021-08-11T19:41:46.197Z] 6c6cb7e1b49b: Pull complete [2021-08-11T19:41:46.197Z] Digest: sha256:98b6084a185347f7b64647794a0a4774a411b925a780a33b3032b91fe10e00ab [2021-08-11T19:41:46.197Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-08-11T19:41:46.197Z] nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer [2021-08-11T19:41:46.518Z] prd-centos7-docker-4c-2g-407 does not seem to be running inside a container [2021-08-11T19:41:46.592Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-sdk-go_PR-1009 -v /w/workspace/gexfoundry_device-sdk-go_PR-1009:/w/workspace/gexfoundry_device-sdk-go_PR-1009:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1009@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1009@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat [2021-08-11T19:41:47.373Z] $ docker top f94cc065362381f6a1247d1f9ee89bf52692f74ce4613079e097d713cb02b9e4 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2021-08-11T19:41:47.601Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-08-11T19:41:47.601Z] [ssh-agent] Looking for ssh-agent implementation... [2021-08-11T19:41:47.724Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-08-11T19:41:47.725Z] $ docker exec f94cc065362381f6a1247d1f9ee89bf52692f74ce4613079e097d713cb02b9e4 ssh-agent [2021-08-11T19:41:47.847Z] SSH_AUTH_SOCK=/tmp/ssh-0GGnCNgLppBf/agent.14 [2021-08-11T19:41:47.847Z] SSH_AGENT_PID=20 [2021-08-11T19:41:47.859Z] Running ssh-add (command line suppressed) [2021-08-11T19:41:47.952Z] Identity added: /w/workspace/gexfoundry_device-sdk-go_PR-1009@tmp/private_key_7769271552881508199.key (/w/workspace/gexfoundry_device-sdk-go_PR-1009@tmp/private_key_7769271552881508199.key) [2021-08-11T19:41:47.976Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-08-11T19:41:48.384Z] + git tag --points-at HEAD [Pipeline] } [2021-08-11T19:41:48.417Z] $ docker exec --env ******** --env ******** f94cc065362381f6a1247d1f9ee89bf52692f74ce4613079e097d713cb02b9e4 ssh-agent -k [2021-08-11T19:41:48.517Z] unset SSH_AUTH_SOCK; [2021-08-11T19:41:48.517Z] unset SSH_AGENT_PID; [2021-08-11T19:41:48.517Z] echo Agent pid 20 killed; [2021-08-11T19:41:48.541Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2021-08-11T19:41:48.642Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-08-11T19:41:48.642Z] [ssh-agent] Looking for ssh-agent implementation... [2021-08-11T19:41:48.767Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-08-11T19:41:48.770Z] $ docker exec f94cc065362381f6a1247d1f9ee89bf52692f74ce4613079e097d713cb02b9e4 ssh-agent [2021-08-11T19:41:48.886Z] SSH_AUTH_SOCK=/tmp/ssh-SbzePcKS7CNc/agent.53 [2021-08-11T19:41:48.886Z] SSH_AGENT_PID=59 [2021-08-11T19:41:48.897Z] Running ssh-add (command line suppressed) [2021-08-11T19:41:48.997Z] Identity added: /w/workspace/gexfoundry_device-sdk-go_PR-1009@tmp/private_key_8875098651882191871.key (/w/workspace/gexfoundry_device-sdk-go_PR-1009@tmp/private_key_8875098651882191871.key) [2021-08-11T19:41:49.028Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-08-11T19:41:49.387Z] + git semver init [2021-08-11T19:41:49.387Z] # -> Open(): unable to determine branch for HEAD [2021-08-11T19:41:49.387Z] # $GIT_DIR = /w/workspace/gexfoundry_device-sdk-go_PR-1009/.git [2021-08-11T19:41:49.387Z] # $GIT_WORK_TREE = /w/workspace/gexfoundry_device-sdk-go_PR-1009 [2021-08-11T19:41:49.387Z] # $SEMVER_REMOTE_NAME = origin [2021-08-11T19:41:49.387Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2021-08-11T19:41:49.387Z] # $SEMVER_USER_NAME = edgex-jenkins [2021-08-11T19:41:49.387Z] # $SEMVER_BRANCH = PR-1009 [2021-08-11T19:41:49.387Z] # $SEMVER_TEMP = /tmp/semver-950405194 [2021-08-11T19:41:49.387Z] # git clone --branch semver git@github.com:edgexfoundry/device-sdk-go.git $SEMVER_TEMP [2021-08-11T19:41:50.803Z] # '/tmp/semver-950405194' -> '/w/workspace/gexfoundry_device-sdk-go_PR-1009/.semver' [2021-08-11T19:41:50.803Z] # -> Force: false [2021-08-11T19:41:50.803Z] # $SEMVER_DIR = /w/workspace/gexfoundry_device-sdk-go_PR-1009/.semver [Pipeline] } [2021-08-11T19:41:50.833Z] $ docker exec --env ******** --env ******** f94cc065362381f6a1247d1f9ee89bf52692f74ce4613079e097d713cb02b9e4 ssh-agent -k [2021-08-11T19:41:50.927Z] unset SSH_AUTH_SOCK; [2021-08-11T19:41:50.927Z] unset SSH_AGENT_PID; [2021-08-11T19:41:50.927Z] echo Agent pid 59 killed; [2021-08-11T19:41:50.950Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2021-08-11T19:41:51.408Z] + git semver [Pipeline] } [2021-08-11T19:41:51.443Z] $ docker stop --time=1 f94cc065362381f6a1247d1f9ee89bf52692f74ce4613079e097d713cb02b9e4 [2021-08-11T19:41:52.662Z] $ docker rm -f f94cc065362381f6a1247d1f9ee89bf52692f74ce4613079e097d713cb02b9e4 [Pipeline] // withDockerContainer [Pipeline] sh [2021-08-11T19:41:53.113Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2021-08-11T19:41:53.496Z] Stashed 1 file(s) [Pipeline] echo [2021-08-11T19:41:53.528Z] [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-08-11T19:42:09.046Z] Still waiting to schedule task [2021-08-11T19:42:09.046Z] Waiting for next available executor on ‘centos7-docker-4c-2g’ [2021-08-11T19:42:09.086Z] Still waiting to schedule task [2021-08-11T19:42:09.087Z] Waiting for next available executor on ‘ubuntu18.04-docker-arm64-4c-16g’ [2021-08-11T19:43:33.750Z] Running on prd-centos7-docker-4c-2g-408 in /w/workspace/gexfoundry_device-sdk-go_PR-1009 [Pipeline] { [Pipeline] ws [2021-08-11T19:43:33.842Z] Running in /w/workspace/device-sdk-go/1 [Pipeline] { [Pipeline] checkout [2021-08-11T19:43:34.012Z] Selected Git installation does not exist. Using Default [2021-08-11T19:43:34.012Z] The recommended git tool is: NONE [2021-08-11T19:43:36.792Z] using credential edgex-jenkins-ssh [2021-08-11T19:43:36.806Z] Cloning the remote Git repository [2021-08-11T19:43:36.586Z] Cloning repository git@github.com:edgexfoundry/device-sdk-go.git [2021-08-11T19:43:36.660Z] > git init /w/workspace/device-sdk-go/1 # timeout=10 [2021-08-11T19:43:36.690Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2021-08-11T19:43:36.690Z] > git --version # timeout=10 [2021-08-11T19:43:36.698Z] > git --version # 'git version 2.24.4' [2021-08-11T19:43:36.699Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-08-11T19:43:36.744Z] [INFO] Currently running in a labeled security context [2021-08-11T19:43:36.744Z] [INFO] Currently SELinux is 'enforcing' on the host [2021-08-11T19:43:36.744Z] > /usr/bin/chcon --type=ssh_home_t /w/workspace/device-sdk-go/1@tmp/jenkins-gitclient-ssh5483532863344222041.key [2021-08-11T19:43:36.755Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-08-11T19:43:38.240Z] Merging remotes/origin/main commit 4c8039af1df2b85f6ebf5f903b31f826607b92c3 into PR head commit 9e077e81f0e0ac0fe230ae39af6cb29f8f63b841 [2021-08-11T19:43:38.333Z] Merge succeeded, producing 9e077e81f0e0ac0fe230ae39af6cb29f8f63b841 [2021-08-11T19:43:38.333Z] Checking out Revision 9e077e81f0e0ac0fe230ae39af6cb29f8f63b841 (PR-1009) [2021-08-11T19:43:37.496Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2021-08-11T19:43:37.517Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-08-11T19:43:37.534Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2021-08-11T19:43:37.557Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2021-08-11T19:43:37.557Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-08-11T19:43:37.559Z] [INFO] Currently running in a labeled security context [2021-08-11T19:43:37.559Z] [INFO] Currently SELinux is 'enforcing' on the host [2021-08-11T19:43:37.559Z] > /usr/bin/chcon --type=ssh_home_t /w/workspace/device-sdk-go/1@tmp/jenkins-gitclient-ssh1687020183673538040.key [2021-08-11T19:43:37.569Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/1009/head:refs/remotes/origin/PR-1009 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2021-08-11T19:43:38.117Z] > git config core.sparsecheckout # timeout=10 [2021-08-11T19:43:38.123Z] > git checkout -f 9e077e81f0e0ac0fe230ae39af6cb29f8f63b841 # timeout=10 [2021-08-11T19:43:38.165Z] > git remote # timeout=10 [2021-08-11T19:43:38.172Z] > git config --get remote.origin.url # timeout=10 [2021-08-11T19:43:38.181Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-08-11T19:43:38.182Z] [INFO] Currently running in a labeled security context [2021-08-11T19:43:38.182Z] [INFO] Currently SELinux is 'enforcing' on the host [2021-08-11T19:43:38.182Z] > /usr/bin/chcon --type=ssh_home_t /w/workspace/device-sdk-go/1@tmp/jenkins-gitclient-ssh656974463582536938.key [2021-08-11T19:43:38.189Z] > git merge 4c8039af1df2b85f6ebf5f903b31f826607b92c3 # timeout=10 [2021-08-11T19:43:38.198Z] > git rev-parse HEAD^{commit} # timeout=10 [2021-08-11T19:43:38.211Z] > git config core.sparsecheckout # timeout=10 [2021-08-11T19:43:38.220Z] > git checkout -f 9e077e81f0e0ac0fe230ae39af6cb29f8f63b841 # timeout=10 [2021-08-11T19:43:41.917Z] Commit message: "fix: update all TOML to use quote and not single-quote" [2021-08-11T19:43:42.000Z] > git --version # timeout=10 [2021-08-11T19:43:42.003Z] > git --version # 'git version 2.24.4' [2021-08-11T19:43:42.007Z] fatal: bad object 6c5fdc1010301c282ffa2a40e20644f1c502bfa8 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-08-11T19:43:42.655Z] provisioning config files... [2021-08-11T19:43:42.674Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/1@tmp/config6091650279178324548tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-08-11T19:43:43.166Z] ---> docker-login.sh [2021-08-11T19:43:43.166Z] nexus3.edgexfoundry.org:10001 [2021-08-11T19:43:43.166Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-08-11T19:43:43.166Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-08-11T19:43:43.166Z] Configure a credential helper to remove this warning. See [2021-08-11T19:43:43.166Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-08-11T19:43:43.166Z] [2021-08-11T19:43:43.166Z] Login Succeeded [2021-08-11T19:43:43.437Z] nexus3.edgexfoundry.org:10002 [2021-08-11T19:43:43.437Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-08-11T19:43:43.437Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-08-11T19:43:43.437Z] Configure a credential helper to remove this warning. See [2021-08-11T19:43:43.437Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-08-11T19:43:43.437Z] [2021-08-11T19:43:43.437Z] Login Succeeded [2021-08-11T19:43:43.437Z] nexus3.edgexfoundry.org:10003 [2021-08-11T19:43:43.437Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-08-11T19:43:43.706Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-08-11T19:43:43.706Z] Configure a credential helper to remove this warning. See [2021-08-11T19:43:43.706Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-08-11T19:43:43.706Z] [2021-08-11T19:43:43.706Z] Login Succeeded [2021-08-11T19:43:43.706Z] nexus3.edgexfoundry.org:10004 [2021-08-11T19:43:43.706Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-08-11T19:43:43.706Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-08-11T19:43:43.706Z] Configure a credential helper to remove this warning. See [2021-08-11T19:43:43.706Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-08-11T19:43:43.706Z] [2021-08-11T19:43:43.706Z] Login Succeeded [2021-08-11T19:43:43.706Z] docker.io [2021-08-11T19:43:43.974Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-08-11T19:43:44.239Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-08-11T19:43:44.239Z] Configure a credential helper to remove this warning. See [2021-08-11T19:43:44.239Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-08-11T19:43:44.239Z] [2021-08-11T19:43:44.239Z] Login Succeeded [2021-08-11T19:43:44.239Z] ---> docker-login.sh ends [Pipeline] } [2021-08-11T19:43:44.298Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2021-08-11T19:43:44.617Z] ========================================================= [2021-08-11T19:43:44.617Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine] [2021-08-11T19:43:44.617Z] ========================================================= [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh [2021-08-11T19:43:45.009Z] + 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-08-11T19:43:45.009Z] Sending build context to Docker daemon 2.608MB [2021-08-11T19:43:45.009Z] Step 1/8 : ARG BASE=golang:1.16-alpine3.12 [2021-08-11T19:43:45.009Z] Step 2/8 : FROM ${BASE} [2021-08-11T19:43:45.278Z] 1.16-alpine: Pulling from edgex-devops/edgex-golang-base [2021-08-11T19:43:45.278Z] 540db60ca938: Pulling fs layer [2021-08-11T19:43:45.278Z] adcc1eea9eea: Pulling fs layer [2021-08-11T19:43:45.278Z] 4c4ab2625f07: Pulling fs layer [2021-08-11T19:43:45.278Z] db62176df00c: Pulling fs layer [2021-08-11T19:43:45.278Z] 3b30891b0d05: Pulling fs layer [2021-08-11T19:43:45.278Z] 06b49ca38bd5: Pulling fs layer [2021-08-11T19:43:45.278Z] c788192a36de: Pulling fs layer [2021-08-11T19:43:45.278Z] a77e37c0d609: Pulling fs layer [2021-08-11T19:43:45.278Z] c3185cebc471: Pulling fs layer [2021-08-11T19:43:45.278Z] db62176df00c: Waiting [2021-08-11T19:43:45.278Z] 3b30891b0d05: Waiting [2021-08-11T19:43:45.278Z] 06b49ca38bd5: Waiting [2021-08-11T19:43:45.278Z] c788192a36de: Waiting [2021-08-11T19:43:45.278Z] a77e37c0d609: Waiting [2021-08-11T19:43:45.278Z] c3185cebc471: Waiting [2021-08-11T19:43:45.278Z] 4c4ab2625f07: Verifying Checksum [2021-08-11T19:43:45.278Z] 4c4ab2625f07: Download complete [2021-08-11T19:43:45.278Z] adcc1eea9eea: Download complete [2021-08-11T19:43:45.278Z] 3b30891b0d05: Verifying Checksum [2021-08-11T19:43:45.278Z] 3b30891b0d05: Download complete [2021-08-11T19:43:45.278Z] 540db60ca938: Verifying Checksum [2021-08-11T19:43:45.278Z] 540db60ca938: Download complete [2021-08-11T19:43:45.548Z] c788192a36de: Verifying Checksum [2021-08-11T19:43:45.548Z] c788192a36de: Download complete [2021-08-11T19:43:45.548Z] 06b49ca38bd5: Verifying Checksum [2021-08-11T19:43:45.548Z] 06b49ca38bd5: Download complete [2021-08-11T19:43:45.548Z] 540db60ca938: Pull complete [2021-08-11T19:43:45.817Z] adcc1eea9eea: Pull complete [2021-08-11T19:43:45.817Z] 4c4ab2625f07: Pull complete [2021-08-11T19:43:46.082Z] a77e37c0d609: Verifying Checksum [2021-08-11T19:43:46.082Z] a77e37c0d609: Download complete [2021-08-11T19:43:51.414Z] c3185cebc471: Verifying Checksum [2021-08-11T19:43:51.414Z] c3185cebc471: Download complete [2021-08-11T19:43:51.414Z] db62176df00c: Verifying Checksum [2021-08-11T19:43:51.414Z] db62176df00c: Download complete [2021-08-11T19:43:54.782Z] db62176df00c: Pull complete [2021-08-11T19:43:54.782Z] 3b30891b0d05: Pull complete [2021-08-11T19:43:54.782Z] 06b49ca38bd5: Pull complete [2021-08-11T19:43:54.782Z] c788192a36de: Pull complete [2021-08-11T19:43:54.782Z] a77e37c0d609: Pull complete [2021-08-11T19:43:57.381Z] c3185cebc471: Pull complete [2021-08-11T19:43:57.381Z] Digest: sha256:c22a6272cb0662d4dba1bb41e7658fbabc00c875dcca5b7a38fb264b4004f4bd [2021-08-11T19:43:57.381Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine [2021-08-11T19:43:57.381Z] ---> 031687cdd783 [2021-08-11T19:43:57.381Z] Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-08-11T19:43:58.798Z] ---> Running in f04b619814fa [2021-08-11T19:43:58.798Z] Removing intermediate container f04b619814fa [2021-08-11T19:43:58.798Z] ---> 25eac045bffb [2021-08-11T19:43:58.798Z] Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-08-11T19:43:58.798Z] ---> Running in 05835765bf32 [2021-08-11T19:43:59.383Z] Removing intermediate container 05835765bf32 [2021-08-11T19:43:59.383Z] ---> 3191449d3270 [2021-08-11T19:43:59.383Z] Step 5/8 : RUN apk add --update --no-cache make git gcc libc-dev libsodium-dev zeromq-dev [2021-08-11T19:43:59.383Z] ---> Running in c547f0846864 [2021-08-11T19:43:59.660Z] fetch https://nl.alpinelinux.org/alpine/v3.13/main/x86_64/APKINDEX.tar.gz [2021-08-11T19:44:00.243Z] fetch https://nl.alpinelinux.org/alpine/v3.13/community/x86_64/APKINDEX.tar.gz [2021-08-11T19:44:00.825Z] OK: 219 MiB in 52 packages [2021-08-11T19:44:01.107Z] Removing intermediate container c547f0846864 [2021-08-11T19:44:01.107Z] ---> 40673e5f231f [2021-08-11T19:44:01.107Z] Step 6/8 : WORKDIR /device-sdk-go [2021-08-11T19:44:01.107Z] ---> Running in 6581bd5ebfee [2021-08-11T19:44:01.107Z] Removing intermediate container 6581bd5ebfee [2021-08-11T19:44:01.107Z] ---> 575acd4de63e [2021-08-11T19:44:01.107Z] Step 7/8 : COPY . . [2021-08-11T19:44:01.379Z] ---> 05328e298e85 [2021-08-11T19:44:01.379Z] Step 8/8 : RUN go mod download [2021-08-11T19:44:01.379Z] ---> Running in 655880667a51 [2021-08-11T19:44:13.703Z] Removing intermediate container 655880667a51 [2021-08-11T19:44:13.703Z] ---> b23d3693318a [2021-08-11T19:44:13.703Z] Successfully built b23d3693318a [2021-08-11T19:44:13.703Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh [2021-08-11T19:44:14.057Z] + docker inspect -f . ci-base-image-x86_64 [2021-08-11T19:44:14.057Z] . [Pipeline] withDockerContainer [2021-08-11T19:44:14.175Z] prd-centos7-docker-4c-2g-408 does not seem to be running inside a container [2021-08-11T19:44:14.225Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/1 -v /w/workspace/device-sdk-go/1:/w/workspace/device-sdk-go/1:rw,z -v /w/workspace/device-sdk-go/1@tmp:/w/workspace/device-sdk-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2021-08-11T19:44:14.603Z] $ docker top c7ed248c154a7b89e32f11d7b36965efcff41f8186cef450954c94fee6c8ccc8 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-08-11T19:44:15.048Z] + go version [2021-08-11T19:44:15.048Z] go version go1.16.6 linux/amd64 [Pipeline] } [2021-08-11T19:44:15.078Z] $ docker stop --time=1 c7ed248c154a7b89e32f11d7b36965efcff41f8186cef450954c94fee6c8ccc8 [2021-08-11T19:44:16.280Z] $ docker rm -f c7ed248c154a7b89e32f11d7b36965efcff41f8186cef450954c94fee6c8ccc8 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-08-11T19:44:16.989Z] + docker inspect -f . ci-base-image-x86_64 [2021-08-11T19:44:16.989Z] . [Pipeline] withDockerContainer [2021-08-11T19:44:17.114Z] prd-centos7-docker-4c-2g-408 does not seem to be running inside a container [2021-08-11T19:44:17.167Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/1 -v /w/workspace/device-sdk-go/1:/w/workspace/device-sdk-go/1:rw,z -v /w/workspace/device-sdk-go/1@tmp:/w/workspace/device-sdk-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2021-08-11T19:44:17.530Z] $ docker top 3727488ed1a856f54ebe8011e7b66b1fc51638c5239124a0ddd9169e77da521f -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh [2021-08-11T19:44:18.031Z] + go mod tidy [Pipeline] sh [2021-08-11T19:44:18.634Z] + make test [2021-08-11T19:44:18.634Z] go mod tidy [2021-08-11T19:44:18.634Z] GO111MODULE=on go test -race -coverprofile=coverage.out ./... [2021-08-11T19:44:24.003Z] ? github.com/edgexfoundry/device-sdk-go/v2 [no test files] [2021-08-11T19:44:46.200Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/cmd/device-simple [no test files] [2021-08-11T19:44:46.200Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/config [no test files] [2021-08-11T19:44:46.200Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/driver [no test files] [2021-08-11T19:44:48.807Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/application 0.066s coverage: 24.2% of statements [2021-08-11T19:44:48.807Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/autodiscovery [no test files] [2021-08-11T19:44:48.807Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/autoevent 0.052s coverage: 28.1% of statements [2021-08-11T19:44:48.807Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/cache 0.050s coverage: 78.9% of statements [2021-08-11T19:44:49.078Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/clients 0.051s coverage: 9.0% of statements [2021-08-11T19:44:49.078Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/common [no test files] [2021-08-11T19:44:49.078Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/config [no test files] [2021-08-11T19:44:49.078Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/container [no test files] [2021-08-11T19:44:49.668Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http 0.064s coverage: 28.7% of statements [2021-08-11T19:44:49.668Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http/correlation [no test files] [2021-08-11T19:44:51.071Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/messaging 1.067s coverage: 83.3% of statements [2021-08-11T19:44:51.071Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/provision [no test files] [2021-08-11T19:44:51.071Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/telemetry [no test files] [2021-08-11T19:44:51.071Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/transformer 0.075s coverage: 58.0% of statements [2021-08-11T19:44:52.035Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/models 0.813s coverage: 89.2% of statements [2021-08-11T19:44:52.035Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/models/mocks [no test files] [2021-08-11T19:44:52.035Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/service 0.047s coverage: 4.9% of statements [2021-08-11T19:44:52.035Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/startup [no test files] [2021-08-11T19:44:52.035Z] GO111MODULE=on go vet ./... [2021-08-11T19:45:10.288Z] gofmt -l . [2021-08-11T19:45:10.288Z] [ "`gofmt -l .`" = "" ] [2021-08-11T19:45:10.288Z] ./bin/test-attribution-txt.sh [2021-08-11T19:45:10.288Z] ./bin/test-go-mod-tidy.sh [Pipeline] } [2021-08-11T19:45:10.321Z] $ docker stop --time=1 3727488ed1a856f54ebe8011e7b66b1fc51638c5239124a0ddd9169e77da521f [2021-08-11T19:45:11.858Z] $ docker rm -f 3727488ed1a856f54ebe8011e7b66b1fc51638c5239124a0ddd9169e77da521f [Pipeline] // withDockerContainer [Pipeline] sh [2021-08-11T19:45:12.381Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2021-08-11T19:45:12.650Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2021-08-11T19:45:14.126Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2021-08-11T19:45:14.455Z] + ls -al . [2021-08-11T19:45:14.455Z] total 236 [2021-08-11T19:45:14.455Z] drwxrwxr-x. 10 jenkins jenkins 4096 Aug 11 19:45 . [2021-08-11T19:45:14.455Z] drwxrwxr-x. 4 jenkins jenkins 28 Aug 11 19:43 .. [2021-08-11T19:45:14.455Z] drwxrwxr-x. 2 jenkins jenkins 64 Aug 11 19:43 bin [2021-08-11T19:45:14.455Z] -rw-rw-r--. 1 jenkins jenkins 24816 Aug 11 19:43 CHANGELOG.md [2021-08-11T19:45:14.455Z] -rw-r--r--. 1 jenkins jenkins 125634 Aug 11 19:44 coverage.out [2021-08-11T19:45:14.455Z] -rw-rw-r--. 1 jenkins jenkins 987 Aug 11 19:43 Dockerfile.build [2021-08-11T19:45:14.455Z] -rw-rw-r--. 1 jenkins jenkins 140 Aug 11 19:43 .dockerignore [2021-08-11T19:45:14.455Z] drwxrwxr-x. 5 jenkins jenkins 62 Aug 11 19:43 example [2021-08-11T19:45:14.455Z] drwxrwxr-x. 8 jenkins jenkins 179 Aug 11 19:43 .git [2021-08-11T19:45:14.455Z] drwxrwxr-x. 3 jenkins jenkins 125 Aug 11 19:43 .github [2021-08-11T19:45:14.455Z] -rw-rw-r--. 1 jenkins jenkins 138 Aug 11 19:43 .gitignore [2021-08-11T19:45:14.455Z] -rw-r--r--. 1 jenkins jenkins 548 Aug 11 19:45 go.mod [2021-08-11T19:45:14.455Z] -rw-r--r--. 1 jenkins jenkins 20301 Aug 11 19:44 go.sum [2021-08-11T19:45:14.455Z] -rw-rw-r--. 1 jenkins jenkins 677 Aug 11 19:43 GOVERNANCE.md [2021-08-11T19:45:14.455Z] drwxrwxr-x. 15 jenkins jenkins 224 Aug 11 19:43 internal [2021-08-11T19:45:14.455Z] -rw-rw-r--. 1 jenkins jenkins 880 Aug 11 19:43 Jenkinsfile [2021-08-11T19:45:14.455Z] -rw-rw-r--. 1 jenkins jenkins 11341 Aug 11 19:43 LICENSE [2021-08-11T19:45:14.455Z] -rw-rw-r--. 1 jenkins jenkins 1026 Aug 11 19:43 Makefile [2021-08-11T19:45:14.455Z] drwxrwxr-x. 3 jenkins jenkins 16 Aug 11 19:43 openapi [2021-08-11T19:45:14.455Z] -rw-rw-r--. 1 jenkins jenkins 619 Aug 11 19:43 OWNERS.md [2021-08-11T19:45:14.455Z] drwxrwxr-x. 5 jenkins jenkins 50 Aug 11 19:43 pkg [2021-08-11T19:45:14.455Z] -rw-rw-r--. 1 jenkins jenkins 7646 Aug 11 19:43 README.md [2021-08-11T19:45:14.455Z] drwxrwxr-x. 4 jenkins jenkins 54 Aug 11 19:43 snap [2021-08-11T19:45:14.455Z] -rw-rw-r--. 1 jenkins jenkins 5 Aug 11 19:41 VERSION [2021-08-11T19:45:14.455Z] -rw-rw-r--. 1 jenkins jenkins 222 Aug 11 19:43 version.go [Pipeline] isUnix [Pipeline] sh [2021-08-11T19:45:14.807Z] + 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=9e077e81f0e0ac0fe230ae39af6cb29f8f63b841 --label arch=amd64 --label version=0.0.0 . [2021-08-11T19:45:14.807Z] Sending build context to Docker daemon 2.734MB [2021-08-11T19:45:14.807Z] Step 1/23 : ARG BASE=golang:1.16-alpine3.12 [2021-08-11T19:45:14.807Z] Step 2/23 : FROM ${BASE} AS builder [2021-08-11T19:45:14.807Z] ---> b23d3693318a [2021-08-11T19:45:14.807Z] Step 3/23 : WORKDIR /device-sdk-go [2021-08-11T19:45:14.807Z] ---> Running in 9ef55bd07d7b [2021-08-11T19:45:15.074Z] Removing intermediate container 9ef55bd07d7b [2021-08-11T19:45:15.074Z] ---> 81309478b792 [2021-08-11T19:45:15.074Z] Step 4/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-08-11T19:45:15.074Z] ---> Running in 5c2312828d72 [2021-08-11T19:45:15.074Z] Removing intermediate container 5c2312828d72 [2021-08-11T19:45:15.074Z] ---> 8530b8e57097 [2021-08-11T19:45:15.074Z] Step 5/23 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-08-11T19:45:15.074Z] ---> Running in 99f5ce3f7ed4 [2021-08-11T19:45:15.658Z] Removing intermediate container 99f5ce3f7ed4 [2021-08-11T19:45:15.658Z] ---> b4e450ca6bd3 [2021-08-11T19:45:15.658Z] Step 6/23 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev [2021-08-11T19:45:15.658Z] ---> Running in 65e9566bc32b [2021-08-11T19:45:15.922Z] fetch https://nl.alpinelinux.org/alpine/v3.13/main/x86_64/APKINDEX.tar.gz [2021-08-11T19:45:16.501Z] fetch https://nl.alpinelinux.org/alpine/v3.13/community/x86_64/APKINDEX.tar.gz [2021-08-11T19:45:17.081Z] OK: 219 MiB in 52 packages [2021-08-11T19:45:17.346Z] Removing intermediate container 65e9566bc32b [2021-08-11T19:45:17.346Z] ---> 5baaa6e327a4 [2021-08-11T19:45:17.346Z] Step 7/23 : COPY . . [2021-08-11T19:45:17.611Z] ---> 79cd7f543875 [2021-08-11T19:45:17.611Z] Step 8/23 : RUN go mod download [2021-08-11T19:45:17.611Z] ---> Running in 05b8b8d308d3 [2021-08-11T19:45:18.201Z] Removing intermediate container 05b8b8d308d3 [2021-08-11T19:45:18.201Z] ---> 319cc8c381f6 [2021-08-11T19:45:18.201Z] Step 9/23 : RUN make build [2021-08-11T19:45:18.201Z] ---> Running in 57a796805505 [2021-08-11T19:45:18.201Z] go mod tidy [2021-08-11T19:45:18.470Z] 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-08-11T19:45:22.241Z] Running on prd-ubuntu18.04-docker-arm64-4c-16g-409 in /w/workspace/gexfoundry_device-sdk-go_PR-1009 [Pipeline] { [Pipeline] ws [2021-08-11T19:45:22.299Z] Running in /w/workspace/device-sdk-go/1 [Pipeline] { [Pipeline] checkout [2021-08-11T19:45:22.545Z] Selected Git installation does not exist. Using Default [2021-08-11T19:45:22.545Z] The recommended git tool is: NONE [2021-08-11T19:45:27.791Z] using credential edgex-jenkins-ssh [2021-08-11T19:45:27.811Z] Cloning the remote Git repository [2021-08-11T19:45:28.586Z] CGO_ENABLED=1 GO111MODULE=on go install -tags=safe [2021-08-11T19:45:27.868Z] Cloning repository git@github.com:edgexfoundry/device-sdk-go.git [2021-08-11T19:45:28.016Z] > git init /w/workspace/device-sdk-go/1 # timeout=10 [2021-08-11T19:45:28.118Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2021-08-11T19:45:28.119Z] > git --version # timeout=10 [2021-08-11T19:45:28.154Z] > git --version # 'git version 2.17.1' [2021-08-11T19:45:28.156Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-08-11T19:45:28.271Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-08-11T19:45:29.168Z] Removing intermediate container 57a796805505 [2021-08-11T19:45:29.168Z] ---> 9244f697ffbc [2021-08-11T19:45:29.168Z] Step 10/23 : FROM alpine:3.12 [2021-08-11T19:45:29.747Z] 3.12: Pulling from library/alpine [2021-08-11T19:45:29.747Z] 339de151aab4: Pulling fs layer [2021-08-11T19:45:30.014Z] 339de151aab4: Verifying Checksum [2021-08-11T19:45:30.014Z] 339de151aab4: Download complete [2021-08-11T19:45:29.619Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2021-08-11T19:45:29.640Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-08-11T19:45:29.671Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2021-08-11T19:45:29.705Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2021-08-11T19:45:29.706Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-08-11T19:45:29.718Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/1009/head:refs/remotes/origin/PR-1009 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2021-08-11T19:45:30.288Z] 339de151aab4: Pull complete [2021-08-11T19:45:30.288Z] Digest: sha256:de25c7fc6c4f3a27c7f0c2dff454e4671823a34d88abd533f210848d527e0fbb [2021-08-11T19:45:30.288Z] Status: Downloaded newer image for alpine:3.12 [2021-08-11T19:45:30.288Z] ---> 13621d1b12d4 [2021-08-11T19:45:30.288Z] Step 11/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-08-11T19:45:30.288Z] ---> Running in 6599d3244670 [2021-08-11T19:45:30.288Z] Removing intermediate container 6599d3244670 [2021-08-11T19:45:30.288Z] ---> 7c8a39595a1c [2021-08-11T19:45:30.288Z] Step 12/23 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-08-11T19:45:30.288Z] ---> Running in 50258027051f [2021-08-11T19:45:30.320Z] Merging remotes/origin/main commit 4c8039af1df2b85f6ebf5f903b31f826607b92c3 into PR head commit 9e077e81f0e0ac0fe230ae39af6cb29f8f63b841 [2021-08-11T19:45:30.526Z] Merge succeeded, producing 9e077e81f0e0ac0fe230ae39af6cb29f8f63b841 [2021-08-11T19:45:30.527Z] Checking out Revision 9e077e81f0e0ac0fe230ae39af6cb29f8f63b841 (PR-1009) [2021-08-11T19:45:30.883Z] Removing intermediate container 50258027051f [2021-08-11T19:45:30.883Z] ---> 2eeede3e810d [2021-08-11T19:45:30.883Z] Step 13/23 : RUN apk add --update --no-cache zeromq [2021-08-11T19:45:30.883Z] ---> Running in 0b8f44cde2fd [2021-08-11T19:45:31.151Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz [2021-08-11T19:45:30.344Z] > git config core.sparsecheckout # timeout=10 [2021-08-11T19:45:30.361Z] > git checkout -f 9e077e81f0e0ac0fe230ae39af6cb29f8f63b841 # timeout=10 [2021-08-11T19:45:30.465Z] > git remote # timeout=10 [2021-08-11T19:45:30.480Z] > git config --get remote.origin.url # timeout=10 [2021-08-11T19:45:30.491Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-08-11T19:45:30.502Z] > git merge 4c8039af1df2b85f6ebf5f903b31f826607b92c3 # timeout=10 [2021-08-11T19:45:30.521Z] > git rev-parse HEAD^{commit} # timeout=10 [2021-08-11T19:45:30.539Z] > git config core.sparsecheckout # timeout=10 [2021-08-11T19:45:30.554Z] > git checkout -f 9e077e81f0e0ac0fe230ae39af6cb29f8f63b841 # timeout=10 [2021-08-11T19:45:31.737Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz [2021-08-11T19:45:32.001Z] (1/5) Installing libgcc (9.3.0-r2) [2021-08-11T19:45:32.265Z] (2/5) Installing libsodium (1.0.18-r0) [2021-08-11T19:45:32.265Z] (3/5) Installing libstdc++ (9.3.0-r2) [2021-08-11T19:45:33.218Z] (4/5) Installing libzmq (4.3.3-r0) [2021-08-11T19:45:33.219Z] (5/5) Installing zeromq (4.3.3-r0) [2021-08-11T19:45:33.219Z] Executing busybox-1.31.1-r20.trigger [2021-08-11T19:45:33.219Z] OK: 8 MiB in 19 packages [2021-08-11T19:45:33.487Z] Removing intermediate container 0b8f44cde2fd [2021-08-11T19:45:33.487Z] ---> 53e3d4fdfaef [2021-08-11T19:45:33.487Z] Step 14/23 : WORKDIR / [2021-08-11T19:45:33.487Z] ---> Running in 91d772c0ce45 [2021-08-11T19:45:33.754Z] Removing intermediate container 91d772c0ce45 [2021-08-11T19:45:33.754Z] ---> 1c741deb6291 [2021-08-11T19:45:33.754Z] Step 15/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt [2021-08-11T19:45:33.754Z] ---> b050c18164f8 [2021-08-11T19:45:33.754Z] Step 16/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple [2021-08-11T19:45:34.025Z] ---> e1b2497f3836 [2021-08-11T19:45:34.025Z] Step 17/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res [2021-08-11T19:45:34.291Z] ---> 90e33a7be562 [2021-08-11T19:45:34.291Z] Step 18/23 : EXPOSE 59999 [2021-08-11T19:45:34.291Z] ---> Running in 6d39a057942b [2021-08-11T19:45:34.291Z] Removing intermediate container 6d39a057942b [2021-08-11T19:45:34.291Z] ---> 83193a7b308e [2021-08-11T19:45:34.291Z] Step 19/23 : ENTRYPOINT ["/device-simple"] [2021-08-11T19:45:34.291Z] ---> Running in 267907ba8662 [2021-08-11T19:45:34.557Z] Removing intermediate container 267907ba8662 [2021-08-11T19:45:34.557Z] ---> 2ee2d69f0663 [2021-08-11T19:45:34.557Z] Step 20/23 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2021-08-11T19:45:34.557Z] ---> Running in 38b8a6c5e4f7 [2021-08-11T19:45:34.557Z] Removing intermediate container 38b8a6c5e4f7 [2021-08-11T19:45:34.557Z] ---> a3aab7b17930 [2021-08-11T19:45:34.557Z] Step 21/23 : LABEL arch=amd64 [2021-08-11T19:45:34.557Z] ---> Running in 3f5d4de2be74 [2021-08-11T19:45:34.824Z] Removing intermediate container 3f5d4de2be74 [2021-08-11T19:45:34.825Z] ---> 799746ac73d8 [2021-08-11T19:45:34.825Z] Step 22/23 : LABEL git_sha=9e077e81f0e0ac0fe230ae39af6cb29f8f63b841 [2021-08-11T19:45:34.825Z] ---> Running in c943e8bae064 [2021-08-11T19:45:34.825Z] Removing intermediate container c943e8bae064 [2021-08-11T19:45:34.825Z] ---> 7c126db5a7b3 [2021-08-11T19:45:34.825Z] Step 23/23 : LABEL version=0.0.0 [2021-08-11T19:45:34.825Z] ---> Running in 4e74e1696c2c [2021-08-11T19:45:34.825Z] Removing intermediate container 4e74e1696c2c [2021-08-11T19:45:34.825Z] ---> 3f55547c1a8a [2021-08-11T19:45:34.825Z] [Warning] One or more build-args [ARCH MAKE] were not consumed [2021-08-11T19:45:34.825Z] Successfully built 3f55547c1a8a [2021-08-11T19:45:34.825Z] Successfully tagged device-sdk-simple:latest [Pipeline] } [Pipeline] // stage [Pipeline] stage [2021-08-11T19:45:34.937Z] Commit message: "fix: update all TOML to use quote and not single-quote" [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [2021-08-11T19:45:35.005Z] > git --version # timeout=10 [2021-08-11T19:45:35.016Z] > git --version # 'git version 2.17.1' [2021-08-11T19:45:35.027Z] fatal: bad object 6c5fdc1010301c282ffa2a40e20644f1c502bfa8 [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [2021-08-11T19:45:35.638Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2021-08-11T19:45:35.638Z] [2021-08-11T19:45:35.638Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-08-11T19:45:35.754Z] provisioning config files... [Pipeline] isUnix [2021-08-11T19:45:35.783Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/1@tmp/config3537107577889564433tmp [Pipeline] sh [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-08-11T19:45:36.117Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2021-08-11T19:45:36.117Z] latest: Pulling from edgex-lftools-log-publisher [2021-08-11T19:45:36.117Z] b4d181a07f80: Pulling fs layer [2021-08-11T19:45:36.117Z] a1111a8f2ec3: Pulling fs layer [2021-08-11T19:45:36.117Z] ed53099fbce6: Pulling fs layer [2021-08-11T19:45:36.117Z] dc539afda2c1: Pulling fs layer [2021-08-11T19:45:36.117Z] 77bc0d833cb6: Pulling fs layer [2021-08-11T19:45:36.117Z] 9065ff56babe: Pulling fs layer [2021-08-11T19:45:36.117Z] d287ab97295c: Pulling fs layer [2021-08-11T19:45:36.117Z] 77bc0d833cb6: Waiting [2021-08-11T19:45:36.117Z] 9065ff56babe: Waiting [2021-08-11T19:45:36.117Z] d287ab97295c: Waiting [2021-08-11T19:45:36.117Z] dc539afda2c1: Waiting [2021-08-11T19:45:36.383Z] a1111a8f2ec3: Verifying Checksum [2021-08-11T19:45:36.383Z] a1111a8f2ec3: Download complete [2021-08-11T19:45:36.383Z] dc539afda2c1: Verifying Checksum [2021-08-11T19:45:36.383Z] dc539afda2c1: Download complete [2021-08-11T19:45:36.492Z] ---> docker-login.sh [2021-08-11T19:45:36.492Z] nexus3.edgexfoundry.org:10001 [2021-08-11T19:45:36.647Z] 77bc0d833cb6: Verifying Checksum [2021-08-11T19:45:36.647Z] 77bc0d833cb6: Download complete [2021-08-11T19:45:36.647Z] 9065ff56babe: Download complete [2021-08-11T19:45:36.647Z] ed53099fbce6: Verifying Checksum [2021-08-11T19:45:36.647Z] ed53099fbce6: Download complete [2021-08-11T19:45:37.102Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-08-11T19:45:37.600Z] b4d181a07f80: Verifying Checksum [2021-08-11T19:45:37.600Z] b4d181a07f80: Download complete [2021-08-11T19:45:37.700Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-08-11T19:45:37.700Z] Configure a credential helper to remove this warning. See [2021-08-11T19:45:37.700Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-08-11T19:45:37.700Z] [2021-08-11T19:45:37.700Z] Login Succeeded [2021-08-11T19:45:37.700Z] nexus3.edgexfoundry.org:10002 [2021-08-11T19:45:37.974Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-08-11T19:45:38.253Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-08-11T19:45:38.253Z] Configure a credential helper to remove this warning. See [2021-08-11T19:45:38.253Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-08-11T19:45:38.253Z] [2021-08-11T19:45:38.253Z] Login Succeeded [2021-08-11T19:45:38.253Z] nexus3.edgexfoundry.org:10003 [2021-08-11T19:45:38.527Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-08-11T19:45:38.802Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-08-11T19:45:38.802Z] Configure a credential helper to remove this warning. See [2021-08-11T19:45:38.802Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-08-11T19:45:38.802Z] [2021-08-11T19:45:38.802Z] Login Succeeded [2021-08-11T19:45:38.802Z] nexus3.edgexfoundry.org:10004 [2021-08-11T19:45:39.028Z] b4d181a07f80: Pull complete [2021-08-11T19:45:39.028Z] a1111a8f2ec3: Pull complete [2021-08-11T19:45:39.084Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-08-11T19:45:39.361Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-08-11T19:45:39.361Z] Configure a credential helper to remove this warning. See [2021-08-11T19:45:39.361Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-08-11T19:45:39.361Z] [2021-08-11T19:45:39.361Z] Login Succeeded [2021-08-11T19:45:39.361Z] docker.io [2021-08-11T19:45:39.614Z] ed53099fbce6: Pull complete [2021-08-11T19:45:39.615Z] dc539afda2c1: Pull complete [2021-08-11T19:45:39.639Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-08-11T19:45:39.882Z] 77bc0d833cb6: Pull complete [2021-08-11T19:45:39.882Z] 9065ff56babe: Pull complete [2021-08-11T19:45:40.240Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-08-11T19:45:40.240Z] Configure a credential helper to remove this warning. See [2021-08-11T19:45:40.240Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-08-11T19:45:40.240Z] [2021-08-11T19:45:40.240Z] Login Succeeded [2021-08-11T19:45:40.240Z] ---> docker-login.sh ends [Pipeline] } [2021-08-11T19:45:40.363Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [2021-08-11T19:45:40.468Z] d287ab97295c: Verifying Checksum [2021-08-11T19:45:40.468Z] d287ab97295c: Download complete [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2021-08-11T19:45:41.182Z] ========================================================= [2021-08-11T19:45:41.182Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine] [2021-08-11T19:45:41.182Z] ========================================================= [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh [2021-08-11T19:45:41.598Z] + 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-08-11T19:45:42.212Z] Sending build context to Docker daemon 2.617MB [2021-08-11T19:45:42.212Z] Step 1/8 : ARG BASE=golang:1.16-alpine3.12 [2021-08-11T19:45:42.212Z] Step 2/8 : FROM ${BASE} [2021-08-11T19:45:42.485Z] 1.16-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2021-08-11T19:45:42.485Z] 595b0fe564bb: Pulling fs layer [2021-08-11T19:45:42.485Z] 24495759ef45: Pulling fs layer [2021-08-11T19:45:42.485Z] d148012ef14d: Pulling fs layer [2021-08-11T19:45:42.485Z] e90a11edd702: Pulling fs layer [2021-08-11T19:45:42.485Z] d77568369979: Pulling fs layer [2021-08-11T19:45:42.485Z] fc1c9f9a7f3b: Pulling fs layer [2021-08-11T19:45:42.485Z] 170f2ba95c9a: Pulling fs layer [2021-08-11T19:45:42.485Z] 97ac5df62f85: Pulling fs layer [2021-08-11T19:45:42.485Z] fc1c9f9a7f3b: Waiting [2021-08-11T19:45:42.485Z] e90a11edd702: Waiting [2021-08-11T19:45:42.485Z] d77568369979: Waiting [2021-08-11T19:45:42.485Z] 97ac5df62f85: Waiting [2021-08-11T19:45:42.485Z] 170f2ba95c9a: Waiting [2021-08-11T19:45:42.485Z] d148012ef14d: Verifying Checksum [2021-08-11T19:45:42.485Z] d148012ef14d: Download complete [2021-08-11T19:45:42.485Z] 24495759ef45: Download complete [2021-08-11T19:45:42.766Z] d77568369979: Verifying Checksum [2021-08-11T19:45:42.766Z] d77568369979: Download complete [2021-08-11T19:45:42.766Z] fc1c9f9a7f3b: Download complete [2021-08-11T19:45:42.766Z] 595b0fe564bb: Download complete [2021-08-11T19:45:42.766Z] 170f2ba95c9a: Verifying Checksum [2021-08-11T19:45:42.766Z] 170f2ba95c9a: Download complete [2021-08-11T19:45:43.372Z] 595b0fe564bb: Pull complete [2021-08-11T19:45:44.355Z] 24495759ef45: Pull complete [2021-08-11T19:45:44.749Z] d287ab97295c: Pull complete [2021-08-11T19:45:44.749Z] Digest: sha256:0c69325c24349bfb3ea32a3c3cbcab1fb66df42c981276dd8ebcf6aa441257c4 [2021-08-11T19:45:44.749Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2021-08-11T19:45:44.749Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] withDockerContainer [2021-08-11T19:45:44.865Z] prd-centos7-docker-4c-2g-408 does not seem to be running inside a container [2021-08-11T19:45:44.919Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/device-sdk-go/1 -v /w/workspace/device-sdk-go/1:/w/workspace/device-sdk-go/1:rw,z -v /w/workspace/device-sdk-go/1@tmp:/w/workspace/device-sdk-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2021-08-11T19:45:44.966Z] d148012ef14d: Pull complete [2021-08-11T19:45:45.951Z] 97ac5df62f85: Verifying Checksum [2021-08-11T19:45:45.951Z] 97ac5df62f85: Download complete [2021-08-11T19:45:46.551Z] e90a11edd702: Verifying Checksum [2021-08-11T19:45:46.551Z] e90a11edd702: Download complete [2021-08-11T19:45:47.548Z] $ docker top 09d877efb0aa6bdc64e0a64dfa248a05bd144e384ac870a5829cafa0088f9d88 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-08-11T19:45:48.134Z] ---> job-cost.sh [2021-08-11T19:45:48.134Z] lf-activate-venv: SKIPPING [2021-08-11T19:45:48.134Z] INFO: No Stack... [2021-08-11T19:45:49.093Z] INFO: Retrieving Pricing Info for: v3-standard-2 [2021-08-11T19:45:49.674Z] INFO: Archiving Costs [Pipeline] sh [2021-08-11T19:45:50.024Z] + cat /w/workspace/device-sdk-go/1/archives/cost.csv [2021-08-11T19:45:50.024Z] + cut -d, -f6 [Pipeline] lock [2021-08-11T19:45:50.098Z] Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-PR-1009-1-stack-cost] [2021-08-11T19:45:50.105Z] Resource [jenkins-edgexfoundry-device-sdk-go-PR-1009-1-stack-cost] did not exist. Created. [2021-08-11T19:45:50.105Z] Lock acquired on [jenkins-edgexfoundry-device-sdk-go-PR-1009-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2021-08-11T19:45:50.552Z] + echo total: 0.05999999865889549 [Pipeline] stash [2021-08-11T19:45:50.634Z] Stashed 1 file(s) [Pipeline] } [2021-08-11T19:45:50.660Z] Lock released on resource [jenkins-edgexfoundry-device-sdk-go-PR-1009-1-stack-cost] [Pipeline] // lock [Pipeline] } [2021-08-11T19:45:50.747Z] $ docker stop --time=1 09d877efb0aa6bdc64e0a64dfa248a05bd144e384ac870a5829cafa0088f9d88 [2021-08-11T19:45:51.887Z] $ docker rm -f 09d877efb0aa6bdc64e0a64dfa248a05bd144e384ac870a5829cafa0088f9d88 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [2021-08-11T19:45:56.727Z] e90a11edd702: Pull complete [2021-08-11T19:45:57.331Z] d77568369979: Pull complete [2021-08-11T19:45:57.610Z] fc1c9f9a7f3b: Pull complete [2021-08-11T19:45:58.212Z] 170f2ba95c9a: Pull complete [2021-08-11T19:46:03.624Z] 97ac5df62f85: Pull complete [2021-08-11T19:46:03.624Z] Digest: sha256:84204f9419e0e30039067cc16e8ccc9a99ccb3a3f51ea7567ddff3f7e64b8ba8 [2021-08-11T19:46:03.624Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine [2021-08-11T19:46:03.624Z] ---> 04bc70af865f [2021-08-11T19:46:03.624Z] Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-08-11T19:46:09.067Z] ---> Running in fd7f705a7d26 [2021-08-11T19:46:09.067Z] Removing intermediate container fd7f705a7d26 [2021-08-11T19:46:09.067Z] ---> f7b61cd65709 [2021-08-11T19:46:09.067Z] Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-08-11T19:46:09.067Z] ---> Running in e49a6ca5a48a [2021-08-11T19:46:11.706Z] Removing intermediate container e49a6ca5a48a [2021-08-11T19:46:11.706Z] ---> 648636ba4623 [2021-08-11T19:46:11.706Z] Step 5/8 : RUN apk add --update --no-cache make git gcc libc-dev libsodium-dev zeromq-dev [2021-08-11T19:46:11.706Z] ---> Running in 9a0c8825447a [2021-08-11T19:46:13.150Z] fetch https://nl.alpinelinux.org/alpine/v3.13/main/aarch64/APKINDEX.tar.gz [2021-08-11T19:46:13.751Z] fetch https://nl.alpinelinux.org/alpine/v3.13/community/aarch64/APKINDEX.tar.gz [2021-08-11T19:46:14.737Z] OK: 218 MiB in 52 packages [2021-08-11T19:46:15.717Z] Removing intermediate container 9a0c8825447a [2021-08-11T19:46:15.717Z] ---> 91f8b7c8a4b7 [2021-08-11T19:46:15.717Z] Step 6/8 : WORKDIR /device-sdk-go [2021-08-11T19:46:15.989Z] ---> Running in b49891432d3b [2021-08-11T19:46:16.584Z] Removing intermediate container b49891432d3b [2021-08-11T19:46:16.584Z] ---> f9c739c2b534 [2021-08-11T19:46:16.584Z] Step 7/8 : COPY . . [2021-08-11T19:46:18.019Z] ---> b1f6ab880b72 [2021-08-11T19:46:18.019Z] Step 8/8 : RUN go mod download [2021-08-11T19:46:18.019Z] ---> Running in e0eb4af12d81 [2021-08-11T19:46:50.417Z] Removing intermediate container e0eb4af12d81 [2021-08-11T19:46:50.417Z] ---> d809d8260339 [2021-08-11T19:46:50.417Z] Successfully built d809d8260339 [2021-08-11T19:46:50.417Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh [2021-08-11T19:46:50.805Z] + docker inspect -f . ci-base-image-arm64 [2021-08-11T19:46:50.805Z] . [Pipeline] withDockerContainer [2021-08-11T19:46:51.111Z] prd-ubuntu18.04-docker-arm64-4c-16g-409 does not seem to be running inside a container [2021-08-11T19:46:51.226Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/1 -v /w/workspace/device-sdk-go/1:/w/workspace/device-sdk-go/1:rw,z -v /w/workspace/device-sdk-go/1@tmp:/w/workspace/device-sdk-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2021-08-11T19:46:53.005Z] $ docker top d0543fba843b1ad91d37a94fb69a8f1712608d3f2dd0b3b350a11d9696f09925 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-08-11T19:46:54.044Z] + go version [2021-08-11T19:46:54.044Z] go version go1.16.6 linux/arm64 [Pipeline] } [2021-08-11T19:46:54.102Z] $ docker stop --time=1 d0543fba843b1ad91d37a94fb69a8f1712608d3f2dd0b3b350a11d9696f09925 [2021-08-11T19:46:56.007Z] $ docker rm -f d0543fba843b1ad91d37a94fb69a8f1712608d3f2dd0b3b350a11d9696f09925 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-08-11T19:46:56.978Z] + docker inspect -f . ci-base-image-arm64 [2021-08-11T19:46:56.978Z] . [Pipeline] withDockerContainer [2021-08-11T19:46:57.276Z] prd-ubuntu18.04-docker-arm64-4c-16g-409 does not seem to be running inside a container [2021-08-11T19:46:57.384Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/1 -v /w/workspace/device-sdk-go/1:/w/workspace/device-sdk-go/1:rw,z -v /w/workspace/device-sdk-go/1@tmp:/w/workspace/device-sdk-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2021-08-11T19:46:59.116Z] $ docker top fab00298c0826e72e52b8067a0fae1c293bff5018b2fd156b1121bd932dbc1f4 -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh [2021-08-11T19:47:00.172Z] + go mod tidy [Pipeline] sh [2021-08-11T19:47:01.459Z] + make test [2021-08-11T19:47:01.459Z] go mod tidy [2021-08-11T19:47:02.062Z] GO111MODULE=on go test -race -coverprofile=coverage.out ./... [2021-08-11T19:47:28.890Z] ? github.com/edgexfoundry/device-sdk-go/v2 [no test files] [2021-08-11T19:48:25.482Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/cmd/device-simple [no test files] [2021-08-11T19:48:25.482Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/config [no test files] [2021-08-11T19:48:25.482Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/driver [no test files] [2021-08-11T19:48:40.554Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/application 0.260s coverage: 24.2% of statements [2021-08-11T19:48:40.554Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/autodiscovery [no test files] [2021-08-11T19:48:40.554Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/autoevent 0.191s coverage: 28.1% of statements [2021-08-11T19:48:40.554Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/cache 0.226s coverage: 78.9% of statements [2021-08-11T19:48:40.554Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/clients 0.192s coverage: 9.0% of statements [2021-08-11T19:48:40.554Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/common [no test files] [2021-08-11T19:48:40.554Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/config [no test files] [2021-08-11T19:48:40.554Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/container [no test files] [2021-08-11T19:48:41.542Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http 0.303s coverage: 28.7% of statements [2021-08-11T19:48:41.542Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http/correlation [no test files] [2021-08-11T19:48:42.150Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/messaging 1.282s coverage: 83.3% of statements [2021-08-11T19:48:42.151Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/provision [no test files] [2021-08-11T19:48:42.151Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/telemetry [no test files] [2021-08-11T19:48:42.752Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/transformer 0.338s coverage: 58.0% of statements [2021-08-11T19:48:47.102Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/models 3.058s coverage: 89.2% of statements [2021-08-11T19:48:47.102Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/models/mocks [no test files] [2021-08-11T19:48:47.102Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/service 0.199s coverage: 4.9% of statements [2021-08-11T19:48:47.102Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/startup [no test files] [2021-08-11T19:48:47.701Z] GO111MODULE=on go vet ./... [2021-08-11T19:49:44.285Z] gofmt -l . [2021-08-11T19:49:44.285Z] [ "`gofmt -l .`" = "" ] [2021-08-11T19:49:44.286Z] ./bin/test-attribution-txt.sh [2021-08-11T19:49:44.286Z] ./bin/test-go-mod-tidy.sh [Pipeline] } [2021-08-11T19:49:44.396Z] $ docker stop --time=1 fab00298c0826e72e52b8067a0fae1c293bff5018b2fd156b1121bd932dbc1f4 [2021-08-11T19:49:46.766Z] $ docker rm -f fab00298c0826e72e52b8067a0fae1c293bff5018b2fd156b1121bd932dbc1f4 [Pipeline] // withDockerContainer [Pipeline] sh [2021-08-11T19:49:47.917Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2021-08-11T19:49:47.960Z] Warning: overwriting stash ‘coverage-report’ [2021-08-11T19:49:48.574Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-08-11T19:49:49.185Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2021-08-11T19:49:49.548Z] + ls -al . [2021-08-11T19:49:49.548Z] total 272 [2021-08-11T19:49:49.548Z] drwxrwxr-x 10 jenkins jenkins 4096 Aug 11 19:49 . [2021-08-11T19:49:49.548Z] drwxrwxr-x 4 jenkins jenkins 4096 Aug 11 19:45 .. [2021-08-11T19:49:49.548Z] -rw-rw-r-- 1 jenkins jenkins 140 Aug 11 19:45 .dockerignore [2021-08-11T19:49:49.548Z] drwxrwxr-x 8 jenkins jenkins 4096 Aug 11 19:45 .git [2021-08-11T19:49:49.548Z] drwxrwxr-x 3 jenkins jenkins 4096 Aug 11 19:45 .github [2021-08-11T19:49:49.548Z] -rw-rw-r-- 1 jenkins jenkins 138 Aug 11 19:45 .gitignore [2021-08-11T19:49:49.548Z] -rw-rw-r-- 1 jenkins jenkins 24816 Aug 11 19:45 CHANGELOG.md [2021-08-11T19:49:49.548Z] -rw-rw-r-- 1 jenkins jenkins 987 Aug 11 19:45 Dockerfile.build [2021-08-11T19:49:49.548Z] -rw-rw-r-- 1 jenkins jenkins 677 Aug 11 19:45 GOVERNANCE.md [2021-08-11T19:49:49.548Z] -rw-rw-r-- 1 jenkins jenkins 880 Aug 11 19:45 Jenkinsfile [2021-08-11T19:49:49.548Z] -rw-rw-r-- 1 jenkins jenkins 11341 Aug 11 19:45 LICENSE [2021-08-11T19:49:49.548Z] -rw-rw-r-- 1 jenkins jenkins 1026 Aug 11 19:45 Makefile [2021-08-11T19:49:49.548Z] -rw-rw-r-- 1 jenkins jenkins 619 Aug 11 19:45 OWNERS.md [2021-08-11T19:49:49.548Z] -rw-rw-r-- 1 jenkins jenkins 7646 Aug 11 19:45 README.md [2021-08-11T19:49:49.548Z] -rw-rw-r-- 1 jenkins jenkins 5 Aug 11 19:41 VERSION [2021-08-11T19:49:49.548Z] drwxrwxr-x 2 jenkins jenkins 4096 Aug 11 19:45 bin [2021-08-11T19:49:49.548Z] -rw-r--r-- 1 jenkins jenkins 125634 Aug 11 19:48 coverage.out [2021-08-11T19:49:49.548Z] drwxrwxr-x 5 jenkins jenkins 4096 Aug 11 19:45 example [2021-08-11T19:49:49.548Z] -rw-r--r-- 1 jenkins jenkins 548 Aug 11 19:49 go.mod [2021-08-11T19:49:49.548Z] -rw-r--r-- 1 jenkins jenkins 20301 Aug 11 19:47 go.sum [2021-08-11T19:49:49.548Z] drwxrwxr-x 15 jenkins jenkins 4096 Aug 11 19:45 internal [2021-08-11T19:49:49.548Z] drwxrwxr-x 3 jenkins jenkins 4096 Aug 11 19:45 openapi [2021-08-11T19:49:49.548Z] drwxrwxr-x 5 jenkins jenkins 4096 Aug 11 19:45 pkg [2021-08-11T19:49:49.548Z] drwxrwxr-x 4 jenkins jenkins 4096 Aug 11 19:45 snap [2021-08-11T19:49:49.548Z] -rw-rw-r-- 1 jenkins jenkins 222 Aug 11 19:45 version.go [Pipeline] isUnix [Pipeline] sh [2021-08-11T19:49:49.927Z] + 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=9e077e81f0e0ac0fe230ae39af6cb29f8f63b841 --label arch=arm64 --label version=0.0.0 . [2021-08-11T19:49:50.542Z] Sending build context to Docker daemon 2.743MB [2021-08-11T19:49:50.542Z] Step 1/23 : ARG BASE=golang:1.16-alpine3.12 [2021-08-11T19:49:50.542Z] Step 2/23 : FROM ${BASE} AS builder [2021-08-11T19:49:50.542Z] ---> d809d8260339 [2021-08-11T19:49:50.542Z] Step 3/23 : WORKDIR /device-sdk-go [2021-08-11T19:49:50.825Z] ---> Running in 250ab1ada6dc [2021-08-11T19:49:51.427Z] Removing intermediate container 250ab1ada6dc [2021-08-11T19:49:51.427Z] ---> af068d01b484 [2021-08-11T19:49:51.427Z] Step 4/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-08-11T19:49:51.427Z] ---> Running in f660080676c1 [2021-08-11T19:49:52.023Z] Removing intermediate container f660080676c1 [2021-08-11T19:49:52.023Z] ---> 89ad339df5b9 [2021-08-11T19:49:52.023Z] Step 5/23 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-08-11T19:49:52.023Z] ---> Running in 32348cc73ef8 [2021-08-11T19:49:54.657Z] Removing intermediate container 32348cc73ef8 [2021-08-11T19:49:54.657Z] ---> 3d968c4b7608 [2021-08-11T19:49:54.657Z] Step 6/23 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev [2021-08-11T19:49:54.657Z] ---> Running in 9c91c349e007 [2021-08-11T19:49:56.092Z] fetch https://nl.alpinelinux.org/alpine/v3.13/main/aarch64/APKINDEX.tar.gz [2021-08-11T19:49:57.076Z] fetch https://nl.alpinelinux.org/alpine/v3.13/community/aarch64/APKINDEX.tar.gz [2021-08-11T19:49:57.673Z] OK: 218 MiB in 52 packages [2021-08-11T19:49:59.113Z] Removing intermediate container 9c91c349e007 [2021-08-11T19:49:59.113Z] ---> 1c2f8b45c71f [2021-08-11T19:49:59.113Z] Step 7/23 : COPY . . [2021-08-11T19:50:00.556Z] ---> b342a441ebe6 [2021-08-11T19:50:00.556Z] Step 8/23 : RUN go mod download [2021-08-11T19:50:00.556Z] ---> Running in 9430cbc1156a [2021-08-11T19:50:03.188Z] Removing intermediate container 9430cbc1156a [2021-08-11T19:50:03.188Z] ---> 9e7b0337abdc [2021-08-11T19:50:03.188Z] Step 9/23 : RUN make build [2021-08-11T19:50:03.462Z] ---> Running in fce87d8c8738 [2021-08-11T19:50:04.901Z] go mod tidy [2021-08-11T19:50:05.505Z] 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-08-11T19:50:37.925Z] CGO_ENABLED=1 GO111MODULE=on go install -tags=safe [2021-08-11T19:50:41.334Z] Removing intermediate container fce87d8c8738 [2021-08-11T19:50:41.334Z] ---> 45a570bfa80d [2021-08-11T19:50:41.334Z] Step 10/23 : FROM alpine:3.12 [2021-08-11T19:50:41.610Z] 3.12: Pulling from library/alpine [2021-08-11T19:50:41.885Z] d2f70382dc9a: Pulling fs layer [2021-08-11T19:50:42.161Z] d2f70382dc9a: Download complete [2021-08-11T19:50:42.762Z] d2f70382dc9a: Pull complete [2021-08-11T19:50:42.762Z] Digest: sha256:de25c7fc6c4f3a27c7f0c2dff454e4671823a34d88abd533f210848d527e0fbb [2021-08-11T19:50:43.036Z] Status: Downloaded newer image for alpine:3.12 [2021-08-11T19:50:43.036Z] ---> c4fd0aeabfcf [2021-08-11T19:50:43.036Z] Step 11/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-08-11T19:50:43.311Z] ---> Running in 783d4d1669af [2021-08-11T19:50:43.585Z] Removing intermediate container 783d4d1669af [2021-08-11T19:50:43.585Z] ---> e3105fc64676 [2021-08-11T19:50:43.585Z] Step 12/23 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-08-11T19:50:43.863Z] ---> Running in ce1474b8e353 [2021-08-11T19:50:46.490Z] Removing intermediate container ce1474b8e353 [2021-08-11T19:50:46.490Z] ---> 35fdf6128af2 [2021-08-11T19:50:46.490Z] Step 13/23 : RUN apk add --update --no-cache zeromq [2021-08-11T19:50:46.490Z] ---> Running in 865129acf082 [2021-08-11T19:50:47.928Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz [2021-08-11T19:50:48.525Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz [2021-08-11T19:50:49.122Z] (1/5) Installing libgcc (9.3.0-r2) [2021-08-11T19:50:49.395Z] (2/5) Installing libsodium (1.0.18-r0) [2021-08-11T19:50:49.395Z] (3/5) Installing libstdc++ (9.3.0-r2) [2021-08-11T19:50:49.672Z] (4/5) Installing libzmq (4.3.3-r0) [2021-08-11T19:50:49.672Z] (5/5) Installing zeromq (4.3.3-r0) [2021-08-11T19:50:49.672Z] Executing busybox-1.31.1-r20.trigger [2021-08-11T19:50:49.672Z] OK: 8 MiB in 19 packages [2021-08-11T19:50:51.106Z] Removing intermediate container 865129acf082 [2021-08-11T19:50:51.106Z] ---> 7fe9975d5354 [2021-08-11T19:50:51.106Z] Step 14/23 : WORKDIR / [2021-08-11T19:50:51.380Z] ---> Running in f5b6cde8cc00 [2021-08-11T19:50:51.978Z] Removing intermediate container f5b6cde8cc00 [2021-08-11T19:50:51.978Z] ---> 29d711993fb0 [2021-08-11T19:50:51.978Z] Step 15/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt [2021-08-11T19:50:52.579Z] ---> d0fb0ae5399b [2021-08-11T19:50:52.579Z] Step 16/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple [2021-08-11T19:50:54.019Z] ---> 244aaae512c5 [2021-08-11T19:50:54.019Z] Step 17/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res [2021-08-11T19:50:55.003Z] ---> b7f5b1a55a40 [2021-08-11T19:50:55.003Z] Step 18/23 : EXPOSE 59999 [2021-08-11T19:50:55.003Z] ---> Running in cfcc9c5f9e49 [2021-08-11T19:50:55.599Z] Removing intermediate container cfcc9c5f9e49 [2021-08-11T19:50:55.599Z] ---> 60ffbf175852 [2021-08-11T19:50:55.599Z] Step 19/23 : ENTRYPOINT ["/device-simple"] [2021-08-11T19:50:55.599Z] ---> Running in c2bc4b9df8b4 [2021-08-11T19:50:56.201Z] Removing intermediate container c2bc4b9df8b4 [2021-08-11T19:50:56.201Z] ---> 182c81a9cada [2021-08-11T19:50:56.201Z] Step 20/23 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2021-08-11T19:50:56.201Z] ---> Running in c59e9ae9bafe [2021-08-11T19:50:56.799Z] Removing intermediate container c59e9ae9bafe [2021-08-11T19:50:56.799Z] ---> 1b75de3f335a [2021-08-11T19:50:56.799Z] Step 21/23 : LABEL arch=arm64 [2021-08-11T19:50:56.799Z] ---> Running in f113fc134321 [2021-08-11T19:50:57.396Z] Removing intermediate container f113fc134321 [2021-08-11T19:50:57.396Z] ---> a025f19aedb3 [2021-08-11T19:50:57.396Z] Step 22/23 : LABEL git_sha=9e077e81f0e0ac0fe230ae39af6cb29f8f63b841 [2021-08-11T19:50:57.396Z] ---> Running in b258ec5b4bd6 [2021-08-11T19:50:57.989Z] Removing intermediate container b258ec5b4bd6 [2021-08-11T19:50:57.989Z] ---> 53ec02b8f90a [2021-08-11T19:50:57.989Z] Step 23/23 : LABEL version=0.0.0 [2021-08-11T19:50:57.989Z] ---> Running in 635b3875f169 [2021-08-11T19:50:58.590Z] Removing intermediate container 635b3875f169 [2021-08-11T19:50:58.590Z] ---> 6df9e31d906d [2021-08-11T19:50:58.590Z] [Warning] One or more build-args [ARCH MAKE] were not consumed [2021-08-11T19:50:58.590Z] Successfully built 6df9e31d906d [2021-08-11T19:50:58.590Z] 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] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-08-11T19:50:59.317Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2021-08-11T19:50:59.317Z] [2021-08-11T19:50:59.317Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] sh [2021-08-11T19:50:59.722Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2021-08-11T19:50:59.995Z] arm64: Pulling from edgex-lftools-log-publisher [2021-08-11T19:50:59.996Z] 448f6bf000e3: Pulling fs layer [2021-08-11T19:50:59.996Z] f757da607395: Pulling fs layer [2021-08-11T19:50:59.996Z] 05883995daec: Pulling fs layer [2021-08-11T19:50:59.996Z] 8603b9c90790: Pulling fs layer [2021-08-11T19:50:59.996Z] 1560dd03e051: Pulling fs layer [2021-08-11T19:50:59.996Z] 27f5ce0e4adf: Pulling fs layer [2021-08-11T19:50:59.996Z] c2d8d7efcc4b: Pulling fs layer [2021-08-11T19:50:59.996Z] 8603b9c90790: Waiting [2021-08-11T19:50:59.996Z] 1560dd03e051: Waiting [2021-08-11T19:50:59.996Z] 27f5ce0e4adf: Waiting [2021-08-11T19:50:59.996Z] c2d8d7efcc4b: Waiting [2021-08-11T19:51:00.269Z] f757da607395: Verifying Checksum [2021-08-11T19:51:00.269Z] f757da607395: Download complete [2021-08-11T19:51:00.269Z] 8603b9c90790: Download complete [2021-08-11T19:51:00.542Z] 05883995daec: Verifying Checksum [2021-08-11T19:51:00.542Z] 05883995daec: Download complete [2021-08-11T19:51:00.542Z] 27f5ce0e4adf: Verifying Checksum [2021-08-11T19:51:00.542Z] 27f5ce0e4adf: Download complete [2021-08-11T19:51:00.816Z] 1560dd03e051: Verifying Checksum [2021-08-11T19:51:00.816Z] 1560dd03e051: Download complete [2021-08-11T19:51:01.414Z] 448f6bf000e3: Verifying Checksum [2021-08-11T19:51:01.414Z] 448f6bf000e3: Download complete [2021-08-11T19:51:04.802Z] c2d8d7efcc4b: Verifying Checksum [2021-08-11T19:51:04.802Z] c2d8d7efcc4b: Download complete [2021-08-11T19:51:04.802Z] 448f6bf000e3: Pull complete [2021-08-11T19:51:05.076Z] f757da607395: Pull complete [2021-08-11T19:51:07.056Z] 05883995daec: Pull complete [2021-08-11T19:51:07.056Z] 8603b9c90790: Pull complete [2021-08-11T19:51:08.047Z] 1560dd03e051: Pull complete [2021-08-11T19:51:08.325Z] 27f5ce0e4adf: Pull complete [2021-08-11T19:51:23.435Z] c2d8d7efcc4b: Pull complete [2021-08-11T19:51:23.435Z] Digest: sha256:42f6a1c33103aa4ecfebf648e29883a20fd84132c0f0d4f855d8bcfd8dd9c454 [2021-08-11T19:51:23.435Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2021-08-11T19:51:23.435Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] withDockerContainer [2021-08-11T19:51:23.735Z] prd-ubuntu18.04-docker-arm64-4c-16g-409 does not seem to be running inside a container [2021-08-11T19:51:23.887Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/device-sdk-go/1 -v /w/workspace/device-sdk-go/1:/w/workspace/device-sdk-go/1:rw,z -v /w/workspace/device-sdk-go/1@tmp:/w/workspace/device-sdk-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat [2021-08-11T19:51:29.761Z] $ docker top f5ca5b252c78365d158639a9bcc0f37a1b3714ce3c42f568315c42db71cd9779 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-08-11T19:51:30.740Z] ---> job-cost.sh [2021-08-11T19:51:30.740Z] lf-activate-venv: SKIPPING [2021-08-11T19:51:30.740Z] INFO: No Stack... [2021-08-11T19:51:31.342Z] INFO: Retrieving Pricing Info for: v2-standard-4 [2021-08-11T19:51:31.938Z] INFO: Archiving Costs [Pipeline] sh [2021-08-11T19:51:32.620Z] + cut -d, -f6 [2021-08-11T19:51:32.620Z] + cat /w/workspace/device-sdk-go/1/archives/cost.csv [Pipeline] lock [2021-08-11T19:51:32.720Z] Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-PR-1009-1-stack-cost] [2021-08-11T19:51:32.727Z] Resource [jenkins-edgexfoundry-device-sdk-go-PR-1009-1-stack-cost] did not exist. Created. [2021-08-11T19:51:32.728Z] Lock acquired on [jenkins-edgexfoundry-device-sdk-go-PR-1009-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2021-08-11T19:51:33.546Z] /w/workspace/device-sdk-go/1@tmp/durable-1822b91c/script.sh: 1: /w/workspace/device-sdk-go/1@tmp/durable-1822b91c/script.sh: Syntax error: Unterminated quoted string [Pipeline] sh [2021-08-11T19:51:34.259Z] + echo total: 0.18000000715255737 [Pipeline] stash [2021-08-11T19:51:34.317Z] Warning: overwriting stash ‘stack-cost’ [2021-08-11T19:51:34.381Z] Stashed 1 file(s) [Pipeline] } [2021-08-11T19:51:34.403Z] Lock released on resource [jenkins-edgexfoundry-device-sdk-go-PR-1009-1-stack-cost] [Pipeline] // lock [Pipeline] } [2021-08-11T19:51:34.574Z] $ docker stop --time=1 f5ca5b252c78365d158639a9bcc0f37a1b3714ce3c42f568315c42db71cd9779 [2021-08-11T19:51:36.285Z] $ docker rm -f f5ca5b252c78365d158639a9bcc0f37a1b3714ce3c42f568315c42db71cd9779 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [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-08-11T19:51:37.452Z] provisioning config files... [2021-08-11T19:51:37.471Z] copy managed file [device-sdk-go-codecov-token] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1009@tmp/config3240060796170324504tmp [Pipeline] { [Pipeline] sh [2021-08-11T19:51:37.857Z] + set +x [2021-08-11T19:51:37.858Z] + curl -s https://codecov.io/bash [2021-08-11T19:51:37.858Z] + bash -s -- [2021-08-11T19:51:37.858Z] [2021-08-11T19:51:37.858Z] _____ _ [2021-08-11T19:51:37.858Z] / ____| | | [2021-08-11T19:51:37.858Z] | | ___ __| | ___ ___ _____ __ [2021-08-11T19:51:37.858Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2021-08-11T19:51:37.858Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2021-08-11T19:51:37.858Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2021-08-11T19:51:37.858Z] Bash-1.0.6 [2021-08-11T19:51:37.858Z] [2021-08-11T19:51:37.858Z] [2021-08-11T19:51:37.858Z] ==> git version 2.24.4 found [2021-08-11T19:51:37.858Z] ==> 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-08-11T19:51:37.858Z] Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtsp scp sftp smtp smtps telnet tftp [2021-08-11T19:51:37.858Z] Features: AsynchDNS GSS-Negotiate IDN IPv6 Largefile NTLM NTLM_WB SSL libz unix-sockets [2021-08-11T19:51:37.858Z] ==> Jenkins CI detected. [2021-08-11T19:51:37.858Z] current dir:  /w/workspace/gexfoundry_device-sdk-go_PR-1009 [2021-08-11T19:51:37.858Z] project root: . [2021-08-11T19:51:37.858Z] --> token set from env [2021-08-11T19:51:37.858Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2021-08-11T19:51:38.128Z] ==> Running gcov in . (disable via -X gcov) [2021-08-11T19:51:38.129Z] ==> Python coveragepy not found [2021-08-11T19:51:38.129Z] ==> Searching for coverage reports in: [2021-08-11T19:51:38.129Z] + . [2021-08-11T19:51:38.129Z] -> Found 1 reports [2021-08-11T19:51:38.129Z] ==> Detecting git/mercurial file structure [2021-08-11T19:51:38.129Z] ==> Reading reports [2021-08-11T19:51:38.129Z] + ./coverage.out bytes=125634 [2021-08-11T19:51:38.129Z] ==> Appending adjustments [2021-08-11T19:51:38.129Z] https://docs.codecov.io/docs/fixing-reports [2021-08-11T19:51:38.397Z] + Found adjustments [2021-08-11T19:51:38.397Z] ==> Gzipping contents [2021-08-11T19:51:38.397Z] 16K /tmp/codecov.FbPSLE.gz [2021-08-11T19:51:38.397Z] ==> Uploading reports [2021-08-11T19:51:38.397Z] url: https://codecov.io [2021-08-11T19:51:38.397Z] query: branch=PR-1009&commit=9e077e81f0e0ac0fe230ae39af6cb29f8f63b841&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-1009%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=1009&job=&cmd_args= [2021-08-11T19:51:38.397Z] -> Pinging Codecov [2021-08-11T19:51:38.397Z] https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=6fc62cd9-fce6-47f0-85f4-af589338491a&branch=PR-1009&commit=9e077e81f0e0ac0fe230ae39af6cb29f8f63b841&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-1009%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=1009&job=&cmd_args= [2021-08-11T19:51:38.668Z] -> Uploading to [2021-08-11T19:51:38.668Z] https://storage.googleapis.com/codecov/v4/raw/2021-08-11/7E55EF52A471D76F132DFD9A03CDDE97/9e077e81f0e0ac0fe230ae39af6cb29f8f63b841/27feefe1-9697-414d-a7a2-68c41433c663.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EKKHVKCKHW7KBCGM7IHR55T63V2PAVJWLVFNITJHDU5G6R5IRN3LMWJA%2F20210811%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20210811T195138Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=9f3111f9dd6aec7196c9c5ff6b7517608ae25c472f4dfe3e7ba32d558c97ac3a [2021-08-11T19:51:38.668Z] % Total % Received % Xferd Average Speed Time Time Time Current [2021-08-11T19:51:38.668Z] Dload Upload Total Spent Left Speed [2021-08-11T19:51:39.253Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 16028 0 0 100 16028 0 42587 --:--:-- --:--:-- --:--:-- 42627 [2021-08-11T19:51:39.253Z] -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/device-sdk-go/commit/9e077e81f0e0ac0fe230ae39af6cb29f8f63b841 [Pipeline] } [2021-08-11T19:51:39.290Z] 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] sh [2021-08-11T19:51:41.095Z] + '[' -d /w/workspace/gexfoundry_device-sdk-go_PR-1009/archives ']' [Pipeline] libraryResource [Pipeline] sh [2021-08-11T19:51:41.467Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2021-08-11T19:51:42.044Z] ---> package-listing.sh [2021-08-11T19:51:42.044Z] ++ tr '[:upper:]' '[:lower:]' [2021-08-11T19:51:42.044Z] ++ facter osfamily [2021-08-11T19:51:42.325Z] + OS_FAMILY=redhat [2021-08-11T19:51:42.325Z] + workspace=/w/workspace/gexfoundry_device-sdk-go_PR-1009 [2021-08-11T19:51:42.325Z] + START_PACKAGES=/tmp/packages_start.txt [2021-08-11T19:51:42.325Z] + END_PACKAGES=/tmp/packages_end.txt [2021-08-11T19:51:42.325Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2021-08-11T19:51:42.325Z] + PACKAGES=/tmp/packages_start.txt [2021-08-11T19:51:42.325Z] + '[' /w/workspace/gexfoundry_device-sdk-go_PR-1009 ']' [2021-08-11T19:51:42.325Z] + PACKAGES=/tmp/packages_end.txt [2021-08-11T19:51:42.325Z] + case "${OS_FAMILY}" in [2021-08-11T19:51:42.325Z] + rpm -qa [2021-08-11T19:51:42.325Z] + sort [2021-08-11T19:51:42.916Z] + '[' -f /tmp/packages_start.txt ']' [2021-08-11T19:51:42.916Z] + '[' -f /tmp/packages_end.txt ']' [2021-08-11T19:51:42.916Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2021-08-11T19:51:42.916Z] + '[' /w/workspace/gexfoundry_device-sdk-go_PR-1009 ']' [2021-08-11T19:51:42.916Z] + mkdir -p /w/workspace/gexfoundry_device-sdk-go_PR-1009/archives/ [2021-08-11T19:51:42.916Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_device-sdk-go_PR-1009/archives/ [Pipeline] echo [2021-08-11T19:51:42.976Z] 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/gexfoundry_device-sdk-go_PR-1009/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2021-08-11T19:51:43.317Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] sh [2021-08-11T19:51:43.938Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2021-08-11T19:51:43.938Z] [2021-08-11T19:51:43.938Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] sh [2021-08-11T19:51:44.323Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2021-08-11T19:51:44.323Z] latest: Pulling from edgex-lftools-log-publisher [2021-08-11T19:51:44.323Z] b4d181a07f80: Pulling fs layer [2021-08-11T19:51:44.323Z] a1111a8f2ec3: Pulling fs layer [2021-08-11T19:51:44.323Z] ed53099fbce6: Pulling fs layer [2021-08-11T19:51:44.323Z] dc539afda2c1: Pulling fs layer [2021-08-11T19:51:44.323Z] 77bc0d833cb6: Pulling fs layer [2021-08-11T19:51:44.323Z] 9065ff56babe: Pulling fs layer [2021-08-11T19:51:44.323Z] d287ab97295c: Pulling fs layer [2021-08-11T19:51:44.323Z] dc539afda2c1: Waiting [2021-08-11T19:51:44.323Z] 77bc0d833cb6: Waiting [2021-08-11T19:51:44.323Z] 9065ff56babe: Waiting [2021-08-11T19:51:44.323Z] d287ab97295c: Waiting [2021-08-11T19:51:44.597Z] a1111a8f2ec3: Verifying Checksum [2021-08-11T19:51:44.597Z] a1111a8f2ec3: Download complete [2021-08-11T19:51:44.597Z] dc539afda2c1: Verifying Checksum [2021-08-11T19:51:44.597Z] dc539afda2c1: Download complete [2021-08-11T19:51:45.187Z] ed53099fbce6: Verifying Checksum [2021-08-11T19:51:45.187Z] ed53099fbce6: Download complete [2021-08-11T19:51:45.187Z] 9065ff56babe: Download complete [2021-08-11T19:51:45.779Z] b4d181a07f80: Verifying Checksum [2021-08-11T19:51:45.779Z] b4d181a07f80: Download complete [2021-08-11T19:51:47.215Z] 77bc0d833cb6: Verifying Checksum [2021-08-11T19:51:47.215Z] 77bc0d833cb6: Download complete [2021-08-11T19:51:47.215Z] b4d181a07f80: Pull complete [2021-08-11T19:51:47.215Z] a1111a8f2ec3: Pull complete [2021-08-11T19:51:47.482Z] ed53099fbce6: Pull complete [2021-08-11T19:51:47.750Z] dc539afda2c1: Pull complete [2021-08-11T19:51:48.015Z] 77bc0d833cb6: Pull complete [2021-08-11T19:51:48.015Z] 9065ff56babe: Pull complete [2021-08-11T19:51:49.964Z] d287ab97295c: Verifying Checksum [2021-08-11T19:51:49.964Z] d287ab97295c: Download complete [2021-08-11T19:51:54.240Z] d287ab97295c: Pull complete [2021-08-11T19:51:54.240Z] Digest: sha256:0c69325c24349bfb3ea32a3c3cbcab1fb66df42c981276dd8ebcf6aa441257c4 [2021-08-11T19:51:54.240Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2021-08-11T19:51:54.240Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] withDockerContainer [2021-08-11T19:51:54.349Z] prd-centos7-docker-4c-2g-407 does not seem to be running inside a container [2021-08-11T19:51:54.408Z] $ 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/gexfoundry_device-sdk-go_PR-1009/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/gexfoundry_device-sdk-go_PR-1009 -v /w/workspace/gexfoundry_device-sdk-go_PR-1009:/w/workspace/gexfoundry_device-sdk-go_PR-1009:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1009@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1009@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2021-08-11T19:51:56.514Z] $ docker top c817c5cfa9494a6a21a0f28ba7ad218efa48981dedc17530a2cfac184693e0a0 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-08-11T19:51:56.998Z] + touch /tmp/pre-build-complete [Pipeline] sh [2021-08-11T19:51:57.342Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2021-08-11T19:51:57.674Z] + ls /var/log/sa-host [2021-08-11T19:51:57.674Z] + sadf -c /var/log/sa-host/sa05 [2021-08-11T19:51:57.674Z] file_magic: OK [2021-08-11T19:51:57.674Z] HZ: Using current value: 100 [2021-08-11T19:51:57.674Z] file_header: OK [2021-08-11T19:51:57.674Z] 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-08-11T19:51:57.674Z] Statistics: [2021-08-11T19:51:57.674Z] Hnuu...uuuununununu...Hnuu...uuuununununu... [2021-08-11T19:51:57.674Z] File successfully converted to sysstat format version 12.0.3 [2021-08-11T19:51:57.674Z] + sadf -c /var/log/sa-host/sa11 [2021-08-11T19:51:57.674Z] file_magic: OK [2021-08-11T19:51:57.674Z] HZ: Using current value: 100 [2021-08-11T19:51:57.675Z] file_header: OK [2021-08-11T19:51:57.675Z] 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-08-11T19:51:57.675Z] Statistics: [2021-08-11T19:51:57.675Z] HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... [2021-08-11T19:51:57.675Z] File successfully converted to sysstat format version 12.0.3 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-08-11T19:51:57.959Z] provisioning config files... [2021-08-11T19:51:57.979Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1009@tmp/config5727026424428590678tmp [Pipeline] { [Pipeline] echo [2021-08-11T19:51:58.056Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2021-08-11T19:51:58.422Z] ---> create-netrc.sh [Pipeline] } [2021-08-11T19:51:58.458Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2021-08-11T19:51:58.939Z] ---> python-tools-install.sh [Pipeline] echo [2021-08-11T19:51:58.980Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2021-08-11T19:51:59.337Z] ---> sudo-logs.sh [2021-08-11T19:51:59.337Z] Archiving 'sudo' log.. [2021-08-11T19:51:59.337Z] sudo: unable to resolve host prd-centos7-docker-4c-2g-407.vexxhost.local: Name or service not known [2021-08-11T19:51:59.337Z] sudo: unable to resolve host prd-centos7-docker-4c-2g-407.vexxhost.local: Name or service not known [Pipeline] unstash [Pipeline] echo [2021-08-11T19:51:59.432Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2021-08-11T19:51:59.787Z] ---> job-cost.sh [2021-08-11T19:51:59.787Z] lf-activate-venv: SKIPPING [2021-08-11T19:51:59.787Z] DEBUG: total: 0.18000000715255737 [2021-08-11T19:51:59.787Z] INFO: Retrieving Stack Cost... [2021-08-11T19:52:01.199Z] INFO: Retrieving Pricing Info for: v3-standard-2 [2021-08-11T19:52:01.785Z] INFO: Archiving Costs [Pipeline] echo [2021-08-11T19:52:01.830Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2021-08-11T19:52:02.210Z] ---> logs-deploy.sh [2021-08-11T19:52:02.210Z] lf-activate-venv: SKIPPING [2021-08-11T19:52:02.210Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-1009/1 [2021-08-11T19:52:02.210Z] INFO: archiving workspace using pattern(s): [2021-08-11T19:52:03.169Z] Archives upload complete. [2021-08-11T19:52:03.169Z] INFO: archiving logs to Nexus