Pull request #1032 opened Connecting to https://api.github.com using edgex-jenkins github personal access token Connecting to https://api.github.com to check permissions of obtain list of lenny-intel for edgexfoundry/device-sdk-go Obtained Jenkinsfile from a844ddaa3ab4011f2596df1e726102124341189c+95a9d1abedb9d7c119ffb1f24142991202c879de (7dab8296f571251f7a1c65642d3677853e4f82d0) 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-ssh379247951773453460.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision f1d79d91c36788821211008368c3015072ca53ca Resolving tag commit... (remote references may be a lightweight tag or an annotated tag) > git rev-parse --resolve-git-dir /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f/.git # timeout=10 Setting origin to git@github.com:edgexfoundry/edgex-global-pipelines.git > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching origin... Fetching upstream changes from origin > git --version # timeout=10 > git --version # 'git version 2.16.6' > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f@tmp/jenkins-gitclient-ssh1544015982744200403.key > git fetch --tags --progress -- origin +refs/heads/*:refs/remotes/origin/* # timeout=10 > git rev-parse refs/tags/stable^{commit} # timeout=10 Resolved tag stable revision f1d79d91c36788821211008368c3015072ca53ca The recommended git tool is: git using credential edgex-jenkins-ssh 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-1032/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-1032/workspace@libs/edgex-global-pipelines@tmp/jenkins-gitclient-ssh8746512784015205922.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-1032/workspace@libs/edgex-global-pipelines@tmp/jenkins-gitclient-ssh656640914295153829.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision f1d79d91c36788821211008368c3015072ca53ca (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f f1d79d91c36788821211008368c3015072ca53ca # timeout=10 Commit message: "Merge pull request #358 from ernestojeda/update-get-head-tags" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 > 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-ssh938254169926043769.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-1032/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-1032/workspace@libs/lf-pipelines@tmp/jenkins-gitclient-ssh8593043886058651113.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 f1d79d91c36788821211008368c3015072ca53ca 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-398 in /w/workspace/gexfoundry_device-sdk-go_PR-1032 [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-1032 # 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-1032@tmp/jenkins-gitclient-ssh7488578191609082465.key > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 Merging remotes/origin/main commit 95a9d1abedb9d7c119ffb1f24142991202c879de into PR head commit a844ddaa3ab4011f2596df1e726102124341189c Merge succeeded, producing a844ddaa3ab4011f2596df1e726102124341189c Checking out Revision a844ddaa3ab4011f2596df1e726102124341189c (PR-1032) > 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-1032@tmp/jenkins-gitclient-ssh7763428566339829588.key > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/1032/head:refs/remotes/origin/PR-1032 +refs/heads/main:refs/remotes/origin/main # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f a844ddaa3ab4011f2596df1e726102124341189c # 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-1032@tmp/jenkins-gitclient-ssh2023642454879997065.key > git merge 95a9d1abedb9d7c119ffb1f24142991202c879de # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f a844ddaa3ab4011f2596df1e726102124341189c # timeout=10 Commit message: "ci: Update PR template to latest approved" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.24.4' fatal: bad object f1d79d91c36788821211008368c3015072ca53ca [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2021-10-11T13:41:53.155Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2021-10-11T13:41:53.293Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2021-10-11T13:41:53.371Z] ========================================================= [2021-10-11T13:41:53.371Z] EdgeX Global Pipelines Version Info [2021-10-11T13:41:53.371Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2021-10-11T13:41:54.623Z] ------------------- [2021-10-11T13:41:54.624Z] stable info: [2021-10-11T13:41:54.624Z] ------------------- [2021-10-11T13:41:54.624Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2021-10-11T13:41:54.624Z] Commit SHA: f1d79d91c36788821211008368c3015072ca53ca [2021-10-11T13:41:54.624Z] Message: update stable to v1.0.209 [2021-10-11T13:41:55.206Z] ------------------- [2021-10-11T13:41:55.206Z] experimental info: [2021-10-11T13:41:55.206Z] ------------------- [2021-10-11T13:41:55.206Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2021-10-11T13:41:55.206Z] Commit SHA: f1d79d91c36788821211008368c3015072ca53ca [2021-10-11T13:41:55.206Z] Message: update experimental to v1.0.209 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2021-10-11T13:41:55.377Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-go-settings [Pipeline] echo [2021-10-11T13:41:55.408Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-go [Pipeline] echo [2021-10-11T13:41:55.442Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2021-10-11T13:41:55.476Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2021-10-11T13:41:55.511Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2021-10-11T13:41:55.555Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.16 [Pipeline] echo [2021-10-11T13:41:55.596Z] [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine [Pipeline] echo [2021-10-11T13:41:55.637Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = example/cmd/device-simple/Dockerfile [Pipeline] echo [2021-10-11T13:41:55.679Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2021-10-11T13:41:55.720Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2021-10-11T13:41:55.764Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2021-10-11T13:41:55.800Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-sdk-simple [Pipeline] echo [2021-10-11T13:41:55.838Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2021-10-11T13:41:55.873Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2021-10-11T13:41:55.909Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2021-10-11T13:41:55.952Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo [2021-10-11T13:41:55.990Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2021-10-11T13:41:56.025Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2021-10-11T13:41:56.068Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2021-10-11T13:41:56.106Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2021-10-11T13:41:56.147Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo [2021-10-11T13:41:56.192Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v2 [Pipeline] echo [2021-10-11T13:41:56.230Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2021-10-11T13:41:56.270Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2021-10-11T13:41:56.308Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2021-10-11T13:41:56.342Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2021-10-11T13:41:56.383Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-1032 [Pipeline] echo [2021-10-11T13:41:56.427Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-1032 [Pipeline] echo [2021-10-11T13:41:56.467Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-1032 [Pipeline] echo [2021-10-11T13:41:56.501Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = a844ddaa3ab4011f2596df1e726102124341189c [Pipeline] echo [2021-10-11T13:41:56.541Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = a844dda [Pipeline] echo [2021-10-11T13:41:56.582Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-10-11T13:41:56.700Z] provisioning config files... [2021-10-11T13:41:56.718Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1032@tmp/config4584789233202572106tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-10-11T13:41:57.082Z] ---> docker-login.sh [2021-10-11T13:41:57.082Z] nexus3.edgexfoundry.org:10001 [2021-10-11T13:41:57.082Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-10-11T13:41:57.345Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-10-11T13:41:57.346Z] Configure a credential helper to remove this warning. See [2021-10-11T13:41:57.346Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-10-11T13:41:57.346Z] [2021-10-11T13:41:57.346Z] Login Succeeded [2021-10-11T13:41:57.346Z] nexus3.edgexfoundry.org:10002 [2021-10-11T13:41:57.346Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-10-11T13:41:57.346Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-10-11T13:41:57.346Z] Configure a credential helper to remove this warning. See [2021-10-11T13:41:57.346Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-10-11T13:41:57.346Z] [2021-10-11T13:41:57.346Z] Login Succeeded [2021-10-11T13:41:57.346Z] nexus3.edgexfoundry.org:10003 [2021-10-11T13:41:57.614Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-10-11T13:41:57.614Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-10-11T13:41:57.614Z] Configure a credential helper to remove this warning. See [2021-10-11T13:41:57.614Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-10-11T13:41:57.614Z] [2021-10-11T13:41:57.614Z] Login Succeeded [2021-10-11T13:41:57.614Z] nexus3.edgexfoundry.org:10004 [2021-10-11T13:41:57.614Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-10-11T13:41:57.876Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-10-11T13:41:57.876Z] Configure a credential helper to remove this warning. See [2021-10-11T13:41:57.876Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-10-11T13:41:57.876Z] [2021-10-11T13:41:57.876Z] Login Succeeded [2021-10-11T13:41:57.876Z] docker.io [2021-10-11T13:41:57.876Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-10-11T13:41:58.139Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-10-11T13:41:58.139Z] Configure a credential helper to remove this warning. See [2021-10-11T13:41:58.139Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-10-11T13:41:58.139Z] [2021-10-11T13:41:58.139Z] Login Succeeded [2021-10-11T13:41:58.139Z] ---> docker-login.sh ends [Pipeline] } [2021-10-11T13:41:58.164Z] 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-11T13:41:58.806Z] + git log --format=format:%s -1 a844ddaa3ab4011f2596df1e726102124341189c [Pipeline] echo [2021-10-11T13:41:58.854Z] GIT_COMMIT: a844ddaa3ab4011f2596df1e726102124341189c, Commit Message: ci: Update PR template to latest approved [Pipeline] echo [2021-10-11T13:41:58.883Z] This is not a build commit. [Pipeline] isUnix [Pipeline] sh [2021-10-11T13:41:59.583Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-10-11T13:41:59.583Z] [2021-10-11T13:41:59.583Z] Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh [2021-10-11T13:41:59.926Z] + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-10-11T13:41:59.926Z] latest: Pulling from edgex-devops/git-semver [2021-10-11T13:41:59.926Z] a0d0a0d46f8b: Pulling fs layer [2021-10-11T13:41:59.926Z] 3e5f54012d9b: Pulling fs layer [2021-10-11T13:41:59.926Z] 4c7163046ea9: Pulling fs layer [2021-10-11T13:41:59.926Z] 0c2d73faf560: Pulling fs layer [2021-10-11T13:41:59.926Z] 0c2d73faf560: Waiting [2021-10-11T13:41:59.926Z] 3e5f54012d9b: Verifying Checksum [2021-10-11T13:41:59.926Z] 3e5f54012d9b: Download complete [2021-10-11T13:41:59.926Z] a0d0a0d46f8b: Verifying Checksum [2021-10-11T13:41:59.926Z] a0d0a0d46f8b: Download complete [2021-10-11T13:41:59.926Z] 0c2d73faf560: Verifying Checksum [2021-10-11T13:41:59.926Z] 0c2d73faf560: Download complete [2021-10-11T13:41:59.926Z] 4c7163046ea9: Verifying Checksum [2021-10-11T13:41:59.926Z] 4c7163046ea9: Download complete [2021-10-11T13:42:00.195Z] a0d0a0d46f8b: Pull complete [2021-10-11T13:42:00.195Z] 3e5f54012d9b: Pull complete [2021-10-11T13:42:00.777Z] 4c7163046ea9: Pull complete [2021-10-11T13:42:00.777Z] 0c2d73faf560: Pull complete [2021-10-11T13:42:00.777Z] Digest: sha256:2751de6e655929dcbe46418c7769d9d992331b5b721eb968631a4166222929f9 [2021-10-11T13:42:00.777Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-10-11T13:42:00.777Z] nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer [2021-10-11T13:42:00.861Z] prd-centos7-docker-4c-2g-398 does not seem to be running inside a container [2021-10-11T13:42:00.928Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-sdk-go_PR-1032 -v /w/workspace/gexfoundry_device-sdk-go_PR-1032:/w/workspace/gexfoundry_device-sdk-go_PR-1032:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1032@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1032@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat [2021-10-11T13:42:01.486Z] $ docker top 4454b2906b726702010ec0a6cb54be2b916d2a7cfba6b7e947324e7f2bf97f70 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2021-10-11T13:42:01.646Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-10-11T13:42:01.646Z] [ssh-agent] Looking for ssh-agent implementation... [2021-10-11T13:42:01.765Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-10-11T13:42:01.769Z] $ docker exec 4454b2906b726702010ec0a6cb54be2b916d2a7cfba6b7e947324e7f2bf97f70 ssh-agent [2021-10-11T13:42:01.879Z] SSH_AUTH_SOCK=/tmp/ssh-XXXXXXpdAbfn/agent.13 [2021-10-11T13:42:01.879Z] SSH_AGENT_PID=20 [2021-10-11T13:42:01.887Z] Running ssh-add (command line suppressed) [2021-10-11T13:42:01.975Z] Identity added: /w/workspace/gexfoundry_device-sdk-go_PR-1032@tmp/private_key_4246335247031054859.key (/w/workspace/gexfoundry_device-sdk-go_PR-1032@tmp/private_key_4246335247031054859.key) [2021-10-11T13:42:01.988Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-10-11T13:42:02.316Z] + git tag --points-at HEAD [Pipeline] } [2021-10-11T13:42:02.334Z] $ docker exec --env ******** --env ******** 4454b2906b726702010ec0a6cb54be2b916d2a7cfba6b7e947324e7f2bf97f70 ssh-agent -k [2021-10-11T13:42:02.427Z] unset SSH_AUTH_SOCK; [2021-10-11T13:42:02.427Z] unset SSH_AGENT_PID; [2021-10-11T13:42:02.427Z] echo Agent pid 20 killed; [2021-10-11T13:42:02.440Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2021-10-11T13:42:02.498Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-10-11T13:42:02.498Z] [ssh-agent] Looking for ssh-agent implementation... [2021-10-11T13:42:02.605Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-10-11T13:42:02.607Z] $ docker exec 4454b2906b726702010ec0a6cb54be2b916d2a7cfba6b7e947324e7f2bf97f70 ssh-agent [2021-10-11T13:42:02.705Z] SSH_AUTH_SOCK=/tmp/ssh-XXXXXXNBbcMN/agent.54 [2021-10-11T13:42:02.705Z] SSH_AGENT_PID=61 [2021-10-11T13:42:02.713Z] Running ssh-add (command line suppressed) [2021-10-11T13:42:02.813Z] Identity added: /w/workspace/gexfoundry_device-sdk-go_PR-1032@tmp/private_key_4634645319603902001.key (/w/workspace/gexfoundry_device-sdk-go_PR-1032@tmp/private_key_4634645319603902001.key) [2021-10-11T13:42:02.829Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-10-11T13:42:03.166Z] + git semver init [2021-10-11T13:42:03.166Z] # -> Open(): unable to determine branch for HEAD [2021-10-11T13:42:03.166Z] # $GIT_DIR = /w/workspace/gexfoundry_device-sdk-go_PR-1032/.git [2021-10-11T13:42:03.166Z] # $GIT_WORK_TREE = /w/workspace/gexfoundry_device-sdk-go_PR-1032 [2021-10-11T13:42:03.166Z] # $SEMVER_REMOTE_NAME = origin [2021-10-11T13:42:03.166Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2021-10-11T13:42:03.166Z] # $SEMVER_USER_NAME = edgex-jenkins [2021-10-11T13:42:03.166Z] # $SEMVER_BRANCH = PR-1032 [2021-10-11T13:42:03.166Z] # $SEMVER_TEMP = /tmp/semver-161284893 [2021-10-11T13:42:03.166Z] # git clone --branch semver git@github.com:edgexfoundry/device-sdk-go.git $SEMVER_TEMP [2021-10-11T13:42:04.125Z] # '/tmp/semver-161284893' -> '/w/workspace/gexfoundry_device-sdk-go_PR-1032/.semver' [2021-10-11T13:42:04.125Z] # -> Force: false [2021-10-11T13:42:04.125Z] # $SEMVER_DIR = /w/workspace/gexfoundry_device-sdk-go_PR-1032/.semver [Pipeline] } [2021-10-11T13:42:04.148Z] $ docker exec --env ******** --env ******** 4454b2906b726702010ec0a6cb54be2b916d2a7cfba6b7e947324e7f2bf97f70 ssh-agent -k [2021-10-11T13:42:04.263Z] unset SSH_AUTH_SOCK; [2021-10-11T13:42:04.264Z] unset SSH_AGENT_PID; [2021-10-11T13:42:04.264Z] echo Agent pid 61 killed; [2021-10-11T13:42:04.274Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2021-10-11T13:42:04.676Z] + git semver [Pipeline] } [2021-10-11T13:42:04.701Z] $ docker stop --time=1 4454b2906b726702010ec0a6cb54be2b916d2a7cfba6b7e947324e7f2bf97f70 [2021-10-11T13:42:05.934Z] $ docker rm -f 4454b2906b726702010ec0a6cb54be2b916d2a7cfba6b7e947324e7f2bf97f70 [Pipeline] // withDockerContainer [Pipeline] sh [2021-10-11T13:42:06.348Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2021-10-11T13:42:06.693Z] Stashed 1 file(s) [Pipeline] echo [2021-10-11T13:42:06.716Z] [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-11T13:42:22.211Z] Still waiting to schedule task [2021-10-11T13:42:22.211Z] Waiting for next available executor on ‘prd-centos7-docker-4c-2g-398’ [2021-10-11T13:42:22.236Z] Still waiting to schedule task [2021-10-11T13:42:22.236Z] All nodes of label ‘ubuntu18.04-docker-arm64-4c-16g’ are offline [2021-10-11T13:44:34.601Z] Running on prd-centos7-docker-4c-2g-401 in /w/workspace/gexfoundry_device-sdk-go_PR-1032 [Pipeline] { [Pipeline] ws [2021-10-11T13:44:34.652Z] Running in /w/workspace/device-sdk-go/1 [Pipeline] { [Pipeline] checkout [2021-10-11T13:44:34.800Z] Selected Git installation does not exist. Using Default [2021-10-11T13:44:34.800Z] The recommended git tool is: NONE [2021-10-11T13:44:36.716Z] using credential edgex-jenkins-ssh [2021-10-11T13:44:36.726Z] Cloning the remote Git repository [2021-10-11T13:44:37.043Z] Cloning repository git@github.com:edgexfoundry/device-sdk-go.git [2021-10-11T13:44:37.100Z] > git init /w/workspace/device-sdk-go/1 # timeout=10 [2021-10-11T13:44:37.140Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2021-10-11T13:44:37.140Z] > git --version # timeout=10 [2021-10-11T13:44:37.146Z] > git --version # 'git version 2.24.4' [2021-10-11T13:44:37.147Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-10-11T13:44:37.164Z] [INFO] Currently running in a labeled security context [2021-10-11T13:44:37.164Z] [INFO] Currently SELinux is 'enforcing' on the host [2021-10-11T13:44:37.165Z] > /usr/bin/chcon --type=ssh_home_t /w/workspace/device-sdk-go/1@tmp/jenkins-gitclient-ssh8717368371196205837.key [2021-10-11T13:44:37.203Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-10-11T13:44:37.960Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2021-10-11T13:44:37.968Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-10-11T13:44:37.983Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2021-10-11T13:44:37.997Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2021-10-11T13:44:37.997Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-10-11T13:44:37.998Z] [INFO] Currently running in a labeled security context [2021-10-11T13:44:37.998Z] [INFO] Currently SELinux is 'enforcing' on the host [2021-10-11T13:44:37.998Z] > /usr/bin/chcon --type=ssh_home_t /w/workspace/device-sdk-go/1@tmp/jenkins-gitclient-ssh2490167808440678775.key [2021-10-11T13:44:38.008Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/1032/head:refs/remotes/origin/PR-1032 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2021-10-11T13:44:38.276Z] Merging remotes/origin/main commit 95a9d1abedb9d7c119ffb1f24142991202c879de into PR head commit a844ddaa3ab4011f2596df1e726102124341189c [2021-10-11T13:44:38.370Z] Merge succeeded, producing a844ddaa3ab4011f2596df1e726102124341189c [2021-10-11T13:44:38.371Z] Checking out Revision a844ddaa3ab4011f2596df1e726102124341189c (PR-1032) [2021-10-11T13:44:38.568Z] > git config core.sparsecheckout # timeout=10 [2021-10-11T13:44:38.576Z] > git checkout -f a844ddaa3ab4011f2596df1e726102124341189c # timeout=10 [2021-10-11T13:44:38.610Z] > git remote # timeout=10 [2021-10-11T13:44:38.615Z] > git config --get remote.origin.url # timeout=10 [2021-10-11T13:44:38.621Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-10-11T13:44:38.622Z] [INFO] Currently running in a labeled security context [2021-10-11T13:44:38.622Z] [INFO] Currently SELinux is 'enforcing' on the host [2021-10-11T13:44:38.622Z] > /usr/bin/chcon --type=ssh_home_t /w/workspace/device-sdk-go/1@tmp/jenkins-gitclient-ssh3029090928966695686.key [2021-10-11T13:44:38.631Z] > git merge 95a9d1abedb9d7c119ffb1f24142991202c879de # timeout=10 [2021-10-11T13:44:38.641Z] > git rev-parse HEAD^{commit} # timeout=10 [2021-10-11T13:44:38.650Z] > git config core.sparsecheckout # timeout=10 [2021-10-11T13:44:38.655Z] > git checkout -f a844ddaa3ab4011f2596df1e726102124341189c # timeout=10 [2021-10-11T13:44:42.203Z] Commit message: "ci: Update PR template to latest approved" [2021-10-11T13:44:42.224Z] > git --version # timeout=10 [2021-10-11T13:44:42.230Z] > git --version # 'git version 2.24.4' [2021-10-11T13:44:42.238Z] fatal: bad object f1d79d91c36788821211008368c3015072ca53ca [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-10-11T13:44:42.764Z] provisioning config files... [2021-10-11T13:44:42.775Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/1@tmp/config8010725180057661178tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-10-11T13:44:43.191Z] ---> docker-login.sh [2021-10-11T13:44:43.191Z] nexus3.edgexfoundry.org:10001 [2021-10-11T13:44:43.191Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-10-11T13:44:43.454Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-10-11T13:44:43.454Z] Configure a credential helper to remove this warning. See [2021-10-11T13:44:43.454Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-10-11T13:44:43.454Z] [2021-10-11T13:44:43.454Z] Login Succeeded [2021-10-11T13:44:43.454Z] nexus3.edgexfoundry.org:10002 [2021-10-11T13:44:43.454Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-10-11T13:44:43.454Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-10-11T13:44:43.454Z] Configure a credential helper to remove this warning. See [2021-10-11T13:44:43.454Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-10-11T13:44:43.454Z] [2021-10-11T13:44:43.454Z] Login Succeeded [2021-10-11T13:44:43.454Z] nexus3.edgexfoundry.org:10003 [2021-10-11T13:44:43.454Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-10-11T13:44:43.454Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-10-11T13:44:43.454Z] Configure a credential helper to remove this warning. See [2021-10-11T13:44:43.454Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-10-11T13:44:43.454Z] [2021-10-11T13:44:43.454Z] Login Succeeded [2021-10-11T13:44:43.454Z] nexus3.edgexfoundry.org:10004 [2021-10-11T13:44:43.716Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-10-11T13:44:43.716Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-10-11T13:44:43.716Z] Configure a credential helper to remove this warning. See [2021-10-11T13:44:43.716Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-10-11T13:44:43.716Z] [2021-10-11T13:44:43.716Z] Login Succeeded [2021-10-11T13:44:43.716Z] docker.io [2021-10-11T13:44:43.716Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-10-11T13:44:44.288Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-10-11T13:44:44.288Z] Configure a credential helper to remove this warning. See [2021-10-11T13:44:44.288Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-10-11T13:44:44.288Z] [2021-10-11T13:44:44.288Z] Login Succeeded [2021-10-11T13:44:44.288Z] ---> docker-login.sh ends [Pipeline] } [2021-10-11T13:44:44.331Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2021-10-11T13:44:44.552Z] ========================================================= [2021-10-11T13:44:44.552Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine] [2021-10-11T13:44:44.552Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh [2021-10-11T13:44:44.953Z] + 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-11T13:44:44.953Z] Sending build context to Docker daemon 2.67MB [2021-10-11T13:44:44.953Z] Step 1/10 : ARG BASE=golang:1.16-alpine3.14 [2021-10-11T13:44:44.953Z] Step 2/10 : FROM ${BASE} AS builder [2021-10-11T13:44:44.953Z] 1.16-alpine: Pulling from edgex-devops/edgex-golang-base [2021-10-11T13:44:44.953Z] 4e9f2cdf4387: Pulling fs layer [2021-10-11T13:44:44.953Z] 57d31006c564: Pulling fs layer [2021-10-11T13:44:44.953Z] bd5ccded8296: Pulling fs layer [2021-10-11T13:44:44.953Z] 304dd3a0f381: Pulling fs layer [2021-10-11T13:44:44.953Z] d37cda54a23b: Pulling fs layer [2021-10-11T13:44:44.953Z] bae75c0f2455: Pulling fs layer [2021-10-11T13:44:44.953Z] 806579b3d29a: Pulling fs layer [2021-10-11T13:44:44.953Z] c77eb801bf70: Pulling fs layer [2021-10-11T13:44:44.953Z] 6d0567d44e1a: Pulling fs layer [2021-10-11T13:44:44.953Z] 304dd3a0f381: Waiting [2021-10-11T13:44:44.953Z] d37cda54a23b: Waiting [2021-10-11T13:44:44.953Z] bae75c0f2455: Waiting [2021-10-11T13:44:44.953Z] 806579b3d29a: Waiting [2021-10-11T13:44:44.953Z] c77eb801bf70: Waiting [2021-10-11T13:44:44.953Z] 6d0567d44e1a: Waiting [2021-10-11T13:44:44.953Z] bd5ccded8296: Verifying Checksum [2021-10-11T13:44:44.953Z] bd5ccded8296: Download complete [2021-10-11T13:44:44.953Z] 57d31006c564: Verifying Checksum [2021-10-11T13:44:44.953Z] 57d31006c564: Download complete [2021-10-11T13:44:45.221Z] d37cda54a23b: Verifying Checksum [2021-10-11T13:44:45.221Z] d37cda54a23b: Download complete [2021-10-11T13:44:45.221Z] bae75c0f2455: Verifying Checksum [2021-10-11T13:44:45.221Z] bae75c0f2455: Download complete [2021-10-11T13:44:45.221Z] 4e9f2cdf4387: Verifying Checksum [2021-10-11T13:44:45.221Z] 4e9f2cdf4387: Download complete [2021-10-11T13:44:45.221Z] 806579b3d29a: Verifying Checksum [2021-10-11T13:44:45.221Z] 806579b3d29a: Download complete [2021-10-11T13:44:45.221Z] c77eb801bf70: Verifying Checksum [2021-10-11T13:44:45.221Z] c77eb801bf70: Download complete [2021-10-11T13:44:45.493Z] 4e9f2cdf4387: Pull complete [2021-10-11T13:44:45.757Z] 57d31006c564: Pull complete [2021-10-11T13:44:45.757Z] 6d0567d44e1a: Verifying Checksum [2021-10-11T13:44:45.757Z] 6d0567d44e1a: Download complete [2021-10-11T13:44:45.757Z] bd5ccded8296: Pull complete [2021-10-11T13:44:45.757Z] 304dd3a0f381: Verifying Checksum [2021-10-11T13:44:45.757Z] 304dd3a0f381: Download complete [2021-10-11T13:44:50.008Z] 304dd3a0f381: Pull complete [2021-10-11T13:44:50.008Z] d37cda54a23b: Pull complete [2021-10-11T13:44:50.008Z] bae75c0f2455: Pull complete [2021-10-11T13:44:50.008Z] 806579b3d29a: Pull complete [2021-10-11T13:44:50.008Z] c77eb801bf70: Pull complete [2021-10-11T13:44:51.939Z] 6d0567d44e1a: Pull complete [2021-10-11T13:44:51.939Z] Digest: sha256:53f76eca38b35ad9f985c2fb57ce55683e6a223a937aed0adb215e74043799cd [2021-10-11T13:44:51.939Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine [2021-10-11T13:44:51.939Z] ---> e839a31ac9d1 [2021-10-11T13:44:51.939Z] Step 3/10 : ARG MAKE=make build [2021-10-11T13:44:54.495Z] ---> Running in ccc93635b4a0 [2021-10-11T13:44:54.495Z] Removing intermediate container ccc93635b4a0 [2021-10-11T13:44:54.495Z] ---> 885fd81eaf32 [2021-10-11T13:44:54.495Z] Step 4/10 : WORKDIR /device-sdk-go [2021-10-11T13:44:54.495Z] ---> Running in db0a583af54a [2021-10-11T13:44:54.495Z] Removing intermediate container db0a583af54a [2021-10-11T13:44:54.495Z] ---> 060cb1cc49f9 [2021-10-11T13:44:54.495Z] Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-10-11T13:44:54.495Z] ---> Running in f4d0e39083e3 [2021-10-11T13:44:54.495Z] Removing intermediate container f4d0e39083e3 [2021-10-11T13:44:54.495Z] ---> ddc44ebe8324 [2021-10-11T13:44:54.495Z] Step 6/10 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-10-11T13:44:54.495Z] ---> Running in 199d25178750 [2021-10-11T13:44:55.069Z] Removing intermediate container 199d25178750 [2021-10-11T13:44:55.069Z] ---> 1fec368465bf [2021-10-11T13:44:55.069Z] Step 7/10 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev [2021-10-11T13:44:55.069Z] ---> Running in cc093a4c96f2 [2021-10-11T13:44:55.069Z] fetch https://nl.alpinelinux.org/alpine/v3.13/main/x86_64/APKINDEX.tar.gz [2021-10-11T13:44:56.020Z] fetch https://nl.alpinelinux.org/alpine/v3.13/community/x86_64/APKINDEX.tar.gz [2021-10-11T13:44:56.594Z] OK: 219 MiB in 52 packages [2021-10-11T13:44:56.594Z] Removing intermediate container cc093a4c96f2 [2021-10-11T13:44:56.594Z] ---> 3e45e9a835c4 [2021-10-11T13:44:56.595Z] Step 8/10 : COPY . . [2021-10-11T13:44:56.868Z] ---> 38d51d179577 [2021-10-11T13:44:56.869Z] Step 9/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2021-10-11T13:44:56.869Z] ---> Running in 1e139f2a3bea [2021-10-11T13:45:29.073Z] Removing intermediate container 1e139f2a3bea [2021-10-11T13:45:29.073Z] ---> 73a7783c71d6 [2021-10-11T13:45:29.073Z] Step 10/10 : RUN ${MAKE} [2021-10-11T13:45:29.073Z] ---> Running in bb18bae08ac9 [2021-10-11T13:45:29.332Z] noop [2021-10-11T13:45:29.332Z] Removing intermediate container bb18bae08ac9 [2021-10-11T13:45:29.332Z] ---> 080af720bdc4 [2021-10-11T13:45:29.332Z] Successfully built 080af720bdc4 [2021-10-11T13:45:29.332Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh [2021-10-11T13:45:29.663Z] + docker inspect -f . ci-base-image-x86_64 [2021-10-11T13:45:29.663Z] . [Pipeline] withDockerContainer [2021-10-11T13:45:29.758Z] prd-centos7-docker-4c-2g-401 does not seem to be running inside a container [2021-10-11T13:45:29.797Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/1 -v /w/workspace/device-sdk-go/1:/w/workspace/device-sdk-go/1:rw,z -v /w/workspace/device-sdk-go/1@tmp:/w/workspace/device-sdk-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2021-10-11T13:45:30.133Z] $ docker top 690b0ac06fb3f5b91d3b9e3247070bf06ee63ccafdab9b4ebb8a32379ea9a1ee -eo pid,comm [Pipeline] { [Pipeline] sh [2021-10-11T13:45:30.523Z] + go version [2021-10-11T13:45:30.523Z] go version go1.16.8 linux/amd64 [Pipeline] } [2021-10-11T13:45:30.548Z] $ docker stop --time=1 690b0ac06fb3f5b91d3b9e3247070bf06ee63ccafdab9b4ebb8a32379ea9a1ee [2021-10-11T13:45:31.718Z] $ docker rm -f 690b0ac06fb3f5b91d3b9e3247070bf06ee63ccafdab9b4ebb8a32379ea9a1ee [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-10-11T13:45:32.428Z] + docker inspect -f . ci-base-image-x86_64 [2021-10-11T13:45:32.428Z] . [Pipeline] withDockerContainer [2021-10-11T13:45:32.519Z] prd-centos7-docker-4c-2g-401 does not seem to be running inside a container [2021-10-11T13:45:32.557Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/1 -v /w/workspace/device-sdk-go/1:/w/workspace/device-sdk-go/1:rw,z -v /w/workspace/device-sdk-go/1@tmp:/w/workspace/device-sdk-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2021-10-11T13:45:32.934Z] $ docker top d353db847824029c722ef0b2d4e3950f194af4b87c4d0b93263c184a215e7752 -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh [2021-10-11T13:45:33.382Z] + make test [2021-10-11T13:45:33.382Z] GO111MODULE=on go test -race -coverprofile=coverage.out ./... [2021-10-11T13:45:38.707Z] ? github.com/edgexfoundry/device-sdk-go/v2 [no test files] [2021-10-11T13:46:05.444Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/cmd/device-simple [no test files] [2021-10-11T13:46:05.444Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/config [no test files] [2021-10-11T13:46:05.444Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/driver [no test files] [2021-10-11T13:46:05.444Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/application 0.060s coverage: 23.7% of statements [2021-10-11T13:46:05.444Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/autodiscovery [no test files] [2021-10-11T13:46:05.444Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/autoevent 0.049s coverage: 28.1% of statements [2021-10-11T13:46:05.444Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/cache 0.064s coverage: 78.9% of statements [2021-10-11T13:46:05.444Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/clients 0.047s coverage: 9.0% of statements [2021-10-11T13:46:05.444Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/common [no test files] [2021-10-11T13:46:05.444Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/config [no test files] [2021-10-11T13:46:05.444Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/container [no test files] [2021-10-11T13:46:06.032Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http 0.079s coverage: 28.7% of statements [2021-10-11T13:46:06.032Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http/correlation [no test files] [2021-10-11T13:46:06.988Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/messaging 1.068s coverage: 83.3% of statements [2021-10-11T13:46:06.988Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/provision [no test files] [2021-10-11T13:46:06.988Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/telemetry [no test files] [2021-10-11T13:46:06.988Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/transformer 0.078s coverage: 57.8% of statements [2021-10-11T13:46:08.981Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/models 0.851s coverage: 89.0% of statements [2021-10-11T13:46:08.981Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/models/mocks [no test files] [2021-10-11T13:46:08.981Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/service 0.053s coverage: 4.9% of statements [2021-10-11T13:46:08.981Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/startup [no test files] [2021-10-11T13:46:08.981Z] GO111MODULE=on go vet ./... [2021-10-11T13:46:27.238Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2021-10-11T13:46:27.238Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2021-10-11T13:46:27.238Z] ./bin/test-attribution-txt.sh [Pipeline] } [2021-10-11T13:46:27.263Z] $ docker stop --time=1 d353db847824029c722ef0b2d4e3950f194af4b87c4d0b93263c184a215e7752 [2021-10-11T13:46:28.696Z] $ docker rm -f d353db847824029c722ef0b2d4e3950f194af4b87c4d0b93263c184a215e7752 [Pipeline] // withDockerContainer [Pipeline] sh [2021-10-11T13:46:29.201Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2021-10-11T13:46:29.426Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2021-10-11T13:46:30.748Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2021-10-11T13:46:31.062Z] + ls -al . [2021-10-11T13:46:31.062Z] total 264 [2021-10-11T13:46:31.062Z] drwxrwxr-x. 10 jenkins jenkins 4096 Oct 11 13:46 . [2021-10-11T13:46:31.062Z] drwxrwxr-x. 4 jenkins jenkins 28 Oct 11 13:44 .. [2021-10-11T13:46:31.062Z] drwxrwxr-x. 2 jenkins jenkins 37 Oct 11 13:44 bin [2021-10-11T13:46:31.062Z] -rw-rw-r--. 1 jenkins jenkins 24816 Oct 11 13:44 CHANGELOG.md [2021-10-11T13:46:31.062Z] -rw-r--r--. 1 jenkins jenkins 126160 Oct 11 13:46 coverage.out [2021-10-11T13:46:31.062Z] -rw-rw-r--. 1 jenkins jenkins 140 Oct 11 13:44 .dockerignore [2021-10-11T13:46:31.062Z] drwxrwxr-x. 5 jenkins jenkins 62 Oct 11 13:44 example [2021-10-11T13:46:31.062Z] drwxrwxr-x. 8 jenkins jenkins 179 Oct 11 13:44 .git [2021-10-11T13:46:31.062Z] drwxrwxr-x. 3 jenkins jenkins 125 Oct 11 13:44 .github [2021-10-11T13:46:31.062Z] -rw-rw-r--. 1 jenkins jenkins 131 Oct 11 13:44 .gitignore [2021-10-11T13:46:31.062Z] -rw-rw-r--. 1 jenkins jenkins 583 Oct 11 13:44 go.mod [2021-10-11T13:46:31.062Z] -rw-rw-r--. 1 jenkins jenkins 49618 Oct 11 13:44 go.sum [2021-10-11T13:46:31.062Z] -rw-rw-r--. 1 jenkins jenkins 677 Oct 11 13:44 GOVERNANCE.md [2021-10-11T13:46:31.062Z] drwxrwxr-x. 15 jenkins jenkins 224 Oct 11 13:44 internal [2021-10-11T13:46:31.062Z] -rw-rw-r--. 1 jenkins jenkins 880 Oct 11 13:44 Jenkinsfile [2021-10-11T13:46:31.062Z] -rw-rw-r--. 1 jenkins jenkins 11341 Oct 11 13:44 LICENSE [2021-10-11T13:46:31.062Z] -rw-rw-r--. 1 jenkins jenkins 1120 Oct 11 13:44 Makefile [2021-10-11T13:46:31.062Z] drwxrwxr-x. 3 jenkins jenkins 16 Oct 11 13:44 openapi [2021-10-11T13:46:31.062Z] -rw-rw-r--. 1 jenkins jenkins 619 Oct 11 13:44 OWNERS.md [2021-10-11T13:46:31.062Z] drwxrwxr-x. 5 jenkins jenkins 50 Oct 11 13:44 pkg [2021-10-11T13:46:31.062Z] -rw-rw-r--. 1 jenkins jenkins 7646 Oct 11 13:44 README.md [2021-10-11T13:46:31.062Z] drwxrwxr-x. 4 jenkins jenkins 54 Oct 11 13:44 snap [2021-10-11T13:46:31.062Z] -rw-rw-r--. 1 jenkins jenkins 5 Oct 11 13:42 VERSION [2021-10-11T13:46:31.062Z] -rw-rw-r--. 1 jenkins jenkins 222 Oct 11 13:44 version.go [Pipeline] isUnix [Pipeline] sh [2021-10-11T13:46:31.415Z] + 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=a844ddaa3ab4011f2596df1e726102124341189c --label arch=amd64 --label version=0.0.0 . [2021-10-11T13:46:31.415Z] Sending build context to Docker daemon 2.797MB [2021-10-11T13:46:31.415Z] Step 1/24 : ARG BASE=golang:1.16-alpine3.14 [2021-10-11T13:46:31.415Z] Step 2/24 : FROM ${BASE} AS builder [2021-10-11T13:46:31.415Z] ---> 080af720bdc4 [2021-10-11T13:46:31.415Z] Step 3/24 : ARG MAKE=make build [2021-10-11T13:46:31.415Z] ---> Running in 39acf1ce9c4d [2021-10-11T13:46:31.415Z] Removing intermediate container 39acf1ce9c4d [2021-10-11T13:46:31.415Z] ---> dc9cb9439788 [2021-10-11T13:46:31.415Z] Step 4/24 : WORKDIR /device-sdk-go [2021-10-11T13:46:31.674Z] ---> Running in e576202d1e79 [2021-10-11T13:46:31.674Z] Removing intermediate container e576202d1e79 [2021-10-11T13:46:31.674Z] ---> 82277f01da20 [2021-10-11T13:46:31.674Z] Step 5/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-10-11T13:46:31.674Z] ---> Running in a2471ed40917 [2021-10-11T13:46:31.674Z] Removing intermediate container a2471ed40917 [2021-10-11T13:46:31.674Z] ---> 88953a01afac [2021-10-11T13:46:31.674Z] Step 6/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-10-11T13:46:31.674Z] ---> Running in 176b46a38647 [2021-10-11T13:46:32.245Z] Removing intermediate container 176b46a38647 [2021-10-11T13:46:32.245Z] ---> de3d22b848aa [2021-10-11T13:46:32.245Z] Step 7/24 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev [2021-10-11T13:46:32.245Z] ---> Running in 001a70d95886 [2021-10-11T13:46:32.506Z] fetch https://nl.alpinelinux.org/alpine/v3.13/main/x86_64/APKINDEX.tar.gz [2021-10-11T13:46:33.452Z] fetch https://nl.alpinelinux.org/alpine/v3.13/community/x86_64/APKINDEX.tar.gz [2021-10-11T13:46:33.715Z] OK: 219 MiB in 52 packages [2021-10-11T13:46:33.976Z] Removing intermediate container 001a70d95886 [2021-10-11T13:46:33.976Z] ---> 17058e22b236 [2021-10-11T13:46:33.976Z] Step 8/24 : COPY . . [2021-10-11T13:46:34.234Z] ---> 51c710e4d815 [2021-10-11T13:46:34.234Z] Step 9/24 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2021-10-11T13:46:34.234Z] ---> Running in c1599144f6f4 [2021-10-11T13:46:34.803Z] Removing intermediate container c1599144f6f4 [2021-10-11T13:46:34.803Z] ---> b9036668ceb6 [2021-10-11T13:46:34.803Z] Step 10/24 : RUN ${MAKE} [2021-10-11T13:46:34.803Z] ---> Running in 4e536ad496fe [2021-10-11T13:46:35.078Z] 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-11T13:46:45.194Z] CGO_ENABLED=1 GO111MODULE=on go install -tags=safe [2021-10-11T13:46:46.594Z] Removing intermediate container 4e536ad496fe [2021-10-11T13:46:46.594Z] ---> 47faf5a28b99 [2021-10-11T13:46:46.594Z] Step 11/24 : FROM alpine:3.14 [2021-10-11T13:46:47.173Z] 3.14: Pulling from library/alpine [2021-10-11T13:46:47.173Z] a0d0a0d46f8b: Pulling fs layer [2021-10-11T13:46:47.436Z] a0d0a0d46f8b: Verifying Checksum [2021-10-11T13:46:47.436Z] a0d0a0d46f8b: Download complete [2021-10-11T13:46:47.436Z] a0d0a0d46f8b: Pull complete [2021-10-11T13:46:47.436Z] Digest: sha256:e1c082e3d3c45cccac829840a25941e679c25d438cc8412c2fa221cf1a824e6a [2021-10-11T13:46:47.436Z] Status: Downloaded newer image for alpine:3.14 [2021-10-11T13:46:47.436Z] ---> 14119a10abf4 [2021-10-11T13:46:47.436Z] Step 12/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-10-11T13:46:47.701Z] ---> Running in 1828ec8dc559 [2021-10-11T13:46:47.701Z] Removing intermediate container 1828ec8dc559 [2021-10-11T13:46:47.701Z] ---> c8b91e6b7459 [2021-10-11T13:46:47.701Z] Step 13/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-10-11T13:46:47.701Z] ---> Running in c28a52df0afa [2021-10-11T13:46:48.273Z] Removing intermediate container c28a52df0afa [2021-10-11T13:46:48.273Z] ---> c45a66d0e33c [2021-10-11T13:46:48.273Z] Step 14/24 : RUN apk add --update --no-cache zeromq [2021-10-11T13:46:48.273Z] ---> Running in 8b7a6e10fee8 [2021-10-11T13:46:48.535Z] fetch https://nl.alpinelinux.org/alpine/v3.14/main/x86_64/APKINDEX.tar.gz [2021-10-11T13:46:49.476Z] fetch https://nl.alpinelinux.org/alpine/v3.14/community/x86_64/APKINDEX.tar.gz [2021-10-11T13:46:49.737Z] (1/5) Installing libgcc (10.3.1_git20210424-r2) [2021-10-11T13:46:49.737Z] (2/5) Installing libsodium (1.0.18-r0) [2021-10-11T13:46:49.737Z] (3/5) Installing libstdc++ (10.3.1_git20210424-r2) [2021-10-11T13:46:49.998Z] (4/5) Installing libzmq (4.3.4-r0) [2021-10-11T13:46:49.998Z] (5/5) Installing zeromq (4.3.4-r0) [2021-10-11T13:46:49.998Z] Executing busybox-1.33.1-r3.trigger [2021-10-11T13:46:49.998Z] OK: 8 MiB in 19 packages [2021-10-11T13:46:50.573Z] Removing intermediate container 8b7a6e10fee8 [2021-10-11T13:46:50.573Z] ---> 027b00842173 [2021-10-11T13:46:50.573Z] Step 15/24 : WORKDIR / [2021-10-11T13:46:50.573Z] ---> Running in 9d1dff232b41 [2021-10-11T13:46:50.573Z] Removing intermediate container 9d1dff232b41 [2021-10-11T13:46:50.573Z] ---> 395bf1616574 [2021-10-11T13:46:50.573Z] Step 16/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt [2021-10-11T13:46:50.573Z] ---> 5702c92cf84e [2021-10-11T13:46:50.573Z] Step 17/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple [2021-10-11T13:46:51.144Z] ---> e8b9637e56c7 [2021-10-11T13:46:51.144Z] Step 18/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res [2021-10-11T13:46:51.144Z] ---> 066bf541198e [2021-10-11T13:46:51.144Z] Step 19/24 : EXPOSE 59999 [2021-10-11T13:46:51.144Z] ---> Running in 30742ca93ece [2021-10-11T13:46:51.407Z] Removing intermediate container 30742ca93ece [2021-10-11T13:46:51.407Z] ---> 8ef76c025562 [2021-10-11T13:46:51.407Z] Step 20/24 : ENTRYPOINT ["/device-simple"] [2021-10-11T13:46:51.407Z] ---> Running in 78097f31c0a6 [2021-10-11T13:46:51.407Z] Removing intermediate container 78097f31c0a6 [2021-10-11T13:46:51.407Z] ---> 0aec9a4fe3c7 [2021-10-11T13:46:51.407Z] Step 21/24 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2021-10-11T13:46:51.407Z] ---> Running in eaadaffe39bc [2021-10-11T13:46:51.407Z] Removing intermediate container eaadaffe39bc [2021-10-11T13:46:51.407Z] ---> ceaeab95f1f9 [2021-10-11T13:46:51.407Z] Step 22/24 : LABEL arch=amd64 [2021-10-11T13:46:51.407Z] ---> Running in 790ccbb679d8 [2021-10-11T13:46:51.669Z] Removing intermediate container 790ccbb679d8 [2021-10-11T13:46:51.669Z] ---> 66a1e2e40788 [2021-10-11T13:46:51.669Z] Step 23/24 : LABEL git_sha=a844ddaa3ab4011f2596df1e726102124341189c [2021-10-11T13:46:51.669Z] ---> Running in b55bfb6ccbad [2021-10-11T13:46:51.669Z] Removing intermediate container b55bfb6ccbad [2021-10-11T13:46:51.669Z] ---> c331cd48475a [2021-10-11T13:46:51.669Z] Step 24/24 : LABEL version=0.0.0 [2021-10-11T13:46:51.669Z] ---> Running in e2c282251406 [2021-10-11T13:46:51.928Z] Removing intermediate container e2c282251406 [2021-10-11T13:46:51.928Z] ---> 041e9ec2a04f [2021-10-11T13:46:51.928Z] [Warning] One or more build-args [ARCH] were not consumed [2021-10-11T13:46:51.928Z] Successfully built 041e9ec2a04f [2021-10-11T13:46:51.928Z] 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-11T13:46:52.786Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2021-10-11T13:46:52.787Z] [2021-10-11T13:46:52.787Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] sh [2021-10-11T13:46:53.129Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2021-10-11T13:46:53.129Z] latest: Pulling from edgex-lftools-log-publisher [2021-10-11T13:46:53.129Z] b4d181a07f80: Pulling fs layer [2021-10-11T13:46:53.129Z] a1111a8f2ec3: Pulling fs layer [2021-10-11T13:46:53.129Z] ed53099fbce6: Pulling fs layer [2021-10-11T13:46:53.129Z] dc539afda2c1: Pulling fs layer [2021-10-11T13:46:53.129Z] 77bc0d833cb6: Pulling fs layer [2021-10-11T13:46:53.129Z] 9065ff56babe: Pulling fs layer [2021-10-11T13:46:53.129Z] d287ab97295c: Pulling fs layer [2021-10-11T13:46:53.129Z] dc539afda2c1: Waiting [2021-10-11T13:46:53.129Z] 77bc0d833cb6: Waiting [2021-10-11T13:46:53.129Z] 9065ff56babe: Waiting [2021-10-11T13:46:53.129Z] d287ab97295c: Waiting [2021-10-11T13:46:53.129Z] a1111a8f2ec3: Verifying Checksum [2021-10-11T13:46:53.129Z] a1111a8f2ec3: Download complete [2021-10-11T13:46:53.129Z] dc539afda2c1: Verifying Checksum [2021-10-11T13:46:53.129Z] dc539afda2c1: Download complete [2021-10-11T13:46:53.129Z] ed53099fbce6: Verifying Checksum [2021-10-11T13:46:53.129Z] ed53099fbce6: Download complete [2021-10-11T13:46:53.129Z] 9065ff56babe: Verifying Checksum [2021-10-11T13:46:53.129Z] 9065ff56babe: Download complete [2021-10-11T13:46:53.390Z] 77bc0d833cb6: Verifying Checksum [2021-10-11T13:46:53.390Z] 77bc0d833cb6: Download complete [2021-10-11T13:46:53.390Z] b4d181a07f80: Verifying Checksum [2021-10-11T13:46:53.390Z] b4d181a07f80: Download complete [2021-10-11T13:46:53.965Z] d287ab97295c: Verifying Checksum [2021-10-11T13:46:53.965Z] d287ab97295c: Download complete [2021-10-11T13:46:54.913Z] b4d181a07f80: Pull complete [2021-10-11T13:46:54.913Z] a1111a8f2ec3: Pull complete [2021-10-11T13:46:55.484Z] ed53099fbce6: Pull complete [2021-10-11T13:46:55.484Z] dc539afda2c1: Pull complete [2021-10-11T13:46:55.752Z] 77bc0d833cb6: Pull complete [2021-10-11T13:46:56.015Z] 9065ff56babe: Pull complete [2021-10-11T13:47:01.362Z] d287ab97295c: Pull complete [2021-10-11T13:47:01.362Z] Digest: sha256:0c69325c24349bfb3ea32a3c3cbcab1fb66df42c981276dd8ebcf6aa441257c4 [2021-10-11T13:47:01.362Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2021-10-11T13:47:01.362Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] withDockerContainer [2021-10-11T13:47:01.446Z] prd-centos7-docker-4c-2g-401 does not seem to be running inside a container [2021-10-11T13:47:01.481Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/device-sdk-go/1 -v /w/workspace/device-sdk-go/1:/w/workspace/device-sdk-go/1:rw,z -v /w/workspace/device-sdk-go/1@tmp:/w/workspace/device-sdk-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2021-10-11T13:47:04.447Z] $ docker top 7bf342a8f3396f2d128a4b1db7cbc9de41f8cf38069a309b89beeb0741014584 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-10-11T13:47:04.972Z] ---> job-cost.sh [2021-10-11T13:47:04.972Z] lf-activate-venv: SKIPPING [2021-10-11T13:47:04.972Z] INFO: No Stack... [2021-10-11T13:47:19.911Z] INFO: Retrieving Pricing Info for: v3-standard-2 [2021-10-11T13:47:19.911Z] INFO: Archiving Costs [Pipeline] sh [2021-10-11T13:47:20.233Z] + cat /w/workspace/device-sdk-go/1/archives/cost.csv [2021-10-11T13:47:20.233Z] + cut -d, -f6 [Pipeline] lock [2021-10-11T13:47:20.288Z] Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-PR-1032-1-stack-cost] [2021-10-11T13:47:20.293Z] Resource [jenkins-edgexfoundry-device-sdk-go-PR-1032-1-stack-cost] did not exist. Created. [2021-10-11T13:47:20.293Z] Lock acquired on [jenkins-edgexfoundry-device-sdk-go-PR-1032-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2021-10-11T13:47:20.662Z] + echo total: 0.05999999865889549 [Pipeline] stash [2021-10-11T13:47:20.714Z] Stashed 1 file(s) [Pipeline] } [2021-10-11T13:47:20.728Z] Lock released on resource [jenkins-edgexfoundry-device-sdk-go-PR-1032-1-stack-cost] [Pipeline] // lock [Pipeline] } [2021-10-11T13:47:20.784Z] $ docker stop --time=1 7bf342a8f3396f2d128a4b1db7cbc9de41f8cf38069a309b89beeb0741014584 [2021-10-11T13:47:21.916Z] $ docker rm -f 7bf342a8f3396f2d128a4b1db7cbc9de41f8cf38069a309b89beeb0741014584 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [2021-10-11T13:47:35.369Z] Running on prd-ubuntu18.04-docker-arm64-4c-16g-402 in /w/workspace/gexfoundry_device-sdk-go_PR-1032 [Pipeline] { [Pipeline] ws [2021-10-11T13:47:35.409Z] Running in /w/workspace/device-sdk-go/1 [Pipeline] { [Pipeline] checkout [2021-10-11T13:47:35.689Z] Selected Git installation does not exist. Using Default [2021-10-11T13:47:35.689Z] The recommended git tool is: NONE [2021-10-11T13:47:42.310Z] using credential edgex-jenkins-ssh [2021-10-11T13:47:42.386Z] Cloning the remote Git repository [2021-10-11T13:47:42.467Z] Cloning repository git@github.com:edgexfoundry/device-sdk-go.git [2021-10-11T13:47:42.689Z] > git init /w/workspace/device-sdk-go/1 # timeout=10 [2021-10-11T13:47:42.813Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2021-10-11T13:47:42.814Z] > git --version # timeout=10 [2021-10-11T13:47:42.834Z] > git --version # 'git version 2.17.1' [2021-10-11T13:47:42.837Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-10-11T13:47:42.947Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-10-11T13:47:44.326Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2021-10-11T13:47:44.344Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-10-11T13:47:44.378Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2021-10-11T13:47:44.428Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2021-10-11T13:47:44.429Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-10-11T13:47:44.452Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/1032/head:refs/remotes/origin/PR-1032 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2021-10-11T13:47:45.188Z] Merging remotes/origin/main commit 95a9d1abedb9d7c119ffb1f24142991202c879de into PR head commit a844ddaa3ab4011f2596df1e726102124341189c [2021-10-11T13:47:45.483Z] Merge succeeded, producing a844ddaa3ab4011f2596df1e726102124341189c [2021-10-11T13:47:45.483Z] Checking out Revision a844ddaa3ab4011f2596df1e726102124341189c (PR-1032) [2021-10-11T13:47:45.212Z] > git config core.sparsecheckout # timeout=10 [2021-10-11T13:47:45.240Z] > git checkout -f a844ddaa3ab4011f2596df1e726102124341189c # timeout=10 [2021-10-11T13:47:45.368Z] > git remote # timeout=10 [2021-10-11T13:47:45.399Z] > git config --get remote.origin.url # timeout=10 [2021-10-11T13:47:45.415Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-10-11T13:47:45.427Z] > git merge 95a9d1abedb9d7c119ffb1f24142991202c879de # timeout=10 [2021-10-11T13:47:45.458Z] > git rev-parse HEAD^{commit} # timeout=10 [2021-10-11T13:47:45.494Z] > git config core.sparsecheckout # timeout=10 [2021-10-11T13:47:45.511Z] > git checkout -f a844ddaa3ab4011f2596df1e726102124341189c # timeout=10 [2021-10-11T13:47:49.992Z] Commit message: "ci: Update PR template to latest approved" [2021-10-11T13:47:50.064Z] > git --version # timeout=10 [2021-10-11T13:47:50.076Z] > git --version # 'git version 2.17.1' [2021-10-11T13:47:50.086Z] fatal: bad object f1d79d91c36788821211008368c3015072ca53ca [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-10-11T13:47:50.802Z] provisioning config files... [2021-10-11T13:47:50.841Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/1@tmp/config6492760610312877786tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-10-11T13:47:51.503Z] ---> docker-login.sh [2021-10-11T13:47:51.503Z] nexus3.edgexfoundry.org:10001 [2021-10-11T13:47:52.973Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-10-11T13:47:53.254Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-10-11T13:47:53.254Z] Configure a credential helper to remove this warning. See [2021-10-11T13:47:53.254Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-10-11T13:47:53.254Z] [2021-10-11T13:47:53.254Z] Login Succeeded [2021-10-11T13:47:53.254Z] nexus3.edgexfoundry.org:10002 [2021-10-11T13:47:53.866Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-10-11T13:47:53.866Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-10-11T13:47:53.866Z] Configure a credential helper to remove this warning. See [2021-10-11T13:47:53.866Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-10-11T13:47:53.866Z] [2021-10-11T13:47:53.866Z] Login Succeeded [2021-10-11T13:47:53.866Z] nexus3.edgexfoundry.org:10003 [2021-10-11T13:47:54.486Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-10-11T13:47:54.486Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-10-11T13:47:54.486Z] Configure a credential helper to remove this warning. See [2021-10-11T13:47:54.486Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-10-11T13:47:54.486Z] [2021-10-11T13:47:54.486Z] Login Succeeded [2021-10-11T13:47:54.486Z] nexus3.edgexfoundry.org:10004 [2021-10-11T13:47:55.100Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-10-11T13:47:55.100Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-10-11T13:47:55.100Z] Configure a credential helper to remove this warning. See [2021-10-11T13:47:55.100Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-10-11T13:47:55.100Z] [2021-10-11T13:47:55.100Z] Login Succeeded [2021-10-11T13:47:55.100Z] docker.io [2021-10-11T13:47:55.453Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-10-11T13:47:56.093Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-10-11T13:47:56.093Z] Configure a credential helper to remove this warning. See [2021-10-11T13:47:56.093Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-10-11T13:47:56.093Z] [2021-10-11T13:47:56.093Z] Login Succeeded [2021-10-11T13:47:56.093Z] ---> docker-login.sh ends [Pipeline] } [2021-10-11T13:47:56.188Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2021-10-11T13:47:56.754Z] ========================================================= [2021-10-11T13:47:56.754Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine] [2021-10-11T13:47:56.754Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh [2021-10-11T13:47:57.203Z] + 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-11T13:47:57.819Z] Sending build context to Docker daemon 2.668MB [2021-10-11T13:47:57.819Z] Step 1/10 : ARG BASE=golang:1.16-alpine3.14 [2021-10-11T13:47:57.819Z] Step 2/10 : FROM ${BASE} AS builder [2021-10-11T13:47:57.819Z] 1.16-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2021-10-11T13:47:57.819Z] bbf911997326: Pulling fs layer [2021-10-11T13:47:57.819Z] 58ec367f63d7: Pulling fs layer [2021-10-11T13:47:57.819Z] 1b4a6ffa7d45: Pulling fs layer [2021-10-11T13:47:57.819Z] fc5181fea5dc: Pulling fs layer [2021-10-11T13:47:57.819Z] 9c418107303f: Pulling fs layer [2021-10-11T13:47:57.819Z] 284eca6f2348: Pulling fs layer [2021-10-11T13:47:57.819Z] 842844d905b1: Pulling fs layer [2021-10-11T13:47:57.819Z] 901a3a57568e: Pulling fs layer [2021-10-11T13:47:57.819Z] fc5181fea5dc: Waiting [2021-10-11T13:47:57.819Z] 9c418107303f: Waiting [2021-10-11T13:47:57.819Z] 284eca6f2348: Waiting [2021-10-11T13:47:57.819Z] 842844d905b1: Waiting [2021-10-11T13:47:57.819Z] 901a3a57568e: Waiting [2021-10-11T13:47:58.098Z] 1b4a6ffa7d45: Verifying Checksum [2021-10-11T13:47:58.098Z] 1b4a6ffa7d45: Download complete [2021-10-11T13:47:58.098Z] 58ec367f63d7: Verifying Checksum [2021-10-11T13:47:58.098Z] 58ec367f63d7: Download complete [2021-10-11T13:47:58.098Z] 9c418107303f: Verifying Checksum [2021-10-11T13:47:58.098Z] 9c418107303f: Download complete [2021-10-11T13:47:58.098Z] 284eca6f2348: Verifying Checksum [2021-10-11T13:47:58.098Z] 284eca6f2348: Download complete [2021-10-11T13:47:58.098Z] 842844d905b1: Verifying Checksum [2021-10-11T13:47:58.098Z] 842844d905b1: Download complete [2021-10-11T13:47:58.098Z] bbf911997326: Verifying Checksum [2021-10-11T13:47:58.098Z] bbf911997326: Download complete [2021-10-11T13:47:59.111Z] bbf911997326: Pull complete [2021-10-11T13:47:59.728Z] 58ec367f63d7: Pull complete [2021-10-11T13:48:00.010Z] 901a3a57568e: Verifying Checksum [2021-10-11T13:48:00.010Z] 901a3a57568e: Download complete [2021-10-11T13:48:00.010Z] 1b4a6ffa7d45: Pull complete [2021-10-11T13:48:00.618Z] fc5181fea5dc: Verifying Checksum [2021-10-11T13:48:00.618Z] fc5181fea5dc: Download complete [2021-10-11T13:48:10.855Z] fc5181fea5dc: Pull complete [2021-10-11T13:48:10.855Z] 9c418107303f: Pull complete [2021-10-11T13:48:10.855Z] 284eca6f2348: Pull complete [2021-10-11T13:48:11.468Z] 842844d905b1: Pull complete [2021-10-11T13:48:16.925Z] 901a3a57568e: Pull complete [2021-10-11T13:48:16.925Z] Digest: sha256:92108203400274521d8db92c8dd03fc26ad1e7e27843eaecabaf975bf4a1b1e7 [2021-10-11T13:48:16.925Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine [2021-10-11T13:48:16.925Z] ---> 72ade6ffb461 [2021-10-11T13:48:16.925Z] Step 3/10 : ARG MAKE=make build [2021-10-11T13:48:21.289Z] ---> Running in 2a95475e846c [2021-10-11T13:48:21.897Z] Removing intermediate container 2a95475e846c [2021-10-11T13:48:21.897Z] ---> 983df89eb351 [2021-10-11T13:48:21.897Z] Step 4/10 : WORKDIR /device-sdk-go [2021-10-11T13:48:22.182Z] ---> Running in d826a2b67d04 [2021-10-11T13:48:22.466Z] Removing intermediate container d826a2b67d04 [2021-10-11T13:48:22.466Z] ---> 5491284f4e18 [2021-10-11T13:48:22.466Z] Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-10-11T13:48:22.746Z] ---> Running in c105cdcb8f47 [2021-10-11T13:48:23.025Z] Removing intermediate container c105cdcb8f47 [2021-10-11T13:48:23.025Z] ---> 3d5abbb937a7 [2021-10-11T13:48:23.025Z] Step 6/10 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-10-11T13:48:23.638Z] ---> Running in ee3c2bd3c62c [2021-10-11T13:48:26.298Z] Removing intermediate container ee3c2bd3c62c [2021-10-11T13:48:26.298Z] ---> 00d740c351b4 [2021-10-11T13:48:26.298Z] Step 7/10 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev [2021-10-11T13:48:26.298Z] ---> Running in f8a17354a2c9 [2021-10-11T13:48:27.764Z] fetch https://nl.alpinelinux.org/alpine/v3.13/main/aarch64/APKINDEX.tar.gz [2021-10-11T13:48:28.764Z] fetch https://nl.alpinelinux.org/alpine/v3.13/community/aarch64/APKINDEX.tar.gz [2021-10-11T13:48:29.374Z] OK: 218 MiB in 52 packages [2021-10-11T13:48:30.826Z] Removing intermediate container f8a17354a2c9 [2021-10-11T13:48:30.826Z] ---> 1d2d3e3d0fc8 [2021-10-11T13:48:30.826Z] Step 8/10 : COPY . . [2021-10-11T13:48:31.821Z] ---> 203b5b086f53 [2021-10-11T13:48:31.821Z] Step 9/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2021-10-11T13:48:32.105Z] ---> Running in dd7c449591c6 [2021-10-11T13:49:54.033Z] Removing intermediate container dd7c449591c6 [2021-10-11T13:49:54.033Z] ---> 4d46377dbbb4 [2021-10-11T13:49:54.033Z] Step 10/10 : RUN ${MAKE} [2021-10-11T13:49:54.033Z] ---> Running in 9468c98187fd [2021-10-11T13:49:54.033Z] noop [2021-10-11T13:49:54.033Z] Removing intermediate container 9468c98187fd [2021-10-11T13:49:54.033Z] ---> 4c19062ef5c9 [2021-10-11T13:49:54.033Z] Successfully built 4c19062ef5c9 [2021-10-11T13:49:54.033Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh [2021-10-11T13:49:54.418Z] + docker inspect -f . ci-base-image-arm64 [2021-10-11T13:49:54.418Z] . [Pipeline] withDockerContainer [2021-10-11T13:49:54.729Z] prd-ubuntu18.04-docker-arm64-4c-16g-402 does not seem to be running inside a container [2021-10-11T13:49:54.827Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/1 -v /w/workspace/device-sdk-go/1:/w/workspace/device-sdk-go/1:rw,z -v /w/workspace/device-sdk-go/1@tmp:/w/workspace/device-sdk-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2021-10-11T13:49:56.504Z] $ docker top b0e1628220a819bf0e3c0cf6b5a9f4b694063245f49b2918817a43e0ca5ab24a -eo pid,comm [Pipeline] { [Pipeline] sh [2021-10-11T13:49:57.563Z] + go version [2021-10-11T13:49:57.563Z] go version go1.16.8 linux/arm64 [Pipeline] } [2021-10-11T13:49:57.596Z] $ docker stop --time=1 b0e1628220a819bf0e3c0cf6b5a9f4b694063245f49b2918817a43e0ca5ab24a [2021-10-11T13:49:59.446Z] $ docker rm -f b0e1628220a819bf0e3c0cf6b5a9f4b694063245f49b2918817a43e0ca5ab24a [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-10-11T13:50:00.424Z] + docker inspect -f . ci-base-image-arm64 [2021-10-11T13:50:00.424Z] . [Pipeline] withDockerContainer [2021-10-11T13:50:00.717Z] prd-ubuntu18.04-docker-arm64-4c-16g-402 does not seem to be running inside a container [2021-10-11T13:50:00.810Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/1 -v /w/workspace/device-sdk-go/1:/w/workspace/device-sdk-go/1:rw,z -v /w/workspace/device-sdk-go/1@tmp:/w/workspace/device-sdk-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2021-10-11T13:50:02.511Z] $ docker top d67603ea259944dc1c721992f4622e60643dca0391a7de380d36314358a5c500 -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh [2021-10-11T13:50:03.614Z] + make test [2021-10-11T13:50:03.614Z] GO111MODULE=on go test -race -coverprofile=coverage.out ./... [2021-10-11T13:50:30.554Z] ? github.com/edgexfoundry/device-sdk-go/v2 [no test files] [2021-10-11T13:51:38.762Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/cmd/device-simple [no test files] [2021-10-11T13:51:38.762Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/config [no test files] [2021-10-11T13:51:38.762Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/driver [no test files] [2021-10-11T13:51:49.059Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/application 0.314s coverage: 23.7% of statements [2021-10-11T13:51:49.059Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/autodiscovery [no test files] [2021-10-11T13:51:49.059Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/autoevent 0.246s coverage: 28.1% of statements [2021-10-11T13:51:49.059Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/cache 0.282s coverage: 78.9% of statements [2021-10-11T13:51:49.059Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/clients 0.237s coverage: 9.0% of statements [2021-10-11T13:51:49.059Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/common [no test files] [2021-10-11T13:51:49.059Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/config [no test files] [2021-10-11T13:51:49.059Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/container [no test files] [2021-10-11T13:51:49.667Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http 0.310s coverage: 28.7% of statements [2021-10-11T13:51:49.667Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http/correlation [no test files] [2021-10-11T13:51:52.344Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/messaging 1.265s coverage: 83.3% of statements [2021-10-11T13:51:52.344Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/provision [no test files] [2021-10-11T13:51:52.344Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/telemetry [no test files] [2021-10-11T13:51:52.344Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/transformer 0.455s coverage: 57.8% of statements [2021-10-11T13:51:53.808Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/models 3.125s coverage: 89.0% of statements [2021-10-11T13:51:53.808Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/models/mocks [no test files] [2021-10-11T13:51:54.415Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/service 0.199s coverage: 4.9% of statements [2021-10-11T13:51:54.415Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/startup [no test files] [2021-10-11T13:51:55.021Z] GO111MODULE=on go vet ./... [2021-10-11T13:53:03.236Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2021-10-11T13:53:03.236Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2021-10-11T13:53:03.236Z] ./bin/test-attribution-txt.sh [Pipeline] } [2021-10-11T13:53:03.290Z] $ docker stop --time=1 d67603ea259944dc1c721992f4622e60643dca0391a7de380d36314358a5c500 [2021-10-11T13:53:05.386Z] $ docker rm -f d67603ea259944dc1c721992f4622e60643dca0391a7de380d36314358a5c500 [Pipeline] // withDockerContainer [Pipeline] sh [2021-10-11T13:53:06.614Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2021-10-11T13:53:06.656Z] Warning: overwriting stash ‘coverage-report’ [2021-10-11T13:53:07.397Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-10-11T13:53:08.113Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2021-10-11T13:53:08.479Z] + ls -al . [2021-10-11T13:53:08.479Z] total 300 [2021-10-11T13:53:08.479Z] drwxrwxr-x 10 jenkins jenkins 4096 Oct 11 13:52 . [2021-10-11T13:53:08.479Z] drwxrwxr-x 4 jenkins jenkins 4096 Oct 11 13:47 .. [2021-10-11T13:53:08.479Z] -rw-rw-r-- 1 jenkins jenkins 140 Oct 11 13:47 .dockerignore [2021-10-11T13:53:08.479Z] drwxrwxr-x 8 jenkins jenkins 4096 Oct 11 13:47 .git [2021-10-11T13:53:08.479Z] drwxrwxr-x 3 jenkins jenkins 4096 Oct 11 13:47 .github [2021-10-11T13:53:08.479Z] -rw-rw-r-- 1 jenkins jenkins 131 Oct 11 13:47 .gitignore [2021-10-11T13:53:08.479Z] -rw-rw-r-- 1 jenkins jenkins 24816 Oct 11 13:47 CHANGELOG.md [2021-10-11T13:53:08.479Z] -rw-rw-r-- 1 jenkins jenkins 677 Oct 11 13:47 GOVERNANCE.md [2021-10-11T13:53:08.479Z] -rw-rw-r-- 1 jenkins jenkins 880 Oct 11 13:47 Jenkinsfile [2021-10-11T13:53:08.479Z] -rw-rw-r-- 1 jenkins jenkins 11341 Oct 11 13:47 LICENSE [2021-10-11T13:53:08.479Z] -rw-rw-r-- 1 jenkins jenkins 1120 Oct 11 13:47 Makefile [2021-10-11T13:53:08.479Z] -rw-rw-r-- 1 jenkins jenkins 619 Oct 11 13:47 OWNERS.md [2021-10-11T13:53:08.479Z] -rw-rw-r-- 1 jenkins jenkins 7646 Oct 11 13:47 README.md [2021-10-11T13:53:08.479Z] -rw-rw-r-- 1 jenkins jenkins 5 Oct 11 13:42 VERSION [2021-10-11T13:53:08.479Z] drwxrwxr-x 2 jenkins jenkins 4096 Oct 11 13:47 bin [2021-10-11T13:53:08.479Z] -rw-r--r-- 1 jenkins jenkins 126160 Oct 11 13:51 coverage.out [2021-10-11T13:53:08.479Z] drwxrwxr-x 5 jenkins jenkins 4096 Oct 11 13:47 example [2021-10-11T13:53:08.479Z] -rw-rw-r-- 1 jenkins jenkins 583 Oct 11 13:47 go.mod [2021-10-11T13:53:08.479Z] -rw-rw-r-- 1 jenkins jenkins 49618 Oct 11 13:47 go.sum [2021-10-11T13:53:08.479Z] drwxrwxr-x 15 jenkins jenkins 4096 Oct 11 13:47 internal [2021-10-11T13:53:08.479Z] drwxrwxr-x 3 jenkins jenkins 4096 Oct 11 13:47 openapi [2021-10-11T13:53:08.479Z] drwxrwxr-x 5 jenkins jenkins 4096 Oct 11 13:47 pkg [2021-10-11T13:53:08.479Z] drwxrwxr-x 4 jenkins jenkins 4096 Oct 11 13:47 snap [2021-10-11T13:53:08.479Z] -rw-rw-r-- 1 jenkins jenkins 222 Oct 11 13:47 version.go [Pipeline] isUnix [Pipeline] sh [2021-10-11T13:53:08.862Z] + 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=a844ddaa3ab4011f2596df1e726102124341189c --label arch=arm64 --label version=0.0.0 . [2021-10-11T13:53:09.481Z] Sending build context to Docker daemon 2.795MB [2021-10-11T13:53:09.481Z] Step 1/24 : ARG BASE=golang:1.16-alpine3.14 [2021-10-11T13:53:09.481Z] Step 2/24 : FROM ${BASE} AS builder [2021-10-11T13:53:09.481Z] ---> 4c19062ef5c9 [2021-10-11T13:53:09.481Z] Step 3/24 : ARG MAKE=make build [2021-10-11T13:53:09.761Z] ---> Running in fa87a786abf6 [2021-10-11T13:53:10.044Z] Removing intermediate container fa87a786abf6 [2021-10-11T13:53:10.044Z] ---> 19e56f2743c3 [2021-10-11T13:53:10.044Z] Step 4/24 : WORKDIR /device-sdk-go [2021-10-11T13:53:10.322Z] ---> Running in e8d8b95ebb39 [2021-10-11T13:53:10.932Z] Removing intermediate container e8d8b95ebb39 [2021-10-11T13:53:10.932Z] ---> f2055e6e731f [2021-10-11T13:53:10.932Z] Step 5/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-10-11T13:53:10.932Z] ---> Running in badb87f0c254 [2021-10-11T13:53:11.542Z] Removing intermediate container badb87f0c254 [2021-10-11T13:53:11.542Z] ---> 3f14963b6ea6 [2021-10-11T13:53:11.542Z] Step 6/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-10-11T13:53:11.542Z] ---> Running in 9072f4724674 [2021-10-11T13:53:14.204Z] Removing intermediate container 9072f4724674 [2021-10-11T13:53:14.204Z] ---> d8c0b091d49a [2021-10-11T13:53:14.204Z] Step 7/24 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev [2021-10-11T13:53:14.204Z] ---> Running in 7d59e627a871 [2021-10-11T13:53:15.207Z] fetch https://nl.alpinelinux.org/alpine/v3.13/main/aarch64/APKINDEX.tar.gz [2021-10-11T13:53:16.202Z] fetch https://nl.alpinelinux.org/alpine/v3.13/community/aarch64/APKINDEX.tar.gz [2021-10-11T13:53:16.809Z] OK: 218 MiB in 52 packages [2021-10-11T13:53:18.271Z] Removing intermediate container 7d59e627a871 [2021-10-11T13:53:18.271Z] ---> 57bbbeb5cc65 [2021-10-11T13:53:18.271Z] Step 8/24 : COPY . . [2021-10-11T13:53:19.266Z] ---> 6b7ae255f585 [2021-10-11T13:53:19.266Z] Step 9/24 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2021-10-11T13:53:19.546Z] ---> Running in 8efc9ce83dfb [2021-10-11T13:53:22.197Z] Removing intermediate container 8efc9ce83dfb [2021-10-11T13:53:22.197Z] ---> 1ddb821b616a [2021-10-11T13:53:22.197Z] Step 10/24 : RUN ${MAKE} [2021-10-11T13:53:22.197Z] ---> Running in fcfa88180de5 [2021-10-11T13:53:23.651Z] 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-11T13:54:02.810Z] CGO_ENABLED=1 GO111MODULE=on go install -tags=safe [2021-10-11T13:54:02.810Z] Removing intermediate container fcfa88180de5 [2021-10-11T13:54:02.810Z] ---> 3f37483d2e77 [2021-10-11T13:54:02.810Z] Step 11/24 : FROM alpine:3.14 [2021-10-11T13:54:02.810Z] 3.14: Pulling from library/alpine [2021-10-11T13:54:02.810Z] 552d1f2373af: Pulling fs layer [2021-10-11T13:54:03.093Z] 552d1f2373af: Verifying Checksum [2021-10-11T13:54:03.093Z] 552d1f2373af: Download complete [2021-10-11T13:54:03.704Z] 552d1f2373af: Pull complete [2021-10-11T13:54:03.704Z] Digest: sha256:e1c082e3d3c45cccac829840a25941e679c25d438cc8412c2fa221cf1a824e6a [2021-10-11T13:54:03.704Z] Status: Downloaded newer image for alpine:3.14 [2021-10-11T13:54:03.704Z] ---> bb3de5531c18 [2021-10-11T13:54:03.704Z] Step 12/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-10-11T13:54:03.981Z] ---> Running in 008b8a1e50a0 [2021-10-11T13:54:04.260Z] Removing intermediate container 008b8a1e50a0 [2021-10-11T13:54:04.260Z] ---> 9ca752e1b0f2 [2021-10-11T13:54:04.260Z] Step 13/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-10-11T13:54:04.538Z] ---> Running in f19e5bcb046e [2021-10-11T13:54:06.537Z] Removing intermediate container f19e5bcb046e [2021-10-11T13:54:06.537Z] ---> 254036b4b26f [2021-10-11T13:54:06.537Z] Step 14/24 : RUN apk add --update --no-cache zeromq [2021-10-11T13:54:06.815Z] ---> Running in 507345fad690 [2021-10-11T13:54:08.271Z] fetch https://nl.alpinelinux.org/alpine/v3.14/main/aarch64/APKINDEX.tar.gz [2021-10-11T13:54:09.268Z] fetch https://nl.alpinelinux.org/alpine/v3.14/community/aarch64/APKINDEX.tar.gz [2021-10-11T13:54:09.876Z] (1/5) Installing libgcc (10.3.1_git20210424-r2) [2021-10-11T13:54:09.876Z] (2/5) Installing libsodium (1.0.18-r0) [2021-10-11T13:54:10.152Z] (3/5) Installing libstdc++ (10.3.1_git20210424-r2) [2021-10-11T13:54:10.152Z] (4/5) Installing libzmq (4.3.4-r0) [2021-10-11T13:54:10.433Z] (5/5) Installing zeromq (4.3.4-r0) [2021-10-11T13:54:10.433Z] Executing busybox-1.33.1-r3.trigger [2021-10-11T13:54:10.433Z] OK: 8 MiB in 19 packages [2021-10-11T13:54:11.901Z] Removing intermediate container 507345fad690 [2021-10-11T13:54:11.901Z] ---> 997f6ed52832 [2021-10-11T13:54:11.901Z] Step 15/24 : WORKDIR / [2021-10-11T13:54:11.901Z] ---> Running in d86eb8c63bde [2021-10-11T13:54:12.509Z] Removing intermediate container d86eb8c63bde [2021-10-11T13:54:12.509Z] ---> ed3949f45663 [2021-10-11T13:54:12.509Z] Step 16/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt [2021-10-11T13:54:13.123Z] ---> 2a2d25aca84e [2021-10-11T13:54:13.123Z] Step 17/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple [2021-10-11T13:54:14.579Z] ---> 0ef80e8f0bb2 [2021-10-11T13:54:14.579Z] Step 18/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res [2021-10-11T13:54:15.572Z] ---> c9442ee2faad [2021-10-11T13:54:15.572Z] Step 19/24 : EXPOSE 59999 [2021-10-11T13:54:15.572Z] ---> Running in cd6e7a33238d [2021-10-11T13:54:16.178Z] Removing intermediate container cd6e7a33238d [2021-10-11T13:54:16.178Z] ---> a8bd1927e4cd [2021-10-11T13:54:16.178Z] Step 20/24 : ENTRYPOINT ["/device-simple"] [2021-10-11T13:54:16.178Z] ---> Running in 70544ef2f300 [2021-10-11T13:54:16.465Z] Removing intermediate container 70544ef2f300 [2021-10-11T13:54:16.465Z] ---> a765abd18eb9 [2021-10-11T13:54:16.465Z] Step 21/24 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2021-10-11T13:54:16.755Z] ---> Running in 6466e96c98a9 [2021-10-11T13:54:17.362Z] Removing intermediate container 6466e96c98a9 [2021-10-11T13:54:17.362Z] ---> 39fb3a5bf39f [2021-10-11T13:54:17.362Z] Step 22/24 : LABEL arch=arm64 [2021-10-11T13:54:17.362Z] ---> Running in 90af7e885076 [2021-10-11T13:54:17.969Z] Removing intermediate container 90af7e885076 [2021-10-11T13:54:17.969Z] ---> 005edf1993c9 [2021-10-11T13:54:17.969Z] Step 23/24 : LABEL git_sha=a844ddaa3ab4011f2596df1e726102124341189c [2021-10-11T13:54:17.969Z] ---> Running in 1314645eed88 [2021-10-11T13:54:18.574Z] Removing intermediate container 1314645eed88 [2021-10-11T13:54:18.574Z] ---> 21dfbe4425a3 [2021-10-11T13:54:18.574Z] Step 24/24 : LABEL version=0.0.0 [2021-10-11T13:54:18.574Z] ---> Running in ba24cc31d4cb [2021-10-11T13:54:19.181Z] Removing intermediate container ba24cc31d4cb [2021-10-11T13:54:19.181Z] ---> 0b39c49f8336 [2021-10-11T13:54:19.181Z] [Warning] One or more build-args [ARCH] were not consumed [2021-10-11T13:54:19.181Z] Successfully built 0b39c49f8336 [2021-10-11T13:54:19.181Z] 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-11T13:54:19.986Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2021-10-11T13:54:20.265Z] [2021-10-11T13:54:20.265Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] sh [2021-10-11T13:54:20.664Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2021-10-11T13:54:20.953Z] arm64: Pulling from edgex-lftools-log-publisher [2021-10-11T13:54:20.953Z] 448f6bf000e3: Pulling fs layer [2021-10-11T13:54:20.953Z] f757da607395: Pulling fs layer [2021-10-11T13:54:20.953Z] 05883995daec: Pulling fs layer [2021-10-11T13:54:20.953Z] 8603b9c90790: Pulling fs layer [2021-10-11T13:54:20.953Z] 1560dd03e051: Pulling fs layer [2021-10-11T13:54:20.953Z] 27f5ce0e4adf: Pulling fs layer [2021-10-11T13:54:20.953Z] c2d8d7efcc4b: Pulling fs layer [2021-10-11T13:54:20.953Z] 27f5ce0e4adf: Waiting [2021-10-11T13:54:20.953Z] c2d8d7efcc4b: Waiting [2021-10-11T13:54:20.953Z] 1560dd03e051: Waiting [2021-10-11T13:54:20.953Z] 8603b9c90790: Waiting [2021-10-11T13:54:21.238Z] f757da607395: Verifying Checksum [2021-10-11T13:54:21.238Z] f757da607395: Download complete [2021-10-11T13:54:21.238Z] 8603b9c90790: Verifying Checksum [2021-10-11T13:54:21.238Z] 8603b9c90790: Download complete [2021-10-11T13:54:21.238Z] 1560dd03e051: Verifying Checksum [2021-10-11T13:54:21.238Z] 1560dd03e051: Download complete [2021-10-11T13:54:21.238Z] 27f5ce0e4adf: Verifying Checksum [2021-10-11T13:54:21.238Z] 27f5ce0e4adf: Download complete [2021-10-11T13:54:21.520Z] 05883995daec: Verifying Checksum [2021-10-11T13:54:21.520Z] 05883995daec: Download complete [2021-10-11T13:54:21.520Z] 448f6bf000e3: Verifying Checksum [2021-10-11T13:54:21.520Z] 448f6bf000e3: Download complete [2021-10-11T13:54:24.182Z] c2d8d7efcc4b: Verifying Checksum [2021-10-11T13:54:24.182Z] c2d8d7efcc4b: Download complete [2021-10-11T13:54:25.179Z] 448f6bf000e3: Pull complete [2021-10-11T13:54:25.786Z] f757da607395: Pull complete [2021-10-11T13:54:27.247Z] 05883995daec: Pull complete [2021-10-11T13:54:27.853Z] 8603b9c90790: Pull complete [2021-10-11T13:54:28.845Z] 1560dd03e051: Pull complete [2021-10-11T13:54:29.122Z] 27f5ce0e4adf: Pull complete [2021-10-11T13:54:44.312Z] c2d8d7efcc4b: Pull complete [2021-10-11T13:54:44.312Z] Digest: sha256:42f6a1c33103aa4ecfebf648e29883a20fd84132c0f0d4f855d8bcfd8dd9c454 [2021-10-11T13:54:44.312Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2021-10-11T13:54:44.312Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] withDockerContainer [2021-10-11T13:54:44.614Z] prd-ubuntu18.04-docker-arm64-4c-16g-402 does not seem to be running inside a container [2021-10-11T13:54:44.705Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/device-sdk-go/1 -v /w/workspace/device-sdk-go/1:/w/workspace/device-sdk-go/1:rw,z -v /w/workspace/device-sdk-go/1@tmp:/w/workspace/device-sdk-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat [2021-10-11T13:54:48.714Z] $ docker top a033d5f8dfd0327c3dc321057d177c636b001bd18e966a9ae4e192001da648d7 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-10-11T13:54:49.773Z] ---> job-cost.sh [2021-10-11T13:54:49.773Z] lf-activate-venv: SKIPPING [2021-10-11T13:54:49.773Z] INFO: No Stack... [2021-10-11T13:55:22.213Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2021-10-11T13:55:22.213Z] INFO: Archiving Costs [Pipeline] sh [2021-10-11T13:55:22.915Z] + cut -d, -f6 [2021-10-11T13:55:22.915Z] + cat /w/workspace/device-sdk-go/1/archives/cost.csv [Pipeline] lock [2021-10-11T13:55:23.010Z] Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-PR-1032-1-stack-cost] [2021-10-11T13:55:23.014Z] Resource [jenkins-edgexfoundry-device-sdk-go-PR-1032-1-stack-cost] did not exist. Created. [2021-10-11T13:55:23.014Z] Lock acquired on [jenkins-edgexfoundry-device-sdk-go-PR-1032-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2021-10-11T13:55:23.779Z] /w/workspace/device-sdk-go/1@tmp/durable-e7322cd2/script.sh: 1: /w/workspace/device-sdk-go/1@tmp/durable-e7322cd2/script.sh: Syntax error: Unterminated quoted string [Pipeline] sh [2021-10-11T13:55:24.563Z] + echo total: 0.10999999940395355 [Pipeline] stash [2021-10-11T13:55:24.602Z] Warning: overwriting stash ‘stack-cost’ [2021-10-11T13:55:24.698Z] Stashed 1 file(s) [Pipeline] } [2021-10-11T13:55:24.713Z] Lock released on resource [jenkins-edgexfoundry-device-sdk-go-PR-1032-1-stack-cost] [Pipeline] // lock [Pipeline] } [2021-10-11T13:55:24.762Z] $ docker stop --time=1 a033d5f8dfd0327c3dc321057d177c636b001bd18e966a9ae4e192001da648d7 [2021-10-11T13:55:26.434Z] $ docker rm -f a033d5f8dfd0327c3dc321057d177c636b001bd18e966a9ae4e192001da648d7 [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-11T13:55:27.497Z] provisioning config files... [2021-10-11T13:55:27.509Z] copy managed file [device-sdk-go-codecov-token] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1032@tmp/config5529387585173499707tmp [Pipeline] { [Pipeline] sh [2021-10-11T13:55:27.847Z] + set +x [2021-10-11T13:55:27.847Z] + curl -s https://codecov.io/bash [2021-10-11T13:55:27.847Z] + bash -s -- [2021-10-11T13:55:27.847Z] [2021-10-11T13:55:27.847Z] _____ _ [2021-10-11T13:55:27.847Z] / ____| | | [2021-10-11T13:55:27.847Z] | | ___ __| | ___ ___ _____ __ [2021-10-11T13:55:27.847Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2021-10-11T13:55:27.847Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2021-10-11T13:55:27.847Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2021-10-11T13:55:27.847Z] Bash-1.0.6 [2021-10-11T13:55:27.847Z] [2021-10-11T13:55:27.847Z] [2021-10-11T13:55:27.847Z] ==> git version 2.24.4 found [2021-10-11T13:55:27.847Z] ==> 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-11T13:55:27.847Z] Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtsp scp sftp smtp smtps telnet tftp [2021-10-11T13:55:27.847Z] Features: AsynchDNS GSS-Negotiate IDN IPv6 Largefile NTLM NTLM_WB SSL libz unix-sockets [2021-10-11T13:55:27.847Z] ==> Jenkins CI detected. [2021-10-11T13:55:27.847Z] current dir:  /w/workspace/gexfoundry_device-sdk-go_PR-1032 [2021-10-11T13:55:27.847Z] project root: . [2021-10-11T13:55:27.847Z] --> token set from env [2021-10-11T13:55:27.847Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2021-10-11T13:55:28.111Z] ==> Running gcov in . (disable via -X gcov) [2021-10-11T13:55:28.111Z] ==> Python coveragepy not found [2021-10-11T13:55:28.111Z] ==> Searching for coverage reports in: [2021-10-11T13:55:28.111Z] + . [2021-10-11T13:55:28.111Z] -> Found 1 reports [2021-10-11T13:55:28.111Z] ==> Detecting git/mercurial file structure [2021-10-11T13:55:28.111Z] ==> Reading reports [2021-10-11T13:55:28.111Z] + ./coverage.out bytes=126160 [2021-10-11T13:55:28.111Z] ==> Appending adjustments [2021-10-11T13:55:28.111Z] https://docs.codecov.io/docs/fixing-reports [2021-10-11T13:55:28.373Z] + Found adjustments [2021-10-11T13:55:28.373Z] ==> Gzipping contents [2021-10-11T13:55:28.373Z] 16K /tmp/codecov.XMak7q.gz [2021-10-11T13:55:28.373Z] ==> Uploading reports [2021-10-11T13:55:28.373Z] url: https://codecov.io [2021-10-11T13:55:28.373Z] query: branch=PR-1032&commit=a844ddaa3ab4011f2596df1e726102124341189c&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-1032%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=1032&job=&cmd_args= [2021-10-11T13:55:28.373Z] -> Pinging Codecov [2021-10-11T13:55:28.373Z] https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=6fc62cd9-fce6-47f0-85f4-af589338491a&branch=PR-1032&commit=a844ddaa3ab4011f2596df1e726102124341189c&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-1032%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=1032&job=&cmd_args= [2021-10-11T13:55:28.632Z] -> Uploading to [2021-10-11T13:55:28.632Z] https://storage.googleapis.com/codecov/v4/raw/2021-10-11/7E55EF52A471D76F132DFD9A03CDDE97/a844ddaa3ab4011f2596df1e726102124341189c/75d2a043-228a-447d-a83e-f0b7233a56f8.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EKKHVKCKHW7KBCGM7IHR55T63V2PAVJWLVFNITJHDU5G6R5IRN3LMWJA%2F20211011%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20211011T135528Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=4e85e9c6539fcec464c5ae7a402774af74b52d72ebcfe460eb57bcab10e4d92e [2021-10-11T13:55:28.632Z] % Total % Received % Xferd Average Speed Time Time Time Current [2021-10-11T13:55:28.633Z] Dload Upload Total Spent Left Speed [2021-10-11T13:55:28.894Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 16055 0 0 100 16055 0 49272 --:--:-- --:--:-- --:--:-- 49248 [2021-10-11T13:55:28.894Z] -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/device-sdk-go/commit/a844ddaa3ab4011f2596df1e726102124341189c [Pipeline] } [2021-10-11T13:55:28.911Z] 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-11T13:55:30.783Z] + '[' -d /w/workspace/gexfoundry_device-sdk-go_PR-1032/archives ']' [Pipeline] libraryResource [Pipeline] sh [2021-10-11T13:55:31.102Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2021-10-11T13:55:31.696Z] ---> package-listing.sh [2021-10-11T13:55:31.696Z] ++ tr '[:upper:]' '[:lower:]' [2021-10-11T13:55:31.696Z] ++ facter osfamily [2021-10-11T13:55:31.960Z] + OS_FAMILY=redhat [2021-10-11T13:55:31.960Z] + workspace=/w/workspace/gexfoundry_device-sdk-go_PR-1032 [2021-10-11T13:55:31.960Z] + START_PACKAGES=/tmp/packages_start.txt [2021-10-11T13:55:31.960Z] + END_PACKAGES=/tmp/packages_end.txt [2021-10-11T13:55:31.960Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2021-10-11T13:55:31.960Z] + PACKAGES=/tmp/packages_start.txt [2021-10-11T13:55:31.960Z] + '[' /w/workspace/gexfoundry_device-sdk-go_PR-1032 ']' [2021-10-11T13:55:31.960Z] + PACKAGES=/tmp/packages_end.txt [2021-10-11T13:55:31.960Z] + case "${OS_FAMILY}" in [2021-10-11T13:55:31.960Z] + sort [2021-10-11T13:55:31.960Z] + rpm -qa [2021-10-11T13:55:32.536Z] + '[' -f /tmp/packages_start.txt ']' [2021-10-11T13:55:32.536Z] + '[' -f /tmp/packages_end.txt ']' [2021-10-11T13:55:32.536Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2021-10-11T13:55:32.536Z] + '[' /w/workspace/gexfoundry_device-sdk-go_PR-1032 ']' [2021-10-11T13:55:32.536Z] + mkdir -p /w/workspace/gexfoundry_device-sdk-go_PR-1032/archives/ [2021-10-11T13:55:32.536Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_device-sdk-go_PR-1032/archives/ [Pipeline] echo [2021-10-11T13:55:32.565Z] 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-1032/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2021-10-11T13:55:32.877Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] sh [2021-10-11T13:55:33.473Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2021-10-11T13:55:33.473Z] [2021-10-11T13:55:33.473Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] sh [2021-10-11T13:55:33.807Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2021-10-11T13:55:33.807Z] latest: Pulling from edgex-lftools-log-publisher [2021-10-11T13:55:33.807Z] b4d181a07f80: Pulling fs layer [2021-10-11T13:55:33.807Z] a1111a8f2ec3: Pulling fs layer [2021-10-11T13:55:33.807Z] ed53099fbce6: Pulling fs layer [2021-10-11T13:55:33.807Z] dc539afda2c1: Pulling fs layer [2021-10-11T13:55:33.807Z] 77bc0d833cb6: Pulling fs layer [2021-10-11T13:55:33.807Z] 9065ff56babe: Pulling fs layer [2021-10-11T13:55:33.807Z] d287ab97295c: Pulling fs layer [2021-10-11T13:55:33.807Z] 77bc0d833cb6: Waiting [2021-10-11T13:55:33.807Z] 9065ff56babe: Waiting [2021-10-11T13:55:33.807Z] d287ab97295c: Waiting [2021-10-11T13:55:33.807Z] dc539afda2c1: Waiting [2021-10-11T13:55:33.807Z] a1111a8f2ec3: Verifying Checksum [2021-10-11T13:55:33.807Z] a1111a8f2ec3: Download complete [2021-10-11T13:55:33.807Z] dc539afda2c1: Verifying Checksum [2021-10-11T13:55:33.807Z] dc539afda2c1: Download complete [2021-10-11T13:55:34.069Z] 77bc0d833cb6: Verifying Checksum [2021-10-11T13:55:34.069Z] 77bc0d833cb6: Download complete [2021-10-11T13:55:34.069Z] ed53099fbce6: Verifying Checksum [2021-10-11T13:55:34.069Z] ed53099fbce6: Download complete [2021-10-11T13:55:34.069Z] 9065ff56babe: Verifying Checksum [2021-10-11T13:55:34.069Z] 9065ff56babe: Download complete [2021-10-11T13:55:34.069Z] b4d181a07f80: Verifying Checksum [2021-10-11T13:55:34.069Z] b4d181a07f80: Download complete [2021-10-11T13:55:34.650Z] d287ab97295c: Verifying Checksum [2021-10-11T13:55:34.650Z] d287ab97295c: Download complete [2021-10-11T13:55:35.603Z] b4d181a07f80: Pull complete [2021-10-11T13:55:35.603Z] a1111a8f2ec3: Pull complete [2021-10-11T13:55:36.185Z] ed53099fbce6: Pull complete [2021-10-11T13:55:36.185Z] dc539afda2c1: Pull complete [2021-10-11T13:55:36.762Z] 77bc0d833cb6: Pull complete [2021-10-11T13:55:36.762Z] 9065ff56babe: Pull complete [2021-10-11T13:55:42.091Z] d287ab97295c: Pull complete [2021-10-11T13:55:42.091Z] Digest: sha256:0c69325c24349bfb3ea32a3c3cbcab1fb66df42c981276dd8ebcf6aa441257c4 [2021-10-11T13:55:42.091Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2021-10-11T13:55:42.091Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] withDockerContainer [2021-10-11T13:55:42.172Z] prd-centos7-docker-4c-2g-398 does not seem to be running inside a container [2021-10-11T13:55:42.207Z] $ 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-1032/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-1032 -v /w/workspace/gexfoundry_device-sdk-go_PR-1032:/w/workspace/gexfoundry_device-sdk-go_PR-1032:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1032@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1032@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2021-10-11T13:55:44.492Z] $ docker top b240755c91860f2eb6da79c0d0e20eb2bb4ad9867e819a55bebfabedecac1781 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-10-11T13:55:44.897Z] + touch /tmp/pre-build-complete [Pipeline] sh [2021-10-11T13:55:45.214Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2021-10-11T13:55:45.520Z] + ls /var/log/sa-host [2021-10-11T13:55:45.520Z] + sadf -c /var/log/sa-host/sa11 [2021-10-11T13:55:45.520Z] file_magic: OK [2021-10-11T13:55:45.520Z] HZ: Using current value: 100 [2021-10-11T13:55:45.520Z] file_header: OK [2021-10-11T13:55:45.520Z] 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-11T13:55:45.520Z] Statistics: [2021-10-11T13:55:45.520Z] HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... [2021-10-11T13:55:45.520Z] File successfully converted to sysstat format version 12.0.3 [2021-10-11T13:55:45.520Z] + sadf -c /var/log/sa-host/sa30 [2021-10-11T13:55:45.520Z] file_magic: OK [2021-10-11T13:55:45.520Z] HZ: Using current value: 100 [2021-10-11T13:55:45.520Z] file_header: OK [2021-10-11T13:55:45.520Z] 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-11T13:55:45.520Z] Statistics: [2021-10-11T13:55:45.520Z] Hnuu...uuuununununu...Hnuu...uuuununununu... [2021-10-11T13:55:45.520Z] File successfully converted to sysstat format version 12.0.3 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-10-11T13:55:45.878Z] provisioning config files... [2021-10-11T13:55:45.890Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1032@tmp/config1519034708481671040tmp [Pipeline] { [Pipeline] echo [2021-10-11T13:55:45.926Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2021-10-11T13:55:46.245Z] ---> create-netrc.sh [Pipeline] } [2021-10-11T13:55:46.266Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2021-10-11T13:55:46.664Z] ---> python-tools-install.sh [Pipeline] echo [2021-10-11T13:55:46.688Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2021-10-11T13:55:47.010Z] ---> sudo-logs.sh [2021-10-11T13:55:47.010Z] Archiving 'sudo' log.. [2021-10-11T13:55:47.010Z] sudo: unable to resolve host prd-centos7-docker-4c-2g-398.novalocal: Name or service not known [2021-10-11T13:55:47.010Z] sudo: unable to resolve host prd-centos7-docker-4c-2g-398.novalocal: Name or service not known [Pipeline] unstash [Pipeline] echo [2021-10-11T13:55:47.069Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2021-10-11T13:55:47.392Z] ---> job-cost.sh [2021-10-11T13:55:47.392Z] lf-activate-venv: SKIPPING [2021-10-11T13:55:47.392Z] DEBUG: total: 0.10999999940395355 [2021-10-11T13:55:47.392Z] INFO: Retrieving Stack Cost... [2021-10-11T13:55:49.314Z] INFO: Retrieving Pricing Info for: v3-standard-2 [2021-10-11T13:55:49.314Z] INFO: Archiving Costs [Pipeline] echo [2021-10-11T13:55:49.340Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2021-10-11T13:55:49.661Z] ---> logs-deploy.sh [2021-10-11T13:55:49.661Z] lf-activate-venv: SKIPPING [2021-10-11T13:55:49.661Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-1032/1 [2021-10-11T13:55:49.661Z] INFO: archiving workspace using pattern(s): [2021-10-11T13:55:50.604Z] Archives upload complete. [2021-10-11T13:55:50.604Z] INFO: archiving logs to Nexus