Pull request #1031 opened Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 5bb56453c95912db44905d477eac09d9d334902a+d24546102b5fafb36a92b102b4be54f609bac794 (58836b20ab02872e84330c3e1255a6a6821802d7) Running in Durability level: MAX_SURVIVABILITY Loading library edgex-global-pipelines@stable Attempting to resolve stable from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /tmp/jenkins-gitclient-ssh484164217439898536.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-ssh4397066965592722670.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 Cloning the remote Git repository Cloning with configured refspecs honoured and with tags Cloning repository git@github.com:edgexfoundry/edgex-global-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/device-sdk-go/branches/PR-1031/workspace@libs/edgex-global-pipelines # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-sdk-go/branches/PR-1031/workspace@libs/edgex-global-pipelines@tmp/jenkins-gitclient-ssh8088499085047148317.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching with tags Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-sdk-go/branches/PR-1031/workspace@libs/edgex-global-pipelines@tmp/jenkins-gitclient-ssh767578710823464498.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 > git --version # timeout=10 > git --version # 'git version 2.16.6' Excluding src/test/ from checkout of git git@github.com:edgexfoundry/edgex-global-pipelines.git so that shared library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. Loading library lf-pipelines@master Attempting to resolve master from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /tmp/jenkins-gitclient-ssh6644149972745021590.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 Cloning the remote Git repository Cloning with configured refspecs honoured and without tags Cloning repository git@github.com:lfit/releng-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/device-sdk-go/branches/PR-1031/workspace@libs/lf-pipelines # timeout=10 Fetching upstream changes from git@github.com:lfit/releng-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-sdk-go/branches/PR-1031/workspace@libs/lf-pipelines@tmp/jenkins-gitclient-ssh6243432219010536317.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 Avoid second fetch Checking out Revision 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 > git --version # timeout=10 > git --version # 'git version 2.16.6' fatal: bad object c3f98f08b2c5d0ffaa3a36dbf383f5176a0ca588 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 All nodes of label ‘centos7-docker-4c-2g’ are offline Running on prd-centos7-docker-4c-2g-44 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-ssh6102090854906971613.key > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Merging remotes/origin/main commit d24546102b5fafb36a92b102b4be54f609bac794 into PR head commit 5bb56453c95912db44905d477eac09d9d334902a > 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-ssh8423002877856717795.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 Merge succeeded, producing 5bb56453c95912db44905d477eac09d9d334902a Checking out Revision 5bb56453c95912db44905d477eac09d9d334902a (PR-1031) > git config core.sparsecheckout # timeout=10 > git checkout -f 5bb56453c95912db44905d477eac09d9d334902a # 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-ssh3487175044467494427.key > git merge d24546102b5fafb36a92b102b4be54f609bac794 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 5bb56453c95912db44905d477eac09d9d334902a # timeout=10 Commit message: "build(deps): bump github.com/edgexfoundry/go-mod-core-contracts/v2" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.24.4' fatal: bad object c3f98f08b2c5d0ffaa3a36dbf383f5176a0ca588 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2021-10-08T04:13:34.355Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2021-10-08T04:13:34.491Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2021-10-08T04:13:34.561Z] ========================================================= [2021-10-08T04:13:34.561Z] EdgeX Global Pipelines Version Info [2021-10-08T04:13:34.561Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2021-10-08T04:13:35.745Z] ------------------- [2021-10-08T04:13:35.745Z] stable info: [2021-10-08T04:13:35.745Z] ------------------- [2021-10-08T04:13:35.745Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2021-10-08T04:13:35.745Z] Commit SHA: c3f98f08b2c5d0ffaa3a36dbf383f5176a0ca588 [2021-10-08T04:13:35.745Z] Message: update stable to v1.0.208 [2021-10-08T04:13:36.318Z] ------------------- [2021-10-08T04:13:36.318Z] experimental info: [2021-10-08T04:13:36.318Z] ------------------- [2021-10-08T04:13:36.318Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2021-10-08T04:13:36.318Z] Commit SHA: c3f98f08b2c5d0ffaa3a36dbf383f5176a0ca588 [2021-10-08T04:13:36.318Z] Message: update experimental to v1.0.208 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2021-10-08T04:13:36.475Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-go-settings [Pipeline] echo [2021-10-08T04:13:36.510Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-go [Pipeline] echo [2021-10-08T04:13:36.544Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2021-10-08T04:13:36.580Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2021-10-08T04:13:36.618Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2021-10-08T04:13:36.652Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.16 [Pipeline] echo [2021-10-08T04:13:36.688Z] [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine [Pipeline] echo [2021-10-08T04:13:36.723Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = example/cmd/device-simple/Dockerfile [Pipeline] echo [2021-10-08T04:13:36.756Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2021-10-08T04:13:36.792Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2021-10-08T04:13:36.829Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2021-10-08T04:13:36.865Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-sdk-simple [Pipeline] echo [2021-10-08T04:13:36.899Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2021-10-08T04:13:36.934Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2021-10-08T04:13:36.980Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2021-10-08T04:13:37.019Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo [2021-10-08T04:13:37.056Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2021-10-08T04:13:37.093Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2021-10-08T04:13:37.131Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2021-10-08T04:13:37.171Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2021-10-08T04:13:37.205Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo [2021-10-08T04:13:37.241Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v2 [Pipeline] echo [2021-10-08T04:13:37.275Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2021-10-08T04:13:37.308Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2021-10-08T04:13:37.342Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2021-10-08T04:13:37.379Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2021-10-08T04:13:37.417Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-1031 [Pipeline] echo [2021-10-08T04:13:37.454Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-1031 [Pipeline] echo [2021-10-08T04:13:37.491Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-1031 [Pipeline] echo [2021-10-08T04:13:37.529Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 5bb56453c95912db44905d477eac09d9d334902a [Pipeline] echo [2021-10-08T04:13:37.568Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 5bb5645 [Pipeline] echo [2021-10-08T04:13:37.606Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-10-08T04:13:37.693Z] provisioning config files... [2021-10-08T04:13:37.712Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1031@tmp/config7704158418151525840tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-10-08T04:13:38.054Z] ---> docker-login.sh [2021-10-08T04:13:38.054Z] nexus3.edgexfoundry.org:10001 [2021-10-08T04:13:38.054Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-10-08T04:13:38.317Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-10-08T04:13:38.317Z] Configure a credential helper to remove this warning. See [2021-10-08T04:13:38.317Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-10-08T04:13:38.317Z] [2021-10-08T04:13:38.317Z] Login Succeeded [2021-10-08T04:13:38.317Z] nexus3.edgexfoundry.org:10002 [2021-10-08T04:13:38.317Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-10-08T04:13:38.317Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-10-08T04:13:38.317Z] Configure a credential helper to remove this warning. See [2021-10-08T04:13:38.317Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-10-08T04:13:38.317Z] [2021-10-08T04:13:38.317Z] Login Succeeded [2021-10-08T04:13:38.317Z] nexus3.edgexfoundry.org:10003 [2021-10-08T04:13:38.317Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-10-08T04:13:38.580Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-10-08T04:13:38.580Z] Configure a credential helper to remove this warning. See [2021-10-08T04:13:38.580Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-10-08T04:13:38.580Z] [2021-10-08T04:13:38.580Z] Login Succeeded [2021-10-08T04:13:38.580Z] nexus3.edgexfoundry.org:10004 [2021-10-08T04:13:38.580Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-10-08T04:13:38.580Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-10-08T04:13:38.580Z] Configure a credential helper to remove this warning. See [2021-10-08T04:13:38.580Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-10-08T04:13:38.580Z] [2021-10-08T04:13:38.580Z] Login Succeeded [2021-10-08T04:13:38.580Z] docker.io [2021-10-08T04:13:38.580Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-10-08T04:13:39.154Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-10-08T04:13:39.155Z] Configure a credential helper to remove this warning. See [2021-10-08T04:13:39.155Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-10-08T04:13:39.155Z] [2021-10-08T04:13:39.155Z] Login Succeeded [2021-10-08T04:13:39.155Z] ---> docker-login.sh ends [Pipeline] } [2021-10-08T04:13:39.179Z] 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-08T04:13:39.847Z] + git log --format=format:%s -1 5bb56453c95912db44905d477eac09d9d334902a [Pipeline] echo [2021-10-08T04:13:39.902Z] GIT_COMMIT: 5bb56453c95912db44905d477eac09d9d334902a, Commit Message: build(deps): bump github.com/edgexfoundry/go-mod-core-contracts/v2 [Pipeline] echo [2021-10-08T04:13:39.930Z] This is not a build commit. [Pipeline] isUnix [Pipeline] sh [2021-10-08T04:13:40.375Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-10-08T04:13:40.375Z] [2021-10-08T04:13:40.375Z] Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh [2021-10-08T04:13:40.719Z] + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-10-08T04:13:40.719Z] latest: Pulling from edgex-devops/git-semver [2021-10-08T04:13:40.719Z] a0d0a0d46f8b: Pulling fs layer [2021-10-08T04:13:40.719Z] 3e5f54012d9b: Pulling fs layer [2021-10-08T04:13:40.719Z] 4c7163046ea9: Pulling fs layer [2021-10-08T04:13:40.719Z] 0c2d73faf560: Pulling fs layer [2021-10-08T04:13:40.719Z] 0c2d73faf560: Waiting [2021-10-08T04:13:40.719Z] 3e5f54012d9b: Download complete [2021-10-08T04:13:40.719Z] a0d0a0d46f8b: Verifying Checksum [2021-10-08T04:13:40.719Z] a0d0a0d46f8b: Download complete [2021-10-08T04:13:40.984Z] 0c2d73faf560: Verifying Checksum [2021-10-08T04:13:40.984Z] 0c2d73faf560: Download complete [2021-10-08T04:13:40.984Z] 4c7163046ea9: Verifying Checksum [2021-10-08T04:13:40.984Z] 4c7163046ea9: Download complete [2021-10-08T04:13:40.984Z] a0d0a0d46f8b: Pull complete [2021-10-08T04:13:40.984Z] 3e5f54012d9b: Pull complete [2021-10-08T04:13:41.248Z] 4c7163046ea9: Pull complete [2021-10-08T04:13:41.510Z] 0c2d73faf560: Pull complete [2021-10-08T04:13:41.510Z] Digest: sha256:2751de6e655929dcbe46418c7769d9d992331b5b721eb968631a4166222929f9 [2021-10-08T04:13:41.510Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-10-08T04:13:41.510Z] nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer [2021-10-08T04:13:41.598Z] prd-centos7-docker-4c-2g-44 does not seem to be running inside a container [2021-10-08T04:13:41.640Z] $ 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 ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat [2021-10-08T04:13:42.277Z] $ docker top c7f7eb3f5cb9a09fc0f3100d6562184c96f46071947c57fa580dae171fe2a2c5 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2021-10-08T04:13:42.465Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-10-08T04:13:42.465Z] [ssh-agent] Looking for ssh-agent implementation... [2021-10-08T04:13:42.581Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-10-08T04:13:42.584Z] $ docker exec c7f7eb3f5cb9a09fc0f3100d6562184c96f46071947c57fa580dae171fe2a2c5 ssh-agent [2021-10-08T04:13:42.684Z] SSH_AUTH_SOCK=/tmp/ssh-XXXXXXcgOHjo/agent.12 [2021-10-08T04:13:42.684Z] SSH_AGENT_PID=18 [2021-10-08T04:13:42.693Z] Running ssh-add (command line suppressed) [2021-10-08T04:13:42.792Z] Identity added: /w/workspace/gexfoundry_device-sdk-go_PR-1031@tmp/private_key_7508372779460862593.key (/w/workspace/gexfoundry_device-sdk-go_PR-1031@tmp/private_key_7508372779460862593.key) [2021-10-08T04:13:42.808Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-10-08T04:13:43.136Z] + git tag --points-at HEAD [Pipeline] } [2021-10-08T04:13:43.159Z] $ docker exec --env ******** --env ******** c7f7eb3f5cb9a09fc0f3100d6562184c96f46071947c57fa580dae171fe2a2c5 ssh-agent -k [2021-10-08T04:13:43.250Z] unset SSH_AUTH_SOCK; [2021-10-08T04:13:43.250Z] unset SSH_AGENT_PID; [2021-10-08T04:13:43.250Z] echo Agent pid 18 killed; [2021-10-08T04:13:43.258Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2021-10-08T04:13:43.322Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-10-08T04:13:43.323Z] [ssh-agent] Looking for ssh-agent implementation... [2021-10-08T04:13:43.438Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-10-08T04:13:43.441Z] $ docker exec c7f7eb3f5cb9a09fc0f3100d6562184c96f46071947c57fa580dae171fe2a2c5 ssh-agent [2021-10-08T04:13:43.553Z] SSH_AUTH_SOCK=/tmp/ssh-XXXXXXOHjpdb/agent.52 [2021-10-08T04:13:43.553Z] SSH_AGENT_PID=57 [2021-10-08T04:13:43.560Z] Running ssh-add (command line suppressed) [2021-10-08T04:13:43.649Z] Identity added: /w/workspace/gexfoundry_device-sdk-go_PR-1031@tmp/private_key_931886400552902489.key (/w/workspace/gexfoundry_device-sdk-go_PR-1031@tmp/private_key_931886400552902489.key) [2021-10-08T04:13:43.661Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-10-08T04:13:43.998Z] + git semver init [2021-10-08T04:13:43.998Z] # -> Open(): unable to determine branch for HEAD [2021-10-08T04:13:43.998Z] # $GIT_DIR = /w/workspace/gexfoundry_device-sdk-go_PR-1031/.git [2021-10-08T04:13:43.998Z] # $GIT_WORK_TREE = /w/workspace/gexfoundry_device-sdk-go_PR-1031 [2021-10-08T04:13:43.998Z] # $SEMVER_REMOTE_NAME = origin [2021-10-08T04:13:43.998Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2021-10-08T04:13:43.998Z] # $SEMVER_USER_NAME = edgex-jenkins [2021-10-08T04:13:43.998Z] # $SEMVER_BRANCH = PR-1031 [2021-10-08T04:13:43.998Z] # $SEMVER_TEMP = /tmp/semver-112210725 [2021-10-08T04:13:43.998Z] # git clone --branch semver git@github.com:edgexfoundry/device-sdk-go.git $SEMVER_TEMP [2021-10-08T04:13:44.950Z] # '/tmp/semver-112210725' -> '/w/workspace/gexfoundry_device-sdk-go_PR-1031/.semver' [2021-10-08T04:13:44.950Z] # -> Force: false [2021-10-08T04:13:44.950Z] # $SEMVER_DIR = /w/workspace/gexfoundry_device-sdk-go_PR-1031/.semver [Pipeline] } [2021-10-08T04:13:44.971Z] $ docker exec --env ******** --env ******** c7f7eb3f5cb9a09fc0f3100d6562184c96f46071947c57fa580dae171fe2a2c5 ssh-agent -k [2021-10-08T04:13:45.066Z] unset SSH_AUTH_SOCK; [2021-10-08T04:13:45.067Z] unset SSH_AGENT_PID; [2021-10-08T04:13:45.067Z] echo Agent pid 57 killed; [2021-10-08T04:13:45.076Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2021-10-08T04:13:45.473Z] + git semver [Pipeline] } [2021-10-08T04:13:45.501Z] $ docker stop --time=1 c7f7eb3f5cb9a09fc0f3100d6562184c96f46071947c57fa580dae171fe2a2c5 [2021-10-08T04:13:46.737Z] $ docker rm -f c7f7eb3f5cb9a09fc0f3100d6562184c96f46071947c57fa580dae171fe2a2c5 [Pipeline] // withDockerContainer [Pipeline] sh [2021-10-08T04:13:47.131Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2021-10-08T04:13:47.398Z] Stashed 1 file(s) [Pipeline] echo [2021-10-08T04:13:47.416Z] [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-08T04:14:02.827Z] Still waiting to schedule task [2021-10-08T04:14:02.828Z] Waiting for next available executor on ‘centos7-docker-4c-2g’ [2021-10-08T04:14:02.847Z] Still waiting to schedule task [2021-10-08T04:14:02.847Z] All nodes of label ‘ubuntu18.04-docker-arm64-4c-16g’ are offline [2021-10-08T04:16:05.676Z] Running on prd-centos7-docker-4c-2g-51 in /w/workspace/gexfoundry_device-sdk-go_PR-1031 [Pipeline] { [Pipeline] ws [2021-10-08T04:16:05.712Z] Running in /w/workspace/device-sdk-go/1 [Pipeline] { [Pipeline] checkout [2021-10-08T04:16:05.839Z] Selected Git installation does not exist. Using Default [2021-10-08T04:16:05.839Z] The recommended git tool is: NONE [2021-10-08T04:16:07.841Z] using credential edgex-jenkins-ssh [2021-10-08T04:16:07.853Z] Cloning the remote Git repository [2021-10-08T04:16:07.849Z] Cloning repository git@github.com:edgexfoundry/device-sdk-go.git [2021-10-08T04:16:07.901Z] > git init /w/workspace/device-sdk-go/1 # timeout=10 [2021-10-08T04:16:07.938Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2021-10-08T04:16:07.938Z] > git --version # timeout=10 [2021-10-08T04:16:07.944Z] > git --version # 'git version 2.24.4' [2021-10-08T04:16:07.944Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-10-08T04:16:07.971Z] [INFO] Currently running in a labeled security context [2021-10-08T04:16:07.971Z] [INFO] Currently SELinux is 'enforcing' on the host [2021-10-08T04:16:07.971Z] > /usr/bin/chcon --type=ssh_home_t /w/workspace/device-sdk-go/1@tmp/jenkins-gitclient-ssh8133803208640890878.key [2021-10-08T04:16:07.993Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-10-08T04:16:09.278Z] Merging remotes/origin/main commit d24546102b5fafb36a92b102b4be54f609bac794 into PR head commit 5bb56453c95912db44905d477eac09d9d334902a [2021-10-08T04:16:08.732Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2021-10-08T04:16:08.745Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-10-08T04:16:08.761Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2021-10-08T04:16:08.776Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2021-10-08T04:16:08.776Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-10-08T04:16:08.777Z] [INFO] Currently running in a labeled security context [2021-10-08T04:16:08.777Z] [INFO] Currently SELinux is 'enforcing' on the host [2021-10-08T04:16:08.777Z] > /usr/bin/chcon --type=ssh_home_t /w/workspace/device-sdk-go/1@tmp/jenkins-gitclient-ssh706301071630391430.key [2021-10-08T04:16:08.789Z] > 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-08T04:16:09.260Z] > git config core.sparsecheckout # timeout=10 [2021-10-08T04:16:09.269Z] > git checkout -f 5bb56453c95912db44905d477eac09d9d334902a # timeout=10 [2021-10-08T04:16:09.382Z] Merge succeeded, producing 5bb56453c95912db44905d477eac09d9d334902a [2021-10-08T04:16:09.382Z] Checking out Revision 5bb56453c95912db44905d477eac09d9d334902a (PR-1031) [2021-10-08T04:16:09.313Z] > git remote # timeout=10 [2021-10-08T04:16:09.321Z] > git config --get remote.origin.url # timeout=10 [2021-10-08T04:16:09.329Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-10-08T04:16:09.330Z] [INFO] Currently running in a labeled security context [2021-10-08T04:16:09.330Z] [INFO] Currently SELinux is 'enforcing' on the host [2021-10-08T04:16:09.330Z] > /usr/bin/chcon --type=ssh_home_t /w/workspace/device-sdk-go/1@tmp/jenkins-gitclient-ssh7593667441337020834.key [2021-10-08T04:16:09.336Z] > git merge d24546102b5fafb36a92b102b4be54f609bac794 # timeout=10 [2021-10-08T04:16:09.346Z] > git rev-parse HEAD^{commit} # timeout=10 [2021-10-08T04:16:09.358Z] > git config core.sparsecheckout # timeout=10 [2021-10-08T04:16:09.367Z] > git checkout -f 5bb56453c95912db44905d477eac09d9d334902a # timeout=10 [2021-10-08T04:16:12.942Z] Commit message: "build(deps): bump github.com/edgexfoundry/go-mod-core-contracts/v2" [2021-10-08T04:16:12.935Z] > git --version # timeout=10 [2021-10-08T04:16:12.943Z] > git --version # 'git version 2.24.4' [2021-10-08T04:16:12.955Z] fatal: bad object c3f98f08b2c5d0ffaa3a36dbf383f5176a0ca588 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-10-08T04:16:13.505Z] provisioning config files... [2021-10-08T04:16:13.520Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/1@tmp/config2086843703516590965tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-10-08T04:16:13.942Z] ---> docker-login.sh [2021-10-08T04:16:13.942Z] nexus3.edgexfoundry.org:10001 [2021-10-08T04:16:13.942Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-10-08T04:16:13.942Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-10-08T04:16:13.942Z] Configure a credential helper to remove this warning. See [2021-10-08T04:16:13.942Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-10-08T04:16:13.942Z] [2021-10-08T04:16:13.942Z] Login Succeeded [2021-10-08T04:16:13.942Z] nexus3.edgexfoundry.org:10002 [2021-10-08T04:16:14.206Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-10-08T04:16:14.206Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-10-08T04:16:14.206Z] Configure a credential helper to remove this warning. See [2021-10-08T04:16:14.206Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-10-08T04:16:14.206Z] [2021-10-08T04:16:14.206Z] Login Succeeded [2021-10-08T04:16:14.207Z] nexus3.edgexfoundry.org:10003 [2021-10-08T04:16:14.207Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-10-08T04:16:14.207Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-10-08T04:16:14.207Z] Configure a credential helper to remove this warning. See [2021-10-08T04:16:14.207Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-10-08T04:16:14.207Z] [2021-10-08T04:16:14.207Z] Login Succeeded [2021-10-08T04:16:14.207Z] nexus3.edgexfoundry.org:10004 [2021-10-08T04:16:14.469Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-10-08T04:16:14.469Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-10-08T04:16:14.469Z] Configure a credential helper to remove this warning. See [2021-10-08T04:16:14.469Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-10-08T04:16:14.469Z] [2021-10-08T04:16:14.469Z] Login Succeeded [2021-10-08T04:16:14.469Z] docker.io [2021-10-08T04:16:14.469Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-10-08T04:16:14.729Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-10-08T04:16:14.729Z] Configure a credential helper to remove this warning. See [2021-10-08T04:16:14.729Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-10-08T04:16:14.729Z] [2021-10-08T04:16:14.729Z] Login Succeeded [2021-10-08T04:16:14.729Z] ---> docker-login.sh ends [Pipeline] } [2021-10-08T04:16:14.768Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2021-10-08T04:16:15.011Z] ========================================================= [2021-10-08T04:16:15.011Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine] [2021-10-08T04:16:15.011Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh [2021-10-08T04:16:15.399Z] + 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-08T04:16:15.399Z] Sending build context to Docker daemon 2.65MB [2021-10-08T04:16:15.399Z] Step 1/9 : ARG BASE=golang:1.16-alpine3.14 [2021-10-08T04:16:15.399Z] Step 2/9 : FROM ${BASE} AS builder [2021-10-08T04:16:15.399Z] 1.16-alpine: Pulling from edgex-devops/edgex-golang-base [2021-10-08T04:16:15.399Z] 4e9f2cdf4387: Pulling fs layer [2021-10-08T04:16:15.399Z] 57d31006c564: Pulling fs layer [2021-10-08T04:16:15.399Z] bd5ccded8296: Pulling fs layer [2021-10-08T04:16:15.399Z] 304dd3a0f381: Pulling fs layer [2021-10-08T04:16:15.399Z] d37cda54a23b: Pulling fs layer [2021-10-08T04:16:15.399Z] bae75c0f2455: Pulling fs layer [2021-10-08T04:16:15.399Z] 806579b3d29a: Pulling fs layer [2021-10-08T04:16:15.399Z] c77eb801bf70: Pulling fs layer [2021-10-08T04:16:15.399Z] 6d0567d44e1a: Pulling fs layer [2021-10-08T04:16:15.399Z] 304dd3a0f381: Waiting [2021-10-08T04:16:15.399Z] d37cda54a23b: Waiting [2021-10-08T04:16:15.399Z] bae75c0f2455: Waiting [2021-10-08T04:16:15.399Z] 806579b3d29a: Waiting [2021-10-08T04:16:15.399Z] c77eb801bf70: Waiting [2021-10-08T04:16:15.399Z] 6d0567d44e1a: Waiting [2021-10-08T04:16:15.399Z] bd5ccded8296: Verifying Checksum [2021-10-08T04:16:15.399Z] bd5ccded8296: Download complete [2021-10-08T04:16:15.399Z] 57d31006c564: Verifying Checksum [2021-10-08T04:16:15.399Z] 57d31006c564: Download complete [2021-10-08T04:16:15.399Z] d37cda54a23b: Verifying Checksum [2021-10-08T04:16:15.399Z] d37cda54a23b: Download complete [2021-10-08T04:16:15.399Z] bae75c0f2455: Verifying Checksum [2021-10-08T04:16:15.399Z] bae75c0f2455: Download complete [2021-10-08T04:16:15.399Z] 4e9f2cdf4387: Verifying Checksum [2021-10-08T04:16:15.399Z] 4e9f2cdf4387: Download complete [2021-10-08T04:16:15.661Z] 806579b3d29a: Download complete [2021-10-08T04:16:15.661Z] c77eb801bf70: Verifying Checksum [2021-10-08T04:16:15.661Z] c77eb801bf70: Download complete [2021-10-08T04:16:15.938Z] 4e9f2cdf4387: Pull complete [2021-10-08T04:16:16.205Z] 304dd3a0f381: Verifying Checksum [2021-10-08T04:16:16.205Z] 304dd3a0f381: Download complete [2021-10-08T04:16:16.205Z] 57d31006c564: Pull complete [2021-10-08T04:16:16.205Z] 6d0567d44e1a: Verifying Checksum [2021-10-08T04:16:16.205Z] 6d0567d44e1a: Download complete [2021-10-08T04:16:16.205Z] bd5ccded8296: Pull complete [2021-10-08T04:16:19.530Z] 304dd3a0f381: Pull complete [2021-10-08T04:16:19.530Z] d37cda54a23b: Pull complete [2021-10-08T04:16:19.530Z] bae75c0f2455: Pull complete [2021-10-08T04:16:19.795Z] 806579b3d29a: Pull complete [2021-10-08T04:16:19.795Z] c77eb801bf70: Pull complete [2021-10-08T04:16:22.408Z] 6d0567d44e1a: Pull complete [2021-10-08T04:16:22.408Z] Digest: sha256:53f76eca38b35ad9f985c2fb57ce55683e6a223a937aed0adb215e74043799cd [2021-10-08T04:16:22.408Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine [2021-10-08T04:16:22.408Z] ---> e839a31ac9d1 [2021-10-08T04:16:22.408Z] Step 3/9 : WORKDIR /device-sdk-go [2021-10-08T04:16:26.659Z] ---> Running in b59cd2f3c46f [2021-10-08T04:16:26.660Z] Removing intermediate container b59cd2f3c46f [2021-10-08T04:16:26.660Z] ---> cd6c6ca966d1 [2021-10-08T04:16:26.660Z] Step 4/9 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-10-08T04:16:26.660Z] ---> Running in 1702b7e7d6a4 [2021-10-08T04:16:26.660Z] Removing intermediate container 1702b7e7d6a4 [2021-10-08T04:16:26.660Z] ---> 9f1245462a5f [2021-10-08T04:16:26.660Z] Step 5/9 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-10-08T04:16:26.660Z] ---> Running in 907c41316b33 [2021-10-08T04:16:26.660Z] Removing intermediate container 907c41316b33 [2021-10-08T04:16:26.660Z] ---> 28493b62a60e [2021-10-08T04:16:26.660Z] Step 6/9 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev [2021-10-08T04:16:26.660Z] ---> Running in bbd8afb4835b [2021-10-08T04:16:26.920Z] fetch https://nl.alpinelinux.org/alpine/v3.13/main/x86_64/APKINDEX.tar.gz [2021-10-08T04:16:27.894Z] fetch https://nl.alpinelinux.org/alpine/v3.13/community/x86_64/APKINDEX.tar.gz [2021-10-08T04:16:28.157Z] OK: 219 MiB in 52 packages [2021-10-08T04:16:28.420Z] Removing intermediate container bbd8afb4835b [2021-10-08T04:16:28.420Z] ---> fbc74dea89cf [2021-10-08T04:16:28.420Z] Step 7/9 : COPY . . [2021-10-08T04:16:28.683Z] ---> d58b38fb1003 [2021-10-08T04:16:28.683Z] Step 8/9 : RUN go mod download [2021-10-08T04:16:28.683Z] ---> Running in ba224bd636d8 [2021-10-08T04:17:07.475Z] Removing intermediate container ba224bd636d8 [2021-10-08T04:17:07.475Z] ---> 8b39c43e0f94 [2021-10-08T04:17:07.475Z] Step 9/9 : RUN make build [2021-10-08T04:17:07.475Z] ---> Running in 1cef76dd8797 [2021-10-08T04:17:07.738Z] go mod tidy [2021-10-08T04:17:08.004Z] 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-08T04:17:18.124Z] CGO_ENABLED=1 GO111MODULE=on go install -tags=safe [2021-10-08T04:17:19.072Z] Removing intermediate container 1cef76dd8797 [2021-10-08T04:17:19.072Z] ---> 640f11edd7cb [2021-10-08T04:17:19.072Z] [Warning] One or more build-args [MAKE] were not consumed [2021-10-08T04:17:19.072Z] Successfully built 640f11edd7cb [2021-10-08T04:17:19.072Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh [2021-10-08T04:17:19.392Z] + docker inspect -f . ci-base-image-x86_64 [2021-10-08T04:17:19.392Z] . [Pipeline] withDockerContainer [2021-10-08T04:17:19.473Z] prd-centos7-docker-4c-2g-51 does not seem to be running inside a container [2021-10-08T04:17:19.507Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/1 -v /w/workspace/device-sdk-go/1:/w/workspace/device-sdk-go/1:rw,z -v /w/workspace/device-sdk-go/1@tmp:/w/workspace/device-sdk-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2021-10-08T04:17:19.867Z] $ docker top be1560029a78658fa8020729d8cca859ef1793fa86336fe135cb279a41ba06d8 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-10-08T04:17:20.278Z] + go version [2021-10-08T04:17:20.278Z] go version go1.16.8 linux/amd64 [Pipeline] } [2021-10-08T04:17:20.303Z] $ docker stop --time=1 be1560029a78658fa8020729d8cca859ef1793fa86336fe135cb279a41ba06d8 [2021-10-08T04:17:21.528Z] $ docker rm -f be1560029a78658fa8020729d8cca859ef1793fa86336fe135cb279a41ba06d8 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-10-08T04:17:22.197Z] + docker inspect -f . ci-base-image-x86_64 [2021-10-08T04:17:22.197Z] . [Pipeline] withDockerContainer [2021-10-08T04:17:22.278Z] prd-centos7-docker-4c-2g-51 does not seem to be running inside a container [2021-10-08T04:17:22.311Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/1 -v /w/workspace/device-sdk-go/1:/w/workspace/device-sdk-go/1:rw,z -v /w/workspace/device-sdk-go/1@tmp:/w/workspace/device-sdk-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2021-10-08T04:17:22.701Z] $ docker top df722d5e5f78f90f948a4258a170e3ed6c45fb9a7f46b4bd6e9e9b8938d95e00 -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh [2021-10-08T04:17:23.175Z] + go mod tidy [Pipeline] sh [2021-10-08T04:17:24.081Z] + make test [2021-10-08T04:17:24.081Z] go mod tidy [2021-10-08T04:17:24.347Z] GO111MODULE=on go test -race -coverprofile=coverage.out ./... [2021-10-08T04:17:29.659Z] ? github.com/edgexfoundry/device-sdk-go/v2 [no test files] [2021-10-08T04:17:34.077Z] Running on prd-ubuntu18.04-docker-arm64-4c-16g-50 in /w/workspace/gexfoundry_device-sdk-go_PR-1031 [Pipeline] { [Pipeline] ws [2021-10-08T04:17:34.115Z] Running in /w/workspace/device-sdk-go/1 [Pipeline] { [Pipeline] checkout [2021-10-08T04:17:34.394Z] Selected Git installation does not exist. Using Default [2021-10-08T04:17:34.394Z] The recommended git tool is: NONE [2021-10-08T04:17:40.667Z] using credential edgex-jenkins-ssh [2021-10-08T04:17:40.686Z] Cloning the remote Git repository [2021-10-08T04:17:40.810Z] Cloning repository git@github.com:edgexfoundry/device-sdk-go.git [2021-10-08T04:17:40.981Z] > git init /w/workspace/device-sdk-go/1 # timeout=10 [2021-10-08T04:17:41.407Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2021-10-08T04:17:41.408Z] > git --version # timeout=10 [2021-10-08T04:17:41.440Z] > git --version # 'git version 2.17.1' [2021-10-08T04:17:41.443Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-10-08T04:17:41.570Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-10-08T04:17:42.936Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2021-10-08T04:17:42.961Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-10-08T04:17:42.990Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2021-10-08T04:17:43.028Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2021-10-08T04:17:43.029Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-10-08T04:17:43.044Z] > 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-08T04:17:43.669Z] Merging remotes/origin/main commit d24546102b5fafb36a92b102b4be54f609bac794 into PR head commit 5bb56453c95912db44905d477eac09d9d334902a [2021-10-08T04:17:43.967Z] Merge succeeded, producing 5bb56453c95912db44905d477eac09d9d334902a [2021-10-08T04:17:43.967Z] Checking out Revision 5bb56453c95912db44905d477eac09d9d334902a (PR-1031) [2021-10-08T04:17:43.692Z] > git config core.sparsecheckout # timeout=10 [2021-10-08T04:17:43.714Z] > git checkout -f 5bb56453c95912db44905d477eac09d9d334902a # timeout=10 [2021-10-08T04:17:43.859Z] > git remote # timeout=10 [2021-10-08T04:17:43.889Z] > git config --get remote.origin.url # timeout=10 [2021-10-08T04:17:43.904Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-10-08T04:17:43.922Z] > git merge d24546102b5fafb36a92b102b4be54f609bac794 # timeout=10 [2021-10-08T04:17:43.948Z] > git rev-parse HEAD^{commit} # timeout=10 [2021-10-08T04:17:43.974Z] > git config core.sparsecheckout # timeout=10 [2021-10-08T04:17:43.988Z] > git checkout -f 5bb56453c95912db44905d477eac09d9d334902a # timeout=10 [2021-10-08T04:17:48.457Z] Commit message: "build(deps): bump github.com/edgexfoundry/go-mod-core-contracts/v2" [2021-10-08T04:17:48.512Z] > git --version # timeout=10 [2021-10-08T04:17:48.521Z] > git --version # 'git version 2.17.1' [2021-10-08T04:17:48.531Z] fatal: bad object c3f98f08b2c5d0ffaa3a36dbf383f5176a0ca588 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-10-08T04:17:49.046Z] provisioning config files... [2021-10-08T04:17:49.078Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/1@tmp/config1599074537865898226tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-10-08T04:17:49.757Z] ---> docker-login.sh [2021-10-08T04:17:49.757Z] nexus3.edgexfoundry.org:10001 [2021-10-08T04:17:51.236Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-10-08T04:17:51.519Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-10-08T04:17:51.519Z] Configure a credential helper to remove this warning. See [2021-10-08T04:17:51.519Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-10-08T04:17:51.519Z] [2021-10-08T04:17:51.519Z] Login Succeeded [2021-10-08T04:17:51.519Z] nexus3.edgexfoundry.org:10002 [2021-10-08T04:17:52.136Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-10-08T04:17:52.136Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-10-08T04:17:52.136Z] Configure a credential helper to remove this warning. See [2021-10-08T04:17:52.136Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-10-08T04:17:52.136Z] [2021-10-08T04:17:52.136Z] Login Succeeded [2021-10-08T04:17:52.136Z] nexus3.edgexfoundry.org:10003 [2021-10-08T04:17:52.417Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-10-08T04:17:52.708Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-10-08T04:17:52.708Z] Configure a credential helper to remove this warning. See [2021-10-08T04:17:52.708Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-10-08T04:17:52.708Z] [2021-10-08T04:17:52.708Z] Login Succeeded [2021-10-08T04:17:52.708Z] nexus3.edgexfoundry.org:10004 [2021-10-08T04:17:53.334Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-10-08T04:17:53.334Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-10-08T04:17:53.334Z] Configure a credential helper to remove this warning. See [2021-10-08T04:17:53.334Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-10-08T04:17:53.334Z] [2021-10-08T04:17:53.334Z] Login Succeeded [2021-10-08T04:17:53.334Z] docker.io [2021-10-08T04:17:53.948Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-10-08T04:17:54.226Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-10-08T04:17:54.226Z] Configure a credential helper to remove this warning. See [2021-10-08T04:17:54.226Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-10-08T04:17:54.226Z] [2021-10-08T04:17:54.226Z] Login Succeeded [2021-10-08T04:17:54.226Z] ---> docker-login.sh ends [Pipeline] } [2021-10-08T04:17:54.326Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2021-10-08T04:17:54.928Z] ========================================================= [2021-10-08T04:17:54.928Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine] [2021-10-08T04:17:54.928Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh [2021-10-08T04:17:55.412Z] + 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-08T04:17:56.031Z] Sending build context to Docker daemon 2.639MB [2021-10-08T04:17:56.031Z] Step 1/9 : ARG BASE=golang:1.16-alpine3.14 [2021-10-08T04:17:56.031Z] Step 2/9 : FROM ${BASE} AS builder [2021-10-08T04:17:56.031Z] 1.16-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2021-10-08T04:17:56.031Z] bbf911997326: Pulling fs layer [2021-10-08T04:17:56.031Z] 58ec367f63d7: Pulling fs layer [2021-10-08T04:17:56.031Z] 1b4a6ffa7d45: Pulling fs layer [2021-10-08T04:17:56.031Z] fc5181fea5dc: Pulling fs layer [2021-10-08T04:17:56.031Z] 9c418107303f: Pulling fs layer [2021-10-08T04:17:56.031Z] 284eca6f2348: Pulling fs layer [2021-10-08T04:17:56.031Z] 842844d905b1: Pulling fs layer [2021-10-08T04:17:56.032Z] 901a3a57568e: Pulling fs layer [2021-10-08T04:17:56.032Z] 284eca6f2348: Waiting [2021-10-08T04:17:56.032Z] 842844d905b1: Waiting [2021-10-08T04:17:56.032Z] fc5181fea5dc: Waiting [2021-10-08T04:17:56.032Z] 901a3a57568e: Waiting [2021-10-08T04:17:56.032Z] 9c418107303f: Waiting [2021-10-08T04:17:56.317Z] 1b4a6ffa7d45: Verifying Checksum [2021-10-08T04:17:56.317Z] 1b4a6ffa7d45: Download complete [2021-10-08T04:17:56.317Z] 58ec367f63d7: Verifying Checksum [2021-10-08T04:17:56.317Z] 58ec367f63d7: Download complete [2021-10-08T04:17:56.317Z] 9c418107303f: Verifying Checksum [2021-10-08T04:17:56.317Z] 9c418107303f: Download complete [2021-10-08T04:17:56.317Z] 284eca6f2348: Download complete [2021-10-08T04:17:56.317Z] bbf911997326: Download complete [2021-10-08T04:17:56.317Z] 842844d905b1: Verifying Checksum [2021-10-08T04:17:56.317Z] 842844d905b1: Download complete [2021-10-08T04:17:56.326Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/cmd/device-simple [no test files] [2021-10-08T04:17:56.326Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/config [no test files] [2021-10-08T04:17:56.326Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/driver [no test files] [2021-10-08T04:17:56.326Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/application 0.055s coverage: 23.7% of statements [2021-10-08T04:17:56.326Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/autodiscovery [no test files] [2021-10-08T04:17:56.326Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/autoevent 0.050s coverage: 28.1% of statements [2021-10-08T04:17:56.326Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/cache 0.048s coverage: 78.9% of statements [2021-10-08T04:17:56.326Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/clients 0.045s coverage: 9.0% of statements [2021-10-08T04:17:56.326Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/common [no test files] [2021-10-08T04:17:56.326Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/config [no test files] [2021-10-08T04:17:56.326Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/container [no test files] [2021-10-08T04:17:56.326Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http 0.053s coverage: 28.7% of statements [2021-10-08T04:17:56.326Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http/correlation [no test files] [2021-10-08T04:17:56.592Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/messaging 1.072s coverage: 83.3% of statements [2021-10-08T04:17:56.592Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/provision [no test files] [2021-10-08T04:17:56.592Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/telemetry [no test files] [2021-10-08T04:17:56.592Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/transformer 0.075s coverage: 57.8% of statements [2021-10-08T04:17:57.342Z] bbf911997326: Pull complete [2021-10-08T04:17:57.961Z] 58ec367f63d7: Pull complete [2021-10-08T04:17:57.995Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/models 0.830s coverage: 89.0% of statements [2021-10-08T04:17:57.995Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/models/mocks [no test files] [2021-10-08T04:17:57.995Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/service 0.043s coverage: 4.9% of statements [2021-10-08T04:17:57.995Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/startup [no test files] [2021-10-08T04:17:57.995Z] GO111MODULE=on go vet ./... [2021-10-08T04:17:58.241Z] 1b4a6ffa7d45: Pull complete [2021-10-08T04:17:58.529Z] 901a3a57568e: Verifying Checksum [2021-10-08T04:17:58.529Z] 901a3a57568e: Download complete [2021-10-08T04:17:58.809Z] fc5181fea5dc: Verifying Checksum [2021-10-08T04:17:58.809Z] fc5181fea5dc: Download complete [2021-10-08T04:18:08.049Z] gofmt -l . [2021-10-08T04:18:08.050Z] [ "`gofmt -l .`" = "" ] [2021-10-08T04:18:08.050Z] ./bin/test-attribution-txt.sh [2021-10-08T04:18:08.050Z] ./bin/test-go-mod-tidy.sh [Pipeline] } [2021-10-08T04:18:08.078Z] $ docker stop --time=1 df722d5e5f78f90f948a4258a170e3ed6c45fb9a7f46b4bd6e9e9b8938d95e00 [2021-10-08T04:18:09.016Z] fc5181fea5dc: Pull complete [2021-10-08T04:18:09.292Z] 9c418107303f: Pull complete [2021-10-08T04:18:09.570Z] 284eca6f2348: Pull complete [2021-10-08T04:18:09.583Z] $ docker rm -f df722d5e5f78f90f948a4258a170e3ed6c45fb9a7f46b4bd6e9e9b8938d95e00 [Pipeline] // withDockerContainer [Pipeline] sh [2021-10-08T04:18:09.845Z] 842844d905b1: Pull complete [2021-10-08T04:18:10.103Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2021-10-08T04:18:10.310Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2021-10-08T04:18:11.173Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2021-10-08T04:18:11.498Z] + ls -al . [2021-10-08T04:18:11.498Z] total 264 [2021-10-08T04:18:11.498Z] drwxrwxr-x. 10 jenkins jenkins 4096 Oct 8 04:18 . [2021-10-08T04:18:11.498Z] drwxrwxr-x. 4 jenkins jenkins 28 Oct 8 04:16 .. [2021-10-08T04:18:11.498Z] drwxrwxr-x. 2 jenkins jenkins 64 Oct 8 04:16 bin [2021-10-08T04:18:11.498Z] -rw-rw-r--. 1 jenkins jenkins 24816 Oct 8 04:16 CHANGELOG.md [2021-10-08T04:18:11.498Z] -rw-r--r--. 1 jenkins jenkins 126160 Oct 8 04:17 coverage.out [2021-10-08T04:18:11.498Z] -rw-rw-r--. 1 jenkins jenkins 140 Oct 8 04:16 .dockerignore [2021-10-08T04:18:11.498Z] drwxrwxr-x. 5 jenkins jenkins 62 Oct 8 04:16 example [2021-10-08T04:18:11.498Z] drwxrwxr-x. 8 jenkins jenkins 179 Oct 8 04:16 .git [2021-10-08T04:18:11.498Z] drwxrwxr-x. 3 jenkins jenkins 125 Oct 8 04:16 .github [2021-10-08T04:18:11.498Z] -rw-rw-r--. 1 jenkins jenkins 138 Oct 8 04:16 .gitignore [2021-10-08T04:18:11.498Z] -rw-r--r--. 1 jenkins jenkins 583 Oct 8 04:18 go.mod [2021-10-08T04:18:11.498Z] -rw-r--r--. 1 jenkins jenkins 49618 Oct 8 04:17 go.sum [2021-10-08T04:18:11.498Z] -rw-rw-r--. 1 jenkins jenkins 677 Oct 8 04:16 GOVERNANCE.md [2021-10-08T04:18:11.498Z] drwxrwxr-x. 15 jenkins jenkins 224 Oct 8 04:16 internal [2021-10-08T04:18:11.498Z] -rw-rw-r--. 1 jenkins jenkins 880 Oct 8 04:16 Jenkinsfile [2021-10-08T04:18:11.498Z] -rw-rw-r--. 1 jenkins jenkins 11341 Oct 8 04:16 LICENSE [2021-10-08T04:18:11.498Z] -rw-rw-r--. 1 jenkins jenkins 1026 Oct 8 04:16 Makefile [2021-10-08T04:18:11.498Z] drwxrwxr-x. 3 jenkins jenkins 16 Oct 8 04:16 openapi [2021-10-08T04:18:11.498Z] -rw-rw-r--. 1 jenkins jenkins 619 Oct 8 04:16 OWNERS.md [2021-10-08T04:18:11.498Z] drwxrwxr-x. 5 jenkins jenkins 50 Oct 8 04:16 pkg [2021-10-08T04:18:11.498Z] -rw-rw-r--. 1 jenkins jenkins 7646 Oct 8 04:16 README.md [2021-10-08T04:18:11.498Z] drwxrwxr-x. 4 jenkins jenkins 54 Oct 8 04:16 snap [2021-10-08T04:18:11.498Z] -rw-rw-r--. 1 jenkins jenkins 5 Oct 8 04:13 VERSION [2021-10-08T04:18:11.498Z] -rw-rw-r--. 1 jenkins jenkins 222 Oct 8 04:16 version.go [Pipeline] isUnix [Pipeline] sh [2021-10-08T04:18:11.825Z] + 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=5bb56453c95912db44905d477eac09d9d334902a --label arch=amd64 --label version=0.0.0 . [2021-10-08T04:18:11.825Z] Sending build context to Docker daemon 2.777MB [2021-10-08T04:18:11.825Z] Step 1/23 : ARG BASE=golang:1.16-alpine3.14 [2021-10-08T04:18:11.825Z] Step 2/23 : FROM ${BASE} AS builder [2021-10-08T04:18:11.825Z] ---> 640f11edd7cb [2021-10-08T04:18:11.825Z] Step 3/23 : WORKDIR /device-sdk-go [2021-10-08T04:18:11.825Z] ---> Running in 26481791ab32 [2021-10-08T04:18:12.087Z] Removing intermediate container 26481791ab32 [2021-10-08T04:18:12.087Z] ---> bfba9ef24979 [2021-10-08T04:18:12.087Z] Step 4/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-10-08T04:18:12.087Z] ---> Running in 4120f6f0f8fe [2021-10-08T04:18:12.087Z] Removing intermediate container 4120f6f0f8fe [2021-10-08T04:18:12.087Z] ---> a2fdc28fd513 [2021-10-08T04:18:12.087Z] Step 5/23 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-10-08T04:18:12.087Z] ---> Running in b60e9c7e469e [2021-10-08T04:18:12.666Z] Removing intermediate container b60e9c7e469e [2021-10-08T04:18:12.666Z] ---> 0ee1e86ccea3 [2021-10-08T04:18:12.666Z] Step 6/23 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev [2021-10-08T04:18:12.666Z] ---> Running in faada8b474f9 [2021-10-08T04:18:12.930Z] fetch https://nl.alpinelinux.org/alpine/v3.13/main/x86_64/APKINDEX.tar.gz [2021-10-08T04:18:13.873Z] fetch https://nl.alpinelinux.org/alpine/v3.13/community/x86_64/APKINDEX.tar.gz [2021-10-08T04:18:14.132Z] OK: 219 MiB in 52 packages [2021-10-08T04:18:14.391Z] Removing intermediate container faada8b474f9 [2021-10-08T04:18:14.391Z] ---> 6d20c90865eb [2021-10-08T04:18:14.391Z] Step 7/23 : COPY . . [2021-10-08T04:18:14.656Z] ---> ab8f68040307 [2021-10-08T04:18:14.656Z] Step 8/23 : RUN go mod download [2021-10-08T04:18:14.656Z] ---> Running in d710db5ec8e5 [2021-10-08T04:18:15.300Z] 901a3a57568e: Pull complete [2021-10-08T04:18:15.300Z] Digest: sha256:92108203400274521d8db92c8dd03fc26ad1e7e27843eaecabaf975bf4a1b1e7 [2021-10-08T04:18:15.300Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine [2021-10-08T04:18:15.300Z] ---> 72ade6ffb461 [2021-10-08T04:18:15.300Z] Step 3/9 : WORKDIR /device-sdk-go [2021-10-08T04:18:15.609Z] Removing intermediate container d710db5ec8e5 [2021-10-08T04:18:15.610Z] ---> 1110e58dedad [2021-10-08T04:18:15.610Z] Step 9/23 : RUN make build [2021-10-08T04:18:15.610Z] ---> Running in f4161bcf1fcd [2021-10-08T04:18:15.610Z] go mod tidy [2021-10-08T04:18:15.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-08T04:18:16.452Z] CGO_ENABLED=1 GO111MODULE=on go install -tags=safe [2021-10-08T04:18:16.725Z] Removing intermediate container f4161bcf1fcd [2021-10-08T04:18:16.725Z] ---> 28a18ecb12ce [2021-10-08T04:18:16.725Z] Step 10/23 : FROM alpine:3.14 [2021-10-08T04:18:17.671Z] 3.14: Pulling from library/alpine [2021-10-08T04:18:17.671Z] a0d0a0d46f8b: Pulling fs layer [2021-10-08T04:18:17.671Z] a0d0a0d46f8b: Verifying Checksum [2021-10-08T04:18:17.671Z] a0d0a0d46f8b: Download complete [2021-10-08T04:18:17.941Z] a0d0a0d46f8b: Pull complete [2021-10-08T04:18:17.941Z] Digest: sha256:e1c082e3d3c45cccac829840a25941e679c25d438cc8412c2fa221cf1a824e6a [2021-10-08T04:18:17.941Z] Status: Downloaded newer image for alpine:3.14 [2021-10-08T04:18:17.941Z] ---> 14119a10abf4 [2021-10-08T04:18:17.941Z] Step 11/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-10-08T04:18:17.941Z] ---> Running in 4f5b497c36b0 [2021-10-08T04:18:18.207Z] Removing intermediate container 4f5b497c36b0 [2021-10-08T04:18:18.207Z] ---> 889ba6a13bff [2021-10-08T04:18:18.207Z] Step 12/23 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-10-08T04:18:18.207Z] ---> Running in f3d77672aefb [2021-10-08T04:18:18.784Z] Removing intermediate container f3d77672aefb [2021-10-08T04:18:18.784Z] ---> 36777f5e2aa0 [2021-10-08T04:18:18.784Z] Step 13/23 : RUN apk add --update --no-cache zeromq [2021-10-08T04:18:18.784Z] ---> Running in 51dd1328c21f [2021-10-08T04:18:19.047Z] fetch https://nl.alpinelinux.org/alpine/v3.14/main/x86_64/APKINDEX.tar.gz [2021-10-08T04:18:19.990Z] fetch https://nl.alpinelinux.org/alpine/v3.14/community/x86_64/APKINDEX.tar.gz [2021-10-08T04:18:20.250Z] (1/5) Installing libgcc (10.3.1_git20210424-r2) [2021-10-08T04:18:20.510Z] (2/5) Installing libsodium (1.0.18-r0) [2021-10-08T04:18:20.510Z] (3/5) Installing libstdc++ (10.3.1_git20210424-r2) [2021-10-08T04:18:20.510Z] (4/5) Installing libzmq (4.3.4-r0) [2021-10-08T04:18:20.738Z] ---> Running in c65292fca065 [2021-10-08T04:18:20.738Z] Removing intermediate container c65292fca065 [2021-10-08T04:18:20.738Z] ---> 8f7ccecf4809 [2021-10-08T04:18:20.738Z] Step 4/9 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-10-08T04:18:20.738Z] ---> Running in 7ee6a756333e [2021-10-08T04:18:20.784Z] (5/5) Installing zeromq (4.3.4-r0) [2021-10-08T04:18:20.784Z] Executing busybox-1.33.1-r3.trigger [2021-10-08T04:18:20.784Z] OK: 8 MiB in 19 packages [2021-10-08T04:18:21.015Z] Removing intermediate container 7ee6a756333e [2021-10-08T04:18:21.015Z] ---> ffbfb3816919 [2021-10-08T04:18:21.015Z] Step 5/9 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-10-08T04:18:21.046Z] Removing intermediate container 51dd1328c21f [2021-10-08T04:18:21.046Z] ---> b7e9ce899d74 [2021-10-08T04:18:21.046Z] Step 14/23 : WORKDIR / [2021-10-08T04:18:21.046Z] ---> Running in 6c576e4be9a9 [2021-10-08T04:18:21.295Z] ---> Running in cf8409b60a5c [2021-10-08T04:18:21.307Z] Removing intermediate container 6c576e4be9a9 [2021-10-08T04:18:21.307Z] ---> 96ec7e9d17e8 [2021-10-08T04:18:21.307Z] Step 15/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt [2021-10-08T04:18:21.307Z] ---> 2a8550f77434 [2021-10-08T04:18:21.307Z] Step 16/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple [2021-10-08T04:18:21.876Z] ---> ade92770dc30 [2021-10-08T04:18:21.876Z] Step 17/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res [2021-10-08T04:18:21.876Z] ---> eb0765948f31 [2021-10-08T04:18:21.876Z] Step 18/23 : EXPOSE 59999 [2021-10-08T04:18:21.876Z] ---> Running in 4429f8b550af [2021-10-08T04:18:21.876Z] Removing intermediate container 4429f8b550af [2021-10-08T04:18:21.876Z] ---> 261d4c458eeb [2021-10-08T04:18:21.876Z] Step 19/23 : ENTRYPOINT ["/device-simple"] [2021-10-08T04:18:22.136Z] ---> Running in ac8162878727 [2021-10-08T04:18:22.136Z] Removing intermediate container ac8162878727 [2021-10-08T04:18:22.136Z] ---> 6722ac5cbe5c [2021-10-08T04:18:22.136Z] Step 20/23 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2021-10-08T04:18:22.136Z] ---> Running in 725ecaf66a89 [2021-10-08T04:18:22.136Z] Removing intermediate container 725ecaf66a89 [2021-10-08T04:18:22.136Z] ---> 44ec5d4471a4 [2021-10-08T04:18:22.136Z] Step 21/23 : LABEL arch=amd64 [2021-10-08T04:18:22.136Z] ---> Running in fb4601e79c80 [2021-10-08T04:18:22.399Z] Removing intermediate container fb4601e79c80 [2021-10-08T04:18:22.399Z] ---> ea4ff6d8da71 [2021-10-08T04:18:22.399Z] Step 22/23 : LABEL git_sha=5bb56453c95912db44905d477eac09d9d334902a [2021-10-08T04:18:22.399Z] ---> Running in d52894ead057 [2021-10-08T04:18:22.399Z] Removing intermediate container d52894ead057 [2021-10-08T04:18:22.399Z] ---> 797986210962 [2021-10-08T04:18:22.399Z] Step 23/23 : LABEL version=0.0.0 [2021-10-08T04:18:22.399Z] ---> Running in 30b9167f06a9 [2021-10-08T04:18:22.399Z] Removing intermediate container 30b9167f06a9 [2021-10-08T04:18:22.399Z] ---> 4882e0ebed68 [2021-10-08T04:18:22.399Z] [Warning] One or more build-args [MAKE ARCH] were not consumed [2021-10-08T04:18:22.660Z] Successfully built 4882e0ebed68 [2021-10-08T04:18:22.660Z] 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-08T04:18:23.548Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2021-10-08T04:18:23.548Z] [2021-10-08T04:18:23.548Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] sh [2021-10-08T04:18:23.882Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2021-10-08T04:18:23.882Z] latest: Pulling from edgex-lftools-log-publisher [2021-10-08T04:18:23.882Z] b4d181a07f80: Pulling fs layer [2021-10-08T04:18:23.882Z] a1111a8f2ec3: Pulling fs layer [2021-10-08T04:18:23.882Z] ed53099fbce6: Pulling fs layer [2021-10-08T04:18:23.882Z] dc539afda2c1: Pulling fs layer [2021-10-08T04:18:23.882Z] 77bc0d833cb6: Pulling fs layer [2021-10-08T04:18:23.882Z] 9065ff56babe: Pulling fs layer [2021-10-08T04:18:23.882Z] d287ab97295c: Pulling fs layer [2021-10-08T04:18:23.882Z] 77bc0d833cb6: Waiting [2021-10-08T04:18:23.882Z] 9065ff56babe: Waiting [2021-10-08T04:18:23.882Z] d287ab97295c: Waiting [2021-10-08T04:18:23.882Z] dc539afda2c1: Waiting [2021-10-08T04:18:23.882Z] a1111a8f2ec3: Verifying Checksum [2021-10-08T04:18:23.882Z] a1111a8f2ec3: Download complete [2021-10-08T04:18:23.882Z] dc539afda2c1: Verifying Checksum [2021-10-08T04:18:23.882Z] dc539afda2c1: Download complete [2021-10-08T04:18:23.959Z] Removing intermediate container cf8409b60a5c [2021-10-08T04:18:23.959Z] ---> bf221f268ff2 [2021-10-08T04:18:23.959Z] Step 6/9 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev [2021-10-08T04:18:23.959Z] ---> Running in e36eeb1a1e0c [2021-10-08T04:18:24.142Z] ed53099fbce6: Verifying Checksum [2021-10-08T04:18:24.142Z] ed53099fbce6: Download complete [2021-10-08T04:18:24.142Z] 77bc0d833cb6: Verifying Checksum [2021-10-08T04:18:24.142Z] 77bc0d833cb6: Download complete [2021-10-08T04:18:24.142Z] 9065ff56babe: Verifying Checksum [2021-10-08T04:18:24.142Z] 9065ff56babe: Download complete [2021-10-08T04:18:24.142Z] b4d181a07f80: Download complete [2021-10-08T04:18:24.728Z] d287ab97295c: Verifying Checksum [2021-10-08T04:18:24.728Z] d287ab97295c: Download complete [2021-10-08T04:18:25.419Z] fetch https://nl.alpinelinux.org/alpine/v3.13/main/aarch64/APKINDEX.tar.gz [2021-10-08T04:18:25.694Z] b4d181a07f80: Pull complete [2021-10-08T04:18:25.694Z] a1111a8f2ec3: Pull complete [2021-10-08T04:18:26.266Z] ed53099fbce6: Pull complete [2021-10-08T04:18:26.266Z] dc539afda2c1: Pull complete [2021-10-08T04:18:26.420Z] fetch https://nl.alpinelinux.org/alpine/v3.13/community/aarch64/APKINDEX.tar.gz [2021-10-08T04:18:26.532Z] 77bc0d833cb6: Pull complete [2021-10-08T04:18:26.532Z] 9065ff56babe: Pull complete [2021-10-08T04:18:27.030Z] OK: 218 MiB in 52 packages [2021-10-08T04:18:28.045Z] Removing intermediate container e36eeb1a1e0c [2021-10-08T04:18:28.045Z] ---> 9da2151cad2d [2021-10-08T04:18:28.045Z] Step 7/9 : COPY . . [2021-10-08T04:18:29.494Z] ---> 5edd28260e0e [2021-10-08T04:18:29.494Z] Step 8/9 : RUN go mod download [2021-10-08T04:18:29.494Z] ---> Running in 44e2cef61e78 [2021-10-08T04:18:31.850Z] d287ab97295c: Pull complete [2021-10-08T04:18:31.850Z] Digest: sha256:0c69325c24349bfb3ea32a3c3cbcab1fb66df42c981276dd8ebcf6aa441257c4 [2021-10-08T04:18:31.850Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2021-10-08T04:18:31.850Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] withDockerContainer [2021-10-08T04:18:31.937Z] prd-centos7-docker-4c-2g-51 does not seem to be running inside a container [2021-10-08T04:18:31.973Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/device-sdk-go/1 -v /w/workspace/device-sdk-go/1:/w/workspace/device-sdk-go/1:rw,z -v /w/workspace/device-sdk-go/1@tmp:/w/workspace/device-sdk-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2021-10-08T04:18:34.694Z] $ docker top 9689f2a4ba653924dd9214538324549c9c3016f0088963bab2e3b96acd097ebe -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-10-08T04:18:35.132Z] ---> job-cost.sh [2021-10-08T04:18:35.132Z] lf-activate-venv: SKIPPING [2021-10-08T04:18:35.132Z] INFO: No Stack... [2021-10-08T04:18:39.342Z] INFO: Retrieving Pricing Info for: v3-standard-2 [2021-10-08T04:18:39.912Z] INFO: Archiving Costs [Pipeline] sh [2021-10-08T04:18:40.235Z] + cut -d, -f6 [2021-10-08T04:18:40.235Z] + cat /w/workspace/device-sdk-go/1/archives/cost.csv [Pipeline] lock [2021-10-08T04:18:40.280Z] Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-PR-1031-1-stack-cost] [2021-10-08T04:18:40.285Z] Resource [jenkins-edgexfoundry-device-sdk-go-PR-1031-1-stack-cost] did not exist. Created. [2021-10-08T04:18:40.285Z] Lock acquired on [jenkins-edgexfoundry-device-sdk-go-PR-1031-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2021-10-08T04:18:40.664Z] + echo total: 0.05999999865889549 [Pipeline] stash [2021-10-08T04:18:40.712Z] Stashed 1 file(s) [Pipeline] } [2021-10-08T04:18:40.725Z] Lock released on resource [jenkins-edgexfoundry-device-sdk-go-PR-1031-1-stack-cost] [Pipeline] // lock [Pipeline] } [2021-10-08T04:18:40.782Z] $ docker stop --time=1 9689f2a4ba653924dd9214538324549c9c3016f0088963bab2e3b96acd097ebe [2021-10-08T04:18:41.930Z] $ docker rm -f 9689f2a4ba653924dd9214538324549c9c3016f0088963bab2e3b96acd097ebe [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [2021-10-08T04:19:51.372Z] Removing intermediate container 44e2cef61e78 [2021-10-08T04:19:51.372Z] ---> 3e5ba7d7b575 [2021-10-08T04:19:51.372Z] Step 9/9 : RUN make build [2021-10-08T04:19:51.372Z] ---> Running in b12d113d972a [2021-10-08T04:19:51.372Z] go mod tidy [2021-10-08T04:19:51.372Z] 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-08T04:20:23.890Z] CGO_ENABLED=1 GO111MODULE=on go install -tags=safe [2021-10-08T04:20:26.541Z] Removing intermediate container b12d113d972a [2021-10-08T04:20:26.541Z] ---> 728c95826c66 [2021-10-08T04:20:26.541Z] [Warning] One or more build-args [MAKE] were not consumed [2021-10-08T04:20:26.819Z] Successfully built 728c95826c66 [2021-10-08T04:20:26.819Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh [2021-10-08T04:20:27.205Z] + docker inspect -f . ci-base-image-arm64 [2021-10-08T04:20:27.205Z] . [Pipeline] withDockerContainer [2021-10-08T04:20:27.484Z] prd-ubuntu18.04-docker-arm64-4c-16g-50 does not seem to be running inside a container [2021-10-08T04:20:27.585Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/1 -v /w/workspace/device-sdk-go/1:/w/workspace/device-sdk-go/1:rw,z -v /w/workspace/device-sdk-go/1@tmp:/w/workspace/device-sdk-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2021-10-08T04:20:29.339Z] $ docker top 40934a82a299ebb95be4dc622f8cf79e6efcee262fe35b3813b8ca3c8af402ec -eo pid,comm [Pipeline] { [Pipeline] sh [2021-10-08T04:20:30.405Z] + go version [2021-10-08T04:20:30.405Z] go version go1.16.8 linux/arm64 [Pipeline] } [2021-10-08T04:20:30.438Z] $ docker stop --time=1 40934a82a299ebb95be4dc622f8cf79e6efcee262fe35b3813b8ca3c8af402ec [2021-10-08T04:20:32.296Z] $ docker rm -f 40934a82a299ebb95be4dc622f8cf79e6efcee262fe35b3813b8ca3c8af402ec [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-10-08T04:20:33.255Z] + docker inspect -f . ci-base-image-arm64 [2021-10-08T04:20:33.255Z] . [Pipeline] withDockerContainer [2021-10-08T04:20:33.548Z] prd-ubuntu18.04-docker-arm64-4c-16g-50 does not seem to be running inside a container [2021-10-08T04:20:33.641Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/1 -v /w/workspace/device-sdk-go/1:/w/workspace/device-sdk-go/1:rw,z -v /w/workspace/device-sdk-go/1@tmp:/w/workspace/device-sdk-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2021-10-08T04:20:35.318Z] $ docker top f67235e758f6a283adaf845397a8c3beb4c271cca8fc9056790b4a6a3697ba64 -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh [2021-10-08T04:20:36.390Z] + go mod tidy [Pipeline] sh [2021-10-08T04:20:38.094Z] + make test [2021-10-08T04:20:38.094Z] go mod tidy [2021-10-08T04:20:38.709Z] GO111MODULE=on go test -race -coverprofile=coverage.out ./... [2021-10-08T04:21:05.633Z] ? github.com/edgexfoundry/device-sdk-go/v2 [no test files] [2021-10-08T04:22:13.846Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/cmd/device-simple [no test files] [2021-10-08T04:22:13.846Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/config [no test files] [2021-10-08T04:22:13.846Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/driver [no test files] [2021-10-08T04:22:19.368Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/application 0.302s coverage: 23.7% of statements [2021-10-08T04:22:19.368Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/autodiscovery [no test files] [2021-10-08T04:22:19.368Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/autoevent 0.188s coverage: 28.1% of statements [2021-10-08T04:22:19.368Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/cache 0.244s coverage: 78.9% of statements [2021-10-08T04:22:19.368Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/clients 0.214s coverage: 9.0% of statements [2021-10-08T04:22:19.368Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/common [no test files] [2021-10-08T04:22:19.368Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/config [no test files] [2021-10-08T04:22:19.368Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/container [no test files] [2021-10-08T04:22:19.648Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http 0.278s coverage: 28.7% of statements [2021-10-08T04:22:19.649Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http/correlation [no test files] [2021-10-08T04:22:20.259Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/messaging 1.258s coverage: 83.3% of statements [2021-10-08T04:22:20.259Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/provision [no test files] [2021-10-08T04:22:20.259Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/telemetry [no test files] [2021-10-08T04:22:21.260Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/transformer 0.331s coverage: 57.8% of statements [2021-10-08T04:22:25.639Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/models 2.944s coverage: 89.0% of statements [2021-10-08T04:22:25.639Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/models/mocks [no test files] [2021-10-08T04:22:25.639Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/service 0.203s coverage: 4.9% of statements [2021-10-08T04:22:25.639Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/startup [no test files] [2021-10-08T04:22:25.928Z] GO111MODULE=on go vet ./... [2021-10-08T04:22:58.465Z] gofmt -l . [2021-10-08T04:22:58.465Z] [ "`gofmt -l .`" = "" ] [2021-10-08T04:22:58.745Z] ./bin/test-attribution-txt.sh [2021-10-08T04:23:00.748Z] ./bin/test-go-mod-tidy.sh [Pipeline] } [2021-10-08T04:23:01.051Z] $ docker stop --time=1 f67235e758f6a283adaf845397a8c3beb4c271cca8fc9056790b4a6a3697ba64 [2021-10-08T04:23:03.051Z] $ docker rm -f f67235e758f6a283adaf845397a8c3beb4c271cca8fc9056790b4a6a3697ba64 [Pipeline] // withDockerContainer [Pipeline] sh [2021-10-08T04:23:04.102Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2021-10-08T04:23:04.145Z] Warning: overwriting stash ‘coverage-report’ [2021-10-08T04:23:04.817Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-10-08T04:23:05.499Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2021-10-08T04:23:05.856Z] + ls -al . [2021-10-08T04:23:05.856Z] total 300 [2021-10-08T04:23:05.856Z] drwxrwxr-x 10 jenkins jenkins 4096 Oct 8 04:23 . [2021-10-08T04:23:05.856Z] drwxrwxr-x 4 jenkins jenkins 4096 Oct 8 04:17 .. [2021-10-08T04:23:05.856Z] -rw-rw-r-- 1 jenkins jenkins 140 Oct 8 04:17 .dockerignore [2021-10-08T04:23:05.856Z] drwxrwxr-x 8 jenkins jenkins 4096 Oct 8 04:17 .git [2021-10-08T04:23:05.856Z] drwxrwxr-x 3 jenkins jenkins 4096 Oct 8 04:17 .github [2021-10-08T04:23:05.856Z] -rw-rw-r-- 1 jenkins jenkins 138 Oct 8 04:17 .gitignore [2021-10-08T04:23:05.856Z] -rw-rw-r-- 1 jenkins jenkins 24816 Oct 8 04:17 CHANGELOG.md [2021-10-08T04:23:05.856Z] -rw-rw-r-- 1 jenkins jenkins 677 Oct 8 04:17 GOVERNANCE.md [2021-10-08T04:23:05.856Z] -rw-rw-r-- 1 jenkins jenkins 880 Oct 8 04:17 Jenkinsfile [2021-10-08T04:23:05.856Z] -rw-rw-r-- 1 jenkins jenkins 11341 Oct 8 04:17 LICENSE [2021-10-08T04:23:05.856Z] -rw-rw-r-- 1 jenkins jenkins 1026 Oct 8 04:17 Makefile [2021-10-08T04:23:05.856Z] -rw-rw-r-- 1 jenkins jenkins 619 Oct 8 04:17 OWNERS.md [2021-10-08T04:23:05.856Z] -rw-rw-r-- 1 jenkins jenkins 7646 Oct 8 04:17 README.md [2021-10-08T04:23:05.856Z] -rw-rw-r-- 1 jenkins jenkins 5 Oct 8 04:13 VERSION [2021-10-08T04:23:05.856Z] drwxrwxr-x 2 jenkins jenkins 4096 Oct 8 04:17 bin [2021-10-08T04:23:05.856Z] -rw-r--r-- 1 jenkins jenkins 126160 Oct 8 04:22 coverage.out [2021-10-08T04:23:05.856Z] drwxrwxr-x 5 jenkins jenkins 4096 Oct 8 04:17 example [2021-10-08T04:23:05.856Z] -rw-r--r-- 1 jenkins jenkins 583 Oct 8 04:23 go.mod [2021-10-08T04:23:05.856Z] -rw-r--r-- 1 jenkins jenkins 49618 Oct 8 04:20 go.sum [2021-10-08T04:23:05.856Z] drwxrwxr-x 15 jenkins jenkins 4096 Oct 8 04:17 internal [2021-10-08T04:23:05.856Z] drwxrwxr-x 3 jenkins jenkins 4096 Oct 8 04:17 openapi [2021-10-08T04:23:05.856Z] drwxrwxr-x 5 jenkins jenkins 4096 Oct 8 04:17 pkg [2021-10-08T04:23:05.856Z] drwxrwxr-x 4 jenkins jenkins 4096 Oct 8 04:17 snap [2021-10-08T04:23:05.856Z] -rw-rw-r-- 1 jenkins jenkins 222 Oct 8 04:17 version.go [Pipeline] isUnix [Pipeline] sh [2021-10-08T04:23:06.233Z] + 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=5bb56453c95912db44905d477eac09d9d334902a --label arch=arm64 --label version=0.0.0 . [2021-10-08T04:23:06.842Z] Sending build context to Docker daemon 2.766MB [2021-10-08T04:23:06.842Z] Step 1/23 : ARG BASE=golang:1.16-alpine3.14 [2021-10-08T04:23:06.842Z] Step 2/23 : FROM ${BASE} AS builder [2021-10-08T04:23:06.842Z] ---> 728c95826c66 [2021-10-08T04:23:06.842Z] Step 3/23 : WORKDIR /device-sdk-go [2021-10-08T04:23:06.842Z] ---> Running in bca8b3441a27 [2021-10-08T04:23:07.446Z] Removing intermediate container bca8b3441a27 [2021-10-08T04:23:07.446Z] ---> 2e089b8ce825 [2021-10-08T04:23:07.446Z] Step 4/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-10-08T04:23:07.446Z] ---> Running in e0d8b72730af [2021-10-08T04:23:08.050Z] Removing intermediate container e0d8b72730af [2021-10-08T04:23:08.050Z] ---> e002ab58967c [2021-10-08T04:23:08.050Z] Step 5/23 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-10-08T04:23:08.050Z] ---> Running in 4da2622a0ab5 [2021-10-08T04:23:10.712Z] Removing intermediate container 4da2622a0ab5 [2021-10-08T04:23:10.712Z] ---> d246ac7ee0bd [2021-10-08T04:23:10.712Z] Step 6/23 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev [2021-10-08T04:23:10.712Z] ---> Running in bf8b341407c8 [2021-10-08T04:23:11.704Z] fetch https://nl.alpinelinux.org/alpine/v3.13/main/aarch64/APKINDEX.tar.gz [2021-10-08T04:23:12.693Z] fetch https://nl.alpinelinux.org/alpine/v3.13/community/aarch64/APKINDEX.tar.gz [2021-10-08T04:23:13.298Z] OK: 218 MiB in 52 packages [2021-10-08T04:23:14.301Z] Removing intermediate container bf8b341407c8 [2021-10-08T04:23:14.301Z] ---> bee9ec9d3d59 [2021-10-08T04:23:14.301Z] Step 7/23 : COPY . . [2021-10-08T04:23:15.746Z] ---> c4469309ee2b [2021-10-08T04:23:15.746Z] Step 8/23 : RUN go mod download [2021-10-08T04:23:15.746Z] ---> Running in 7860b9433c49 [2021-10-08T04:23:18.395Z] Removing intermediate container 7860b9433c49 [2021-10-08T04:23:18.395Z] ---> 695c445ba374 [2021-10-08T04:23:18.395Z] Step 9/23 : RUN make build [2021-10-08T04:23:18.395Z] ---> Running in 78f6d6100e07 [2021-10-08T04:23:19.849Z] go mod tidy [2021-10-08T04:23:20.453Z] 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-08T04:23:21.451Z] CGO_ENABLED=1 GO111MODULE=on go install -tags=safe [2021-10-08T04:23:23.446Z] Removing intermediate container 78f6d6100e07 [2021-10-08T04:23:23.446Z] ---> 1d6947983217 [2021-10-08T04:23:23.446Z] Step 10/23 : FROM alpine:3.14 [2021-10-08T04:23:23.724Z] 3.14: Pulling from library/alpine [2021-10-08T04:23:23.999Z] 552d1f2373af: Pulling fs layer [2021-10-08T04:23:24.278Z] 552d1f2373af: Verifying Checksum [2021-10-08T04:23:24.278Z] 552d1f2373af: Download complete [2021-10-08T04:23:24.882Z] 552d1f2373af: Pull complete [2021-10-08T04:23:24.882Z] Digest: sha256:e1c082e3d3c45cccac829840a25941e679c25d438cc8412c2fa221cf1a824e6a [2021-10-08T04:23:24.882Z] Status: Downloaded newer image for alpine:3.14 [2021-10-08T04:23:25.164Z] ---> bb3de5531c18 [2021-10-08T04:23:25.164Z] Step 11/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-10-08T04:23:25.164Z] ---> Running in 409d7f5127f5 [2021-10-08T04:23:25.767Z] Removing intermediate container 409d7f5127f5 [2021-10-08T04:23:25.767Z] ---> 75474428f8df [2021-10-08T04:23:25.767Z] Step 12/23 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-10-08T04:23:25.767Z] ---> Running in 4cc17d6e58cf [2021-10-08T04:23:27.768Z] Removing intermediate container 4cc17d6e58cf [2021-10-08T04:23:27.768Z] ---> 7ea5ad3efa89 [2021-10-08T04:23:27.768Z] Step 13/23 : RUN apk add --update --no-cache zeromq [2021-10-08T04:23:28.046Z] ---> Running in 0e5e17808b04 [2021-10-08T04:23:29.036Z] fetch https://nl.alpinelinux.org/alpine/v3.14/main/aarch64/APKINDEX.tar.gz [2021-10-08T04:23:30.030Z] fetch https://nl.alpinelinux.org/alpine/v3.14/community/aarch64/APKINDEX.tar.gz [2021-10-08T04:23:31.015Z] (1/5) Installing libgcc (10.3.1_git20210424-r2) [2021-10-08T04:23:31.015Z] (2/5) Installing libsodium (1.0.18-r0) [2021-10-08T04:23:31.291Z] (3/5) Installing libstdc++ (10.3.1_git20210424-r2) [2021-10-08T04:23:31.291Z] (4/5) Installing libzmq (4.3.4-r0) [2021-10-08T04:23:31.291Z] (5/5) Installing zeromq (4.3.4-r0) [2021-10-08T04:23:31.567Z] Executing busybox-1.33.1-r3.trigger [2021-10-08T04:23:31.567Z] OK: 8 MiB in 19 packages [2021-10-08T04:23:32.559Z] Removing intermediate container 0e5e17808b04 [2021-10-08T04:23:32.559Z] ---> 5f430ddb3c1c [2021-10-08T04:23:32.559Z] Step 14/23 : WORKDIR / [2021-10-08T04:23:32.835Z] ---> Running in 4cd717b97377 [2021-10-08T04:23:33.435Z] Removing intermediate container 4cd717b97377 [2021-10-08T04:23:33.435Z] ---> 49c0bf53f311 [2021-10-08T04:23:33.435Z] Step 15/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt [2021-10-08T04:23:34.038Z] ---> fe09da1945a4 [2021-10-08T04:23:34.038Z] Step 16/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple [2021-10-08T04:23:35.483Z] ---> 790f05d566d6 [2021-10-08T04:23:35.483Z] Step 17/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res [2021-10-08T04:23:36.084Z] ---> 8d9a6240aa28 [2021-10-08T04:23:36.084Z] Step 18/23 : EXPOSE 59999 [2021-10-08T04:23:36.084Z] ---> Running in d01a9be85a04 [2021-10-08T04:23:36.683Z] Removing intermediate container d01a9be85a04 [2021-10-08T04:23:36.683Z] ---> de0fee28b77c [2021-10-08T04:23:36.683Z] Step 19/23 : ENTRYPOINT ["/device-simple"] [2021-10-08T04:23:36.683Z] ---> Running in f41478740a09 [2021-10-08T04:23:37.283Z] Removing intermediate container f41478740a09 [2021-10-08T04:23:37.283Z] ---> 063499e1538a [2021-10-08T04:23:37.283Z] Step 20/23 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2021-10-08T04:23:37.283Z] ---> Running in c5aa976225f0 [2021-10-08T04:23:37.559Z] Removing intermediate container c5aa976225f0 [2021-10-08T04:23:37.559Z] ---> c4808d4c469b [2021-10-08T04:23:37.559Z] Step 21/23 : LABEL arch=arm64 [2021-10-08T04:23:37.835Z] ---> Running in 17623877504b [2021-10-08T04:23:38.109Z] Removing intermediate container 17623877504b [2021-10-08T04:23:38.109Z] ---> 38eae440c06b [2021-10-08T04:23:38.109Z] Step 22/23 : LABEL git_sha=5bb56453c95912db44905d477eac09d9d334902a [2021-10-08T04:23:38.385Z] ---> Running in 9db02cbf3e27 [2021-10-08T04:23:38.667Z] Removing intermediate container 9db02cbf3e27 [2021-10-08T04:23:38.667Z] ---> 0fc05ef97bce [2021-10-08T04:23:38.667Z] Step 23/23 : LABEL version=0.0.0 [2021-10-08T04:23:38.947Z] ---> Running in f87fd4133f79 [2021-10-08T04:23:39.224Z] Removing intermediate container f87fd4133f79 [2021-10-08T04:23:39.224Z] ---> 4d266c7c6344 [2021-10-08T04:23:39.224Z] [Warning] One or more build-args [ARCH MAKE] were not consumed [2021-10-08T04:23:39.224Z] Successfully built 4d266c7c6344 [2021-10-08T04:23:39.224Z] 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-08T04:23:40.300Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2021-10-08T04:23:40.300Z] [2021-10-08T04:23:40.300Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] sh [2021-10-08T04:23:40.685Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2021-10-08T04:23:40.967Z] arm64: Pulling from edgex-lftools-log-publisher [2021-10-08T04:23:40.967Z] 448f6bf000e3: Pulling fs layer [2021-10-08T04:23:40.967Z] f757da607395: Pulling fs layer [2021-10-08T04:23:40.967Z] 05883995daec: Pulling fs layer [2021-10-08T04:23:40.967Z] 8603b9c90790: Pulling fs layer [2021-10-08T04:23:40.967Z] 1560dd03e051: Pulling fs layer [2021-10-08T04:23:40.967Z] 27f5ce0e4adf: Pulling fs layer [2021-10-08T04:23:40.967Z] c2d8d7efcc4b: Pulling fs layer [2021-10-08T04:23:40.967Z] 8603b9c90790: Waiting [2021-10-08T04:23:40.967Z] 1560dd03e051: Waiting [2021-10-08T04:23:40.967Z] 27f5ce0e4adf: Waiting [2021-10-08T04:23:41.250Z] f757da607395: Verifying Checksum [2021-10-08T04:23:41.250Z] f757da607395: Download complete [2021-10-08T04:23:41.250Z] 8603b9c90790: Verifying Checksum [2021-10-08T04:23:41.250Z] 8603b9c90790: Download complete [2021-10-08T04:23:41.250Z] 1560dd03e051: Verifying Checksum [2021-10-08T04:23:41.250Z] 1560dd03e051: Download complete [2021-10-08T04:23:41.250Z] 05883995daec: Verifying Checksum [2021-10-08T04:23:41.250Z] 05883995daec: Download complete [2021-10-08T04:23:41.250Z] 27f5ce0e4adf: Verifying Checksum [2021-10-08T04:23:41.250Z] 27f5ce0e4adf: Download complete [2021-10-08T04:23:41.527Z] 448f6bf000e3: Download complete [2021-10-08T04:23:44.172Z] c2d8d7efcc4b: Verifying Checksum [2021-10-08T04:23:44.172Z] c2d8d7efcc4b: Download complete [2021-10-08T04:23:45.192Z] 448f6bf000e3: Pull complete [2021-10-08T04:23:46.180Z] f757da607395: Pull complete [2021-10-08T04:23:47.637Z] 05883995daec: Pull complete [2021-10-08T04:23:47.915Z] 8603b9c90790: Pull complete [2021-10-08T04:23:48.914Z] 1560dd03e051: Pull complete [2021-10-08T04:23:49.192Z] 27f5ce0e4adf: Pull complete [2021-10-08T04:24:04.335Z] c2d8d7efcc4b: Pull complete [2021-10-08T04:24:04.335Z] Digest: sha256:42f6a1c33103aa4ecfebf648e29883a20fd84132c0f0d4f855d8bcfd8dd9c454 [2021-10-08T04:24:04.335Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2021-10-08T04:24:04.335Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] withDockerContainer [2021-10-08T04:24:04.622Z] prd-ubuntu18.04-docker-arm64-4c-16g-50 does not seem to be running inside a container [2021-10-08T04:24:04.715Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/device-sdk-go/1 -v /w/workspace/device-sdk-go/1:/w/workspace/device-sdk-go/1:rw,z -v /w/workspace/device-sdk-go/1@tmp:/w/workspace/device-sdk-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat [2021-10-08T04:24:08.511Z] $ docker top 986d5ae70ed94ad8c42b0d1fb4beaf762ce1deb77f9c0b87dda70a1e14d5db53 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-10-08T04:24:09.565Z] ---> job-cost.sh [2021-10-08T04:24:09.565Z] lf-activate-venv: SKIPPING [2021-10-08T04:24:09.565Z] INFO: No Stack... [2021-10-08T04:24:09.843Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2021-10-08T04:24:10.446Z] INFO: Archiving Costs [Pipeline] sh [2021-10-08T04:24:11.150Z] + cat /w/workspace/device-sdk-go/1/archives/cost.csv [2021-10-08T04:24:11.150Z] + cut -d, -f6 [Pipeline] lock [2021-10-08T04:24:11.241Z] Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-PR-1031-1-stack-cost] [2021-10-08T04:24:11.245Z] Resource [jenkins-edgexfoundry-device-sdk-go-PR-1031-1-stack-cost] did not exist. Created. [2021-10-08T04:24:11.245Z] Lock acquired on [jenkins-edgexfoundry-device-sdk-go-PR-1031-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2021-10-08T04:24:12.003Z] /w/workspace/device-sdk-go/1@tmp/durable-a45074db/script.sh: 1: /w/workspace/device-sdk-go/1@tmp/durable-a45074db/script.sh: Syntax error: Unterminated quoted string [Pipeline] sh [2021-10-08T04:24:12.734Z] + echo total: 0.10999999940395355 [Pipeline] stash [2021-10-08T04:24:12.775Z] Warning: overwriting stash ‘stack-cost’ [2021-10-08T04:24:12.837Z] Stashed 1 file(s) [Pipeline] } [2021-10-08T04:24:12.852Z] Lock released on resource [jenkins-edgexfoundry-device-sdk-go-PR-1031-1-stack-cost] [Pipeline] // lock [Pipeline] } [2021-10-08T04:24:12.975Z] $ docker stop --time=1 986d5ae70ed94ad8c42b0d1fb4beaf762ce1deb77f9c0b87dda70a1e14d5db53 [2021-10-08T04:24:14.624Z] $ docker rm -f 986d5ae70ed94ad8c42b0d1fb4beaf762ce1deb77f9c0b87dda70a1e14d5db53 [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-08T04:24:15.717Z] provisioning config files... [2021-10-08T04:24:15.728Z] copy managed file [device-sdk-go-codecov-token] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1031@tmp/config8057443031503698821tmp [Pipeline] { [Pipeline] sh [2021-10-08T04:24:16.080Z] + set +x [2021-10-08T04:24:16.080Z] + bash -s -- [2021-10-08T04:24:16.080Z] + curl -s https://codecov.io/bash [2021-10-08T04:24:16.080Z] [2021-10-08T04:24:16.080Z] _____ _ [2021-10-08T04:24:16.080Z] / ____| | | [2021-10-08T04:24:16.080Z] | | ___ __| | ___ ___ _____ __ [2021-10-08T04:24:16.080Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2021-10-08T04:24:16.080Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2021-10-08T04:24:16.080Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2021-10-08T04:24:16.080Z] Bash-1.0.6 [2021-10-08T04:24:16.080Z] [2021-10-08T04:24:16.080Z] [2021-10-08T04:24:16.080Z] ==> git version 2.24.4 found [2021-10-08T04:24:16.080Z] ==> 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-08T04:24:16.080Z] Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtsp scp sftp smtp smtps telnet tftp [2021-10-08T04:24:16.080Z] Features: AsynchDNS GSS-Negotiate IDN IPv6 Largefile NTLM NTLM_WB SSL libz unix-sockets [2021-10-08T04:24:16.080Z] ==> Jenkins CI detected. [2021-10-08T04:24:16.080Z] current dir:  /w/workspace/gexfoundry_device-sdk-go_PR-1031 [2021-10-08T04:24:16.080Z] project root: . [2021-10-08T04:24:16.080Z] --> token set from env [2021-10-08T04:24:16.080Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2021-10-08T04:24:16.080Z] ==> Running gcov in . (disable via -X gcov) [2021-10-08T04:24:16.080Z] ==> Python coveragepy not found [2021-10-08T04:24:16.080Z] ==> Searching for coverage reports in: [2021-10-08T04:24:16.080Z] + . [2021-10-08T04:24:16.080Z] -> Found 1 reports [2021-10-08T04:24:16.080Z] ==> Detecting git/mercurial file structure [2021-10-08T04:24:16.080Z] ==> Reading reports [2021-10-08T04:24:16.080Z] + ./coverage.out bytes=126160 [2021-10-08T04:24:16.080Z] ==> Appending adjustments [2021-10-08T04:24:16.080Z] https://docs.codecov.io/docs/fixing-reports [2021-10-08T04:24:16.345Z] + Found adjustments [2021-10-08T04:24:16.345Z] ==> Gzipping contents [2021-10-08T04:24:16.345Z] 16K /tmp/codecov.qUGSYp.gz [2021-10-08T04:24:16.345Z] ==> Uploading reports [2021-10-08T04:24:16.345Z] url: https://codecov.io [2021-10-08T04:24:16.345Z] query: branch=PR-1031&commit=5bb56453c95912db44905d477eac09d9d334902a&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-1031%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=1031&job=&cmd_args= [2021-10-08T04:24:16.345Z] -> Pinging Codecov [2021-10-08T04:24:16.345Z] 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=5bb56453c95912db44905d477eac09d9d334902a&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-1031%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=1031&job=&cmd_args= [2021-10-08T04:24:16.918Z] -> Uploading to [2021-10-08T04:24:16.918Z] https://storage.googleapis.com/codecov/v4/raw/2021-10-08/7E55EF52A471D76F132DFD9A03CDDE97/5bb56453c95912db44905d477eac09d9d334902a/20f885df-36d8-4040-a105-20709d6a0b16.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EKKHVKCKHW7KBCGM7IHR55T63V2PAVJWLVFNITJHDU5G6R5IRN3LMWJA%2F20211008%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20211008T042416Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=df6eb92603d238c30428c62244aedbd7dbd7e10ee464191b18fd9794ac42c84b [2021-10-08T04:24:16.918Z] % Total % Received % Xferd Average Speed Time Time Time Current [2021-10-08T04:24:16.918Z] Dload Upload Total Spent Left Speed [2021-10-08T04:24:17.180Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 16079 0 0 100 16079 0 58371 --:--:-- --:--:-- --:--:-- 58469 [2021-10-08T04:24:17.180Z] -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/device-sdk-go/commit/5bb56453c95912db44905d477eac09d9d334902a [Pipeline] } [2021-10-08T04:24:17.202Z] 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-08T04:24:19.124Z] + '[' -d /w/workspace/gexfoundry_device-sdk-go_PR-1031/archives ']' [Pipeline] libraryResource [Pipeline] sh [2021-10-08T04:24:19.471Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2021-10-08T04:24:20.065Z] ---> package-listing.sh [2021-10-08T04:24:20.065Z] ++ facter osfamily [2021-10-08T04:24:20.065Z] ++ tr '[:upper:]' '[:lower:]' [2021-10-08T04:24:20.327Z] + OS_FAMILY=redhat [2021-10-08T04:24:20.327Z] + workspace=/w/workspace/gexfoundry_device-sdk-go_PR-1031 [2021-10-08T04:24:20.327Z] + START_PACKAGES=/tmp/packages_start.txt [2021-10-08T04:24:20.327Z] + END_PACKAGES=/tmp/packages_end.txt [2021-10-08T04:24:20.327Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2021-10-08T04:24:20.327Z] + PACKAGES=/tmp/packages_start.txt [2021-10-08T04:24:20.327Z] + '[' /w/workspace/gexfoundry_device-sdk-go_PR-1031 ']' [2021-10-08T04:24:20.327Z] + PACKAGES=/tmp/packages_end.txt [2021-10-08T04:24:20.327Z] + case "${OS_FAMILY}" in [2021-10-08T04:24:20.327Z] + sort [2021-10-08T04:24:20.327Z] + rpm -qa [2021-10-08T04:24:20.901Z] + '[' -f /tmp/packages_start.txt ']' [2021-10-08T04:24:20.901Z] + '[' -f /tmp/packages_end.txt ']' [2021-10-08T04:24:20.901Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2021-10-08T04:24:20.901Z] + '[' /w/workspace/gexfoundry_device-sdk-go_PR-1031 ']' [2021-10-08T04:24:20.901Z] + mkdir -p /w/workspace/gexfoundry_device-sdk-go_PR-1031/archives/ [2021-10-08T04:24:20.901Z] + 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-08T04:24:20.931Z] 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-08T04:24:21.236Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] sh [2021-10-08T04:24:21.557Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2021-10-08T04:24:21.557Z] [2021-10-08T04:24:21.557Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] sh [2021-10-08T04:24:21.893Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2021-10-08T04:24:21.893Z] latest: Pulling from edgex-lftools-log-publisher [2021-10-08T04:24:21.893Z] b4d181a07f80: Pulling fs layer [2021-10-08T04:24:21.893Z] a1111a8f2ec3: Pulling fs layer [2021-10-08T04:24:21.893Z] ed53099fbce6: Pulling fs layer [2021-10-08T04:24:21.893Z] dc539afda2c1: Pulling fs layer [2021-10-08T04:24:21.893Z] 77bc0d833cb6: Pulling fs layer [2021-10-08T04:24:21.893Z] 9065ff56babe: Pulling fs layer [2021-10-08T04:24:21.893Z] d287ab97295c: Pulling fs layer [2021-10-08T04:24:21.893Z] dc539afda2c1: Waiting [2021-10-08T04:24:21.893Z] 77bc0d833cb6: Waiting [2021-10-08T04:24:21.893Z] 9065ff56babe: Waiting [2021-10-08T04:24:21.893Z] d287ab97295c: Waiting [2021-10-08T04:24:21.893Z] a1111a8f2ec3: Download complete [2021-10-08T04:24:21.893Z] dc539afda2c1: Verifying Checksum [2021-10-08T04:24:21.893Z] dc539afda2c1: Download complete [2021-10-08T04:24:21.893Z] ed53099fbce6: Verifying Checksum [2021-10-08T04:24:21.893Z] ed53099fbce6: Download complete [2021-10-08T04:24:22.156Z] 9065ff56babe: Verifying Checksum [2021-10-08T04:24:22.157Z] 9065ff56babe: Download complete [2021-10-08T04:24:22.157Z] 77bc0d833cb6: Verifying Checksum [2021-10-08T04:24:22.157Z] 77bc0d833cb6: Download complete [2021-10-08T04:24:22.157Z] b4d181a07f80: Verifying Checksum [2021-10-08T04:24:22.157Z] b4d181a07f80: Download complete [2021-10-08T04:24:22.741Z] d287ab97295c: Verifying Checksum [2021-10-08T04:24:22.741Z] d287ab97295c: Download complete [2021-10-08T04:24:23.713Z] b4d181a07f80: Pull complete [2021-10-08T04:24:23.713Z] a1111a8f2ec3: Pull complete [2021-10-08T04:24:24.298Z] ed53099fbce6: Pull complete [2021-10-08T04:24:24.298Z] dc539afda2c1: Pull complete [2021-10-08T04:24:24.574Z] 77bc0d833cb6: Pull complete [2021-10-08T04:24:24.841Z] 9065ff56babe: Pull complete [2021-10-08T04:24:30.176Z] d287ab97295c: Pull complete [2021-10-08T04:24:30.176Z] Digest: sha256:0c69325c24349bfb3ea32a3c3cbcab1fb66df42c981276dd8ebcf6aa441257c4 [2021-10-08T04:24:30.176Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2021-10-08T04:24:30.176Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] withDockerContainer [2021-10-08T04:24:30.260Z] prd-centos7-docker-4c-2g-44 does not seem to be running inside a container [2021-10-08T04:24:30.294Z] $ 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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2021-10-08T04:24:32.499Z] $ docker top 99546fd851916d9fa7a2158aa1505bc415cd37c66e93f5c40a88105bcc3e873e -eo pid,comm [Pipeline] { [Pipeline] sh [2021-10-08T04:24:32.897Z] + touch /tmp/pre-build-complete [Pipeline] sh [2021-10-08T04:24:33.223Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2021-10-08T04:24:33.543Z] + ls /var/log/sa-host [2021-10-08T04:24:33.543Z] + sadf -c /var/log/sa-host/sa08 [2021-10-08T04:24:33.543Z] file_magic: OK [2021-10-08T04:24:33.543Z] HZ: Using current value: 100 [2021-10-08T04:24:33.543Z] file_header: OK [2021-10-08T04:24:33.543Z] 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-08T04:24:33.543Z] Statistics: [2021-10-08T04:24:33.543Z] HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... [2021-10-08T04:24:33.543Z] File successfully converted to sysstat format version 12.0.3 [2021-10-08T04:24:33.543Z] + sadf -c /var/log/sa-host/sa30 [2021-10-08T04:24:33.543Z] file_magic: OK [2021-10-08T04:24:33.543Z] HZ: Using current value: 100 [2021-10-08T04:24:33.543Z] file_header: OK [2021-10-08T04:24:33.543Z] 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-08T04:24:33.543Z] Statistics: [2021-10-08T04:24:33.543Z] Hnuu...uuuununununu...Hnuu...uuuununununu... [2021-10-08T04:24:33.543Z] File successfully converted to sysstat format version 12.0.3 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-10-08T04:24:33.677Z] provisioning config files... [2021-10-08T04:24:33.688Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1031@tmp/config5698642660645373193tmp [Pipeline] { [Pipeline] echo [2021-10-08T04:24:33.730Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2021-10-08T04:24:34.057Z] ---> create-netrc.sh [Pipeline] } [2021-10-08T04:24:34.080Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2021-10-08T04:24:34.486Z] ---> python-tools-install.sh [Pipeline] echo [2021-10-08T04:24:34.511Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2021-10-08T04:24:34.829Z] ---> sudo-logs.sh [2021-10-08T04:24:34.830Z] Archiving 'sudo' log.. [2021-10-08T04:24:34.830Z] sudo: unable to resolve host prd-centos7-docker-4c-2g-44.novalocal: Name or service not known [2021-10-08T04:24:34.830Z] sudo: unable to resolve host prd-centos7-docker-4c-2g-44.novalocal: Name or service not known [Pipeline] unstash [Pipeline] echo [2021-10-08T04:24:34.906Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2021-10-08T04:24:35.230Z] ---> job-cost.sh [2021-10-08T04:24:35.230Z] lf-activate-venv: SKIPPING [2021-10-08T04:24:35.230Z] DEBUG: total: 0.10999999940395355 [2021-10-08T04:24:35.230Z] INFO: Retrieving Stack Cost... [2021-10-08T04:24:50.154Z] INFO: Retrieving Pricing Info for: v3-standard-2 [2021-10-08T04:24:50.154Z] INFO: Archiving Costs [Pipeline] echo [2021-10-08T04:24:50.185Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2021-10-08T04:24:50.508Z] ---> logs-deploy.sh [2021-10-08T04:24:50.508Z] lf-activate-venv: SKIPPING [2021-10-08T04:24:50.508Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-1031/1 [2021-10-08T04:24:50.508Z] INFO: archiving workspace using pattern(s): [2021-10-08T04:24:51.081Z] Archives upload complete. [2021-10-08T04:24:51.342Z] INFO: archiving logs to Nexus