Pull request #1031 event Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from ca8f408215d3aa33b4c9f70e2fe77f2cb3750385+95a9d1abedb9d7c119ffb1f24142991202c879de (57cab0611efad82e890f4b1fd70c57414d4dad65) 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-ssh6680971651119316750.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision c3f98f08b2c5d0ffaa3a36dbf383f5176a0ca588 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-ssh1465841798985577426.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 c3f98f08b2c5d0ffaa3a36dbf383f5176a0ca588 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-ssh4923087490503805846.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision c3f98f08b2c5d0ffaa3a36dbf383f5176a0ca588 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f c3f98f08b2c5d0ffaa3a36dbf383f5176a0ca588 # timeout=10 Commit message: "Merge pull request #357 from ernestojeda/fix-previous-commit-sha" > 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-ssh6142921707785341721.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-ssh4791915182980446076.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-112 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-ssh6761953478612978411.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-ssh8575650515811005629.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 95a9d1abedb9d7c119ffb1f24142991202c879de into PR head commit ca8f408215d3aa33b4c9f70e2fe77f2cb3750385 Merge succeeded, producing ca8f408215d3aa33b4c9f70e2fe77f2cb3750385 Checking out Revision ca8f408215d3aa33b4c9f70e2fe77f2cb3750385 (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-ssh384990188209896643.key > git merge 95a9d1abedb9d7c119ffb1f24142991202c879de # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f ca8f408215d3aa33b4c9f70e2fe77f2cb3750385 # timeout=10 Commit message: "build(deps): bump github.com/edgexfoundry/go-mod-core-contracts/v2" First time build. Skipping changelog. [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2021-10-08T17:49:45.328Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2021-10-08T17:49:45.374Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2021-10-08T17:49:45.390Z] ========================================================= [2021-10-08T17:49:45.390Z] EdgeX Global Pipelines Version Info [2021-10-08T17:49:45.390Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh > git rev-list --no-walk 346ba9c9deb821d5b935c0aacc038e4e04b2f908 # timeout=10 [2021-10-08T17:49:46.573Z] ------------------- [2021-10-08T17:49:46.573Z] stable info: [2021-10-08T17:49:46.573Z] ------------------- [2021-10-08T17:49:46.573Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2021-10-08T17:49:46.573Z] Commit SHA: c3f98f08b2c5d0ffaa3a36dbf383f5176a0ca588 [2021-10-08T17:49:46.573Z] Message: update stable to v1.0.208 [2021-10-08T17:49:47.150Z] ------------------- [2021-10-08T17:49:47.150Z] experimental info: [2021-10-08T17:49:47.150Z] ------------------- [2021-10-08T17:49:47.150Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2021-10-08T17:49:47.150Z] Commit SHA: c3f98f08b2c5d0ffaa3a36dbf383f5176a0ca588 [2021-10-08T17:49:47.150Z] Message: update experimental to v1.0.208 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2021-10-08T17:49:47.239Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-go-settings [Pipeline] echo [2021-10-08T17:49:47.250Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-go [Pipeline] echo [2021-10-08T17:49:47.261Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2021-10-08T17:49:47.272Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2021-10-08T17:49:47.282Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2021-10-08T17:49:47.292Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.16 [Pipeline] echo [2021-10-08T17:49:47.302Z] [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine [Pipeline] echo [2021-10-08T17:49:47.312Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = example/cmd/device-simple/Dockerfile [Pipeline] echo [2021-10-08T17:49:47.322Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2021-10-08T17:49:47.333Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2021-10-08T17:49:47.343Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2021-10-08T17:49:47.354Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-sdk-simple [Pipeline] echo [2021-10-08T17:49:47.362Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2021-10-08T17:49:47.376Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2021-10-08T17:49:47.385Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2021-10-08T17:49:47.393Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo [2021-10-08T17:49:47.401Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2021-10-08T17:49:47.415Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2021-10-08T17:49:47.429Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2021-10-08T17:49:47.443Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2021-10-08T17:49:47.455Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo [2021-10-08T17:49:47.466Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v2 [Pipeline] echo [2021-10-08T17:49:47.478Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2021-10-08T17:49:47.493Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2021-10-08T17:49:47.506Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2021-10-08T17:49:47.517Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2021-10-08T17:49:47.527Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-1031 [Pipeline] echo [2021-10-08T17:49:47.539Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-1031 [Pipeline] echo [2021-10-08T17:49:47.550Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-1031 [Pipeline] echo [2021-10-08T17:49:47.560Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = ca8f408215d3aa33b4c9f70e2fe77f2cb3750385 [Pipeline] echo [2021-10-08T17:49:47.573Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = ca8f408 [Pipeline] echo [2021-10-08T17:49:47.587Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-10-08T17:49:47.632Z] provisioning config files... [2021-10-08T17:49:47.649Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1031@tmp/config1122359137088352621tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-10-08T17:49:47.960Z] ---> docker-login.sh [2021-10-08T17:49:47.960Z] nexus3.edgexfoundry.org:10001 [2021-10-08T17:49:47.960Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-10-08T17:49:48.225Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-10-08T17:49:48.225Z] Configure a credential helper to remove this warning. See [2021-10-08T17:49:48.225Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-10-08T17:49:48.225Z] [2021-10-08T17:49:48.225Z] Login Succeeded [2021-10-08T17:49:48.225Z] nexus3.edgexfoundry.org:10002 [2021-10-08T17:49:48.225Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-10-08T17:49:48.225Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-10-08T17:49:48.225Z] Configure a credential helper to remove this warning. See [2021-10-08T17:49:48.225Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-10-08T17:49:48.225Z] [2021-10-08T17:49:48.225Z] Login Succeeded [2021-10-08T17:49:48.225Z] nexus3.edgexfoundry.org:10003 [2021-10-08T17:49:48.225Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-10-08T17:49:48.489Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-10-08T17:49:48.489Z] Configure a credential helper to remove this warning. See [2021-10-08T17:49:48.489Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-10-08T17:49:48.489Z] [2021-10-08T17:49:48.489Z] Login Succeeded [2021-10-08T17:49:48.489Z] nexus3.edgexfoundry.org:10004 [2021-10-08T17:49:48.489Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-10-08T17:49:48.489Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-10-08T17:49:48.489Z] Configure a credential helper to remove this warning. See [2021-10-08T17:49:48.489Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-10-08T17:49:48.489Z] [2021-10-08T17:49:48.489Z] Login Succeeded [2021-10-08T17:49:48.489Z] docker.io [2021-10-08T17:49:48.489Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-10-08T17:49:48.750Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-10-08T17:49:48.750Z] Configure a credential helper to remove this warning. See [2021-10-08T17:49:48.750Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-10-08T17:49:48.750Z] [2021-10-08T17:49:48.750Z] Login Succeeded [2021-10-08T17:49:48.750Z] ---> docker-login.sh ends [Pipeline] } [2021-10-08T17:49:48.763Z] 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-08T17:49:49.182Z] + git log --format=format:%s -1 ca8f408215d3aa33b4c9f70e2fe77f2cb3750385 [Pipeline] echo [2021-10-08T17:49:49.223Z] GIT_COMMIT: ca8f408215d3aa33b4c9f70e2fe77f2cb3750385, Commit Message: build(deps): bump github.com/edgexfoundry/go-mod-core-contracts/v2 [Pipeline] echo [2021-10-08T17:49:49.234Z] This is not a build commit. [Pipeline] isUnix [Pipeline] sh [2021-10-08T17:49:49.653Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-10-08T17:49:49.653Z] [2021-10-08T17:49:49.653Z] Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh [2021-10-08T17:49:49.961Z] + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-10-08T17:49:49.961Z] latest: Pulling from edgex-devops/git-semver [2021-10-08T17:49:49.961Z] a0d0a0d46f8b: Pulling fs layer [2021-10-08T17:49:49.961Z] 3e5f54012d9b: Pulling fs layer [2021-10-08T17:49:49.961Z] 4c7163046ea9: Pulling fs layer [2021-10-08T17:49:49.961Z] 0c2d73faf560: Pulling fs layer [2021-10-08T17:49:49.961Z] 0c2d73faf560: Waiting [2021-10-08T17:49:49.961Z] 3e5f54012d9b: Download complete [2021-10-08T17:49:49.961Z] a0d0a0d46f8b: Verifying Checksum [2021-10-08T17:49:49.961Z] a0d0a0d46f8b: Download complete [2021-10-08T17:49:49.961Z] 0c2d73faf560: Verifying Checksum [2021-10-08T17:49:49.961Z] 0c2d73faf560: Download complete [2021-10-08T17:49:49.961Z] 4c7163046ea9: Verifying Checksum [2021-10-08T17:49:49.961Z] 4c7163046ea9: Download complete [2021-10-08T17:49:50.229Z] a0d0a0d46f8b: Pull complete [2021-10-08T17:49:50.229Z] 3e5f54012d9b: Pull complete [2021-10-08T17:49:50.494Z] 4c7163046ea9: Pull complete [2021-10-08T17:49:50.756Z] 0c2d73faf560: Pull complete [2021-10-08T17:49:50.756Z] Digest: sha256:2751de6e655929dcbe46418c7769d9d992331b5b721eb968631a4166222929f9 [2021-10-08T17:49:50.756Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-10-08T17:49:50.756Z] nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer [2021-10-08T17:49:50.838Z] prd-centos7-docker-4c-2g-112 does not seem to be running inside a container [2021-10-08T17:49:50.893Z] $ 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-08T17:49:51.567Z] $ docker top ab5d99c13d8e338d79f9fb16f3e89fd0ba24dd2c255d3eefd2ae698cb602c3fd -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2021-10-08T17:49:51.697Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-10-08T17:49:51.697Z] [ssh-agent] Looking for ssh-agent implementation... [2021-10-08T17:49:51.822Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-10-08T17:49:51.825Z] $ docker exec ab5d99c13d8e338d79f9fb16f3e89fd0ba24dd2c255d3eefd2ae698cb602c3fd ssh-agent [2021-10-08T17:49:51.935Z] SSH_AUTH_SOCK=/tmp/ssh-XXXXXXkAPJEn/agent.14 [2021-10-08T17:49:51.935Z] SSH_AGENT_PID=20 [2021-10-08T17:49:51.942Z] Running ssh-add (command line suppressed) [2021-10-08T17:49:52.030Z] Identity added: /w/workspace/gexfoundry_device-sdk-go_PR-1031@tmp/private_key_8239339945868269862.key (/w/workspace/gexfoundry_device-sdk-go_PR-1031@tmp/private_key_8239339945868269862.key) [2021-10-08T17:49:52.043Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-10-08T17:49:52.340Z] + git tag --points-at HEAD [Pipeline] } [2021-10-08T17:49:52.356Z] $ docker exec --env ******** --env ******** ab5d99c13d8e338d79f9fb16f3e89fd0ba24dd2c255d3eefd2ae698cb602c3fd ssh-agent -k [2021-10-08T17:49:52.442Z] unset SSH_AUTH_SOCK; [2021-10-08T17:49:52.443Z] unset SSH_AGENT_PID; [2021-10-08T17:49:52.443Z] echo Agent pid 20 killed; [2021-10-08T17:49:52.455Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2021-10-08T17:49:52.482Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-10-08T17:49:52.482Z] [ssh-agent] Looking for ssh-agent implementation... [2021-10-08T17:49:52.593Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-10-08T17:49:52.596Z] $ docker exec ab5d99c13d8e338d79f9fb16f3e89fd0ba24dd2c255d3eefd2ae698cb602c3fd ssh-agent [2021-10-08T17:49:52.691Z] SSH_AUTH_SOCK=/tmp/ssh-XXXXXXFHnHCb/agent.52 [2021-10-08T17:49:52.691Z] SSH_AGENT_PID=58 [2021-10-08T17:49:52.697Z] Running ssh-add (command line suppressed) [2021-10-08T17:49:52.789Z] Identity added: /w/workspace/gexfoundry_device-sdk-go_PR-1031@tmp/private_key_384737056216259700.key (/w/workspace/gexfoundry_device-sdk-go_PR-1031@tmp/private_key_384737056216259700.key) [2021-10-08T17:49:52.803Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-10-08T17:49:53.099Z] + git semver init [2021-10-08T17:49:53.099Z] # -> Open(): unable to determine branch for HEAD [2021-10-08T17:49:53.099Z] # $GIT_DIR = /w/workspace/gexfoundry_device-sdk-go_PR-1031/.git [2021-10-08T17:49:53.100Z] # $GIT_WORK_TREE = /w/workspace/gexfoundry_device-sdk-go_PR-1031 [2021-10-08T17:49:53.100Z] # $SEMVER_REMOTE_NAME = origin [2021-10-08T17:49:53.100Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2021-10-08T17:49:53.100Z] # $SEMVER_USER_NAME = edgex-jenkins [2021-10-08T17:49:53.100Z] # $SEMVER_BRANCH = PR-1031 [2021-10-08T17:49:53.100Z] # $SEMVER_TEMP = /tmp/semver-917131555 [2021-10-08T17:49:53.100Z] # git clone --branch semver git@github.com:edgexfoundry/device-sdk-go.git $SEMVER_TEMP [2021-10-08T17:49:54.046Z] # '/tmp/semver-917131555' -> '/w/workspace/gexfoundry_device-sdk-go_PR-1031/.semver' [2021-10-08T17:49:54.046Z] # -> Force: false [2021-10-08T17:49:54.046Z] # $SEMVER_DIR = /w/workspace/gexfoundry_device-sdk-go_PR-1031/.semver [Pipeline] } [2021-10-08T17:49:54.064Z] $ docker exec --env ******** --env ******** ab5d99c13d8e338d79f9fb16f3e89fd0ba24dd2c255d3eefd2ae698cb602c3fd ssh-agent -k [2021-10-08T17:49:54.146Z] unset SSH_AUTH_SOCK; [2021-10-08T17:49:54.147Z] unset SSH_AGENT_PID; [2021-10-08T17:49:54.147Z] echo Agent pid 58 killed; [2021-10-08T17:49:54.158Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2021-10-08T17:49:54.465Z] + git semver [Pipeline] } [2021-10-08T17:49:54.481Z] $ docker stop --time=1 ab5d99c13d8e338d79f9fb16f3e89fd0ba24dd2c255d3eefd2ae698cb602c3fd [2021-10-08T17:49:55.682Z] $ docker rm -f ab5d99c13d8e338d79f9fb16f3e89fd0ba24dd2c255d3eefd2ae698cb602c3fd [Pipeline] // withDockerContainer [Pipeline] sh [2021-10-08T17:49:56.051Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2021-10-08T17:49:56.298Z] Stashed 1 file(s) [Pipeline] echo [2021-10-08T17:49:56.302Z] [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-08T17:50:11.508Z] Still waiting to schedule task [2021-10-08T17:50:11.508Z] ‘prd-centos7-docker-4c-2g-108’ is offline [2021-10-08T17:50:11.508Z] ‘prd-centos7-docker-4c-2g-114’ is offline [2021-10-08T17:50:11.508Z] ‘prd-centos7-docker-4c-2g-18’ is offline [2021-10-08T17:50:11.508Z] ‘prd-ubuntu18.04-docker-arm64-4c-16g-111’ doesn’t have label ‘centos7-docker-4c-2g’ [2021-10-08T17:50:11.511Z] Still waiting to schedule task [2021-10-08T17:50:11.511Z] ‘prd-centos7-docker-4c-2g-108’ doesn’t have label ‘ubuntu18.04-docker-arm64-4c-16g’ [2021-10-08T17:50:11.511Z] ‘prd-centos7-docker-4c-2g-114’ doesn’t have label ‘ubuntu18.04-docker-arm64-4c-16g’ [2021-10-08T17:50:11.511Z] ‘prd-centos7-docker-4c-2g-18’ doesn’t have label ‘ubuntu18.04-docker-arm64-4c-16g’ [2021-10-08T17:50:11.511Z] ‘prd-ubuntu18.04-docker-arm64-4c-16g-111’ is offline [2021-10-08T17:50:52.630Z] Running on prd-centos7-docker-4c-2g-116 in /w/workspace/gexfoundry_device-sdk-go_PR-1031 [Pipeline] { [Pipeline] ws [2021-10-08T17:50:52.643Z] Running in /w/workspace/device-sdk-go/3 [Pipeline] { [Pipeline] checkout [2021-10-08T17:50:52.747Z] Selected Git installation does not exist. Using Default [2021-10-08T17:50:52.747Z] The recommended git tool is: NONE [2021-10-08T17:50:54.810Z] using credential edgex-jenkins-ssh [2021-10-08T17:50:54.820Z] Cloning the remote Git repository [2021-10-08T17:50:54.822Z] Cloning repository git@github.com:edgexfoundry/device-sdk-go.git [2021-10-08T17:50:54.888Z] > git init /w/workspace/device-sdk-go/3 # timeout=10 [2021-10-08T17:50:54.922Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2021-10-08T17:50:54.922Z] > git --version # timeout=10 [2021-10-08T17:50:54.930Z] > git --version # 'git version 2.24.4' [2021-10-08T17:50:54.930Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-10-08T17:50:54.958Z] [INFO] Currently running in a labeled security context [2021-10-08T17:50:54.958Z] [INFO] Currently SELinux is 'enforcing' on the host [2021-10-08T17:50:54.958Z] > /usr/bin/chcon --type=ssh_home_t /w/workspace/device-sdk-go/3@tmp/jenkins-gitclient-ssh8721876332115686418.key [2021-10-08T17:50:54.975Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-10-08T17:50:55.768Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2021-10-08T17:50:55.778Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-10-08T17:50:55.793Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2021-10-08T17:50:55.810Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2021-10-08T17:50:55.810Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-10-08T17:50:55.811Z] [INFO] Currently running in a labeled security context [2021-10-08T17:50:55.811Z] [INFO] Currently SELinux is 'enforcing' on the host [2021-10-08T17:50:55.811Z] > /usr/bin/chcon --type=ssh_home_t /w/workspace/device-sdk-go/3@tmp/jenkins-gitclient-ssh8338242582025424688.key [2021-10-08T17:50:55.820Z] > 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-08T17:50:56.300Z] Merging remotes/origin/main commit 95a9d1abedb9d7c119ffb1f24142991202c879de into PR head commit ca8f408215d3aa33b4c9f70e2fe77f2cb3750385 [2021-10-08T17:50:56.416Z] Merge succeeded, producing ca8f408215d3aa33b4c9f70e2fe77f2cb3750385 [2021-10-08T17:50:56.417Z] Checking out Revision ca8f408215d3aa33b4c9f70e2fe77f2cb3750385 (PR-1031) [2021-10-08T17:50:56.289Z] > git config core.sparsecheckout # timeout=10 [2021-10-08T17:50:56.306Z] > git checkout -f ca8f408215d3aa33b4c9f70e2fe77f2cb3750385 # timeout=10 [2021-10-08T17:50:56.340Z] > git remote # timeout=10 [2021-10-08T17:50:56.358Z] > git config --get remote.origin.url # timeout=10 [2021-10-08T17:50:56.368Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-10-08T17:50:56.369Z] [INFO] Currently running in a labeled security context [2021-10-08T17:50:56.369Z] [INFO] Currently SELinux is 'enforcing' on the host [2021-10-08T17:50:56.370Z] > /usr/bin/chcon --type=ssh_home_t /w/workspace/device-sdk-go/3@tmp/jenkins-gitclient-ssh123545516389321139.key [2021-10-08T17:50:56.375Z] > git merge 95a9d1abedb9d7c119ffb1f24142991202c879de # timeout=10 [2021-10-08T17:50:56.384Z] > git rev-parse HEAD^{commit} # timeout=10 [2021-10-08T17:50:56.399Z] > git config core.sparsecheckout # timeout=10 [2021-10-08T17:50:56.406Z] > git checkout -f ca8f408215d3aa33b4c9f70e2fe77f2cb3750385 # timeout=10 [2021-10-08T17:50:59.996Z] Commit message: "build(deps): bump github.com/edgexfoundry/go-mod-core-contracts/v2" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-10-08T17:51:00.427Z] provisioning config files... [2021-10-08T17:51:00.447Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/3@tmp/config5403387748048042296tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-10-08T17:51:00.838Z] ---> docker-login.sh [2021-10-08T17:51:00.838Z] nexus3.edgexfoundry.org:10001 [2021-10-08T17:51:00.838Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-10-08T17:51:00.838Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-10-08T17:51:00.838Z] Configure a credential helper to remove this warning. See [2021-10-08T17:51:00.838Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-10-08T17:51:00.838Z] [2021-10-08T17:51:00.838Z] Login Succeeded [2021-10-08T17:51:00.838Z] nexus3.edgexfoundry.org:10002 [2021-10-08T17:51:01.106Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-10-08T17:51:01.106Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-10-08T17:51:01.106Z] Configure a credential helper to remove this warning. See [2021-10-08T17:51:01.106Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-10-08T17:51:01.106Z] [2021-10-08T17:51:01.106Z] Login Succeeded [2021-10-08T17:51:01.106Z] nexus3.edgexfoundry.org:10003 [2021-10-08T17:51:01.106Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-10-08T17:51:01.106Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-10-08T17:51:01.106Z] Configure a credential helper to remove this warning. See [2021-10-08T17:51:01.106Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-10-08T17:51:01.106Z] [2021-10-08T17:51:01.106Z] Login Succeeded [2021-10-08T17:51:01.106Z] nexus3.edgexfoundry.org:10004 [2021-10-08T17:51:01.369Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-10-08T17:51:01.369Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-10-08T17:51:01.369Z] Configure a credential helper to remove this warning. See [2021-10-08T17:51:01.369Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-10-08T17:51:01.369Z] [2021-10-08T17:51:01.369Z] Login Succeeded [2021-10-08T17:51:01.369Z] docker.io [2021-10-08T17:51:01.369Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-10-08T17:51:01.632Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-10-08T17:51:01.632Z] Configure a credential helper to remove this warning. See [2021-10-08T17:51:01.632Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-10-08T17:51:01.632Z] [2021-10-08T17:51:01.632Z] Login Succeeded [2021-10-08T17:51:01.632Z] ---> docker-login.sh ends [Pipeline] } [2021-10-08T17:51:01.669Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2021-10-08T17:51:01.801Z] ========================================================= [2021-10-08T17:51:01.801Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine] [2021-10-08T17:51:01.801Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh [2021-10-08T17:51:02.115Z] + 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-08T17:51:02.116Z] Sending build context to Docker daemon 2.663MB [2021-10-08T17:51:02.116Z] Step 1/10 : ARG BASE=golang:1.16-alpine3.14 [2021-10-08T17:51:02.116Z] Step 2/10 : FROM ${BASE} AS builder [2021-10-08T17:51:02.116Z] 1.16-alpine: Pulling from edgex-devops/edgex-golang-base [2021-10-08T17:51:02.116Z] 4e9f2cdf4387: Pulling fs layer [2021-10-08T17:51:02.116Z] 57d31006c564: Pulling fs layer [2021-10-08T17:51:02.116Z] bd5ccded8296: Pulling fs layer [2021-10-08T17:51:02.116Z] 304dd3a0f381: Pulling fs layer [2021-10-08T17:51:02.116Z] d37cda54a23b: Pulling fs layer [2021-10-08T17:51:02.116Z] bae75c0f2455: Pulling fs layer [2021-10-08T17:51:02.116Z] 806579b3d29a: Pulling fs layer [2021-10-08T17:51:02.116Z] c77eb801bf70: Pulling fs layer [2021-10-08T17:51:02.116Z] 6d0567d44e1a: Pulling fs layer [2021-10-08T17:51:02.116Z] bae75c0f2455: Waiting [2021-10-08T17:51:02.116Z] 806579b3d29a: Waiting [2021-10-08T17:51:02.116Z] 304dd3a0f381: Waiting [2021-10-08T17:51:02.116Z] c77eb801bf70: Waiting [2021-10-08T17:51:02.116Z] d37cda54a23b: Waiting [2021-10-08T17:51:02.116Z] 6d0567d44e1a: Waiting [2021-10-08T17:51:02.116Z] bd5ccded8296: Verifying Checksum [2021-10-08T17:51:02.116Z] bd5ccded8296: Download complete [2021-10-08T17:51:02.116Z] 57d31006c564: Verifying Checksum [2021-10-08T17:51:02.116Z] 57d31006c564: Download complete [2021-10-08T17:51:02.380Z] d37cda54a23b: Verifying Checksum [2021-10-08T17:51:02.380Z] d37cda54a23b: Download complete [2021-10-08T17:51:02.380Z] 4e9f2cdf4387: Verifying Checksum [2021-10-08T17:51:02.380Z] 4e9f2cdf4387: Download complete [2021-10-08T17:51:02.380Z] bae75c0f2455: Verifying Checksum [2021-10-08T17:51:02.380Z] bae75c0f2455: Download complete [2021-10-08T17:51:02.380Z] 806579b3d29a: Verifying Checksum [2021-10-08T17:51:02.380Z] 806579b3d29a: Download complete [2021-10-08T17:51:02.380Z] c77eb801bf70: Verifying Checksum [2021-10-08T17:51:02.380Z] c77eb801bf70: Download complete [2021-10-08T17:51:02.969Z] 304dd3a0f381: Verifying Checksum [2021-10-08T17:51:02.969Z] 304dd3a0f381: Download complete [2021-10-08T17:51:02.969Z] 6d0567d44e1a: Verifying Checksum [2021-10-08T17:51:02.969Z] 6d0567d44e1a: Download complete [2021-10-08T17:51:02.969Z] 4e9f2cdf4387: Pull complete [2021-10-08T17:51:02.969Z] 57d31006c564: Pull complete [2021-10-08T17:51:02.969Z] bd5ccded8296: Pull complete [2021-10-08T17:51:07.233Z] 304dd3a0f381: Pull complete [2021-10-08T17:51:07.233Z] d37cda54a23b: Pull complete [2021-10-08T17:51:07.233Z] bae75c0f2455: Pull complete [2021-10-08T17:51:07.233Z] 806579b3d29a: Pull complete [2021-10-08T17:51:07.233Z] c77eb801bf70: Pull complete [2021-10-08T17:51:09.817Z] 6d0567d44e1a: Pull complete [2021-10-08T17:51:09.817Z] Digest: sha256:53f76eca38b35ad9f985c2fb57ce55683e6a223a937aed0adb215e74043799cd [2021-10-08T17:51:09.817Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine [2021-10-08T17:51:09.817Z] ---> e839a31ac9d1 [2021-10-08T17:51:09.817Z] Step 3/10 : ARG MAKE=make build [2021-10-08T17:51:11.202Z] ---> Running in ad67f2a0440a [2021-10-08T17:51:11.202Z] Removing intermediate container ad67f2a0440a [2021-10-08T17:51:11.202Z] ---> 33322b2602c7 [2021-10-08T17:51:11.202Z] Step 4/10 : WORKDIR /device-sdk-go [2021-10-08T17:51:11.202Z] ---> Running in ad2c3e53dafb [2021-10-08T17:51:11.202Z] Removing intermediate container ad2c3e53dafb [2021-10-08T17:51:11.202Z] ---> 820070f1141d [2021-10-08T17:51:11.202Z] Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-10-08T17:51:11.202Z] ---> Running in 6eeae62b4d7a [2021-10-08T17:51:11.202Z] Removing intermediate container 6eeae62b4d7a [2021-10-08T17:51:11.202Z] ---> 875a7124bcc3 [2021-10-08T17:51:11.202Z] Step 6/10 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-10-08T17:51:11.466Z] ---> Running in ad9534803501 [2021-10-08T17:51:12.041Z] Removing intermediate container ad9534803501 [2021-10-08T17:51:12.041Z] ---> d128449d8ff9 [2021-10-08T17:51:12.041Z] Step 7/10 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev [2021-10-08T17:51:12.041Z] ---> Running in f8c3398ace45 [2021-10-08T17:51:12.314Z] fetch https://nl.alpinelinux.org/alpine/v3.13/main/x86_64/APKINDEX.tar.gz [2021-10-08T17:51:13.263Z] fetch https://nl.alpinelinux.org/alpine/v3.13/community/x86_64/APKINDEX.tar.gz [2021-10-08T17:51:13.263Z] OK: 219 MiB in 52 packages [2021-10-08T17:51:13.524Z] Removing intermediate container f8c3398ace45 [2021-10-08T17:51:13.524Z] ---> 2ff2f1705340 [2021-10-08T17:51:13.524Z] Step 8/10 : COPY . . [2021-10-08T17:51:13.782Z] ---> 9d2ae674ce5d [2021-10-08T17:51:13.782Z] Step 9/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2021-10-08T17:51:14.056Z] ---> Running in b65c59a294ad [2021-10-08T17:51:46.294Z] Removing intermediate container b65c59a294ad [2021-10-08T17:51:46.294Z] ---> 966d0f53bbd0 [2021-10-08T17:51:46.294Z] Step 10/10 : RUN ${MAKE} [2021-10-08T17:51:46.294Z] ---> Running in 30c0c1e3fd69 [2021-10-08T17:51:46.294Z] noop [2021-10-08T17:51:46.294Z] Removing intermediate container 30c0c1e3fd69 [2021-10-08T17:51:46.294Z] ---> 892adb6e1d63 [2021-10-08T17:51:46.294Z] Successfully built 892adb6e1d63 [2021-10-08T17:51:46.294Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh [2021-10-08T17:51:46.595Z] + docker inspect -f . ci-base-image-x86_64 [2021-10-08T17:51:46.595Z] . [Pipeline] withDockerContainer [2021-10-08T17:51:46.668Z] prd-centos7-docker-4c-2g-116 does not seem to be running inside a container [2021-10-08T17:51:46.708Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/3 -v /w/workspace/device-sdk-go/3:/w/workspace/device-sdk-go/3:rw,z -v /w/workspace/device-sdk-go/3@tmp:/w/workspace/device-sdk-go/3@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-08T17:51:47.113Z] $ docker top f5dc7489bfee8db3401dd315c6c9915ff3cba1eaae9822315fb41969183bafcb -eo pid,comm [Pipeline] { [Pipeline] sh [2021-10-08T17:51:47.497Z] + go version [2021-10-08T17:51:47.497Z] go version go1.16.8 linux/amd64 [Pipeline] } [2021-10-08T17:51:47.507Z] $ docker stop --time=1 f5dc7489bfee8db3401dd315c6c9915ff3cba1eaae9822315fb41969183bafcb [2021-10-08T17:51:48.684Z] $ docker rm -f f5dc7489bfee8db3401dd315c6c9915ff3cba1eaae9822315fb41969183bafcb [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-10-08T17:51:49.146Z] + docker inspect -f . ci-base-image-x86_64 [2021-10-08T17:51:49.146Z] . [Pipeline] withDockerContainer [2021-10-08T17:51:49.213Z] prd-centos7-docker-4c-2g-116 does not seem to be running inside a container [2021-10-08T17:51:49.255Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/3 -v /w/workspace/device-sdk-go/3:/w/workspace/device-sdk-go/3:rw,z -v /w/workspace/device-sdk-go/3@tmp:/w/workspace/device-sdk-go/3@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-08T17:51:49.627Z] $ docker top 276cf87e1a3163e45aedf67f3ebe45e7fa2f785d3b155241afba72b4857c9eb2 -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh [2021-10-08T17:51:50.016Z] + make test [2021-10-08T17:51:50.016Z] GO111MODULE=on go test -race -coverprofile=coverage.out ./... [2021-10-08T17:51:56.647Z] ? github.com/edgexfoundry/device-sdk-go/v2 [no test files] [2021-10-08T17:52:14.192Z] Running on prd-ubuntu18.04-docker-arm64-4c-16g-115 in /w/workspace/gexfoundry_device-sdk-go_PR-1031 [Pipeline] { [Pipeline] ws [2021-10-08T17:52:14.203Z] Running in /w/workspace/device-sdk-go/3 [Pipeline] { [Pipeline] checkout [2021-10-08T17:52:14.910Z] Selected Git installation does not exist. Using Default [2021-10-08T17:52:14.911Z] The recommended git tool is: NONE [2021-10-08T17:52:22.274Z] using credential edgex-jenkins-ssh [2021-10-08T17:52:22.312Z] Cloning the remote Git repository [2021-10-08T17:52:22.412Z] Cloning repository git@github.com:edgexfoundry/device-sdk-go.git [2021-10-08T17:52:22.552Z] > git init /w/workspace/device-sdk-go/3 # timeout=10 [2021-10-08T17:52:23.327Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/cmd/device-simple [no test files] [2021-10-08T17:52:23.328Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/config [no test files] [2021-10-08T17:52:23.328Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/driver [no test files] [2021-10-08T17:52:23.328Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/application 0.052s coverage: 23.7% of statements [2021-10-08T17:52:23.328Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/autodiscovery [no test files] [2021-10-08T17:52:23.328Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/autoevent 0.053s coverage: 28.1% of statements [2021-10-08T17:52:23.328Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/cache 0.054s coverage: 78.9% of statements [2021-10-08T17:52:23.328Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/clients 0.049s coverage: 9.0% of statements [2021-10-08T17:52:23.328Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/common [no test files] [2021-10-08T17:52:23.328Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/config [no test files] [2021-10-08T17:52:23.328Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/container [no test files] [2021-10-08T17:52:23.911Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http 0.071s coverage: 28.7% of statements [2021-10-08T17:52:23.912Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http/correlation [no test files] [2021-10-08T17:52:22.710Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2021-10-08T17:52:22.712Z] > git --version # timeout=10 [2021-10-08T17:52:22.737Z] > git --version # 'git version 2.17.1' [2021-10-08T17:52:22.740Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-10-08T17:52:22.855Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-10-08T17:52:24.863Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/messaging 1.054s coverage: 83.3% of statements [2021-10-08T17:52:24.864Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/provision [no test files] [2021-10-08T17:52:24.864Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/telemetry [no test files] [2021-10-08T17:52:24.864Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/transformer 0.075s coverage: 57.8% of statements [2021-10-08T17:52:25.081Z] Merging remotes/origin/main commit 95a9d1abedb9d7c119ffb1f24142991202c879de into PR head commit ca8f408215d3aa33b4c9f70e2fe77f2cb3750385 [2021-10-08T17:52:24.321Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2021-10-08T17:52:24.350Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-10-08T17:52:24.383Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2021-10-08T17:52:24.428Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2021-10-08T17:52:24.429Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-10-08T17:52:24.450Z] > 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-08T17:52:25.107Z] > git config core.sparsecheckout # timeout=10 [2021-10-08T17:52:25.125Z] > git checkout -f ca8f408215d3aa33b4c9f70e2fe77f2cb3750385 # timeout=10 [2021-10-08T17:52:25.245Z] > git remote # timeout=10 [2021-10-08T17:52:25.270Z] > git config --get remote.origin.url # timeout=10 [2021-10-08T17:52:25.286Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-10-08T17:52:25.299Z] > git merge 95a9d1abedb9d7c119ffb1f24142991202c879de # timeout=10 [2021-10-08T17:52:25.328Z] > git rev-parse HEAD^{commit} # timeout=10 [2021-10-08T17:52:25.344Z] Merge succeeded, producing ca8f408215d3aa33b4c9f70e2fe77f2cb3750385 [2021-10-08T17:52:25.345Z] Checking out Revision ca8f408215d3aa33b4c9f70e2fe77f2cb3750385 (PR-1031) [2021-10-08T17:52:26.280Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/models 0.859s coverage: 89.0% of statements [2021-10-08T17:52:26.280Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/models/mocks [no test files] [2021-10-08T17:52:26.280Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/service 0.051s coverage: 4.9% of statements [2021-10-08T17:52:26.280Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/startup [no test files] [2021-10-08T17:52:26.542Z] GO111MODULE=on go vet ./... [2021-10-08T17:52:25.354Z] > git config core.sparsecheckout # timeout=10 [2021-10-08T17:52:25.377Z] > git checkout -f ca8f408215d3aa33b4c9f70e2fe77f2cb3750385 # timeout=10 [2021-10-08T17:52:30.157Z] Commit message: "build(deps): bump github.com/edgexfoundry/go-mod-core-contracts/v2" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-10-08T17:52:30.509Z] provisioning config files... [2021-10-08T17:52:30.548Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/3@tmp/config4986690855285212209tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-10-08T17:52:31.181Z] ---> docker-login.sh [2021-10-08T17:52:31.181Z] nexus3.edgexfoundry.org:10001 [2021-10-08T17:52:32.654Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-10-08T17:52:32.944Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-10-08T17:52:32.944Z] Configure a credential helper to remove this warning. See [2021-10-08T17:52:32.944Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-10-08T17:52:32.944Z] [2021-10-08T17:52:32.944Z] Login Succeeded [2021-10-08T17:52:32.944Z] nexus3.edgexfoundry.org:10002 [2021-10-08T17:52:33.559Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-10-08T17:52:33.838Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-10-08T17:52:33.838Z] Configure a credential helper to remove this warning. See [2021-10-08T17:52:33.838Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-10-08T17:52:33.838Z] [2021-10-08T17:52:33.838Z] Login Succeeded [2021-10-08T17:52:33.838Z] nexus3.edgexfoundry.org:10003 [2021-10-08T17:52:34.118Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-10-08T17:52:34.400Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-10-08T17:52:34.400Z] Configure a credential helper to remove this warning. See [2021-10-08T17:52:34.400Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-10-08T17:52:34.400Z] [2021-10-08T17:52:34.400Z] Login Succeeded [2021-10-08T17:52:34.400Z] nexus3.edgexfoundry.org:10004 [2021-10-08T17:52:35.012Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-10-08T17:52:35.013Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-10-08T17:52:35.013Z] Configure a credential helper to remove this warning. See [2021-10-08T17:52:35.013Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-10-08T17:52:35.013Z] [2021-10-08T17:52:35.013Z] Login Succeeded [2021-10-08T17:52:35.013Z] docker.io [2021-10-08T17:52:35.625Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-10-08T17:52:35.906Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-10-08T17:52:35.906Z] Configure a credential helper to remove this warning. See [2021-10-08T17:52:35.906Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-10-08T17:52:35.906Z] [2021-10-08T17:52:35.906Z] Login Succeeded [2021-10-08T17:52:35.906Z] ---> docker-login.sh ends [Pipeline] } [2021-10-08T17:52:36.007Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2021-10-08T17:52:36.757Z] ========================================================= [2021-10-08T17:52:36.757Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine] [2021-10-08T17:52:36.757Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh [2021-10-08T17:52:37.166Z] + 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-08T17:52:37.792Z] Sending build context to Docker daemon 2.662MB [2021-10-08T17:52:37.792Z] Step 1/10 : ARG BASE=golang:1.16-alpine3.14 [2021-10-08T17:52:37.792Z] Step 2/10 : FROM ${BASE} AS builder [2021-10-08T17:52:38.076Z] 1.16-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2021-10-08T17:52:38.076Z] bbf911997326: Pulling fs layer [2021-10-08T17:52:38.076Z] 58ec367f63d7: Pulling fs layer [2021-10-08T17:52:38.076Z] 1b4a6ffa7d45: Pulling fs layer [2021-10-08T17:52:38.076Z] fc5181fea5dc: Pulling fs layer [2021-10-08T17:52:38.076Z] 9c418107303f: Pulling fs layer [2021-10-08T17:52:38.076Z] 284eca6f2348: Pulling fs layer [2021-10-08T17:52:38.076Z] 842844d905b1: Pulling fs layer [2021-10-08T17:52:38.076Z] 901a3a57568e: Pulling fs layer [2021-10-08T17:52:38.076Z] 9c418107303f: Waiting [2021-10-08T17:52:38.076Z] 284eca6f2348: Waiting [2021-10-08T17:52:38.076Z] 842844d905b1: Waiting [2021-10-08T17:52:38.076Z] 901a3a57568e: Waiting [2021-10-08T17:52:38.076Z] fc5181fea5dc: Waiting [2021-10-08T17:52:38.076Z] 1b4a6ffa7d45: Download complete [2021-10-08T17:52:38.076Z] 58ec367f63d7: Verifying Checksum [2021-10-08T17:52:38.076Z] 58ec367f63d7: Download complete [2021-10-08T17:52:38.076Z] 9c418107303f: Verifying Checksum [2021-10-08T17:52:38.076Z] 9c418107303f: Download complete [2021-10-08T17:52:38.076Z] 284eca6f2348: Download complete [2021-10-08T17:52:38.076Z] 842844d905b1: Verifying Checksum [2021-10-08T17:52:38.076Z] 842844d905b1: Download complete [2021-10-08T17:52:38.076Z] bbf911997326: Verifying Checksum [2021-10-08T17:52:38.076Z] bbf911997326: Download complete [2021-10-08T17:52:39.101Z] bbf911997326: Pull complete [2021-10-08T17:52:40.121Z] 58ec367f63d7: Pull complete [2021-10-08T17:52:40.405Z] 901a3a57568e: Verifying Checksum [2021-10-08T17:52:40.405Z] 901a3a57568e: Download complete [2021-10-08T17:52:40.689Z] 1b4a6ffa7d45: Pull complete [2021-10-08T17:52:40.975Z] fc5181fea5dc: Verifying Checksum [2021-10-08T17:52:40.975Z] fc5181fea5dc: Download complete [2021-10-08T17:52:48.622Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2021-10-08T17:52:48.622Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2021-10-08T17:52:48.622Z] ./bin/test-attribution-txt.sh [Pipeline] } [2021-10-08T17:52:48.632Z] $ docker stop --time=1 276cf87e1a3163e45aedf67f3ebe45e7fa2f785d3b155241afba72b4857c9eb2 [2021-10-08T17:52:50.084Z] $ docker rm -f 276cf87e1a3163e45aedf67f3ebe45e7fa2f785d3b155241afba72b4857c9eb2 [Pipeline] // withDockerContainer [Pipeline] sh [2021-10-08T17:52:50.577Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2021-10-08T17:52:50.797Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [2021-10-08T17:52:51.232Z] fc5181fea5dc: Pull complete [2021-10-08T17:52:51.232Z] 9c418107303f: Pull complete [Pipeline] sh [2021-10-08T17:52:51.511Z] 284eca6f2348: Pull complete [2021-10-08T17:52:51.566Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2021-10-08T17:52:51.792Z] 842844d905b1: Pull complete [2021-10-08T17:52:51.858Z] + ls -al . [2021-10-08T17:52:51.859Z] total 264 [2021-10-08T17:52:51.859Z] drwxrwxr-x. 10 jenkins jenkins 4096 Oct 8 17:52 . [2021-10-08T17:52:51.859Z] drwxrwxr-x. 4 jenkins jenkins 28 Oct 8 17:50 .. [2021-10-08T17:52:51.859Z] drwxrwxr-x. 2 jenkins jenkins 37 Oct 8 17:50 bin [2021-10-08T17:52:51.859Z] -rw-rw-r--. 1 jenkins jenkins 24816 Oct 8 17:50 CHANGELOG.md [2021-10-08T17:52:51.859Z] -rw-r--r--. 1 jenkins jenkins 126160 Oct 8 17:52 coverage.out [2021-10-08T17:52:51.859Z] -rw-rw-r--. 1 jenkins jenkins 140 Oct 8 17:50 .dockerignore [2021-10-08T17:52:51.859Z] drwxrwxr-x. 5 jenkins jenkins 62 Oct 8 17:50 example [2021-10-08T17:52:51.859Z] drwxrwxr-x. 8 jenkins jenkins 179 Oct 8 17:50 .git [2021-10-08T17:52:51.859Z] drwxrwxr-x. 3 jenkins jenkins 125 Oct 8 17:50 .github [2021-10-08T17:52:51.859Z] -rw-rw-r--. 1 jenkins jenkins 131 Oct 8 17:50 .gitignore [2021-10-08T17:52:51.859Z] -rw-rw-r--. 1 jenkins jenkins 583 Oct 8 17:50 go.mod [2021-10-08T17:52:51.859Z] -rw-rw-r--. 1 jenkins jenkins 49618 Oct 8 17:50 go.sum [2021-10-08T17:52:51.859Z] -rw-rw-r--. 1 jenkins jenkins 677 Oct 8 17:50 GOVERNANCE.md [2021-10-08T17:52:51.859Z] drwxrwxr-x. 15 jenkins jenkins 224 Oct 8 17:50 internal [2021-10-08T17:52:51.859Z] -rw-rw-r--. 1 jenkins jenkins 880 Oct 8 17:50 Jenkinsfile [2021-10-08T17:52:51.859Z] -rw-rw-r--. 1 jenkins jenkins 11341 Oct 8 17:50 LICENSE [2021-10-08T17:52:51.859Z] -rw-rw-r--. 1 jenkins jenkins 1120 Oct 8 17:50 Makefile [2021-10-08T17:52:51.859Z] drwxrwxr-x. 3 jenkins jenkins 16 Oct 8 17:50 openapi [2021-10-08T17:52:51.859Z] -rw-rw-r--. 1 jenkins jenkins 619 Oct 8 17:50 OWNERS.md [2021-10-08T17:52:51.859Z] drwxrwxr-x. 5 jenkins jenkins 50 Oct 8 17:50 pkg [2021-10-08T17:52:51.859Z] -rw-rw-r--. 1 jenkins jenkins 7646 Oct 8 17:50 README.md [2021-10-08T17:52:51.859Z] drwxrwxr-x. 4 jenkins jenkins 54 Oct 8 17:50 snap [2021-10-08T17:52:51.859Z] -rw-rw-r--. 1 jenkins jenkins 5 Oct 8 17:49 VERSION [2021-10-08T17:52:51.859Z] -rw-rw-r--. 1 jenkins jenkins 222 Oct 8 17:50 version.go [Pipeline] isUnix [Pipeline] sh [2021-10-08T17:52:52.162Z] + 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=ca8f408215d3aa33b4c9f70e2fe77f2cb3750385 --label arch=amd64 --label version=0.0.0 . [2021-10-08T17:52:52.162Z] Sending build context to Docker daemon 2.79MB [2021-10-08T17:52:52.162Z] Step 1/24 : ARG BASE=golang:1.16-alpine3.14 [2021-10-08T17:52:52.162Z] Step 2/24 : FROM ${BASE} AS builder [2021-10-08T17:52:52.162Z] ---> 892adb6e1d63 [2021-10-08T17:52:52.162Z] Step 3/24 : ARG MAKE=make build [2021-10-08T17:52:52.162Z] ---> Running in 4f1964603760 [2021-10-08T17:52:52.424Z] Removing intermediate container 4f1964603760 [2021-10-08T17:52:52.424Z] ---> 1c995b4a430a [2021-10-08T17:52:52.424Z] Step 4/24 : WORKDIR /device-sdk-go [2021-10-08T17:52:52.424Z] ---> Running in 135d5f77d984 [2021-10-08T17:52:52.424Z] Removing intermediate container 135d5f77d984 [2021-10-08T17:52:52.424Z] ---> cb2fee9ec414 [2021-10-08T17:52:52.424Z] Step 5/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-10-08T17:52:52.424Z] ---> Running in 0060c3b656ad [2021-10-08T17:52:52.424Z] Removing intermediate container 0060c3b656ad [2021-10-08T17:52:52.424Z] ---> 0a39026cf7df [2021-10-08T17:52:52.424Z] Step 6/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-10-08T17:52:52.690Z] ---> Running in ac438378489e [2021-10-08T17:52:53.269Z] Removing intermediate container ac438378489e [2021-10-08T17:52:53.269Z] ---> 449ed18c9798 [2021-10-08T17:52:53.269Z] Step 7/24 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev [2021-10-08T17:52:53.269Z] ---> Running in ab4d68ec2de8 [2021-10-08T17:52:53.269Z] fetch https://nl.alpinelinux.org/alpine/v3.13/main/x86_64/APKINDEX.tar.gz [2021-10-08T17:52:54.213Z] fetch https://nl.alpinelinux.org/alpine/v3.13/community/x86_64/APKINDEX.tar.gz [2021-10-08T17:52:54.785Z] OK: 219 MiB in 52 packages [2021-10-08T17:52:55.049Z] Removing intermediate container ab4d68ec2de8 [2021-10-08T17:52:55.049Z] ---> 59340ba08ddb [2021-10-08T17:52:55.049Z] Step 8/24 : COPY . . [2021-10-08T17:52:55.314Z] ---> fb7355dc96ea [2021-10-08T17:52:55.314Z] Step 9/24 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2021-10-08T17:52:55.314Z] ---> Running in 1227a7003c4c [2021-10-08T17:52:55.887Z] Removing intermediate container 1227a7003c4c [2021-10-08T17:52:55.887Z] ---> 41be1391db4c [2021-10-08T17:52:55.887Z] Step 10/24 : RUN ${MAKE} [2021-10-08T17:52:55.887Z] ---> Running in 23ece2015da4 [2021-10-08T17:52:56.146Z] 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-08T17:52:57.277Z] 901a3a57568e: Pull complete [2021-10-08T17:52:57.277Z] Digest: sha256:92108203400274521d8db92c8dd03fc26ad1e7e27843eaecabaf975bf4a1b1e7 [2021-10-08T17:52:57.277Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine [2021-10-08T17:52:57.277Z] ---> 72ade6ffb461 [2021-10-08T17:52:57.277Z] Step 3/10 : ARG MAKE=make build [2021-10-08T17:53:02.796Z] ---> Running in d904a4a6cc4e [2021-10-08T17:53:02.796Z] Removing intermediate container d904a4a6cc4e [2021-10-08T17:53:02.796Z] ---> 51275b6757fe [2021-10-08T17:53:02.796Z] Step 4/10 : WORKDIR /device-sdk-go [2021-10-08T17:53:02.796Z] ---> Running in 4958412ab560 [2021-10-08T17:53:03.406Z] Removing intermediate container 4958412ab560 [2021-10-08T17:53:03.406Z] ---> 7a0d77547e80 [2021-10-08T17:53:03.406Z] Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-10-08T17:53:03.406Z] ---> Running in d4d010f96297 [2021-10-08T17:53:04.399Z] Removing intermediate container d4d010f96297 [2021-10-08T17:53:04.399Z] ---> a3f4d8200eef [2021-10-08T17:53:04.399Z] Step 6/10 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-10-08T17:53:04.399Z] ---> Running in 28dbc4809b67 [2021-10-08T17:53:07.070Z] Removing intermediate container 28dbc4809b67 [2021-10-08T17:53:07.070Z] ---> 2387d6d22661 [2021-10-08T17:53:07.070Z] Step 7/10 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev [2021-10-08T17:53:07.070Z] ---> Running in eddcae74f57e [2021-10-08T17:53:08.472Z] CGO_ENABLED=1 GO111MODULE=on go install -tags=safe [2021-10-08T17:53:08.472Z] Removing intermediate container 23ece2015da4 [2021-10-08T17:53:08.472Z] ---> 6a004860a033 [2021-10-08T17:53:08.472Z] Step 11/24 : FROM alpine:3.14 [2021-10-08T17:53:08.552Z] fetch https://nl.alpinelinux.org/alpine/v3.13/main/aarch64/APKINDEX.tar.gz [2021-10-08T17:53:09.048Z] 3.14: Pulling from library/alpine [2021-10-08T17:53:09.310Z] a0d0a0d46f8b: Pulling fs layer [2021-10-08T17:53:09.546Z] fetch https://nl.alpinelinux.org/alpine/v3.13/community/aarch64/APKINDEX.tar.gz [2021-10-08T17:53:09.577Z] a0d0a0d46f8b: Verifying Checksum [2021-10-08T17:53:09.577Z] a0d0a0d46f8b: Download complete [2021-10-08T17:53:09.838Z] a0d0a0d46f8b: Pull complete [2021-10-08T17:53:09.838Z] Digest: sha256:e1c082e3d3c45cccac829840a25941e679c25d438cc8412c2fa221cf1a824e6a [2021-10-08T17:53:09.838Z] Status: Downloaded newer image for alpine:3.14 [2021-10-08T17:53:09.838Z] ---> 14119a10abf4 [2021-10-08T17:53:09.838Z] Step 12/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-10-08T17:53:09.838Z] ---> Running in abf5326e3051 [2021-10-08T17:53:09.838Z] Removing intermediate container abf5326e3051 [2021-10-08T17:53:09.838Z] ---> 333b036430ff [2021-10-08T17:53:09.838Z] Step 13/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-10-08T17:53:09.838Z] ---> Running in 3857366fc9f7 [2021-10-08T17:53:10.155Z] OK: 218 MiB in 52 packages [2021-10-08T17:53:10.406Z] Removing intermediate container 3857366fc9f7 [2021-10-08T17:53:10.406Z] ---> 68bd8fbebe37 [2021-10-08T17:53:10.406Z] Step 14/24 : RUN apk add --update --no-cache zeromq [2021-10-08T17:53:10.406Z] ---> Running in efb41090d34f [2021-10-08T17:53:10.670Z] fetch https://nl.alpinelinux.org/alpine/v3.14/main/x86_64/APKINDEX.tar.gz [2021-10-08T17:53:11.154Z] Removing intermediate container eddcae74f57e [2021-10-08T17:53:11.154Z] ---> b33d6becd6e5 [2021-10-08T17:53:11.154Z] Step 8/10 : COPY . . [2021-10-08T17:53:11.612Z] fetch https://nl.alpinelinux.org/alpine/v3.14/community/x86_64/APKINDEX.tar.gz [2021-10-08T17:53:11.875Z] (1/5) Installing libgcc (10.3.1_git20210424-r2) [2021-10-08T17:53:11.875Z] (2/5) Installing libsodium (1.0.18-r0) [2021-10-08T17:53:12.136Z] (3/5) Installing libstdc++ (10.3.1_git20210424-r2) [2021-10-08T17:53:12.136Z] (4/5) Installing libzmq (4.3.4-r0) [2021-10-08T17:53:12.136Z] (5/5) Installing zeromq (4.3.4-r0) [2021-10-08T17:53:12.405Z] Executing busybox-1.33.1-r3.trigger [2021-10-08T17:53:12.405Z] OK: 8 MiB in 19 packages [2021-10-08T17:53:12.635Z] ---> b77057085fd1 [2021-10-08T17:53:12.635Z] Step 9/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2021-10-08T17:53:12.635Z] ---> Running in 1951845c9fcb [2021-10-08T17:53:12.667Z] Removing intermediate container efb41090d34f [2021-10-08T17:53:12.667Z] ---> a660e324be25 [2021-10-08T17:53:12.667Z] Step 15/24 : WORKDIR / [2021-10-08T17:53:12.667Z] ---> Running in 844ffbffd276 [2021-10-08T17:53:12.667Z] Removing intermediate container 844ffbffd276 [2021-10-08T17:53:12.667Z] ---> 20b33b7f3374 [2021-10-08T17:53:12.667Z] Step 16/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt [2021-10-08T17:53:12.933Z] ---> 446cbf982971 [2021-10-08T17:53:12.933Z] Step 17/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple [2021-10-08T17:53:13.195Z] ---> f09375b646af [2021-10-08T17:53:13.195Z] Step 18/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res [2021-10-08T17:53:13.455Z] ---> 2aa31b2e6082 [2021-10-08T17:53:13.455Z] Step 19/24 : EXPOSE 59999 [2021-10-08T17:53:13.455Z] ---> Running in 767f192019ed [2021-10-08T17:53:13.455Z] Removing intermediate container 767f192019ed [2021-10-08T17:53:13.455Z] ---> 1663d977cb07 [2021-10-08T17:53:13.455Z] Step 20/24 : ENTRYPOINT ["/device-simple"] [2021-10-08T17:53:13.455Z] ---> Running in af0f465a4469 [2021-10-08T17:53:13.455Z] Removing intermediate container af0f465a4469 [2021-10-08T17:53:13.455Z] ---> fae929c19f30 [2021-10-08T17:53:13.455Z] Step 21/24 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2021-10-08T17:53:13.719Z] ---> Running in 6a02eebcf84b [2021-10-08T17:53:13.719Z] Removing intermediate container 6a02eebcf84b [2021-10-08T17:53:13.719Z] ---> 80c0393298e2 [2021-10-08T17:53:13.719Z] Step 22/24 : LABEL arch=amd64 [2021-10-08T17:53:13.719Z] ---> Running in e4d367e4b458 [2021-10-08T17:53:13.719Z] Removing intermediate container e4d367e4b458 [2021-10-08T17:53:13.719Z] ---> acdb3f39ffaa [2021-10-08T17:53:13.719Z] Step 23/24 : LABEL git_sha=ca8f408215d3aa33b4c9f70e2fe77f2cb3750385 [2021-10-08T17:53:13.719Z] ---> Running in d5590ea38dea [2021-10-08T17:53:13.979Z] Removing intermediate container d5590ea38dea [2021-10-08T17:53:13.979Z] ---> 490eec04facb [2021-10-08T17:53:13.979Z] Step 24/24 : LABEL version=0.0.0 [2021-10-08T17:53:13.979Z] ---> Running in 3eaa3060f6a8 [2021-10-08T17:53:13.979Z] Removing intermediate container 3eaa3060f6a8 [2021-10-08T17:53:13.979Z] ---> 616f2ec79373 [2021-10-08T17:53:13.979Z] [Warning] One or more build-args [ARCH] were not consumed [2021-10-08T17:53:13.979Z] Successfully built 616f2ec79373 [2021-10-08T17:53:13.979Z] 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-08T17:53:14.586Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2021-10-08T17:53:14.586Z] [2021-10-08T17:53:14.586Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] sh [2021-10-08T17:53:14.893Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2021-10-08T17:53:14.893Z] latest: Pulling from edgex-lftools-log-publisher [2021-10-08T17:53:14.893Z] b4d181a07f80: Pulling fs layer [2021-10-08T17:53:14.893Z] a1111a8f2ec3: Pulling fs layer [2021-10-08T17:53:14.893Z] ed53099fbce6: Pulling fs layer [2021-10-08T17:53:14.893Z] dc539afda2c1: Pulling fs layer [2021-10-08T17:53:14.893Z] 77bc0d833cb6: Pulling fs layer [2021-10-08T17:53:14.893Z] 9065ff56babe: Pulling fs layer [2021-10-08T17:53:14.893Z] d287ab97295c: Pulling fs layer [2021-10-08T17:53:14.893Z] 77bc0d833cb6: Waiting [2021-10-08T17:53:14.893Z] 9065ff56babe: Waiting [2021-10-08T17:53:14.893Z] d287ab97295c: Waiting [2021-10-08T17:53:14.893Z] dc539afda2c1: Waiting [2021-10-08T17:53:14.893Z] a1111a8f2ec3: Verifying Checksum [2021-10-08T17:53:14.893Z] a1111a8f2ec3: Download complete [2021-10-08T17:53:14.893Z] dc539afda2c1: Verifying Checksum [2021-10-08T17:53:14.893Z] dc539afda2c1: Download complete [2021-10-08T17:53:14.893Z] ed53099fbce6: Verifying Checksum [2021-10-08T17:53:14.893Z] ed53099fbce6: Download complete [2021-10-08T17:53:15.155Z] 77bc0d833cb6: Verifying Checksum [2021-10-08T17:53:15.155Z] 77bc0d833cb6: Download complete [2021-10-08T17:53:15.155Z] 9065ff56babe: Verifying Checksum [2021-10-08T17:53:15.155Z] 9065ff56babe: Download complete [2021-10-08T17:53:15.155Z] b4d181a07f80: Verifying Checksum [2021-10-08T17:53:15.155Z] b4d181a07f80: Download complete [2021-10-08T17:53:15.735Z] d287ab97295c: Verifying Checksum [2021-10-08T17:53:15.735Z] d287ab97295c: Download complete [2021-10-08T17:53:16.700Z] b4d181a07f80: Pull complete [2021-10-08T17:53:16.700Z] a1111a8f2ec3: Pull complete [2021-10-08T17:53:17.284Z] ed53099fbce6: Pull complete [2021-10-08T17:53:17.548Z] dc539afda2c1: Pull complete [2021-10-08T17:53:17.815Z] 77bc0d833cb6: Pull complete [2021-10-08T17:53:17.815Z] 9065ff56babe: Pull complete [2021-10-08T17:53:23.142Z] d287ab97295c: Pull complete [2021-10-08T17:53:23.142Z] Digest: sha256:0c69325c24349bfb3ea32a3c3cbcab1fb66df42c981276dd8ebcf6aa441257c4 [2021-10-08T17:53:23.142Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2021-10-08T17:53:23.142Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] withDockerContainer [2021-10-08T17:53:23.207Z] prd-centos7-docker-4c-2g-116 does not seem to be running inside a container [2021-10-08T17:53:23.239Z] $ 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/3 -v /w/workspace/device-sdk-go/3:/w/workspace/device-sdk-go/3:rw,z -v /w/workspace/device-sdk-go/3@tmp:/w/workspace/device-sdk-go/3@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-08T17:53:25.585Z] $ docker top b5aa90677e0e4332fb88f26c9bc61d238e3ebe75474d1bd3ef03ea2a447e4c9f -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-10-08T17:53:25.983Z] ---> job-cost.sh [2021-10-08T17:53:25.983Z] lf-activate-venv: SKIPPING [2021-10-08T17:53:25.983Z] INFO: No Stack... [2021-10-08T17:53:32.563Z] INFO: Retrieving Pricing Info for: v3-standard-2 [2021-10-08T17:53:33.134Z] INFO: Archiving Costs [Pipeline] sh [2021-10-08T17:53:33.421Z] + cat /w/workspace/device-sdk-go/3/archives/cost.csv [2021-10-08T17:53:33.421Z] + cut -d, -f6 [Pipeline] lock [2021-10-08T17:53:33.448Z] Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-PR-1031-3-stack-cost] [2021-10-08T17:53:33.456Z] Resource [jenkins-edgexfoundry-device-sdk-go-PR-1031-3-stack-cost] did not exist. Created. [2021-10-08T17:53:33.456Z] Lock acquired on [jenkins-edgexfoundry-device-sdk-go-PR-1031-3-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2021-10-08T17:53:33.771Z] + echo total: 0.05999999865889549 [Pipeline] stash [2021-10-08T17:53:33.809Z] Stashed 1 file(s) [Pipeline] } [2021-10-08T17:53:33.815Z] Lock released on resource [jenkins-edgexfoundry-device-sdk-go-PR-1031-3-stack-cost] [Pipeline] // lock [Pipeline] } [2021-10-08T17:53:33.830Z] $ docker stop --time=1 b5aa90677e0e4332fb88f26c9bc61d238e3ebe75474d1bd3ef03ea2a447e4c9f [2021-10-08T17:53:34.971Z] $ docker rm -f b5aa90677e0e4332fb88f26c9bc61d238e3ebe75474d1bd3ef03ea2a447e4c9f [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [2021-10-08T17:54:34.568Z] Removing intermediate container 1951845c9fcb [2021-10-08T17:54:34.569Z] ---> 1173e5463f90 [2021-10-08T17:54:34.569Z] Step 10/10 : RUN ${MAKE} [2021-10-08T17:54:34.569Z] ---> Running in e90e42f7dc0f [2021-10-08T17:54:34.851Z] noop [2021-10-08T17:54:35.852Z] Removing intermediate container e90e42f7dc0f [2021-10-08T17:54:35.852Z] ---> c8ca77a6ac1a [2021-10-08T17:54:35.852Z] Successfully built c8ca77a6ac1a [2021-10-08T17:54:35.852Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh [2021-10-08T17:54:36.220Z] + docker inspect -f . ci-base-image-arm64 [2021-10-08T17:54:36.220Z] . [Pipeline] withDockerContainer [2021-10-08T17:54:36.544Z] prd-ubuntu18.04-docker-arm64-4c-16g-115 does not seem to be running inside a container [2021-10-08T17:54:36.656Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/3 -v /w/workspace/device-sdk-go/3:/w/workspace/device-sdk-go/3:rw,z -v /w/workspace/device-sdk-go/3@tmp:/w/workspace/device-sdk-go/3@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-08T17:54:38.472Z] $ docker top b0856d71ac8f940bb59146107e4fc8eea023cae7560e29bd891e77641e095e65 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-10-08T17:54:39.577Z] + go version [2021-10-08T17:54:39.577Z] go version go1.16.8 linux/arm64 [Pipeline] } [2021-10-08T17:54:39.602Z] $ docker stop --time=1 b0856d71ac8f940bb59146107e4fc8eea023cae7560e29bd891e77641e095e65 [2021-10-08T17:54:41.556Z] $ docker rm -f b0856d71ac8f940bb59146107e4fc8eea023cae7560e29bd891e77641e095e65 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-10-08T17:54:42.414Z] + docker inspect -f . ci-base-image-arm64 [2021-10-08T17:54:42.414Z] . [Pipeline] withDockerContainer [2021-10-08T17:54:43.007Z] prd-ubuntu18.04-docker-arm64-4c-16g-115 does not seem to be running inside a container [2021-10-08T17:54:43.117Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/3 -v /w/workspace/device-sdk-go/3:/w/workspace/device-sdk-go/3:rw,z -v /w/workspace/device-sdk-go/3@tmp:/w/workspace/device-sdk-go/3@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-08T17:54:44.947Z] $ docker top dc6f14d318eb6280d3c4e46977272f981fb324c31481c5d3d9567349fa2d7ec0 -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh [2021-10-08T17:54:45.986Z] + make test [2021-10-08T17:54:45.987Z] GO111MODULE=on go test -race -coverprofile=coverage.out ./... [2021-10-08T17:55:18.542Z] ? github.com/edgexfoundry/device-sdk-go/v2 [no test files] [2021-10-08T17:56:26.784Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/cmd/device-simple [no test files] [2021-10-08T17:56:26.784Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/config [no test files] [2021-10-08T17:56:26.784Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/driver [no test files] [2021-10-08T17:56:39.289Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/application 0.284s coverage: 23.7% of statements [2021-10-08T17:56:39.289Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/autodiscovery [no test files] [2021-10-08T17:56:39.289Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/autoevent 0.184s coverage: 28.1% of statements [2021-10-08T17:56:39.289Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/cache 0.301s coverage: 78.9% of statements [2021-10-08T17:56:39.289Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/clients 0.213s coverage: 9.0% of statements [2021-10-08T17:56:39.289Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/common [no test files] [2021-10-08T17:56:39.289Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/config [no test files] [2021-10-08T17:56:39.289Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/container [no test files] [2021-10-08T17:56:39.289Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http 0.287s coverage: 28.7% of statements [2021-10-08T17:56:39.289Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http/correlation [no test files] [2021-10-08T17:56:39.289Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/messaging 1.269s coverage: 83.3% of statements [2021-10-08T17:56:39.289Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/provision [no test files] [2021-10-08T17:56:39.289Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/telemetry [no test files] [2021-10-08T17:56:39.904Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/transformer 0.373s coverage: 57.8% of statements [2021-10-08T17:56:45.375Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/models 3.052s coverage: 89.0% of statements [2021-10-08T17:56:45.375Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/models/mocks [no test files] [2021-10-08T17:56:45.375Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/service 0.213s coverage: 4.9% of statements [2021-10-08T17:56:45.375Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/startup [no test files] [2021-10-08T17:56:45.375Z] GO111MODULE=on go vet ./... [2021-10-08T17:57:53.628Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2021-10-08T17:57:53.628Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2021-10-08T17:57:53.628Z] ./bin/test-attribution-txt.sh [Pipeline] } [2021-10-08T17:57:53.649Z] $ docker stop --time=1 dc6f14d318eb6280d3c4e46977272f981fb324c31481c5d3d9567349fa2d7ec0 [2021-10-08T17:57:55.625Z] $ docker rm -f dc6f14d318eb6280d3c4e46977272f981fb324c31481c5d3d9567349fa2d7ec0 [Pipeline] // withDockerContainer [Pipeline] sh [2021-10-08T17:57:56.901Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2021-10-08T17:57:56.936Z] Warning: overwriting stash ‘coverage-report’ [2021-10-08T17:57:57.853Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-10-08T17:57:58.401Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2021-10-08T17:57:58.766Z] + ls -al . [2021-10-08T17:57:58.766Z] total 300 [2021-10-08T17:57:58.766Z] drwxrwxr-x 10 jenkins jenkins 4096 Oct 8 17:57 . [2021-10-08T17:57:58.766Z] drwxrwxr-x 4 jenkins jenkins 4096 Oct 8 17:52 .. [2021-10-08T17:57:58.766Z] -rw-rw-r-- 1 jenkins jenkins 140 Oct 8 17:52 .dockerignore [2021-10-08T17:57:58.766Z] drwxrwxr-x 8 jenkins jenkins 4096 Oct 8 17:52 .git [2021-10-08T17:57:58.766Z] drwxrwxr-x 3 jenkins jenkins 4096 Oct 8 17:52 .github [2021-10-08T17:57:58.766Z] -rw-rw-r-- 1 jenkins jenkins 131 Oct 8 17:52 .gitignore [2021-10-08T17:57:58.766Z] -rw-rw-r-- 1 jenkins jenkins 24816 Oct 8 17:52 CHANGELOG.md [2021-10-08T17:57:58.766Z] -rw-rw-r-- 1 jenkins jenkins 677 Oct 8 17:52 GOVERNANCE.md [2021-10-08T17:57:58.766Z] -rw-rw-r-- 1 jenkins jenkins 880 Oct 8 17:52 Jenkinsfile [2021-10-08T17:57:58.766Z] -rw-rw-r-- 1 jenkins jenkins 11341 Oct 8 17:52 LICENSE [2021-10-08T17:57:58.766Z] -rw-rw-r-- 1 jenkins jenkins 1120 Oct 8 17:52 Makefile [2021-10-08T17:57:58.766Z] -rw-rw-r-- 1 jenkins jenkins 619 Oct 8 17:52 OWNERS.md [2021-10-08T17:57:58.766Z] -rw-rw-r-- 1 jenkins jenkins 7646 Oct 8 17:52 README.md [2021-10-08T17:57:58.766Z] -rw-rw-r-- 1 jenkins jenkins 5 Oct 8 17:49 VERSION [2021-10-08T17:57:58.766Z] drwxrwxr-x 2 jenkins jenkins 4096 Oct 8 17:52 bin [2021-10-08T17:57:58.766Z] -rw-r--r-- 1 jenkins jenkins 126160 Oct 8 17:56 coverage.out [2021-10-08T17:57:58.766Z] drwxrwxr-x 5 jenkins jenkins 4096 Oct 8 17:52 example [2021-10-08T17:57:58.766Z] -rw-rw-r-- 1 jenkins jenkins 583 Oct 8 17:52 go.mod [2021-10-08T17:57:58.766Z] -rw-rw-r-- 1 jenkins jenkins 49618 Oct 8 17:52 go.sum [2021-10-08T17:57:58.766Z] drwxrwxr-x 15 jenkins jenkins 4096 Oct 8 17:52 internal [2021-10-08T17:57:58.766Z] drwxrwxr-x 3 jenkins jenkins 4096 Oct 8 17:52 openapi [2021-10-08T17:57:58.766Z] drwxrwxr-x 5 jenkins jenkins 4096 Oct 8 17:52 pkg [2021-10-08T17:57:58.766Z] drwxrwxr-x 4 jenkins jenkins 4096 Oct 8 17:52 snap [2021-10-08T17:57:58.766Z] -rw-rw-r-- 1 jenkins jenkins 222 Oct 8 17:52 version.go [Pipeline] isUnix [Pipeline] sh [2021-10-08T17:57:59.161Z] + 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=ca8f408215d3aa33b4c9f70e2fe77f2cb3750385 --label arch=arm64 --label version=0.0.0 . [2021-10-08T17:57:59.784Z] Sending build context to Docker daemon 2.789MB [2021-10-08T17:57:59.784Z] Step 1/24 : ARG BASE=golang:1.16-alpine3.14 [2021-10-08T17:57:59.784Z] Step 2/24 : FROM ${BASE} AS builder [2021-10-08T17:57:59.784Z] ---> c8ca77a6ac1a [2021-10-08T17:57:59.784Z] Step 3/24 : ARG MAKE=make build [2021-10-08T17:58:00.080Z] ---> Running in bff6824ffbfc [2021-10-08T17:58:00.709Z] Removing intermediate container bff6824ffbfc [2021-10-08T17:58:00.709Z] ---> 801293285108 [2021-10-08T17:58:00.709Z] Step 4/24 : WORKDIR /device-sdk-go [2021-10-08T17:58:00.709Z] ---> Running in 04be1c5b51a8 [2021-10-08T17:58:01.320Z] Removing intermediate container 04be1c5b51a8 [2021-10-08T17:58:01.320Z] ---> 58b96181720a [2021-10-08T17:58:01.320Z] Step 5/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-10-08T17:58:01.320Z] ---> Running in 2faf52ed185d [2021-10-08T17:58:01.814Z] Removing intermediate container 2faf52ed185d [2021-10-08T17:58:01.814Z] ---> 159cbd6cf854 [2021-10-08T17:58:01.814Z] Step 6/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-10-08T17:58:02.097Z] ---> Running in ae421de9d327 [2021-10-08T17:58:04.113Z] Removing intermediate container ae421de9d327 [2021-10-08T17:58:04.113Z] ---> 1173b394dd7a [2021-10-08T17:58:04.113Z] Step 7/24 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev [2021-10-08T17:58:04.401Z] ---> Running in 23fa7897f663 [2021-10-08T17:58:05.861Z] fetch https://nl.alpinelinux.org/alpine/v3.13/main/aarch64/APKINDEX.tar.gz [2021-10-08T17:58:06.857Z] fetch https://nl.alpinelinux.org/alpine/v3.13/community/aarch64/APKINDEX.tar.gz [2021-10-08T17:58:07.469Z] OK: 218 MiB in 52 packages [2021-10-08T17:58:08.932Z] Removing intermediate container 23fa7897f663 [2021-10-08T17:58:08.932Z] ---> 018dce859740 [2021-10-08T17:58:08.932Z] Step 8/24 : COPY . . [2021-10-08T17:58:09.935Z] ---> 37af38719e41 [2021-10-08T17:58:09.935Z] Step 9/24 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2021-10-08T17:58:10.215Z] ---> Running in 2c657f9d75a6 [2021-10-08T17:58:12.878Z] Removing intermediate container 2c657f9d75a6 [2021-10-08T17:58:12.879Z] ---> ed94a84216c0 [2021-10-08T17:58:12.879Z] Step 10/24 : RUN ${MAKE} [2021-10-08T17:58:12.879Z] ---> Running in a6cfae852e83 [2021-10-08T17:58:13.877Z] 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-08T17:58:53.032Z] CGO_ENABLED=1 GO111MODULE=on go install -tags=safe [2021-10-08T17:58:53.638Z] Removing intermediate container a6cfae852e83 [2021-10-08T17:58:53.638Z] ---> 5db6f20eb073 [2021-10-08T17:58:53.638Z] Step 11/24 : FROM alpine:3.14 [2021-10-08T17:58:54.243Z] 3.14: Pulling from library/alpine [2021-10-08T17:58:54.243Z] 552d1f2373af: Pulling fs layer [2021-10-08T17:58:54.858Z] 552d1f2373af: Verifying Checksum [2021-10-08T17:58:54.858Z] 552d1f2373af: Download complete [2021-10-08T17:58:55.466Z] 552d1f2373af: Pull complete [2021-10-08T17:58:55.466Z] Digest: sha256:e1c082e3d3c45cccac829840a25941e679c25d438cc8412c2fa221cf1a824e6a [2021-10-08T17:58:55.466Z] Status: Downloaded newer image for alpine:3.14 [2021-10-08T17:58:55.466Z] ---> bb3de5531c18 [2021-10-08T17:58:55.466Z] Step 12/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-10-08T17:58:55.750Z] ---> Running in 7ec7fa51a56a [2021-10-08T17:58:56.032Z] Removing intermediate container 7ec7fa51a56a [2021-10-08T17:58:56.032Z] ---> 1ab203efd0cd [2021-10-08T17:58:56.032Z] Step 13/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-10-08T17:58:56.313Z] ---> Running in 65ffb15ee687 [2021-10-08T17:58:58.334Z] Removing intermediate container 65ffb15ee687 [2021-10-08T17:58:58.334Z] ---> 4c3e7aee270c [2021-10-08T17:58:58.334Z] Step 14/24 : RUN apk add --update --no-cache zeromq [2021-10-08T17:58:58.615Z] ---> Running in d4cf1846df06 [2021-10-08T17:59:00.074Z] fetch https://nl.alpinelinux.org/alpine/v3.14/main/aarch64/APKINDEX.tar.gz [2021-10-08T17:59:01.081Z] fetch https://nl.alpinelinux.org/alpine/v3.14/community/aarch64/APKINDEX.tar.gz [2021-10-08T17:59:02.089Z] (1/5) Installing libgcc (10.3.1_git20210424-r2) [2021-10-08T17:59:02.089Z] (2/5) Installing libsodium (1.0.18-r0) [2021-10-08T17:59:02.089Z] (3/5) Installing libstdc++ (10.3.1_git20210424-r2) [2021-10-08T17:59:02.370Z] (4/5) Installing libzmq (4.3.4-r0) [2021-10-08T17:59:02.370Z] (5/5) Installing zeromq (4.3.4-r0) [2021-10-08T17:59:02.654Z] Executing busybox-1.33.1-r3.trigger [2021-10-08T17:59:02.654Z] OK: 8 MiB in 19 packages [2021-10-08T17:59:04.117Z] Removing intermediate container d4cf1846df06 [2021-10-08T17:59:04.117Z] ---> 1c37ef4419a8 [2021-10-08T17:59:04.117Z] Step 15/24 : WORKDIR / [2021-10-08T17:59:04.117Z] ---> Running in ac9bdcdf3476 [2021-10-08T17:59:04.726Z] Removing intermediate container ac9bdcdf3476 [2021-10-08T17:59:04.726Z] ---> beec6a7e421c [2021-10-08T17:59:04.726Z] Step 16/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt [2021-10-08T17:59:05.333Z] ---> a61fa0089e3d [2021-10-08T17:59:05.333Z] Step 17/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple [2021-10-08T17:59:06.792Z] ---> 0cf318169075 [2021-10-08T17:59:06.792Z] Step 18/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res [2021-10-08T17:59:07.789Z] ---> d10b7e73bb6f [2021-10-08T17:59:07.789Z] Step 19/24 : EXPOSE 59999 [2021-10-08T17:59:07.789Z] ---> Running in 11a273dec0e5 [2021-10-08T17:59:08.401Z] Removing intermediate container 11a273dec0e5 [2021-10-08T17:59:08.401Z] ---> a4a4fe0ddf5b [2021-10-08T17:59:08.401Z] Step 20/24 : ENTRYPOINT ["/device-simple"] [2021-10-08T17:59:08.401Z] ---> Running in 53b42ea8e887 [2021-10-08T17:59:09.012Z] Removing intermediate container 53b42ea8e887 [2021-10-08T17:59:09.013Z] ---> 0db069898223 [2021-10-08T17:59:09.013Z] Step 21/24 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2021-10-08T17:59:09.013Z] ---> Running in 016b9f1a66bf [2021-10-08T17:59:09.627Z] Removing intermediate container 016b9f1a66bf [2021-10-08T17:59:09.627Z] ---> 6ee8debe2fb9 [2021-10-08T17:59:09.627Z] Step 22/24 : LABEL arch=arm64 [2021-10-08T17:59:09.627Z] ---> Running in ac3be7c36e9c [2021-10-08T17:59:10.235Z] Removing intermediate container ac3be7c36e9c [2021-10-08T17:59:10.235Z] ---> 15ff242a9012 [2021-10-08T17:59:10.235Z] Step 23/24 : LABEL git_sha=ca8f408215d3aa33b4c9f70e2fe77f2cb3750385 [2021-10-08T17:59:10.514Z] ---> Running in 89b3e0c476ee [2021-10-08T17:59:10.799Z] Removing intermediate container 89b3e0c476ee [2021-10-08T17:59:10.799Z] ---> 8ed5623bf753 [2021-10-08T17:59:10.799Z] Step 24/24 : LABEL version=0.0.0 [2021-10-08T17:59:11.084Z] ---> Running in 8064981f2bcb [2021-10-08T17:59:11.694Z] Removing intermediate container 8064981f2bcb [2021-10-08T17:59:11.694Z] ---> 6cc00b548ed0 [2021-10-08T17:59:11.694Z] [Warning] One or more build-args [ARCH] were not consumed [2021-10-08T17:59:11.694Z] Successfully built 6cc00b548ed0 [2021-10-08T17:59:11.694Z] 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-08T17:59:12.309Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2021-10-08T17:59:12.589Z] [2021-10-08T17:59:12.589Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] sh [2021-10-08T17:59:12.976Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2021-10-08T17:59:13.262Z] arm64: Pulling from edgex-lftools-log-publisher [2021-10-08T17:59:13.262Z] 448f6bf000e3: Pulling fs layer [2021-10-08T17:59:13.262Z] f757da607395: Pulling fs layer [2021-10-08T17:59:13.262Z] 05883995daec: Pulling fs layer [2021-10-08T17:59:13.262Z] 8603b9c90790: Pulling fs layer [2021-10-08T17:59:13.262Z] 1560dd03e051: Pulling fs layer [2021-10-08T17:59:13.262Z] 27f5ce0e4adf: Pulling fs layer [2021-10-08T17:59:13.262Z] c2d8d7efcc4b: Pulling fs layer [2021-10-08T17:59:13.262Z] 8603b9c90790: Waiting [2021-10-08T17:59:13.262Z] 1560dd03e051: Waiting [2021-10-08T17:59:13.262Z] 27f5ce0e4adf: Waiting [2021-10-08T17:59:13.262Z] c2d8d7efcc4b: Waiting [2021-10-08T17:59:13.550Z] f757da607395: Verifying Checksum [2021-10-08T17:59:13.550Z] f757da607395: Download complete [2021-10-08T17:59:13.550Z] 8603b9c90790: Verifying Checksum [2021-10-08T17:59:13.550Z] 8603b9c90790: Download complete [2021-10-08T17:59:13.550Z] 1560dd03e051: Verifying Checksum [2021-10-08T17:59:13.550Z] 1560dd03e051: Download complete [2021-10-08T17:59:13.550Z] 05883995daec: Download complete [2021-10-08T17:59:13.550Z] 27f5ce0e4adf: Verifying Checksum [2021-10-08T17:59:13.550Z] 27f5ce0e4adf: Download complete [2021-10-08T17:59:14.165Z] 448f6bf000e3: Verifying Checksum [2021-10-08T17:59:14.165Z] 448f6bf000e3: Download complete [2021-10-08T17:59:16.850Z] c2d8d7efcc4b: Verifying Checksum [2021-10-08T17:59:16.850Z] c2d8d7efcc4b: Download complete [2021-10-08T17:59:17.850Z] 448f6bf000e3: Pull complete [2021-10-08T17:59:18.461Z] f757da607395: Pull complete [2021-10-08T17:59:19.924Z] 05883995daec: Pull complete [2021-10-08T17:59:20.531Z] 8603b9c90790: Pull complete [2021-10-08T17:59:21.531Z] 1560dd03e051: Pull complete [2021-10-08T17:59:21.813Z] 27f5ce0e4adf: Pull complete [2021-10-08T17:59:37.007Z] c2d8d7efcc4b: Pull complete [2021-10-08T17:59:37.007Z] Digest: sha256:42f6a1c33103aa4ecfebf648e29883a20fd84132c0f0d4f855d8bcfd8dd9c454 [2021-10-08T17:59:37.007Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2021-10-08T17:59:37.007Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] withDockerContainer [2021-10-08T17:59:37.318Z] prd-ubuntu18.04-docker-arm64-4c-16g-115 does not seem to be running inside a container [2021-10-08T17:59:37.446Z] $ 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/3 -v /w/workspace/device-sdk-go/3:/w/workspace/device-sdk-go/3:rw,z -v /w/workspace/device-sdk-go/3@tmp:/w/workspace/device-sdk-go/3@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-08T17:59:42.307Z] $ docker top 270c71c1e1fd2cd004514a3d348a181ec3ce60587669d0c43b5ebc0800efd329 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-10-08T17:59:43.360Z] ---> job-cost.sh [2021-10-08T17:59:43.360Z] lf-activate-venv: SKIPPING [2021-10-08T17:59:43.360Z] INFO: No Stack... [2021-10-08T17:59:43.978Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2021-10-08T17:59:44.258Z] INFO: Archiving Costs [Pipeline] sh [2021-10-08T17:59:44.956Z] + cat /w/workspace/device-sdk-go/3/archives/cost.csv+ [2021-10-08T17:59:44.956Z] cut -d, -f6 [Pipeline] lock [2021-10-08T17:59:45.041Z] Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-PR-1031-3-stack-cost] [2021-10-08T17:59:45.048Z] Resource [jenkins-edgexfoundry-device-sdk-go-PR-1031-3-stack-cost] did not exist. Created. [2021-10-08T17:59:45.048Z] Lock acquired on [jenkins-edgexfoundry-device-sdk-go-PR-1031-3-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2021-10-08T17:59:45.764Z] /w/workspace/device-sdk-go/3@tmp/durable-9ae27c0b/script.sh: 1: /w/workspace/device-sdk-go/3@tmp/durable-9ae27c0b/script.sh: Syntax error: Unterminated quoted string [Pipeline] sh [2021-10-08T17:59:46.464Z] + echo total: 0.10999999940395355 [Pipeline] stash [2021-10-08T17:59:46.496Z] Warning: overwriting stash ‘stack-cost’ [2021-10-08T17:59:46.568Z] Stashed 1 file(s) [Pipeline] } [2021-10-08T17:59:46.578Z] Lock released on resource [jenkins-edgexfoundry-device-sdk-go-PR-1031-3-stack-cost] [Pipeline] // lock [Pipeline] } [2021-10-08T17:59:46.591Z] $ docker stop --time=1 270c71c1e1fd2cd004514a3d348a181ec3ce60587669d0c43b5ebc0800efd329 [2021-10-08T17:59:48.295Z] $ docker rm -f 270c71c1e1fd2cd004514a3d348a181ec3ce60587669d0c43b5ebc0800efd329 [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-08T17:59:49.148Z] provisioning config files... [2021-10-08T17:59:49.157Z] copy managed file [device-sdk-go-codecov-token] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1031@tmp/config5478586456101611790tmp [Pipeline] { [Pipeline] sh [2021-10-08T17:59:49.474Z] + set +x [2021-10-08T17:59:49.474Z] + bash -s -- [2021-10-08T17:59:49.474Z] + curl -s https://codecov.io/bash [2021-10-08T17:59:49.474Z] [2021-10-08T17:59:49.474Z] _____ _ [2021-10-08T17:59:49.474Z] / ____| | | [2021-10-08T17:59:49.474Z] | | ___ __| | ___ ___ _____ __ [2021-10-08T17:59:49.474Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2021-10-08T17:59:49.474Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2021-10-08T17:59:49.474Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2021-10-08T17:59:49.474Z] Bash-1.0.6 [2021-10-08T17:59:49.474Z] [2021-10-08T17:59:49.474Z] [2021-10-08T17:59:49.474Z] ==> git version 2.24.4 found [2021-10-08T17:59:49.474Z] ==> 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-08T17:59:49.474Z] Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtsp scp sftp smtp smtps telnet tftp [2021-10-08T17:59:49.474Z] Features: AsynchDNS GSS-Negotiate IDN IPv6 Largefile NTLM NTLM_WB SSL libz unix-sockets [2021-10-08T17:59:49.474Z] ==> Jenkins CI detected. [2021-10-08T17:59:49.474Z] current dir:  /w/workspace/gexfoundry_device-sdk-go_PR-1031 [2021-10-08T17:59:49.474Z] project root: . [2021-10-08T17:59:49.474Z] --> token set from env [2021-10-08T17:59:49.474Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2021-10-08T17:59:49.474Z] ==> Running gcov in . (disable via -X gcov) [2021-10-08T17:59:49.474Z] ==> Python coveragepy not found [2021-10-08T17:59:49.474Z] ==> Searching for coverage reports in: [2021-10-08T17:59:49.474Z] + . [2021-10-08T17:59:49.474Z] -> Found 1 reports [2021-10-08T17:59:49.474Z] ==> Detecting git/mercurial file structure [2021-10-08T17:59:49.474Z] ==> Reading reports [2021-10-08T17:59:49.474Z] + ./coverage.out bytes=126160 [2021-10-08T17:59:49.474Z] ==> Appending adjustments [2021-10-08T17:59:49.474Z] https://docs.codecov.io/docs/fixing-reports [2021-10-08T17:59:49.736Z] + Found adjustments [2021-10-08T17:59:49.736Z] ==> Gzipping contents [2021-10-08T17:59:49.997Z] 16K /tmp/codecov.sEyszT.gz [2021-10-08T17:59:49.997Z] ==> Uploading reports [2021-10-08T17:59:49.997Z] url: https://codecov.io [2021-10-08T17:59:49.997Z] query: branch=PR-1031&commit=ca8f408215d3aa33b4c9f70e2fe77f2cb3750385&build=3&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-1031%2F3%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=1031&job=&cmd_args= [2021-10-08T17:59:49.997Z] -> Pinging Codecov [2021-10-08T17:59:49.997Z] 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=ca8f408215d3aa33b4c9f70e2fe77f2cb3750385&build=3&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-1031%2F3%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=1031&job=&cmd_args= [2021-10-08T17:59:50.258Z] -> Uploading to [2021-10-08T17:59:50.259Z] https://storage.googleapis.com/codecov/v4/raw/2021-10-08/7E55EF52A471D76F132DFD9A03CDDE97/ca8f408215d3aa33b4c9f70e2fe77f2cb3750385/9fb6435e-58a4-4478-aa67-8fbf98692c22.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EKKHVKCKHW7KBCGM7IHR55T63V2PAVJWLVFNITJHDU5G6R5IRN3LMWJA%2F20211008%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20211008T175950Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=bb5c1bb3008789fe5550091e1bd787a77510384ca2c36ed64a3f196687f07f29 [2021-10-08T17:59:50.259Z] % Total % Received % Xferd Average Speed Time Time Time Current [2021-10-08T17:59:50.259Z] Dload Upload Total Spent Left Speed [2021-10-08T17:59:50.519Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 16055 0 0 100 16055 0 47343 --:--:-- --:--:-- --:--:-- 47500 [2021-10-08T17:59:50.519Z] -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/device-sdk-go/commit/ca8f408215d3aa33b4c9f70e2fe77f2cb3750385 [Pipeline] } [2021-10-08T17:59:50.527Z] 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-08T17:59:52.035Z] + '[' -d /w/workspace/gexfoundry_device-sdk-go_PR-1031/archives ']' [Pipeline] libraryResource [Pipeline] sh [2021-10-08T17:59:52.339Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2021-10-08T17:59:52.925Z] ---> package-listing.sh [2021-10-08T17:59:52.925Z] ++ tr '[:upper:]' '[:lower:]' [2021-10-08T17:59:52.925Z] ++ facter osfamily [2021-10-08T17:59:53.190Z] + OS_FAMILY=redhat [2021-10-08T17:59:53.190Z] + workspace=/w/workspace/gexfoundry_device-sdk-go_PR-1031 [2021-10-08T17:59:53.190Z] + START_PACKAGES=/tmp/packages_start.txt [2021-10-08T17:59:53.190Z] + END_PACKAGES=/tmp/packages_end.txt [2021-10-08T17:59:53.190Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2021-10-08T17:59:53.190Z] + PACKAGES=/tmp/packages_start.txt [2021-10-08T17:59:53.190Z] + '[' /w/workspace/gexfoundry_device-sdk-go_PR-1031 ']' [2021-10-08T17:59:53.190Z] + PACKAGES=/tmp/packages_end.txt [2021-10-08T17:59:53.190Z] + case "${OS_FAMILY}" in [2021-10-08T17:59:53.190Z] + rpm -qa [2021-10-08T17:59:53.190Z] + sort [2021-10-08T17:59:54.130Z] + '[' -f /tmp/packages_start.txt ']' [2021-10-08T17:59:54.130Z] + '[' -f /tmp/packages_end.txt ']' [2021-10-08T17:59:54.130Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2021-10-08T17:59:54.130Z] + '[' /w/workspace/gexfoundry_device-sdk-go_PR-1031 ']' [2021-10-08T17:59:54.130Z] + mkdir -p /w/workspace/gexfoundry_device-sdk-go_PR-1031/archives/ [2021-10-08T17:59:54.130Z] + 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-08T17:59:54.142Z] 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-08T17:59:54.424Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] sh [2021-10-08T17:59:54.979Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2021-10-08T17:59:54.979Z] [2021-10-08T17:59:54.979Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] sh [2021-10-08T17:59:55.281Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2021-10-08T17:59:55.281Z] latest: Pulling from edgex-lftools-log-publisher [2021-10-08T17:59:55.281Z] b4d181a07f80: Pulling fs layer [2021-10-08T17:59:55.281Z] a1111a8f2ec3: Pulling fs layer [2021-10-08T17:59:55.281Z] ed53099fbce6: Pulling fs layer [2021-10-08T17:59:55.281Z] dc539afda2c1: Pulling fs layer [2021-10-08T17:59:55.281Z] 77bc0d833cb6: Pulling fs layer [2021-10-08T17:59:55.281Z] 9065ff56babe: Pulling fs layer [2021-10-08T17:59:55.281Z] d287ab97295c: Pulling fs layer [2021-10-08T17:59:55.281Z] 77bc0d833cb6: Waiting [2021-10-08T17:59:55.281Z] 9065ff56babe: Waiting [2021-10-08T17:59:55.281Z] d287ab97295c: Waiting [2021-10-08T17:59:55.281Z] a1111a8f2ec3: Verifying Checksum [2021-10-08T17:59:55.281Z] a1111a8f2ec3: Download complete [2021-10-08T17:59:55.281Z] dc539afda2c1: Verifying Checksum [2021-10-08T17:59:55.281Z] dc539afda2c1: Download complete [2021-10-08T17:59:55.281Z] ed53099fbce6: Verifying Checksum [2021-10-08T17:59:55.281Z] ed53099fbce6: Download complete [2021-10-08T17:59:55.552Z] 9065ff56babe: Verifying Checksum [2021-10-08T17:59:55.552Z] 9065ff56babe: Download complete [2021-10-08T17:59:55.552Z] 77bc0d833cb6: Verifying Checksum [2021-10-08T17:59:55.552Z] 77bc0d833cb6: Download complete [2021-10-08T17:59:55.552Z] b4d181a07f80: Verifying Checksum [2021-10-08T17:59:55.552Z] b4d181a07f80: Download complete [2021-10-08T17:59:56.137Z] d287ab97295c: Verifying Checksum [2021-10-08T17:59:56.137Z] d287ab97295c: Download complete [2021-10-08T17:59:57.098Z] b4d181a07f80: Pull complete [2021-10-08T17:59:57.368Z] a1111a8f2ec3: Pull complete [2021-10-08T17:59:57.949Z] ed53099fbce6: Pull complete [2021-10-08T17:59:57.949Z] dc539afda2c1: Pull complete [2021-10-08T17:59:58.207Z] 77bc0d833cb6: Pull complete [2021-10-08T17:59:58.207Z] 9065ff56babe: Pull complete [2021-10-08T18:00:03.557Z] d287ab97295c: Pull complete [2021-10-08T18:00:03.557Z] Digest: sha256:0c69325c24349bfb3ea32a3c3cbcab1fb66df42c981276dd8ebcf6aa441257c4 [2021-10-08T18:00:03.557Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2021-10-08T18:00:03.557Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] withDockerContainer [2021-10-08T18:00:03.630Z] prd-centos7-docker-4c-2g-112 does not seem to be running inside a container [2021-10-08T18:00:03.663Z] $ 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-08T18:00:06.005Z] $ docker top a288abf3c9411e976e10a6bd150ad5e04b540d6a04d98d9bc1f572b4ff71f508 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-10-08T18:00:06.356Z] + touch /tmp/pre-build-complete [Pipeline] sh [2021-10-08T18:00:06.652Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2021-10-08T18:00:06.943Z] + ls /var/log/sa-host [2021-10-08T18:00:06.943Z] + sadf -c /var/log/sa-host/sa08 [2021-10-08T18:00:06.943Z] file_magic: OK [2021-10-08T18:00:06.943Z] HZ: Using current value: 100 [2021-10-08T18:00:06.943Z] file_header: OK [2021-10-08T18:00:06.943Z] 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-08T18:00:06.943Z] Statistics: [2021-10-08T18:00:06.943Z] HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... [2021-10-08T18:00:06.943Z] File successfully converted to sysstat format version 12.0.3 [2021-10-08T18:00:06.943Z] + sadf -c /var/log/sa-host/sa30 [2021-10-08T18:00:06.943Z] file_magic: OK [2021-10-08T18:00:06.943Z] HZ: Using current value: 100 [2021-10-08T18:00:06.943Z] file_header: OK [2021-10-08T18:00:06.943Z] 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-08T18:00:06.943Z] Statistics: [2021-10-08T18:00:06.943Z] Hnuu...uuuununununu...Hnuu...uuuununununu... [2021-10-08T18:00:06.943Z] File successfully converted to sysstat format version 12.0.3 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-10-08T18:00:07.042Z] provisioning config files... [2021-10-08T18:00:07.052Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1031@tmp/config759972825771108179tmp [Pipeline] { [Pipeline] echo [2021-10-08T18:00:07.065Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2021-10-08T18:00:07.354Z] ---> create-netrc.sh [Pipeline] } [2021-10-08T18:00:07.361Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2021-10-08T18:00:07.698Z] ---> python-tools-install.sh [Pipeline] echo [2021-10-08T18:00:07.707Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2021-10-08T18:00:07.999Z] ---> sudo-logs.sh [2021-10-08T18:00:07.999Z] Archiving 'sudo' log.. [2021-10-08T18:00:07.999Z] sudo: unable to resolve host prd-centos7-docker-4c-2g-112.novalocal: Name or service not known [2021-10-08T18:00:07.999Z] sudo: unable to resolve host prd-centos7-docker-4c-2g-112.novalocal: Name or service not known [Pipeline] unstash [Pipeline] echo [2021-10-08T18:00:08.023Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2021-10-08T18:00:08.313Z] ---> job-cost.sh [2021-10-08T18:00:08.314Z] lf-activate-venv: SKIPPING [2021-10-08T18:00:08.314Z] DEBUG: total: 0.10999999940395355 [2021-10-08T18:00:08.314Z] INFO: Retrieving Stack Cost... [2021-10-08T18:00:09.695Z] INFO: Retrieving Pricing Info for: v3-standard-2 [2021-10-08T18:00:09.954Z] INFO: Archiving Costs [Pipeline] echo [2021-10-08T18:00:09.967Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2021-10-08T18:00:10.292Z] ---> logs-deploy.sh [2021-10-08T18:00:10.292Z] lf-activate-venv: SKIPPING [2021-10-08T18:00:10.292Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-1031/3 [2021-10-08T18:00:10.292Z] INFO: archiving workspace using pattern(s): [2021-10-08T18:00:10.870Z] Archives upload complete. [2021-10-08T18:00:11.132Z] INFO: archiving logs to Nexus