Branch indexing Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from ca8f408215d3aa33b4c9f70e2fe77f2cb3750385+5ed4cacd84df9b58bf582e255ca77028d77e465f (14aa949bb85c86a259765446375288317d751959) Running in Durability level: PERFORMANCE_OPTIMIZED 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-ssh547205584755895065.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision f1d79d91c36788821211008368c3015072ca53ca 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-ssh6610562410446573478.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 f1d79d91c36788821211008368c3015072ca53ca The recommended git tool is: git using credential edgex-jenkins-ssh > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-sdk-go/branches/PR-1031/workspace@libs/edgex-global-pipelines/.git # timeout=10 Fetching changes from the remote Git repository > 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 > 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-1031/workspace@libs/edgex-global-pipelines@tmp/jenkins-gitclient-ssh8558547776093799468.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision f1d79d91c36788821211008368c3015072ca53ca (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f f1d79d91c36788821211008368c3015072ca53ca # timeout=10 Commit message: "Merge pull request #358 from ernestojeda/update-get-head-tags" > 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 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-ssh2899318411482560590.key > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision 9bc0e518fca0494fd51682b06eec2da29a326327 The recommended git tool is: NONE using credential edgex-jenkins-ssh > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-sdk-go/branches/PR-1031/workspace@libs/lf-pipelines/.git # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 Fetching without tags 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-1031/workspace@libs/lf-pipelines@tmp/jenkins-gitclient-ssh7073993575633714572.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision 9bc0e518fca0494fd51682b06eec2da29a326327 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 9bc0e518fca0494fd51682b06eec2da29a326327 # timeout=10 Commit message: "Merge "Fix: Make archiveArtifacts overwriteable in lfJava"" > 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 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 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-703 in /w/workspace/gexfoundry_device-sdk-go_PR-1031 [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-1031 # 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-1031@tmp/jenkins-gitclient-ssh1293926624885835460.key > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /w/workspace/gexfoundry_device-sdk-go_PR-1031@tmp/jenkins-gitclient-ssh4823353506936392339.key > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/1031/head:refs/remotes/origin/PR-1031 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit 5ed4cacd84df9b58bf582e255ca77028d77e465f into PR head commit ca8f408215d3aa33b4c9f70e2fe77f2cb3750385 Merge succeeded, producing d75b8add1fd674e74e2fbe69395b05bc0d167a40 Checking out Revision d75b8add1fd674e74e2fbe69395b05bc0d167a40 (PR-1031) > git config core.sparsecheckout # timeout=10 > git checkout -f ca8f408215d3aa33b4c9f70e2fe77f2cb3750385 # 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-1031@tmp/jenkins-gitclient-ssh3970338916341529727.key > git merge 5ed4cacd84df9b58bf582e255ca77028d77e465f # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f d75b8add1fd674e74e2fbe69395b05bc0d167a40 # timeout=10 Commit message: "Merge commit '5ed4cacd84df9b58bf582e255ca77028d77e465f' into HEAD" > git rev-list --no-walk ca8f408215d3aa33b4c9f70e2fe77f2cb3750385 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2021-10-12T14:44:42.694Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2021-10-12T14:44:42.749Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2021-10-12T14:44:42.765Z] ========================================================= [2021-10-12T14:44:42.765Z] EdgeX Global Pipelines Version Info [2021-10-12T14:44:42.765Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2021-10-12T14:44:43.927Z] ------------------- [2021-10-12T14:44:43.927Z] stable info: [2021-10-12T14:44:43.927Z] ------------------- [2021-10-12T14:44:43.927Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2021-10-12T14:44:43.927Z] Commit SHA: f1d79d91c36788821211008368c3015072ca53ca [2021-10-12T14:44:43.927Z] Message: update stable to v1.0.209 [2021-10-12T14:44:44.500Z] ------------------- [2021-10-12T14:44:44.500Z] experimental info: [2021-10-12T14:44:44.500Z] ------------------- [2021-10-12T14:44:44.500Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2021-10-12T14:44:44.500Z] Commit SHA: f1d79d91c36788821211008368c3015072ca53ca [2021-10-12T14:44:44.500Z] Message: update experimental to v1.0.209 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2021-10-12T14:44:44.581Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-go-settings [Pipeline] echo [2021-10-12T14:44:44.591Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-go [Pipeline] echo [2021-10-12T14:44:44.598Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2021-10-12T14:44:44.605Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2021-10-12T14:44:44.612Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2021-10-12T14:44:44.625Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.16 [Pipeline] echo [2021-10-12T14:44:44.639Z] [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine [Pipeline] echo [2021-10-12T14:44:44.653Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = example/cmd/device-simple/Dockerfile [Pipeline] echo [2021-10-12T14:44:44.667Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2021-10-12T14:44:44.675Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2021-10-12T14:44:44.685Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2021-10-12T14:44:44.695Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-sdk-simple [Pipeline] echo [2021-10-12T14:44:44.705Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2021-10-12T14:44:44.715Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2021-10-12T14:44:44.726Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2021-10-12T14:44:44.736Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo [2021-10-12T14:44:44.746Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2021-10-12T14:44:44.756Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2021-10-12T14:44:44.766Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2021-10-12T14:44:44.779Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2021-10-12T14:44:44.792Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo [2021-10-12T14:44:44.803Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v2 [Pipeline] echo [2021-10-12T14:44:44.815Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2021-10-12T14:44:44.829Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2021-10-12T14:44:44.848Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2021-10-12T14:44:44.859Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2021-10-12T14:44:44.875Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-1031 [Pipeline] echo [2021-10-12T14:44:44.889Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-1031 [Pipeline] echo [2021-10-12T14:44:44.900Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-1031 [Pipeline] echo [2021-10-12T14:44:44.913Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = d75b8add1fd674e74e2fbe69395b05bc0d167a40 [Pipeline] echo [2021-10-12T14:44:44.926Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = d75b8ad [Pipeline] echo [2021-10-12T14:44:44.940Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-10-12T14:44:44.980Z] provisioning config files... [2021-10-12T14:44:44.994Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1031@tmp/config4519324746791864688tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-10-12T14:44:45.307Z] ---> docker-login.sh [2021-10-12T14:44:45.307Z] nexus3.edgexfoundry.org:10001 [2021-10-12T14:44:45.307Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-10-12T14:44:45.569Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-10-12T14:44:45.569Z] Configure a credential helper to remove this warning. See [2021-10-12T14:44:45.569Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-10-12T14:44:45.569Z] [2021-10-12T14:44:45.569Z] Login Succeeded [2021-10-12T14:44:45.569Z] nexus3.edgexfoundry.org:10002 [2021-10-12T14:44:45.569Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-10-12T14:44:45.569Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-10-12T14:44:45.569Z] Configure a credential helper to remove this warning. See [2021-10-12T14:44:45.569Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-10-12T14:44:45.569Z] [2021-10-12T14:44:45.569Z] Login Succeeded [2021-10-12T14:44:45.569Z] nexus3.edgexfoundry.org:10003 [2021-10-12T14:44:45.569Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-10-12T14:44:45.829Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-10-12T14:44:45.829Z] Configure a credential helper to remove this warning. See [2021-10-12T14:44:45.829Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-10-12T14:44:45.829Z] [2021-10-12T14:44:45.829Z] Login Succeeded [2021-10-12T14:44:45.829Z] nexus3.edgexfoundry.org:10004 [2021-10-12T14:44:45.829Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-10-12T14:44:45.829Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-10-12T14:44:45.829Z] Configure a credential helper to remove this warning. See [2021-10-12T14:44:45.829Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-10-12T14:44:45.829Z] [2021-10-12T14:44:45.829Z] Login Succeeded [2021-10-12T14:44:45.829Z] docker.io [2021-10-12T14:44:45.829Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-10-12T14:44:46.401Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-10-12T14:44:46.401Z] Configure a credential helper to remove this warning. See [2021-10-12T14:44:46.401Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-10-12T14:44:46.401Z] [2021-10-12T14:44:46.401Z] Login Succeeded [2021-10-12T14:44:46.401Z] ---> docker-login.sh ends [Pipeline] } [2021-10-12T14:44:46.410Z] 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-10-12T14:44:46.871Z] + git log --format=format:%s -1 d75b8add1fd674e74e2fbe69395b05bc0d167a40 [Pipeline] echo [2021-10-12T14:44:46.905Z] GIT_COMMIT: d75b8add1fd674e74e2fbe69395b05bc0d167a40, Commit Message: Merge commit '5ed4cacd84df9b58bf582e255ca77028d77e465f' into HEAD [Pipeline] echo [2021-10-12T14:44:46.913Z] This is not a build commit. [Pipeline] isUnix [Pipeline] sh [2021-10-12T14:44:47.541Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-10-12T14:44:47.541Z] [2021-10-12T14:44:47.541Z] Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh [2021-10-12T14:44:47.857Z] + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-10-12T14:44:47.858Z] latest: Pulling from edgex-devops/git-semver [2021-10-12T14:44:47.858Z] a0d0a0d46f8b: Pulling fs layer [2021-10-12T14:44:47.858Z] 3e5f54012d9b: Pulling fs layer [2021-10-12T14:44:47.858Z] 4c7163046ea9: Pulling fs layer [2021-10-12T14:44:47.858Z] 0c2d73faf560: Pulling fs layer [2021-10-12T14:44:47.858Z] 0c2d73faf560: Waiting [2021-10-12T14:44:47.858Z] 3e5f54012d9b: Verifying Checksum [2021-10-12T14:44:47.858Z] 3e5f54012d9b: Download complete [2021-10-12T14:44:47.858Z] a0d0a0d46f8b: Verifying Checksum [2021-10-12T14:44:47.858Z] a0d0a0d46f8b: Download complete [2021-10-12T14:44:47.858Z] 0c2d73faf560: Verifying Checksum [2021-10-12T14:44:47.858Z] 0c2d73faf560: Download complete [2021-10-12T14:44:47.858Z] 4c7163046ea9: Verifying Checksum [2021-10-12T14:44:47.858Z] 4c7163046ea9: Download complete [2021-10-12T14:44:48.125Z] a0d0a0d46f8b: Pull complete [2021-10-12T14:44:48.125Z] 3e5f54012d9b: Pull complete [2021-10-12T14:44:48.397Z] 4c7163046ea9: Pull complete [2021-10-12T14:44:48.657Z] 0c2d73faf560: Pull complete [2021-10-12T14:44:48.657Z] Digest: sha256:2751de6e655929dcbe46418c7769d9d992331b5b721eb968631a4166222929f9 [2021-10-12T14:44:48.657Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-10-12T14:44:48.657Z] nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer [2021-10-12T14:44:48.719Z] prd-centos7-docker-4c-2g-703 does not seem to be running inside a container [2021-10-12T14:44:48.756Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-sdk-go_PR-1031 -v /w/workspace/gexfoundry_device-sdk-go_PR-1031:/w/workspace/gexfoundry_device-sdk-go_PR-1031:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1031@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1031@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat [2021-10-12T14:44:49.305Z] $ docker top 364336a97e677c9ce5dba91164babf43868c2e9d02b938b3f350bdb063fa8f27 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2021-10-12T14:44:49.393Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-10-12T14:44:49.393Z] [ssh-agent] Looking for ssh-agent implementation... [2021-10-12T14:44:49.493Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-10-12T14:44:49.495Z] $ docker exec 364336a97e677c9ce5dba91164babf43868c2e9d02b938b3f350bdb063fa8f27 ssh-agent [2021-10-12T14:44:49.599Z] SSH_AUTH_SOCK=/tmp/ssh-XXXXXXKhPbHA/agent.15 [2021-10-12T14:44:49.599Z] SSH_AGENT_PID=21 [2021-10-12T14:44:49.608Z] Running ssh-add (command line suppressed) [2021-10-12T14:44:49.699Z] Identity added: /w/workspace/gexfoundry_device-sdk-go_PR-1031@tmp/private_key_5941840504529593562.key (/w/workspace/gexfoundry_device-sdk-go_PR-1031@tmp/private_key_5941840504529593562.key) [2021-10-12T14:44:49.712Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-10-12T14:44:50.002Z] + git tag --points-at HEAD [Pipeline] } [2021-10-12T14:44:50.016Z] $ docker exec --env ******** --env ******** 364336a97e677c9ce5dba91164babf43868c2e9d02b938b3f350bdb063fa8f27 ssh-agent -k [2021-10-12T14:44:50.106Z] unset SSH_AUTH_SOCK; [2021-10-12T14:44:50.106Z] unset SSH_AGENT_PID; [2021-10-12T14:44:50.106Z] echo Agent pid 21 killed; [2021-10-12T14:44:50.117Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2021-10-12T14:44:50.141Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-10-12T14:44:50.141Z] [ssh-agent] Looking for ssh-agent implementation... [2021-10-12T14:44:50.242Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-10-12T14:44:50.245Z] $ docker exec 364336a97e677c9ce5dba91164babf43868c2e9d02b938b3f350bdb063fa8f27 ssh-agent [2021-10-12T14:44:50.352Z] SSH_AUTH_SOCK=/tmp/ssh-XXXXXXOOHdcE/agent.53 [2021-10-12T14:44:50.352Z] SSH_AGENT_PID=59 [2021-10-12T14:44:50.358Z] Running ssh-add (command line suppressed) [2021-10-12T14:44:50.457Z] Identity added: /w/workspace/gexfoundry_device-sdk-go_PR-1031@tmp/private_key_5391675192957554428.key (/w/workspace/gexfoundry_device-sdk-go_PR-1031@tmp/private_key_5391675192957554428.key) [2021-10-12T14:44:50.468Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-10-12T14:44:50.764Z] + git semver init [2021-10-12T14:44:50.764Z] # -> Open(): unable to determine branch for HEAD [2021-10-12T14:44:50.764Z] # $GIT_DIR = /w/workspace/gexfoundry_device-sdk-go_PR-1031/.git [2021-10-12T14:44:50.764Z] # $GIT_WORK_TREE = /w/workspace/gexfoundry_device-sdk-go_PR-1031 [2021-10-12T14:44:50.764Z] # $SEMVER_REMOTE_NAME = origin [2021-10-12T14:44:50.764Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2021-10-12T14:44:50.764Z] # $SEMVER_USER_NAME = edgex-jenkins [2021-10-12T14:44:50.764Z] # $SEMVER_BRANCH = PR-1031 [2021-10-12T14:44:50.764Z] # $SEMVER_TEMP = /tmp/semver-896668866 [2021-10-12T14:44:50.764Z] # git clone --branch semver git@github.com:edgexfoundry/device-sdk-go.git $SEMVER_TEMP [2021-10-12T14:44:51.717Z] # '/tmp/semver-896668866' -> '/w/workspace/gexfoundry_device-sdk-go_PR-1031/.semver' [2021-10-12T14:44:51.717Z] # -> Force: false [2021-10-12T14:44:51.717Z] # $SEMVER_DIR = /w/workspace/gexfoundry_device-sdk-go_PR-1031/.semver [Pipeline] } [2021-10-12T14:44:51.734Z] $ docker exec --env ******** --env ******** 364336a97e677c9ce5dba91164babf43868c2e9d02b938b3f350bdb063fa8f27 ssh-agent -k [2021-10-12T14:44:51.839Z] unset SSH_AUTH_SOCK; [2021-10-12T14:44:51.839Z] unset SSH_AGENT_PID; [2021-10-12T14:44:51.840Z] echo Agent pid 59 killed; [2021-10-12T14:44:51.853Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2021-10-12T14:44:52.175Z] + git semver [Pipeline] } [2021-10-12T14:44:52.189Z] $ docker stop --time=1 364336a97e677c9ce5dba91164babf43868c2e9d02b938b3f350bdb063fa8f27 [2021-10-12T14:44:53.402Z] $ docker rm -f 364336a97e677c9ce5dba91164babf43868c2e9d02b938b3f350bdb063fa8f27 [Pipeline] // withDockerContainer [Pipeline] sh [2021-10-12T14:44:53.748Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2021-10-12T14:44:53.994Z] Stashed 1 file(s) [Pipeline] echo [2021-10-12T14:44:53.997Z] [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-10-12T14:45:09.211Z] Still waiting to schedule task [2021-10-12T14:45:09.212Z] Waiting for next available executor on ‘centos7-docker-4c-2g’ [2021-10-12T14:45:09.214Z] Still waiting to schedule task [2021-10-12T14:45:09.214Z] Waiting for next available executor on ‘ubuntu18.04-docker-arm64-4c-16g’ [2021-10-12T14:49:08.535Z] Running on prd-centos7-docker-4c-2g-710 in /w/workspace/gexfoundry_device-sdk-go_PR-1031 [Pipeline] { [Pipeline] ws [2021-10-12T14:49:08.547Z] Running in /w/workspace/device-sdk-go/4 [Pipeline] { [Pipeline] checkout [2021-10-12T14:49:08.668Z] Selected Git installation does not exist. Using Default [2021-10-12T14:49:08.668Z] The recommended git tool is: NONE [2021-10-12T14:49:10.837Z] using credential edgex-jenkins-ssh [2021-10-12T14:49:10.854Z] Cloning the remote Git repository [2021-10-12T14:49:10.238Z] Cloning repository git@github.com:edgexfoundry/device-sdk-go.git [2021-10-12T14:49:10.299Z] > git init /w/workspace/device-sdk-go/4 # timeout=10 [2021-10-12T14:49:10.344Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2021-10-12T14:49:10.344Z] > git --version # timeout=10 [2021-10-12T14:49:10.354Z] > git --version # 'git version 2.24.4' [2021-10-12T14:49:10.354Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-10-12T14:49:10.381Z] [INFO] Currently running in a labeled security context [2021-10-12T14:49:10.381Z] [INFO] Currently SELinux is 'enforcing' on the host [2021-10-12T14:49:10.381Z] > /usr/bin/chcon --type=ssh_home_t /w/workspace/device-sdk-go/4@tmp/jenkins-gitclient-ssh6820508503376033172.key [2021-10-12T14:49:10.411Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-10-12T14:49:11.206Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2021-10-12T14:49:11.224Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-10-12T14:49:11.234Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2021-10-12T14:49:11.250Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2021-10-12T14:49:11.250Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-10-12T14:49:11.251Z] [INFO] Currently running in a labeled security context [2021-10-12T14:49:11.251Z] [INFO] Currently SELinux is 'enforcing' on the host [2021-10-12T14:49:11.251Z] > /usr/bin/chcon --type=ssh_home_t /w/workspace/device-sdk-go/4@tmp/jenkins-gitclient-ssh7402763171966482275.key [2021-10-12T14:49:11.257Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/1031/head:refs/remotes/origin/PR-1031 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2021-10-12T14:49:12.401Z] Merging remotes/origin/main commit 5ed4cacd84df9b58bf582e255ca77028d77e465f into PR head commit ca8f408215d3aa33b4c9f70e2fe77f2cb3750385 [2021-10-12T14:49:12.524Z] Merge succeeded, producing e5d9cfbe928658cd82a83bf6efbe108d7433f36d [2021-10-12T14:49:12.525Z] Checking out Revision e5d9cfbe928658cd82a83bf6efbe108d7433f36d (PR-1031) [2021-10-12T14:49:11.767Z] > git config core.sparsecheckout # timeout=10 [2021-10-12T14:49:11.787Z] > git checkout -f ca8f408215d3aa33b4c9f70e2fe77f2cb3750385 # timeout=10 [2021-10-12T14:49:11.822Z] > git remote # timeout=10 [2021-10-12T14:49:11.832Z] > git config --get remote.origin.url # timeout=10 [2021-10-12T14:49:11.839Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-10-12T14:49:11.839Z] [INFO] Currently running in a labeled security context [2021-10-12T14:49:11.840Z] [INFO] Currently SELinux is 'enforcing' on the host [2021-10-12T14:49:11.840Z] > /usr/bin/chcon --type=ssh_home_t /w/workspace/device-sdk-go/4@tmp/jenkins-gitclient-ssh2183982049332421309.key [2021-10-12T14:49:11.846Z] > git merge 5ed4cacd84df9b58bf582e255ca77028d77e465f # timeout=10 [2021-10-12T14:49:11.872Z] > git rev-parse HEAD^{commit} # timeout=10 [2021-10-12T14:49:11.886Z] > git config core.sparsecheckout # timeout=10 [2021-10-12T14:49:11.901Z] > git checkout -f e5d9cfbe928658cd82a83bf6efbe108d7433f36d # timeout=10 [2021-10-12T14:49:16.179Z] Commit message: "Merge commit '5ed4cacd84df9b58bf582e255ca77028d77e465f' into HEAD" [2021-10-12T14:49:15.539Z] > git rev-list --no-walk ca8f408215d3aa33b4c9f70e2fe77f2cb3750385 # timeout=10 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-10-12T14:49:16.603Z] provisioning config files... [2021-10-12T14:49:16.618Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/4@tmp/config8211282857408885351tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-10-12T14:49:17.023Z] ---> docker-login.sh [2021-10-12T14:49:17.024Z] nexus3.edgexfoundry.org:10001 [2021-10-12T14:49:17.024Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-10-12T14:49:17.284Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-10-12T14:49:17.284Z] Configure a credential helper to remove this warning. See [2021-10-12T14:49:17.284Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-10-12T14:49:17.284Z] [2021-10-12T14:49:17.284Z] Login Succeeded [2021-10-12T14:49:17.284Z] nexus3.edgexfoundry.org:10002 [2021-10-12T14:49:17.284Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-10-12T14:49:17.284Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-10-12T14:49:17.284Z] Configure a credential helper to remove this warning. See [2021-10-12T14:49:17.284Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-10-12T14:49:17.284Z] [2021-10-12T14:49:17.284Z] Login Succeeded [2021-10-12T14:49:17.284Z] nexus3.edgexfoundry.org:10003 [2021-10-12T14:49:17.284Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-10-12T14:49:17.545Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-10-12T14:49:17.545Z] Configure a credential helper to remove this warning. See [2021-10-12T14:49:17.545Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-10-12T14:49:17.545Z] [2021-10-12T14:49:17.545Z] Login Succeeded [2021-10-12T14:49:17.545Z] nexus3.edgexfoundry.org:10004 [2021-10-12T14:49:17.545Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-10-12T14:49:17.545Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-10-12T14:49:17.545Z] Configure a credential helper to remove this warning. See [2021-10-12T14:49:17.545Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-10-12T14:49:17.545Z] [2021-10-12T14:49:17.545Z] Login Succeeded [2021-10-12T14:49:17.545Z] docker.io [2021-10-12T14:49:17.545Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-10-12T14:49:18.116Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-10-12T14:49:18.116Z] Configure a credential helper to remove this warning. See [2021-10-12T14:49:18.116Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-10-12T14:49:18.116Z] [2021-10-12T14:49:18.116Z] Login Succeeded [2021-10-12T14:49:18.116Z] ---> docker-login.sh ends [Pipeline] } [2021-10-12T14:49:18.147Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2021-10-12T14:49:18.290Z] ========================================================= [2021-10-12T14:49:18.290Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine] [2021-10-12T14:49:18.290Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh [2021-10-12T14:49:18.606Z] + docker build -t ci-base-image-x86_64 -f example/cmd/device-simple/Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine --build-arg 'MAKE=echo noop' --target=builder . [2021-10-12T14:49:18.606Z] Sending build context to Docker daemon 2.689MB [2021-10-12T14:49:18.606Z] Step 1/10 : ARG BASE=golang:1.16-alpine3.14 [2021-10-12T14:49:18.606Z] Step 2/10 : FROM ${BASE} AS builder [2021-10-12T14:49:18.606Z] 1.16-alpine: Pulling from edgex-devops/edgex-golang-base [2021-10-12T14:49:18.606Z] 4e9f2cdf4387: Pulling fs layer [2021-10-12T14:49:18.606Z] 57d31006c564: Pulling fs layer [2021-10-12T14:49:18.606Z] bd5ccded8296: Pulling fs layer [2021-10-12T14:49:18.606Z] 304dd3a0f381: Pulling fs layer [2021-10-12T14:49:18.606Z] d37cda54a23b: Pulling fs layer [2021-10-12T14:49:18.606Z] bae75c0f2455: Pulling fs layer [2021-10-12T14:49:18.606Z] 806579b3d29a: Pulling fs layer [2021-10-12T14:49:18.606Z] c77eb801bf70: Pulling fs layer [2021-10-12T14:49:18.606Z] 6d0567d44e1a: Pulling fs layer [2021-10-12T14:49:18.606Z] 304dd3a0f381: Waiting [2021-10-12T14:49:18.606Z] d37cda54a23b: Waiting [2021-10-12T14:49:18.606Z] bae75c0f2455: Waiting [2021-10-12T14:49:18.606Z] 806579b3d29a: Waiting [2021-10-12T14:49:18.606Z] c77eb801bf70: Waiting [2021-10-12T14:49:18.606Z] 6d0567d44e1a: Waiting [2021-10-12T14:49:18.607Z] bd5ccded8296: Verifying Checksum [2021-10-12T14:49:18.607Z] bd5ccded8296: Download complete [2021-10-12T14:49:18.607Z] 57d31006c564: Verifying Checksum [2021-10-12T14:49:18.607Z] 57d31006c564: Download complete [2021-10-12T14:49:18.872Z] d37cda54a23b: Verifying Checksum [2021-10-12T14:49:18.872Z] d37cda54a23b: Download complete [2021-10-12T14:49:18.872Z] bae75c0f2455: Verifying Checksum [2021-10-12T14:49:18.872Z] bae75c0f2455: Download complete [2021-10-12T14:49:18.872Z] 4e9f2cdf4387: Verifying Checksum [2021-10-12T14:49:18.872Z] 4e9f2cdf4387: Download complete [2021-10-12T14:49:18.872Z] 806579b3d29a: Verifying Checksum [2021-10-12T14:49:18.872Z] 806579b3d29a: Download complete [2021-10-12T14:49:18.872Z] c77eb801bf70: Verifying Checksum [2021-10-12T14:49:18.872Z] c77eb801bf70: Download complete [2021-10-12T14:49:19.155Z] 4e9f2cdf4387: Pull complete [2021-10-12T14:49:19.429Z] 304dd3a0f381: Verifying Checksum [2021-10-12T14:49:19.430Z] 304dd3a0f381: Download complete [2021-10-12T14:49:19.430Z] 57d31006c564: Pull complete [2021-10-12T14:49:19.704Z] 6d0567d44e1a: Verifying Checksum [2021-10-12T14:49:19.704Z] 6d0567d44e1a: Download complete [2021-10-12T14:49:19.704Z] bd5ccded8296: Pull complete [2021-10-12T14:49:23.943Z] 304dd3a0f381: Pull complete [2021-10-12T14:49:23.943Z] d37cda54a23b: Pull complete [2021-10-12T14:49:23.943Z] bae75c0f2455: Pull complete [2021-10-12T14:49:23.943Z] 806579b3d29a: Pull complete [2021-10-12T14:49:23.943Z] c77eb801bf70: Pull complete [2021-10-12T14:49:26.507Z] 6d0567d44e1a: Pull complete [2021-10-12T14:49:26.507Z] Digest: sha256:53f76eca38b35ad9f985c2fb57ce55683e6a223a937aed0adb215e74043799cd [2021-10-12T14:49:26.507Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine [2021-10-12T14:49:26.507Z] ---> e839a31ac9d1 [2021-10-12T14:49:26.507Z] Step 3/10 : ARG MAKE=make build [2021-10-12T14:49:28.447Z] ---> Running in fc25c301e81e [2021-10-12T14:49:28.447Z] Removing intermediate container fc25c301e81e [2021-10-12T14:49:28.447Z] ---> f6045c983c76 [2021-10-12T14:49:28.447Z] Step 4/10 : WORKDIR /device-sdk-go [2021-10-12T14:49:28.447Z] ---> Running in c15da42959c8 [2021-10-12T14:49:28.447Z] Removing intermediate container c15da42959c8 [2021-10-12T14:49:28.447Z] ---> bc3f87cc67ff [2021-10-12T14:49:28.447Z] Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-10-12T14:49:28.447Z] ---> Running in 0da760988621 [2021-10-12T14:49:28.712Z] Removing intermediate container 0da760988621 [2021-10-12T14:49:28.712Z] ---> 17de5cb02e6a [2021-10-12T14:49:28.712Z] Step 6/10 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-10-12T14:49:28.712Z] ---> Running in b431d475c84d [2021-10-12T14:49:29.293Z] Removing intermediate container b431d475c84d [2021-10-12T14:49:29.293Z] ---> c172f285c1e6 [2021-10-12T14:49:29.293Z] Step 7/10 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev [2021-10-12T14:49:29.293Z] ---> Running in 991c9478f1a9 [2021-10-12T14:49:29.555Z] fetch https://nl.alpinelinux.org/alpine/v3.13/main/x86_64/APKINDEX.tar.gz [2021-10-12T14:49:30.503Z] fetch https://nl.alpinelinux.org/alpine/v3.13/community/x86_64/APKINDEX.tar.gz [2021-10-12T14:49:30.771Z] OK: 219 MiB in 52 packages [2021-10-12T14:49:31.032Z] Removing intermediate container 991c9478f1a9 [2021-10-12T14:49:31.032Z] ---> fc926e7ced5a [2021-10-12T14:49:31.032Z] Step 8/10 : COPY . . [2021-10-12T14:49:31.304Z] ---> 2eea5339bed8 [2021-10-12T14:49:31.304Z] Step 9/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2021-10-12T14:49:31.304Z] ---> Running in b7adfb386a61 [2021-10-12T14:50:03.539Z] Removing intermediate container b7adfb386a61 [2021-10-12T14:50:03.539Z] ---> cd1a34e0145b [2021-10-12T14:50:03.539Z] Step 10/10 : RUN ${MAKE} [2021-10-12T14:50:03.539Z] ---> Running in 98ed77787852 [2021-10-12T14:50:03.539Z] noop [2021-10-12T14:50:03.539Z] Removing intermediate container 98ed77787852 [2021-10-12T14:50:03.539Z] ---> 8ee39718cee8 [2021-10-12T14:50:03.539Z] Successfully built 8ee39718cee8 [2021-10-12T14:50:03.539Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh [2021-10-12T14:50:03.840Z] + docker inspect -f . ci-base-image-x86_64 [2021-10-12T14:50:03.840Z] . [Pipeline] withDockerContainer [2021-10-12T14:50:03.909Z] prd-centos7-docker-4c-2g-710 does not seem to be running inside a container [2021-10-12T14:50:03.944Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/4 -v /w/workspace/device-sdk-go/4:/w/workspace/device-sdk-go/4:rw,z -v /w/workspace/device-sdk-go/4@tmp:/w/workspace/device-sdk-go/4@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2021-10-12T14:50:04.293Z] $ docker top e9c1c8319c9d3c0d6c4b0385db4554dd63e39df2b0deb64dc04508b522763275 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-10-12T14:50:04.668Z] + go version [2021-10-12T14:50:04.668Z] go version go1.16.8 linux/amd64 [Pipeline] } [2021-10-12T14:50:04.680Z] $ docker stop --time=1 e9c1c8319c9d3c0d6c4b0385db4554dd63e39df2b0deb64dc04508b522763275 [2021-10-12T14:50:05.851Z] $ docker rm -f e9c1c8319c9d3c0d6c4b0385db4554dd63e39df2b0deb64dc04508b522763275 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-10-12T14:50:06.380Z] + docker inspect -f . ci-base-image-x86_64 [2021-10-12T14:50:06.380Z] . [Pipeline] withDockerContainer [2021-10-12T14:50:06.443Z] prd-centos7-docker-4c-2g-710 does not seem to be running inside a container [2021-10-12T14:50:06.477Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/4 -v /w/workspace/device-sdk-go/4:/w/workspace/device-sdk-go/4:rw,z -v /w/workspace/device-sdk-go/4@tmp:/w/workspace/device-sdk-go/4@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2021-10-12T14:50:06.833Z] $ docker top 32e91fc7496fe94bfca4fd5af90784b985db8132fc829399978ad9f9da98e44a -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh [2021-10-12T14:50:07.204Z] + make test [2021-10-12T14:50:07.204Z] GO111MODULE=on go test -race -coverprofile=coverage.out ./... [2021-10-12T14:50:12.526Z] ? github.com/edgexfoundry/device-sdk-go/v2 [no test files] [2021-10-12T14:50:39.211Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/cmd/device-simple [no test files] [2021-10-12T14:50:39.211Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/config [no test files] [2021-10-12T14:50:39.211Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/driver [no test files] [2021-10-12T14:50:39.211Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/application 0.051s coverage: 23.5% of statements [2021-10-12T14:50:39.211Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/autodiscovery [no test files] [2021-10-12T14:50:39.211Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/autoevent 0.050s coverage: 28.1% of statements [2021-10-12T14:50:39.211Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/cache 0.088s coverage: 78.9% of statements [2021-10-12T14:50:39.211Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/clients 0.061s coverage: 9.0% of statements [2021-10-12T14:50:39.211Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/common [no test files] [2021-10-12T14:50:39.211Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/config [no test files] [2021-10-12T14:50:39.211Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/container [no test files] [2021-10-12T14:50:39.211Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http 0.072s coverage: 28.7% of statements [2021-10-12T14:50:39.211Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http/correlation [no test files] [2021-10-12T14:50:39.789Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/messaging 1.072s coverage: 83.3% of statements [2021-10-12T14:50:39.789Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/provision [no test files] [2021-10-12T14:50:39.789Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/telemetry [no test files] [2021-10-12T14:50:39.789Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/transformer 0.076s coverage: 57.8% of statements [2021-10-12T14:50:41.218Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/models 0.849s coverage: 89.0% of statements [2021-10-12T14:50:41.218Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/models/mocks [no test files] [2021-10-12T14:50:41.218Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/service 0.048s coverage: 4.9% of statements [2021-10-12T14:50:41.218Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/startup [no test files] [2021-10-12T14:50:41.218Z] GO111MODULE=on go vet ./... [2021-10-12T14:50:59.379Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2021-10-12T14:50:59.379Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2021-10-12T14:50:59.379Z] ./bin/test-attribution-txt.sh [Pipeline] } [2021-10-12T14:50:59.388Z] $ docker stop --time=1 32e91fc7496fe94bfca4fd5af90784b985db8132fc829399978ad9f9da98e44a [2021-10-12T14:51:00.838Z] $ docker rm -f 32e91fc7496fe94bfca4fd5af90784b985db8132fc829399978ad9f9da98e44a [Pipeline] // withDockerContainer [Pipeline] sh [2021-10-12T14:51:01.085Z] Running on prd-ubuntu18.04-docker-arm64-4c-16g-711 in /w/workspace/gexfoundry_device-sdk-go_PR-1031 [Pipeline] { [Pipeline] ws [2021-10-12T14:51:01.096Z] Running in /w/workspace/device-sdk-go/4 [Pipeline] { [Pipeline] checkout [2021-10-12T14:51:01.275Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2021-10-12T14:51:01.314Z] Selected Git installation does not exist. Using Default [2021-10-12T14:51:01.314Z] The recommended git tool is: NONE [2021-10-12T14:51:01.470Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2021-10-12T14:51:02.785Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2021-10-12T14:51:03.076Z] + ls -al . [2021-10-12T14:51:03.076Z] total 264 [2021-10-12T14:51:03.076Z] drwxrwxr-x. 10 jenkins jenkins 4096 Oct 12 14:50 . [2021-10-12T14:51:03.076Z] drwxrwxr-x. 4 jenkins jenkins 28 Oct 12 14:49 .. [2021-10-12T14:51:03.076Z] drwxrwxr-x. 2 jenkins jenkins 37 Oct 12 14:49 bin [2021-10-12T14:51:03.076Z] -rw-rw-r--. 1 jenkins jenkins 24816 Oct 12 14:49 CHANGELOG.md [2021-10-12T14:51:03.076Z] -rw-r--r--. 1 jenkins jenkins 126432 Oct 12 14:50 coverage.out [2021-10-12T14:51:03.076Z] -rw-rw-r--. 1 jenkins jenkins 140 Oct 12 14:49 .dockerignore [2021-10-12T14:51:03.076Z] drwxrwxr-x. 5 jenkins jenkins 62 Oct 12 14:49 example [2021-10-12T14:51:03.076Z] drwxrwxr-x. 8 jenkins jenkins 179 Oct 12 14:49 .git [2021-10-12T14:51:03.076Z] drwxrwxr-x. 3 jenkins jenkins 125 Oct 12 14:49 .github [2021-10-12T14:51:03.076Z] -rw-rw-r--. 1 jenkins jenkins 131 Oct 12 14:49 .gitignore [2021-10-12T14:51:03.076Z] -rw-rw-r--. 1 jenkins jenkins 583 Oct 12 14:49 go.mod [2021-10-12T14:51:03.076Z] -rw-rw-r--. 1 jenkins jenkins 49618 Oct 12 14:49 go.sum [2021-10-12T14:51:03.076Z] -rw-rw-r--. 1 jenkins jenkins 677 Oct 12 14:49 GOVERNANCE.md [2021-10-12T14:51:03.076Z] drwxrwxr-x. 15 jenkins jenkins 224 Oct 12 14:49 internal [2021-10-12T14:51:03.076Z] -rw-rw-r--. 1 jenkins jenkins 880 Oct 12 14:49 Jenkinsfile [2021-10-12T14:51:03.076Z] -rw-rw-r--. 1 jenkins jenkins 11341 Oct 12 14:49 LICENSE [2021-10-12T14:51:03.076Z] -rw-rw-r--. 1 jenkins jenkins 1120 Oct 12 14:49 Makefile [2021-10-12T14:51:03.076Z] drwxrwxr-x. 3 jenkins jenkins 16 Oct 12 14:49 openapi [2021-10-12T14:51:03.076Z] -rw-rw-r--. 1 jenkins jenkins 619 Oct 12 14:49 OWNERS.md [2021-10-12T14:51:03.076Z] drwxrwxr-x. 5 jenkins jenkins 50 Oct 12 14:49 pkg [2021-10-12T14:51:03.076Z] -rw-rw-r--. 1 jenkins jenkins 4877 Oct 12 14:49 README.md [2021-10-12T14:51:03.076Z] drwxrwxr-x. 4 jenkins jenkins 54 Oct 12 14:49 snap [2021-10-12T14:51:03.076Z] -rw-rw-r--. 1 jenkins jenkins 5 Oct 12 14:44 VERSION [2021-10-12T14:51:03.076Z] -rw-rw-r--. 1 jenkins jenkins 222 Oct 12 14:49 version.go [Pipeline] isUnix [Pipeline] sh [2021-10-12T14:51:03.373Z] + 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=e5d9cfbe928658cd82a83bf6efbe108d7433f36d --label arch=amd64 --label version=0.0.0 . [2021-10-12T14:51:03.373Z] Sending build context to Docker daemon 2.816MB [2021-10-12T14:51:03.373Z] Step 1/24 : ARG BASE=golang:1.16-alpine3.14 [2021-10-12T14:51:03.373Z] Step 2/24 : FROM ${BASE} AS builder [2021-10-12T14:51:03.373Z] ---> 8ee39718cee8 [2021-10-12T14:51:03.373Z] Step 3/24 : ARG MAKE=make build [2021-10-12T14:51:03.373Z] ---> Running in 391c8af5c864 [2021-10-12T14:51:03.634Z] Removing intermediate container 391c8af5c864 [2021-10-12T14:51:03.634Z] ---> 1614e1c6fb93 [2021-10-12T14:51:03.634Z] Step 4/24 : WORKDIR /device-sdk-go [2021-10-12T14:51:03.634Z] ---> Running in 208eafe7460d [2021-10-12T14:51:03.634Z] Removing intermediate container 208eafe7460d [2021-10-12T14:51:03.634Z] ---> 80db060043f7 [2021-10-12T14:51:03.634Z] Step 5/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-10-12T14:51:03.634Z] ---> Running in 9093da95a55d [2021-10-12T14:51:03.634Z] Removing intermediate container 9093da95a55d [2021-10-12T14:51:03.634Z] ---> 255dec9e7f9d [2021-10-12T14:51:03.634Z] Step 6/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-10-12T14:51:03.634Z] ---> Running in 0711aee74de8 [2021-10-12T14:51:04.214Z] Removing intermediate container 0711aee74de8 [2021-10-12T14:51:04.214Z] ---> dbd35327157b [2021-10-12T14:51:04.214Z] Step 7/24 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev [2021-10-12T14:51:04.214Z] ---> Running in 86ef6c61af28 [2021-10-12T14:51:04.476Z] fetch https://nl.alpinelinux.org/alpine/v3.13/main/x86_64/APKINDEX.tar.gz [2021-10-12T14:51:05.416Z] fetch https://nl.alpinelinux.org/alpine/v3.13/community/x86_64/APKINDEX.tar.gz [2021-10-12T14:51:05.675Z] OK: 219 MiB in 52 packages [2021-10-12T14:51:05.938Z] Removing intermediate container 86ef6c61af28 [2021-10-12T14:51:05.938Z] ---> 6cfd842e1fc0 [2021-10-12T14:51:05.938Z] Step 8/24 : COPY . . [2021-10-12T14:51:06.206Z] ---> 243842c2d167 [2021-10-12T14:51:06.206Z] Step 9/24 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2021-10-12T14:51:06.206Z] ---> Running in ac5ac66907d7 [2021-10-12T14:51:06.780Z] Removing intermediate container ac5ac66907d7 [2021-10-12T14:51:06.780Z] ---> 03ed1c9b6928 [2021-10-12T14:51:06.780Z] Step 10/24 : RUN ${MAKE} [2021-10-12T14:51:06.780Z] ---> Running in a95c6bb53243 [2021-10-12T14:51:07.044Z] 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-10-12T14:51:08.063Z] using credential edgex-jenkins-ssh [2021-10-12T14:51:08.084Z] Cloning the remote Git repository [2021-10-12T14:51:08.147Z] Cloning repository git@github.com:edgexfoundry/device-sdk-go.git [2021-10-12T14:51:08.259Z] > git init /w/workspace/device-sdk-go/4 # timeout=10 [2021-10-12T14:51:08.352Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2021-10-12T14:51:08.353Z] > git --version # timeout=10 [2021-10-12T14:51:08.372Z] > git --version # 'git version 2.17.1' [2021-10-12T14:51:08.375Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-10-12T14:51:08.485Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-10-12T14:51:09.940Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2021-10-12T14:51:09.963Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-10-12T14:51:09.989Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2021-10-12T14:51:10.025Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2021-10-12T14:51:10.026Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-10-12T14:51:10.039Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/1031/head:refs/remotes/origin/PR-1031 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2021-10-12T14:51:10.674Z] Merging remotes/origin/main commit 5ed4cacd84df9b58bf582e255ca77028d77e465f into PR head commit ca8f408215d3aa33b4c9f70e2fe77f2cb3750385 [2021-10-12T14:51:10.977Z] Merge succeeded, producing 67e29f3bab41d361285ad02d6e9943eadf926b06 [2021-10-12T14:51:10.977Z] Checking out Revision 67e29f3bab41d361285ad02d6e9943eadf926b06 (PR-1031) [2021-10-12T14:51:10.692Z] > git config core.sparsecheckout # timeout=10 [2021-10-12T14:51:10.708Z] > git checkout -f ca8f408215d3aa33b4c9f70e2fe77f2cb3750385 # timeout=10 [2021-10-12T14:51:10.825Z] > git remote # timeout=10 [2021-10-12T14:51:10.847Z] > git config --get remote.origin.url # timeout=10 [2021-10-12T14:51:10.858Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-10-12T14:51:10.869Z] > git merge 5ed4cacd84df9b58bf582e255ca77028d77e465f # timeout=10 [2021-10-12T14:51:10.953Z] > git rev-parse HEAD^{commit} # timeout=10 [2021-10-12T14:51:10.982Z] > git config core.sparsecheckout # timeout=10 [2021-10-12T14:51:10.997Z] > git checkout -f 67e29f3bab41d361285ad02d6e9943eadf926b06 # timeout=10 [2021-10-12T14:51:15.550Z] Commit message: "Merge commit '5ed4cacd84df9b58bf582e255ca77028d77e465f' into HEAD" [2021-10-12T14:51:15.553Z] > git rev-list --no-walk ca8f408215d3aa33b4c9f70e2fe77f2cb3750385 # timeout=10 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-10-12T14:51:16.032Z] provisioning config files... [2021-10-12T14:51:16.064Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/4@tmp/config5341171047015356603tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-10-12T14:51:16.750Z] ---> docker-login.sh [2021-10-12T14:51:16.751Z] nexus3.edgexfoundry.org:10001 [2021-10-12T14:51:18.229Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-10-12T14:51:18.510Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-10-12T14:51:18.510Z] Configure a credential helper to remove this warning. See [2021-10-12T14:51:18.510Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-10-12T14:51:18.510Z] [2021-10-12T14:51:18.510Z] Login Succeeded [2021-10-12T14:51:18.510Z] nexus3.edgexfoundry.org:10002 [2021-10-12T14:51:19.123Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-10-12T14:51:19.124Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-10-12T14:51:19.124Z] Configure a credential helper to remove this warning. See [2021-10-12T14:51:19.124Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-10-12T14:51:19.124Z] [2021-10-12T14:51:19.124Z] Login Succeeded [2021-10-12T14:51:19.124Z] nexus3.edgexfoundry.org:10003 [2021-10-12T14:51:19.391Z] CGO_ENABLED=1 GO111MODULE=on go install -tags=safe [2021-10-12T14:51:19.391Z] Removing intermediate container a95c6bb53243 [2021-10-12T14:51:19.391Z] ---> c8eafaad1629 [2021-10-12T14:51:19.391Z] Step 11/24 : FROM alpine:3.14 [2021-10-12T14:51:19.391Z] 3.14: Pulling from library/alpine [2021-10-12T14:51:19.652Z] a0d0a0d46f8b: Pulling fs layer [2021-10-12T14:51:19.743Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-10-12T14:51:19.743Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-10-12T14:51:19.743Z] Configure a credential helper to remove this warning. See [2021-10-12T14:51:19.743Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-10-12T14:51:19.743Z] [2021-10-12T14:51:19.743Z] Login Succeeded [2021-10-12T14:51:19.920Z] a0d0a0d46f8b: Verifying Checksum [2021-10-12T14:51:19.920Z] a0d0a0d46f8b: Download complete [2021-10-12T14:51:19.920Z] a0d0a0d46f8b: Pull complete [2021-10-12T14:51:19.920Z] Digest: sha256:e1c082e3d3c45cccac829840a25941e679c25d438cc8412c2fa221cf1a824e6a [2021-10-12T14:51:19.920Z] Status: Downloaded newer image for alpine:3.14 [2021-10-12T14:51:19.920Z] ---> 14119a10abf4 [2021-10-12T14:51:19.920Z] Step 12/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-10-12T14:51:19.920Z] ---> Running in b92dabb548a5 [2021-10-12T14:51:20.025Z] nexus3.edgexfoundry.org:10004 [2021-10-12T14:51:20.185Z] Removing intermediate container b92dabb548a5 [2021-10-12T14:51:20.185Z] ---> d16b586e072d [2021-10-12T14:51:20.185Z] Step 13/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-10-12T14:51:20.185Z] ---> Running in 03d1d4d65af4 [2021-10-12T14:51:20.306Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-10-12T14:51:20.457Z] Removing intermediate container 03d1d4d65af4 [2021-10-12T14:51:20.457Z] ---> 938d387ab140 [2021-10-12T14:51:20.457Z] Step 14/24 : RUN apk add --update --no-cache zeromq [2021-10-12T14:51:20.457Z] ---> Running in 9f711ccd6530 [2021-10-12T14:51:20.588Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-10-12T14:51:20.588Z] Configure a credential helper to remove this warning. See [2021-10-12T14:51:20.588Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-10-12T14:51:20.588Z] [2021-10-12T14:51:20.588Z] Login Succeeded [2021-10-12T14:51:20.588Z] docker.io [2021-10-12T14:51:20.723Z] fetch https://nl.alpinelinux.org/alpine/v3.14/main/x86_64/APKINDEX.tar.gz [2021-10-12T14:51:20.870Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-10-12T14:51:21.492Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-10-12T14:51:21.492Z] Configure a credential helper to remove this warning. See [2021-10-12T14:51:21.492Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-10-12T14:51:21.492Z] [2021-10-12T14:51:21.492Z] Login Succeeded [2021-10-12T14:51:21.492Z] ---> docker-login.sh ends [Pipeline] } [2021-10-12T14:51:21.599Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [2021-10-12T14:51:21.665Z] fetch https://nl.alpinelinux.org/alpine/v3.14/community/x86_64/APKINDEX.tar.gz [2021-10-12T14:51:21.924Z] (1/5) Installing libgcc (10.3.1_git20210424-r2) [2021-10-12T14:51:22.200Z] (2/5) Installing libsodium (1.0.18-r0) [2021-10-12T14:51:22.200Z] (3/5) Installing libstdc++ (10.3.1_git20210424-r2) [2021-10-12T14:51:22.200Z] (4/5) Installing libzmq (4.3.4-r0) [Pipeline] echo [2021-10-12T14:51:22.217Z] ========================================================= [2021-10-12T14:51:22.218Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine] [2021-10-12T14:51:22.218Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh [2021-10-12T14:51:22.460Z] (5/5) Installing zeromq (4.3.4-r0) [2021-10-12T14:51:22.460Z] Executing busybox-1.33.1-r3.trigger [2021-10-12T14:51:22.460Z] OK: 8 MiB in 19 packages [2021-10-12T14:51:22.602Z] + docker build -t ci-base-image-arm64 -f example/cmd/device-simple/Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine --build-arg MAKE=echo noop --target=builder . [2021-10-12T14:51:22.722Z] Removing intermediate container 9f711ccd6530 [2021-10-12T14:51:22.722Z] ---> 3cdc285376e2 [2021-10-12T14:51:22.722Z] Step 15/24 : WORKDIR / [2021-10-12T14:51:22.722Z] ---> Running in f0d74e6c799f [2021-10-12T14:51:22.983Z] Removing intermediate container f0d74e6c799f [2021-10-12T14:51:22.983Z] ---> 6a9152c36a2c [2021-10-12T14:51:22.983Z] Step 16/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt [2021-10-12T14:51:22.983Z] ---> 0796d010a0a5 [2021-10-12T14:51:22.983Z] Step 17/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple [2021-10-12T14:51:23.226Z] Sending build context to Docker daemon 2.688MB [2021-10-12T14:51:23.226Z] Step 1/10 : ARG BASE=golang:1.16-alpine3.14 [2021-10-12T14:51:23.226Z] Step 2/10 : FROM ${BASE} AS builder [2021-10-12T14:51:23.247Z] ---> 0476de5a0e36 [2021-10-12T14:51:23.247Z] Step 18/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res [2021-10-12T14:51:23.508Z] ---> 406df34206a5 [2021-10-12T14:51:23.508Z] Step 19/24 : EXPOSE 59999 [2021-10-12T14:51:23.508Z] ---> Running in 57a55458f782 [2021-10-12T14:51:23.508Z] Removing intermediate container 57a55458f782 [2021-10-12T14:51:23.508Z] ---> 15bfb146cb36 [2021-10-12T14:51:23.508Z] Step 20/24 : ENTRYPOINT ["/device-simple"] [2021-10-12T14:51:23.508Z] ---> Running in ce0721861fee [2021-10-12T14:51:23.514Z] 1.16-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2021-10-12T14:51:23.514Z] bbf911997326: Pulling fs layer [2021-10-12T14:51:23.514Z] 58ec367f63d7: Pulling fs layer [2021-10-12T14:51:23.514Z] 1b4a6ffa7d45: Pulling fs layer [2021-10-12T14:51:23.514Z] fc5181fea5dc: Pulling fs layer [2021-10-12T14:51:23.514Z] 9c418107303f: Pulling fs layer [2021-10-12T14:51:23.514Z] 284eca6f2348: Pulling fs layer [2021-10-12T14:51:23.514Z] 842844d905b1: Pulling fs layer [2021-10-12T14:51:23.514Z] 901a3a57568e: Pulling fs layer [2021-10-12T14:51:23.514Z] 9c418107303f: Waiting [2021-10-12T14:51:23.514Z] 284eca6f2348: Waiting [2021-10-12T14:51:23.514Z] 842844d905b1: Waiting [2021-10-12T14:51:23.514Z] 901a3a57568e: Waiting [2021-10-12T14:51:23.514Z] 1b4a6ffa7d45: Download complete [2021-10-12T14:51:23.514Z] 58ec367f63d7: Verifying Checksum [2021-10-12T14:51:23.514Z] 58ec367f63d7: Download complete [2021-10-12T14:51:23.514Z] 9c418107303f: Verifying Checksum [2021-10-12T14:51:23.514Z] 9c418107303f: Download complete [2021-10-12T14:51:23.514Z] 284eca6f2348: Verifying Checksum [2021-10-12T14:51:23.514Z] 284eca6f2348: Download complete [2021-10-12T14:51:23.514Z] bbf911997326: Verifying Checksum [2021-10-12T14:51:23.514Z] 842844d905b1: Verifying Checksum [2021-10-12T14:51:23.514Z] 842844d905b1: Download complete [2021-10-12T14:51:23.769Z] Removing intermediate container ce0721861fee [2021-10-12T14:51:23.769Z] ---> 7e09f3e65bcb [2021-10-12T14:51:23.769Z] Step 21/24 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2021-10-12T14:51:23.769Z] ---> Running in 6f8ddf8e6172 [2021-10-12T14:51:23.769Z] Removing intermediate container 6f8ddf8e6172 [2021-10-12T14:51:23.769Z] ---> 3c6ad21e5958 [2021-10-12T14:51:23.769Z] Step 22/24 : LABEL arch=amd64 [2021-10-12T14:51:23.769Z] ---> Running in 43881c460564 [2021-10-12T14:51:23.769Z] Removing intermediate container 43881c460564 [2021-10-12T14:51:23.769Z] ---> 24811b8d38be [2021-10-12T14:51:23.769Z] Step 23/24 : LABEL git_sha=e5d9cfbe928658cd82a83bf6efbe108d7433f36d [2021-10-12T14:51:24.031Z] ---> Running in d30d8dde4dc3 [2021-10-12T14:51:24.031Z] Removing intermediate container d30d8dde4dc3 [2021-10-12T14:51:24.031Z] ---> fdf75efc69e6 [2021-10-12T14:51:24.031Z] Step 24/24 : LABEL version=0.0.0 [2021-10-12T14:51:24.031Z] ---> Running in 23e3df7394a5 [2021-10-12T14:51:24.031Z] Removing intermediate container 23e3df7394a5 [2021-10-12T14:51:24.031Z] ---> 5893e52e0256 [2021-10-12T14:51:24.031Z] [Warning] One or more build-args [ARCH] were not consumed [2021-10-12T14:51:24.031Z] Successfully built 5893e52e0256 [2021-10-12T14:51:24.031Z] Successfully tagged device-sdk-simple:latest [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-10-12T14:51:24.525Z] bbf911997326: Pull complete [2021-10-12T14:51:24.627Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2021-10-12T14:51:24.627Z] [2021-10-12T14:51:24.627Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] sh [2021-10-12T14:51:24.931Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2021-10-12T14:51:24.931Z] latest: Pulling from edgex-lftools-log-publisher [2021-10-12T14:51:24.931Z] b4d181a07f80: Pulling fs layer [2021-10-12T14:51:24.931Z] a1111a8f2ec3: Pulling fs layer [2021-10-12T14:51:24.931Z] ed53099fbce6: Pulling fs layer [2021-10-12T14:51:24.931Z] dc539afda2c1: Pulling fs layer [2021-10-12T14:51:24.931Z] 77bc0d833cb6: Pulling fs layer [2021-10-12T14:51:24.931Z] 9065ff56babe: Pulling fs layer [2021-10-12T14:51:24.931Z] d287ab97295c: Pulling fs layer [2021-10-12T14:51:24.931Z] dc539afda2c1: Waiting [2021-10-12T14:51:24.931Z] 77bc0d833cb6: Waiting [2021-10-12T14:51:24.931Z] 9065ff56babe: Waiting [2021-10-12T14:51:24.931Z] d287ab97295c: Waiting [2021-10-12T14:51:24.931Z] a1111a8f2ec3: Verifying Checksum [2021-10-12T14:51:24.931Z] a1111a8f2ec3: Download complete [2021-10-12T14:51:24.931Z] dc539afda2c1: Verifying Checksum [2021-10-12T14:51:24.931Z] dc539afda2c1: Download complete [2021-10-12T14:51:25.140Z] 58ec367f63d7: Pull complete [2021-10-12T14:51:25.198Z] ed53099fbce6: Verifying Checksum [2021-10-12T14:51:25.198Z] ed53099fbce6: Download complete [2021-10-12T14:51:25.198Z] 77bc0d833cb6: Verifying Checksum [2021-10-12T14:51:25.198Z] 77bc0d833cb6: Download complete [2021-10-12T14:51:25.198Z] 9065ff56babe: Verifying Checksum [2021-10-12T14:51:25.198Z] 9065ff56babe: Download complete [2021-10-12T14:51:25.198Z] b4d181a07f80: Verifying Checksum [2021-10-12T14:51:25.198Z] b4d181a07f80: Download complete [2021-10-12T14:51:25.429Z] 1b4a6ffa7d45: Pull complete [2021-10-12T14:51:25.709Z] 901a3a57568e: Verifying Checksum [2021-10-12T14:51:25.709Z] 901a3a57568e: Download complete [2021-10-12T14:51:25.773Z] d287ab97295c: Verifying Checksum [2021-10-12T14:51:25.773Z] d287ab97295c: Download complete [2021-10-12T14:51:25.987Z] fc5181fea5dc: Verifying Checksum [2021-10-12T14:51:25.987Z] fc5181fea5dc: Download complete [2021-10-12T14:51:26.721Z] b4d181a07f80: Pull complete [2021-10-12T14:51:26.721Z] a1111a8f2ec3: Pull complete [2021-10-12T14:51:27.295Z] ed53099fbce6: Pull complete [2021-10-12T14:51:27.295Z] dc539afda2c1: Pull complete [2021-10-12T14:51:27.558Z] 77bc0d833cb6: Pull complete [2021-10-12T14:51:27.822Z] 9065ff56babe: Pull complete [2021-10-12T14:51:33.164Z] d287ab97295c: Pull complete [2021-10-12T14:51:33.164Z] Digest: sha256:0c69325c24349bfb3ea32a3c3cbcab1fb66df42c981276dd8ebcf6aa441257c4 [2021-10-12T14:51:33.164Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2021-10-12T14:51:33.164Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] withDockerContainer [2021-10-12T14:51:33.244Z] prd-centos7-docker-4c-2g-710 does not seem to be running inside a container [2021-10-12T14:51:33.282Z] $ 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/4 -v /w/workspace/device-sdk-go/4:/w/workspace/device-sdk-go/4:rw,z -v /w/workspace/device-sdk-go/4@tmp:/w/workspace/device-sdk-go/4@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-10-12T14:51:35.786Z] $ docker top edc6b172899912cb343b52f29be536fdfacdb49ab2a62a39d8aecf1a60afc8d0 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-10-12T14:51:36.183Z] ---> job-cost.sh [2021-10-12T14:51:36.183Z] lf-activate-venv: SKIPPING [2021-10-12T14:51:36.183Z] INFO: No Stack... [2021-10-12T14:51:36.428Z] fc5181fea5dc: Pull complete [2021-10-12T14:51:36.428Z] 9c418107303f: Pull complete [2021-10-12T14:51:36.428Z] 284eca6f2348: Pull complete [2021-10-12T14:51:36.428Z] 842844d905b1: Pull complete [2021-10-12T14:51:36.444Z] INFO: Retrieving Pricing Info for: v3-standard-2 [2021-10-12T14:51:36.703Z] INFO: Archiving Costs [Pipeline] sh [2021-10-12T14:51:36.999Z] + cat /w/workspace/device-sdk-go/4/archives/cost.csv [2021-10-12T14:51:37.000Z] + cut -d, -f6 [Pipeline] lock [2021-10-12T14:51:37.028Z] Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-PR-1031-4-stack-cost] [2021-10-12T14:51:37.036Z] Resource [jenkins-edgexfoundry-device-sdk-go-PR-1031-4-stack-cost] did not exist. Created. [2021-10-12T14:51:37.036Z] Lock acquired on [jenkins-edgexfoundry-device-sdk-go-PR-1031-4-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2021-10-12T14:51:37.339Z] + echo total: 0.05999999865889549 [Pipeline] stash [2021-10-12T14:51:37.375Z] Stashed 1 file(s) [Pipeline] } [2021-10-12T14:51:37.381Z] Lock released on resource [jenkins-edgexfoundry-device-sdk-go-PR-1031-4-stack-cost] [Pipeline] // lock [Pipeline] } [2021-10-12T14:51:37.396Z] $ docker stop --time=1 edc6b172899912cb343b52f29be536fdfacdb49ab2a62a39d8aecf1a60afc8d0 [2021-10-12T14:51:38.538Z] $ docker rm -f edc6b172899912cb343b52f29be536fdfacdb49ab2a62a39d8aecf1a60afc8d0 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [2021-10-12T14:51:41.888Z] 901a3a57568e: Pull complete [2021-10-12T14:51:41.888Z] Digest: sha256:92108203400274521d8db92c8dd03fc26ad1e7e27843eaecabaf975bf4a1b1e7 [2021-10-12T14:51:41.888Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine [2021-10-12T14:51:41.888Z] ---> 72ade6ffb461 [2021-10-12T14:51:41.888Z] Step 3/10 : ARG MAKE=make build [2021-10-12T14:51:47.384Z] ---> Running in 7b9441e88c29 [2021-10-12T14:51:47.384Z] Removing intermediate container 7b9441e88c29 [2021-10-12T14:51:47.384Z] ---> 676b0cf2cc97 [2021-10-12T14:51:47.384Z] Step 4/10 : WORKDIR /device-sdk-go [2021-10-12T14:51:47.384Z] ---> Running in df5ffe785867 [2021-10-12T14:51:47.998Z] Removing intermediate container df5ffe785867 [2021-10-12T14:51:47.998Z] ---> ca73f0203af8 [2021-10-12T14:51:47.998Z] Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-10-12T14:51:47.998Z] ---> Running in e3a56aa0fda2 [2021-10-12T14:51:48.599Z] Removing intermediate container e3a56aa0fda2 [2021-10-12T14:51:48.599Z] ---> d21daf9c99db [2021-10-12T14:51:48.599Z] Step 6/10 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-10-12T14:51:48.599Z] ---> Running in 3131499674f0 [2021-10-12T14:51:51.259Z] Removing intermediate container 3131499674f0 [2021-10-12T14:51:51.260Z] ---> f8cb7b0525e1 [2021-10-12T14:51:51.260Z] Step 7/10 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev [2021-10-12T14:51:51.541Z] ---> Running in 7a0b4fd44c44 [2021-10-12T14:51:53.017Z] fetch https://nl.alpinelinux.org/alpine/v3.13/main/aarch64/APKINDEX.tar.gz [2021-10-12T14:51:53.626Z] fetch https://nl.alpinelinux.org/alpine/v3.13/community/aarch64/APKINDEX.tar.gz [2021-10-12T14:51:54.625Z] OK: 218 MiB in 52 packages [2021-10-12T14:51:55.628Z] Removing intermediate container 7a0b4fd44c44 [2021-10-12T14:51:55.628Z] ---> d2be3ebba876 [2021-10-12T14:51:55.628Z] Step 8/10 : COPY . . [2021-10-12T14:51:57.085Z] ---> 1c529e056883 [2021-10-12T14:51:57.085Z] Step 9/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2021-10-12T14:51:57.085Z] ---> Running in 0d68c7f2f205 [2021-10-12T14:53:18.997Z] Removing intermediate container 0d68c7f2f205 [2021-10-12T14:53:18.997Z] ---> 42e81dbdba90 [2021-10-12T14:53:18.997Z] Step 10/10 : RUN ${MAKE} [2021-10-12T14:53:18.997Z] ---> Running in 83b60fd1dee8 [2021-10-12T14:53:20.014Z] noop [2021-10-12T14:53:21.013Z] Removing intermediate container 83b60fd1dee8 [2021-10-12T14:53:21.013Z] ---> eabf9e488f56 [2021-10-12T14:53:21.293Z] Successfully built eabf9e488f56 [2021-10-12T14:53:21.293Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh [2021-10-12T14:53:21.665Z] + docker inspect -f . ci-base-image-arm64 [2021-10-12T14:53:21.665Z] . [Pipeline] withDockerContainer [2021-10-12T14:53:21.974Z] prd-ubuntu18.04-docker-arm64-4c-16g-711 does not seem to be running inside a container [2021-10-12T14:53:22.085Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/4 -v /w/workspace/device-sdk-go/4:/w/workspace/device-sdk-go/4:rw,z -v /w/workspace/device-sdk-go/4@tmp:/w/workspace/device-sdk-go/4@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-10-12T14:53:23.909Z] $ docker top fdd3170118495534577f277fe5a52a00468dba4905539ab7f5c705e9b77f5c5d -eo pid,comm [Pipeline] { [Pipeline] sh [2021-10-12T14:53:24.981Z] + go version [2021-10-12T14:53:24.981Z] go version go1.16.8 linux/arm64 [Pipeline] } [2021-10-12T14:53:25.002Z] $ docker stop --time=1 fdd3170118495534577f277fe5a52a00468dba4905539ab7f5c705e9b77f5c5d [2021-10-12T14:53:26.890Z] $ docker rm -f fdd3170118495534577f277fe5a52a00468dba4905539ab7f5c705e9b77f5c5d [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-10-12T14:53:27.673Z] + docker inspect -f . ci-base-image-arm64 [2021-10-12T14:53:27.673Z] . [Pipeline] withDockerContainer [2021-10-12T14:53:27.960Z] prd-ubuntu18.04-docker-arm64-4c-16g-711 does not seem to be running inside a container [2021-10-12T14:53:28.054Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/4 -v /w/workspace/device-sdk-go/4:/w/workspace/device-sdk-go/4:rw,z -v /w/workspace/device-sdk-go/4@tmp:/w/workspace/device-sdk-go/4@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-10-12T14:53:29.853Z] $ docker top ff989165da1b80aebd1e6ef6fa515de3830090c016312bf3dcda3136d4fdc72a -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh [2021-10-12T14:53:30.896Z] + make test [2021-10-12T14:53:30.896Z] GO111MODULE=on go test -race -coverprofile=coverage.out ./... [2021-10-12T14:53:57.855Z] ? github.com/edgexfoundry/device-sdk-go/v2 [no test files] [2021-10-12T14:55:06.032Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/cmd/device-simple [no test files] [2021-10-12T14:55:06.032Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/config [no test files] [2021-10-12T14:55:06.032Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/driver [no test files] [2021-10-12T14:55:14.403Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/application 0.366s coverage: 23.5% of statements [2021-10-12T14:55:14.403Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/autodiscovery [no test files] [2021-10-12T14:55:14.403Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/autoevent 0.232s coverage: 28.1% of statements [2021-10-12T14:55:14.403Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/cache 0.215s coverage: 78.9% of statements [2021-10-12T14:55:14.403Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/clients 0.241s coverage: 9.0% of statements [2021-10-12T14:55:14.403Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/common [no test files] [2021-10-12T14:55:14.403Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/config [no test files] [2021-10-12T14:55:14.403Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/container [no test files] [2021-10-12T14:55:14.403Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http 0.343s coverage: 28.7% of statements [2021-10-12T14:55:14.403Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http/correlation [no test files] [2021-10-12T14:55:16.414Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/messaging 1.202s coverage: 83.3% of statements [2021-10-12T14:55:16.414Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/provision [no test files] [2021-10-12T14:55:16.414Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/telemetry [no test files] [2021-10-12T14:55:16.414Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/transformer 0.326s coverage: 57.8% of statements [2021-10-12T14:55:20.763Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/models 2.909s coverage: 89.0% of statements [2021-10-12T14:55:20.763Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/models/mocks [no test files] [2021-10-12T14:55:20.763Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/service 0.197s coverage: 4.9% of statements [2021-10-12T14:55:20.763Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/startup [no test files] [2021-10-12T14:55:20.763Z] GO111MODULE=on go vet ./... [2021-10-12T14:56:17.451Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2021-10-12T14:56:17.451Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2021-10-12T14:56:17.451Z] ./bin/test-attribution-txt.sh [Pipeline] } [2021-10-12T14:56:17.468Z] $ docker stop --time=1 ff989165da1b80aebd1e6ef6fa515de3830090c016312bf3dcda3136d4fdc72a [2021-10-12T14:56:19.649Z] $ docker rm -f ff989165da1b80aebd1e6ef6fa515de3830090c016312bf3dcda3136d4fdc72a [Pipeline] // withDockerContainer [Pipeline] sh [2021-10-12T14:56:20.932Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2021-10-12T14:56:20.958Z] Warning: overwriting stash ‘coverage-report’ [2021-10-12T14:56:21.818Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-10-12T14:56:22.359Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2021-10-12T14:56:22.733Z] + ls -al . [2021-10-12T14:56:22.733Z] total 300 [2021-10-12T14:56:22.733Z] drwxrwxr-x 10 jenkins jenkins 4096 Oct 12 14:56 . [2021-10-12T14:56:22.733Z] drwxrwxr-x 4 jenkins jenkins 4096 Oct 12 14:51 .. [2021-10-12T14:56:22.733Z] -rw-rw-r-- 1 jenkins jenkins 140 Oct 12 14:51 .dockerignore [2021-10-12T14:56:22.733Z] drwxrwxr-x 8 jenkins jenkins 4096 Oct 12 14:51 .git [2021-10-12T14:56:22.733Z] drwxrwxr-x 3 jenkins jenkins 4096 Oct 12 14:51 .github [2021-10-12T14:56:22.733Z] -rw-rw-r-- 1 jenkins jenkins 131 Oct 12 14:51 .gitignore [2021-10-12T14:56:22.733Z] -rw-rw-r-- 1 jenkins jenkins 24816 Oct 12 14:51 CHANGELOG.md [2021-10-12T14:56:22.733Z] -rw-rw-r-- 1 jenkins jenkins 677 Oct 12 14:51 GOVERNANCE.md [2021-10-12T14:56:22.733Z] -rw-rw-r-- 1 jenkins jenkins 880 Oct 12 14:51 Jenkinsfile [2021-10-12T14:56:22.733Z] -rw-rw-r-- 1 jenkins jenkins 11341 Oct 12 14:51 LICENSE [2021-10-12T14:56:22.733Z] -rw-rw-r-- 1 jenkins jenkins 1120 Oct 12 14:51 Makefile [2021-10-12T14:56:22.733Z] -rw-rw-r-- 1 jenkins jenkins 619 Oct 12 14:51 OWNERS.md [2021-10-12T14:56:22.733Z] -rw-rw-r-- 1 jenkins jenkins 4877 Oct 12 14:51 README.md [2021-10-12T14:56:22.733Z] -rw-rw-r-- 1 jenkins jenkins 5 Oct 12 14:44 VERSION [2021-10-12T14:56:22.733Z] drwxrwxr-x 2 jenkins jenkins 4096 Oct 12 14:51 bin [2021-10-12T14:56:22.733Z] -rw-r--r-- 1 jenkins jenkins 126432 Oct 12 14:55 coverage.out [2021-10-12T14:56:22.733Z] drwxrwxr-x 5 jenkins jenkins 4096 Oct 12 14:51 example [2021-10-12T14:56:22.733Z] -rw-rw-r-- 1 jenkins jenkins 583 Oct 12 14:51 go.mod [2021-10-12T14:56:22.733Z] -rw-rw-r-- 1 jenkins jenkins 49618 Oct 12 14:51 go.sum [2021-10-12T14:56:22.733Z] drwxrwxr-x 15 jenkins jenkins 4096 Oct 12 14:51 internal [2021-10-12T14:56:22.733Z] drwxrwxr-x 3 jenkins jenkins 4096 Oct 12 14:51 openapi [2021-10-12T14:56:22.733Z] drwxrwxr-x 5 jenkins jenkins 4096 Oct 12 14:51 pkg [2021-10-12T14:56:22.733Z] drwxrwxr-x 4 jenkins jenkins 4096 Oct 12 14:51 snap [2021-10-12T14:56:22.733Z] -rw-rw-r-- 1 jenkins jenkins 222 Oct 12 14:51 version.go [Pipeline] isUnix [Pipeline] sh [2021-10-12T14:56:23.136Z] + 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=67e29f3bab41d361285ad02d6e9943eadf926b06 --label arch=arm64 --label version=0.0.0 . [2021-10-12T14:56:23.742Z] Sending build context to Docker daemon 2.815MB [2021-10-12T14:56:23.742Z] Step 1/24 : ARG BASE=golang:1.16-alpine3.14 [2021-10-12T14:56:23.742Z] Step 2/24 : FROM ${BASE} AS builder [2021-10-12T14:56:23.742Z] ---> eabf9e488f56 [2021-10-12T14:56:23.742Z] Step 3/24 : ARG MAKE=make build [2021-10-12T14:56:23.742Z] ---> Running in 27efde85fdc0 [2021-10-12T14:56:24.349Z] Removing intermediate container 27efde85fdc0 [2021-10-12T14:56:24.349Z] ---> e9d64204a06e [2021-10-12T14:56:24.349Z] Step 4/24 : WORKDIR /device-sdk-go [2021-10-12T14:56:24.349Z] ---> Running in bd5dff41dbac [2021-10-12T14:56:24.953Z] Removing intermediate container bd5dff41dbac [2021-10-12T14:56:24.953Z] ---> 4a258de92baf [2021-10-12T14:56:24.953Z] Step 5/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-10-12T14:56:25.233Z] ---> Running in 0242105891ae [2021-10-12T14:56:25.513Z] Removing intermediate container 0242105891ae [2021-10-12T14:56:25.513Z] ---> b7f41079b662 [2021-10-12T14:56:25.513Z] Step 6/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-10-12T14:56:25.791Z] ---> Running in 08fc662b72cc [2021-10-12T14:56:27.787Z] Removing intermediate container 08fc662b72cc [2021-10-12T14:56:27.787Z] ---> 94b87415adcc [2021-10-12T14:56:27.787Z] Step 7/24 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev [2021-10-12T14:56:28.072Z] ---> Running in 98297c340f46 [2021-10-12T14:56:29.070Z] fetch https://nl.alpinelinux.org/alpine/v3.13/main/aarch64/APKINDEX.tar.gz [2021-10-12T14:56:30.509Z] fetch https://nl.alpinelinux.org/alpine/v3.13/community/aarch64/APKINDEX.tar.gz [2021-10-12T14:56:31.125Z] OK: 218 MiB in 52 packages [2021-10-12T14:56:32.117Z] Removing intermediate container 98297c340f46 [2021-10-12T14:56:32.117Z] ---> 8897cca7e995 [2021-10-12T14:56:32.117Z] Step 8/24 : COPY . . [2021-10-12T14:56:33.111Z] ---> 581fca977911 [2021-10-12T14:56:33.111Z] Step 9/24 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2021-10-12T14:56:33.388Z] ---> Running in 733e8d58edcf [2021-10-12T14:56:36.036Z] Removing intermediate container 733e8d58edcf [2021-10-12T14:56:36.036Z] ---> efaa317fa397 [2021-10-12T14:56:36.036Z] Step 10/24 : RUN ${MAKE} [2021-10-12T14:56:36.036Z] ---> Running in 5036efe14183 [2021-10-12T14:56:37.030Z] 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-10-12T14:57:09.481Z] CGO_ENABLED=1 GO111MODULE=on go install -tags=safe [2021-10-12T14:57:12.905Z] Removing intermediate container 5036efe14183 [2021-10-12T14:57:12.905Z] ---> 2ba121117030 [2021-10-12T14:57:12.905Z] Step 11/24 : FROM alpine:3.14 [2021-10-12T14:57:13.895Z] 3.14: Pulling from library/alpine [2021-10-12T14:57:14.171Z] 552d1f2373af: Pulling fs layer [2021-10-12T14:57:14.448Z] 552d1f2373af: Verifying Checksum [2021-10-12T14:57:14.448Z] 552d1f2373af: Download complete [2021-10-12T14:57:15.056Z] 552d1f2373af: Pull complete [2021-10-12T14:57:15.334Z] Digest: sha256:e1c082e3d3c45cccac829840a25941e679c25d438cc8412c2fa221cf1a824e6a [2021-10-12T14:57:15.334Z] Status: Downloaded newer image for alpine:3.14 [2021-10-12T14:57:15.334Z] ---> bb3de5531c18 [2021-10-12T14:57:15.334Z] Step 12/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-10-12T14:57:15.334Z] ---> Running in 5dc892096d37 [2021-10-12T14:57:15.940Z] Removing intermediate container 5dc892096d37 [2021-10-12T14:57:15.940Z] ---> d33221298d4d [2021-10-12T14:57:15.941Z] Step 13/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-10-12T14:57:15.941Z] ---> Running in f9321adb5d55 [2021-10-12T14:57:18.591Z] Removing intermediate container f9321adb5d55 [2021-10-12T14:57:18.591Z] ---> bcb3541dba98 [2021-10-12T14:57:18.591Z] Step 14/24 : RUN apk add --update --no-cache zeromq [2021-10-12T14:57:18.591Z] ---> Running in 5e5299e6e0c4 [2021-10-12T14:57:19.580Z] fetch https://nl.alpinelinux.org/alpine/v3.14/main/aarch64/APKINDEX.tar.gz [2021-10-12T14:57:20.567Z] fetch https://nl.alpinelinux.org/alpine/v3.14/community/aarch64/APKINDEX.tar.gz [2021-10-12T14:57:21.171Z] (1/5) Installing libgcc (10.3.1_git20210424-r2) [2021-10-12T14:57:21.171Z] (2/5) Installing libsodium (1.0.18-r0) [2021-10-12T14:57:21.447Z] (3/5) Installing libstdc++ (10.3.1_git20210424-r2) [2021-10-12T14:57:21.447Z] (4/5) Installing libzmq (4.3.4-r0) [2021-10-12T14:57:21.447Z] (5/5) Installing zeromq (4.3.4-r0) [2021-10-12T14:57:21.724Z] Executing busybox-1.33.1-r3.trigger [2021-10-12T14:57:21.724Z] OK: 8 MiB in 19 packages [2021-10-12T14:57:22.716Z] Removing intermediate container 5e5299e6e0c4 [2021-10-12T14:57:22.716Z] ---> ab1e98ede778 [2021-10-12T14:57:22.716Z] Step 15/24 : WORKDIR / [2021-10-12T14:57:22.992Z] ---> Running in 2dbcd0ccb4fb [2021-10-12T14:57:23.594Z] Removing intermediate container 2dbcd0ccb4fb [2021-10-12T14:57:23.594Z] ---> 22c3a07a15f8 [2021-10-12T14:57:23.594Z] Step 16/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt [2021-10-12T14:57:24.199Z] ---> 3c247f936ff8 [2021-10-12T14:57:24.199Z] Step 17/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple [2021-10-12T14:57:25.649Z] ---> bee13c571eee [2021-10-12T14:57:25.649Z] Step 18/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res [2021-10-12T14:57:26.253Z] ---> e9dcfed1fd4c [2021-10-12T14:57:26.253Z] Step 19/24 : EXPOSE 59999 [2021-10-12T14:57:26.534Z] ---> Running in c649106844c1 [2021-10-12T14:57:27.134Z] Removing intermediate container c649106844c1 [2021-10-12T14:57:27.134Z] ---> 4f2b7bca5099 [2021-10-12T14:57:27.134Z] Step 20/24 : ENTRYPOINT ["/device-simple"] [2021-10-12T14:57:27.134Z] ---> Running in 317825dffe87 [2021-10-12T14:57:27.735Z] Removing intermediate container 317825dffe87 [2021-10-12T14:57:27.735Z] ---> 30b8534ee376 [2021-10-12T14:57:27.735Z] Step 21/24 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2021-10-12T14:57:27.735Z] ---> Running in 4feb0fb446fc [2021-10-12T14:57:28.340Z] Removing intermediate container 4feb0fb446fc [2021-10-12T14:57:28.340Z] ---> 10d6cb30e993 [2021-10-12T14:57:28.340Z] Step 22/24 : LABEL arch=arm64 [2021-10-12T14:57:28.340Z] ---> Running in d2592adb7a5e [2021-10-12T14:57:28.944Z] Removing intermediate container d2592adb7a5e [2021-10-12T14:57:28.944Z] ---> 3521812a31e2 [2021-10-12T14:57:28.944Z] Step 23/24 : LABEL git_sha=67e29f3bab41d361285ad02d6e9943eadf926b06 [2021-10-12T14:57:28.944Z] ---> Running in 4bc3178fa79f [2021-10-12T14:57:29.546Z] Removing intermediate container 4bc3178fa79f [2021-10-12T14:57:29.546Z] ---> 31d90d230f77 [2021-10-12T14:57:29.546Z] Step 24/24 : LABEL version=0.0.0 [2021-10-12T14:57:29.546Z] ---> Running in c30b6fe8a372 [2021-10-12T14:57:30.145Z] Removing intermediate container c30b6fe8a372 [2021-10-12T14:57:30.145Z] ---> c95f3693b6b1 [2021-10-12T14:57:30.145Z] [Warning] One or more build-args [ARCH] were not consumed [2021-10-12T14:57:30.145Z] Successfully built c95f3693b6b1 [2021-10-12T14:57:30.145Z] 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-10-12T14:57:30.976Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2021-10-12T14:57:30.976Z] [2021-10-12T14:57:30.976Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] sh [2021-10-12T14:57:31.331Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2021-10-12T14:57:31.609Z] arm64: Pulling from edgex-lftools-log-publisher [2021-10-12T14:57:31.609Z] 448f6bf000e3: Pulling fs layer [2021-10-12T14:57:31.609Z] f757da607395: Pulling fs layer [2021-10-12T14:57:31.609Z] 05883995daec: Pulling fs layer [2021-10-12T14:57:31.609Z] 8603b9c90790: Pulling fs layer [2021-10-12T14:57:31.609Z] 1560dd03e051: Pulling fs layer [2021-10-12T14:57:31.609Z] 27f5ce0e4adf: Pulling fs layer [2021-10-12T14:57:31.609Z] c2d8d7efcc4b: Pulling fs layer [2021-10-12T14:57:31.609Z] 8603b9c90790: Waiting [2021-10-12T14:57:31.609Z] 1560dd03e051: Waiting [2021-10-12T14:57:31.609Z] 27f5ce0e4adf: Waiting [2021-10-12T14:57:31.609Z] c2d8d7efcc4b: Waiting [2021-10-12T14:57:31.609Z] f757da607395: Verifying Checksum [2021-10-12T14:57:31.609Z] f757da607395: Download complete [2021-10-12T14:57:31.887Z] 8603b9c90790: Verifying Checksum [2021-10-12T14:57:31.887Z] 8603b9c90790: Download complete [2021-10-12T14:57:31.887Z] 05883995daec: Verifying Checksum [2021-10-12T14:57:31.887Z] 05883995daec: Download complete [2021-10-12T14:57:31.887Z] 1560dd03e051: Verifying Checksum [2021-10-12T14:57:31.887Z] 1560dd03e051: Download complete [2021-10-12T14:57:31.887Z] 27f5ce0e4adf: Verifying Checksum [2021-10-12T14:57:31.887Z] 27f5ce0e4adf: Download complete [2021-10-12T14:57:32.561Z] 448f6bf000e3: Verifying Checksum [2021-10-12T14:57:32.561Z] 448f6bf000e3: Download complete [2021-10-12T14:57:35.201Z] c2d8d7efcc4b: Verifying Checksum [2021-10-12T14:57:35.201Z] c2d8d7efcc4b: Download complete [2021-10-12T14:57:35.804Z] 448f6bf000e3: Pull complete [2021-10-12T14:57:36.407Z] f757da607395: Pull complete [2021-10-12T14:57:37.852Z] 05883995daec: Pull complete [2021-10-12T14:57:38.130Z] 8603b9c90790: Pull complete [2021-10-12T14:57:39.125Z] 1560dd03e051: Pull complete [2021-10-12T14:57:39.405Z] 27f5ce0e4adf: Pull complete [2021-10-12T14:57:54.563Z] c2d8d7efcc4b: Pull complete [2021-10-12T14:57:54.563Z] Digest: sha256:42f6a1c33103aa4ecfebf648e29883a20fd84132c0f0d4f855d8bcfd8dd9c454 [2021-10-12T14:57:54.563Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2021-10-12T14:57:54.563Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] withDockerContainer [2021-10-12T14:57:54.832Z] prd-ubuntu18.04-docker-arm64-4c-16g-711 does not seem to be running inside a container [2021-10-12T14:57:54.915Z] $ 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/4 -v /w/workspace/device-sdk-go/4:/w/workspace/device-sdk-go/4:rw,z -v /w/workspace/device-sdk-go/4@tmp:/w/workspace/device-sdk-go/4@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-10-12T14:57:58.678Z] $ docker top a6c3c03f1c4bf89e24a75c60fffdf61763f230d4638854e1b1b8eb950e40ad76 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-10-12T14:57:59.671Z] ---> job-cost.sh [2021-10-12T14:57:59.672Z] lf-activate-venv: SKIPPING [2021-10-12T14:57:59.672Z] INFO: No Stack... [2021-10-12T14:57:59.945Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2021-10-12T14:58:00.221Z] INFO: Archiving Costs [Pipeline] sh [2021-10-12T14:58:00.914Z] + cat /w/workspace/device-sdk-go/4/archives/cost.csv [2021-10-12T14:58:00.914Z] + cut -d, -f6 [Pipeline] lock [2021-10-12T14:58:00.981Z] Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-PR-1031-4-stack-cost] [2021-10-12T14:58:00.987Z] Resource [jenkins-edgexfoundry-device-sdk-go-PR-1031-4-stack-cost] did not exist. Created. [2021-10-12T14:58:00.987Z] Lock acquired on [jenkins-edgexfoundry-device-sdk-go-PR-1031-4-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2021-10-12T14:58:01.683Z] /w/workspace/device-sdk-go/4@tmp/durable-581e48f9/script.sh: 1: /w/workspace/device-sdk-go/4@tmp/durable-581e48f9/script.sh: Syntax error: Unterminated quoted string [Pipeline] sh [2021-10-12T14:58:02.378Z] + echo total: 0.10999999940395355 [Pipeline] stash [2021-10-12T14:58:02.405Z] Warning: overwriting stash ‘stack-cost’ [2021-10-12T14:58:02.471Z] Stashed 1 file(s) [Pipeline] } [2021-10-12T14:58:02.478Z] Lock released on resource [jenkins-edgexfoundry-device-sdk-go-PR-1031-4-stack-cost] [Pipeline] // lock [Pipeline] } [2021-10-12T14:58:02.487Z] $ docker stop --time=1 a6c3c03f1c4bf89e24a75c60fffdf61763f230d4638854e1b1b8eb950e40ad76 [2021-10-12T14:58:04.077Z] $ docker rm -f a6c3c03f1c4bf89e24a75c60fffdf61763f230d4638854e1b1b8eb950e40ad76 [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-10-12T14:58:04.814Z] provisioning config files... [2021-10-12T14:58:04.824Z] copy managed file [device-sdk-go-codecov-token] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1031@tmp/config1552483245818763906tmp [Pipeline] { [Pipeline] sh [2021-10-12T14:58:05.124Z] + set +x [2021-10-12T14:58:05.124Z] + curl -s https://codecov.io/bash [2021-10-12T14:58:05.124Z] + bash -s -- [2021-10-12T14:58:05.124Z] [2021-10-12T14:58:05.124Z] _____ _ [2021-10-12T14:58:05.124Z] / ____| | | [2021-10-12T14:58:05.124Z] | | ___ __| | ___ ___ _____ __ [2021-10-12T14:58:05.124Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2021-10-12T14:58:05.124Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2021-10-12T14:58:05.124Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2021-10-12T14:58:05.124Z] Bash-1.0.6 [2021-10-12T14:58:05.124Z] [2021-10-12T14:58:05.124Z] [2021-10-12T14:58:05.124Z] ==> git version 2.24.4 found [2021-10-12T14:58:05.124Z] ==> 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-10-12T14:58:05.124Z] Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtsp scp sftp smtp smtps telnet tftp [2021-10-12T14:58:05.124Z] Features: AsynchDNS GSS-Negotiate IDN IPv6 Largefile NTLM NTLM_WB SSL libz unix-sockets [2021-10-12T14:58:05.124Z] ==> Jenkins CI detected. [2021-10-12T14:58:05.384Z] current dir:  /w/workspace/gexfoundry_device-sdk-go_PR-1031 [2021-10-12T14:58:05.384Z] project root: . [2021-10-12T14:58:05.384Z] --> token set from env [2021-10-12T14:58:05.384Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2021-10-12T14:58:05.384Z] ==> Running gcov in . (disable via -X gcov) [2021-10-12T14:58:05.384Z] ==> Python coveragepy not found [2021-10-12T14:58:05.384Z] ==> Searching for coverage reports in: [2021-10-12T14:58:05.384Z] + . [2021-10-12T14:58:05.384Z] -> Found 1 reports [2021-10-12T14:58:05.384Z] ==> Detecting git/mercurial file structure [2021-10-12T14:58:05.384Z] ==> Reading reports [2021-10-12T14:58:05.384Z] + ./coverage.out bytes=126432 [2021-10-12T14:58:05.384Z] ==> Appending adjustments [2021-10-12T14:58:05.385Z] https://docs.codecov.io/docs/fixing-reports [2021-10-12T14:58:05.645Z] + Found adjustments [2021-10-12T14:58:05.645Z] ==> Gzipping contents [2021-10-12T14:58:05.645Z] 16K /tmp/codecov.8OXpJP.gz [2021-10-12T14:58:05.645Z] ==> Uploading reports [2021-10-12T14:58:05.645Z] url: https://codecov.io [2021-10-12T14:58:05.645Z] query: branch=PR-1031&commit=d75b8add1fd674e74e2fbe69395b05bc0d167a40&build=4&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-1031%2F4%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=1031&job=&cmd_args= [2021-10-12T14:58:05.645Z] -> Pinging Codecov [2021-10-12T14:58:05.646Z] https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=6fc62cd9-fce6-47f0-85f4-af589338491a&branch=PR-1031&commit=d75b8add1fd674e74e2fbe69395b05bc0d167a40&build=4&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-1031%2F4%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=1031&job=&cmd_args= [2021-10-12T14:58:05.907Z] -> Uploading to [2021-10-12T14:58:05.907Z] https://storage.googleapis.com/codecov/v4/raw/2021-10-12/7E55EF52A471D76F132DFD9A03CDDE97/d75b8add1fd674e74e2fbe69395b05bc0d167a40/fb61ea2b-656a-46bd-92a4-0315ae482389.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EKKHVKCKHW7KBCGM7IHR55T63V2PAVJWLVFNITJHDU5G6R5IRN3LMWJA%2F20211012%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20211012T145805Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=a8c6822424b890d6fae9112a106bf77404e23e350b80922cf5606f0a32f4f37e [2021-10-12T14:58:05.907Z] % Total % Received % Xferd Average Speed Time Time Time Current [2021-10-12T14:58:05.907Z] Dload Upload Total Spent Left Speed [2021-10-12T14:58:06.168Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 16085 0 0 100 16085 0 50120 --:--:-- --:--:-- --:--:-- 50265 [2021-10-12T14:58:06.168Z] -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/device-sdk-go/commit/d75b8add1fd674e74e2fbe69395b05bc0d167a40 [Pipeline] } [2021-10-12T14:58:06.177Z] 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-10-12T14:58:07.436Z] + '[' -d /w/workspace/gexfoundry_device-sdk-go_PR-1031/archives ']' [Pipeline] libraryResource [Pipeline] sh [2021-10-12T14:58:07.764Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2021-10-12T14:58:08.326Z] ---> package-listing.sh [2021-10-12T14:58:08.327Z] ++ tr '[:upper:]' '[:lower:]' [2021-10-12T14:58:08.327Z] ++ facter osfamily [2021-10-12T14:58:08.587Z] + OS_FAMILY=redhat [2021-10-12T14:58:08.587Z] + workspace=/w/workspace/gexfoundry_device-sdk-go_PR-1031 [2021-10-12T14:58:08.587Z] + START_PACKAGES=/tmp/packages_start.txt [2021-10-12T14:58:08.587Z] + END_PACKAGES=/tmp/packages_end.txt [2021-10-12T14:58:08.587Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2021-10-12T14:58:08.587Z] + PACKAGES=/tmp/packages_start.txt [2021-10-12T14:58:08.587Z] + '[' /w/workspace/gexfoundry_device-sdk-go_PR-1031 ']' [2021-10-12T14:58:08.587Z] + PACKAGES=/tmp/packages_end.txt [2021-10-12T14:58:08.587Z] + case "${OS_FAMILY}" in [2021-10-12T14:58:08.587Z] + rpm -qa [2021-10-12T14:58:08.587Z] + sort [2021-10-12T14:58:09.169Z] + '[' -f /tmp/packages_start.txt ']' [2021-10-12T14:58:09.169Z] + '[' -f /tmp/packages_end.txt ']' [2021-10-12T14:58:09.169Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2021-10-12T14:58:09.169Z] + '[' /w/workspace/gexfoundry_device-sdk-go_PR-1031 ']' [2021-10-12T14:58:09.169Z] + mkdir -p /w/workspace/gexfoundry_device-sdk-go_PR-1031/archives/ [2021-10-12T14:58:09.170Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_device-sdk-go_PR-1031/archives/ [Pipeline] echo [2021-10-12T14:58:09.179Z] 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-1031/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2021-10-12T14:58:09.462Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] sh [2021-10-12T14:58:10.019Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2021-10-12T14:58:10.019Z] [2021-10-12T14:58:10.019Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] sh [2021-10-12T14:58:10.322Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2021-10-12T14:58:10.322Z] latest: Pulling from edgex-lftools-log-publisher [2021-10-12T14:58:10.322Z] b4d181a07f80: Pulling fs layer [2021-10-12T14:58:10.322Z] a1111a8f2ec3: Pulling fs layer [2021-10-12T14:58:10.322Z] ed53099fbce6: Pulling fs layer [2021-10-12T14:58:10.322Z] dc539afda2c1: Pulling fs layer [2021-10-12T14:58:10.322Z] 77bc0d833cb6: Pulling fs layer [2021-10-12T14:58:10.322Z] 9065ff56babe: Pulling fs layer [2021-10-12T14:58:10.322Z] d287ab97295c: Pulling fs layer [2021-10-12T14:58:10.322Z] dc539afda2c1: Waiting [2021-10-12T14:58:10.322Z] 77bc0d833cb6: Waiting [2021-10-12T14:58:10.322Z] 9065ff56babe: Waiting [2021-10-12T14:58:10.322Z] d287ab97295c: Waiting [2021-10-12T14:58:10.322Z] a1111a8f2ec3: Verifying Checksum [2021-10-12T14:58:10.322Z] a1111a8f2ec3: Download complete [2021-10-12T14:58:10.322Z] dc539afda2c1: Verifying Checksum [2021-10-12T14:58:10.322Z] dc539afda2c1: Download complete [2021-10-12T14:58:10.583Z] 77bc0d833cb6: Verifying Checksum [2021-10-12T14:58:10.583Z] 77bc0d833cb6: Download complete [2021-10-12T14:58:10.583Z] ed53099fbce6: Verifying Checksum [2021-10-12T14:58:10.583Z] ed53099fbce6: Download complete [2021-10-12T14:58:10.583Z] 9065ff56babe: Verifying Checksum [2021-10-12T14:58:10.583Z] 9065ff56babe: Download complete [2021-10-12T14:58:10.583Z] b4d181a07f80: Verifying Checksum [2021-10-12T14:58:10.583Z] b4d181a07f80: Download complete [2021-10-12T14:58:11.170Z] d287ab97295c: Verifying Checksum [2021-10-12T14:58:11.170Z] d287ab97295c: Download complete [2021-10-12T14:58:12.118Z] b4d181a07f80: Pull complete [2021-10-12T14:58:12.118Z] a1111a8f2ec3: Pull complete [2021-10-12T14:58:12.711Z] ed53099fbce6: Pull complete [2021-10-12T14:58:12.711Z] dc539afda2c1: Pull complete [2021-10-12T14:58:12.976Z] 77bc0d833cb6: Pull complete [2021-10-12T14:58:12.977Z] 9065ff56babe: Pull complete [2021-10-12T14:58:18.285Z] d287ab97295c: Pull complete [2021-10-12T14:58:18.285Z] Digest: sha256:0c69325c24349bfb3ea32a3c3cbcab1fb66df42c981276dd8ebcf6aa441257c4 [2021-10-12T14:58:18.285Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2021-10-12T14:58:18.285Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] withDockerContainer [2021-10-12T14:58:18.343Z] prd-centos7-docker-4c-2g-703 does not seem to be running inside a container [2021-10-12T14:58:18.374Z] $ 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-1031/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-1031 -v /w/workspace/gexfoundry_device-sdk-go_PR-1031:/w/workspace/gexfoundry_device-sdk-go_PR-1031:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1031@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1031@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2021-10-12T14:58:20.660Z] $ docker top 0b27ec43a001e4ad5c013c4bac734a2335be2b34373cf5c0551caaf0726148f9 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-10-12T14:58:21.032Z] + touch /tmp/pre-build-complete [Pipeline] sh [2021-10-12T14:58:21.325Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2021-10-12T14:58:21.616Z] + ls /var/log/sa-host [2021-10-12T14:58:21.616Z] + sadf -c /var/log/sa-host/sa12 [2021-10-12T14:58:21.616Z] file_magic: OK [2021-10-12T14:58:21.616Z] HZ: Using current value: 100 [2021-10-12T14:58:21.616Z] file_header: OK [2021-10-12T14:58:21.616Z] 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-10-12T14:58:21.616Z] Statistics: [2021-10-12T14:58:21.616Z] HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... [2021-10-12T14:58:21.616Z] File successfully converted to sysstat format version 12.0.3 [2021-10-12T14:58:21.616Z] + sadf -c /var/log/sa-host/sa30 [2021-10-12T14:58:21.616Z] file_magic: OK [2021-10-12T14:58:21.616Z] HZ: Using current value: 100 [2021-10-12T14:58:21.616Z] file_header: OK [2021-10-12T14:58:21.616Z] 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-10-12T14:58:21.616Z] Statistics: [2021-10-12T14:58:21.616Z] Hnuu...uuuununununu...Hnuu...uuuununununu... [2021-10-12T14:58:21.616Z] File successfully converted to sysstat format version 12.0.3 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-10-12T14:58:21.697Z] provisioning config files... [2021-10-12T14:58:21.709Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1031@tmp/config3136095317893822119tmp [Pipeline] { [Pipeline] echo [2021-10-12T14:58:21.725Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2021-10-12T14:58:22.028Z] ---> create-netrc.sh [Pipeline] } [2021-10-12T14:58:22.036Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2021-10-12T14:58:22.375Z] ---> python-tools-install.sh [Pipeline] echo [2021-10-12T14:58:22.387Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2021-10-12T14:58:22.685Z] ---> sudo-logs.sh [2021-10-12T14:58:22.685Z] Archiving 'sudo' log.. [2021-10-12T14:58:22.685Z] sudo: unable to resolve host prd-centos7-docker-4c-2g-703.novalocal: Name or service not known [2021-10-12T14:58:22.685Z] sudo: unable to resolve host prd-centos7-docker-4c-2g-703.novalocal: Name or service not known [Pipeline] unstash [Pipeline] echo [2021-10-12T14:58:22.724Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2021-10-12T14:58:23.009Z] ---> job-cost.sh [2021-10-12T14:58:23.009Z] lf-activate-venv: SKIPPING [2021-10-12T14:58:23.009Z] DEBUG: total: 0.10999999940395355 [2021-10-12T14:58:23.009Z] INFO: Retrieving Stack Cost... [2021-10-12T14:58:49.602Z] INFO: Retrieving Pricing Info for: v3-standard-2 [2021-10-12T14:58:49.602Z] INFO: Archiving Costs [Pipeline] echo [2021-10-12T14:58:49.615Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2021-10-12T14:58:49.908Z] ---> logs-deploy.sh [2021-10-12T14:58:49.909Z] lf-activate-venv: SKIPPING [2021-10-12T14:58:49.909Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-1031/4 [2021-10-12T14:58:49.909Z] INFO: archiving workspace using pattern(s): [2021-10-12T14:58:50.479Z] Archives upload complete. [2021-10-12T14:58:50.739Z] INFO: archiving logs to Nexus