Pull request #128 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 soda480 for edgexfoundry/device-rest-go Obtained Jenkinsfile from b263c2e12538d2124d0c359fc27e2a2a90b1ec1b+ac4b371315fba0b9546dc2a95c8393f838fbe7e4 (d05dd5874811c4b9622a7b86bc01c1f1a758d753) 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-ssh4575570038988883279.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 155abbc8877922835dbd6f2f82c828d26e35ec40 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-ssh708473906904650145.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 155abbc8877922835dbd6f2f82c828d26e35ec40 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-rest-go/branches/PR-128/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-rest-go/branches/PR-128/workspace@libs/edgex-global-pipelines@tmp/jenkins-gitclient-ssh5255382903461152421.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-rest-go/branches/PR-128/workspace@libs/edgex-global-pipelines@tmp/jenkins-gitclient-ssh7745147435569662049.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 155abbc8877922835dbd6f2f82c828d26e35ec40 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 155abbc8877922835dbd6f2f82c828d26e35ec40 # timeout=10 Commit message: "Merge pull request #342 from ernestojeda/fix-c-docker-image-names" > 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-ssh3893402017520047487.key > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision 98bb157299c17168c94e81a7dba3d05dc38b0f72 The recommended git tool is: NONE using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning with configured refspecs honoured and without tags Cloning repository git@github.com:lfit/releng-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/device-rest-go/branches/PR-128/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-rest-go/branches/PR-128/workspace@libs/lf-pipelines@tmp/jenkins-gitclient-ssh1259891425767622418.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 Avoid second fetch Checking out Revision 98bb157299c17168c94e81a7dba3d05dc38b0f72 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 98bb157299c17168c94e81a7dba3d05dc38b0f72 # timeout=10 Commit message: "Docs: Add example Jenkinsfile to documentation" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 > git --version # timeout=10 > git --version # 'git version 2.16.6' fatal: bad object 155abbc8877922835dbd6f2f82c828d26e35ec40 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-rest-go] ========================================================= [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-rest-go-settings PROJECT: device-rest-go USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.16 GOPROXY: https://nexus3.edgexfoundry.org/repository/go-proxy/ DOCKER_BASE_IMAGE: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-rest DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: false SWAGGER_API_FOLDERS: openapi/v1 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] node Still waiting to schedule task Waiting for next available executor on ‘centos7-docker-4c-2g’ Running on prd-centos7-docker-4c-2g-638 in /w/workspace/gexfoundry_device-rest-go_PR-128 [Pipeline] { [Pipeline] stage [Pipeline] { (Declarative: Checkout SCM) [Pipeline] checkout The recommended git tool is: git using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning repository git@github.com:edgexfoundry/device-rest-go.git > git init /w/workspace/gexfoundry_device-rest-go_PR-128 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-rest-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-rest-go_PR-128@tmp/jenkins-gitclient-ssh3198717613030507044.key > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 Merging remotes/origin/main commit ac4b371315fba0b9546dc2a95c8393f838fbe7e4 into PR head commit b263c2e12538d2124d0c359fc27e2a2a90b1ec1b Merge succeeded, producing b263c2e12538d2124d0c359fc27e2a2a90b1ec1b Checking out Revision b263c2e12538d2124d0c359fc27e2a2a90b1ec1b (PR-128) > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-rest-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-rest-go_PR-128@tmp/jenkins-gitclient-ssh8820549983217644185.key > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/pull/128/head:refs/remotes/origin/PR-128 +refs/heads/main:refs/remotes/origin/main # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f b263c2e12538d2124d0c359fc27e2a2a90b1ec1b # 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-rest-go_PR-128@tmp/jenkins-gitclient-ssh8933775552839848617.key > git merge ac4b371315fba0b9546dc2a95c8393f838fbe7e4 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f b263c2e12538d2124d0c359fc27e2a2a90b1ec1b # timeout=10 Commit message: "docs: Update build status badge" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.24.4' fatal: bad object 155abbc8877922835dbd6f2f82c828d26e35ec40 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2021-07-30T14:47:36.664Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2021-07-30T14:47:36.866Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2021-07-30T14:47:36.982Z] ========================================================= [2021-07-30T14:47:36.982Z] EdgeX Global Pipelines Version Info [2021-07-30T14:47:36.982Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2021-07-30T14:47:38.280Z] ------------------- [2021-07-30T14:47:38.280Z] stable info: [2021-07-30T14:47:38.280Z] ------------------- [2021-07-30T14:47:38.280Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2021-07-30T14:47:38.280Z] Commit SHA: 155abbc8877922835dbd6f2f82c828d26e35ec40 [2021-07-30T14:47:38.280Z] Message: update stable to v1.0.199 [2021-07-30T14:47:38.869Z] ------------------- [2021-07-30T14:47:38.869Z] experimental info: [2021-07-30T14:47:38.869Z] ------------------- [2021-07-30T14:47:38.869Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2021-07-30T14:47:38.869Z] Commit SHA: 155abbc8877922835dbd6f2f82c828d26e35ec40 [2021-07-30T14:47:38.869Z] Message: update experimental to v1.0.199 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2021-07-30T14:47:39.150Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-rest-go-settings [Pipeline] echo [2021-07-30T14:47:39.211Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-rest-go [Pipeline] echo [2021-07-30T14:47:39.269Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2021-07-30T14:47:39.331Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2021-07-30T14:47:39.395Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2021-07-30T14:47:39.453Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.16 [Pipeline] echo [2021-07-30T14:47:39.512Z] [edgeXSetupEnvironment]: set envvar GOPROXY = https://nexus3.edgexfoundry.org/repository/go-proxy/ [Pipeline] echo [2021-07-30T14:47:39.569Z] [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine [Pipeline] echo [2021-07-30T14:47:39.628Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2021-07-30T14:47:39.684Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2021-07-30T14:47:39.739Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2021-07-30T14:47:39.797Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2021-07-30T14:47:39.861Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-rest [Pipeline] echo [2021-07-30T14:47:39.930Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2021-07-30T14:47:39.988Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2021-07-30T14:47:40.048Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2021-07-30T14:47:40.135Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2021-07-30T14:47:40.209Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2021-07-30T14:47:40.284Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2021-07-30T14:47:40.342Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2021-07-30T14:47:40.400Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2021-07-30T14:47:40.459Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2021-07-30T14:47:40.514Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2021-07-30T14:47:40.575Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2021-07-30T14:47:40.636Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2021-07-30T14:47:40.700Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2021-07-30T14:47:40.764Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2021-07-30T14:47:40.836Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-128 [Pipeline] echo [2021-07-30T14:47:40.908Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-128 [Pipeline] echo [2021-07-30T14:47:40.975Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-128 [Pipeline] echo [2021-07-30T14:47:41.041Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = b263c2e12538d2124d0c359fc27e2a2a90b1ec1b [Pipeline] echo [2021-07-30T14:47:41.109Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = b263c2e [Pipeline] echo [2021-07-30T14:47:41.189Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-07-30T14:47:41.369Z] provisioning config files... [2021-07-30T14:47:41.393Z] copy managed file [device-rest-go-settings] to file:/w/workspace/gexfoundry_device-rest-go_PR-128@tmp/config8618771371263920969tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-07-30T14:47:41.802Z] ---> docker-login.sh [2021-07-30T14:47:41.802Z] nexus3.edgexfoundry.org:10001 [2021-07-30T14:47:41.802Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-07-30T14:47:42.071Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-07-30T14:47:42.071Z] Configure a credential helper to remove this warning. See [2021-07-30T14:47:42.071Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-07-30T14:47:42.071Z] [2021-07-30T14:47:42.071Z] Login Succeeded [2021-07-30T14:47:42.071Z] nexus3.edgexfoundry.org:10002 [2021-07-30T14:47:42.071Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-07-30T14:47:42.071Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-07-30T14:47:42.071Z] Configure a credential helper to remove this warning. See [2021-07-30T14:47:42.071Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-07-30T14:47:42.071Z] [2021-07-30T14:47:42.071Z] Login Succeeded [2021-07-30T14:47:42.071Z] nexus3.edgexfoundry.org:10003 [2021-07-30T14:47:42.338Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-07-30T14:47:42.338Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-07-30T14:47:42.338Z] Configure a credential helper to remove this warning. See [2021-07-30T14:47:42.338Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-07-30T14:47:42.338Z] [2021-07-30T14:47:42.338Z] Login Succeeded [2021-07-30T14:47:42.338Z] nexus3.edgexfoundry.org:10004 [2021-07-30T14:47:42.338Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-07-30T14:47:42.608Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-07-30T14:47:42.608Z] Configure a credential helper to remove this warning. See [2021-07-30T14:47:42.608Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-07-30T14:47:42.608Z] [2021-07-30T14:47:42.608Z] Login Succeeded [2021-07-30T14:47:42.608Z] docker.io [2021-07-30T14:47:42.608Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-07-30T14:47:42.908Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-07-30T14:47:42.908Z] Configure a credential helper to remove this warning. See [2021-07-30T14:47:42.908Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-07-30T14:47:42.908Z] [2021-07-30T14:47:42.909Z] Login Succeeded [2021-07-30T14:47:42.909Z] ---> docker-login.sh ends [Pipeline] } [2021-07-30T14:47:42.940Z] 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-07-30T14:47:43.776Z] + git log --format=format:%s -1 b263c2e12538d2124d0c359fc27e2a2a90b1ec1b [Pipeline] echo [2021-07-30T14:47:43.870Z] GIT_COMMIT: b263c2e12538d2124d0c359fc27e2a2a90b1ec1b, Commit Message: docs: Update build status badge [Pipeline] echo [2021-07-30T14:47:43.915Z] This is not a build commit. [Pipeline] isUnix [Pipeline] sh [2021-07-30T14:47:44.582Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-07-30T14:47:44.582Z] [2021-07-30T14:47:44.582Z] Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh [2021-07-30T14:47:44.962Z] + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-07-30T14:47:44.962Z] latest: Pulling from edgex-devops/git-semver [2021-07-30T14:47:44.962Z] 31603596830f: Pulling fs layer [2021-07-30T14:47:44.962Z] b6dc333f4379: Pulling fs layer [2021-07-30T14:47:44.962Z] 3d9ef1400e77: Pulling fs layer [2021-07-30T14:47:44.962Z] fd332fbdc1db: Pulling fs layer [2021-07-30T14:47:44.962Z] fd332fbdc1db: Waiting [2021-07-30T14:47:44.962Z] b6dc333f4379: Verifying Checksum [2021-07-30T14:47:44.962Z] b6dc333f4379: Download complete [2021-07-30T14:47:45.229Z] 31603596830f: Verifying Checksum [2021-07-30T14:47:45.229Z] 31603596830f: Download complete [2021-07-30T14:47:45.229Z] 31603596830f: Pull complete [2021-07-30T14:47:45.511Z] b6dc333f4379: Pull complete [2021-07-30T14:47:45.511Z] fd332fbdc1db: Verifying Checksum [2021-07-30T14:47:45.511Z] fd332fbdc1db: Download complete [2021-07-30T14:47:45.789Z] 3d9ef1400e77: Verifying Checksum [2021-07-30T14:47:45.789Z] 3d9ef1400e77: Download complete [2021-07-30T14:47:46.068Z] 3d9ef1400e77: Pull complete [2021-07-30T14:47:46.338Z] fd332fbdc1db: Pull complete [2021-07-30T14:47:46.338Z] Digest: sha256:db6b30291b918ea2df8875cce3ed97fb48fa491dcbf862453db6614bc0bd4782 [2021-07-30T14:47:46.338Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-07-30T14:47:46.338Z] nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer [2021-07-30T14:47:46.460Z] prd-centos7-docker-4c-2g-638 does not seem to be running inside a container [2021-07-30T14:47:46.538Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-rest-go_PR-128 -v /w/workspace/gexfoundry_device-rest-go_PR-128:/w/workspace/gexfoundry_device-rest-go_PR-128:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-128@tmp:/w/workspace/gexfoundry_device-rest-go_PR-128@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat [2021-07-30T14:47:47.189Z] $ docker top 5f921ec91b7ec5260338522113ad33353786897d33acf521aa8e3ce145a23593 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2021-07-30T14:47:47.411Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-07-30T14:47:47.411Z] [ssh-agent] Looking for ssh-agent implementation... [2021-07-30T14:47:47.525Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-07-30T14:47:47.527Z] $ docker exec 5f921ec91b7ec5260338522113ad33353786897d33acf521aa8e3ce145a23593 ssh-agent [2021-07-30T14:47:47.641Z] SSH_AUTH_SOCK=/tmp/ssh-aTXzlgMvstkG/agent.14 [2021-07-30T14:47:47.641Z] SSH_AGENT_PID=21 [2021-07-30T14:47:47.653Z] Running ssh-add (command line suppressed) [2021-07-30T14:47:47.747Z] Identity added: /w/workspace/gexfoundry_device-rest-go_PR-128@tmp/private_key_7064974991622141307.key (/w/workspace/gexfoundry_device-rest-go_PR-128@tmp/private_key_7064974991622141307.key) [2021-07-30T14:47:47.772Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-07-30T14:47:48.135Z] + git tag --points-at HEAD [Pipeline] } [2021-07-30T14:47:48.163Z] $ docker exec --env ******** --env ******** 5f921ec91b7ec5260338522113ad33353786897d33acf521aa8e3ce145a23593 ssh-agent -k [2021-07-30T14:47:48.257Z] unset SSH_AUTH_SOCK; [2021-07-30T14:47:48.257Z] unset SSH_AGENT_PID; [2021-07-30T14:47:48.257Z] echo Agent pid 21 killed; [2021-07-30T14:47:48.274Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2021-07-30T14:47:48.369Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-07-30T14:47:48.369Z] [ssh-agent] Looking for ssh-agent implementation... [2021-07-30T14:47:48.492Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-07-30T14:47:48.495Z] $ docker exec 5f921ec91b7ec5260338522113ad33353786897d33acf521aa8e3ce145a23593 ssh-agent [2021-07-30T14:47:48.611Z] SSH_AUTH_SOCK=/tmp/ssh-DKx4Ul7Tc23p/agent.54 [2021-07-30T14:47:48.611Z] SSH_AGENT_PID=60 [2021-07-30T14:47:48.619Z] Running ssh-add (command line suppressed) [2021-07-30T14:47:48.727Z] Identity added: /w/workspace/gexfoundry_device-rest-go_PR-128@tmp/private_key_5399606085881130590.key (/w/workspace/gexfoundry_device-rest-go_PR-128@tmp/private_key_5399606085881130590.key) [2021-07-30T14:47:48.752Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-07-30T14:47:49.117Z] + git semver init [2021-07-30T14:47:49.117Z] # -> Open(): unable to determine branch for HEAD [2021-07-30T14:47:49.117Z] # $GIT_DIR = /w/workspace/gexfoundry_device-rest-go_PR-128/.git [2021-07-30T14:47:49.117Z] # $GIT_WORK_TREE = /w/workspace/gexfoundry_device-rest-go_PR-128 [2021-07-30T14:47:49.117Z] # $SEMVER_REMOTE_NAME = origin [2021-07-30T14:47:49.117Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2021-07-30T14:47:49.117Z] # $SEMVER_USER_NAME = edgex-jenkins [2021-07-30T14:47:49.117Z] # $SEMVER_BRANCH = PR-128 [2021-07-30T14:47:49.117Z] # $SEMVER_TEMP = /tmp/semver-920004984 [2021-07-30T14:47:49.117Z] # git clone --branch semver git@github.com:edgexfoundry/device-rest-go.git $SEMVER_TEMP [2021-07-30T14:47:51.063Z] # '/tmp/semver-920004984' -> '/w/workspace/gexfoundry_device-rest-go_PR-128/.semver' [2021-07-30T14:47:51.063Z] # -> Force: false [2021-07-30T14:47:51.063Z] # $SEMVER_DIR = /w/workspace/gexfoundry_device-rest-go_PR-128/.semver [Pipeline] } [2021-07-30T14:47:51.084Z] $ docker exec --env ******** --env ******** 5f921ec91b7ec5260338522113ad33353786897d33acf521aa8e3ce145a23593 ssh-agent -k [2021-07-30T14:47:51.179Z] unset SSH_AUTH_SOCK; [2021-07-30T14:47:51.179Z] unset SSH_AGENT_PID; [2021-07-30T14:47:51.180Z] echo Agent pid 60 killed; [2021-07-30T14:47:51.198Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2021-07-30T14:47:51.664Z] + git semver [Pipeline] } [2021-07-30T14:47:51.708Z] $ docker stop --time=1 5f921ec91b7ec5260338522113ad33353786897d33acf521aa8e3ce145a23593 [2021-07-30T14:47:52.966Z] $ docker rm -f 5f921ec91b7ec5260338522113ad33353786897d33acf521aa8e3ce145a23593 [Pipeline] // withDockerContainer [Pipeline] sh [2021-07-30T14:47:53.419Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2021-07-30T14:47:53.830Z] Stashed 1 file(s) [Pipeline] echo [2021-07-30T14:47:53.860Z] [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-07-30T14:48:09.565Z] Still waiting to schedule task [2021-07-30T14:48:09.565Z] ‘prd-centos7-blackbox-4c-2g-77’ doesn’t have label ‘centos7-docker-4c-2g’ [2021-07-30T14:48:09.565Z] ‘prd-centos7-docker-4c-2g-640’ is offline [2021-07-30T14:48:09.565Z] ‘prd-centos7-docker-4c-2g-641’ is offline [2021-07-30T14:48:09.566Z] ‘prd-centos7-docker-4c-2g-642’ is offline [2021-07-30T14:48:09.618Z] Still waiting to schedule task [2021-07-30T14:48:09.619Z] Waiting for next available executor on ‘prd-ubuntu18.04-docker-arm64-4c-16g-631’ [2021-07-30T14:49:16.612Z] Running on prd-centos7-docker-4c-2g-647 in /w/workspace/gexfoundry_device-rest-go_PR-128 [Pipeline] { [Pipeline] ws [2021-07-30T14:49:16.670Z] Running in /w/workspace/device-rest-go/1 [Pipeline] { [Pipeline] checkout [2021-07-30T14:49:16.830Z] The recommended git tool is: git [2021-07-30T14:49:19.977Z] using credential edgex-jenkins-ssh [2021-07-30T14:49:19.998Z] Cloning the remote Git repository [2021-07-30T14:49:20.018Z] Cloning repository git@github.com:edgexfoundry/device-rest-go.git [2021-07-30T14:49:20.091Z] > git init /w/workspace/device-rest-go/1 # timeout=10 [2021-07-30T14:49:20.128Z] Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git [2021-07-30T14:49:20.128Z] > git --version # timeout=10 [2021-07-30T14:49:20.136Z] > git --version # 'git version 2.24.4' [2021-07-30T14:49:20.137Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-07-30T14:49:20.166Z] [INFO] Currently running in a labeled security context [2021-07-30T14:49:20.166Z] [INFO] Currently SELinux is 'enforcing' on the host [2021-07-30T14:49:20.166Z] > /usr/bin/chcon --type=ssh_home_t /w/workspace/device-rest-go/1@tmp/jenkins-gitclient-ssh6277295255972701045.key [2021-07-30T14:49:20.178Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-07-30T14:49:22.296Z] Merging remotes/origin/main commit ac4b371315fba0b9546dc2a95c8393f838fbe7e4 into PR head commit b263c2e12538d2124d0c359fc27e2a2a90b1ec1b [2021-07-30T14:49:22.394Z] Merge succeeded, producing b263c2e12538d2124d0c359fc27e2a2a90b1ec1b [2021-07-30T14:49:22.395Z] Checking out Revision b263c2e12538d2124d0c359fc27e2a2a90b1ec1b (PR-128) [2021-07-30T14:49:21.811Z] > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 [2021-07-30T14:49:21.821Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-07-30T14:49:21.834Z] > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 [2021-07-30T14:49:21.850Z] Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git [2021-07-30T14:49:21.850Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-07-30T14:49:21.852Z] [INFO] Currently running in a labeled security context [2021-07-30T14:49:21.852Z] [INFO] Currently SELinux is 'enforcing' on the host [2021-07-30T14:49:21.852Z] > /usr/bin/chcon --type=ssh_home_t /w/workspace/device-rest-go/1@tmp/jenkins-gitclient-ssh4841283443198931527.key [2021-07-30T14:49:21.858Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/pull/128/head:refs/remotes/origin/PR-128 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2021-07-30T14:49:22.302Z] > git config core.sparsecheckout # timeout=10 [2021-07-30T14:49:22.310Z] > git checkout -f b263c2e12538d2124d0c359fc27e2a2a90b1ec1b # timeout=10 [2021-07-30T14:49:22.346Z] > git remote # timeout=10 [2021-07-30T14:49:22.351Z] > git config --get remote.origin.url # timeout=10 [2021-07-30T14:49:22.360Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-07-30T14:49:22.361Z] [INFO] Currently running in a labeled security context [2021-07-30T14:49:22.361Z] [INFO] Currently SELinux is 'enforcing' on the host [2021-07-30T14:49:22.361Z] > /usr/bin/chcon --type=ssh_home_t /w/workspace/device-rest-go/1@tmp/jenkins-gitclient-ssh8697434233122016937.key [2021-07-30T14:49:22.365Z] > git merge ac4b371315fba0b9546dc2a95c8393f838fbe7e4 # timeout=10 [2021-07-30T14:49:22.381Z] > git rev-parse HEAD^{commit} # timeout=10 [2021-07-30T14:49:22.395Z] > git config core.sparsecheckout # timeout=10 [2021-07-30T14:49:22.406Z] > git checkout -f b263c2e12538d2124d0c359fc27e2a2a90b1ec1b # timeout=10 [2021-07-30T14:49:26.154Z] Commit message: "docs: Update build status badge" [2021-07-30T14:49:26.185Z] > git --version # timeout=10 [2021-07-30T14:49:26.208Z] > git --version # 'git version 2.24.4' [2021-07-30T14:49:26.215Z] fatal: bad object 155abbc8877922835dbd6f2f82c828d26e35ec40 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-07-30T14:49:26.857Z] provisioning config files... [2021-07-30T14:49:26.875Z] copy managed file [device-rest-go-settings] to file:/w/workspace/device-rest-go/1@tmp/config2903658155441101293tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-07-30T14:49:27.392Z] ---> docker-login.sh [2021-07-30T14:49:27.392Z] nexus3.edgexfoundry.org:10001 [2021-07-30T14:49:27.392Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-07-30T14:49:27.392Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-07-30T14:49:27.392Z] Configure a credential helper to remove this warning. See [2021-07-30T14:49:27.392Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-07-30T14:49:27.392Z] [2021-07-30T14:49:27.392Z] Login Succeeded [2021-07-30T14:49:27.392Z] nexus3.edgexfoundry.org:10002 [2021-07-30T14:49:27.670Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-07-30T14:49:27.670Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-07-30T14:49:27.670Z] Configure a credential helper to remove this warning. See [2021-07-30T14:49:27.670Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-07-30T14:49:27.670Z] [2021-07-30T14:49:27.670Z] Login Succeeded [2021-07-30T14:49:27.670Z] nexus3.edgexfoundry.org:10003 [2021-07-30T14:49:27.670Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-07-30T14:49:27.947Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-07-30T14:49:27.947Z] Configure a credential helper to remove this warning. See [2021-07-30T14:49:27.947Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-07-30T14:49:27.947Z] [2021-07-30T14:49:27.947Z] Login Succeeded [2021-07-30T14:49:27.947Z] nexus3.edgexfoundry.org:10004 [2021-07-30T14:49:27.947Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-07-30T14:49:27.947Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-07-30T14:49:27.947Z] Configure a credential helper to remove this warning. See [2021-07-30T14:49:27.947Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-07-30T14:49:27.947Z] [2021-07-30T14:49:27.947Z] Login Succeeded [2021-07-30T14:49:27.947Z] docker.io [2021-07-30T14:49:28.218Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-07-30T14:49:28.487Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-07-30T14:49:28.487Z] Configure a credential helper to remove this warning. See [2021-07-30T14:49:28.487Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-07-30T14:49:28.487Z] [2021-07-30T14:49:28.487Z] Login Succeeded [2021-07-30T14:49:28.487Z] ---> docker-login.sh ends [Pipeline] } [2021-07-30T14:49:28.549Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2021-07-30T14:49:28.880Z] ========================================================= [2021-07-30T14:49:28.881Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine] [2021-07-30T14:49:28.881Z] ========================================================= [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh [2021-07-30T14:49:29.308Z] + docker build -t ci-base-image-x86_64 -f Dockerfile.build --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine . [2021-07-30T14:49:29.308Z] Sending build context to Docker daemon 116.2kB [2021-07-30T14:49:29.308Z] Step 1/10 : ARG BASE=golang:1.16-alpine3.12 [2021-07-30T14:49:29.308Z] Step 2/10 : FROM ${BASE} [2021-07-30T14:49:29.584Z] 1.16-alpine: Pulling from edgex-devops/edgex-golang-base [2021-07-30T14:49:29.584Z] 540db60ca938: Pulling fs layer [2021-07-30T14:49:29.584Z] adcc1eea9eea: Pulling fs layer [2021-07-30T14:49:29.584Z] 4c4ab2625f07: Pulling fs layer [2021-07-30T14:49:29.584Z] 0773c198feca: Pulling fs layer [2021-07-30T14:49:29.584Z] 345f892a5656: Pulling fs layer [2021-07-30T14:49:29.584Z] 4796506630df: Pulling fs layer [2021-07-30T14:49:29.584Z] cc55df3e53f1: Pulling fs layer [2021-07-30T14:49:29.584Z] 4d027b6c602c: Pulling fs layer [2021-07-30T14:49:29.584Z] 449e75d2c14e: Pulling fs layer [2021-07-30T14:49:29.584Z] 4796506630df: Waiting [2021-07-30T14:49:29.584Z] cc55df3e53f1: Waiting [2021-07-30T14:49:29.584Z] 4d027b6c602c: Waiting [2021-07-30T14:49:29.584Z] 449e75d2c14e: Waiting [2021-07-30T14:49:29.584Z] 0773c198feca: Waiting [2021-07-30T14:49:29.584Z] 345f892a5656: Waiting [2021-07-30T14:49:29.584Z] 4c4ab2625f07: Verifying Checksum [2021-07-30T14:49:29.584Z] 4c4ab2625f07: Download complete [2021-07-30T14:49:29.584Z] adcc1eea9eea: Verifying Checksum [2021-07-30T14:49:29.584Z] adcc1eea9eea: Download complete [2021-07-30T14:49:29.584Z] 345f892a5656: Verifying Checksum [2021-07-30T14:49:29.584Z] 345f892a5656: Download complete [2021-07-30T14:49:29.584Z] 4796506630df: Verifying Checksum [2021-07-30T14:49:29.584Z] 4796506630df: Download complete [2021-07-30T14:49:29.584Z] cc55df3e53f1: Verifying Checksum [2021-07-30T14:49:29.584Z] cc55df3e53f1: Download complete [2021-07-30T14:49:29.584Z] 540db60ca938: Verifying Checksum [2021-07-30T14:49:29.584Z] 540db60ca938: Download complete [2021-07-30T14:49:29.853Z] 540db60ca938: Pull complete [2021-07-30T14:49:29.853Z] adcc1eea9eea: Pull complete [2021-07-30T14:49:30.125Z] 4c4ab2625f07: Pull complete [2021-07-30T14:49:30.126Z] 4d027b6c602c: Verifying Checksum [2021-07-30T14:49:30.126Z] 4d027b6c602c: Download complete [2021-07-30T14:49:32.722Z] 449e75d2c14e: Verifying Checksum [2021-07-30T14:49:32.722Z] 449e75d2c14e: Download complete [2021-07-30T14:49:34.674Z] 0773c198feca: Verifying Checksum [2021-07-30T14:49:34.674Z] 0773c198feca: Download complete [2021-07-30T14:49:38.030Z] 0773c198feca: Pull complete [2021-07-30T14:49:38.030Z] 345f892a5656: Pull complete [2021-07-30T14:49:38.030Z] 4796506630df: Pull complete [2021-07-30T14:49:38.030Z] cc55df3e53f1: Pull complete [2021-07-30T14:49:38.030Z] 4d027b6c602c: Pull complete [2021-07-30T14:49:39.453Z] 449e75d2c14e: Pull complete [2021-07-30T14:49:39.453Z] Digest: sha256:a2fa0993ec4462abfc92311096d2e43e803cda49eb027de246ea451416b7a8a8 [2021-07-30T14:49:39.453Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine [2021-07-30T14:49:39.453Z] ---> 0d28375d9b5b [2021-07-30T14:49:39.453Z] Step 3/10 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2021-07-30T14:49:42.038Z] ---> Running in 3698e7b7eec1 [2021-07-30T14:49:42.306Z] Removing intermediate container 3698e7b7eec1 [2021-07-30T14:49:42.306Z] ---> f276525276f1 [2021-07-30T14:49:42.306Z] Step 4/10 : ARG ALPINE_PKG_EXTRA="" [2021-07-30T14:49:42.306Z] ---> Running in 758ebfd60af0 [2021-07-30T14:49:42.306Z] Removing intermediate container 758ebfd60af0 [2021-07-30T14:49:42.306Z] ---> 9a5a895df2cb [2021-07-30T14:49:42.306Z] Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019: Intel' [2021-07-30T14:49:42.306Z] ---> Running in a92890651de1 [2021-07-30T14:49:42.577Z] Removing intermediate container a92890651de1 [2021-07-30T14:49:42.577Z] ---> d7a96aac3b18 [2021-07-30T14:49:42.577Z] Step 6/10 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-07-30T14:49:42.577Z] ---> Running in d4c90d048367 [2021-07-30T14:49:43.183Z] Removing intermediate container d4c90d048367 [2021-07-30T14:49:43.183Z] ---> d1cf3f31b10e [2021-07-30T14:49:43.183Z] Step 7/10 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2021-07-30T14:49:43.183Z] ---> Running in bdc4f2a111d1 [2021-07-30T14:49:43.449Z] fetch https://nl.alpinelinux.org/alpine/v3.13/main/x86_64/APKINDEX.tar.gz [2021-07-30T14:49:44.037Z] fetch https://nl.alpinelinux.org/alpine/v3.13/community/x86_64/APKINDEX.tar.gz [2021-07-30T14:49:44.632Z] (1/9) Installing libc-dev (0.7.2-r3) [2021-07-30T14:49:44.632Z] (2/9) Installing libsodium (1.0.18-r0) [2021-07-30T14:49:44.899Z] (3/9) Installing pkgconf (1.7.3-r0) [2021-07-30T14:49:44.899Z] (4/9) Installing libsodium-dev (1.0.18-r0) [2021-07-30T14:49:44.899Z] (5/9) Installing openssh-keygen (8.4_p1-r3) [2021-07-30T14:49:45.166Z] (6/9) Installing libedit (20191231.3.1-r1) [2021-07-30T14:49:45.166Z] (7/9) Installing openssh-client (8.4_p1-r3) [2021-07-30T14:49:45.434Z] (8/9) Installing libzmq (4.3.3-r1) [2021-07-30T14:49:45.703Z] (9/9) Installing zeromq-dev (4.3.3-r1) [2021-07-30T14:49:45.980Z] Executing busybox-1.32.1-r6.trigger [2021-07-30T14:49:45.980Z] OK: 154 MiB in 49 packages [2021-07-30T14:49:46.248Z] Removing intermediate container bdc4f2a111d1 [2021-07-30T14:49:46.248Z] ---> 7ddcc12f8d48 [2021-07-30T14:49:46.248Z] Step 8/10 : WORKDIR /device-rest-go [2021-07-30T14:49:46.248Z] ---> Running in f316daf97754 [2021-07-30T14:49:46.248Z] Removing intermediate container f316daf97754 [2021-07-30T14:49:46.248Z] ---> 085e90cf8005 [2021-07-30T14:49:46.248Z] Step 9/10 : COPY . . [2021-07-30T14:49:46.516Z] ---> 30deebcea648 [2021-07-30T14:49:46.516Z] Step 10/10 : RUN go mod download [2021-07-30T14:49:46.516Z] ---> Running in f0b2fa0cba9e [2021-07-30T14:49:56.596Z] Removing intermediate container f0b2fa0cba9e [2021-07-30T14:49:56.596Z] ---> e79a27d02fc1 [2021-07-30T14:49:56.596Z] Successfully built e79a27d02fc1 [2021-07-30T14:49:56.596Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh [2021-07-30T14:49:56.977Z] + docker inspect -f . ci-base-image-x86_64 [2021-07-30T14:49:56.977Z] . [Pipeline] withDockerContainer [2021-07-30T14:49:57.105Z] prd-centos7-docker-4c-2g-647 does not seem to be running inside a container [2021-07-30T14:49:57.201Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-rest-go/1 -v /w/workspace/device-rest-go/1:/w/workspace/device-rest-go/1:rw,z -v /w/workspace/device-rest-go/1@tmp:/w/workspace/device-rest-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2021-07-30T14:49:57.611Z] $ docker top 3268a1a0a2e6ce78d793c789c238b359d70d5d7e45dfe15ce352b5a15fbc1a9a -eo pid,comm [Pipeline] { [Pipeline] sh [2021-07-30T14:49:58.075Z] + go version [2021-07-30T14:49:58.075Z] go version go1.16.5 linux/amd64 [Pipeline] } [2021-07-30T14:49:58.109Z] $ docker stop --time=1 3268a1a0a2e6ce78d793c789c238b359d70d5d7e45dfe15ce352b5a15fbc1a9a [2021-07-30T14:49:59.320Z] $ docker rm -f 3268a1a0a2e6ce78d793c789c238b359d70d5d7e45dfe15ce352b5a15fbc1a9a [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-07-30T14:50:00.238Z] + docker inspect -f . ci-base-image-x86_64 [2021-07-30T14:50:00.238Z] . [Pipeline] withDockerContainer [2021-07-30T14:50:00.368Z] prd-centos7-docker-4c-2g-647 does not seem to be running inside a container [2021-07-30T14:50:00.443Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-rest-go/1 -v /w/workspace/device-rest-go/1:/w/workspace/device-rest-go/1:rw,z -v /w/workspace/device-rest-go/1@tmp:/w/workspace/device-rest-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2021-07-30T14:50:00.832Z] $ docker top 13b4ded7ccdd936ec7fc144d5de35be7feed6f3a5a998491e279897bda20684f -eo pid,comm [Pipeline] { [Pipeline] sh [2021-07-30T14:50:01.298Z] + go mod tidy [Pipeline] sh [2021-07-30T14:50:01.935Z] + make test [2021-07-30T14:50:01.936Z] go mod tidy [2021-07-30T14:50:01.936Z] CGO_ENABLED=1 GO111MODULE=on go test -coverprofile=coverage.out ./... [2021-07-30T14:50:02.522Z] ? github.com/edgexfoundry/device-rest-go [no test files] [2021-07-30T14:50:20.888Z] ? github.com/edgexfoundry/device-rest-go/cmd [no test files] [2021-07-30T14:50:20.888Z] ok github.com/edgexfoundry/device-rest-go/driver 0.009s coverage: 54.0% of statements [2021-07-30T14:50:20.888Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2021-07-30T14:50:27.620Z] gofmt -l . [2021-07-30T14:50:27.620Z] [ "`gofmt -l .`" = "" ] [2021-07-30T14:50:27.620Z] ./bin/test-go-mod-tidy.sh [2021-07-30T14:50:27.620Z] ./bin/test-attribution-txt.sh [Pipeline] } [2021-07-30T14:50:27.649Z] $ docker stop --time=1 13b4ded7ccdd936ec7fc144d5de35be7feed6f3a5a998491e279897bda20684f [2021-07-30T14:50:29.146Z] $ docker rm -f 13b4ded7ccdd936ec7fc144d5de35be7feed6f3a5a998491e279897bda20684f [Pipeline] // withDockerContainer [Pipeline] sh [2021-07-30T14:50:29.648Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2021-07-30T14:50:29.888Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2021-07-30T14:50:31.255Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2021-07-30T14:50:31.597Z] + ls -al . [2021-07-30T14:50:31.597Z] total 112 [2021-07-30T14:50:31.597Z] drwxrwxr-x. 8 jenkins jenkins 4096 Jul 30 14:50 . [2021-07-30T14:50:31.597Z] drwxrwxr-x. 4 jenkins jenkins 28 Jul 30 14:49 .. [2021-07-30T14:50:31.597Z] -rw-rw-r--. 1 jenkins jenkins 6792 Jul 30 14:49 Attribution.txt [2021-07-30T14:50:31.597Z] drwxrwxr-x. 2 jenkins jenkins 64 Jul 30 14:49 bin [2021-07-30T14:50:31.597Z] -rw-rw-r--. 1 jenkins jenkins 7459 Jul 30 14:49 CHANGELOG.md [2021-07-30T14:50:31.597Z] drwxrwxr-x. 3 jenkins jenkins 32 Jul 30 14:49 cmd [2021-07-30T14:50:31.597Z] -rw-r--r--. 1 jenkins jenkins 8513 Jul 30 14:50 coverage.out [2021-07-30T14:50:31.597Z] -rw-rw-r--. 1 jenkins jenkins 1615 Jul 30 14:49 Dockerfile [2021-07-30T14:50:31.597Z] -rw-rw-r--. 1 jenkins jenkins 1087 Jul 30 14:49 Dockerfile.build [2021-07-30T14:50:31.597Z] -rw-rw-r--. 1 jenkins jenkins 151 Jul 30 14:49 .dockerignore [2021-07-30T14:50:31.597Z] drwxrwxr-x. 2 jenkins jenkins 76 Jul 30 14:49 driver [2021-07-30T14:50:31.597Z] drwxrwxr-x. 8 jenkins jenkins 179 Jul 30 14:49 .git [2021-07-30T14:50:31.597Z] drwxrwxr-x. 2 jenkins jenkins 103 Jul 30 14:49 .github [2021-07-30T14:50:31.597Z] -rw-rw-r--. 1 jenkins jenkins 336 Jul 30 14:49 .gitignore [2021-07-30T14:50:31.597Z] -rw-r--r--. 1 jenkins jenkins 271 Jul 30 14:50 go.mod [2021-07-30T14:50:31.597Z] -rw-r--r--. 1 jenkins jenkins 20570 Jul 30 14:50 go.sum [2021-07-30T14:50:31.597Z] -rw-rw-r--. 1 jenkins jenkins 680 Jul 30 14:49 Jenkinsfile [2021-07-30T14:50:31.597Z] -rw-rw-r--. 1 jenkins jenkins 11340 Jul 30 14:49 LICENSE [2021-07-30T14:50:31.597Z] -rw-rw-r--. 1 jenkins jenkins 996 Jul 30 14:49 Makefile [2021-07-30T14:50:31.597Z] -rw-rw-r--. 1 jenkins jenkins 8084 Jul 30 14:49 README.md [2021-07-30T14:50:31.597Z] drwxrwxr-x. 4 jenkins jenkins 71 Jul 30 14:49 snap [2021-07-30T14:50:31.597Z] -rw-rw-r--. 1 jenkins jenkins 5 Jul 30 14:47 VERSION [2021-07-30T14:50:31.597Z] -rw-rw-r--. 1 jenkins jenkins 713 Jul 30 14:49 version.go [Pipeline] isUnix [Pipeline] sh [2021-07-30T14:50:31.964Z] + docker build -t device-rest -f Dockerfile --build-arg BASE=ci-base-image-x86_64 --build-arg 'MAKE=make build' --build-arg ARCH=amd64 --label git_sha=b263c2e12538d2124d0c359fc27e2a2a90b1ec1b --label arch=amd64 --label version=0.0.0 . [2021-07-30T14:50:31.964Z] Sending build context to Docker daemon 126kB [2021-07-30T14:50:31.964Z] Step 1/25 : ARG BASE=golang:1.16-alpine3.12 [2021-07-30T14:50:31.964Z] Step 2/25 : FROM ${BASE} AS builder [2021-07-30T14:50:31.964Z] ---> e79a27d02fc1 [2021-07-30T14:50:31.964Z] Step 3/25 : ARG MAKE='make build' [2021-07-30T14:50:31.964Z] ---> Running in 6f15b7360229 [2021-07-30T14:50:31.964Z] Removing intermediate container 6f15b7360229 [2021-07-30T14:50:31.964Z] ---> bbf903eca35d [2021-07-30T14:50:31.964Z] Step 4/25 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2021-07-30T14:50:32.233Z] ---> Running in 874b1a518586 [2021-07-30T14:50:32.233Z] Removing intermediate container 874b1a518586 [2021-07-30T14:50:32.233Z] ---> 61026b0de06e [2021-07-30T14:50:32.233Z] Step 5/25 : ARG ALPINE_PKG_EXTRA="" [2021-07-30T14:50:32.233Z] ---> Running in e5bd0fce8fa5 [2021-07-30T14:50:32.233Z] Removing intermediate container e5bd0fce8fa5 [2021-07-30T14:50:32.233Z] ---> 29f03f52b98a [2021-07-30T14:50:32.233Z] Step 6/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-07-30T14:50:32.502Z] ---> Running in fe7341bf57bd [2021-07-30T14:50:32.772Z] Removing intermediate container fe7341bf57bd [2021-07-30T14:50:32.772Z] ---> 2e9ea01868ec [2021-07-30T14:50:32.772Z] Step 7/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2021-07-30T14:50:33.040Z] ---> Running in 6589fe1e6492 [2021-07-30T14:50:33.307Z] fetch https://nl.alpinelinux.org/alpine/v3.13/main/x86_64/APKINDEX.tar.gz [2021-07-30T14:50:34.272Z] fetch https://nl.alpinelinux.org/alpine/v3.13/community/x86_64/APKINDEX.tar.gz [2021-07-30T14:50:34.539Z] OK: 154 MiB in 49 packages [2021-07-30T14:50:34.808Z] Removing intermediate container 6589fe1e6492 [2021-07-30T14:50:34.808Z] ---> 71808528ebe0 [2021-07-30T14:50:34.808Z] Step 8/25 : WORKDIR /device-rest-go [2021-07-30T14:50:34.808Z] ---> Running in dfece29f8abf [2021-07-30T14:50:34.808Z] Removing intermediate container dfece29f8abf [2021-07-30T14:50:34.808Z] ---> e1445ec13ffc [2021-07-30T14:50:34.808Z] Step 9/25 : COPY . . [2021-07-30T14:50:35.076Z] ---> 876064ce262d [2021-07-30T14:50:35.076Z] Step 10/25 : RUN go mod tidy [2021-07-30T14:50:35.076Z] ---> Running in 2479757caf4e [2021-07-30T14:50:36.055Z] Removing intermediate container 2479757caf4e [2021-07-30T14:50:36.055Z] ---> 9db9caa476d0 [2021-07-30T14:50:36.055Z] Step 11/25 : RUN make update [2021-07-30T14:50:36.056Z] ---> Running in e7e51cff3a66 [2021-07-30T14:50:36.056Z] CGO_ENABLED=0 GO111MODULE=on go mod download [2021-07-30T14:50:36.325Z] Removing intermediate container e7e51cff3a66 [2021-07-30T14:50:36.325Z] ---> 1c972308132a [2021-07-30T14:50:36.325Z] Step 12/25 : RUN $MAKE [2021-07-30T14:50:36.325Z] ---> Running in b8d232948087 [2021-07-30T14:50:36.617Z] go mod tidy [2021-07-30T14:50:36.891Z] CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-rest-go.Version=0.0.0" -o cmd/device-rest ./cmd [2021-07-30T14:50:49.235Z] Removing intermediate container b8d232948087 [2021-07-30T14:50:49.236Z] ---> 3163d22a064c [2021-07-30T14:50:49.236Z] Step 13/25 : FROM alpine:3.12 [2021-07-30T14:50:49.236Z] 3.12: Pulling from library/alpine [2021-07-30T14:50:49.236Z] 339de151aab4: Pulling fs layer [2021-07-30T14:50:49.236Z] 339de151aab4: Verifying Checksum [2021-07-30T14:50:49.236Z] 339de151aab4: Download complete [2021-07-30T14:50:49.236Z] 339de151aab4: Pull complete [2021-07-30T14:50:49.236Z] Digest: sha256:87703314048c40236c6d674424159ee862e2b96ce1c37c62d877e21ed27a387e [2021-07-30T14:50:49.236Z] Status: Downloaded newer image for alpine:3.12 [2021-07-30T14:50:49.236Z] ---> 13621d1b12d4 [2021-07-30T14:50:49.236Z] Step 14/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019: Intel' [2021-07-30T14:50:49.505Z] ---> Running in 895668bdf4d3 [2021-07-30T14:50:49.505Z] Removing intermediate container 895668bdf4d3 [2021-07-30T14:50:49.505Z] ---> d36f5e5f5de3 [2021-07-30T14:50:49.505Z] Step 15/25 : LABEL Name=device-rest-go Version=${VERSION} [2021-07-30T14:50:49.505Z] ---> Running in bdbbfa24352b [2021-07-30T14:50:49.775Z] Removing intermediate container bdbbfa24352b [2021-07-30T14:50:49.775Z] ---> a5fb63d7c860 [2021-07-30T14:50:49.775Z] Step 16/25 : RUN apk add --update --no-cache zeromq dumb-init [2021-07-30T14:50:49.775Z] ---> Running in b0bb918bd2f0 [2021-07-30T14:50:50.045Z] fetch http://dl-cdn.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz [2021-07-30T14:50:50.045Z] fetch http://dl-cdn.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz [2021-07-30T14:50:50.314Z] (1/6) Installing dumb-init (1.2.2-r1) [2021-07-30T14:50:50.314Z] (2/6) Installing libgcc (9.3.0-r2) [2021-07-30T14:50:50.314Z] (3/6) Installing libsodium (1.0.18-r0) [2021-07-30T14:50:50.314Z] (4/6) Installing libstdc++ (9.3.0-r2) [2021-07-30T14:50:50.314Z] (5/6) Installing libzmq (4.3.3-r0) [2021-07-30T14:50:50.314Z] (6/6) Installing zeromq (4.3.3-r0) [2021-07-30T14:50:50.314Z] Executing busybox-1.31.1-r20.trigger [2021-07-30T14:50:50.314Z] OK: 8 MiB in 20 packages [2021-07-30T14:50:50.588Z] Removing intermediate container b0bb918bd2f0 [2021-07-30T14:50:50.588Z] ---> abbf142cfb5f [2021-07-30T14:50:50.588Z] Step 17/25 : COPY --from=builder /device-rest-go/cmd / [2021-07-30T14:50:50.854Z] ---> e94bb80baf55 [2021-07-30T14:50:50.854Z] Step 18/25 : COPY --from=builder /device-rest-go/LICENSE / [2021-07-30T14:50:51.127Z] ---> 73d7d63cbe19 [2021-07-30T14:50:51.127Z] Step 19/25 : COPY --from=builder /device-rest-go/Attribution.txt / [2021-07-30T14:50:51.399Z] ---> 965d9de2675b [2021-07-30T14:50:51.399Z] Step 20/25 : EXPOSE 59986 [2021-07-30T14:50:51.399Z] ---> Running in 72ed27310495 [2021-07-30T14:50:51.399Z] Removing intermediate container 72ed27310495 [2021-07-30T14:50:51.399Z] ---> cc2ebbe7a7e3 [2021-07-30T14:50:51.399Z] Step 21/25 : ENTRYPOINT ["/device-rest"] [2021-07-30T14:50:51.399Z] ---> Running in 22024da14695 [2021-07-30T14:50:51.399Z] Removing intermediate container 22024da14695 [2021-07-30T14:50:51.399Z] ---> 374eefc89e38 [2021-07-30T14:50:51.399Z] Step 22/25 : CMD ["--cp=consul://edgex-core-consul:8500", "--confdir=/res", "--registry"] [2021-07-30T14:50:51.399Z] ---> Running in cca90f95e991 [2021-07-30T14:50:51.665Z] Removing intermediate container cca90f95e991 [2021-07-30T14:50:51.665Z] ---> 5c674c2bf2b9 [2021-07-30T14:50:51.665Z] Step 23/25 : LABEL arch=amd64 [2021-07-30T14:50:51.665Z] ---> Running in 67e56e6ffe9e [2021-07-30T14:50:51.665Z] Removing intermediate container 67e56e6ffe9e [2021-07-30T14:50:51.665Z] ---> 31fd95b4f213 [2021-07-30T14:50:51.665Z] Step 24/25 : LABEL git_sha=b263c2e12538d2124d0c359fc27e2a2a90b1ec1b [2021-07-30T14:50:51.665Z] ---> Running in 6f56f1964724 [2021-07-30T14:50:51.938Z] Removing intermediate container 6f56f1964724 [2021-07-30T14:50:51.938Z] ---> 82f408d2a722 [2021-07-30T14:50:51.938Z] Step 25/25 : LABEL version=0.0.0 [2021-07-30T14:50:51.938Z] ---> Running in a5dae5a58cf1 [2021-07-30T14:50:51.938Z] Removing intermediate container a5dae5a58cf1 [2021-07-30T14:50:51.938Z] ---> 91623cd85e60 [2021-07-30T14:50:51.938Z] [Warning] One or more build-args [ARCH] were not consumed [2021-07-30T14:50:51.938Z] Successfully built 91623cd85e60 [2021-07-30T14:50:51.938Z] Successfully tagged device-rest: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-07-30T14:50:53.149Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2021-07-30T14:50:53.149Z] [2021-07-30T14:50:53.149Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] sh [2021-07-30T14:50:53.542Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2021-07-30T14:50:53.542Z] latest: Pulling from edgex-lftools-log-publisher [2021-07-30T14:50:53.542Z] b4d181a07f80: Pulling fs layer [2021-07-30T14:50:53.542Z] a1111a8f2ec3: Pulling fs layer [2021-07-30T14:50:53.542Z] ed53099fbce6: Pulling fs layer [2021-07-30T14:50:53.542Z] dc539afda2c1: Pulling fs layer [2021-07-30T14:50:53.542Z] 77bc0d833cb6: Pulling fs layer [2021-07-30T14:50:53.542Z] 9065ff56babe: Pulling fs layer [2021-07-30T14:50:53.542Z] d287ab97295c: Pulling fs layer [2021-07-30T14:50:53.542Z] 77bc0d833cb6: Waiting [2021-07-30T14:50:53.542Z] 9065ff56babe: Waiting [2021-07-30T14:50:53.542Z] d287ab97295c: Waiting [2021-07-30T14:50:53.542Z] dc539afda2c1: Waiting [2021-07-30T14:50:53.809Z] a1111a8f2ec3: Verifying Checksum [2021-07-30T14:50:53.809Z] a1111a8f2ec3: Download complete [2021-07-30T14:50:53.809Z] dc539afda2c1: Verifying Checksum [2021-07-30T14:50:53.809Z] dc539afda2c1: Download complete [2021-07-30T14:50:54.075Z] 77bc0d833cb6: Verifying Checksum [2021-07-30T14:50:54.075Z] 77bc0d833cb6: Download complete [2021-07-30T14:50:54.075Z] 9065ff56babe: Verifying Checksum [2021-07-30T14:50:54.075Z] 9065ff56babe: Download complete [2021-07-30T14:50:54.343Z] ed53099fbce6: Verifying Checksum [2021-07-30T14:50:54.343Z] ed53099fbce6: Download complete [2021-07-30T14:50:55.300Z] b4d181a07f80: Verifying Checksum [2021-07-30T14:50:55.300Z] b4d181a07f80: Download complete [2021-07-30T14:50:56.274Z] b4d181a07f80: Pull complete [2021-07-30T14:50:56.553Z] a1111a8f2ec3: Pull complete [2021-07-30T14:50:57.135Z] ed53099fbce6: Pull complete [2021-07-30T14:50:57.135Z] dc539afda2c1: Pull complete [2021-07-30T14:50:57.135Z] 77bc0d833cb6: Pull complete [2021-07-30T14:50:57.402Z] 9065ff56babe: Pull complete [2021-07-30T14:50:59.356Z] d287ab97295c: Verifying Checksum [2021-07-30T14:50:59.356Z] d287ab97295c: Download complete [2021-07-30T14:51:03.717Z] d287ab97295c: Pull complete [2021-07-30T14:51:03.717Z] Digest: sha256:0c69325c24349bfb3ea32a3c3cbcab1fb66df42c981276dd8ebcf6aa441257c4 [2021-07-30T14:51:03.717Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2021-07-30T14:51:03.717Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] withDockerContainer [2021-07-30T14:51:03.843Z] prd-centos7-docker-4c-2g-647 does not seem to be running inside a container [2021-07-30T14:51:03.910Z] $ 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-rest-go/1 -v /w/workspace/device-rest-go/1:/w/workspace/device-rest-go/1:rw,z -v /w/workspace/device-rest-go/1@tmp:/w/workspace/device-rest-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2021-07-30T14:51:06.572Z] $ docker top 49dfd74dd8df7b4be3b83041eb20983e5d90b75864b5d7cc5e0577c9690af82c -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-07-30T14:51:07.136Z] ---> job-cost.sh [2021-07-30T14:51:07.136Z] lf-activate-venv: SKIPPING [2021-07-30T14:51:07.136Z] INFO: No Stack... [2021-07-30T14:51:08.105Z] INFO: Retrieving Pricing Info for: v3-standard-2 [2021-07-30T14:51:08.377Z] INFO: Archiving Costs [Pipeline] sh [2021-07-30T14:51:08.744Z] + cat /w/workspace/device-rest-go/1/archives/cost.csv [2021-07-30T14:51:08.744Z] + cut -d, -f6 [Pipeline] lock [2021-07-30T14:51:08.834Z] Trying to acquire lock on [jenkins-edgexfoundry-device-rest-go-PR-128-1-stack-cost] [2021-07-30T14:51:08.842Z] Resource [jenkins-edgexfoundry-device-rest-go-PR-128-1-stack-cost] did not exist. Created. [2021-07-30T14:51:08.842Z] Lock acquired on [jenkins-edgexfoundry-device-rest-go-PR-128-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2021-07-30T14:51:09.303Z] + echo total: 0.05999999865889549 [Pipeline] stash [2021-07-30T14:51:09.363Z] Stashed 1 file(s) [Pipeline] } [2021-07-30T14:51:09.397Z] Lock released on resource [jenkins-edgexfoundry-device-rest-go-PR-128-1-stack-cost] [Pipeline] // lock [Pipeline] } [2021-07-30T14:51:09.488Z] $ docker stop --time=1 49dfd74dd8df7b4be3b83041eb20983e5d90b75864b5d7cc5e0577c9690af82c [2021-07-30T14:51:10.647Z] $ docker rm -f 49dfd74dd8df7b4be3b83041eb20983e5d90b75864b5d7cc5e0577c9690af82c [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [2021-07-30T14:52:13.368Z] Running on prd-ubuntu18.04-docker-arm64-4c-16g-654 in /w/workspace/gexfoundry_device-rest-go_PR-128 [Pipeline] { [Pipeline] ws [2021-07-30T14:52:13.431Z] Running in /w/workspace/device-rest-go/1 [Pipeline] { [Pipeline] checkout [2021-07-30T14:52:13.795Z] The recommended git tool is: git [2021-07-30T14:52:21.441Z] using credential edgex-jenkins-ssh [2021-07-30T14:52:21.468Z] Cloning the remote Git repository [2021-07-30T14:52:21.544Z] Cloning repository git@github.com:edgexfoundry/device-rest-go.git [2021-07-30T14:52:21.692Z] > git init /w/workspace/device-rest-go/1 # timeout=10 [2021-07-30T14:52:21.823Z] Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git [2021-07-30T14:52:21.824Z] > git --version # timeout=10 [2021-07-30T14:52:21.851Z] > git --version # 'git version 2.17.1' [2021-07-30T14:52:21.854Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-07-30T14:52:21.962Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-07-30T14:52:25.008Z] Merging remotes/origin/main commit ac4b371315fba0b9546dc2a95c8393f838fbe7e4 into PR head commit b263c2e12538d2124d0c359fc27e2a2a90b1ec1b [2021-07-30T14:52:25.233Z] Merge succeeded, producing b263c2e12538d2124d0c359fc27e2a2a90b1ec1b [2021-07-30T14:52:25.233Z] Checking out Revision b263c2e12538d2124d0c359fc27e2a2a90b1ec1b (PR-128) [2021-07-30T14:52:24.316Z] > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 [2021-07-30T14:52:24.344Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-07-30T14:52:24.370Z] > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 [2021-07-30T14:52:24.406Z] Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git [2021-07-30T14:52:24.407Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-07-30T14:52:24.420Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/pull/128/head:refs/remotes/origin/PR-128 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2021-07-30T14:52:25.023Z] > git config core.sparsecheckout # timeout=10 [2021-07-30T14:52:25.043Z] > git checkout -f b263c2e12538d2124d0c359fc27e2a2a90b1ec1b # timeout=10 [2021-07-30T14:52:25.139Z] > git remote # timeout=10 [2021-07-30T14:52:25.159Z] > git config --get remote.origin.url # timeout=10 [2021-07-30T14:52:25.173Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-07-30T14:52:25.186Z] > git merge ac4b371315fba0b9546dc2a95c8393f838fbe7e4 # timeout=10 [2021-07-30T14:52:25.211Z] > git rev-parse HEAD^{commit} # timeout=10 [2021-07-30T14:52:25.233Z] > git config core.sparsecheckout # timeout=10 [2021-07-30T14:52:25.246Z] > git checkout -f b263c2e12538d2124d0c359fc27e2a2a90b1ec1b # timeout=10 [2021-07-30T14:52:30.236Z] Commit message: "docs: Update build status badge" [2021-07-30T14:52:30.310Z] > git --version # timeout=10 [2021-07-30T14:52:30.329Z] > git --version # 'git version 2.17.1' [2021-07-30T14:52:30.349Z] fatal: bad object 155abbc8877922835dbd6f2f82c828d26e35ec40 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-07-30T14:52:31.058Z] provisioning config files... [2021-07-30T14:52:31.097Z] copy managed file [device-rest-go-settings] to file:/w/workspace/device-rest-go/1@tmp/config7646823019584381322tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-07-30T14:52:31.825Z] ---> docker-login.sh [2021-07-30T14:52:31.825Z] nexus3.edgexfoundry.org:10001 [2021-07-30T14:52:32.830Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-07-30T14:52:33.433Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-07-30T14:52:33.433Z] Configure a credential helper to remove this warning. See [2021-07-30T14:52:33.433Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-07-30T14:52:33.433Z] [2021-07-30T14:52:33.433Z] Login Succeeded [2021-07-30T14:52:33.433Z] nexus3.edgexfoundry.org:10002 [2021-07-30T14:52:33.709Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-07-30T14:52:33.709Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-07-30T14:52:33.709Z] Configure a credential helper to remove this warning. See [2021-07-30T14:52:33.709Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-07-30T14:52:33.709Z] [2021-07-30T14:52:33.709Z] Login Succeeded [2021-07-30T14:52:33.709Z] nexus3.edgexfoundry.org:10003 [2021-07-30T14:52:34.328Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-07-30T14:52:34.328Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-07-30T14:52:34.328Z] Configure a credential helper to remove this warning. See [2021-07-30T14:52:34.328Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-07-30T14:52:34.328Z] [2021-07-30T14:52:34.328Z] Login Succeeded [2021-07-30T14:52:34.328Z] nexus3.edgexfoundry.org:10004 [2021-07-30T14:52:34.606Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-07-30T14:52:34.883Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-07-30T14:52:34.883Z] Configure a credential helper to remove this warning. See [2021-07-30T14:52:34.883Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-07-30T14:52:34.883Z] [2021-07-30T14:52:34.883Z] Login Succeeded [2021-07-30T14:52:34.883Z] docker.io [2021-07-30T14:52:35.162Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-07-30T14:52:35.766Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-07-30T14:52:35.766Z] Configure a credential helper to remove this warning. See [2021-07-30T14:52:35.766Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-07-30T14:52:35.766Z] [2021-07-30T14:52:35.766Z] Login Succeeded [2021-07-30T14:52:35.766Z] ---> docker-login.sh ends [Pipeline] } [2021-07-30T14:52:35.882Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2021-07-30T14:52:36.703Z] ========================================================= [2021-07-30T14:52:36.703Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine] [2021-07-30T14:52:36.703Z] ========================================================= [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh [2021-07-30T14:52:37.135Z] + docker build -t ci-base-image-arm64 -f Dockerfile.build --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine . [2021-07-30T14:52:37.135Z] Sending build context to Docker daemon 116.2kB [2021-07-30T14:52:37.414Z] Step 1/10 : ARG BASE=golang:1.16-alpine3.12 [2021-07-30T14:52:37.414Z] Step 2/10 : FROM ${BASE} [2021-07-30T14:52:37.692Z] 1.16-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2021-07-30T14:52:37.692Z] 595b0fe564bb: Pulling fs layer [2021-07-30T14:52:37.692Z] 24495759ef45: Pulling fs layer [2021-07-30T14:52:37.692Z] d148012ef14d: Pulling fs layer [2021-07-30T14:52:37.692Z] cb65c68fc2e2: Pulling fs layer [2021-07-30T14:52:37.692Z] 093eec477d81: Pulling fs layer [2021-07-30T14:52:37.692Z] a6d5b2bbb924: Pulling fs layer [2021-07-30T14:52:37.692Z] 2446dc1eb7d3: Pulling fs layer [2021-07-30T14:52:37.692Z] 596795e73e0f: Pulling fs layer [2021-07-30T14:52:37.692Z] a6d5b2bbb924: Waiting [2021-07-30T14:52:37.692Z] 093eec477d81: Waiting [2021-07-30T14:52:37.692Z] cb65c68fc2e2: Waiting [2021-07-30T14:52:37.692Z] 596795e73e0f: Waiting [2021-07-30T14:52:37.692Z] 2446dc1eb7d3: Waiting [2021-07-30T14:52:37.974Z] d148012ef14d: Verifying Checksum [2021-07-30T14:52:37.974Z] d148012ef14d: Download complete [2021-07-30T14:52:37.974Z] 24495759ef45: Verifying Checksum [2021-07-30T14:52:37.974Z] 24495759ef45: Download complete [2021-07-30T14:52:37.974Z] 093eec477d81: Verifying Checksum [2021-07-30T14:52:37.974Z] 093eec477d81: Download complete [2021-07-30T14:52:37.974Z] a6d5b2bbb924: Verifying Checksum [2021-07-30T14:52:37.974Z] a6d5b2bbb924: Download complete [2021-07-30T14:52:37.974Z] 595b0fe564bb: Verifying Checksum [2021-07-30T14:52:37.974Z] 595b0fe564bb: Download complete [2021-07-30T14:52:37.974Z] 2446dc1eb7d3: Verifying Checksum [2021-07-30T14:52:37.974Z] 2446dc1eb7d3: Download complete [2021-07-30T14:52:38.979Z] 595b0fe564bb: Pull complete [2021-07-30T14:52:39.586Z] 24495759ef45: Pull complete [2021-07-30T14:52:39.868Z] d148012ef14d: Pull complete [2021-07-30T14:52:40.481Z] 596795e73e0f: Verifying Checksum [2021-07-30T14:52:40.482Z] 596795e73e0f: Download complete [2021-07-30T14:52:42.491Z] cb65c68fc2e2: Verifying Checksum [2021-07-30T14:52:42.491Z] cb65c68fc2e2: Download complete [2021-07-30T14:52:52.741Z] cb65c68fc2e2: Pull complete [2021-07-30T14:52:53.353Z] 093eec477d81: Pull complete [2021-07-30T14:52:53.630Z] a6d5b2bbb924: Pull complete [2021-07-30T14:52:54.234Z] 2446dc1eb7d3: Pull complete [2021-07-30T14:52:57.695Z] 596795e73e0f: Pull complete [2021-07-30T14:52:57.695Z] Digest: sha256:8fdc37217a1dd7593ea05f088b02ef5bfb3cd8d6ab6705c4f2c080891875b7a0 [2021-07-30T14:52:57.972Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine [2021-07-30T14:52:57.972Z] ---> d9e956139c92 [2021-07-30T14:52:57.972Z] Step 3/10 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2021-07-30T14:53:02.349Z] ---> Running in 3f2fd3a84e04 [2021-07-30T14:53:04.417Z] Removing intermediate container 3f2fd3a84e04 [2021-07-30T14:53:04.417Z] ---> b7be8f36ff8c [2021-07-30T14:53:04.417Z] Step 4/10 : ARG ALPINE_PKG_EXTRA="" [2021-07-30T14:53:04.417Z] ---> Running in 52a875d4726e [2021-07-30T14:53:04.417Z] Removing intermediate container 52a875d4726e [2021-07-30T14:53:04.417Z] ---> 3ae46d8ded69 [2021-07-30T14:53:04.417Z] Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019: Intel' [2021-07-30T14:53:04.417Z] ---> Running in 295c34da5d11 [2021-07-30T14:53:04.417Z] Removing intermediate container 295c34da5d11 [2021-07-30T14:53:04.417Z] ---> 8e9bf272f477 [2021-07-30T14:53:04.417Z] Step 6/10 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-07-30T14:53:04.417Z] ---> Running in cec6f90b3060 [2021-07-30T14:53:07.070Z] Removing intermediate container cec6f90b3060 [2021-07-30T14:53:07.070Z] ---> 7db3a9983921 [2021-07-30T14:53:07.070Z] Step 7/10 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2021-07-30T14:53:07.349Z] ---> Running in ff40f2130ccd [2021-07-30T14:53:08.806Z] fetch https://nl.alpinelinux.org/alpine/v3.13/main/aarch64/APKINDEX.tar.gz [2021-07-30T14:53:09.795Z] fetch https://nl.alpinelinux.org/alpine/v3.13/community/aarch64/APKINDEX.tar.gz [2021-07-30T14:53:11.245Z] (1/9) Installing libc-dev (0.7.2-r3) [2021-07-30T14:53:11.245Z] (2/9) Installing libsodium (1.0.18-r0) [2021-07-30T14:53:11.245Z] (3/9) Installing pkgconf (1.7.3-r0) [2021-07-30T14:53:11.521Z] (4/9) Installing libsodium-dev (1.0.18-r0) [2021-07-30T14:53:11.521Z] (5/9) Installing openssh-keygen (8.4_p1-r3) [2021-07-30T14:53:11.521Z] (6/9) Installing libedit (20191231.3.1-r1) [2021-07-30T14:53:11.796Z] (7/9) Installing openssh-client (8.4_p1-r3) [2021-07-30T14:53:12.072Z] (8/9) Installing libzmq (4.3.3-r1) [2021-07-30T14:53:12.350Z] (9/9) Installing zeromq-dev (4.3.3-r1) [2021-07-30T14:53:12.350Z] Executing busybox-1.32.1-r6.trigger [2021-07-30T14:53:12.350Z] OK: 144 MiB in 49 packages [2021-07-30T14:53:14.350Z] Removing intermediate container ff40f2130ccd [2021-07-30T14:53:14.350Z] ---> 90ffed3cbaa3 [2021-07-30T14:53:14.350Z] Step 8/10 : WORKDIR /device-rest-go [2021-07-30T14:53:14.350Z] ---> Running in e97ee8fb4b11 [2021-07-30T14:53:14.955Z] Removing intermediate container e97ee8fb4b11 [2021-07-30T14:53:14.955Z] ---> b3713bd54034 [2021-07-30T14:53:14.955Z] Step 9/10 : COPY . . [2021-07-30T14:53:15.954Z] ---> 706fe49e47c9 [2021-07-30T14:53:15.954Z] Step 10/10 : RUN go mod download [2021-07-30T14:53:16.234Z] ---> Running in a3f06aa3ae23 [2021-07-30T14:53:48.679Z] Removing intermediate container a3f06aa3ae23 [2021-07-30T14:53:48.679Z] ---> 468a80d41124 [2021-07-30T14:53:48.679Z] Successfully built 468a80d41124 [2021-07-30T14:53:48.679Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh [2021-07-30T14:53:49.084Z] + docker inspect -f . ci-base-image-arm64 [2021-07-30T14:53:49.084Z] . [Pipeline] withDockerContainer [2021-07-30T14:53:49.438Z] prd-ubuntu18.04-docker-arm64-4c-16g-654 does not seem to be running inside a container [2021-07-30T14:53:49.545Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-rest-go/1 -v /w/workspace/device-rest-go/1:/w/workspace/device-rest-go/1:rw,z -v /w/workspace/device-rest-go/1@tmp:/w/workspace/device-rest-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 ******** -e ******** ci-base-image-arm64 cat [2021-07-30T14:53:51.613Z] $ docker top a147ce6ed6d70c1953dee5aff80a00e00554cb1b98922dc13c41d4d71afc19ab -eo pid,comm [Pipeline] { [Pipeline] sh [2021-07-30T14:53:52.749Z] + go version [2021-07-30T14:53:52.749Z] go version go1.16.5 linux/arm64 [Pipeline] } [2021-07-30T14:53:52.781Z] $ docker stop --time=1 a147ce6ed6d70c1953dee5aff80a00e00554cb1b98922dc13c41d4d71afc19ab [2021-07-30T14:53:54.840Z] $ docker rm -f a147ce6ed6d70c1953dee5aff80a00e00554cb1b98922dc13c41d4d71afc19ab [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-07-30T14:53:55.981Z] + docker inspect -f . ci-base-image-arm64 [2021-07-30T14:53:55.981Z] . [Pipeline] withDockerContainer [2021-07-30T14:53:56.334Z] prd-ubuntu18.04-docker-arm64-4c-16g-654 does not seem to be running inside a container [2021-07-30T14:53:56.435Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-rest-go/1 -v /w/workspace/device-rest-go/1:/w/workspace/device-rest-go/1:rw,z -v /w/workspace/device-rest-go/1@tmp:/w/workspace/device-rest-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 ******** -e ******** ci-base-image-arm64 cat [2021-07-30T14:53:58.491Z] $ docker top e77558e706a59d6b7c93e70b9134a7c0d24bcd23d52e8c78d39bb2987abd1f29 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-07-30T14:53:59.645Z] + go mod tidy [Pipeline] sh [2021-07-30T14:54:01.369Z] + make test [2021-07-30T14:54:01.369Z] go mod tidy [2021-07-30T14:54:02.013Z] CGO_ENABLED=1 GO111MODULE=on go test -coverprofile=coverage.out ./... [2021-07-30T14:54:04.030Z] ? github.com/edgexfoundry/device-rest-go [no test files] [2021-07-30T14:55:12.239Z] ? github.com/edgexfoundry/device-rest-go/cmd [no test files] [2021-07-30T14:55:12.239Z] ok github.com/edgexfoundry/device-rest-go/driver 0.051s coverage: 54.0% of statements [2021-07-30T14:55:12.239Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2021-07-30T14:55:39.091Z] gofmt -l . [2021-07-30T14:55:39.091Z] [ "`gofmt -l .`" = "" ] [2021-07-30T14:55:39.091Z] ./bin/test-go-mod-tidy.sh [2021-07-30T14:55:39.091Z] ./bin/test-attribution-txt.sh [Pipeline] } [2021-07-30T14:55:41.140Z] $ docker stop --time=1 e77558e706a59d6b7c93e70b9134a7c0d24bcd23d52e8c78d39bb2987abd1f29 [2021-07-30T14:55:43.467Z] $ docker rm -f e77558e706a59d6b7c93e70b9134a7c0d24bcd23d52e8c78d39bb2987abd1f29 [Pipeline] // withDockerContainer [Pipeline] sh [2021-07-30T14:55:44.602Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2021-07-30T14:55:44.652Z] Warning: overwriting stash ‘coverage-report’ [2021-07-30T14:55:45.479Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-07-30T14:55:46.223Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2021-07-30T14:55:46.622Z] + ls -al . [2021-07-30T14:55:46.622Z] total 140 [2021-07-30T14:55:46.622Z] drwxrwxr-x 8 jenkins jenkins 4096 Jul 30 14:55 . [2021-07-30T14:55:46.622Z] drwxrwxr-x 4 jenkins jenkins 4096 Jul 30 14:52 .. [2021-07-30T14:55:46.622Z] -rw-rw-r-- 1 jenkins jenkins 151 Jul 30 14:52 .dockerignore [2021-07-30T14:55:46.622Z] drwxrwxr-x 8 jenkins jenkins 4096 Jul 30 14:52 .git [2021-07-30T14:55:46.622Z] drwxrwxr-x 2 jenkins jenkins 4096 Jul 30 14:52 .github [2021-07-30T14:55:46.622Z] -rw-rw-r-- 1 jenkins jenkins 336 Jul 30 14:52 .gitignore [2021-07-30T14:55:46.622Z] -rw-rw-r-- 1 jenkins jenkins 6792 Jul 30 14:52 Attribution.txt [2021-07-30T14:55:46.622Z] -rw-rw-r-- 1 jenkins jenkins 7459 Jul 30 14:52 CHANGELOG.md [2021-07-30T14:55:46.622Z] -rw-rw-r-- 1 jenkins jenkins 1615 Jul 30 14:52 Dockerfile [2021-07-30T14:55:46.622Z] -rw-rw-r-- 1 jenkins jenkins 1087 Jul 30 14:52 Dockerfile.build [2021-07-30T14:55:46.622Z] -rw-rw-r-- 1 jenkins jenkins 680 Jul 30 14:52 Jenkinsfile [2021-07-30T14:55:46.622Z] -rw-rw-r-- 1 jenkins jenkins 11340 Jul 30 14:52 LICENSE [2021-07-30T14:55:46.622Z] -rw-rw-r-- 1 jenkins jenkins 996 Jul 30 14:52 Makefile [2021-07-30T14:55:46.622Z] -rw-rw-r-- 1 jenkins jenkins 8084 Jul 30 14:52 README.md [2021-07-30T14:55:46.622Z] -rw-rw-r-- 1 jenkins jenkins 5 Jul 30 14:47 VERSION [2021-07-30T14:55:46.622Z] drwxrwxr-x 2 jenkins jenkins 4096 Jul 30 14:52 bin [2021-07-30T14:55:46.622Z] drwxrwxr-x 3 jenkins jenkins 4096 Jul 30 14:52 cmd [2021-07-30T14:55:46.622Z] -rw-r--r-- 1 jenkins jenkins 8513 Jul 30 14:55 coverage.out [2021-07-30T14:55:46.622Z] drwxrwxr-x 2 jenkins jenkins 4096 Jul 30 14:52 driver [2021-07-30T14:55:46.622Z] -rw-r--r-- 1 jenkins jenkins 271 Jul 30 14:55 go.mod [2021-07-30T14:55:46.622Z] -rw-r--r-- 1 jenkins jenkins 20570 Jul 30 14:54 go.sum [2021-07-30T14:55:46.622Z] drwxrwxr-x 4 jenkins jenkins 4096 Jul 30 14:52 snap [2021-07-30T14:55:46.622Z] -rw-rw-r-- 1 jenkins jenkins 713 Jul 30 14:52 version.go [Pipeline] isUnix [Pipeline] sh [2021-07-30T14:55:47.043Z] + docker build -t device-rest-arm64 -f Dockerfile --build-arg BASE=ci-base-image-arm64 --build-arg MAKE=make build --build-arg ARCH=arm64 --label git_sha=b263c2e12538d2124d0c359fc27e2a2a90b1ec1b --label arch=arm64 --label version=0.0.0 . [2021-07-30T14:55:47.044Z] Sending build context to Docker daemon 126kB [2021-07-30T14:55:47.654Z] Step 1/25 : ARG BASE=golang:1.16-alpine3.12 [2021-07-30T14:55:47.654Z] Step 2/25 : FROM ${BASE} AS builder [2021-07-30T14:55:47.654Z] ---> 468a80d41124 [2021-07-30T14:55:47.654Z] Step 3/25 : ARG MAKE='make build' [2021-07-30T14:55:47.932Z] ---> Running in f9c83a545893 [2021-07-30T14:55:48.535Z] Removing intermediate container f9c83a545893 [2021-07-30T14:55:48.535Z] ---> 87ee81145945 [2021-07-30T14:55:48.535Z] Step 4/25 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2021-07-30T14:55:48.535Z] ---> Running in 50c5c5be822b [2021-07-30T14:55:49.137Z] Removing intermediate container 50c5c5be822b [2021-07-30T14:55:49.137Z] ---> ad534cd78321 [2021-07-30T14:55:49.137Z] Step 5/25 : ARG ALPINE_PKG_EXTRA="" [2021-07-30T14:55:49.416Z] ---> Running in bbe820864ad6 [2021-07-30T14:55:50.023Z] Removing intermediate container bbe820864ad6 [2021-07-30T14:55:50.023Z] ---> 50c58f2b475f [2021-07-30T14:55:50.023Z] Step 6/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-07-30T14:55:50.023Z] ---> Running in 02098fbec361 [2021-07-30T14:55:52.699Z] Removing intermediate container 02098fbec361 [2021-07-30T14:55:52.699Z] ---> 37bd76b8b6c1 [2021-07-30T14:55:52.699Z] Step 7/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2021-07-30T14:55:52.978Z] ---> Running in de8167556c3f [2021-07-30T14:55:54.437Z] fetch https://nl.alpinelinux.org/alpine/v3.13/main/aarch64/APKINDEX.tar.gz [2021-07-30T14:55:55.430Z] fetch https://nl.alpinelinux.org/alpine/v3.13/community/aarch64/APKINDEX.tar.gz [2021-07-30T14:55:56.878Z] OK: 144 MiB in 49 packages [2021-07-30T14:55:57.870Z] Removing intermediate container de8167556c3f [2021-07-30T14:55:57.870Z] ---> 10755c3f26d4 [2021-07-30T14:55:57.870Z] Step 8/25 : WORKDIR /device-rest-go [2021-07-30T14:55:58.149Z] ---> Running in 8641fb1ad93a [2021-07-30T14:55:58.757Z] Removing intermediate container 8641fb1ad93a [2021-07-30T14:55:58.757Z] ---> 701acb0eb9d6 [2021-07-30T14:55:58.757Z] Step 9/25 : COPY . . [2021-07-30T14:55:59.755Z] ---> 49517f307a03 [2021-07-30T14:55:59.755Z] Step 10/25 : RUN go mod tidy [2021-07-30T14:56:00.032Z] ---> Running in 2f4667e036be [2021-07-30T14:56:03.481Z] Removing intermediate container 2f4667e036be [2021-07-30T14:56:03.481Z] ---> eeb3179d42d3 [2021-07-30T14:56:03.481Z] Step 11/25 : RUN make update [2021-07-30T14:56:03.760Z] ---> Running in f27c08536573 [2021-07-30T14:56:05.212Z] CGO_ENABLED=0 GO111MODULE=on go mod download [2021-07-30T14:56:06.207Z] Removing intermediate container f27c08536573 [2021-07-30T14:56:06.207Z] ---> eeace3aa0111 [2021-07-30T14:56:06.207Z] Step 12/25 : RUN $MAKE [2021-07-30T14:56:06.499Z] ---> Running in 9d63ae7f4c3c [2021-07-30T14:56:07.967Z] go mod tidy [2021-07-30T14:56:08.581Z] CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-rest-go.Version=0.0.0" -o cmd/device-rest ./cmd [2021-07-30T14:56:55.749Z] Removing intermediate container 9d63ae7f4c3c [2021-07-30T14:56:55.749Z] ---> 56be1442d1a5 [2021-07-30T14:56:55.749Z] Step 13/25 : FROM alpine:3.12 [2021-07-30T14:56:55.749Z] 3.12: Pulling from library/alpine [2021-07-30T14:56:55.749Z] d2f70382dc9a: Pulling fs layer [2021-07-30T14:56:55.749Z] d2f70382dc9a: Verifying Checksum [2021-07-30T14:56:55.749Z] d2f70382dc9a: Download complete [2021-07-30T14:56:55.749Z] d2f70382dc9a: Pull complete [2021-07-30T14:56:55.749Z] Digest: sha256:87703314048c40236c6d674424159ee862e2b96ce1c37c62d877e21ed27a387e [2021-07-30T14:56:55.749Z] Status: Downloaded newer image for alpine:3.12 [2021-07-30T14:56:55.749Z] ---> c4fd0aeabfcf [2021-07-30T14:56:55.749Z] Step 14/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019: Intel' [2021-07-30T14:56:55.749Z] ---> Running in 9b2053d319da [2021-07-30T14:56:55.749Z] Removing intermediate container 9b2053d319da [2021-07-30T14:56:55.749Z] ---> ab7402dce60e [2021-07-30T14:56:55.749Z] Step 15/25 : LABEL Name=device-rest-go Version=${VERSION} [2021-07-30T14:56:56.029Z] ---> Running in 8782f496f224 [2021-07-30T14:56:56.630Z] Removing intermediate container 8782f496f224 [2021-07-30T14:56:56.630Z] ---> f8498baa93f9 [2021-07-30T14:56:56.630Z] Step 16/25 : RUN apk add --update --no-cache zeromq dumb-init [2021-07-30T14:56:56.630Z] ---> Running in 00d6174b3352 [2021-07-30T14:56:58.625Z] fetch http://dl-cdn.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz [2021-07-30T14:56:58.625Z] fetch http://dl-cdn.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz [2021-07-30T14:56:59.228Z] (1/6) Installing dumb-init (1.2.2-r1) [2021-07-30T14:56:59.228Z] (2/6) Installing libgcc (9.3.0-r2) [2021-07-30T14:56:59.228Z] (3/6) Installing libsodium (1.0.18-r0) [2021-07-30T14:56:59.228Z] (4/6) Installing libstdc++ (9.3.0-r2) [2021-07-30T14:56:59.506Z] (5/6) Installing libzmq (4.3.3-r0) [2021-07-30T14:56:59.506Z] (6/6) Installing zeromq (4.3.3-r0) [2021-07-30T14:56:59.506Z] Executing busybox-1.31.1-r20.trigger [2021-07-30T14:56:59.506Z] OK: 8 MiB in 20 packages [2021-07-30T14:57:00.970Z] Removing intermediate container 00d6174b3352 [2021-07-30T14:57:00.970Z] ---> 58e485efc67b [2021-07-30T14:57:00.970Z] Step 17/25 : COPY --from=builder /device-rest-go/cmd / [2021-07-30T14:57:03.006Z] ---> a0a4761d8fe8 [2021-07-30T14:57:03.006Z] Step 18/25 : COPY --from=builder /device-rest-go/LICENSE / [2021-07-30T14:57:03.612Z] ---> 347e03c38399 [2021-07-30T14:57:03.612Z] Step 19/25 : COPY --from=builder /device-rest-go/Attribution.txt / [2021-07-30T14:57:04.620Z] ---> b5e751423ef7 [2021-07-30T14:57:04.620Z] Step 20/25 : EXPOSE 59986 [2021-07-30T14:57:04.620Z] ---> Running in 402b1da4f766 [2021-07-30T14:57:05.221Z] Removing intermediate container 402b1da4f766 [2021-07-30T14:57:05.221Z] ---> 7f14159a715e [2021-07-30T14:57:05.221Z] Step 21/25 : ENTRYPOINT ["/device-rest"] [2021-07-30T14:57:05.509Z] ---> Running in 9e1fa17fc169 [2021-07-30T14:57:05.791Z] Removing intermediate container 9e1fa17fc169 [2021-07-30T14:57:05.791Z] ---> f8195e7593fa [2021-07-30T14:57:05.791Z] Step 22/25 : CMD ["--cp=consul://edgex-core-consul:8500", "--confdir=/res", "--registry"] [2021-07-30T14:57:06.068Z] ---> Running in 037a2fe9ac0b [2021-07-30T14:57:06.673Z] Removing intermediate container 037a2fe9ac0b [2021-07-30T14:57:06.673Z] ---> 194796968273 [2021-07-30T14:57:06.673Z] Step 23/25 : LABEL arch=arm64 [2021-07-30T14:57:06.953Z] ---> Running in 87389f134f73 [2021-07-30T14:57:07.573Z] Removing intermediate container 87389f134f73 [2021-07-30T14:57:07.573Z] ---> 650fc76969f0 [2021-07-30T14:57:07.573Z] Step 24/25 : LABEL git_sha=b263c2e12538d2124d0c359fc27e2a2a90b1ec1b [2021-07-30T14:57:07.854Z] ---> Running in 65037703c765 [2021-07-30T14:57:08.462Z] Removing intermediate container 65037703c765 [2021-07-30T14:57:08.462Z] ---> 391b42b90a23 [2021-07-30T14:57:08.462Z] Step 25/25 : LABEL version=0.0.0 [2021-07-30T14:57:08.746Z] ---> Running in f37f9ac9e2e1 [2021-07-30T14:57:09.364Z] Removing intermediate container f37f9ac9e2e1 [2021-07-30T14:57:09.364Z] ---> 56481e565bba [2021-07-30T14:57:09.364Z] [Warning] One or more build-args [ARCH] were not consumed [2021-07-30T14:57:09.364Z] Successfully built 56481e565bba [2021-07-30T14:57:09.364Z] Successfully tagged device-rest-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-07-30T14:57:10.307Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2021-07-30T14:57:10.601Z] [2021-07-30T14:57:10.601Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] sh [2021-07-30T14:57:11.069Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2021-07-30T14:57:11.352Z] arm64: Pulling from edgex-lftools-log-publisher [2021-07-30T14:57:11.352Z] 448f6bf000e3: Pulling fs layer [2021-07-30T14:57:11.352Z] f757da607395: Pulling fs layer [2021-07-30T14:57:11.352Z] 05883995daec: Pulling fs layer [2021-07-30T14:57:11.352Z] 8603b9c90790: Pulling fs layer [2021-07-30T14:57:11.352Z] 1560dd03e051: Pulling fs layer [2021-07-30T14:57:11.352Z] 27f5ce0e4adf: Pulling fs layer [2021-07-30T14:57:11.352Z] c2d8d7efcc4b: Pulling fs layer [2021-07-30T14:57:11.352Z] 8603b9c90790: Waiting [2021-07-30T14:57:11.352Z] 1560dd03e051: Waiting [2021-07-30T14:57:11.352Z] 27f5ce0e4adf: Waiting [2021-07-30T14:57:11.352Z] c2d8d7efcc4b: Waiting [2021-07-30T14:57:11.634Z] f757da607395: Verifying Checksum [2021-07-30T14:57:11.634Z] f757da607395: Download complete [2021-07-30T14:57:11.634Z] 8603b9c90790: Verifying Checksum [2021-07-30T14:57:11.634Z] 8603b9c90790: Download complete [2021-07-30T14:57:11.919Z] 1560dd03e051: Verifying Checksum [2021-07-30T14:57:11.919Z] 1560dd03e051: Download complete [2021-07-30T14:57:11.919Z] 27f5ce0e4adf: Verifying Checksum [2021-07-30T14:57:11.919Z] 27f5ce0e4adf: Download complete [2021-07-30T14:57:11.919Z] 05883995daec: Verifying Checksum [2021-07-30T14:57:11.919Z] 05883995daec: Download complete [2021-07-30T14:57:12.913Z] 448f6bf000e3: Verifying Checksum [2021-07-30T14:57:12.913Z] 448f6bf000e3: Download complete [2021-07-30T14:57:16.381Z] c2d8d7efcc4b: Verifying Checksum [2021-07-30T14:57:16.381Z] c2d8d7efcc4b: Download complete [2021-07-30T14:57:16.664Z] 448f6bf000e3: Pull complete [2021-07-30T14:57:17.666Z] f757da607395: Pull complete [2021-07-30T14:57:19.117Z] 05883995daec: Pull complete [2021-07-30T14:57:19.738Z] 8603b9c90790: Pull complete [2021-07-30T14:57:20.749Z] 1560dd03e051: Pull complete [2021-07-30T14:57:21.356Z] 27f5ce0e4adf: Pull complete [2021-07-30T14:57:36.507Z] c2d8d7efcc4b: Pull complete [2021-07-30T14:57:36.507Z] Digest: sha256:42f6a1c33103aa4ecfebf648e29883a20fd84132c0f0d4f855d8bcfd8dd9c454 [2021-07-30T14:57:36.507Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2021-07-30T14:57:36.507Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] withDockerContainer [2021-07-30T14:57:36.838Z] prd-ubuntu18.04-docker-arm64-4c-16g-654 does not seem to be running inside a container [2021-07-30T14:57:36.931Z] $ 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-rest-go/1 -v /w/workspace/device-rest-go/1:/w/workspace/device-rest-go/1:rw,z -v /w/workspace/device-rest-go/1@tmp:/w/workspace/device-rest-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 ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat [2021-07-30T14:57:42.414Z] $ docker top b7221fe28cf6135d86be8b5ed1ea18aa325608a4937129d4a13cfcc89ca18bb7 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-07-30T14:57:43.570Z] ---> job-cost.sh [2021-07-30T14:57:43.570Z] lf-activate-venv: SKIPPING [2021-07-30T14:57:43.570Z] INFO: No Stack... [2021-07-30T14:57:44.560Z] INFO: Retrieving Pricing Info for: v2-standard-4 [2021-07-30T14:57:45.166Z] INFO: Archiving Costs [Pipeline] sh [2021-07-30T14:57:45.872Z] + cat /w/workspace/device-rest-go/1/archives/cost.csv [2021-07-30T14:57:45.872Z] + cut -d, -f6 [Pipeline] lock [2021-07-30T14:57:45.983Z] Trying to acquire lock on [jenkins-edgexfoundry-device-rest-go-PR-128-1-stack-cost] [2021-07-30T14:57:45.993Z] Resource [jenkins-edgexfoundry-device-rest-go-PR-128-1-stack-cost] did not exist. Created. [2021-07-30T14:57:45.993Z] Lock acquired on [jenkins-edgexfoundry-device-rest-go-PR-128-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2021-07-30T14:57:46.768Z] /w/workspace/device-rest-go/1@tmp/durable-669bfac3/script.sh: 1: /w/workspace/device-rest-go/1@tmp/durable-669bfac3/script.sh: Syntax error: Unterminated quoted string [Pipeline] sh [2021-07-30T14:57:47.474Z] + echo total: 0.18000000715255737 [Pipeline] stash [2021-07-30T14:57:47.519Z] Warning: overwriting stash ‘stack-cost’ [2021-07-30T14:57:47.572Z] Stashed 1 file(s) [Pipeline] } [2021-07-30T14:57:47.596Z] Lock released on resource [jenkins-edgexfoundry-device-rest-go-PR-128-1-stack-cost] [Pipeline] // lock [Pipeline] } [2021-07-30T14:57:47.667Z] $ docker stop --time=1 b7221fe28cf6135d86be8b5ed1ea18aa325608a4937129d4a13cfcc89ca18bb7 [2021-07-30T14:57:49.453Z] $ docker rm -f b7221fe28cf6135d86be8b5ed1ea18aa325608a4937129d4a13cfcc89ca18bb7 [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-07-30T14:57:50.812Z] provisioning config files... [2021-07-30T14:57:50.833Z] copy managed file [device-rest-go-codecov-token] to file:/w/workspace/gexfoundry_device-rest-go_PR-128@tmp/config5781020750352765765tmp [Pipeline] { [Pipeline] sh [2021-07-30T14:57:51.216Z] + set +x [2021-07-30T14:57:51.216Z] + curl -s https://codecov.io/bash [2021-07-30T14:57:51.216Z] + bash -s -- [2021-07-30T14:57:51.216Z] [2021-07-30T14:57:51.216Z] _____ _ [2021-07-30T14:57:51.216Z] / ____| | | [2021-07-30T14:57:51.216Z] | | ___ __| | ___ ___ _____ __ [2021-07-30T14:57:51.216Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2021-07-30T14:57:51.216Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2021-07-30T14:57:51.216Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2021-07-30T14:57:51.216Z] Bash-1.0.6 [2021-07-30T14:57:51.216Z] [2021-07-30T14:57:51.216Z] [2021-07-30T14:57:51.216Z] ==> git version 2.24.4 found [2021-07-30T14:57:51.216Z] ==> 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-07-30T14:57:51.216Z] Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtsp scp sftp smtp smtps telnet tftp [2021-07-30T14:57:51.216Z] Features: AsynchDNS GSS-Negotiate IDN IPv6 Largefile NTLM NTLM_WB SSL libz unix-sockets [2021-07-30T14:57:51.216Z] ==> Jenkins CI detected. [2021-07-30T14:57:51.216Z] current dir:  /w/workspace/gexfoundry_device-rest-go_PR-128 [2021-07-30T14:57:51.216Z] project root: . [2021-07-30T14:57:51.216Z] --> token set from env [2021-07-30T14:57:51.216Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2021-07-30T14:57:51.216Z] ==> Running gcov in . (disable via -X gcov) [2021-07-30T14:57:51.216Z] ==> Python coveragepy not found [2021-07-30T14:57:51.216Z] ==> Searching for coverage reports in: [2021-07-30T14:57:51.216Z] + . [2021-07-30T14:57:51.216Z] -> Found 1 reports [2021-07-30T14:57:51.216Z] ==> Detecting git/mercurial file structure [2021-07-30T14:57:51.216Z] ==> Reading reports [2021-07-30T14:57:51.216Z] + ./coverage.out bytes=8513 [2021-07-30T14:57:51.216Z] ==> Appending adjustments [2021-07-30T14:57:51.216Z] https://docs.codecov.io/docs/fixing-reports [2021-07-30T14:57:51.488Z] + Found adjustments [2021-07-30T14:57:51.488Z] ==> Gzipping contents [2021-07-30T14:57:51.488Z] 4.0K /tmp/codecov.rDkrCf.gz [2021-07-30T14:57:51.488Z] ==> Uploading reports [2021-07-30T14:57:51.488Z] url: https://codecov.io [2021-07-30T14:57:51.488Z] query: branch=PR-128&commit=b263c2e12538d2124d0c359fc27e2a2a90b1ec1b&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-rest-go%2Fjob%2FPR-128%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-rest-go&service=jenkins&flags=&pr=128&job=&cmd_args= [2021-07-30T14:57:51.488Z] -> Pinging Codecov [2021-07-30T14:57:51.488Z] https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=c51feb23-73ac-4f49-b3d1-d26df23137db&branch=PR-128&commit=b263c2e12538d2124d0c359fc27e2a2a90b1ec1b&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-rest-go%2Fjob%2FPR-128%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-rest-go&service=jenkins&flags=&pr=128&job=&cmd_args= [2021-07-30T14:57:52.074Z] -> Uploading to [2021-07-30T14:57:52.074Z] https://storage.googleapis.com/codecov/v4/raw/2021-07-30/4E5D53B4F1F92C436F7061BF334D961C/b263c2e12538d2124d0c359fc27e2a2a90b1ec1b/802f1f0f-01d5-4a36-bdbc-23d0a98bf411.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EKKHVKCKHW7KBCGM7IHR55T63V2PAVJWLVFNITJHDU5G6R5IRN3LMWJA%2F20210730%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20210730T145751Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=67b469435a3446bec834ff81e157c0d7022222011942f9a36056a6448f4c5e02 [2021-07-30T14:57:52.074Z] % Total % Received % Xferd Average Speed Time Time Time Current [2021-07-30T14:57:52.074Z] Dload Upload Total Spent Left Speed [2021-07-30T14:57:52.345Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 1759 0 0 100 1759 0 5577 --:--:-- --:--:-- --:--:-- 5584 [2021-07-30T14:57:52.345Z] -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/device-rest-go/commit/b263c2e12538d2124d0c359fc27e2a2a90b1ec1b [Pipeline] } [2021-07-30T14:57:52.374Z] 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] libraryResource [Pipeline] sh [2021-07-30T14:57:54.885Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2021-07-30T14:57:55.524Z] ---> package-listing.sh [2021-07-30T14:57:55.524Z] ++ facter osfamily [2021-07-30T14:57:55.524Z] ++ tr '[:upper:]' '[:lower:]' [2021-07-30T14:57:55.793Z] + OS_FAMILY=redhat [2021-07-30T14:57:55.793Z] + workspace=/w/workspace/gexfoundry_device-rest-go_PR-128 [2021-07-30T14:57:55.793Z] + START_PACKAGES=/tmp/packages_start.txt [2021-07-30T14:57:55.793Z] + END_PACKAGES=/tmp/packages_end.txt [2021-07-30T14:57:55.793Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2021-07-30T14:57:55.793Z] + PACKAGES=/tmp/packages_start.txt [2021-07-30T14:57:55.793Z] + '[' /w/workspace/gexfoundry_device-rest-go_PR-128 ']' [2021-07-30T14:57:55.793Z] + PACKAGES=/tmp/packages_end.txt [2021-07-30T14:57:55.793Z] + case "${OS_FAMILY}" in [2021-07-30T14:57:55.793Z] + sort [2021-07-30T14:57:55.793Z] + rpm -qa [2021-07-30T14:57:56.388Z] + '[' -f /tmp/packages_start.txt ']' [2021-07-30T14:57:56.388Z] + '[' -f /tmp/packages_end.txt ']' [2021-07-30T14:57:56.388Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2021-07-30T14:57:56.388Z] + '[' /w/workspace/gexfoundry_device-rest-go_PR-128 ']' [2021-07-30T14:57:56.388Z] + mkdir -p /w/workspace/gexfoundry_device-rest-go_PR-128/archives/ [2021-07-30T14:57:56.388Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_device-rest-go_PR-128/archives/ [Pipeline] echo [2021-07-30T14:57:56.429Z] 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-rest-go_PR-128/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2021-07-30T14:57:56.754Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] sh [2021-07-30T14:57:57.385Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2021-07-30T14:57:57.385Z] [2021-07-30T14:57:57.385Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] sh [2021-07-30T14:57:57.766Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2021-07-30T14:57:57.766Z] latest: Pulling from edgex-lftools-log-publisher [2021-07-30T14:57:57.766Z] b4d181a07f80: Pulling fs layer [2021-07-30T14:57:57.766Z] a1111a8f2ec3: Pulling fs layer [2021-07-30T14:57:57.766Z] ed53099fbce6: Pulling fs layer [2021-07-30T14:57:57.766Z] dc539afda2c1: Pulling fs layer [2021-07-30T14:57:57.766Z] 77bc0d833cb6: Pulling fs layer [2021-07-30T14:57:57.766Z] 9065ff56babe: Pulling fs layer [2021-07-30T14:57:57.766Z] d287ab97295c: Pulling fs layer [2021-07-30T14:57:57.766Z] 77bc0d833cb6: Waiting [2021-07-30T14:57:57.766Z] 9065ff56babe: Waiting [2021-07-30T14:57:57.766Z] d287ab97295c: Waiting [2021-07-30T14:57:58.034Z] a1111a8f2ec3: Verifying Checksum [2021-07-30T14:57:58.034Z] a1111a8f2ec3: Download complete [2021-07-30T14:57:58.034Z] dc539afda2c1: Verifying Checksum [2021-07-30T14:57:58.034Z] dc539afda2c1: Download complete [2021-07-30T14:57:58.302Z] 77bc0d833cb6: Verifying Checksum [2021-07-30T14:57:58.302Z] 77bc0d833cb6: Download complete [2021-07-30T14:57:58.302Z] 9065ff56babe: Verifying Checksum [2021-07-30T14:57:58.302Z] 9065ff56babe: Download complete [2021-07-30T14:57:58.572Z] ed53099fbce6: Verifying Checksum [2021-07-30T14:57:58.572Z] ed53099fbce6: Download complete [2021-07-30T14:57:59.999Z] b4d181a07f80: Verifying Checksum [2021-07-30T14:57:59.999Z] b4d181a07f80: Download complete [2021-07-30T14:58:00.995Z] b4d181a07f80: Pull complete [2021-07-30T14:58:00.995Z] a1111a8f2ec3: Pull complete [2021-07-30T14:58:01.588Z] ed53099fbce6: Pull complete [2021-07-30T14:58:01.588Z] dc539afda2c1: Pull complete [2021-07-30T14:58:01.856Z] 77bc0d833cb6: Pull complete [2021-07-30T14:58:01.856Z] 9065ff56babe: Pull complete [2021-07-30T14:58:05.204Z] d287ab97295c: Verifying Checksum [2021-07-30T14:58:05.204Z] d287ab97295c: Download complete [2021-07-30T14:58:09.498Z] d287ab97295c: Pull complete [2021-07-30T14:58:09.498Z] Digest: sha256:0c69325c24349bfb3ea32a3c3cbcab1fb66df42c981276dd8ebcf6aa441257c4 [2021-07-30T14:58:09.498Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2021-07-30T14:58:09.498Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] withDockerContainer [2021-07-30T14:58:09.697Z] prd-centos7-docker-4c-2g-638 does not seem to be running inside a container [2021-07-30T14:58:09.765Z] $ 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-rest-go_PR-128/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-rest-go_PR-128 -v /w/workspace/gexfoundry_device-rest-go_PR-128:/w/workspace/gexfoundry_device-rest-go_PR-128:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-128@tmp:/w/workspace/gexfoundry_device-rest-go_PR-128@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2021-07-30T14:58:11.872Z] $ docker top b47e5358eba3fb005b596137eb0c19491c097f383a7650645e399f4e55c89def -eo pid,comm [Pipeline] { [Pipeline] sh [2021-07-30T14:58:12.377Z] + touch /tmp/pre-build-complete [Pipeline] sh [2021-07-30T14:58:12.729Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2021-07-30T14:58:13.069Z] + ls /var/log/sa-host [2021-07-30T14:58:13.069Z] + sadf -c /var/log/sa-host/sa05 [2021-07-30T14:58:13.069Z] file_magic: OK [2021-07-30T14:58:13.069Z] HZ: Using current value: 100 [2021-07-30T14:58:13.069Z] file_header: OK [2021-07-30T14:58:13.069Z] 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-07-30T14:58:13.069Z] Statistics: [2021-07-30T14:58:13.069Z] Hnuu...uuuununununu...Hnuu...uuuununununu... [2021-07-30T14:58:13.069Z] File successfully converted to sysstat format version 12.0.3 [2021-07-30T14:58:13.069Z] + sadf -c /var/log/sa-host/sa30 [2021-07-30T14:58:13.069Z] file_magic: OK [2021-07-30T14:58:13.069Z] HZ: Using current value: 100 [2021-07-30T14:58:13.069Z] file_header: OK [2021-07-30T14:58:13.069Z] 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-07-30T14:58:13.069Z] Statistics: [2021-07-30T14:58:13.069Z] HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... [2021-07-30T14:58:13.069Z] File successfully converted to sysstat format version 12.0.3 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-07-30T14:58:13.344Z] provisioning config files... [2021-07-30T14:58:13.363Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-rest-go_PR-128@tmp/config3075654860073103228tmp [Pipeline] { [Pipeline] echo [2021-07-30T14:58:13.427Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2021-07-30T14:58:13.791Z] ---> create-netrc.sh [Pipeline] } [2021-07-30T14:58:13.826Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2021-07-30T14:58:14.296Z] ---> python-tools-install.sh [Pipeline] echo [2021-07-30T14:58:14.332Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2021-07-30T14:58:14.694Z] ---> sudo-logs.sh [2021-07-30T14:58:14.694Z] Archiving 'sudo' log.. [2021-07-30T14:58:14.694Z] sudo: unable to resolve host prd-centos7-docker-4c-2g-638.vexxhost.local: Name or service not known [2021-07-30T14:58:14.694Z] sudo: unable to resolve host prd-centos7-docker-4c-2g-638.vexxhost.local: Name or service not known [Pipeline] unstash [Pipeline] echo [2021-07-30T14:58:14.787Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2021-07-30T14:58:15.145Z] ---> job-cost.sh [2021-07-30T14:58:15.146Z] lf-activate-venv: SKIPPING [2021-07-30T14:58:15.146Z] DEBUG: total: 0.18000000715255737 [2021-07-30T14:58:15.146Z] INFO: Retrieving Stack Cost... [2021-07-30T14:58:16.556Z] INFO: Retrieving Pricing Info for: v3-standard-2 [2021-07-30T14:58:16.854Z] INFO: Archiving Costs [Pipeline] echo [2021-07-30T14:58:16.894Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2021-07-30T14:58:17.251Z] ---> logs-deploy.sh [2021-07-30T14:58:17.251Z] lf-activate-venv: SKIPPING [2021-07-30T14:58:17.251Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-rest-go/PR-128/1 [2021-07-30T14:58:17.251Z] INFO: archiving workspace using pattern(s): [2021-07-30T14:58:17.836Z] Archives upload complete. [2021-07-30T14:58:18.102Z] INFO: archiving logs to Nexus