Pull request #139 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 siggiskulason for edgexfoundry/device-rest-go Obtained Jenkinsfile from d2bfa720847907ccc8297cdeca17aa1aafdd3b41+dfe1eecf97bbb3fc78e576d46b1f52bb386bd406 (09d664c37b3aa866f704395648c5abe4e76fc8f6) 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-ssh6429285082403736904.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision f1d79d91c36788821211008368c3015072ca53ca Resolving tag commit... (remote references may be a lightweight tag or an annotated tag) > git rev-parse --resolve-git-dir /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f/.git # timeout=10 Setting origin to git@github.com:edgexfoundry/edgex-global-pipelines.git > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching origin... Fetching upstream changes from origin > git --version # timeout=10 > git --version # 'git version 2.16.6' > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f@tmp/jenkins-gitclient-ssh5147699946938968847.key > git fetch --tags --progress -- origin +refs/heads/*:refs/remotes/origin/* # timeout=10 > git rev-parse refs/tags/stable^{commit} # timeout=10 Resolved tag stable revision f1d79d91c36788821211008368c3015072ca53ca The recommended git tool is: git using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning with configured refspecs honoured and with tags Cloning repository git@github.com:edgexfoundry/edgex-global-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/device-rest-go/branches/PR-139/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-139/workspace@libs/edgex-global-pipelines@tmp/jenkins-gitclient-ssh1521301002472782526.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-139/workspace@libs/edgex-global-pipelines@tmp/jenkins-gitclient-ssh7174461446782637310.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision f1d79d91c36788821211008368c3015072ca53ca (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f f1d79d91c36788821211008368c3015072ca53ca # timeout=10 Commit message: "Merge pull request #358 from ernestojeda/update-get-head-tags" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 > git --version # timeout=10 > git --version # 'git version 2.16.6' Excluding src/test/ from checkout of git git@github.com:edgexfoundry/edgex-global-pipelines.git so that shared library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. Loading library lf-pipelines@master Attempting to resolve master from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /tmp/jenkins-gitclient-ssh1680485250292382610.key > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision 9bc0e518fca0494fd51682b06eec2da29a326327 The recommended git tool is: NONE using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning with configured refspecs honoured and without tags Cloning repository git@github.com:lfit/releng-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/device-rest-go/branches/PR-139/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-139/workspace@libs/lf-pipelines@tmp/jenkins-gitclient-ssh3834428137893754117.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 Avoid second fetch Checking out Revision 9bc0e518fca0494fd51682b06eec2da29a326327 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 9bc0e518fca0494fd51682b06eec2da29a326327 # timeout=10 Commit message: "Merge "Fix: Make archiveArtifacts overwriteable in lfJava"" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 > git --version # timeout=10 > git --version # 'git version 2.16.6' fatal: bad object f1d79d91c36788821211008368c3015072ca53ca Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that shared library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-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 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 Running on prd-centos7-docker-4c-2g-1028 in /w/workspace/gexfoundry_device-rest-go_PR-139 [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-139 # 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-139@tmp/jenkins-gitclient-ssh6452220028561487706.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 > 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-139@tmp/jenkins-gitclient-ssh4793976554606544262.key > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/pull/139/head:refs/remotes/origin/PR-139 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit dfe1eecf97bbb3fc78e576d46b1f52bb386bd406 into PR head commit d2bfa720847907ccc8297cdeca17aa1aafdd3b41 Merge succeeded, producing d2bfa720847907ccc8297cdeca17aa1aafdd3b41 Checking out Revision d2bfa720847907ccc8297cdeca17aa1aafdd3b41 (PR-139) > git config core.sparsecheckout # timeout=10 > git checkout -f d2bfa720847907ccc8297cdeca17aa1aafdd3b41 # 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-139@tmp/jenkins-gitclient-ssh2367233187072693762.key > git merge dfe1eecf97bbb3fc78e576d46b1f52bb386bd406 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f d2bfa720847907ccc8297cdeca17aa1aafdd3b41 # timeout=10 Commit message: "fix(snap): create VERSION file during snap build" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.24.4' fatal: bad object f1d79d91c36788821211008368c3015072ca53ca [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2021-10-13T11:35:19.723Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2021-10-13T11:35:19.848Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2021-10-13T11:35:19.930Z] ========================================================= [2021-10-13T11:35:19.930Z] EdgeX Global Pipelines Version Info [2021-10-13T11:35:19.930Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2021-10-13T11:35:21.101Z] ------------------- [2021-10-13T11:35:21.102Z] stable info: [2021-10-13T11:35:21.102Z] ------------------- [2021-10-13T11:35:21.102Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2021-10-13T11:35:21.102Z] Commit SHA: f1d79d91c36788821211008368c3015072ca53ca [2021-10-13T11:35:21.102Z] Message: update stable to v1.0.209 [2021-10-13T11:35:21.675Z] ------------------- [2021-10-13T11:35:21.675Z] experimental info: [2021-10-13T11:35:21.675Z] ------------------- [2021-10-13T11:35:21.675Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2021-10-13T11:35:21.675Z] Commit SHA: f1d79d91c36788821211008368c3015072ca53ca [2021-10-13T11:35:21.675Z] Message: update experimental to v1.0.209 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2021-10-13T11:35:21.849Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-rest-go-settings [Pipeline] echo [2021-10-13T11:35:21.885Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-rest-go [Pipeline] echo [2021-10-13T11:35:21.925Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2021-10-13T11:35:21.959Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2021-10-13T11:35:21.998Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2021-10-13T11:35:22.035Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.16 [Pipeline] echo [2021-10-13T11:35:22.072Z] [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine [Pipeline] echo [2021-10-13T11:35:22.110Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2021-10-13T11:35:22.146Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2021-10-13T11:35:22.182Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2021-10-13T11:35:22.218Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2021-10-13T11:35:22.252Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-rest [Pipeline] echo [2021-10-13T11:35:22.287Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2021-10-13T11:35:22.327Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2021-10-13T11:35:22.366Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2021-10-13T11:35:22.399Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2021-10-13T11:35:22.433Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2021-10-13T11:35:22.476Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2021-10-13T11:35:22.514Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2021-10-13T11:35:22.550Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2021-10-13T11:35:22.591Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2021-10-13T11:35:22.628Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2021-10-13T11:35:22.666Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2021-10-13T11:35:22.704Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2021-10-13T11:35:22.746Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2021-10-13T11:35:22.779Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2021-10-13T11:35:22.821Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-139 [Pipeline] echo [2021-10-13T11:35:22.869Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-139 [Pipeline] echo [2021-10-13T11:35:22.911Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-139 [Pipeline] echo [2021-10-13T11:35:22.986Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = d2bfa720847907ccc8297cdeca17aa1aafdd3b41 [Pipeline] echo [2021-10-13T11:35:23.035Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = d2bfa72 [Pipeline] echo [2021-10-13T11:35:23.081Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-10-13T11:35:23.198Z] provisioning config files... [2021-10-13T11:35:23.212Z] copy managed file [device-rest-go-settings] to file:/w/workspace/gexfoundry_device-rest-go_PR-139@tmp/config4058465533035344954tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-10-13T11:35:23.566Z] ---> docker-login.sh [2021-10-13T11:35:23.566Z] nexus3.edgexfoundry.org:10001 [2021-10-13T11:35:23.566Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-10-13T11:35:23.829Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-10-13T11:35:23.829Z] Configure a credential helper to remove this warning. See [2021-10-13T11:35:23.829Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-10-13T11:35:23.829Z] [2021-10-13T11:35:23.829Z] Login Succeeded [2021-10-13T11:35:23.829Z] nexus3.edgexfoundry.org:10002 [2021-10-13T11:35:23.829Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-10-13T11:35:23.829Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-10-13T11:35:23.829Z] Configure a credential helper to remove this warning. See [2021-10-13T11:35:23.829Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-10-13T11:35:23.829Z] [2021-10-13T11:35:23.829Z] Login Succeeded [2021-10-13T11:35:23.829Z] nexus3.edgexfoundry.org:10003 [2021-10-13T11:35:23.829Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-10-13T11:35:24.092Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-10-13T11:35:24.092Z] Configure a credential helper to remove this warning. See [2021-10-13T11:35:24.092Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-10-13T11:35:24.092Z] [2021-10-13T11:35:24.092Z] Login Succeeded [2021-10-13T11:35:24.092Z] nexus3.edgexfoundry.org:10004 [2021-10-13T11:35:24.092Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-10-13T11:35:24.092Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-10-13T11:35:24.092Z] Configure a credential helper to remove this warning. See [2021-10-13T11:35:24.092Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-10-13T11:35:24.092Z] [2021-10-13T11:35:24.092Z] Login Succeeded [2021-10-13T11:35:24.092Z] docker.io [2021-10-13T11:35:24.092Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-10-13T11:35:24.664Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-10-13T11:35:24.664Z] Configure a credential helper to remove this warning. See [2021-10-13T11:35:24.664Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-10-13T11:35:24.664Z] [2021-10-13T11:35:24.664Z] Login Succeeded [2021-10-13T11:35:24.664Z] ---> docker-login.sh ends [Pipeline] } [2021-10-13T11:35:24.682Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-10-13T11:35:25.322Z] + git log --format=format:%s -1 d2bfa720847907ccc8297cdeca17aa1aafdd3b41 [Pipeline] echo [2021-10-13T11:35:25.374Z] GIT_COMMIT: d2bfa720847907ccc8297cdeca17aa1aafdd3b41, Commit Message: fix(snap): create VERSION file during snap build [Pipeline] echo [2021-10-13T11:35:25.404Z] This is not a build commit. [Pipeline] isUnix [Pipeline] sh [2021-10-13T11:35:26.069Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-10-13T11:35:26.069Z] [2021-10-13T11:35:26.069Z] Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh [2021-10-13T11:35:26.405Z] + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-10-13T11:35:26.405Z] latest: Pulling from edgex-devops/git-semver [2021-10-13T11:35:26.405Z] a0d0a0d46f8b: Pulling fs layer [2021-10-13T11:35:26.405Z] 3e5f54012d9b: Pulling fs layer [2021-10-13T11:35:26.405Z] 4c7163046ea9: Pulling fs layer [2021-10-13T11:35:26.405Z] 0c2d73faf560: Pulling fs layer [2021-10-13T11:35:26.405Z] 0c2d73faf560: Waiting [2021-10-13T11:35:26.405Z] 3e5f54012d9b: Verifying Checksum [2021-10-13T11:35:26.405Z] 3e5f54012d9b: Download complete [2021-10-13T11:35:26.405Z] a0d0a0d46f8b: Verifying Checksum [2021-10-13T11:35:26.406Z] a0d0a0d46f8b: Download complete [2021-10-13T11:35:26.674Z] 4c7163046ea9: Verifying Checksum [2021-10-13T11:35:26.674Z] 4c7163046ea9: Download complete [2021-10-13T11:35:26.674Z] 0c2d73faf560: Verifying Checksum [2021-10-13T11:35:26.674Z] 0c2d73faf560: Download complete [2021-10-13T11:35:26.674Z] a0d0a0d46f8b: Pull complete [2021-10-13T11:35:26.674Z] 3e5f54012d9b: Pull complete [2021-10-13T11:35:27.250Z] 4c7163046ea9: Pull complete [2021-10-13T11:35:27.250Z] 0c2d73faf560: Pull complete [2021-10-13T11:35:27.250Z] Digest: sha256:2751de6e655929dcbe46418c7769d9d992331b5b721eb968631a4166222929f9 [2021-10-13T11:35:27.250Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-10-13T11:35:27.250Z] nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer [2021-10-13T11:35:27.336Z] prd-centos7-docker-4c-2g-1028 does not seem to be running inside a container [2021-10-13T11:35:27.378Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-rest-go_PR-139 -v /w/workspace/gexfoundry_device-rest-go_PR-139:/w/workspace/gexfoundry_device-rest-go_PR-139:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-139@tmp:/w/workspace/gexfoundry_device-rest-go_PR-139@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat [2021-10-13T11:35:28.021Z] $ docker top 02f5f640bcebd8b1680112cad2595b5c073f34168409f8a5b8084e71a5b6ac30 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2021-10-13T11:35:28.226Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-10-13T11:35:28.226Z] [ssh-agent] Looking for ssh-agent implementation... [2021-10-13T11:35:28.347Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-10-13T11:35:28.348Z] $ docker exec 02f5f640bcebd8b1680112cad2595b5c073f34168409f8a5b8084e71a5b6ac30 ssh-agent [2021-10-13T11:35:28.455Z] SSH_AUTH_SOCK=/tmp/ssh-XXXXXXCJFBnI/agent.14 [2021-10-13T11:35:28.455Z] SSH_AGENT_PID=20 [2021-10-13T11:35:28.463Z] Running ssh-add (command line suppressed) [2021-10-13T11:35:28.568Z] Identity added: /w/workspace/gexfoundry_device-rest-go_PR-139@tmp/private_key_5850575047611139146.key (/w/workspace/gexfoundry_device-rest-go_PR-139@tmp/private_key_5850575047611139146.key) [2021-10-13T11:35:28.584Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-10-13T11:35:28.916Z] + git tag --points-at HEAD [Pipeline] } [2021-10-13T11:35:28.941Z] $ docker exec --env ******** --env ******** 02f5f640bcebd8b1680112cad2595b5c073f34168409f8a5b8084e71a5b6ac30 ssh-agent -k [2021-10-13T11:35:29.046Z] unset SSH_AUTH_SOCK; [2021-10-13T11:35:29.046Z] unset SSH_AGENT_PID; [2021-10-13T11:35:29.047Z] echo Agent pid 20 killed; [2021-10-13T11:35:29.057Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2021-10-13T11:35:29.128Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-10-13T11:35:29.128Z] [ssh-agent] Looking for ssh-agent implementation... [2021-10-13T11:35:29.247Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-10-13T11:35:29.249Z] $ docker exec 02f5f640bcebd8b1680112cad2595b5c073f34168409f8a5b8084e71a5b6ac30 ssh-agent [2021-10-13T11:35:29.372Z] SSH_AUTH_SOCK=/tmp/ssh-XXXXXXDgAhpL/agent.53 [2021-10-13T11:35:29.372Z] SSH_AGENT_PID=59 [2021-10-13T11:35:29.378Z] Running ssh-add (command line suppressed) [2021-10-13T11:35:29.489Z] Identity added: /w/workspace/gexfoundry_device-rest-go_PR-139@tmp/private_key_6870913560708180279.key (/w/workspace/gexfoundry_device-rest-go_PR-139@tmp/private_key_6870913560708180279.key) [2021-10-13T11:35:29.505Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-10-13T11:35:29.841Z] + git semver init [2021-10-13T11:35:29.841Z] # -> Open(): unable to determine branch for HEAD [2021-10-13T11:35:29.841Z] # $GIT_DIR = /w/workspace/gexfoundry_device-rest-go_PR-139/.git [2021-10-13T11:35:29.841Z] # $GIT_WORK_TREE = /w/workspace/gexfoundry_device-rest-go_PR-139 [2021-10-13T11:35:29.841Z] # $SEMVER_REMOTE_NAME = origin [2021-10-13T11:35:29.841Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2021-10-13T11:35:29.841Z] # $SEMVER_USER_NAME = edgex-jenkins [2021-10-13T11:35:29.841Z] # $SEMVER_BRANCH = PR-139 [2021-10-13T11:35:29.841Z] # $SEMVER_TEMP = /tmp/semver-424953685 [2021-10-13T11:35:29.841Z] # git clone --branch semver git@github.com:edgexfoundry/device-rest-go.git $SEMVER_TEMP [2021-10-13T11:35:30.794Z] # '/tmp/semver-424953685' -> '/w/workspace/gexfoundry_device-rest-go_PR-139/.semver' [2021-10-13T11:35:30.794Z] # -> Force: false [2021-10-13T11:35:30.794Z] # $SEMVER_DIR = /w/workspace/gexfoundry_device-rest-go_PR-139/.semver [Pipeline] } [2021-10-13T11:35:30.813Z] $ docker exec --env ******** --env ******** 02f5f640bcebd8b1680112cad2595b5c073f34168409f8a5b8084e71a5b6ac30 ssh-agent -k [2021-10-13T11:35:30.921Z] unset SSH_AUTH_SOCK; [2021-10-13T11:35:30.923Z] unset SSH_AGENT_PID; [2021-10-13T11:35:30.924Z] echo Agent pid 59 killed; [2021-10-13T11:35:30.934Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2021-10-13T11:35:31.317Z] + git semver [Pipeline] } [2021-10-13T11:35:31.340Z] $ docker stop --time=1 02f5f640bcebd8b1680112cad2595b5c073f34168409f8a5b8084e71a5b6ac30 [2021-10-13T11:35:32.614Z] $ docker rm -f 02f5f640bcebd8b1680112cad2595b5c073f34168409f8a5b8084e71a5b6ac30 [Pipeline] // withDockerContainer [Pipeline] sh [2021-10-13T11:35:33.026Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2021-10-13T11:35:33.294Z] Stashed 1 file(s) [Pipeline] echo [2021-10-13T11:35:33.312Z] [edgeXSemver]: initialized semver on version 0.0.0 [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] parallel [Pipeline] { (Branch: amd64) [Pipeline] { (Branch: arm64) [Pipeline] stage [Pipeline] { (amd64) [Pipeline] stage [Pipeline] { (arm64) [Pipeline] node [Pipeline] node [2021-10-13T11:35:48.768Z] Still waiting to schedule task [2021-10-13T11:35:48.769Z] Waiting for next available executor on ‘prd-centos7-docker-4c-2g-1028’ [2021-10-13T11:35:48.792Z] Still waiting to schedule task [2021-10-13T11:35:48.792Z] All nodes of label ‘ubuntu18.04-docker-arm64-4c-16g’ are offline [2021-10-13T11:37:36.686Z] Running on prd-centos7-docker-4c-2g-1030 in /w/workspace/gexfoundry_device-rest-go_PR-139 [Pipeline] { [Pipeline] ws [2021-10-13T11:37:36.722Z] Running in /w/workspace/device-rest-go/1 [Pipeline] { [Pipeline] checkout [2021-10-13T11:37:36.841Z] The recommended git tool is: git [2021-10-13T11:37:38.743Z] using credential edgex-jenkins-ssh [2021-10-13T11:37:38.752Z] Cloning the remote Git repository [2021-10-13T11:37:38.456Z] Cloning repository git@github.com:edgexfoundry/device-rest-go.git [2021-10-13T11:37:38.510Z] > git init /w/workspace/device-rest-go/1 # timeout=10 [2021-10-13T11:37:38.566Z] Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git [2021-10-13T11:37:38.566Z] > git --version # timeout=10 [2021-10-13T11:37:38.592Z] > git --version # 'git version 2.24.4' [2021-10-13T11:37:38.592Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-10-13T11:37:38.616Z] [INFO] Currently running in a labeled security context [2021-10-13T11:37:38.616Z] [INFO] Currently SELinux is 'enforcing' on the host [2021-10-13T11:37:38.616Z] > /usr/bin/chcon --type=ssh_home_t /w/workspace/device-rest-go/1@tmp/jenkins-gitclient-ssh9172034316266372272.key [2021-10-13T11:37:38.635Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-10-13T11:37:39.464Z] > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 [2021-10-13T11:37:39.474Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-10-13T11:37:39.484Z] > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 [2021-10-13T11:37:39.498Z] Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git [2021-10-13T11:37:39.498Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-10-13T11:37:39.499Z] [INFO] Currently running in a labeled security context [2021-10-13T11:37:39.500Z] [INFO] Currently SELinux is 'enforcing' on the host [2021-10-13T11:37:39.500Z] > /usr/bin/chcon --type=ssh_home_t /w/workspace/device-rest-go/1@tmp/jenkins-gitclient-ssh3545594517544683866.key [2021-10-13T11:37:39.507Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/pull/139/head:refs/remotes/origin/PR-139 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2021-10-13T11:37:40.344Z] Merging remotes/origin/main commit dfe1eecf97bbb3fc78e576d46b1f52bb386bd406 into PR head commit d2bfa720847907ccc8297cdeca17aa1aafdd3b41 [2021-10-13T11:37:40.436Z] Merge succeeded, producing d2bfa720847907ccc8297cdeca17aa1aafdd3b41 [2021-10-13T11:37:40.437Z] Checking out Revision d2bfa720847907ccc8297cdeca17aa1aafdd3b41 (PR-139) [2021-10-13T11:37:40.034Z] > git config core.sparsecheckout # timeout=10 [2021-10-13T11:37:40.048Z] > git checkout -f d2bfa720847907ccc8297cdeca17aa1aafdd3b41 # timeout=10 [2021-10-13T11:37:40.078Z] > git remote # timeout=10 [2021-10-13T11:37:40.082Z] > git config --get remote.origin.url # timeout=10 [2021-10-13T11:37:40.092Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-10-13T11:37:40.093Z] [INFO] Currently running in a labeled security context [2021-10-13T11:37:40.093Z] [INFO] Currently SELinux is 'enforcing' on the host [2021-10-13T11:37:40.093Z] > /usr/bin/chcon --type=ssh_home_t /w/workspace/device-rest-go/1@tmp/jenkins-gitclient-ssh7821025007662809652.key [2021-10-13T11:37:40.100Z] > git merge dfe1eecf97bbb3fc78e576d46b1f52bb386bd406 # timeout=10 [2021-10-13T11:37:40.108Z] > git rev-parse HEAD^{commit} # timeout=10 [2021-10-13T11:37:40.123Z] > git config core.sparsecheckout # timeout=10 [2021-10-13T11:37:40.137Z] > git checkout -f d2bfa720847907ccc8297cdeca17aa1aafdd3b41 # timeout=10 [2021-10-13T11:37:44.020Z] Commit message: "fix(snap): create VERSION file during snap build" [2021-10-13T11:37:43.724Z] > git --version # timeout=10 [2021-10-13T11:37:43.729Z] > git --version # 'git version 2.24.4' [2021-10-13T11:37:43.736Z] fatal: bad object f1d79d91c36788821211008368c3015072ca53ca [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-10-13T11:37:44.794Z] provisioning config files... [2021-10-13T11:37:44.814Z] copy managed file [device-rest-go-settings] to file:/w/workspace/device-rest-go/1@tmp/config5973281512674457526tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-10-13T11:37:45.251Z] ---> docker-login.sh [2021-10-13T11:37:45.251Z] nexus3.edgexfoundry.org:10001 [2021-10-13T11:37:45.251Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-10-13T11:37:45.251Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-10-13T11:37:45.251Z] Configure a credential helper to remove this warning. See [2021-10-13T11:37:45.251Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-10-13T11:37:45.251Z] [2021-10-13T11:37:45.251Z] Login Succeeded [2021-10-13T11:37:45.251Z] nexus3.edgexfoundry.org:10002 [2021-10-13T11:37:45.515Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-10-13T11:37:45.515Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-10-13T11:37:45.515Z] Configure a credential helper to remove this warning. See [2021-10-13T11:37:45.515Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-10-13T11:37:45.515Z] [2021-10-13T11:37:45.515Z] Login Succeeded [2021-10-13T11:37:45.515Z] nexus3.edgexfoundry.org:10003 [2021-10-13T11:37:45.515Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-10-13T11:37:45.515Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-10-13T11:37:45.515Z] Configure a credential helper to remove this warning. See [2021-10-13T11:37:45.515Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-10-13T11:37:45.515Z] [2021-10-13T11:37:45.515Z] Login Succeeded [2021-10-13T11:37:45.515Z] nexus3.edgexfoundry.org:10004 [2021-10-13T11:37:45.775Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-10-13T11:37:45.775Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-10-13T11:37:45.775Z] Configure a credential helper to remove this warning. See [2021-10-13T11:37:45.775Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-10-13T11:37:45.775Z] [2021-10-13T11:37:45.775Z] Login Succeeded [2021-10-13T11:37:45.775Z] docker.io [2021-10-13T11:37:45.775Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-10-13T11:37:46.036Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-10-13T11:37:46.036Z] Configure a credential helper to remove this warning. See [2021-10-13T11:37:46.036Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-10-13T11:37:46.036Z] [2021-10-13T11:37:46.036Z] Login Succeeded [2021-10-13T11:37:46.036Z] ---> docker-login.sh ends [Pipeline] } [2021-10-13T11:37:46.079Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2021-10-13T11:37:46.309Z] ========================================================= [2021-10-13T11:37:46.309Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine] [2021-10-13T11:37:46.309Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh [2021-10-13T11:37:46.698Z] + docker build -t ci-base-image-x86_64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine --build-arg 'MAKE=echo noop' --target=builder . [2021-10-13T11:37:46.699Z] Sending build context to Docker daemon 118.8kB [2021-10-13T11:37:46.699Z] Step 1/11 : ARG BASE=golang:1.16-alpine3.14 [2021-10-13T11:37:46.699Z] Step 2/11 : FROM ${BASE} AS builder [2021-10-13T11:37:46.699Z] 1.16-alpine: Pulling from edgex-devops/edgex-golang-base [2021-10-13T11:37:46.699Z] 4e9f2cdf4387: Pulling fs layer [2021-10-13T11:37:46.699Z] 57d31006c564: Pulling fs layer [2021-10-13T11:37:46.699Z] bd5ccded8296: Pulling fs layer [2021-10-13T11:37:46.699Z] 304dd3a0f381: Pulling fs layer [2021-10-13T11:37:46.699Z] d37cda54a23b: Pulling fs layer [2021-10-13T11:37:46.699Z] bae75c0f2455: Pulling fs layer [2021-10-13T11:37:46.699Z] 806579b3d29a: Pulling fs layer [2021-10-13T11:37:46.699Z] c77eb801bf70: Pulling fs layer [2021-10-13T11:37:46.699Z] 6d0567d44e1a: Pulling fs layer [2021-10-13T11:37:46.699Z] bae75c0f2455: Waiting [2021-10-13T11:37:46.699Z] 806579b3d29a: Waiting [2021-10-13T11:37:46.699Z] c77eb801bf70: Waiting [2021-10-13T11:37:46.699Z] 6d0567d44e1a: Waiting [2021-10-13T11:37:46.699Z] 304dd3a0f381: Waiting [2021-10-13T11:37:46.699Z] d37cda54a23b: Waiting [2021-10-13T11:37:46.699Z] bd5ccded8296: Verifying Checksum [2021-10-13T11:37:46.699Z] bd5ccded8296: Download complete [2021-10-13T11:37:46.699Z] 57d31006c564: Verifying Checksum [2021-10-13T11:37:46.699Z] 57d31006c564: Download complete [2021-10-13T11:37:46.699Z] d37cda54a23b: Verifying Checksum [2021-10-13T11:37:46.699Z] d37cda54a23b: Download complete [2021-10-13T11:37:46.959Z] bae75c0f2455: Verifying Checksum [2021-10-13T11:37:46.959Z] bae75c0f2455: Download complete [2021-10-13T11:37:46.959Z] 4e9f2cdf4387: Verifying Checksum [2021-10-13T11:37:46.959Z] 4e9f2cdf4387: Download complete [2021-10-13T11:37:46.959Z] 806579b3d29a: Verifying Checksum [2021-10-13T11:37:46.959Z] 806579b3d29a: Download complete [2021-10-13T11:37:46.959Z] c77eb801bf70: Verifying Checksum [2021-10-13T11:37:46.959Z] c77eb801bf70: Download complete [2021-10-13T11:37:47.226Z] 4e9f2cdf4387: Pull complete [2021-10-13T11:37:47.226Z] 57d31006c564: Pull complete [2021-10-13T11:37:47.492Z] bd5ccded8296: Pull complete [2021-10-13T11:37:47.492Z] 304dd3a0f381: Verifying Checksum [2021-10-13T11:37:47.492Z] 304dd3a0f381: Download complete [2021-10-13T11:37:47.753Z] 6d0567d44e1a: Verifying Checksum [2021-10-13T11:37:47.753Z] 6d0567d44e1a: Download complete [2021-10-13T11:37:51.075Z] 304dd3a0f381: Pull complete [2021-10-13T11:37:51.339Z] d37cda54a23b: Pull complete [2021-10-13T11:37:51.339Z] bae75c0f2455: Pull complete [2021-10-13T11:37:51.339Z] 806579b3d29a: Pull complete [2021-10-13T11:37:51.602Z] c77eb801bf70: Pull complete [2021-10-13T11:37:54.183Z] 6d0567d44e1a: Pull complete [2021-10-13T11:37:54.183Z] Digest: sha256:53f76eca38b35ad9f985c2fb57ce55683e6a223a937aed0adb215e74043799cd [2021-10-13T11:37:54.183Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine [2021-10-13T11:37:54.183Z] ---> e839a31ac9d1 [2021-10-13T11:37:54.183Z] Step 3/11 : ARG MAKE='make build' [2021-10-13T11:37:55.572Z] ---> Running in 4dd6215e7682 [2021-10-13T11:37:55.572Z] Removing intermediate container 4dd6215e7682 [2021-10-13T11:37:55.572Z] ---> 8259f5b42d1e [2021-10-13T11:37:55.572Z] Step 4/11 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2021-10-13T11:37:55.572Z] ---> Running in 439c90460d9d [2021-10-13T11:37:55.837Z] Removing intermediate container 439c90460d9d [2021-10-13T11:37:55.837Z] ---> daa803739dc9 [2021-10-13T11:37:55.837Z] Step 5/11 : ARG ALPINE_PKG_EXTRA="" [2021-10-13T11:37:55.837Z] ---> Running in da5a64cb95e4 [2021-10-13T11:37:55.837Z] Removing intermediate container da5a64cb95e4 [2021-10-13T11:37:55.837Z] ---> 28273f8dd95c [2021-10-13T11:37:55.837Z] Step 6/11 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-10-13T11:37:55.837Z] ---> Running in 2835806f3917 [2021-10-13T11:37:56.412Z] Removing intermediate container 2835806f3917 [2021-10-13T11:37:56.412Z] ---> ebc5bdb43a80 [2021-10-13T11:37:56.412Z] Step 7/11 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2021-10-13T11:37:56.412Z] ---> Running in e86b201e9dcb [2021-10-13T11:37:56.674Z] fetch https://nl.alpinelinux.org/alpine/v3.13/main/x86_64/APKINDEX.tar.gz [2021-10-13T11:37:57.622Z] fetch https://nl.alpinelinux.org/alpine/v3.13/community/x86_64/APKINDEX.tar.gz [2021-10-13T11:37:58.197Z] (1/3) Installing openssh-keygen (8.4_p1-r4) [2021-10-13T11:37:58.197Z] (2/3) Installing libedit (20191231.3.1-r1) [2021-10-13T11:37:58.197Z] (3/3) Installing openssh-client (8.4_p1-r4) [2021-10-13T11:37:58.456Z] Executing busybox-1.32.1-r6.trigger [2021-10-13T11:37:58.456Z] OK: 223 MiB in 55 packages [2021-10-13T11:37:58.718Z] Removing intermediate container e86b201e9dcb [2021-10-13T11:37:58.718Z] ---> 467fba5ec16d [2021-10-13T11:37:58.718Z] Step 8/11 : WORKDIR /device-rest-go [2021-10-13T11:37:58.718Z] ---> Running in aa205433e45b [2021-10-13T11:37:58.718Z] Removing intermediate container aa205433e45b [2021-10-13T11:37:58.718Z] ---> 19379d143308 [2021-10-13T11:37:58.718Z] Step 9/11 : COPY . . [2021-10-13T11:37:58.982Z] ---> 8d90b1bc8ed2 [2021-10-13T11:37:58.982Z] Step 10/11 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2021-10-13T11:37:58.982Z] ---> Running in 2e439a43665d [2021-10-13T11:38:07.964Z] Running on prd-ubuntu18.04-docker-arm64-4c-16g-1029 in /w/workspace/gexfoundry_device-rest-go_PR-139 [Pipeline] { [Pipeline] ws [2021-10-13T11:38:08.002Z] Running in /w/workspace/device-rest-go/1 [Pipeline] { [Pipeline] checkout [2021-10-13T11:38:08.296Z] The recommended git tool is: git [2021-10-13T11:38:11.226Z] Removing intermediate container 2e439a43665d [2021-10-13T11:38:11.226Z] ---> 7877f55e6f0a [2021-10-13T11:38:11.226Z] Step 11/11 : RUN $MAKE [2021-10-13T11:38:11.226Z] ---> Running in fa2ca5d48f07 [2021-10-13T11:38:11.226Z] noop [2021-10-13T11:38:11.226Z] Removing intermediate container fa2ca5d48f07 [2021-10-13T11:38:11.226Z] ---> a8dfc6d292c4 [2021-10-13T11:38:11.226Z] Successfully built a8dfc6d292c4 [2021-10-13T11:38:11.226Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh [2021-10-13T11:38:11.554Z] + docker inspect -f . ci-base-image-x86_64 [2021-10-13T11:38:11.554Z] . [Pipeline] withDockerContainer [2021-10-13T11:38:11.644Z] prd-centos7-docker-4c-2g-1030 does not seem to be running inside a container [2021-10-13T11:38:11.681Z] $ 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 ******** ci-base-image-x86_64 cat [2021-10-13T11:38:12.066Z] $ docker top 0931bbfde8768fd1ef9155b441e92936f3fc84e82d46e968258a74a455d37268 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-10-13T11:38:12.474Z] + go version [2021-10-13T11:38:12.475Z] go version go1.16.8 linux/amd64 [Pipeline] } [2021-10-13T11:38:12.498Z] $ docker stop --time=1 0931bbfde8768fd1ef9155b441e92936f3fc84e82d46e968258a74a455d37268 [2021-10-13T11:38:13.666Z] $ docker rm -f 0931bbfde8768fd1ef9155b441e92936f3fc84e82d46e968258a74a455d37268 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-10-13T11:38:14.237Z] using credential edgex-jenkins-ssh [2021-10-13T11:38:14.255Z] Cloning the remote Git repository [2021-10-13T11:38:14.326Z] + docker inspect -f . ci-base-image-x86_64 [2021-10-13T11:38:14.326Z] . [Pipeline] withDockerContainer [2021-10-13T11:38:14.404Z] prd-centos7-docker-4c-2g-1030 does not seem to be running inside a container [2021-10-13T11:38:14.441Z] $ 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 ******** ci-base-image-x86_64 cat [2021-10-13T11:38:14.314Z] Cloning repository git@github.com:edgexfoundry/device-rest-go.git [2021-10-13T11:38:14.427Z] > git init /w/workspace/device-rest-go/1 # timeout=10 [2021-10-13T11:38:14.790Z] $ docker top 340943100ba01aa9e20a2e38011fb21a970438266753e6270c7ad676e112f88b -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh [2021-10-13T11:38:15.216Z] + make test [2021-10-13T11:38:15.216Z] CGO_ENABLED=1 GO111MODULE=on go test -coverprofile=coverage.out ./... [2021-10-13T11:38:15.482Z] ? github.com/edgexfoundry/device-rest-go [no test files] [2021-10-13T11:38:14.522Z] Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git [2021-10-13T11:38:14.523Z] > git --version # timeout=10 [2021-10-13T11:38:14.542Z] > git --version # 'git version 2.17.1' [2021-10-13T11:38:14.544Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-10-13T11:38:14.632Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-10-13T11:38:16.289Z] > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 [2021-10-13T11:38:16.318Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-10-13T11:38:16.342Z] > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 [2021-10-13T11:38:16.376Z] Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git [2021-10-13T11:38:16.377Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-10-13T11:38:16.389Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/pull/139/head:refs/remotes/origin/PR-139 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2021-10-13T11:38:18.032Z] Merging remotes/origin/main commit dfe1eecf97bbb3fc78e576d46b1f52bb386bd406 into PR head commit d2bfa720847907ccc8297cdeca17aa1aafdd3b41 [2021-10-13T11:38:18.231Z] Merge succeeded, producing d2bfa720847907ccc8297cdeca17aa1aafdd3b41 [2021-10-13T11:38:18.232Z] Checking out Revision d2bfa720847907ccc8297cdeca17aa1aafdd3b41 (PR-139) [2021-10-13T11:38:18.050Z] > git config core.sparsecheckout # timeout=10 [2021-10-13T11:38:18.063Z] > git checkout -f d2bfa720847907ccc8297cdeca17aa1aafdd3b41 # timeout=10 [2021-10-13T11:38:18.145Z] > git remote # timeout=10 [2021-10-13T11:38:18.165Z] > git config --get remote.origin.url # timeout=10 [2021-10-13T11:38:18.185Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-10-13T11:38:18.195Z] > git merge dfe1eecf97bbb3fc78e576d46b1f52bb386bd406 # timeout=10 [2021-10-13T11:38:18.219Z] > git rev-parse HEAD^{commit} # timeout=10 [2021-10-13T11:38:18.239Z] > git config core.sparsecheckout # timeout=10 [2021-10-13T11:38:18.248Z] > git checkout -f d2bfa720847907ccc8297cdeca17aa1aafdd3b41 # timeout=10 [2021-10-13T11:38:22.510Z] Commit message: "fix(snap): create VERSION file during snap build" [2021-10-13T11:38:22.569Z] > git --version # timeout=10 [2021-10-13T11:38:22.587Z] > git --version # 'git version 2.17.1' [2021-10-13T11:38:22.599Z] fatal: bad object f1d79d91c36788821211008368c3015072ca53ca [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-10-13T11:38:23.197Z] provisioning config files... [2021-10-13T11:38:23.226Z] copy managed file [device-rest-go-settings] to file:/w/workspace/device-rest-go/1@tmp/config279594320981234481tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-10-13T11:38:23.807Z] ---> docker-login.sh [2021-10-13T11:38:23.807Z] nexus3.edgexfoundry.org:10001 [2021-10-13T11:38:25.257Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-10-13T11:38:25.257Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-10-13T11:38:25.257Z] Configure a credential helper to remove this warning. See [2021-10-13T11:38:25.257Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-10-13T11:38:25.257Z] [2021-10-13T11:38:25.257Z] Login Succeeded [2021-10-13T11:38:25.257Z] nexus3.edgexfoundry.org:10002 [2021-10-13T11:38:25.862Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-10-13T11:38:25.862Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-10-13T11:38:25.862Z] Configure a credential helper to remove this warning. See [2021-10-13T11:38:25.862Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-10-13T11:38:25.862Z] [2021-10-13T11:38:25.862Z] Login Succeeded [2021-10-13T11:38:25.862Z] nexus3.edgexfoundry.org:10003 [2021-10-13T11:38:26.140Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-10-13T11:38:26.421Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-10-13T11:38:26.421Z] Configure a credential helper to remove this warning. See [2021-10-13T11:38:26.421Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-10-13T11:38:26.421Z] [2021-10-13T11:38:26.421Z] Login Succeeded [2021-10-13T11:38:26.421Z] nexus3.edgexfoundry.org:10004 [2021-10-13T11:38:26.710Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-10-13T11:38:26.992Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-10-13T11:38:26.992Z] Configure a credential helper to remove this warning. See [2021-10-13T11:38:26.992Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-10-13T11:38:26.992Z] [2021-10-13T11:38:26.992Z] Login Succeeded [2021-10-13T11:38:26.992Z] docker.io [2021-10-13T11:38:27.270Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-10-13T11:38:27.878Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-10-13T11:38:27.878Z] Configure a credential helper to remove this warning. See [2021-10-13T11:38:27.878Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-10-13T11:38:27.878Z] [2021-10-13T11:38:27.878Z] Login Succeeded [2021-10-13T11:38:27.878Z] ---> docker-login.sh ends [Pipeline] } [2021-10-13T11:38:27.965Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2021-10-13T11:38:28.509Z] ========================================================= [2021-10-13T11:38:28.510Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine] [2021-10-13T11:38:28.510Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh [2021-10-13T11:38:28.991Z] + docker build -t ci-base-image-arm64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine --build-arg MAKE=echo noop --target=builder . [2021-10-13T11:38:28.991Z] Sending build context to Docker daemon 118.8kB [2021-10-13T11:38:29.277Z] Step 1/11 : ARG BASE=golang:1.16-alpine3.14 [2021-10-13T11:38:29.277Z] Step 2/11 : FROM ${BASE} AS builder [2021-10-13T11:38:29.564Z] 1.16-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2021-10-13T11:38:29.564Z] bbf911997326: Pulling fs layer [2021-10-13T11:38:29.564Z] 58ec367f63d7: Pulling fs layer [2021-10-13T11:38:29.564Z] 1b4a6ffa7d45: Pulling fs layer [2021-10-13T11:38:29.564Z] fc5181fea5dc: Pulling fs layer [2021-10-13T11:38:29.564Z] 9c418107303f: Pulling fs layer [2021-10-13T11:38:29.564Z] 284eca6f2348: Pulling fs layer [2021-10-13T11:38:29.564Z] 842844d905b1: Pulling fs layer [2021-10-13T11:38:29.564Z] 901a3a57568e: Pulling fs layer [2021-10-13T11:38:29.564Z] 9c418107303f: Waiting [2021-10-13T11:38:29.564Z] 284eca6f2348: Waiting [2021-10-13T11:38:29.564Z] 842844d905b1: Waiting [2021-10-13T11:38:29.564Z] 901a3a57568e: Waiting [2021-10-13T11:38:29.564Z] fc5181fea5dc: Waiting [2021-10-13T11:38:29.564Z] 1b4a6ffa7d45: Verifying Checksum [2021-10-13T11:38:29.564Z] 1b4a6ffa7d45: Download complete [2021-10-13T11:38:29.564Z] 58ec367f63d7: Download complete [2021-10-13T11:38:29.564Z] 9c418107303f: Verifying Checksum [2021-10-13T11:38:29.564Z] 9c418107303f: Download complete [2021-10-13T11:38:29.564Z] 284eca6f2348: Download complete [2021-10-13T11:38:29.853Z] 842844d905b1: Verifying Checksum [2021-10-13T11:38:29.853Z] 842844d905b1: Download complete [2021-10-13T11:38:29.853Z] bbf911997326: Download complete [2021-10-13T11:38:30.482Z] bbf911997326: Pull complete [2021-10-13T11:38:30.495Z] ? github.com/edgexfoundry/device-rest-go/cmd [no test files] [2021-10-13T11:38:31.071Z] ok github.com/edgexfoundry/device-rest-go/driver 0.008s coverage: 53.8% of statements [2021-10-13T11:38:31.071Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2021-10-13T11:38:31.099Z] 58ec367f63d7: Pull complete [2021-10-13T11:38:31.742Z] 1b4a6ffa7d45: Pull complete [2021-10-13T11:38:31.742Z] 901a3a57568e: Verifying Checksum [2021-10-13T11:38:31.742Z] 901a3a57568e: Download complete [2021-10-13T11:38:32.358Z] fc5181fea5dc: Verifying Checksum [2021-10-13T11:38:32.358Z] fc5181fea5dc: Download complete [2021-10-13T11:38:37.741Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2021-10-13T11:38:37.741Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2021-10-13T11:38:37.741Z] ./bin/test-attribution-txt.sh [Pipeline] } [2021-10-13T11:38:37.768Z] $ docker stop --time=1 340943100ba01aa9e20a2e38011fb21a970438266753e6270c7ad676e112f88b [2021-10-13T11:38:39.171Z] $ docker rm -f 340943100ba01aa9e20a2e38011fb21a970438266753e6270c7ad676e112f88b [Pipeline] // withDockerContainer [Pipeline] sh [2021-10-13T11:38:39.662Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2021-10-13T11:38:39.837Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2021-10-13T11:38:41.219Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2021-10-13T11:38:41.529Z] + ls -al . [2021-10-13T11:38:41.529Z] total 116 [2021-10-13T11:38:41.529Z] drwxrwxr-x. 8 jenkins jenkins 4096 Oct 13 11:38 . [2021-10-13T11:38:41.529Z] drwxrwxr-x. 4 jenkins jenkins 28 Oct 13 11:37 .. [2021-10-13T11:38:41.529Z] -rw-rw-r--. 1 jenkins jenkins 6792 Oct 13 11:37 Attribution.txt [2021-10-13T11:38:41.529Z] drwxrwxr-x. 2 jenkins jenkins 37 Oct 13 11:37 bin [2021-10-13T11:38:41.529Z] -rw-rw-r--. 1 jenkins jenkins 7459 Oct 13 11:37 CHANGELOG.md [2021-10-13T11:38:41.529Z] drwxrwxr-x. 3 jenkins jenkins 32 Oct 13 11:37 cmd [2021-10-13T11:38:41.529Z] -rw-r--r--. 1 jenkins jenkins 8435 Oct 13 11:38 coverage.out [2021-10-13T11:38:41.529Z] -rw-rw-r--. 1 jenkins jenkins 1649 Oct 13 11:37 Dockerfile [2021-10-13T11:38:41.529Z] -rw-rw-r--. 1 jenkins jenkins 151 Oct 13 11:37 .dockerignore [2021-10-13T11:38:41.529Z] drwxrwxr-x. 2 jenkins jenkins 76 Oct 13 11:37 driver [2021-10-13T11:38:41.529Z] drwxrwxr-x. 8 jenkins jenkins 179 Oct 13 11:37 .git [2021-10-13T11:38:41.529Z] drwxrwxr-x. 2 jenkins jenkins 103 Oct 13 11:37 .github [2021-10-13T11:38:41.529Z] -rw-rw-r--. 1 jenkins jenkins 329 Oct 13 11:37 .gitignore [2021-10-13T11:38:41.529Z] -rw-rw-r--. 1 jenkins jenkins 271 Oct 13 11:37 go.mod [2021-10-13T11:38:41.529Z] -rw-rw-r--. 1 jenkins jenkins 20570 Oct 13 11:37 go.sum [2021-10-13T11:38:41.529Z] -rw-rw-r--. 1 jenkins jenkins 677 Oct 13 11:37 GOVERNANCE.md [2021-10-13T11:38:41.529Z] -rw-rw-r--. 1 jenkins jenkins 680 Oct 13 11:37 Jenkinsfile [2021-10-13T11:38:41.529Z] -rw-rw-r--. 1 jenkins jenkins 11340 Oct 13 11:37 LICENSE [2021-10-13T11:38:41.529Z] -rw-rw-r--. 1 jenkins jenkins 1078 Oct 13 11:37 Makefile [2021-10-13T11:38:41.529Z] -rw-rw-r--. 1 jenkins jenkins 620 Oct 13 11:37 OWNERS.md [2021-10-13T11:38:41.529Z] -rw-rw-r--. 1 jenkins jenkins 7661 Oct 13 11:37 README.md [2021-10-13T11:38:41.529Z] drwxrwxr-x. 4 jenkins jenkins 71 Oct 13 11:37 snap [2021-10-13T11:38:41.529Z] -rw-rw-r--. 1 jenkins jenkins 5 Oct 13 11:35 VERSION [2021-10-13T11:38:41.529Z] -rw-rw-r--. 1 jenkins jenkins 713 Oct 13 11:37 version.go [Pipeline] isUnix [Pipeline] sh [2021-10-13T11:38:41.858Z] + 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=d2bfa720847907ccc8297cdeca17aa1aafdd3b41 --label arch=amd64 --label version=0.0.0 . [2021-10-13T11:38:41.858Z] Sending build context to Docker daemon 128kB [2021-10-13T11:38:41.858Z] Step 1/24 : ARG BASE=golang:1.16-alpine3.14 [2021-10-13T11:38:41.858Z] Step 2/24 : FROM ${BASE} AS builder [2021-10-13T11:38:41.858Z] ---> a8dfc6d292c4 [2021-10-13T11:38:41.858Z] Step 3/24 : ARG MAKE='make build' [2021-10-13T11:38:41.858Z] ---> Running in 948be2818793 [2021-10-13T11:38:41.858Z] Removing intermediate container 948be2818793 [2021-10-13T11:38:41.858Z] ---> ff2dee9b96b6 [2021-10-13T11:38:41.858Z] Step 4/24 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2021-10-13T11:38:41.858Z] ---> Running in 3bfd123b92d5 [2021-10-13T11:38:42.118Z] Removing intermediate container 3bfd123b92d5 [2021-10-13T11:38:42.118Z] ---> 47ac492e67af [2021-10-13T11:38:42.119Z] Step 5/24 : ARG ALPINE_PKG_EXTRA="" [2021-10-13T11:38:42.119Z] ---> Running in 3f5861c155d7 [2021-10-13T11:38:42.119Z] Removing intermediate container 3f5861c155d7 [2021-10-13T11:38:42.119Z] ---> 8a3f7b1c39ae [2021-10-13T11:38:42.119Z] Step 6/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-10-13T11:38:42.119Z] ---> Running in 563fa6aa30b2 [2021-10-13T11:38:42.617Z] fc5181fea5dc: Pull complete [2021-10-13T11:38:42.701Z] Removing intermediate container 563fa6aa30b2 [2021-10-13T11:38:42.701Z] ---> 91037f6a14e5 [2021-10-13T11:38:42.701Z] Step 7/24 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2021-10-13T11:38:42.701Z] ---> Running in dae33b7a6d7d [2021-10-13T11:38:42.701Z] fetch https://nl.alpinelinux.org/alpine/v3.13/main/x86_64/APKINDEX.tar.gz [2021-10-13T11:38:42.896Z] 9c418107303f: Pull complete [2021-10-13T11:38:43.176Z] 284eca6f2348: Pull complete [2021-10-13T11:38:43.640Z] fetch https://nl.alpinelinux.org/alpine/v3.13/community/x86_64/APKINDEX.tar.gz [2021-10-13T11:38:43.786Z] 842844d905b1: Pull complete [2021-10-13T11:38:43.899Z] OK: 223 MiB in 55 packages [2021-10-13T11:38:44.159Z] Removing intermediate container dae33b7a6d7d [2021-10-13T11:38:44.159Z] ---> 311db27fcbaa [2021-10-13T11:38:44.159Z] Step 8/24 : WORKDIR /device-rest-go [2021-10-13T11:38:44.159Z] ---> Running in 0d55a2386cf5 [2021-10-13T11:38:44.419Z] Removing intermediate container 0d55a2386cf5 [2021-10-13T11:38:44.419Z] ---> 2927e58dfbcb [2021-10-13T11:38:44.419Z] Step 9/24 : COPY . . [2021-10-13T11:38:44.419Z] ---> 8288b8db3c7f [2021-10-13T11:38:44.419Z] Step 10/24 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2021-10-13T11:38:44.419Z] ---> Running in 1635415aa03c [2021-10-13T11:38:44.992Z] Removing intermediate container 1635415aa03c [2021-10-13T11:38:44.992Z] ---> c2d8e0620f92 [2021-10-13T11:38:44.992Z] Step 11/24 : RUN $MAKE [2021-10-13T11:38:44.992Z] ---> Running in 2b54329e8892 [2021-10-13T11:38:45.252Z] 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-10-13T11:38:49.239Z] 901a3a57568e: Pull complete [2021-10-13T11:38:49.515Z] Digest: sha256:92108203400274521d8db92c8dd03fc26ad1e7e27843eaecabaf975bf4a1b1e7 [2021-10-13T11:38:49.516Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine [2021-10-13T11:38:49.516Z] ---> 72ade6ffb461 [2021-10-13T11:38:49.516Z] Step 3/11 : ARG MAKE='make build' [2021-10-13T11:38:53.852Z] ---> Running in cbbdf33bbd63 [2021-10-13T11:38:53.852Z] Removing intermediate container cbbdf33bbd63 [2021-10-13T11:38:53.852Z] ---> 1f0b8f58d148 [2021-10-13T11:38:53.852Z] Step 4/11 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2021-10-13T11:38:53.852Z] ---> Running in e07e791c0f6c [2021-10-13T11:38:54.452Z] Removing intermediate container e07e791c0f6c [2021-10-13T11:38:54.452Z] ---> 5c1095dbc5b1 [2021-10-13T11:38:54.452Z] Step 5/11 : ARG ALPINE_PKG_EXTRA="" [2021-10-13T11:38:54.452Z] ---> Running in 1b01dd9622c6 [2021-10-13T11:38:55.061Z] Removing intermediate container 1b01dd9622c6 [2021-10-13T11:38:55.061Z] ---> ce3cf8f35989 [2021-10-13T11:38:55.061Z] Step 6/11 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-10-13T11:38:55.061Z] ---> Running in 8c6a611f1d0c [2021-10-13T11:38:57.620Z] Removing intermediate container 2b54329e8892 [2021-10-13T11:38:57.620Z] ---> 17467f6fd27b [2021-10-13T11:38:57.620Z] Step 12/24 : FROM alpine:3.14 [2021-10-13T11:38:57.620Z] 3.14: Pulling from library/alpine [2021-10-13T11:38:57.620Z] a0d0a0d46f8b: Pulling fs layer [2021-10-13T11:38:57.620Z] a0d0a0d46f8b: Verifying Checksum [2021-10-13T11:38:57.620Z] a0d0a0d46f8b: Download complete [2021-10-13T11:38:57.620Z] a0d0a0d46f8b: Pull complete [2021-10-13T11:38:57.620Z] Digest: sha256:e1c082e3d3c45cccac829840a25941e679c25d438cc8412c2fa221cf1a824e6a [2021-10-13T11:38:57.620Z] Status: Downloaded newer image for alpine:3.14 [2021-10-13T11:38:57.620Z] ---> 14119a10abf4 [2021-10-13T11:38:57.620Z] Step 13/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019: Intel' [2021-10-13T11:38:57.620Z] ---> Running in d7e0a10369c9 [2021-10-13T11:38:57.620Z] Removing intermediate container d7e0a10369c9 [2021-10-13T11:38:57.620Z] ---> 9bdbac18b196 [2021-10-13T11:38:57.620Z] Step 14/24 : LABEL Name=device-rest-go Version=${VERSION} [2021-10-13T11:38:57.620Z] ---> Running in 7afe9f620776 [2021-10-13T11:38:57.620Z] Removing intermediate container 7afe9f620776 [2021-10-13T11:38:57.620Z] ---> e971ac18a3f8 [2021-10-13T11:38:57.620Z] Step 15/24 : RUN apk add --update --no-cache zeromq dumb-init [2021-10-13T11:38:57.620Z] ---> Running in 9f5ea531d00d [2021-10-13T11:38:57.620Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/main/x86_64/APKINDEX.tar.gz [2021-10-13T11:38:57.620Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/community/x86_64/APKINDEX.tar.gz [2021-10-13T11:38:57.706Z] Removing intermediate container 8c6a611f1d0c [2021-10-13T11:38:57.706Z] ---> 66e709081b09 [2021-10-13T11:38:57.706Z] Step 7/11 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2021-10-13T11:38:57.706Z] ---> Running in 66c51ad156e1 [2021-10-13T11:38:57.882Z] (1/6) Installing dumb-init (1.2.5-r1) [2021-10-13T11:38:57.882Z] (2/6) Installing libgcc (10.3.1_git20210424-r2) [2021-10-13T11:38:57.882Z] (3/6) Installing libsodium (1.0.18-r0) [2021-10-13T11:38:57.882Z] (4/6) Installing libstdc++ (10.3.1_git20210424-r2) [2021-10-13T11:38:57.882Z] (5/6) Installing libzmq (4.3.4-r0) [2021-10-13T11:38:57.882Z] (6/6) Installing zeromq (4.3.4-r0) [2021-10-13T11:38:57.882Z] Executing busybox-1.33.1-r3.trigger [2021-10-13T11:38:57.882Z] OK: 8 MiB in 20 packages [2021-10-13T11:38:58.144Z] Removing intermediate container 9f5ea531d00d [2021-10-13T11:38:58.144Z] ---> 28f25e6d4e81 [2021-10-13T11:38:58.144Z] Step 16/24 : COPY --from=builder /device-rest-go/cmd / [2021-10-13T11:38:58.699Z] fetch https://nl.alpinelinux.org/alpine/v3.13/main/aarch64/APKINDEX.tar.gz [2021-10-13T11:38:58.718Z] ---> 79e31d804132 [2021-10-13T11:38:58.718Z] Step 17/24 : COPY --from=builder /device-rest-go/LICENSE / [2021-10-13T11:38:58.718Z] ---> 3f65eb8e51eb [2021-10-13T11:38:58.718Z] Step 18/24 : COPY --from=builder /device-rest-go/Attribution.txt / [2021-10-13T11:38:58.718Z] ---> 1604c288bbb2 [2021-10-13T11:38:58.718Z] Step 19/24 : EXPOSE 59986 [2021-10-13T11:38:58.718Z] ---> Running in bf0018d61272 [2021-10-13T11:38:58.982Z] Removing intermediate container bf0018d61272 [2021-10-13T11:38:58.982Z] ---> 94c6b3843bef [2021-10-13T11:38:58.982Z] Step 20/24 : ENTRYPOINT ["/device-rest"] [2021-10-13T11:38:58.982Z] ---> Running in 7419d32ac8a2 [2021-10-13T11:38:58.982Z] Removing intermediate container 7419d32ac8a2 [2021-10-13T11:38:58.982Z] ---> d52362e0546a [2021-10-13T11:38:58.982Z] Step 21/24 : CMD ["--cp=consul://edgex-core-consul:8500", "--confdir=/res", "--registry"] [2021-10-13T11:38:58.982Z] ---> Running in 6ffd324d8d9e [2021-10-13T11:38:59.244Z] Removing intermediate container 6ffd324d8d9e [2021-10-13T11:38:59.244Z] ---> f4c48d0fcc2e [2021-10-13T11:38:59.244Z] Step 22/24 : LABEL arch=amd64 [2021-10-13T11:38:59.244Z] ---> Running in 26de4216a16a [2021-10-13T11:38:59.244Z] Removing intermediate container 26de4216a16a [2021-10-13T11:38:59.244Z] ---> 202fbca03f61 [2021-10-13T11:38:59.244Z] Step 23/24 : LABEL git_sha=d2bfa720847907ccc8297cdeca17aa1aafdd3b41 [2021-10-13T11:38:59.244Z] ---> Running in 4d81ffb817ac [2021-10-13T11:38:59.244Z] Removing intermediate container 4d81ffb817ac [2021-10-13T11:38:59.244Z] ---> 133f79751add [2021-10-13T11:38:59.244Z] Step 24/24 : LABEL version=0.0.0 [2021-10-13T11:38:59.244Z] ---> Running in 8935a653f45a [2021-10-13T11:38:59.503Z] Removing intermediate container 8935a653f45a [2021-10-13T11:38:59.503Z] ---> e240f2500a71 [2021-10-13T11:38:59.503Z] [Warning] One or more build-args [ARCH] were not consumed [2021-10-13T11:38:59.503Z] Successfully built e240f2500a71 [2021-10-13T11:38:59.503Z] Successfully tagged device-rest:latest [Pipeline] } [Pipeline] // stage [Pipeline] stage [2021-10-13T11:38:59.690Z] fetch https://nl.alpinelinux.org/alpine/v3.13/community/aarch64/APKINDEX.tar.gz [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-10-13T11:39:00.295Z] (1/3) Installing openssh-keygen (8.4_p1-r4) [2021-10-13T11:39:00.364Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2021-10-13T11:39:00.364Z] [2021-10-13T11:39:00.364Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] sh [2021-10-13T11:39:00.575Z] (2/3) Installing libedit (20191231.3.1-r1) [2021-10-13T11:39:00.575Z] (3/3) Installing openssh-client (8.4_p1-r4) [2021-10-13T11:39:00.694Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2021-10-13T11:39:00.694Z] latest: Pulling from edgex-lftools-log-publisher [2021-10-13T11:39:00.694Z] b4d181a07f80: Pulling fs layer [2021-10-13T11:39:00.694Z] a1111a8f2ec3: Pulling fs layer [2021-10-13T11:39:00.694Z] ed53099fbce6: Pulling fs layer [2021-10-13T11:39:00.694Z] dc539afda2c1: Pulling fs layer [2021-10-13T11:39:00.694Z] 77bc0d833cb6: Pulling fs layer [2021-10-13T11:39:00.694Z] 9065ff56babe: Pulling fs layer [2021-10-13T11:39:00.694Z] d287ab97295c: Pulling fs layer [2021-10-13T11:39:00.694Z] 77bc0d833cb6: Waiting [2021-10-13T11:39:00.694Z] 9065ff56babe: Waiting [2021-10-13T11:39:00.694Z] d287ab97295c: Waiting [2021-10-13T11:39:00.694Z] dc539afda2c1: Waiting [2021-10-13T11:39:00.694Z] a1111a8f2ec3: Verifying Checksum [2021-10-13T11:39:00.694Z] a1111a8f2ec3: Download complete [2021-10-13T11:39:00.694Z] dc539afda2c1: Verifying Checksum [2021-10-13T11:39:00.694Z] dc539afda2c1: Download complete [2021-10-13T11:39:00.854Z] Executing busybox-1.32.1-r6.trigger [2021-10-13T11:39:00.854Z] OK: 222 MiB in 55 packages [2021-10-13T11:39:00.956Z] 77bc0d833cb6: Verifying Checksum [2021-10-13T11:39:00.956Z] 77bc0d833cb6: Download complete [2021-10-13T11:39:00.956Z] ed53099fbce6: Verifying Checksum [2021-10-13T11:39:00.956Z] ed53099fbce6: Download complete [2021-10-13T11:39:00.956Z] 9065ff56babe: Verifying Checksum [2021-10-13T11:39:00.956Z] 9065ff56babe: Download complete [2021-10-13T11:39:00.956Z] b4d181a07f80: Verifying Checksum [2021-10-13T11:39:00.956Z] b4d181a07f80: Download complete [2021-10-13T11:39:01.535Z] d287ab97295c: Verifying Checksum [2021-10-13T11:39:01.535Z] d287ab97295c: Download complete [2021-10-13T11:39:02.309Z] Removing intermediate container 66c51ad156e1 [2021-10-13T11:39:02.309Z] ---> 7db7e3b00202 [2021-10-13T11:39:02.309Z] Step 8/11 : WORKDIR /device-rest-go [2021-10-13T11:39:02.309Z] ---> Running in 7ac7ad7cc13e [2021-10-13T11:39:02.518Z] b4d181a07f80: Pull complete [2021-10-13T11:39:02.784Z] a1111a8f2ec3: Pull complete [2021-10-13T11:39:02.914Z] Removing intermediate container 7ac7ad7cc13e [2021-10-13T11:39:02.914Z] ---> f4806ec60da7 [2021-10-13T11:39:02.914Z] Step 9/11 : COPY . . [2021-10-13T11:39:03.360Z] ed53099fbce6: Pull complete [2021-10-13T11:39:03.360Z] dc539afda2c1: Pull complete [2021-10-13T11:39:03.625Z] 77bc0d833cb6: Pull complete [2021-10-13T11:39:03.625Z] 9065ff56babe: Pull complete [2021-10-13T11:39:03.906Z] ---> 6100cf2ce67a [2021-10-13T11:39:03.906Z] Step 10/11 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2021-10-13T11:39:03.906Z] ---> Running in 1c4efd21eac6 [2021-10-13T11:39:08.953Z] d287ab97295c: Pull complete [2021-10-13T11:39:08.953Z] Digest: sha256:0c69325c24349bfb3ea32a3c3cbcab1fb66df42c981276dd8ebcf6aa441257c4 [2021-10-13T11:39:08.953Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2021-10-13T11:39:08.953Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] withDockerContainer [2021-10-13T11:39:09.046Z] prd-centos7-docker-4c-2g-1030 does not seem to be running inside a container [2021-10-13T11:39:09.080Z] $ 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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2021-10-13T11:39:11.228Z] $ docker top 17e83a174f4b6c4e4820be0a62433d34d08249090a61c3a399545fac4760a712 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-10-13T11:39:11.734Z] ---> job-cost.sh [2021-10-13T11:39:11.734Z] lf-activate-venv: SKIPPING [2021-10-13T11:39:11.734Z] INFO: No Stack... [2021-10-13T11:39:12.304Z] INFO: Retrieving Pricing Info for: v3-standard-2 [2021-10-13T11:39:12.564Z] INFO: Archiving Costs [Pipeline] sh [2021-10-13T11:39:12.879Z] + cat /w/workspace/device-rest-go/1/archives/cost.csv [2021-10-13T11:39:12.879Z] + cut -d, -f6 [Pipeline] lock [2021-10-13T11:39:12.926Z] Trying to acquire lock on [jenkins-edgexfoundry-device-rest-go-PR-139-1-stack-cost] [2021-10-13T11:39:12.931Z] Resource [jenkins-edgexfoundry-device-rest-go-PR-139-1-stack-cost] did not exist. Created. [2021-10-13T11:39:12.931Z] Lock acquired on [jenkins-edgexfoundry-device-rest-go-PR-139-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2021-10-13T11:39:13.304Z] + echo total: 0.05999999865889549 [Pipeline] stash [2021-10-13T11:39:13.346Z] Stashed 1 file(s) [Pipeline] } [2021-10-13T11:39:13.367Z] Lock released on resource [jenkins-edgexfoundry-device-rest-go-PR-139-1-stack-cost] [Pipeline] // lock [Pipeline] } [2021-10-13T11:39:13.433Z] $ docker stop --time=1 17e83a174f4b6c4e4820be0a62433d34d08249090a61c3a399545fac4760a712 [2021-10-13T11:39:14.556Z] $ docker rm -f 17e83a174f4b6c4e4820be0a62433d34d08249090a61c3a399545fac4760a712 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [2021-10-13T11:39:30.769Z] Removing intermediate container 1c4efd21eac6 [2021-10-13T11:39:30.769Z] ---> 6d551e2df8eb [2021-10-13T11:39:30.769Z] Step 11/11 : RUN $MAKE [2021-10-13T11:39:30.769Z] ---> Running in 45bb1dfc1507 [2021-10-13T11:39:30.769Z] noop [2021-10-13T11:39:30.769Z] Removing intermediate container 45bb1dfc1507 [2021-10-13T11:39:30.769Z] ---> b6835d8d99ab [2021-10-13T11:39:30.769Z] Successfully built b6835d8d99ab [2021-10-13T11:39:30.769Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh [2021-10-13T11:39:31.152Z] + docker inspect -f . ci-base-image-arm64 [2021-10-13T11:39:31.153Z] . [Pipeline] withDockerContainer [2021-10-13T11:39:31.455Z] prd-ubuntu18.04-docker-arm64-4c-16g-1029 does not seem to be running inside a container [2021-10-13T11:39:31.578Z] $ 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 ******** ci-base-image-arm64 cat [2021-10-13T11:39:32.942Z] $ docker top c46f93246bf5cd6a30c4f53967fa388bad70369723e90c6e4d325b5e0dd5ca37 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-10-13T11:39:33.915Z] + go version [2021-10-13T11:39:33.915Z] go version go1.16.8 linux/arm64 [Pipeline] } [2021-10-13T11:39:33.955Z] $ docker stop --time=1 c46f93246bf5cd6a30c4f53967fa388bad70369723e90c6e4d325b5e0dd5ca37 [2021-10-13T11:39:35.677Z] $ docker rm -f c46f93246bf5cd6a30c4f53967fa388bad70369723e90c6e4d325b5e0dd5ca37 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-10-13T11:39:36.542Z] + docker inspect -f . ci-base-image-arm64 [2021-10-13T11:39:36.542Z] . [Pipeline] withDockerContainer [2021-10-13T11:39:36.799Z] prd-ubuntu18.04-docker-arm64-4c-16g-1029 does not seem to be running inside a container [2021-10-13T11:39:36.899Z] $ 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 ******** ci-base-image-arm64 cat [2021-10-13T11:39:38.344Z] $ docker top d1fb86e10f4befe168d52d332f4209f7137ec99170017c1de641ed87e1dd8608 -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh [2021-10-13T11:39:39.417Z] + make test [2021-10-13T11:39:39.417Z] CGO_ENABLED=1 GO111MODULE=on go test -coverprofile=coverage.out ./... [2021-10-13T11:39:40.886Z] ? github.com/edgexfoundry/device-rest-go [no test files] [2021-10-13T11:40:37.605Z] ? github.com/edgexfoundry/device-rest-go/cmd [no test files] [2021-10-13T11:40:37.605Z] ok github.com/edgexfoundry/device-rest-go/driver 0.047s coverage: 53.8% of statements [2021-10-13T11:40:37.605Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2021-10-13T11:41:04.485Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2021-10-13T11:41:04.485Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2021-10-13T11:41:04.485Z] ./bin/test-attribution-txt.sh [Pipeline] } [2021-10-13T11:41:04.522Z] $ docker stop --time=1 d1fb86e10f4befe168d52d332f4209f7137ec99170017c1de641ed87e1dd8608 [2021-10-13T11:41:06.406Z] $ docker rm -f d1fb86e10f4befe168d52d332f4209f7137ec99170017c1de641ed87e1dd8608 [Pipeline] // withDockerContainer [Pipeline] sh [2021-10-13T11:41:07.291Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2021-10-13T11:41:07.333Z] Warning: overwriting stash ‘coverage-report’ [2021-10-13T11:41:07.875Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-10-13T11:41:08.644Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2021-10-13T11:41:09.012Z] + ls -al . [2021-10-13T11:41:09.012Z] total 144 [2021-10-13T11:41:09.012Z] drwxrwxr-x 8 jenkins jenkins 4096 Oct 13 11:41 . [2021-10-13T11:41:09.012Z] drwxrwxr-x 4 jenkins jenkins 4096 Oct 13 11:38 .. [2021-10-13T11:41:09.012Z] -rw-rw-r-- 1 jenkins jenkins 151 Oct 13 11:38 .dockerignore [2021-10-13T11:41:09.012Z] drwxrwxr-x 8 jenkins jenkins 4096 Oct 13 11:38 .git [2021-10-13T11:41:09.012Z] drwxrwxr-x 2 jenkins jenkins 4096 Oct 13 11:38 .github [2021-10-13T11:41:09.012Z] -rw-rw-r-- 1 jenkins jenkins 329 Oct 13 11:38 .gitignore [2021-10-13T11:41:09.012Z] -rw-rw-r-- 1 jenkins jenkins 6792 Oct 13 11:38 Attribution.txt [2021-10-13T11:41:09.012Z] -rw-rw-r-- 1 jenkins jenkins 7459 Oct 13 11:38 CHANGELOG.md [2021-10-13T11:41:09.012Z] -rw-rw-r-- 1 jenkins jenkins 1649 Oct 13 11:38 Dockerfile [2021-10-13T11:41:09.012Z] -rw-rw-r-- 1 jenkins jenkins 677 Oct 13 11:38 GOVERNANCE.md [2021-10-13T11:41:09.012Z] -rw-rw-r-- 1 jenkins jenkins 680 Oct 13 11:38 Jenkinsfile [2021-10-13T11:41:09.012Z] -rw-rw-r-- 1 jenkins jenkins 11340 Oct 13 11:38 LICENSE [2021-10-13T11:41:09.012Z] -rw-rw-r-- 1 jenkins jenkins 1078 Oct 13 11:38 Makefile [2021-10-13T11:41:09.012Z] -rw-rw-r-- 1 jenkins jenkins 620 Oct 13 11:38 OWNERS.md [2021-10-13T11:41:09.012Z] -rw-rw-r-- 1 jenkins jenkins 7661 Oct 13 11:38 README.md [2021-10-13T11:41:09.012Z] -rw-rw-r-- 1 jenkins jenkins 5 Oct 13 11:35 VERSION [2021-10-13T11:41:09.012Z] drwxrwxr-x 2 jenkins jenkins 4096 Oct 13 11:38 bin [2021-10-13T11:41:09.012Z] drwxrwxr-x 3 jenkins jenkins 4096 Oct 13 11:38 cmd [2021-10-13T11:41:09.012Z] -rw-r--r-- 1 jenkins jenkins 8435 Oct 13 11:40 coverage.out [2021-10-13T11:41:09.012Z] drwxrwxr-x 2 jenkins jenkins 4096 Oct 13 11:38 driver [2021-10-13T11:41:09.012Z] -rw-rw-r-- 1 jenkins jenkins 271 Oct 13 11:38 go.mod [2021-10-13T11:41:09.012Z] -rw-rw-r-- 1 jenkins jenkins 20570 Oct 13 11:38 go.sum [2021-10-13T11:41:09.012Z] drwxrwxr-x 4 jenkins jenkins 4096 Oct 13 11:38 snap [2021-10-13T11:41:09.012Z] -rw-rw-r-- 1 jenkins jenkins 713 Oct 13 11:38 version.go [Pipeline] isUnix [Pipeline] sh [2021-10-13T11:41:09.385Z] + 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=d2bfa720847907ccc8297cdeca17aa1aafdd3b41 --label arch=arm64 --label version=0.0.0 . [2021-10-13T11:41:09.385Z] Sending build context to Docker daemon 128kB [2021-10-13T11:41:09.667Z] Step 1/24 : ARG BASE=golang:1.16-alpine3.14 [2021-10-13T11:41:09.667Z] Step 2/24 : FROM ${BASE} AS builder [2021-10-13T11:41:09.667Z] ---> b6835d8d99ab [2021-10-13T11:41:09.667Z] Step 3/24 : ARG MAKE='make build' [2021-10-13T11:41:09.946Z] ---> Running in 15c1821bc699 [2021-10-13T11:41:10.223Z] Removing intermediate container 15c1821bc699 [2021-10-13T11:41:10.223Z] ---> ef80d254a4b9 [2021-10-13T11:41:10.223Z] Step 4/24 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2021-10-13T11:41:10.501Z] ---> Running in c0fb35fbfe46 [2021-10-13T11:41:10.783Z] Removing intermediate container c0fb35fbfe46 [2021-10-13T11:41:10.783Z] ---> 9774e4c2de9a [2021-10-13T11:41:10.783Z] Step 5/24 : ARG ALPINE_PKG_EXTRA="" [2021-10-13T11:41:11.059Z] ---> Running in d8deccd31266 [2021-10-13T11:41:11.337Z] Removing intermediate container d8deccd31266 [2021-10-13T11:41:11.337Z] ---> c0223d53dd13 [2021-10-13T11:41:11.337Z] Step 6/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-10-13T11:41:11.623Z] ---> Running in 08fd5e1ab220 [2021-10-13T11:41:13.621Z] Removing intermediate container 08fd5e1ab220 [2021-10-13T11:41:13.621Z] ---> 581d0833b60c [2021-10-13T11:41:13.621Z] Step 7/24 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2021-10-13T11:41:13.901Z] ---> Running in ae79d9e213d1 [2021-10-13T11:41:14.901Z] fetch https://nl.alpinelinux.org/alpine/v3.13/main/aarch64/APKINDEX.tar.gz [2021-10-13T11:41:16.348Z] fetch https://nl.alpinelinux.org/alpine/v3.13/community/aarch64/APKINDEX.tar.gz [2021-10-13T11:41:16.952Z] OK: 222 MiB in 55 packages [2021-10-13T11:41:17.967Z] Removing intermediate container ae79d9e213d1 [2021-10-13T11:41:17.967Z] ---> 7ce417f0e3c8 [2021-10-13T11:41:17.967Z] Step 8/24 : WORKDIR /device-rest-go [2021-10-13T11:41:17.967Z] ---> Running in 9046bbbfedd0 [2021-10-13T11:41:18.568Z] Removing intermediate container 9046bbbfedd0 [2021-10-13T11:41:18.568Z] ---> 969498dbcffa [2021-10-13T11:41:18.568Z] Step 9/24 : COPY . . [2021-10-13T11:41:19.177Z] ---> f08785e2c35a [2021-10-13T11:41:19.177Z] Step 10/24 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2021-10-13T11:41:19.457Z] ---> Running in 578400cb9566 [2021-10-13T11:41:21.453Z] Removing intermediate container 578400cb9566 [2021-10-13T11:41:21.453Z] ---> 2eea3130ef99 [2021-10-13T11:41:21.453Z] Step 11/24 : RUN $MAKE [2021-10-13T11:41:21.733Z] ---> Running in f58e774e603a [2021-10-13T11:41:22.729Z] 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-10-13T11:42:01.835Z] Removing intermediate container f58e774e603a [2021-10-13T11:42:01.835Z] ---> 5685b5f84b7e [2021-10-13T11:42:01.835Z] Step 12/24 : FROM alpine:3.14 [2021-10-13T11:42:01.835Z] 3.14: Pulling from library/alpine [2021-10-13T11:42:01.835Z] 552d1f2373af: Pulling fs layer [2021-10-13T11:42:01.835Z] 552d1f2373af: Verifying Checksum [2021-10-13T11:42:01.835Z] 552d1f2373af: Download complete [2021-10-13T11:42:01.835Z] 552d1f2373af: Pull complete [2021-10-13T11:42:01.835Z] Digest: sha256:e1c082e3d3c45cccac829840a25941e679c25d438cc8412c2fa221cf1a824e6a [2021-10-13T11:42:01.835Z] Status: Downloaded newer image for alpine:3.14 [2021-10-13T11:42:01.835Z] ---> bb3de5531c18 [2021-10-13T11:42:01.835Z] Step 13/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019: Intel' [2021-10-13T11:42:01.835Z] ---> Running in 601bb5c2bb26 [2021-10-13T11:42:01.835Z] Removing intermediate container 601bb5c2bb26 [2021-10-13T11:42:01.835Z] ---> c8c19bd8dcce [2021-10-13T11:42:01.835Z] Step 14/24 : LABEL Name=device-rest-go Version=${VERSION} [2021-10-13T11:42:01.835Z] ---> Running in ca897bc8ebab [2021-10-13T11:42:01.835Z] Removing intermediate container ca897bc8ebab [2021-10-13T11:42:01.835Z] ---> 8aa9aebfb156 [2021-10-13T11:42:01.835Z] Step 15/24 : RUN apk add --update --no-cache zeromq dumb-init [2021-10-13T11:42:01.835Z] ---> Running in 636eeedda691 [2021-10-13T11:42:01.835Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/main/aarch64/APKINDEX.tar.gz [2021-10-13T11:42:01.835Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/community/aarch64/APKINDEX.tar.gz [2021-10-13T11:42:02.440Z] (1/6) Installing dumb-init (1.2.5-r1) [2021-10-13T11:42:02.440Z] (2/6) Installing libgcc (10.3.1_git20210424-r2) [2021-10-13T11:42:02.440Z] (3/6) Installing libsodium (1.0.18-r0) [2021-10-13T11:42:02.440Z] (4/6) Installing libstdc++ (10.3.1_git20210424-r2) [2021-10-13T11:42:02.717Z] (5/6) Installing libzmq (4.3.4-r0) [2021-10-13T11:42:02.717Z] (6/6) Installing zeromq (4.3.4-r0) [2021-10-13T11:42:02.717Z] Executing busybox-1.33.1-r3.trigger [2021-10-13T11:42:02.717Z] OK: 8 MiB in 20 packages [2021-10-13T11:42:03.730Z] Removing intermediate container 636eeedda691 [2021-10-13T11:42:03.730Z] ---> 0bd704168689 [2021-10-13T11:42:03.730Z] Step 16/24 : COPY --from=builder /device-rest-go/cmd / [2021-10-13T11:42:05.197Z] ---> 971b3182013e [2021-10-13T11:42:05.197Z] Step 17/24 : COPY --from=builder /device-rest-go/LICENSE / [2021-10-13T11:42:05.803Z] ---> d87243c8e6f8 [2021-10-13T11:42:05.803Z] Step 18/24 : COPY --from=builder /device-rest-go/Attribution.txt / [2021-10-13T11:42:06.412Z] ---> 7433f5ea3a78 [2021-10-13T11:42:06.412Z] Step 19/24 : EXPOSE 59986 [2021-10-13T11:42:06.690Z] ---> Running in c6a3087f932a [2021-10-13T11:42:06.970Z] Removing intermediate container c6a3087f932a [2021-10-13T11:42:06.970Z] ---> 078308d95da2 [2021-10-13T11:42:06.970Z] Step 20/24 : ENTRYPOINT ["/device-rest"] [2021-10-13T11:42:07.252Z] ---> Running in c9867eeeb4f1 [2021-10-13T11:42:07.860Z] Removing intermediate container c9867eeeb4f1 [2021-10-13T11:42:07.860Z] ---> 1893bf8dace2 [2021-10-13T11:42:07.860Z] Step 21/24 : CMD ["--cp=consul://edgex-core-consul:8500", "--confdir=/res", "--registry"] [2021-10-13T11:42:07.860Z] ---> Running in db7836a3238d [2021-10-13T11:42:08.464Z] Removing intermediate container db7836a3238d [2021-10-13T11:42:08.464Z] ---> d6ddfe2a7b59 [2021-10-13T11:42:08.464Z] Step 22/24 : LABEL arch=arm64 [2021-10-13T11:42:08.464Z] ---> Running in 0f379f082b28 [2021-10-13T11:42:09.072Z] Removing intermediate container 0f379f082b28 [2021-10-13T11:42:09.072Z] ---> cc778b7e1309 [2021-10-13T11:42:09.072Z] Step 23/24 : LABEL git_sha=d2bfa720847907ccc8297cdeca17aa1aafdd3b41 [2021-10-13T11:42:09.072Z] ---> Running in 47102a1db354 [2021-10-13T11:42:09.679Z] Removing intermediate container 47102a1db354 [2021-10-13T11:42:09.679Z] ---> c889daecb210 [2021-10-13T11:42:09.679Z] Step 24/24 : LABEL version=0.0.0 [2021-10-13T11:42:09.679Z] ---> Running in c77d8a21d65e [2021-10-13T11:42:10.283Z] Removing intermediate container c77d8a21d65e [2021-10-13T11:42:10.283Z] ---> f017a442a4ac [2021-10-13T11:42:10.283Z] [Warning] One or more build-args [ARCH] were not consumed [2021-10-13T11:42:10.283Z] Successfully built f017a442a4ac [2021-10-13T11:42:10.283Z] 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-10-13T11:42:11.088Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2021-10-13T11:42:11.366Z] [2021-10-13T11:42:11.366Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] sh [2021-10-13T11:42:11.766Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2021-10-13T11:42:12.049Z] arm64: Pulling from edgex-lftools-log-publisher [2021-10-13T11:42:12.049Z] 448f6bf000e3: Pulling fs layer [2021-10-13T11:42:12.049Z] f757da607395: Pulling fs layer [2021-10-13T11:42:12.049Z] 05883995daec: Pulling fs layer [2021-10-13T11:42:12.049Z] 8603b9c90790: Pulling fs layer [2021-10-13T11:42:12.049Z] 1560dd03e051: Pulling fs layer [2021-10-13T11:42:12.049Z] 27f5ce0e4adf: Pulling fs layer [2021-10-13T11:42:12.049Z] c2d8d7efcc4b: Pulling fs layer [2021-10-13T11:42:12.049Z] 8603b9c90790: Waiting [2021-10-13T11:42:12.049Z] 1560dd03e051: Waiting [2021-10-13T11:42:12.049Z] 27f5ce0e4adf: Waiting [2021-10-13T11:42:12.049Z] c2d8d7efcc4b: Waiting [2021-10-13T11:42:12.049Z] f757da607395: Verifying Checksum [2021-10-13T11:42:12.049Z] f757da607395: Download complete [2021-10-13T11:42:12.331Z] 8603b9c90790: Verifying Checksum [2021-10-13T11:42:12.331Z] 8603b9c90790: Download complete [2021-10-13T11:42:12.331Z] 05883995daec: Verifying Checksum [2021-10-13T11:42:12.331Z] 05883995daec: Download complete [2021-10-13T11:42:12.332Z] 27f5ce0e4adf: Verifying Checksum [2021-10-13T11:42:12.332Z] 27f5ce0e4adf: Download complete [2021-10-13T11:42:12.332Z] 1560dd03e051: Verifying Checksum [2021-10-13T11:42:12.332Z] 1560dd03e051: Download complete [2021-10-13T11:42:12.614Z] 448f6bf000e3: Verifying Checksum [2021-10-13T11:42:12.614Z] 448f6bf000e3: Download complete [2021-10-13T11:42:15.280Z] c2d8d7efcc4b: Verifying Checksum [2021-10-13T11:42:15.280Z] c2d8d7efcc4b: Download complete [2021-10-13T11:42:16.282Z] 448f6bf000e3: Pull complete [2021-10-13T11:42:17.278Z] f757da607395: Pull complete [2021-10-13T11:42:18.737Z] 05883995daec: Pull complete [2021-10-13T11:42:19.013Z] 8603b9c90790: Pull complete [2021-10-13T11:42:20.006Z] 1560dd03e051: Pull complete [2021-10-13T11:42:20.286Z] 27f5ce0e4adf: Pull complete [2021-10-13T11:42:35.447Z] c2d8d7efcc4b: Pull complete [2021-10-13T11:42:35.447Z] Digest: sha256:42f6a1c33103aa4ecfebf648e29883a20fd84132c0f0d4f855d8bcfd8dd9c454 [2021-10-13T11:42:35.447Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2021-10-13T11:42:35.447Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] withDockerContainer [2021-10-13T11:42:35.711Z] prd-ubuntu18.04-docker-arm64-4c-16g-1029 does not seem to be running inside a container [2021-10-13T11:42:35.815Z] $ 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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat [2021-10-13T11:42:39.634Z] $ docker top c90df105d30cbea9a463b53ef59e6c69867bb3f250a1ecd0f436c05db68903d5 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-10-13T11:42:40.637Z] ---> job-cost.sh [2021-10-13T11:42:40.637Z] lf-activate-venv: SKIPPING [2021-10-13T11:42:40.637Z] INFO: No Stack... [2021-10-13T11:42:40.915Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2021-10-13T11:42:41.191Z] INFO: Archiving Costs [Pipeline] sh [2021-10-13T11:42:41.899Z] + cat /w/workspace/device-rest-go/1/archives/cost.csv [2021-10-13T11:42:41.899Z] + cut -d, -f6 [Pipeline] lock [2021-10-13T11:42:42.010Z] Trying to acquire lock on [jenkins-edgexfoundry-device-rest-go-PR-139-1-stack-cost] [2021-10-13T11:42:42.015Z] Resource [jenkins-edgexfoundry-device-rest-go-PR-139-1-stack-cost] did not exist. Created. [2021-10-13T11:42:42.015Z] Lock acquired on [jenkins-edgexfoundry-device-rest-go-PR-139-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2021-10-13T11:42:42.802Z] /w/workspace/device-rest-go/1@tmp/durable-70f23702/script.sh: 1: /w/workspace/device-rest-go/1@tmp/durable-70f23702/script.sh: Syntax error: Unterminated quoted string [Pipeline] sh [2021-10-13T11:42:43.507Z] + echo total: 0.10999999940395355 [Pipeline] stash [2021-10-13T11:42:43.549Z] Warning: overwriting stash ‘stack-cost’ [2021-10-13T11:42:43.593Z] Stashed 1 file(s) [Pipeline] } [2021-10-13T11:42:43.612Z] Lock released on resource [jenkins-edgexfoundry-device-rest-go-PR-139-1-stack-cost] [Pipeline] // lock [Pipeline] } [2021-10-13T11:42:43.669Z] $ docker stop --time=1 c90df105d30cbea9a463b53ef59e6c69867bb3f250a1ecd0f436c05db68903d5 [2021-10-13T11:42:45.316Z] $ docker rm -f c90df105d30cbea9a463b53ef59e6c69867bb3f250a1ecd0f436c05db68903d5 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) [Pipeline] unstash [Pipeline] configFileProvider [2021-10-13T11:42:46.365Z] provisioning config files... [2021-10-13T11:42:46.372Z] copy managed file [device-rest-go-codecov-token] to file:/w/workspace/gexfoundry_device-rest-go_PR-139@tmp/config4492490888499476782tmp [Pipeline] { [Pipeline] sh [2021-10-13T11:42:46.707Z] + set +x [2021-10-13T11:42:46.707Z] + curl -s https://codecov.io/bash [2021-10-13T11:42:46.707Z] + bash -s -- [2021-10-13T11:42:46.707Z] [2021-10-13T11:42:46.707Z] _____ _ [2021-10-13T11:42:46.707Z] / ____| | | [2021-10-13T11:42:46.707Z] | | ___ __| | ___ ___ _____ __ [2021-10-13T11:42:46.707Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2021-10-13T11:42:46.707Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2021-10-13T11:42:46.707Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2021-10-13T11:42:46.707Z] Bash-1.0.6 [2021-10-13T11:42:46.707Z] [2021-10-13T11:42:46.707Z] [2021-10-13T11:42:46.707Z] ==> git version 2.24.4 found [2021-10-13T11:42:46.707Z] ==> curl 7.29.0 (x86_64-redhat-linux-gnu) libcurl/7.29.0 NSS/3.53.1 zlib/1.2.7 libidn/1.28 libssh2/1.8.0 [2021-10-13T11:42:46.707Z] Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtsp scp sftp smtp smtps telnet tftp [2021-10-13T11:42:46.707Z] Features: AsynchDNS GSS-Negotiate IDN IPv6 Largefile NTLM NTLM_WB SSL libz unix-sockets [2021-10-13T11:42:46.707Z] ==> Jenkins CI detected. [2021-10-13T11:42:46.707Z] current dir:  /w/workspace/gexfoundry_device-rest-go_PR-139 [2021-10-13T11:42:46.707Z] project root: . [2021-10-13T11:42:46.707Z] --> token set from env [2021-10-13T11:42:46.707Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2021-10-13T11:42:46.969Z] ==> Running gcov in . (disable via -X gcov) [2021-10-13T11:42:46.969Z] ==> Python coveragepy not found [2021-10-13T11:42:46.969Z] ==> Searching for coverage reports in: [2021-10-13T11:42:46.969Z] + . [2021-10-13T11:42:46.969Z] -> Found 1 reports [2021-10-13T11:42:46.969Z] ==> Detecting git/mercurial file structure [2021-10-13T11:42:46.969Z] ==> Reading reports [2021-10-13T11:42:46.969Z] + ./coverage.out bytes=8435 [2021-10-13T11:42:46.969Z] ==> Appending adjustments [2021-10-13T11:42:46.969Z] https://docs.codecov.io/docs/fixing-reports [2021-10-13T11:42:46.969Z] + Found adjustments [2021-10-13T11:42:46.969Z] ==> Gzipping contents [2021-10-13T11:42:46.969Z] 4.0K /tmp/codecov.hYgh6e.gz [2021-10-13T11:42:46.969Z] ==> Uploading reports [2021-10-13T11:42:46.969Z] url: https://codecov.io [2021-10-13T11:42:46.969Z] query: branch=PR-139&commit=d2bfa720847907ccc8297cdeca17aa1aafdd3b41&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-rest-go%2Fjob%2FPR-139%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-rest-go&service=jenkins&flags=&pr=139&job=&cmd_args= [2021-10-13T11:42:46.969Z] -> Pinging Codecov [2021-10-13T11:42:46.969Z] https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=c51feb23-73ac-4f49-b3d1-d26df23137db&branch=PR-139&commit=d2bfa720847907ccc8297cdeca17aa1aafdd3b41&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-rest-go%2Fjob%2FPR-139%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-rest-go&service=jenkins&flags=&pr=139&job=&cmd_args= [2021-10-13T11:42:47.233Z] -> Uploading to [2021-10-13T11:42:47.233Z] https://storage.googleapis.com/codecov/v4/raw/2021-10-13/4E5D53B4F1F92C436F7061BF334D961C/d2bfa720847907ccc8297cdeca17aa1aafdd3b41/cd7ecfd8-c780-4c31-b584-c04258176bc1.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EKKHVKCKHW7KBCGM7IHR55T63V2PAVJWLVFNITJHDU5G6R5IRN3LMWJA%2F20211013%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20211013T114247Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=563a96ed25d355107692bd25441095c07285f15fbec20dd009cda7c01ae7f5d0 [2021-10-13T11:42:47.233Z] % Total % Received % Xferd Average Speed Time Time Time Current [2021-10-13T11:42:47.233Z] Dload Upload Total Spent Left Speed [2021-10-13T11:42:47.805Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 1741 0 0 100 1741 0 4972 --:--:-- --:--:-- --:--:-- 4974 100 1741 0 0 100 1741 0 4970 --:--:-- --:--:-- --:--:-- 4960 [2021-10-13T11:42:47.805Z] -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/device-rest-go/commit/d2bfa720847907ccc8297cdeca17aa1aafdd3b41 [Pipeline] } [2021-10-13T11:42:47.826Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) Stage "Snyk Dependency Scan" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) Stage "Semver" skipped due to when conditional [Pipeline] stage [Pipeline] { (Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] sh [2021-10-13T11:42:49.744Z] + '[' -d /w/workspace/gexfoundry_device-rest-go_PR-139/archives ']' [Pipeline] libraryResource [Pipeline] sh [2021-10-13T11:42:50.076Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2021-10-13T11:42:50.688Z] ---> package-listing.sh [2021-10-13T11:42:50.688Z] ++ facter osfamily [2021-10-13T11:42:50.688Z] ++ tr '[:upper:]' '[:lower:]' [2021-10-13T11:42:50.956Z] + OS_FAMILY=redhat [2021-10-13T11:42:50.956Z] + workspace=/w/workspace/gexfoundry_device-rest-go_PR-139 [2021-10-13T11:42:50.956Z] + START_PACKAGES=/tmp/packages_start.txt [2021-10-13T11:42:50.956Z] + END_PACKAGES=/tmp/packages_end.txt [2021-10-13T11:42:50.956Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2021-10-13T11:42:50.956Z] + PACKAGES=/tmp/packages_start.txt [2021-10-13T11:42:50.956Z] + '[' /w/workspace/gexfoundry_device-rest-go_PR-139 ']' [2021-10-13T11:42:50.956Z] + PACKAGES=/tmp/packages_end.txt [2021-10-13T11:42:50.956Z] + case "${OS_FAMILY}" in [2021-10-13T11:42:50.956Z] + sort [2021-10-13T11:42:50.956Z] + rpm -qa [2021-10-13T11:42:51.528Z] + '[' -f /tmp/packages_start.txt ']' [2021-10-13T11:42:51.528Z] + '[' -f /tmp/packages_end.txt ']' [2021-10-13T11:42:51.528Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2021-10-13T11:42:51.528Z] + '[' /w/workspace/gexfoundry_device-rest-go_PR-139 ']' [2021-10-13T11:42:51.528Z] + mkdir -p /w/workspace/gexfoundry_device-rest-go_PR-139/archives/ [2021-10-13T11:42:51.528Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_device-rest-go_PR-139/archives/ [Pipeline] echo [2021-10-13T11:42:51.559Z] 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-139/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2021-10-13T11:42:51.865Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] sh [2021-10-13T11:42:52.459Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2021-10-13T11:42:52.459Z] [2021-10-13T11:42:52.459Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] sh [2021-10-13T11:42:52.803Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2021-10-13T11:42:52.803Z] latest: Pulling from edgex-lftools-log-publisher [2021-10-13T11:42:52.803Z] b4d181a07f80: Pulling fs layer [2021-10-13T11:42:52.803Z] a1111a8f2ec3: Pulling fs layer [2021-10-13T11:42:52.803Z] ed53099fbce6: Pulling fs layer [2021-10-13T11:42:52.803Z] dc539afda2c1: Pulling fs layer [2021-10-13T11:42:52.803Z] 77bc0d833cb6: Pulling fs layer [2021-10-13T11:42:52.803Z] 9065ff56babe: Pulling fs layer [2021-10-13T11:42:52.803Z] d287ab97295c: Pulling fs layer [2021-10-13T11:42:52.803Z] 77bc0d833cb6: Waiting [2021-10-13T11:42:52.803Z] 9065ff56babe: Waiting [2021-10-13T11:42:52.803Z] d287ab97295c: Waiting [2021-10-13T11:42:52.803Z] dc539afda2c1: Waiting [2021-10-13T11:42:52.803Z] a1111a8f2ec3: Verifying Checksum [2021-10-13T11:42:52.803Z] a1111a8f2ec3: Download complete [2021-10-13T11:42:52.803Z] dc539afda2c1: Verifying Checksum [2021-10-13T11:42:52.803Z] dc539afda2c1: Download complete [2021-10-13T11:42:53.072Z] ed53099fbce6: Verifying Checksum [2021-10-13T11:42:53.072Z] ed53099fbce6: Download complete [2021-10-13T11:42:53.072Z] 77bc0d833cb6: Verifying Checksum [2021-10-13T11:42:53.072Z] 77bc0d833cb6: Download complete [2021-10-13T11:42:53.072Z] 9065ff56babe: Verifying Checksum [2021-10-13T11:42:53.072Z] 9065ff56babe: Download complete [2021-10-13T11:42:53.072Z] b4d181a07f80: Verifying Checksum [2021-10-13T11:42:53.072Z] b4d181a07f80: Download complete [2021-10-13T11:42:53.650Z] d287ab97295c: Verifying Checksum [2021-10-13T11:42:53.650Z] d287ab97295c: Download complete [2021-10-13T11:42:54.605Z] b4d181a07f80: Pull complete [2021-10-13T11:42:54.887Z] a1111a8f2ec3: Pull complete [2021-10-13T11:42:55.471Z] ed53099fbce6: Pull complete [2021-10-13T11:42:55.471Z] dc539afda2c1: Pull complete [2021-10-13T11:42:55.737Z] 77bc0d833cb6: Pull complete [2021-10-13T11:42:55.737Z] 9065ff56babe: Pull complete [2021-10-13T11:43:01.085Z] d287ab97295c: Pull complete [2021-10-13T11:43:01.085Z] Digest: sha256:0c69325c24349bfb3ea32a3c3cbcab1fb66df42c981276dd8ebcf6aa441257c4 [2021-10-13T11:43:01.085Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2021-10-13T11:43:01.085Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] withDockerContainer [2021-10-13T11:43:01.178Z] prd-centos7-docker-4c-2g-1028 does not seem to be running inside a container [2021-10-13T11:43:01.215Z] $ 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-139/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-139 -v /w/workspace/gexfoundry_device-rest-go_PR-139:/w/workspace/gexfoundry_device-rest-go_PR-139:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-139@tmp:/w/workspace/gexfoundry_device-rest-go_PR-139@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2021-10-13T11:43:03.303Z] $ docker top 706f12a5c41b9952a2714809acf83bd319e2b405650739cb883ca59307386d4f -eo pid,comm [Pipeline] { [Pipeline] sh [2021-10-13T11:43:03.697Z] + touch /tmp/pre-build-complete [Pipeline] sh [2021-10-13T11:43:04.009Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2021-10-13T11:43:04.324Z] + ls /var/log/sa-host [2021-10-13T11:43:04.325Z] + sadf -c /var/log/sa-host/sa13 [2021-10-13T11:43:04.325Z] file_magic: OK [2021-10-13T11:43:04.325Z] HZ: Using current value: 100 [2021-10-13T11:43:04.325Z] file_header: OK [2021-10-13T11:43:04.325Z] file_activity: A_CPU A_PCSW A_SWAP A_PAGE A_IO A_MEMORY A_HUGE A_KTABLES A_QUEUE A_SERIAL A_DISK A_NET_DEV A_NET_EDEV A_NET_NFS A_NET_NFSD A_NET_SOCK OK [2021-10-13T11:43:04.325Z] Statistics: [2021-10-13T11:43:04.325Z] HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... [2021-10-13T11:43:04.325Z] File successfully converted to sysstat format version 12.0.3 [2021-10-13T11:43:04.325Z] + sadf -c /var/log/sa-host/sa30 [2021-10-13T11:43:04.325Z] file_magic: OK [2021-10-13T11:43:04.325Z] HZ: Using current value: 100 [2021-10-13T11:43:04.325Z] file_header: OK [2021-10-13T11:43:04.325Z] file_activity: A_CPU A_PCSW A_SWAP A_PAGE A_IO A_MEMORY A_HUGE A_KTABLES A_QUEUE A_SERIAL A_DISK A_NET_DEV A_NET_EDEV A_NET_NFS A_NET_NFSD A_NET_SOCK OK [2021-10-13T11:43:04.325Z] Statistics: [2021-10-13T11:43:04.325Z] Hnuu...uuuununununu...Hnuu...uuuununununu... [2021-10-13T11:43:04.325Z] File successfully converted to sysstat format version 12.0.3 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-10-13T11:43:04.614Z] provisioning config files... [2021-10-13T11:43:04.624Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-rest-go_PR-139@tmp/config4117039719817596504tmp [Pipeline] { [Pipeline] echo [2021-10-13T11:43:04.686Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2021-10-13T11:43:05.006Z] ---> create-netrc.sh [Pipeline] } [2021-10-13T11:43:05.030Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2021-10-13T11:43:05.431Z] ---> python-tools-install.sh [Pipeline] echo [2021-10-13T11:43:05.457Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2021-10-13T11:43:05.780Z] ---> sudo-logs.sh [2021-10-13T11:43:05.780Z] Archiving 'sudo' log.. [2021-10-13T11:43:05.780Z] sudo: unable to resolve host prd-centos7-docker-4c-2g-1028.novalocal: Name or service not known [2021-10-13T11:43:05.780Z] sudo: unable to resolve host prd-centos7-docker-4c-2g-1028.novalocal: Name or service not known [Pipeline] unstash [Pipeline] echo [2021-10-13T11:43:05.840Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2021-10-13T11:43:06.157Z] ---> job-cost.sh [2021-10-13T11:43:06.157Z] lf-activate-venv: SKIPPING [2021-10-13T11:43:06.157Z] DEBUG: total: 0.10999999940395355 [2021-10-13T11:43:06.157Z] INFO: Retrieving Stack Cost... [2021-10-13T11:43:08.070Z] INFO: Retrieving Pricing Info for: v3-standard-2 [2021-10-13T11:43:08.332Z] INFO: Archiving Costs [Pipeline] echo [2021-10-13T11:43:08.363Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2021-10-13T11:43:08.709Z] ---> logs-deploy.sh [2021-10-13T11:43:08.709Z] lf-activate-venv: SKIPPING [2021-10-13T11:43:08.709Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-rest-go/PR-139/1 [2021-10-13T11:43:08.709Z] INFO: archiving workspace using pattern(s): [2021-10-13T11:43:09.663Z] Archives upload complete. [2021-10-13T11:43:09.663Z] INFO: archiving logs to Nexus