Pull request #148 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 farshidtz for edgexfoundry/device-rest-go Loading trusted files from base branch main at 8f9dabbcd23e32bae175015e2a15c1f428ed019f rather than a74cd4e34615fdc29e084b9a9bde0ca42c8b4b79 Obtained Jenkinsfile from 8f9dabbcd23e32bae175015e2a15c1f428ed019f 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-ssh14309622991335456526.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 32edd24ee733e309d05e35b1f887f14b07bde6d0 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-ssh10710801278266844534.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 32edd24ee733e309d05e35b1f887f14b07bde6d0 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-148/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-148/workspace@libs/edgex-global-pipelines@tmp/jenkins-gitclient-ssh15791030614542338373.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-148/workspace@libs/edgex-global-pipelines@tmp/jenkins-gitclient-ssh16836299944244304536.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 32edd24ee733e309d05e35b1f887f14b07bde6d0 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 32edd24ee733e309d05e35b1f887f14b07bde6d0 # timeout=10 Commit message: "Merge pull request #369 from ernestojeda/revert-script-move" > 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-ssh17579998765659419705.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-148/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-148/workspace@libs/lf-pipelines@tmp/jenkins-gitclient-ssh12050788596216219258.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 32edd24ee733e309d05e35b1f887f14b07bde6d0 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 USE_ALPINE: true 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-52 in /w/workspace/gexfoundry_device-rest-go_PR-148 [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-148 # 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-148@tmp/jenkins-gitclient-ssh3578784023145750569.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-148@tmp/jenkins-gitclient-ssh231782512517426812.key > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/pull/148/head:refs/remotes/origin/PR-148 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit 8f9dabbcd23e32bae175015e2a15c1f428ed019f into PR head commit a74cd4e34615fdc29e084b9a9bde0ca42c8b4b79 Merge succeeded, producing a74cd4e34615fdc29e084b9a9bde0ca42c8b4b79 Checking out Revision a74cd4e34615fdc29e084b9a9bde0ca42c8b4b79 (PR-148) > git config core.sparsecheckout # timeout=10 > git checkout -f a74cd4e34615fdc29e084b9a9bde0ca42c8b4b79 # 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-148@tmp/jenkins-gitclient-ssh3287495432358340699.key > git merge 8f9dabbcd23e32bae175015e2a15c1f428ed019f # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f a74cd4e34615fdc29e084b9a9bde0ca42c8b4b79 # timeout=10 Commit message: "refactor(snap): remove redundant content indentifier" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.24.4' fatal: bad object 32edd24ee733e309d05e35b1f887f14b07bde6d0 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2021-12-02T09:48:44.471Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2021-12-02T09:48:44.609Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2021-12-02T09:48:44.697Z] ========================================================= [2021-12-02T09:48:44.697Z] EdgeX Global Pipelines Version Info [2021-12-02T09:48:44.697Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2021-12-02T09:48:45.829Z] ------------------- [2021-12-02T09:48:45.829Z] stable info: [2021-12-02T09:48:45.829Z] ------------------- [2021-12-02T09:48:45.829Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2021-12-02T09:48:45.829Z] Commit SHA: 32edd24ee733e309d05e35b1f887f14b07bde6d0 [2021-12-02T09:48:45.829Z] Message: update stable to v1.0.217 [2021-12-02T09:48:46.403Z] ------------------- [2021-12-02T09:48:46.403Z] experimental info: [2021-12-02T09:48:46.403Z] ------------------- [2021-12-02T09:48:46.403Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2021-12-02T09:48:46.403Z] Commit SHA: 32edd24ee733e309d05e35b1f887f14b07bde6d0 [2021-12-02T09:48:46.403Z] Message: update experimental to v1.0.217 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2021-12-02T09:48:46.639Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-rest-go-settings [Pipeline] echo [2021-12-02T09:48:46.684Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-rest-go [Pipeline] echo [2021-12-02T09:48:46.723Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2021-12-02T09:48:46.765Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2021-12-02T09:48:46.803Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2021-12-02T09:48:46.839Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.16 [Pipeline] echo [2021-12-02T09:48:46.881Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2021-12-02T09:48:46.920Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2021-12-02T09:48:46.957Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2021-12-02T09:48:47.003Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2021-12-02T09:48:47.038Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2021-12-02T09:48:47.073Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-rest [Pipeline] echo [2021-12-02T09:48:47.110Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2021-12-02T09:48:47.145Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2021-12-02T09:48:47.186Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2021-12-02T09:48:47.227Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2021-12-02T09:48:47.265Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2021-12-02T09:48:47.304Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2021-12-02T09:48:47.343Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2021-12-02T09:48:47.391Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2021-12-02T09:48:47.440Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2021-12-02T09:48:47.485Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2021-12-02T09:48:47.528Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2021-12-02T09:48:47.570Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2021-12-02T09:48:47.610Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2021-12-02T09:48:47.651Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2021-12-02T09:48:47.691Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-148 [Pipeline] echo [2021-12-02T09:48:47.733Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-148 [Pipeline] echo [2021-12-02T09:48:47.778Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-148 [Pipeline] echo [2021-12-02T09:48:47.821Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = a74cd4e34615fdc29e084b9a9bde0ca42c8b4b79 [Pipeline] echo [2021-12-02T09:48:47.864Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = a74cd4e [Pipeline] echo [2021-12-02T09:48:47.906Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-12-02T09:48:48.016Z] provisioning config files... [2021-12-02T09:48:48.033Z] copy managed file [device-rest-go-settings] to file:/w/workspace/gexfoundry_device-rest-go_PR-148@tmp/config4972798092223805448tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-12-02T09:48:48.373Z] ---> docker-login.sh [2021-12-02T09:48:48.373Z] nexus3.edgexfoundry.org:10001 [2021-12-02T09:48:48.373Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-12-02T09:48:48.634Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-12-02T09:48:48.635Z] Configure a credential helper to remove this warning. See [2021-12-02T09:48:48.635Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-12-02T09:48:48.635Z] [2021-12-02T09:48:48.635Z] Login Succeeded [2021-12-02T09:48:48.635Z] nexus3.edgexfoundry.org:10002 [2021-12-02T09:48:48.635Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-12-02T09:48:48.635Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-12-02T09:48:48.635Z] Configure a credential helper to remove this warning. See [2021-12-02T09:48:48.635Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-12-02T09:48:48.635Z] [2021-12-02T09:48:48.635Z] Login Succeeded [2021-12-02T09:48:48.635Z] nexus3.edgexfoundry.org:10003 [2021-12-02T09:48:48.635Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-12-02T09:48:48.898Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-12-02T09:48:48.898Z] Configure a credential helper to remove this warning. See [2021-12-02T09:48:48.898Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-12-02T09:48:48.898Z] [2021-12-02T09:48:48.898Z] Login Succeeded [2021-12-02T09:48:48.898Z] nexus3.edgexfoundry.org:10004 [2021-12-02T09:48:48.898Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-12-02T09:48:48.898Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-12-02T09:48:48.898Z] Configure a credential helper to remove this warning. See [2021-12-02T09:48:48.898Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-12-02T09:48:48.898Z] [2021-12-02T09:48:48.898Z] Login Succeeded [2021-12-02T09:48:48.898Z] docker.io [2021-12-02T09:48:48.898Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-12-02T09:48:49.480Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-12-02T09:48:49.480Z] Configure a credential helper to remove this warning. See [2021-12-02T09:48:49.480Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-12-02T09:48:49.480Z] [2021-12-02T09:48:49.480Z] Login Succeeded [2021-12-02T09:48:49.480Z] ---> docker-login.sh ends [Pipeline] } [2021-12-02T09:48:49.500Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2021-12-02T09:48:50.103Z] + git rev-list -1 --merges a74cd4e34615fdc29e084b9a9bde0ca42c8b4b79~1..a74cd4e34615fdc29e084b9a9bde0ca42c8b4b79 [Pipeline] echo [2021-12-02T09:48:50.146Z] -----------> git rev-list -1 --merges a74cd4e34615fdc29e084b9a9bde0ca42c8b4b79~1..a74cd4e34615fdc29e084b9a9bde0ca42c8b4b79 a74cd4e34615fdc29e084b9a9bde0ca42c8b4b79 [false] [Pipeline] sh [2021-12-02T09:48:50.458Z] + git log --format=format:%s -1 a74cd4e34615fdc29e084b9a9bde0ca42c8b4b79 [Pipeline] echo [2021-12-02T09:48:50.488Z] ========================================================= [2021-12-02T09:48:50.488Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2021-12-02T09:48:50.488Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-12-02T09:48:50.906Z] + git log --format=format:%s -1 a74cd4e34615fdc29e084b9a9bde0ca42c8b4b79 [Pipeline] echo [2021-12-02T09:48:50.936Z] [semverPrep] GIT_COMMIT: a74cd4e34615fdc29e084b9a9bde0ca42c8b4b79, Commit Message: refactor(snap): remove redundant content indentifier [Pipeline] echo [2021-12-02T09:48:50.967Z] [semverPrep] This is not a build commit. [Pipeline] sh [2021-12-02T09:48:51.421Z] + grep 'github.com ecdsa' /etc/ssh/ssh_known_hosts [2021-12-02T09:48:51.421Z] + grep -v github /etc/ssh/ssh_known_hosts [2021-12-02T09:48:51.421Z] + '[' -e /tmp/ssh_known_hosts ']' [2021-12-02T09:48:51.421Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2021-12-02T09:48:51.421Z] + echo 'github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg=' [2021-12-02T09:48:51.421Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2021-12-02T09:48:51.421Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] sh [2021-12-02T09:48:51.868Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-12-02T09:48:51.868Z] [2021-12-02T09:48:51.868Z] Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh [2021-12-02T09:48:52.205Z] + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-12-02T09:48:52.205Z] latest: Pulling from edgex-devops/git-semver [2021-12-02T09:48:52.205Z] a0d0a0d46f8b: Pulling fs layer [2021-12-02T09:48:52.205Z] 3e5f54012d9b: Pulling fs layer [2021-12-02T09:48:52.205Z] 4c7163046ea9: Pulling fs layer [2021-12-02T09:48:52.205Z] 0c2d73faf560: Pulling fs layer [2021-12-02T09:48:52.205Z] 0c2d73faf560: Waiting [2021-12-02T09:48:52.205Z] 3e5f54012d9b: Verifying Checksum [2021-12-02T09:48:52.205Z] 3e5f54012d9b: Download complete [2021-12-02T09:48:52.205Z] a0d0a0d46f8b: Verifying Checksum [2021-12-02T09:48:52.205Z] a0d0a0d46f8b: Download complete [2021-12-02T09:48:52.205Z] 0c2d73faf560: Verifying Checksum [2021-12-02T09:48:52.205Z] 0c2d73faf560: Download complete [2021-12-02T09:48:52.205Z] 4c7163046ea9: Verifying Checksum [2021-12-02T09:48:52.205Z] 4c7163046ea9: Download complete [2021-12-02T09:48:52.469Z] a0d0a0d46f8b: Pull complete [2021-12-02T09:48:52.469Z] 3e5f54012d9b: Pull complete [2021-12-02T09:48:52.733Z] 4c7163046ea9: Pull complete [2021-12-02T09:48:52.997Z] 0c2d73faf560: Pull complete [2021-12-02T09:48:52.997Z] Digest: sha256:2751de6e655929dcbe46418c7769d9d992331b5b721eb968631a4166222929f9 [2021-12-02T09:48:52.997Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-12-02T09:48:52.997Z] nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer [2021-12-02T09:48:53.095Z] prd-centos7-docker-4c-2g-52 does not seem to be running inside a container [2021-12-02T09:48:53.134Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-rest-go_PR-148 -v /w/workspace/gexfoundry_device-rest-go_PR-148:/w/workspace/gexfoundry_device-rest-go_PR-148:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-148@tmp:/w/workspace/gexfoundry_device-rest-go_PR-148@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-12-02T09:48:53.695Z] $ docker top 498cdbedb60e3bb48b5589b53e62683cf178eaeca927a4a124d26a75e1b89ea6 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2021-12-02T09:48:53.855Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-12-02T09:48:53.855Z] [ssh-agent] Looking for ssh-agent implementation... [2021-12-02T09:48:53.948Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-12-02T09:48:53.952Z] $ docker exec 498cdbedb60e3bb48b5589b53e62683cf178eaeca927a4a124d26a75e1b89ea6 ssh-agent [2021-12-02T09:48:54.041Z] SSH_AUTH_SOCK=/tmp/ssh-XXXXXXfMoKLl/agent.13 [2021-12-02T09:48:54.041Z] SSH_AGENT_PID=20 [2021-12-02T09:48:54.048Z] Running ssh-add (command line suppressed) [2021-12-02T09:48:54.121Z] Identity added: /w/workspace/gexfoundry_device-rest-go_PR-148@tmp/private_key_5096347607754260295.key (/w/workspace/gexfoundry_device-rest-go_PR-148@tmp/private_key_5096347607754260295.key) [2021-12-02T09:48:54.139Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-12-02T09:48:54.474Z] + git tag --points-at HEAD [Pipeline] } [2021-12-02T09:48:54.495Z] $ docker exec --env ******** --env ******** 498cdbedb60e3bb48b5589b53e62683cf178eaeca927a4a124d26a75e1b89ea6 ssh-agent -k [2021-12-02T09:48:54.572Z] unset SSH_AUTH_SOCK; [2021-12-02T09:48:54.573Z] unset SSH_AGENT_PID; [2021-12-02T09:48:54.573Z] echo Agent pid 20 killed; [2021-12-02T09:48:54.582Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2021-12-02T09:48:54.660Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-12-02T09:48:54.660Z] [ssh-agent] Looking for ssh-agent implementation... [2021-12-02T09:48:54.750Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-12-02T09:48:54.754Z] $ docker exec 498cdbedb60e3bb48b5589b53e62683cf178eaeca927a4a124d26a75e1b89ea6 ssh-agent [2021-12-02T09:48:54.845Z] SSH_AUTH_SOCK=/tmp/ssh-XXXXXXnNnnDC/agent.52 [2021-12-02T09:48:54.845Z] SSH_AGENT_PID=59 [2021-12-02T09:48:54.850Z] Running ssh-add (command line suppressed) [2021-12-02T09:48:54.935Z] Identity added: /w/workspace/gexfoundry_device-rest-go_PR-148@tmp/private_key_5121815745821771788.key (/w/workspace/gexfoundry_device-rest-go_PR-148@tmp/private_key_5121815745821771788.key) [2021-12-02T09:48:54.946Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-12-02T09:48:55.285Z] + git semver init [2021-12-02T09:48:55.285Z] # -> Open(): unable to determine branch for HEAD [2021-12-02T09:48:55.285Z] # $GIT_DIR = /w/workspace/gexfoundry_device-rest-go_PR-148/.git [2021-12-02T09:48:55.285Z] # $GIT_WORK_TREE = /w/workspace/gexfoundry_device-rest-go_PR-148 [2021-12-02T09:48:55.285Z] # $SEMVER_REMOTE_NAME = origin [2021-12-02T09:48:55.285Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2021-12-02T09:48:55.285Z] # $SEMVER_USER_NAME = edgex-jenkins [2021-12-02T09:48:55.285Z] # $SEMVER_BRANCH = PR-148 [2021-12-02T09:48:55.285Z] # $SEMVER_TEMP = /tmp/semver-305487062 [2021-12-02T09:48:55.285Z] # git clone --branch semver git@github.com:edgexfoundry/device-rest-go.git $SEMVER_TEMP [2021-12-02T09:48:58.595Z] # '/tmp/semver-305487062' -> '/w/workspace/gexfoundry_device-rest-go_PR-148/.semver' [2021-12-02T09:48:58.595Z] # -> Force: false [2021-12-02T09:48:58.595Z] # $SEMVER_DIR = /w/workspace/gexfoundry_device-rest-go_PR-148/.semver [Pipeline] } [2021-12-02T09:48:58.617Z] $ docker exec --env ******** --env ******** 498cdbedb60e3bb48b5589b53e62683cf178eaeca927a4a124d26a75e1b89ea6 ssh-agent -k [2021-12-02T09:48:58.702Z] unset SSH_AUTH_SOCK; [2021-12-02T09:48:58.703Z] unset SSH_AGENT_PID; [2021-12-02T09:48:58.703Z] echo Agent pid 59 killed; [2021-12-02T09:48:58.711Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2021-12-02T09:48:59.103Z] + git semver [Pipeline] } [2021-12-02T09:48:59.129Z] $ docker stop --time=1 498cdbedb60e3bb48b5589b53e62683cf178eaeca927a4a124d26a75e1b89ea6 [2021-12-02T09:49:00.392Z] $ docker rm -f 498cdbedb60e3bb48b5589b53e62683cf178eaeca927a4a124d26a75e1b89ea6 [Pipeline] // withDockerContainer [Pipeline] sh [2021-12-02T09:49:00.791Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2021-12-02T09:49:01.059Z] Stashed 1 file(s) [Pipeline] echo [2021-12-02T09:49:01.087Z] [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-12-02T09:49:16.499Z] Still waiting to schedule task [2021-12-02T09:49:16.500Z] Waiting for next available executor on ‘prd-centos7-docker-4c-2g-52’ [2021-12-02T09:49:16.522Z] Still waiting to schedule task [2021-12-02T09:49:16.522Z] All nodes of label ‘ubuntu18.04-docker-arm64-4c-16g’ are offline [2021-12-02T09:50:37.213Z] Running on prd-ubuntu18.04-docker-arm64-4c-16g-53 in /w/workspace/gexfoundry_device-rest-go_PR-148 [Pipeline] { [Pipeline] ws [2021-12-02T09:50:37.251Z] Running in /w/workspace/device-rest-go/1 [Pipeline] { [Pipeline] checkout [2021-12-02T09:50:37.450Z] The recommended git tool is: git [2021-12-02T09:50:41.847Z] using credential edgex-jenkins-ssh [2021-12-02T09:50:41.863Z] Cloning the remote Git repository [2021-12-02T09:50:41.907Z] Cloning repository git@github.com:edgexfoundry/device-rest-go.git [2021-12-02T09:50:41.971Z] > git init /w/workspace/device-rest-go/1 # timeout=10 [2021-12-02T09:50:42.050Z] Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git [2021-12-02T09:50:42.050Z] > git --version # timeout=10 [2021-12-02T09:50:42.076Z] > git --version # 'git version 2.17.1' [2021-12-02T09:50:42.077Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-12-02T09:50:42.199Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-12-02T09:50:44.779Z] Merging remotes/origin/main commit 8f9dabbcd23e32bae175015e2a15c1f428ed019f into PR head commit a74cd4e34615fdc29e084b9a9bde0ca42c8b4b79 [2021-12-02T09:50:44.028Z] > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 [2021-12-02T09:50:44.047Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-12-02T09:50:44.078Z] > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 [2021-12-02T09:50:44.125Z] Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git [2021-12-02T09:50:44.125Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-12-02T09:50:44.137Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/pull/148/head:refs/remotes/origin/PR-148 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2021-12-02T09:50:44.794Z] > git config core.sparsecheckout # timeout=10 [2021-12-02T09:50:44.816Z] > git checkout -f a74cd4e34615fdc29e084b9a9bde0ca42c8b4b79 # timeout=10 [2021-12-02T09:50:44.970Z] Merge succeeded, producing a74cd4e34615fdc29e084b9a9bde0ca42c8b4b79 [2021-12-02T09:50:44.971Z] Checking out Revision a74cd4e34615fdc29e084b9a9bde0ca42c8b4b79 (PR-148) [2021-12-02T09:50:44.892Z] > git remote # timeout=10 [2021-12-02T09:50:44.908Z] > git config --get remote.origin.url # timeout=10 [2021-12-02T09:50:44.921Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-12-02T09:50:44.931Z] > git merge 8f9dabbcd23e32bae175015e2a15c1f428ed019f # timeout=10 [2021-12-02T09:50:44.955Z] > git rev-parse HEAD^{commit} # timeout=10 [2021-12-02T09:50:44.975Z] > git config core.sparsecheckout # timeout=10 [2021-12-02T09:50:44.990Z] > git checkout -f a74cd4e34615fdc29e084b9a9bde0ca42c8b4b79 # timeout=10 [2021-12-02T09:50:49.045Z] Commit message: "refactor(snap): remove redundant content indentifier" [2021-12-02T09:50:49.100Z] > git --version # timeout=10 [2021-12-02T09:50:49.116Z] > git --version # 'git version 2.17.1' [2021-12-02T09:50:49.128Z] fatal: bad object 32edd24ee733e309d05e35b1f887f14b07bde6d0 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-12-02T09:50:50.242Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2021-12-02T09:50:50.242Z] % Total % Received % Xferd Average Speed Time Time Time Current [2021-12-02T09:50:50.242Z] Dload Upload Total Spent Left Speed [2021-12-02T09:50:50.242Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 11824 100 11824 0 0 74835 0 --:--:-- --:--:-- --:--:-- 74835 [Pipeline] sh [2021-12-02T09:50:50.814Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2021-12-02T09:50:51.213Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2021-12-02T09:50:51.213Z] + sudo tee /etc/docker/daemon.new [2021-12-02T09:50:51.213Z] { [2021-12-02T09:50:51.213Z] "registry-mirrors": [ [2021-12-02T09:50:51.213Z] "https://nexus3.edgexfoundry.org:10001" [2021-12-02T09:50:51.213Z] ], [2021-12-02T09:50:51.213Z] "bip": "10.250.0.254/24", [2021-12-02T09:50:51.213Z] "hosts": [ [2021-12-02T09:50:51.213Z] "tcp://0.0.0.0:5555", [2021-12-02T09:50:51.213Z] "unix:///var/run/docker.sock" [2021-12-02T09:50:51.213Z] ], [2021-12-02T09:50:51.213Z] "mtu": 1458, [2021-12-02T09:50:51.213Z] "selinux-enabled": true, [2021-12-02T09:50:51.213Z] "seccomp-profile": "/etc/docker/seccomp.json" [2021-12-02T09:50:51.213Z] } [Pipeline] sh [2021-12-02T09:50:51.559Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2021-12-02T09:50:51.914Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-12-02T09:51:10.286Z] provisioning config files... [2021-12-02T09:51:10.312Z] copy managed file [device-rest-go-settings] to file:/w/workspace/device-rest-go/1@tmp/config4909419241236367769tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-12-02T09:51:10.898Z] ---> docker-login.sh [2021-12-02T09:51:10.898Z] nexus3.edgexfoundry.org:10001 [2021-12-02T09:51:11.494Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-12-02T09:51:11.768Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-12-02T09:51:11.769Z] Configure a credential helper to remove this warning. See [2021-12-02T09:51:11.769Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-12-02T09:51:11.769Z] [2021-12-02T09:51:11.769Z] Login Succeeded [2021-12-02T09:51:11.769Z] nexus3.edgexfoundry.org:10002 [2021-12-02T09:51:12.042Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-12-02T09:51:12.043Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-12-02T09:51:12.043Z] Configure a credential helper to remove this warning. See [2021-12-02T09:51:12.043Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-12-02T09:51:12.043Z] [2021-12-02T09:51:12.043Z] Login Succeeded [2021-12-02T09:51:12.043Z] nexus3.edgexfoundry.org:10003 [2021-12-02T09:51:12.315Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-12-02T09:51:12.591Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-12-02T09:51:12.591Z] Configure a credential helper to remove this warning. See [2021-12-02T09:51:12.591Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-12-02T09:51:12.591Z] [2021-12-02T09:51:12.591Z] Login Succeeded [2021-12-02T09:51:12.591Z] nexus3.edgexfoundry.org:10004 [2021-12-02T09:51:12.862Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-12-02T09:51:12.862Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-12-02T09:51:12.862Z] Configure a credential helper to remove this warning. See [2021-12-02T09:51:12.862Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-12-02T09:51:12.862Z] [2021-12-02T09:51:12.862Z] Login Succeeded [2021-12-02T09:51:12.862Z] docker.io [2021-12-02T09:51:13.132Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-12-02T09:51:13.723Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-12-02T09:51:13.723Z] Configure a credential helper to remove this warning. See [2021-12-02T09:51:13.723Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-12-02T09:51:13.723Z] [2021-12-02T09:51:13.723Z] Login Succeeded [2021-12-02T09:51:13.723Z] ---> docker-login.sh ends [Pipeline] } [2021-12-02T09:51:13.756Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2021-12-02T09:51:14.126Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2021-12-02T09:51:14.159Z] ========================================================= [2021-12-02T09:51:14.159Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine] [2021-12-02T09:51:14.159Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh [2021-12-02T09:51:14.579Z] + 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-12-02T09:51:14.579Z] Sending build context to Docker daemon 121.9kB [2021-12-02T09:51:14.853Z] Step 1/11 : ARG BASE=golang:1.16-alpine3.14 [2021-12-02T09:51:14.853Z] Step 2/11 : FROM ${BASE} AS builder [2021-12-02T09:51:15.129Z] 1.16-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2021-12-02T09:51:15.129Z] 552d1f2373af: Pulling fs layer [2021-12-02T09:51:15.129Z] ea3f2d53f512: Pulling fs layer [2021-12-02T09:51:15.129Z] 9e70ebbbe112: Pulling fs layer [2021-12-02T09:51:15.129Z] 7a9cfe048b4a: Pulling fs layer [2021-12-02T09:51:15.129Z] 72dc09318566: Pulling fs layer [2021-12-02T09:51:15.129Z] f4f7b4309257: Pulling fs layer [2021-12-02T09:51:15.129Z] 0ac9a79272e3: Pulling fs layer [2021-12-02T09:51:15.129Z] b78e95d17946: Pulling fs layer [2021-12-02T09:51:15.129Z] f4f7b4309257: Waiting [2021-12-02T09:51:15.129Z] 0ac9a79272e3: Waiting [2021-12-02T09:51:15.129Z] b78e95d17946: Waiting [2021-12-02T09:51:15.129Z] 7a9cfe048b4a: Waiting [2021-12-02T09:51:15.129Z] 72dc09318566: Waiting [2021-12-02T09:51:15.129Z] 9e70ebbbe112: Verifying Checksum [2021-12-02T09:51:15.129Z] 9e70ebbbe112: Download complete [2021-12-02T09:51:15.129Z] ea3f2d53f512: Verifying Checksum [2021-12-02T09:51:15.129Z] ea3f2d53f512: Download complete [2021-12-02T09:51:15.129Z] 72dc09318566: Verifying Checksum [2021-12-02T09:51:15.129Z] 72dc09318566: Download complete [2021-12-02T09:51:15.129Z] f4f7b4309257: Verifying Checksum [2021-12-02T09:51:15.129Z] f4f7b4309257: Download complete [2021-12-02T09:51:15.129Z] 552d1f2373af: Verifying Checksum [2021-12-02T09:51:15.129Z] 0ac9a79272e3: Verifying Checksum [2021-12-02T09:51:15.129Z] 0ac9a79272e3: Download complete [2021-12-02T09:51:15.731Z] 552d1f2373af: Pull complete [2021-12-02T09:51:16.336Z] ea3f2d53f512: Pull complete [2021-12-02T09:51:16.608Z] 9e70ebbbe112: Pull complete [2021-12-02T09:51:16.882Z] b78e95d17946: Verifying Checksum [2021-12-02T09:51:16.882Z] b78e95d17946: Download complete [2021-12-02T09:51:17.481Z] 7a9cfe048b4a: Verifying Checksum [2021-12-02T09:51:17.481Z] 7a9cfe048b4a: Download complete [2021-12-02T09:51:29.880Z] 7a9cfe048b4a: Pull complete [2021-12-02T09:51:29.880Z] 72dc09318566: Pull complete [2021-12-02T09:51:29.880Z] f4f7b4309257: Pull complete [2021-12-02T09:51:29.880Z] 0ac9a79272e3: Pull complete [2021-12-02T09:51:35.287Z] b78e95d17946: Pull complete [2021-12-02T09:51:35.287Z] Digest: sha256:8f77ec77db7124c2038421266515449a73d34d95fd7f90866b77fbf8f5a401c7 [2021-12-02T09:51:35.287Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine [2021-12-02T09:51:35.287Z] ---> 8b459fc5aaf0 [2021-12-02T09:51:35.287Z] Step 3/11 : ARG MAKE='make build' [2021-12-02T09:51:36.271Z] ---> Running in a07525e8f7c5 [2021-12-02T09:51:36.549Z] Removing intermediate container a07525e8f7c5 [2021-12-02T09:51:36.549Z] ---> ec6ae3f4edfe [2021-12-02T09:51:36.549Z] Step 4/11 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2021-12-02T09:51:36.823Z] ---> Running in 4b0fa36de90d [2021-12-02T09:51:37.100Z] Removing intermediate container 4b0fa36de90d [2021-12-02T09:51:37.100Z] ---> 13a9b185c885 [2021-12-02T09:51:37.100Z] Step 5/11 : ARG ALPINE_PKG_EXTRA="" [2021-12-02T09:51:37.100Z] ---> Running in 24392ff7e62b [2021-12-02T09:51:37.180Z] Running on prd-centos7-docker-4c-2g-54 in /w/workspace/gexfoundry_device-rest-go_PR-148 [Pipeline] { [Pipeline] ws [2021-12-02T09:51:37.217Z] Running in /w/workspace/device-rest-go/1 [Pipeline] { [Pipeline] checkout [2021-12-02T09:51:37.343Z] The recommended git tool is: git [2021-12-02T09:51:37.695Z] Removing intermediate container 24392ff7e62b [2021-12-02T09:51:37.695Z] ---> 4e6a15a554af [2021-12-02T09:51:37.696Z] Step 6/11 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-12-02T09:51:37.696Z] ---> Running in 059c5ff48bc4 [2021-12-02T09:51:38.949Z] using credential edgex-jenkins-ssh [2021-12-02T09:51:38.964Z] Cloning the remote Git repository [2021-12-02T09:51:38.287Z] Cloning repository git@github.com:edgexfoundry/device-rest-go.git [2021-12-02T09:51:38.379Z] > git init /w/workspace/device-rest-go/1 # timeout=10 [2021-12-02T09:51:38.461Z] Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git [2021-12-02T09:51:38.461Z] > git --version # timeout=10 [2021-12-02T09:51:38.466Z] > git --version # 'git version 2.24.4' [2021-12-02T09:51:38.466Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-12-02T09:51:38.480Z] [INFO] Currently running in a labeled security context [2021-12-02T09:51:38.480Z] [INFO] Currently SELinux is 'enforcing' on the host [2021-12-02T09:51:38.480Z] > /usr/bin/chcon --type=ssh_home_t /w/workspace/device-rest-go/1@tmp/jenkins-gitclient-ssh6744533332075669114.key [2021-12-02T09:51:38.502Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-12-02T09:51:39.662Z] Removing intermediate container 059c5ff48bc4 [2021-12-02T09:51:39.662Z] ---> 05c0b37b351f [2021-12-02T09:51:39.662Z] Step 7/11 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2021-12-02T09:51:39.662Z] ---> Running in 0458ed543870 [2021-12-02T09:51:40.647Z] fetch https://nl.alpinelinux.org/alpine/v3.14/main/aarch64/APKINDEX.tar.gz [2021-12-02T09:51:39.459Z] > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 [2021-12-02T09:51:39.468Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-12-02T09:51:39.482Z] > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 [2021-12-02T09:51:39.500Z] Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git [2021-12-02T09:51:39.500Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-12-02T09:51:39.503Z] [INFO] Currently running in a labeled security context [2021-12-02T09:51:39.504Z] [INFO] Currently SELinux is 'enforcing' on the host [2021-12-02T09:51:39.504Z] > /usr/bin/chcon --type=ssh_home_t /w/workspace/device-rest-go/1@tmp/jenkins-gitclient-ssh8496478464323801389.key [2021-12-02T09:51:39.510Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/pull/148/head:refs/remotes/origin/PR-148 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2021-12-02T09:51:40.748Z] Merging remotes/origin/main commit 8f9dabbcd23e32bae175015e2a15c1f428ed019f into PR head commit a74cd4e34615fdc29e084b9a9bde0ca42c8b4b79 [2021-12-02T09:51:40.840Z] Merge succeeded, producing a74cd4e34615fdc29e084b9a9bde0ca42c8b4b79 [2021-12-02T09:51:40.841Z] Checking out Revision a74cd4e34615fdc29e084b9a9bde0ca42c8b4b79 (PR-148) [2021-12-02T09:51:41.242Z] fetch https://nl.alpinelinux.org/alpine/v3.14/community/aarch64/APKINDEX.tar.gz [2021-12-02T09:51:40.059Z] > git config core.sparsecheckout # timeout=10 [2021-12-02T09:51:40.067Z] > git checkout -f a74cd4e34615fdc29e084b9a9bde0ca42c8b4b79 # timeout=10 [2021-12-02T09:51:40.101Z] > git remote # timeout=10 [2021-12-02T09:51:40.108Z] > git config --get remote.origin.url # timeout=10 [2021-12-02T09:51:40.115Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-12-02T09:51:40.116Z] [INFO] Currently running in a labeled security context [2021-12-02T09:51:40.116Z] [INFO] Currently SELinux is 'enforcing' on the host [2021-12-02T09:51:40.116Z] > /usr/bin/chcon --type=ssh_home_t /w/workspace/device-rest-go/1@tmp/jenkins-gitclient-ssh8145186574470720328.key [2021-12-02T09:51:40.121Z] > git merge 8f9dabbcd23e32bae175015e2a15c1f428ed019f # timeout=10 [2021-12-02T09:51:40.130Z] > git rev-parse HEAD^{commit} # timeout=10 [2021-12-02T09:51:40.145Z] > git config core.sparsecheckout # timeout=10 [2021-12-02T09:51:40.152Z] > git checkout -f a74cd4e34615fdc29e084b9a9bde0ca42c8b4b79 # timeout=10 [2021-12-02T09:51:42.224Z] (1/4) Installing openssh-keygen (8.6_p1-r3) [2021-12-02T09:51:42.224Z] (2/4) Installing libedit (20210216.3.1-r0) [2021-12-02T09:51:42.224Z] (3/4) Installing openssh-client-common (8.6_p1-r3) [2021-12-02T09:51:42.224Z] (4/4) Installing openssh-client-default (8.6_p1-r3) [2021-12-02T09:51:42.499Z] Executing busybox-1.33.1-r3.trigger [2021-12-02T09:51:42.499Z] OK: 223 MiB in 56 packages [2021-12-02T09:51:43.479Z] Removing intermediate container 0458ed543870 [2021-12-02T09:51:43.479Z] ---> ff8ee41f910e [2021-12-02T09:51:43.479Z] Step 8/11 : WORKDIR /device-rest-go [2021-12-02T09:51:43.479Z] ---> Running in 79941f19d65c [2021-12-02T09:51:44.076Z] Removing intermediate container 79941f19d65c [2021-12-02T09:51:44.076Z] ---> 0eca9852f35e [2021-12-02T09:51:44.076Z] Step 9/11 : COPY . . [2021-12-02T09:51:44.283Z] Commit message: "refactor(snap): remove redundant content indentifier" [2021-12-02T09:51:43.616Z] > git --version # timeout=10 [2021-12-02T09:51:43.619Z] > git --version # 'git version 2.24.4' [2021-12-02T09:51:43.626Z] fatal: bad object 32edd24ee733e309d05e35b1f887f14b07bde6d0 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [2021-12-02T09:51:44.671Z] ---> 355cf80e5bb3 [2021-12-02T09:51:44.671Z] Step 10/11 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2021-12-02T09:51:44.671Z] ---> Running in f4e5a243af7d [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-12-02T09:51:44.834Z] provisioning config files... [2021-12-02T09:51:44.850Z] copy managed file [device-rest-go-settings] to file:/w/workspace/device-rest-go/1@tmp/config6976793740192593746tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-12-02T09:51:45.258Z] ---> docker-login.sh [2021-12-02T09:51:45.258Z] nexus3.edgexfoundry.org:10001 [2021-12-02T09:51:45.258Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-12-02T09:51:45.520Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-12-02T09:51:45.520Z] Configure a credential helper to remove this warning. See [2021-12-02T09:51:45.520Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-12-02T09:51:45.520Z] [2021-12-02T09:51:45.520Z] Login Succeeded [2021-12-02T09:51:45.520Z] nexus3.edgexfoundry.org:10002 [2021-12-02T09:51:45.520Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-12-02T09:51:45.520Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-12-02T09:51:45.520Z] Configure a credential helper to remove this warning. See [2021-12-02T09:51:45.520Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-12-02T09:51:45.520Z] [2021-12-02T09:51:45.520Z] Login Succeeded [2021-12-02T09:51:45.520Z] nexus3.edgexfoundry.org:10003 [2021-12-02T09:51:45.520Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-12-02T09:51:45.520Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-12-02T09:51:45.520Z] Configure a credential helper to remove this warning. See [2021-12-02T09:51:45.520Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-12-02T09:51:45.520Z] [2021-12-02T09:51:45.520Z] Login Succeeded [2021-12-02T09:51:45.520Z] nexus3.edgexfoundry.org:10004 [2021-12-02T09:51:45.781Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-12-02T09:51:45.781Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-12-02T09:51:45.781Z] Configure a credential helper to remove this warning. See [2021-12-02T09:51:45.781Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-12-02T09:51:45.781Z] [2021-12-02T09:51:45.781Z] Login Succeeded [2021-12-02T09:51:45.781Z] docker.io [2021-12-02T09:51:45.781Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-12-02T09:51:46.042Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-12-02T09:51:46.042Z] Configure a credential helper to remove this warning. See [2021-12-02T09:51:46.042Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-12-02T09:51:46.042Z] [2021-12-02T09:51:46.042Z] Login Succeeded [2021-12-02T09:51:46.042Z] ---> docker-login.sh ends [Pipeline] } [2021-12-02T09:51:46.119Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2021-12-02T09:51:46.361Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2021-12-02T09:51:46.393Z] ========================================================= [2021-12-02T09:51:46.393Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine] [2021-12-02T09:51:46.393Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh [2021-12-02T09:51:46.797Z] + 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-12-02T09:51:46.798Z] Sending build context to Docker daemon 121.9kB [2021-12-02T09:51:46.798Z] Step 1/11 : ARG BASE=golang:1.16-alpine3.14 [2021-12-02T09:51:46.798Z] Step 2/11 : FROM ${BASE} AS builder [2021-12-02T09:51:46.798Z] 1.16-alpine: Pulling from edgex-devops/edgex-golang-base [2021-12-02T09:51:46.798Z] a0d0a0d46f8b: Pulling fs layer [2021-12-02T09:51:46.798Z] 31adcdaf11c8: Pulling fs layer [2021-12-02T09:51:46.798Z] b8b176561691: Pulling fs layer [2021-12-02T09:51:46.798Z] 4527c011a84f: Pulling fs layer [2021-12-02T09:51:46.798Z] 5d74067f8e1e: Pulling fs layer [2021-12-02T09:51:46.798Z] e0aca202a116: Pulling fs layer [2021-12-02T09:51:46.798Z] 3a43be97a3b4: Pulling fs layer [2021-12-02T09:51:46.798Z] 34cad66bf833: Pulling fs layer [2021-12-02T09:51:46.798Z] b4e3c513aaa6: Pulling fs layer [2021-12-02T09:51:46.798Z] 4527c011a84f: Waiting [2021-12-02T09:51:46.798Z] 5d74067f8e1e: Waiting [2021-12-02T09:51:46.798Z] e0aca202a116: Waiting [2021-12-02T09:51:46.798Z] 3a43be97a3b4: Waiting [2021-12-02T09:51:46.798Z] 34cad66bf833: Waiting [2021-12-02T09:51:46.798Z] b4e3c513aaa6: Waiting [2021-12-02T09:51:47.061Z] b8b176561691: Verifying Checksum [2021-12-02T09:51:47.061Z] b8b176561691: Download complete [2021-12-02T09:51:47.061Z] 31adcdaf11c8: Verifying Checksum [2021-12-02T09:51:47.061Z] 31adcdaf11c8: Download complete [2021-12-02T09:51:47.061Z] 5d74067f8e1e: Verifying Checksum [2021-12-02T09:51:47.061Z] 5d74067f8e1e: Download complete [2021-12-02T09:51:47.061Z] a0d0a0d46f8b: Verifying Checksum [2021-12-02T09:51:47.061Z] a0d0a0d46f8b: Download complete [2021-12-02T09:51:47.061Z] e0aca202a116: Verifying Checksum [2021-12-02T09:51:47.061Z] e0aca202a116: Download complete [2021-12-02T09:51:47.061Z] 3a43be97a3b4: Verifying Checksum [2021-12-02T09:51:47.061Z] 3a43be97a3b4: Download complete [2021-12-02T09:51:47.061Z] 34cad66bf833: Verifying Checksum [2021-12-02T09:51:47.061Z] 34cad66bf833: Download complete [2021-12-02T09:51:47.326Z] a0d0a0d46f8b: Pull complete [2021-12-02T09:51:47.600Z] 4527c011a84f: Verifying Checksum [2021-12-02T09:51:47.600Z] 4527c011a84f: Download complete [2021-12-02T09:51:47.600Z] b4e3c513aaa6: Verifying Checksum [2021-12-02T09:51:47.600Z] b4e3c513aaa6: Download complete [2021-12-02T09:51:47.600Z] 31adcdaf11c8: Pull complete [2021-12-02T09:51:47.600Z] b8b176561691: Pull complete [2021-12-02T09:51:51.878Z] 4527c011a84f: Pull complete [2021-12-02T09:51:51.878Z] 5d74067f8e1e: Pull complete [2021-12-02T09:51:51.878Z] e0aca202a116: Pull complete [2021-12-02T09:51:51.878Z] 3a43be97a3b4: Pull complete [2021-12-02T09:51:51.878Z] 34cad66bf833: Pull complete [2021-12-02T09:51:54.449Z] b4e3c513aaa6: Pull complete [2021-12-02T09:51:54.449Z] Digest: sha256:75229776e65f3af88907aed05f91058a30c94a2fbbc20266ef4560f68deb3433 [2021-12-02T09:51:54.449Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine [2021-12-02T09:51:54.449Z] ---> 9f6097aaca64 [2021-12-02T09:51:54.449Z] Step 3/11 : ARG MAKE='make build' [2021-12-02T09:51:56.360Z] ---> Running in 670f32e80e1c [2021-12-02T09:51:56.360Z] Removing intermediate container 670f32e80e1c [2021-12-02T09:51:56.360Z] ---> a5100017155f [2021-12-02T09:51:56.360Z] Step 4/11 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2021-12-02T09:51:56.360Z] ---> Running in 5ae3aa234238 [2021-12-02T09:51:56.360Z] Removing intermediate container 5ae3aa234238 [2021-12-02T09:51:56.360Z] ---> ee28513159cb [2021-12-02T09:51:56.360Z] Step 5/11 : ARG ALPINE_PKG_EXTRA="" [2021-12-02T09:51:56.360Z] ---> Running in 26d5bfc286e5 [2021-12-02T09:51:56.360Z] Removing intermediate container 26d5bfc286e5 [2021-12-02T09:51:56.360Z] ---> aff23a4b222d [2021-12-02T09:51:56.360Z] Step 6/11 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-12-02T09:51:56.360Z] ---> Running in 48ced26d9b2f [2021-12-02T09:51:56.935Z] Removing intermediate container 48ced26d9b2f [2021-12-02T09:51:56.935Z] ---> 8f188d322b96 [2021-12-02T09:51:56.935Z] Step 7/11 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2021-12-02T09:51:56.935Z] ---> Running in 0e86c3a31dfc [2021-12-02T09:51:57.199Z] fetch https://nl.alpinelinux.org/alpine/v3.14/main/x86_64/APKINDEX.tar.gz [2021-12-02T09:51:58.139Z] fetch https://nl.alpinelinux.org/alpine/v3.14/community/x86_64/APKINDEX.tar.gz [2021-12-02T09:51:58.400Z] (1/4) Installing openssh-keygen (8.6_p1-r3) [2021-12-02T09:51:58.400Z] (2/4) Installing libedit (20210216.3.1-r0) [2021-12-02T09:51:58.400Z] (3/4) Installing openssh-client-common (8.6_p1-r3) [2021-12-02T09:51:58.663Z] (4/4) Installing openssh-client-default (8.6_p1-r3) [2021-12-02T09:51:58.663Z] Executing busybox-1.33.1-r3.trigger [2021-12-02T09:51:58.663Z] OK: 224 MiB in 56 packages [2021-12-02T09:51:58.929Z] Removing intermediate container 0e86c3a31dfc [2021-12-02T09:51:58.929Z] ---> ef2e4a38b8c4 [2021-12-02T09:51:58.929Z] Step 8/11 : WORKDIR /device-rest-go [2021-12-02T09:51:58.929Z] ---> Running in 7cfae022abf4 [2021-12-02T09:51:59.198Z] Removing intermediate container 7cfae022abf4 [2021-12-02T09:51:59.198Z] ---> 2751ac206e4e [2021-12-02T09:51:59.198Z] Step 9/11 : COPY . . [2021-12-02T09:51:59.198Z] ---> 7929113c8a17 [2021-12-02T09:51:59.198Z] Step 10/11 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2021-12-02T09:51:59.198Z] ---> Running in 3656ef833dd9 [2021-12-02T09:52:31.384Z] Removing intermediate container 3656ef833dd9 [2021-12-02T09:52:31.384Z] ---> 368ea45db83d [2021-12-02T09:52:31.384Z] Step 11/11 : RUN $MAKE [2021-12-02T09:52:31.384Z] ---> Running in 656d03fe29bd [2021-12-02T09:52:31.384Z] noop [2021-12-02T09:52:31.384Z] Removing intermediate container 656d03fe29bd [2021-12-02T09:52:31.384Z] ---> 93b97a0c8129 [2021-12-02T09:52:31.384Z] Successfully built 93b97a0c8129 [2021-12-02T09:52:31.384Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh [2021-12-02T09:52:31.713Z] + docker inspect -f . ci-base-image-x86_64 [2021-12-02T09:52:31.713Z] . [Pipeline] withDockerContainer [2021-12-02T09:52:31.809Z] prd-centos7-docker-4c-2g-54 does not seem to be running inside a container [2021-12-02T09:52:31.848Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-rest-go/1 -v /w/workspace/device-rest-go/1:/w/workspace/device-rest-go/1:rw,z -v /w/workspace/device-rest-go/1@tmp:/w/workspace/device-rest-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2021-12-02T09:52:32.266Z] $ docker top 935e465423886e19dde86732a4773f41cf1ddde084a90e169ba8245624e23131 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-12-02T09:52:32.665Z] + go version [2021-12-02T09:52:32.665Z] go version go1.16.8 linux/amd64 [Pipeline] } [2021-12-02T09:52:32.687Z] $ docker stop --time=1 935e465423886e19dde86732a4773f41cf1ddde084a90e169ba8245624e23131 [2021-12-02T09:52:33.889Z] $ docker rm -f 935e465423886e19dde86732a4773f41cf1ddde084a90e169ba8245624e23131 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-12-02T09:52:34.593Z] + docker inspect -f . ci-base-image-x86_64 [2021-12-02T09:52:34.593Z] . [Pipeline] withDockerContainer [2021-12-02T09:52:34.676Z] prd-centos7-docker-4c-2g-54 does not seem to be running inside a container [2021-12-02T09:52:34.708Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-rest-go/1 -v /w/workspace/device-rest-go/1:/w/workspace/device-rest-go/1:rw,z -v /w/workspace/device-rest-go/1@tmp:/w/workspace/device-rest-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2021-12-02T09:52:35.045Z] $ docker top 8fe7312ef76f95a5435db1085229ad65530d4c1915e9eb129002eb96a27fb977 -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh [2021-12-02T09:52:35.479Z] + make test [2021-12-02T09:52:35.479Z] CGO_ENABLED=1 GO111MODULE=on go test -coverprofile=coverage.out ./... [2021-12-02T09:52:35.745Z] ? github.com/edgexfoundry/device-rest-go [no test files] [2021-12-02T09:52:50.749Z] ? github.com/edgexfoundry/device-rest-go/cmd [no test files] [2021-12-02T09:52:51.330Z] ok github.com/edgexfoundry/device-rest-go/driver 0.011s coverage: 56.0% of statements [2021-12-02T09:52:51.330Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2021-12-02T09:52:58.044Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2021-12-02T09:52:58.044Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2021-12-02T09:52:58.044Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2021-12-02T09:52:58.080Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2021-12-02T09:52:58.112Z] $ docker stop --time=1 8fe7312ef76f95a5435db1085229ad65530d4c1915e9eb129002eb96a27fb977 [2021-12-02T09:52:59.602Z] $ docker rm -f 8fe7312ef76f95a5435db1085229ad65530d4c1915e9eb129002eb96a27fb977 [Pipeline] // withDockerContainer [Pipeline] sh [2021-12-02T09:53:00.041Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2021-12-02T09:53:00.226Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2021-12-02T09:53:01.592Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2021-12-02T09:53:01.987Z] + ls -al . [2021-12-02T09:53:01.987Z] total 148 [2021-12-02T09:53:01.987Z] drwxrwxr-x. 8 jenkins jenkins 4096 Dec 2 09:52 . [2021-12-02T09:53:01.987Z] drwxrwxr-x. 4 jenkins jenkins 28 Dec 2 09:51 .. [2021-12-02T09:53:01.987Z] -rw-rw-r--. 1 jenkins jenkins 7095 Dec 2 09:51 Attribution.txt [2021-12-02T09:53:01.987Z] drwxrwxr-x. 2 jenkins jenkins 37 Dec 2 09:51 bin [2021-12-02T09:53:01.987Z] -rw-rw-r--. 1 jenkins jenkins 7459 Dec 2 09:51 CHANGELOG.md [2021-12-02T09:53:01.987Z] drwxrwxr-x. 3 jenkins jenkins 32 Dec 2 09:51 cmd [2021-12-02T09:53:01.987Z] -rw-r--r--. 1 jenkins jenkins 9215 Dec 2 09:52 coverage.out [2021-12-02T09:53:01.987Z] -rw-rw-r--. 1 jenkins jenkins 1649 Dec 2 09:51 Dockerfile [2021-12-02T09:53:01.987Z] -rw-rw-r--. 1 jenkins jenkins 151 Dec 2 09:51 .dockerignore [2021-12-02T09:53:01.987Z] drwxrwxr-x. 2 jenkins jenkins 76 Dec 2 09:51 driver [2021-12-02T09:53:01.987Z] drwxrwxr-x. 8 jenkins jenkins 179 Dec 2 09:51 .git [2021-12-02T09:53:01.987Z] drwxrwxr-x. 2 jenkins jenkins 103 Dec 2 09:51 .github [2021-12-02T09:53:01.987Z] -rw-rw-r--. 1 jenkins jenkins 329 Dec 2 09:51 .gitignore [2021-12-02T09:53:01.987Z] -rw-rw-r--. 1 jenkins jenkins 277 Dec 2 09:51 go.mod [2021-12-02T09:53:01.987Z] -rw-rw-r--. 1 jenkins jenkins 49330 Dec 2 09:51 go.sum [2021-12-02T09:53:01.987Z] -rw-rw-r--. 1 jenkins jenkins 677 Dec 2 09:51 GOVERNANCE.md [2021-12-02T09:53:01.987Z] -rw-rw-r--. 1 jenkins jenkins 680 Dec 2 09:51 Jenkinsfile [2021-12-02T09:53:01.987Z] -rw-rw-r--. 1 jenkins jenkins 11340 Dec 2 09:51 LICENSE [2021-12-02T09:53:01.987Z] -rw-rw-r--. 1 jenkins jenkins 1078 Dec 2 09:51 Makefile [2021-12-02T09:53:01.987Z] -rw-rw-r--. 1 jenkins jenkins 620 Dec 2 09:51 OWNERS.md [2021-12-02T09:53:01.987Z] -rw-rw-r--. 1 jenkins jenkins 8246 Dec 2 09:51 README.md [2021-12-02T09:53:01.987Z] drwxrwxr-x. 3 jenkins jenkins 58 Dec 2 09:51 snap [2021-12-02T09:53:01.987Z] -rw-rw-r--. 1 jenkins jenkins 5 Dec 2 09:49 VERSION [2021-12-02T09:53:01.987Z] -rw-rw-r--. 1 jenkins jenkins 713 Dec 2 09:51 version.go [Pipeline] isUnix [Pipeline] sh [2021-12-02T09:53:02.315Z] + 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=a74cd4e34615fdc29e084b9a9bde0ca42c8b4b79 --label arch=amd64 --label version=0.0.0 . [2021-12-02T09:53:02.315Z] Sending build context to Docker daemon 131.6kB [2021-12-02T09:53:02.315Z] Step 1/24 : ARG BASE=golang:1.16-alpine3.14 [2021-12-02T09:53:02.315Z] Step 2/24 : FROM ${BASE} AS builder [2021-12-02T09:53:02.315Z] ---> 93b97a0c8129 [2021-12-02T09:53:02.315Z] Step 3/24 : ARG MAKE='make build' [2021-12-02T09:53:02.315Z] ---> Running in 028fa10ae5d6 [2021-12-02T09:53:02.315Z] Removing intermediate container 028fa10ae5d6 [2021-12-02T09:53:02.315Z] ---> f8a9d9272af0 [2021-12-02T09:53:02.315Z] Step 4/24 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2021-12-02T09:53:02.315Z] ---> Running in 88f9d77f47a7 [2021-12-02T09:53:02.579Z] Removing intermediate container 88f9d77f47a7 [2021-12-02T09:53:02.579Z] ---> f768c0982f6f [2021-12-02T09:53:02.579Z] Step 5/24 : ARG ALPINE_PKG_EXTRA="" [2021-12-02T09:53:02.579Z] ---> Running in e18375c91e29 [2021-12-02T09:53:02.579Z] Removing intermediate container e18375c91e29 [2021-12-02T09:53:02.579Z] ---> 126a2c9dd82e [2021-12-02T09:53:02.579Z] Step 6/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-12-02T09:53:02.579Z] ---> Running in fa4767240acf [2021-12-02T09:53:03.149Z] Removing intermediate container fa4767240acf [2021-12-02T09:53:03.149Z] ---> f2dd4080c529 [2021-12-02T09:53:03.149Z] Step 7/24 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2021-12-02T09:53:03.149Z] ---> Running in 3ccfb91e098b [2021-12-02T09:53:03.409Z] fetch https://nl.alpinelinux.org/alpine/v3.14/main/x86_64/APKINDEX.tar.gz [2021-12-02T09:53:04.349Z] fetch https://nl.alpinelinux.org/alpine/v3.14/community/x86_64/APKINDEX.tar.gz [2021-12-02T09:53:04.349Z] OK: 224 MiB in 56 packages [2021-12-02T09:53:04.611Z] Removing intermediate container 3ccfb91e098b [2021-12-02T09:53:04.611Z] ---> 50b1dfaf415e [2021-12-02T09:53:04.611Z] Step 8/24 : WORKDIR /device-rest-go [2021-12-02T09:53:04.611Z] ---> Running in cfd39dd06995 [2021-12-02T09:53:04.872Z] Removing intermediate container cfd39dd06995 [2021-12-02T09:53:04.872Z] ---> efda4d196b6e [2021-12-02T09:53:04.872Z] Step 9/24 : COPY . . [2021-12-02T09:53:05.133Z] ---> 47827564f1f7 [2021-12-02T09:53:05.133Z] Step 10/24 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2021-12-02T09:53:05.133Z] ---> Running in 4030951ac2bc [2021-12-02T09:53:05.710Z] Removing intermediate container 4030951ac2bc [2021-12-02T09:53:05.710Z] ---> 53f2c3789a94 [2021-12-02T09:53:05.710Z] Step 11/24 : RUN $MAKE [2021-12-02T09:53:05.710Z] ---> Running in e3607378077b [2021-12-02T09:53:05.971Z] 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-12-02T09:53:06.436Z] Removing intermediate container f4e5a243af7d [2021-12-02T09:53:06.436Z] ---> 4137571b55f5 [2021-12-02T09:53:06.436Z] Step 11/11 : RUN $MAKE [2021-12-02T09:53:06.436Z] ---> Running in 73af168d503f [2021-12-02T09:53:06.436Z] noop [2021-12-02T09:53:06.436Z] Removing intermediate container 73af168d503f [2021-12-02T09:53:06.436Z] ---> a5254203ac02 [2021-12-02T09:53:06.436Z] Successfully built a5254203ac02 [2021-12-02T09:53:06.436Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh [2021-12-02T09:53:06.806Z] + docker inspect -f . ci-base-image-arm64 [2021-12-02T09:53:06.806Z] . [Pipeline] withDockerContainer [2021-12-02T09:53:07.022Z] prd-ubuntu18.04-docker-arm64-4c-16g-53 does not seem to be running inside a container [2021-12-02T09:53:07.115Z] $ 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-12-02T09:53:08.390Z] $ docker top 0d1fd371bf6ecdddcd23a0edeb6d945313249673ad37879bf523332f4e356fd6 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-12-02T09:53:09.287Z] + go version [2021-12-02T09:53:09.287Z] go version go1.16.8 linux/arm64 [Pipeline] } [2021-12-02T09:53:09.323Z] $ docker stop --time=1 0d1fd371bf6ecdddcd23a0edeb6d945313249673ad37879bf523332f4e356fd6 [2021-12-02T09:53:10.930Z] $ docker rm -f 0d1fd371bf6ecdddcd23a0edeb6d945313249673ad37879bf523332f4e356fd6 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-12-02T09:53:11.762Z] + docker inspect -f . ci-base-image-arm64 [2021-12-02T09:53:11.762Z] . [Pipeline] withDockerContainer [2021-12-02T09:53:12.002Z] prd-ubuntu18.04-docker-arm64-4c-16g-53 does not seem to be running inside a container [2021-12-02T09:53:12.084Z] $ 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-12-02T09:53:13.394Z] $ docker top 7fe14cf95f857f862b50355243dd9afc1ab4aa84afd3b8668fa5009b3b1868c6 -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh [2021-12-02T09:53:14.368Z] + make test [2021-12-02T09:53:14.368Z] CGO_ENABLED=1 GO111MODULE=on go test -coverprofile=coverage.out ./... [2021-12-02T09:53:15.803Z] ? github.com/edgexfoundry/device-rest-go [no test files] [2021-12-02T09:53:18.281Z] Removing intermediate container e3607378077b [2021-12-02T09:53:18.281Z] ---> a2795e6ce335 [2021-12-02T09:53:18.281Z] Step 12/24 : FROM alpine:3.14 [2021-12-02T09:53:18.281Z] 3.14: Pulling from library/alpine [2021-12-02T09:53:18.281Z] 97518928ae5f: Pulling fs layer [2021-12-02T09:53:18.281Z] 97518928ae5f: Download complete [2021-12-02T09:53:18.281Z] 97518928ae5f: Pull complete [2021-12-02T09:53:18.281Z] Digest: sha256:635f0aa53d99017b38d1a0aa5b2082f7812b03e3cdb299103fe77b5c8a07f1d2 [2021-12-02T09:53:18.281Z] Status: Downloaded newer image for alpine:3.14 [2021-12-02T09:53:18.281Z] ---> 0a97eee8041e [2021-12-02T09:53:18.281Z] Step 13/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019: Intel' [2021-12-02T09:53:18.281Z] ---> Running in 100ff50d2865 [2021-12-02T09:53:18.281Z] Removing intermediate container 100ff50d2865 [2021-12-02T09:53:18.281Z] ---> 56946e27b655 [2021-12-02T09:53:18.281Z] Step 14/24 : LABEL Name=device-rest-go Version=${VERSION} [2021-12-02T09:53:18.281Z] ---> Running in 6547b8369925 [2021-12-02T09:53:18.281Z] Removing intermediate container 6547b8369925 [2021-12-02T09:53:18.281Z] ---> deb708a1de96 [2021-12-02T09:53:18.281Z] Step 15/24 : RUN apk add --update --no-cache zeromq dumb-init [2021-12-02T09:53:18.281Z] ---> Running in 81a07b501231 [2021-12-02T09:53:18.542Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/main/x86_64/APKINDEX.tar.gz [2021-12-02T09:53:21.083Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/community/x86_64/APKINDEX.tar.gz [2021-12-02T09:53:21.345Z] (1/6) Installing dumb-init (1.2.5-r1) [2021-12-02T09:53:21.345Z] (2/6) Installing libgcc (10.3.1_git20210424-r2) [2021-12-02T09:53:21.345Z] (3/6) Installing libsodium (1.0.18-r0) [2021-12-02T09:53:21.345Z] (4/6) Installing libstdc++ (10.3.1_git20210424-r2) [2021-12-02T09:53:21.345Z] (5/6) Installing libzmq (4.3.4-r0) [2021-12-02T09:53:21.345Z] (6/6) Installing zeromq (4.3.4-r0) [2021-12-02T09:53:21.345Z] Executing busybox-1.33.1-r6.trigger [2021-12-02T09:53:21.345Z] OK: 8 MiB in 20 packages [2021-12-02T09:53:21.606Z] Removing intermediate container 81a07b501231 [2021-12-02T09:53:21.606Z] ---> c403339a9c13 [2021-12-02T09:53:21.606Z] Step 16/24 : COPY --from=builder /device-rest-go/cmd / [2021-12-02T09:53:22.180Z] ---> cf1432d08d1a [2021-12-02T09:53:22.180Z] Step 17/24 : COPY --from=builder /device-rest-go/LICENSE / [2021-12-02T09:53:22.180Z] ---> 1aafdc8f5af1 [2021-12-02T09:53:22.180Z] Step 18/24 : COPY --from=builder /device-rest-go/Attribution.txt / [2021-12-02T09:53:22.443Z] ---> e80ac7ced36d [2021-12-02T09:53:22.443Z] Step 19/24 : EXPOSE 59986 [2021-12-02T09:53:22.443Z] ---> Running in 60eb8603435b [2021-12-02T09:53:22.443Z] Removing intermediate container 60eb8603435b [2021-12-02T09:53:22.443Z] ---> 9d7acc6bc167 [2021-12-02T09:53:22.443Z] Step 20/24 : ENTRYPOINT ["/device-rest"] [2021-12-02T09:53:22.443Z] ---> Running in 53ee4c77dee5 [2021-12-02T09:53:22.443Z] Removing intermediate container 53ee4c77dee5 [2021-12-02T09:53:22.443Z] ---> 910084ba654d [2021-12-02T09:53:22.443Z] Step 21/24 : CMD ["--cp=consul://edgex-core-consul:8500", "--confdir=/res", "--registry"] [2021-12-02T09:53:22.711Z] ---> Running in 9c209fa546ec [2021-12-02T09:53:22.711Z] Removing intermediate container 9c209fa546ec [2021-12-02T09:53:22.711Z] ---> 9461b95903b2 [2021-12-02T09:53:22.711Z] Step 22/24 : LABEL arch=amd64 [2021-12-02T09:53:22.711Z] ---> Running in d2957fd66ff0 [2021-12-02T09:53:22.711Z] Removing intermediate container d2957fd66ff0 [2021-12-02T09:53:22.711Z] ---> 532557342735 [2021-12-02T09:53:22.711Z] Step 23/24 : LABEL git_sha=a74cd4e34615fdc29e084b9a9bde0ca42c8b4b79 [2021-12-02T09:53:22.711Z] ---> Running in 475cf5f8efdb [2021-12-02T09:53:22.971Z] Removing intermediate container 475cf5f8efdb [2021-12-02T09:53:22.971Z] ---> fd9530e86cb2 [2021-12-02T09:53:22.971Z] Step 24/24 : LABEL version=0.0.0 [2021-12-02T09:53:22.971Z] ---> Running in e91951e5feb2 [2021-12-02T09:53:22.971Z] Removing intermediate container e91951e5feb2 [2021-12-02T09:53:22.971Z] ---> d3e093c7bc3f [2021-12-02T09:53:22.971Z] [Warning] One or more build-args [ARCH] were not consumed [2021-12-02T09:53:22.971Z] Successfully built d3e093c7bc3f [2021-12-02T09:53:22.971Z] Successfully tagged device-rest:latest [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-12-02T09:53:23.886Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2021-12-02T09:53:23.886Z] [2021-12-02T09:53:23.886Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] sh [2021-12-02T09:53:24.223Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2021-12-02T09:53:24.223Z] latest: Pulling from edgex-lftools-log-publisher [2021-12-02T09:53:24.223Z] b4d181a07f80: Pulling fs layer [2021-12-02T09:53:24.223Z] a1111a8f2ec3: Pulling fs layer [2021-12-02T09:53:24.223Z] ed53099fbce6: Pulling fs layer [2021-12-02T09:53:24.223Z] dc539afda2c1: Pulling fs layer [2021-12-02T09:53:24.223Z] 77bc0d833cb6: Pulling fs layer [2021-12-02T09:53:24.223Z] 9065ff56babe: Pulling fs layer [2021-12-02T09:53:24.223Z] d287ab97295c: Pulling fs layer [2021-12-02T09:53:24.223Z] 77bc0d833cb6: Waiting [2021-12-02T09:53:24.223Z] 9065ff56babe: Waiting [2021-12-02T09:53:24.223Z] d287ab97295c: Waiting [2021-12-02T09:53:24.223Z] dc539afda2c1: Waiting [2021-12-02T09:53:24.223Z] a1111a8f2ec3: Verifying Checksum [2021-12-02T09:53:24.223Z] a1111a8f2ec3: Download complete [2021-12-02T09:53:24.223Z] dc539afda2c1: Verifying Checksum [2021-12-02T09:53:24.223Z] dc539afda2c1: Download complete [2021-12-02T09:53:24.223Z] ed53099fbce6: Verifying Checksum [2021-12-02T09:53:24.223Z] ed53099fbce6: Download complete [2021-12-02T09:53:24.493Z] 9065ff56babe: Verifying Checksum [2021-12-02T09:53:24.493Z] 9065ff56babe: Download complete [2021-12-02T09:53:24.493Z] 77bc0d833cb6: Verifying Checksum [2021-12-02T09:53:24.493Z] 77bc0d833cb6: Download complete [2021-12-02T09:53:24.493Z] b4d181a07f80: Verifying Checksum [2021-12-02T09:53:24.493Z] b4d181a07f80: Download complete [2021-12-02T09:53:25.071Z] d287ab97295c: Verifying Checksum [2021-12-02T09:53:25.071Z] d287ab97295c: Download complete [2021-12-02T09:53:26.030Z] b4d181a07f80: Pull complete [2021-12-02T09:53:26.030Z] a1111a8f2ec3: Pull complete [2021-12-02T09:53:26.611Z] ed53099fbce6: Pull complete [2021-12-02T09:53:26.611Z] dc539afda2c1: Pull complete [2021-12-02T09:53:26.879Z] 77bc0d833cb6: Pull complete [2021-12-02T09:53:26.879Z] 9065ff56babe: Pull complete [2021-12-02T09:53:32.193Z] d287ab97295c: Pull complete [2021-12-02T09:53:32.193Z] Digest: sha256:0c69325c24349bfb3ea32a3c3cbcab1fb66df42c981276dd8ebcf6aa441257c4 [2021-12-02T09:53:32.193Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2021-12-02T09:53:32.193Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] withDockerContainer [2021-12-02T09:53:32.279Z] prd-centos7-docker-4c-2g-54 does not seem to be running inside a container [2021-12-02T09:53:32.321Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/device-rest-go/1 -v /w/workspace/device-rest-go/1:/w/workspace/device-rest-go/1:rw,z -v /w/workspace/device-rest-go/1@tmp:/w/workspace/device-rest-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2021-12-02T09:53:34.808Z] $ docker top 8e502c6cdae012204f1b9da94b7444fc8536d555bc936ccbe4e174e7e605ca0f -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-12-02T09:53:35.281Z] ---> job-cost.sh [2021-12-02T09:53:35.281Z] lf-activate-venv: SKIPPING [2021-12-02T09:53:35.281Z] INFO: No Stack... [2021-12-02T09:53:35.543Z] INFO: Retrieving Pricing Info for: v3-standard-2 [2021-12-02T09:53:35.806Z] INFO: Archiving Costs [Pipeline] sh [2021-12-02T09:53:36.114Z] + cat /w/workspace/device-rest-go/1/archives/cost.csv [2021-12-02T09:53:36.115Z] + cut -d, -f6 [Pipeline] lock [2021-12-02T09:53:36.166Z] Trying to acquire lock on [jenkins-edgexfoundry-device-rest-go-PR-148-1-stack-cost] [2021-12-02T09:53:36.170Z] Resource [jenkins-edgexfoundry-device-rest-go-PR-148-1-stack-cost] did not exist. Created. [2021-12-02T09:53:36.171Z] Lock acquired on [jenkins-edgexfoundry-device-rest-go-PR-148-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2021-12-02T09:53:36.546Z] + echo total: 0.05999999865889549 [Pipeline] stash [2021-12-02T09:53:36.594Z] Stashed 1 file(s) [Pipeline] } [2021-12-02T09:53:36.620Z] Lock released on resource [jenkins-edgexfoundry-device-rest-go-PR-148-1-stack-cost] [Pipeline] // lock [Pipeline] } [2021-12-02T09:53:36.687Z] $ docker stop --time=1 8e502c6cdae012204f1b9da94b7444fc8536d555bc936ccbe4e174e7e605ca0f [2021-12-02T09:53:37.851Z] $ docker rm -f 8e502c6cdae012204f1b9da94b7444fc8536d555bc936ccbe4e174e7e605ca0f [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [2021-12-02T09:54:12.395Z] ? github.com/edgexfoundry/device-rest-go/cmd [no test files] [2021-12-02T09:54:12.395Z] ok github.com/edgexfoundry/device-rest-go/driver 0.053s coverage: 56.0% of statements [2021-12-02T09:54:12.395Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2021-12-02T09:54:34.595Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2021-12-02T09:54:34.595Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2021-12-02T09:54:34.595Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2021-12-02T09:54:36.605Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2021-12-02T09:54:36.641Z] $ docker stop --time=1 7fe14cf95f857f862b50355243dd9afc1ab4aa84afd3b8668fa5009b3b1868c6 [2021-12-02T09:54:38.319Z] $ docker rm -f 7fe14cf95f857f862b50355243dd9afc1ab4aa84afd3b8668fa5009b3b1868c6 [Pipeline] // withDockerContainer [Pipeline] sh [2021-12-02T09:54:39.133Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2021-12-02T09:54:39.168Z] Warning: overwriting stash ‘coverage-report’ [2021-12-02T09:54:39.743Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-12-02T09:54:40.425Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2021-12-02T09:54:40.788Z] + ls -al . [2021-12-02T09:54:40.788Z] total 176 [2021-12-02T09:54:40.788Z] drwxrwxr-x 8 jenkins jenkins 4096 Dec 2 09:54 . [2021-12-02T09:54:40.788Z] drwxrwxr-x 4 jenkins jenkins 4096 Dec 2 09:50 .. [2021-12-02T09:54:40.788Z] -rw-rw-r-- 1 jenkins jenkins 151 Dec 2 09:50 .dockerignore [2021-12-02T09:54:40.788Z] drwxrwxr-x 8 jenkins jenkins 4096 Dec 2 09:50 .git [2021-12-02T09:54:40.788Z] drwxrwxr-x 2 jenkins jenkins 4096 Dec 2 09:50 .github [2021-12-02T09:54:40.788Z] -rw-rw-r-- 1 jenkins jenkins 329 Dec 2 09:50 .gitignore [2021-12-02T09:54:40.788Z] -rw-rw-r-- 1 jenkins jenkins 7095 Dec 2 09:50 Attribution.txt [2021-12-02T09:54:40.788Z] -rw-rw-r-- 1 jenkins jenkins 7459 Dec 2 09:50 CHANGELOG.md [2021-12-02T09:54:40.788Z] -rw-rw-r-- 1 jenkins jenkins 1649 Dec 2 09:50 Dockerfile [2021-12-02T09:54:40.788Z] -rw-rw-r-- 1 jenkins jenkins 677 Dec 2 09:50 GOVERNANCE.md [2021-12-02T09:54:40.788Z] -rw-rw-r-- 1 jenkins jenkins 680 Dec 2 09:50 Jenkinsfile [2021-12-02T09:54:40.788Z] -rw-rw-r-- 1 jenkins jenkins 11340 Dec 2 09:50 LICENSE [2021-12-02T09:54:40.788Z] -rw-rw-r-- 1 jenkins jenkins 1078 Dec 2 09:50 Makefile [2021-12-02T09:54:40.788Z] -rw-rw-r-- 1 jenkins jenkins 620 Dec 2 09:50 OWNERS.md [2021-12-02T09:54:40.788Z] -rw-rw-r-- 1 jenkins jenkins 8246 Dec 2 09:50 README.md [2021-12-02T09:54:40.788Z] -rw-rw-r-- 1 jenkins jenkins 5 Dec 2 09:49 VERSION [2021-12-02T09:54:40.788Z] drwxrwxr-x 2 jenkins jenkins 4096 Dec 2 09:50 bin [2021-12-02T09:54:40.788Z] drwxrwxr-x 3 jenkins jenkins 4096 Dec 2 09:50 cmd [2021-12-02T09:54:40.788Z] -rw-r--r-- 1 jenkins jenkins 9215 Dec 2 09:54 coverage.out [2021-12-02T09:54:40.788Z] drwxrwxr-x 2 jenkins jenkins 4096 Dec 2 09:50 driver [2021-12-02T09:54:40.788Z] -rw-rw-r-- 1 jenkins jenkins 277 Dec 2 09:50 go.mod [2021-12-02T09:54:40.788Z] -rw-rw-r-- 1 jenkins jenkins 49330 Dec 2 09:50 go.sum [2021-12-02T09:54:40.788Z] drwxrwxr-x 3 jenkins jenkins 4096 Dec 2 09:50 snap [2021-12-02T09:54:40.788Z] -rw-rw-r-- 1 jenkins jenkins 713 Dec 2 09:50 version.go [Pipeline] isUnix [Pipeline] sh [2021-12-02T09:54:41.185Z] + 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=a74cd4e34615fdc29e084b9a9bde0ca42c8b4b79 --label arch=arm64 --label version=0.0.0 . [2021-12-02T09:54:41.185Z] Sending build context to Docker daemon 131.6kB [2021-12-02T09:54:41.467Z] Step 1/24 : ARG BASE=golang:1.16-alpine3.14 [2021-12-02T09:54:41.467Z] Step 2/24 : FROM ${BASE} AS builder [2021-12-02T09:54:41.467Z] ---> a5254203ac02 [2021-12-02T09:54:41.467Z] Step 3/24 : ARG MAKE='make build' [2021-12-02T09:54:41.741Z] ---> Running in 706328d010e1 [2021-12-02T09:54:42.026Z] Removing intermediate container 706328d010e1 [2021-12-02T09:54:42.026Z] ---> 474e1371c0d0 [2021-12-02T09:54:42.026Z] Step 4/24 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2021-12-02T09:54:42.026Z] ---> Running in 7e5f84eeb95a [2021-12-02T09:54:42.623Z] Removing intermediate container 7e5f84eeb95a [2021-12-02T09:54:42.623Z] ---> 112f73e4a06a [2021-12-02T09:54:42.623Z] Step 5/24 : ARG ALPINE_PKG_EXTRA="" [2021-12-02T09:54:42.623Z] ---> Running in 8a13352698d1 [2021-12-02T09:54:42.909Z] Removing intermediate container 8a13352698d1 [2021-12-02T09:54:42.909Z] ---> 93976cb3969c [2021-12-02T09:54:42.909Z] Step 6/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-12-02T09:54:42.909Z] ---> Running in 99ed7c5ee989 [2021-12-02T09:54:44.894Z] Removing intermediate container 99ed7c5ee989 [2021-12-02T09:54:44.894Z] ---> ba31b584ca9f [2021-12-02T09:54:44.894Z] Step 7/24 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2021-12-02T09:54:44.894Z] ---> Running in 0190a3424f92 [2021-12-02T09:54:45.873Z] fetch https://nl.alpinelinux.org/alpine/v3.14/main/aarch64/APKINDEX.tar.gz [2021-12-02T09:54:46.851Z] fetch https://nl.alpinelinux.org/alpine/v3.14/community/aarch64/APKINDEX.tar.gz [2021-12-02T09:54:47.449Z] OK: 223 MiB in 56 packages [2021-12-02T09:54:48.426Z] Removing intermediate container 0190a3424f92 [2021-12-02T09:54:48.426Z] ---> e1999cb18765 [2021-12-02T09:54:48.426Z] Step 8/24 : WORKDIR /device-rest-go [2021-12-02T09:54:48.426Z] ---> Running in 1d549377e551 [2021-12-02T09:54:48.701Z] Removing intermediate container 1d549377e551 [2021-12-02T09:54:48.701Z] ---> f68e691b169f [2021-12-02T09:54:48.701Z] Step 9/24 : COPY . . [2021-12-02T09:54:49.295Z] ---> 3f1382c5d64f [2021-12-02T09:54:49.295Z] Step 10/24 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2021-12-02T09:54:49.570Z] ---> Running in e29769c679d3 [2021-12-02T09:54:51.542Z] Removing intermediate container e29769c679d3 [2021-12-02T09:54:51.542Z] ---> ec951d4716d2 [2021-12-02T09:54:51.542Z] Step 11/24 : RUN $MAKE [2021-12-02T09:54:51.542Z] ---> Running in 0bec0ef75cea [2021-12-02T09:54:52.519Z] 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-12-02T09:55:31.535Z] Removing intermediate container 0bec0ef75cea [2021-12-02T09:55:31.535Z] ---> 256bf29544a5 [2021-12-02T09:55:31.535Z] Step 12/24 : FROM alpine:3.14 [2021-12-02T09:55:31.535Z] 3.14: Pulling from library/alpine [2021-12-02T09:55:31.535Z] be307f383ecc: Pulling fs layer [2021-12-02T09:55:31.535Z] be307f383ecc: Verifying Checksum [2021-12-02T09:55:31.535Z] be307f383ecc: Download complete [2021-12-02T09:55:31.535Z] be307f383ecc: Pull complete [2021-12-02T09:55:31.535Z] Digest: sha256:635f0aa53d99017b38d1a0aa5b2082f7812b03e3cdb299103fe77b5c8a07f1d2 [2021-12-02T09:55:31.535Z] Status: Downloaded newer image for alpine:3.14 [2021-12-02T09:55:31.535Z] ---> 5b8b7b635229 [2021-12-02T09:55:31.535Z] Step 13/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019: Intel' [2021-12-02T09:55:31.535Z] ---> Running in 8c184b175447 [2021-12-02T09:55:31.535Z] Removing intermediate container 8c184b175447 [2021-12-02T09:55:31.535Z] ---> 05dd79b9ed86 [2021-12-02T09:55:31.535Z] Step 14/24 : LABEL Name=device-rest-go Version=${VERSION} [2021-12-02T09:55:31.535Z] ---> Running in 4b1c1d83dcc0 [2021-12-02T09:55:31.535Z] Removing intermediate container 4b1c1d83dcc0 [2021-12-02T09:55:31.535Z] ---> 1f7b7487cca9 [2021-12-02T09:55:31.535Z] Step 15/24 : RUN apk add --update --no-cache zeromq dumb-init [2021-12-02T09:55:31.535Z] ---> Running in e7324a9f4e05 [2021-12-02T09:55:31.535Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/main/aarch64/APKINDEX.tar.gz [2021-12-02T09:55:31.535Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/community/aarch64/APKINDEX.tar.gz [2021-12-02T09:55:32.129Z] (1/6) Installing dumb-init (1.2.5-r1) [2021-12-02T09:55:32.129Z] (2/6) Installing libgcc (10.3.1_git20210424-r2) [2021-12-02T09:55:32.129Z] (3/6) Installing libsodium (1.0.18-r0) [2021-12-02T09:55:32.129Z] (4/6) Installing libstdc++ (10.3.1_git20210424-r2) [2021-12-02T09:55:32.129Z] (5/6) Installing libzmq (4.3.4-r0) [2021-12-02T09:55:32.129Z] (6/6) Installing zeromq (4.3.4-r0) [2021-12-02T09:55:32.129Z] Executing busybox-1.33.1-r6.trigger [2021-12-02T09:55:32.129Z] OK: 8 MiB in 20 packages [2021-12-02T09:55:33.105Z] Removing intermediate container e7324a9f4e05 [2021-12-02T09:55:33.105Z] ---> 1e1b23af14fe [2021-12-02T09:55:33.105Z] Step 16/24 : COPY --from=builder /device-rest-go/cmd / [2021-12-02T09:55:34.075Z] ---> e8bbbad470b0 [2021-12-02T09:55:34.075Z] Step 17/24 : COPY --from=builder /device-rest-go/LICENSE / [2021-12-02T09:55:34.665Z] ---> e3c56dcd15a2 [2021-12-02T09:55:34.665Z] Step 18/24 : COPY --from=builder /device-rest-go/Attribution.txt / [2021-12-02T09:55:35.258Z] ---> 6b18bad514dd [2021-12-02T09:55:35.258Z] Step 19/24 : EXPOSE 59986 [2021-12-02T09:55:35.258Z] ---> Running in ff045cebc84e [2021-12-02T09:55:35.529Z] Removing intermediate container ff045cebc84e [2021-12-02T09:55:35.529Z] ---> 1b196f458e48 [2021-12-02T09:55:35.529Z] Step 20/24 : ENTRYPOINT ["/device-rest"] [2021-12-02T09:55:35.800Z] ---> Running in 349745013d9b [2021-12-02T09:55:36.071Z] Removing intermediate container 349745013d9b [2021-12-02T09:55:36.071Z] ---> 9fdd7752bb8f [2021-12-02T09:55:36.071Z] Step 21/24 : CMD ["--cp=consul://edgex-core-consul:8500", "--confdir=/res", "--registry"] [2021-12-02T09:55:36.071Z] ---> Running in 4139b4322c4d [2021-12-02T09:55:36.342Z] Removing intermediate container 4139b4322c4d [2021-12-02T09:55:36.342Z] ---> 62cf9d8c6882 [2021-12-02T09:55:36.342Z] Step 22/24 : LABEL arch=arm64 [2021-12-02T09:55:36.616Z] ---> Running in 9dd429e02194 [2021-12-02T09:55:36.889Z] Removing intermediate container 9dd429e02194 [2021-12-02T09:55:36.889Z] ---> 3ed21b0811f9 [2021-12-02T09:55:36.889Z] Step 23/24 : LABEL git_sha=a74cd4e34615fdc29e084b9a9bde0ca42c8b4b79 [2021-12-02T09:55:36.889Z] ---> Running in 28e77555e7e0 [2021-12-02T09:55:37.162Z] Removing intermediate container 28e77555e7e0 [2021-12-02T09:55:37.162Z] ---> 47599e355fb0 [2021-12-02T09:55:37.162Z] Step 24/24 : LABEL version=0.0.0 [2021-12-02T09:55:37.435Z] ---> Running in 7da4698cf525 [2021-12-02T09:55:37.704Z] Removing intermediate container 7da4698cf525 [2021-12-02T09:55:37.704Z] ---> cfb7954925ff [2021-12-02T09:55:37.704Z] [Warning] One or more build-args [ARCH] were not consumed [2021-12-02T09:55:37.704Z] Successfully built cfb7954925ff [2021-12-02T09:55:37.704Z] 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-12-02T09:55:38.472Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2021-12-02T09:55:38.472Z] [2021-12-02T09:55:38.472Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] sh [2021-12-02T09:55:38.839Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2021-12-02T09:55:38.839Z] arm64: Pulling from edgex-lftools-log-publisher [2021-12-02T09:55:38.839Z] 448f6bf000e3: Pulling fs layer [2021-12-02T09:55:38.839Z] f757da607395: Pulling fs layer [2021-12-02T09:55:38.839Z] 05883995daec: Pulling fs layer [2021-12-02T09:55:38.839Z] 8603b9c90790: Pulling fs layer [2021-12-02T09:55:38.839Z] 1560dd03e051: Pulling fs layer [2021-12-02T09:55:38.839Z] 27f5ce0e4adf: Pulling fs layer [2021-12-02T09:55:38.839Z] c2d8d7efcc4b: Pulling fs layer [2021-12-02T09:55:38.839Z] 8603b9c90790: Waiting [2021-12-02T09:55:38.839Z] 1560dd03e051: Waiting [2021-12-02T09:55:38.839Z] 27f5ce0e4adf: Waiting [2021-12-02T09:55:38.839Z] c2d8d7efcc4b: Waiting [2021-12-02T09:55:39.109Z] f757da607395: Verifying Checksum [2021-12-02T09:55:39.109Z] f757da607395: Download complete [2021-12-02T09:55:39.109Z] 8603b9c90790: Verifying Checksum [2021-12-02T09:55:39.109Z] 8603b9c90790: Download complete [2021-12-02T09:55:39.109Z] 05883995daec: Verifying Checksum [2021-12-02T09:55:39.109Z] 05883995daec: Download complete [2021-12-02T09:55:39.109Z] 1560dd03e051: Verifying Checksum [2021-12-02T09:55:39.109Z] 1560dd03e051: Download complete [2021-12-02T09:55:39.109Z] 27f5ce0e4adf: Verifying Checksum [2021-12-02T09:55:39.109Z] 27f5ce0e4adf: Download complete [2021-12-02T09:55:39.391Z] 448f6bf000e3: Verifying Checksum [2021-12-02T09:55:39.391Z] 448f6bf000e3: Download complete [2021-12-02T09:55:42.025Z] c2d8d7efcc4b: Verifying Checksum [2021-12-02T09:55:42.025Z] c2d8d7efcc4b: Download complete [2021-12-02T09:55:43.462Z] 448f6bf000e3: Pull complete [2021-12-02T09:55:43.737Z] f757da607395: Pull complete [2021-12-02T09:55:45.170Z] 05883995daec: Pull complete [2021-12-02T09:55:45.442Z] 8603b9c90790: Pull complete [2021-12-02T09:55:46.416Z] 1560dd03e051: Pull complete [2021-12-02T09:55:46.688Z] 27f5ce0e4adf: Pull complete [2021-12-02T09:56:01.759Z] c2d8d7efcc4b: Pull complete [2021-12-02T09:56:01.759Z] Digest: sha256:42f6a1c33103aa4ecfebf648e29883a20fd84132c0f0d4f855d8bcfd8dd9c454 [2021-12-02T09:56:01.759Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2021-12-02T09:56:01.759Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] withDockerContainer [2021-12-02T09:56:01.996Z] prd-ubuntu18.04-docker-arm64-4c-16g-53 does not seem to be running inside a container [2021-12-02T09:56:02.078Z] $ 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-12-02T09:56:04.753Z] $ docker top 27016bd3ff4fc181c7e892c170cc74a4f83cd296a5dce84590b798714eb22b14 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-12-02T09:56:05.698Z] ---> job-cost.sh [2021-12-02T09:56:05.698Z] lf-activate-venv: SKIPPING [2021-12-02T09:56:05.698Z] INFO: No Stack... [2021-12-02T09:56:05.968Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2021-12-02T09:56:06.561Z] INFO: Archiving Costs [Pipeline] sh [2021-12-02T09:56:07.236Z] + cat /w/workspace/device-rest-go/1/archives/cost.csv [2021-12-02T09:56:07.236Z] + cut -d, -f6 [Pipeline] lock [2021-12-02T09:56:07.322Z] Trying to acquire lock on [jenkins-edgexfoundry-device-rest-go-PR-148-1-stack-cost] [2021-12-02T09:56:07.327Z] Resource [jenkins-edgexfoundry-device-rest-go-PR-148-1-stack-cost] did not exist. Created. [2021-12-02T09:56:07.327Z] Lock acquired on [jenkins-edgexfoundry-device-rest-go-PR-148-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2021-12-02T09:56:08.064Z] /w/workspace/device-rest-go/1@tmp/durable-70e1da9a/script.sh: 1: /w/workspace/device-rest-go/1@tmp/durable-70e1da9a/script.sh: Syntax error: Unterminated quoted string [Pipeline] sh [2021-12-02T09:56:08.754Z] + echo total: 0.10999999940395355 [Pipeline] stash [2021-12-02T09:56:08.786Z] Warning: overwriting stash ‘stack-cost’ [2021-12-02T09:56:08.826Z] Stashed 1 file(s) [Pipeline] } [2021-12-02T09:56:08.842Z] Lock released on resource [jenkins-edgexfoundry-device-rest-go-PR-148-1-stack-cost] [Pipeline] // lock [Pipeline] } [2021-12-02T09:56:08.913Z] $ docker stop --time=1 27016bd3ff4fc181c7e892c170cc74a4f83cd296a5dce84590b798714eb22b14 [2021-12-02T09:56:10.443Z] $ docker rm -f 27016bd3ff4fc181c7e892c170cc74a4f83cd296a5dce84590b798714eb22b14 [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-12-02T09:56:11.558Z] provisioning config files... [2021-12-02T09:56:11.568Z] copy managed file [device-rest-go-codecov-token] to file:/w/workspace/gexfoundry_device-rest-go_PR-148@tmp/config7404063994378783291tmp [Pipeline] { [Pipeline] sh [2021-12-02T09:56:11.931Z] + set +x [2021-12-02T09:56:11.931Z] + curl -s https://codecov.io/bash [2021-12-02T09:56:11.931Z] + bash -s -- [2021-12-02T09:56:11.931Z] [2021-12-02T09:56:11.931Z] _____ _ [2021-12-02T09:56:11.931Z] / ____| | | [2021-12-02T09:56:11.931Z] | | ___ __| | ___ ___ _____ __ [2021-12-02T09:56:11.931Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2021-12-02T09:56:11.931Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2021-12-02T09:56:11.931Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2021-12-02T09:56:11.931Z] Bash-1.0.6 [2021-12-02T09:56:11.931Z] [2021-12-02T09:56:11.931Z] [2021-12-02T09:56:11.931Z] ==> git version 2.24.4 found [2021-12-02T09:56:11.931Z] ==> 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-12-02T09:56:11.931Z] Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtsp scp sftp smtp smtps telnet tftp [2021-12-02T09:56:11.931Z] Features: AsynchDNS GSS-Negotiate IDN IPv6 Largefile NTLM NTLM_WB SSL libz unix-sockets [2021-12-02T09:56:11.931Z] ==> Jenkins CI detected. [2021-12-02T09:56:11.931Z] current dir:  /w/workspace/gexfoundry_device-rest-go_PR-148 [2021-12-02T09:56:11.931Z] project root: . [2021-12-02T09:56:11.931Z] --> token set from env [2021-12-02T09:56:11.931Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2021-12-02T09:56:11.931Z] ==> Running gcov in . (disable via -X gcov) [2021-12-02T09:56:12.194Z] ==> Python coveragepy not found [2021-12-02T09:56:12.194Z] ==> Searching for coverage reports in: [2021-12-02T09:56:12.194Z] + . [2021-12-02T09:56:12.194Z] -> Found 1 reports [2021-12-02T09:56:12.194Z] ==> Detecting git/mercurial file structure [2021-12-02T09:56:12.194Z] ==> Reading reports [2021-12-02T09:56:12.194Z] + ./coverage.out bytes=9215 [2021-12-02T09:56:12.194Z] ==> Appending adjustments [2021-12-02T09:56:12.194Z] https://docs.codecov.io/docs/fixing-reports [2021-12-02T09:56:12.194Z] + Found adjustments [2021-12-02T09:56:12.194Z] ==> Gzipping contents [2021-12-02T09:56:12.194Z] 4.0K /tmp/codecov.pB7onL.gz [2021-12-02T09:56:12.194Z] ==> Uploading reports [2021-12-02T09:56:12.194Z] url: https://codecov.io [2021-12-02T09:56:12.194Z] query: branch=PR-148&commit=a74cd4e34615fdc29e084b9a9bde0ca42c8b4b79&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-rest-go%2Fjob%2FPR-148%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-rest-go&service=jenkins&flags=&pr=148&job=&cmd_args= [2021-12-02T09:56:12.194Z] -> Pinging Codecov [2021-12-02T09:56:12.194Z] https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=c51feb23-73ac-4f49-b3d1-d26df23137db&branch=PR-148&commit=a74cd4e34615fdc29e084b9a9bde0ca42c8b4b79&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-rest-go%2Fjob%2FPR-148%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-rest-go&service=jenkins&flags=&pr=148&job=&cmd_args= [2021-12-02T09:56:12.457Z] -> Uploading to [2021-12-02T09:56:12.457Z] https://storage.googleapis.com/codecov/v4/raw/2021-12-02/4E5D53B4F1F92C436F7061BF334D961C/a74cd4e34615fdc29e084b9a9bde0ca42c8b4b79/4fddee84-074f-49e6-b2bf-aed7279b6b35.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EKKHVKCKHW7KBCGM7IHR55T63V2PAVJWLVFNITJHDU5G6R5IRN3LMWJA%2F20211202%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20211202T095612Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=b45c1d54b3f4f5cdef60c31004b7166b114e3b793f5f372ec2f84a0306544b78 [2021-12-02T09:56:12.457Z] % Total % Received % Xferd Average Speed Time Time Time Current [2021-12-02T09:56:12.457Z] Dload Upload Total Spent Left Speed [2021-12-02T09:56:13.033Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 1814 0 0 100 1814 0 5968 --:--:-- --:--:-- --:--:-- 5986 [2021-12-02T09:56:13.033Z] -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/device-rest-go/commit/a74cd4e34615fdc29e084b9a9bde0ca42c8b4b79 [Pipeline] } [2021-12-02T09:56:13.061Z] 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] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] sh [2021-12-02T09:56:15.113Z] + '[' -d /w/workspace/gexfoundry_device-rest-go_PR-148/archives ']' [Pipeline] libraryResource [Pipeline] sh [2021-12-02T09:56:15.442Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2021-12-02T09:56:16.035Z] ---> package-listing.sh [2021-12-02T09:56:16.035Z] ++ tr '[:upper:]' '[:lower:]' [2021-12-02T09:56:16.035Z] ++ facter osfamily [2021-12-02T09:56:16.297Z] + OS_FAMILY=redhat [2021-12-02T09:56:16.297Z] + workspace=/w/workspace/gexfoundry_device-rest-go_PR-148 [2021-12-02T09:56:16.297Z] + START_PACKAGES=/tmp/packages_start.txt [2021-12-02T09:56:16.297Z] + END_PACKAGES=/tmp/packages_end.txt [2021-12-02T09:56:16.297Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2021-12-02T09:56:16.297Z] + PACKAGES=/tmp/packages_start.txt [2021-12-02T09:56:16.297Z] + '[' /w/workspace/gexfoundry_device-rest-go_PR-148 ']' [2021-12-02T09:56:16.297Z] + PACKAGES=/tmp/packages_end.txt [2021-12-02T09:56:16.297Z] + case "${OS_FAMILY}" in [2021-12-02T09:56:16.297Z] + sort [2021-12-02T09:56:16.297Z] + rpm -qa [2021-12-02T09:56:16.867Z] + '[' -f /tmp/packages_start.txt ']' [2021-12-02T09:56:16.867Z] + '[' -f /tmp/packages_end.txt ']' [2021-12-02T09:56:16.867Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2021-12-02T09:56:16.867Z] + '[' /w/workspace/gexfoundry_device-rest-go_PR-148 ']' [2021-12-02T09:56:16.867Z] + mkdir -p /w/workspace/gexfoundry_device-rest-go_PR-148/archives/ [2021-12-02T09:56:16.867Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_device-rest-go_PR-148/archives/ [Pipeline] echo [2021-12-02T09:56:16.895Z] 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-148/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2021-12-02T09:56:17.189Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] sh [2021-12-02T09:56:17.777Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2021-12-02T09:56:17.777Z] [2021-12-02T09:56:17.777Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] sh [2021-12-02T09:56:18.113Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2021-12-02T09:56:18.113Z] latest: Pulling from edgex-lftools-log-publisher [2021-12-02T09:56:18.113Z] b4d181a07f80: Pulling fs layer [2021-12-02T09:56:18.113Z] a1111a8f2ec3: Pulling fs layer [2021-12-02T09:56:18.113Z] ed53099fbce6: Pulling fs layer [2021-12-02T09:56:18.113Z] dc539afda2c1: Pulling fs layer [2021-12-02T09:56:18.113Z] 77bc0d833cb6: Pulling fs layer [2021-12-02T09:56:18.113Z] 9065ff56babe: Pulling fs layer [2021-12-02T09:56:18.113Z] d287ab97295c: Pulling fs layer [2021-12-02T09:56:18.113Z] dc539afda2c1: Waiting [2021-12-02T09:56:18.113Z] 77bc0d833cb6: Waiting [2021-12-02T09:56:18.113Z] 9065ff56babe: Waiting [2021-12-02T09:56:18.113Z] d287ab97295c: Waiting [2021-12-02T09:56:18.113Z] a1111a8f2ec3: Verifying Checksum [2021-12-02T09:56:18.113Z] a1111a8f2ec3: Download complete [2021-12-02T09:56:18.113Z] dc539afda2c1: Verifying Checksum [2021-12-02T09:56:18.113Z] dc539afda2c1: Download complete [2021-12-02T09:56:18.113Z] ed53099fbce6: Verifying Checksum [2021-12-02T09:56:18.113Z] ed53099fbce6: Download complete [2021-12-02T09:56:18.383Z] 9065ff56babe: Verifying Checksum [2021-12-02T09:56:18.383Z] 9065ff56babe: Download complete [2021-12-02T09:56:18.383Z] 77bc0d833cb6: Verifying Checksum [2021-12-02T09:56:18.383Z] 77bc0d833cb6: Download complete [2021-12-02T09:56:18.383Z] b4d181a07f80: Verifying Checksum [2021-12-02T09:56:18.383Z] b4d181a07f80: Download complete [2021-12-02T09:56:18.960Z] d287ab97295c: Verifying Checksum [2021-12-02T09:56:18.960Z] d287ab97295c: Download complete [2021-12-02T09:56:19.543Z] b4d181a07f80: Pull complete [2021-12-02T09:56:19.802Z] a1111a8f2ec3: Pull complete [2021-12-02T09:56:20.375Z] ed53099fbce6: Pull complete [2021-12-02T09:56:20.375Z] dc539afda2c1: Pull complete [2021-12-02T09:56:20.634Z] 77bc0d833cb6: Pull complete [2021-12-02T09:56:20.634Z] 9065ff56babe: Pull complete [2021-12-02T09:56:25.946Z] d287ab97295c: Pull complete [2021-12-02T09:56:25.946Z] Digest: sha256:0c69325c24349bfb3ea32a3c3cbcab1fb66df42c981276dd8ebcf6aa441257c4 [2021-12-02T09:56:25.946Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2021-12-02T09:56:25.946Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] withDockerContainer [2021-12-02T09:56:26.030Z] prd-centos7-docker-4c-2g-52 does not seem to be running inside a container [2021-12-02T09:56:26.080Z] $ 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-148/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-148 -v /w/workspace/gexfoundry_device-rest-go_PR-148:/w/workspace/gexfoundry_device-rest-go_PR-148:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-148@tmp:/w/workspace/gexfoundry_device-rest-go_PR-148@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-12-02T09:56:28.229Z] $ docker top 7bdaffd82d6f7f9bc5ad79b0f78c1f1b3fae9f363aedd1c7f1643d0604db4197 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-12-02T09:56:28.612Z] + touch /tmp/pre-build-complete [Pipeline] sh [2021-12-02T09:56:28.929Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2021-12-02T09:56:29.252Z] + ls /var/log/sa-host [2021-12-02T09:56:29.252Z] + sadf -c /var/log/sa-host/sa02 [2021-12-02T09:56:29.252Z] file_magic: OK [2021-12-02T09:56:29.252Z] HZ: Using current value: 100 [2021-12-02T09:56:29.252Z] file_header: OK [2021-12-02T09:56:29.252Z] 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-12-02T09:56:29.252Z] Statistics: [2021-12-02T09:56:29.252Z] HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... [2021-12-02T09:56:29.252Z] File successfully converted to sysstat format version 12.0.3 [2021-12-02T09:56:29.252Z] + sadf -c /var/log/sa-host/sa17 [2021-12-02T09:56:29.252Z] file_magic: OK [2021-12-02T09:56:29.252Z] HZ: Using current value: 100 [2021-12-02T09:56:29.252Z] file_header: OK [2021-12-02T09:56:29.252Z] 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-12-02T09:56:29.252Z] Statistics: [2021-12-02T09:56:29.252Z] Hnuu...uuuununununu...Hnuu...uuuununununu... [2021-12-02T09:56:29.252Z] File successfully converted to sysstat format version 12.0.3 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-12-02T09:56:29.387Z] provisioning config files... [2021-12-02T09:56:29.399Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-rest-go_PR-148@tmp/config1163847544513960378tmp [Pipeline] { [Pipeline] echo [2021-12-02T09:56:29.442Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2021-12-02T09:56:29.763Z] ---> create-netrc.sh [Pipeline] } [2021-12-02T09:56:29.781Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2021-12-02T09:56:30.168Z] ---> python-tools-install.sh [Pipeline] echo [2021-12-02T09:56:30.192Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2021-12-02T09:56:30.505Z] ---> sudo-logs.sh [2021-12-02T09:56:30.505Z] Archiving 'sudo' log.. [2021-12-02T09:56:30.505Z] sudo: unable to resolve host prd-centos7-docker-4c-2g-52.novalocal: Name or service not known [2021-12-02T09:56:30.505Z] sudo: unable to resolve host prd-centos7-docker-4c-2g-52.novalocal: Name or service not known [Pipeline] unstash [Pipeline] echo [2021-12-02T09:56:30.576Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2021-12-02T09:56:30.889Z] ---> job-cost.sh [2021-12-02T09:56:30.890Z] lf-activate-venv: SKIPPING [2021-12-02T09:56:30.890Z] DEBUG: total: 0.10999999940395355 [2021-12-02T09:56:30.890Z] INFO: Retrieving Stack Cost... [2021-12-02T09:56:31.150Z] INFO: Retrieving Pricing Info for: v3-standard-2 [2021-12-02T09:56:31.411Z] INFO: Archiving Costs [Pipeline] echo [2021-12-02T09:56:31.437Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2021-12-02T09:56:31.752Z] ---> logs-deploy.sh [2021-12-02T09:56:31.752Z] lf-activate-venv: SKIPPING [2021-12-02T09:56:31.752Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-rest-go/PR-148/1 [2021-12-02T09:56:31.752Z] INFO: archiving workspace using pattern(s): [2021-12-02T09:56:32.320Z] Archives upload complete. [2021-12-02T09:56:32.580Z] INFO: archiving logs to Nexus