Pull request #148 updated 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 67a8320623b7619a7ca86474bb2d9d2932fcf24b 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-ssh10243429018478556261.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-ssh9436116009554882655.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 > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-rest-go/branches/PR-148/workspace@libs/edgex-global-pipelines/.git # timeout=10 Fetching changes from the remote Git repository > 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 > 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-ssh6963817237831058484.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 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-ssh11452278825554760734.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 > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-rest-go/branches/PR-148/workspace@libs/lf-pipelines/.git # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 Fetching without tags 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-ssh12100273869730474580.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 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 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 on ‘centos7-docker-4c-2g’ Running on prd-centos7-docker-4c-2g-58 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-ssh1300809105748062181.key > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Merging remotes/origin/main commit 8f9dabbcd23e32bae175015e2a15c1f428ed019f into PR head commit 67a8320623b7619a7ca86474bb2d9d2932fcf24b > 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-ssh5015491986956333679.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 > git config core.sparsecheckout # timeout=10 > git checkout -f 67a8320623b7619a7ca86474bb2d9d2932fcf24b # timeout=10 Merge succeeded, producing 67a8320623b7619a7ca86474bb2d9d2932fcf24b Checking out Revision 67a8320623b7619a7ca86474bb2d9d2932fcf24b (PR-148) > 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-ssh3602231390774575441.key > git merge 8f9dabbcd23e32bae175015e2a15c1f428ed019f # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 67a8320623b7619a7ca86474bb2d9d2932fcf24b # timeout=10 Commit message: "refactor(snap): remove redundant content indentifier" First time build. Skipping changelog. > git rev-list --no-walk a74cd4e34615fdc29e084b9a9bde0ca42c8b4b79 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2021-12-02T09:57:03.094Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2021-12-02T09:57:03.134Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2021-12-02T09:57:03.152Z] ========================================================= [2021-12-02T09:57:03.152Z] EdgeX Global Pipelines Version Info [2021-12-02T09:57:03.152Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2021-12-02T09:57:04.280Z] ------------------- [2021-12-02T09:57:04.280Z] stable info: [2021-12-02T09:57:04.280Z] ------------------- [2021-12-02T09:57:04.280Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2021-12-02T09:57:04.280Z] Commit SHA: 32edd24ee733e309d05e35b1f887f14b07bde6d0 [2021-12-02T09:57:04.280Z] Message: update stable to v1.0.217 [2021-12-02T09:57:05.231Z] ------------------- [2021-12-02T09:57:05.231Z] experimental info: [2021-12-02T09:57:05.231Z] ------------------- [2021-12-02T09:57:05.231Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2021-12-02T09:57:05.231Z] Commit SHA: 32edd24ee733e309d05e35b1f887f14b07bde6d0 [2021-12-02T09:57:05.231Z] Message: update experimental to v1.0.217 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2021-12-02T09:57:05.359Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-rest-go-settings [Pipeline] echo [2021-12-02T09:57:05.371Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-rest-go [Pipeline] echo [2021-12-02T09:57:05.380Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2021-12-02T09:57:05.389Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2021-12-02T09:57:05.398Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2021-12-02T09:57:05.407Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.16 [Pipeline] echo [2021-12-02T09:57:05.416Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2021-12-02T09:57:05.425Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2021-12-02T09:57:05.439Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2021-12-02T09:57:05.450Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2021-12-02T09:57:05.462Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2021-12-02T09:57:05.473Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-rest [Pipeline] echo [2021-12-02T09:57:05.491Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2021-12-02T09:57:05.506Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2021-12-02T09:57:05.517Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2021-12-02T09:57:05.533Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2021-12-02T09:57:05.552Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2021-12-02T09:57:05.570Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2021-12-02T09:57:05.585Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2021-12-02T09:57:05.596Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2021-12-02T09:57:05.610Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2021-12-02T09:57:05.627Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2021-12-02T09:57:05.640Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2021-12-02T09:57:05.652Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2021-12-02T09:57:05.664Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2021-12-02T09:57:05.676Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2021-12-02T09:57:05.695Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-148 [Pipeline] echo [2021-12-02T09:57:05.713Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-148 [Pipeline] echo [2021-12-02T09:57:05.727Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-148 [Pipeline] echo [2021-12-02T09:57:05.743Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 67a8320623b7619a7ca86474bb2d9d2932fcf24b [Pipeline] echo [2021-12-02T09:57:05.757Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 67a8320 [Pipeline] echo [2021-12-02T09:57:05.769Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-12-02T09:57:05.809Z] provisioning config files... [2021-12-02T09:57:05.823Z] copy managed file [device-rest-go-settings] to file:/w/workspace/gexfoundry_device-rest-go_PR-148@tmp/config5168413069635808021tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-12-02T09:57:06.136Z] ---> docker-login.sh [2021-12-02T09:57:06.136Z] nexus3.edgexfoundry.org:10001 [2021-12-02T09:57:06.136Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-12-02T09:57:06.400Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-12-02T09:57:06.400Z] Configure a credential helper to remove this warning. See [2021-12-02T09:57:06.400Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-12-02T09:57:06.400Z] [2021-12-02T09:57:06.400Z] Login Succeeded [2021-12-02T09:57:06.400Z] nexus3.edgexfoundry.org:10002 [2021-12-02T09:57:06.400Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-12-02T09:57:06.400Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-12-02T09:57:06.400Z] Configure a credential helper to remove this warning. See [2021-12-02T09:57:06.400Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-12-02T09:57:06.400Z] [2021-12-02T09:57:06.400Z] Login Succeeded [2021-12-02T09:57:06.400Z] nexus3.edgexfoundry.org:10003 [2021-12-02T09:57:06.400Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-12-02T09:57:06.665Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-12-02T09:57:06.665Z] Configure a credential helper to remove this warning. See [2021-12-02T09:57:06.665Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-12-02T09:57:06.665Z] [2021-12-02T09:57:06.665Z] Login Succeeded [2021-12-02T09:57:06.665Z] nexus3.edgexfoundry.org:10004 [2021-12-02T09:57:06.665Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-12-02T09:57:06.665Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-12-02T09:57:06.665Z] Configure a credential helper to remove this warning. See [2021-12-02T09:57:06.665Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-12-02T09:57:06.665Z] [2021-12-02T09:57:06.665Z] Login Succeeded [2021-12-02T09:57:06.665Z] docker.io [2021-12-02T09:57:06.665Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-12-02T09:57:07.242Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-12-02T09:57:07.242Z] Configure a credential helper to remove this warning. See [2021-12-02T09:57:07.242Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-12-02T09:57:07.242Z] [2021-12-02T09:57:07.242Z] Login Succeeded [2021-12-02T09:57:07.242Z] ---> docker-login.sh ends [Pipeline] } [2021-12-02T09:57:07.251Z] 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:57:07.678Z] + git rev-list -1 --merges 67a8320623b7619a7ca86474bb2d9d2932fcf24b~1..67a8320623b7619a7ca86474bb2d9d2932fcf24b [Pipeline] echo [2021-12-02T09:57:07.708Z] -----------> git rev-list -1 --merges 67a8320623b7619a7ca86474bb2d9d2932fcf24b~1..67a8320623b7619a7ca86474bb2d9d2932fcf24b 67a8320623b7619a7ca86474bb2d9d2932fcf24b [false] [Pipeline] sh [2021-12-02T09:57:08.007Z] + git log --format=format:%s -1 67a8320623b7619a7ca86474bb2d9d2932fcf24b [Pipeline] echo [2021-12-02T09:57:08.027Z] ========================================================= [2021-12-02T09:57:08.027Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2021-12-02T09:57:08.027Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-12-02T09:57:08.347Z] + git log --format=format:%s -1 67a8320623b7619a7ca86474bb2d9d2932fcf24b [Pipeline] echo [2021-12-02T09:57:08.359Z] [semverPrep] GIT_COMMIT: 67a8320623b7619a7ca86474bb2d9d2932fcf24b, Commit Message: refactor(snap): remove redundant content indentifier [Pipeline] echo [2021-12-02T09:57:08.369Z] [semverPrep] This is not a build commit. [Pipeline] sh [2021-12-02T09:57:08.770Z] + grep 'github.com ecdsa' /etc/ssh/ssh_known_hosts [2021-12-02T09:57:08.771Z] + grep -v github /etc/ssh/ssh_known_hosts [2021-12-02T09:57:08.771Z] + '[' -e /tmp/ssh_known_hosts ']' [2021-12-02T09:57:08.771Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2021-12-02T09:57:08.771Z] + echo 'github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg=' [2021-12-02T09:57:08.771Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2021-12-02T09:57:08.771Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] sh [2021-12-02T09:57:09.125Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-12-02T09:57:09.125Z] [2021-12-02T09:57:09.125Z] Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh [2021-12-02T09:57:09.439Z] + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-12-02T09:57:09.439Z] latest: Pulling from edgex-devops/git-semver [2021-12-02T09:57:09.439Z] a0d0a0d46f8b: Pulling fs layer [2021-12-02T09:57:09.439Z] 3e5f54012d9b: Pulling fs layer [2021-12-02T09:57:09.439Z] 4c7163046ea9: Pulling fs layer [2021-12-02T09:57:09.439Z] 0c2d73faf560: Pulling fs layer [2021-12-02T09:57:09.439Z] 0c2d73faf560: Waiting [2021-12-02T09:57:09.439Z] 3e5f54012d9b: Verifying Checksum [2021-12-02T09:57:09.439Z] 3e5f54012d9b: Download complete [2021-12-02T09:57:09.439Z] a0d0a0d46f8b: Verifying Checksum [2021-12-02T09:57:09.439Z] a0d0a0d46f8b: Download complete [2021-12-02T09:57:09.439Z] 4c7163046ea9: Verifying Checksum [2021-12-02T09:57:09.439Z] 4c7163046ea9: Download complete [2021-12-02T09:57:09.439Z] 0c2d73faf560: Verifying Checksum [2021-12-02T09:57:09.439Z] 0c2d73faf560: Download complete [2021-12-02T09:57:09.707Z] a0d0a0d46f8b: Pull complete [2021-12-02T09:57:09.707Z] 3e5f54012d9b: Pull complete [2021-12-02T09:57:09.968Z] 4c7163046ea9: Pull complete [2021-12-02T09:57:10.232Z] 0c2d73faf560: Pull complete [2021-12-02T09:57:10.232Z] Digest: sha256:2751de6e655929dcbe46418c7769d9d992331b5b721eb968631a4166222929f9 [2021-12-02T09:57:10.232Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-12-02T09:57:10.232Z] nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer [2021-12-02T09:57:10.315Z] prd-centos7-docker-4c-2g-58 does not seem to be running inside a container [2021-12-02T09:57:10.359Z] $ 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 ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat [2021-12-02T09:57:10.977Z] $ docker top 32de99c5813dd94d4fa09545013605f05ccaa4fc1784ab541ab96bbbe35c317b -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2021-12-02T09:57:11.075Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-12-02T09:57:11.075Z] [ssh-agent] Looking for ssh-agent implementation... [2021-12-02T09:57:11.186Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-12-02T09:57:11.190Z] $ docker exec 32de99c5813dd94d4fa09545013605f05ccaa4fc1784ab541ab96bbbe35c317b ssh-agent [2021-12-02T09:57:11.302Z] SSH_AUTH_SOCK=/tmp/ssh-XXXXXXHkoAKM/agent.13 [2021-12-02T09:57:11.302Z] SSH_AGENT_PID=19 [2021-12-02T09:57:11.312Z] Running ssh-add (command line suppressed) [2021-12-02T09:57:11.410Z] Identity added: /w/workspace/gexfoundry_device-rest-go_PR-148@tmp/private_key_4395536794349905739.key (/w/workspace/gexfoundry_device-rest-go_PR-148@tmp/private_key_4395536794349905739.key) [2021-12-02T09:57:11.423Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-12-02T09:57:11.729Z] + git tag --points-at HEAD [Pipeline] } [2021-12-02T09:57:11.744Z] $ docker exec --env ******** --env ******** 32de99c5813dd94d4fa09545013605f05ccaa4fc1784ab541ab96bbbe35c317b ssh-agent -k [2021-12-02T09:57:11.844Z] unset SSH_AUTH_SOCK; [2021-12-02T09:57:11.845Z] unset SSH_AGENT_PID; [2021-12-02T09:57:11.845Z] echo Agent pid 19 killed; [2021-12-02T09:57:11.856Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2021-12-02T09:57:11.881Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-12-02T09:57:11.881Z] [ssh-agent] Looking for ssh-agent implementation... [2021-12-02T09:57:11.996Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-12-02T09:57:12.001Z] $ docker exec 32de99c5813dd94d4fa09545013605f05ccaa4fc1784ab541ab96bbbe35c317b ssh-agent [2021-12-02T09:57:12.122Z] SSH_AUTH_SOCK=/tmp/ssh-XXXXXXALHMhm/agent.53 [2021-12-02T09:57:12.122Z] SSH_AGENT_PID=59 [2021-12-02T09:57:12.127Z] Running ssh-add (command line suppressed) [2021-12-02T09:57:12.244Z] Identity added: /w/workspace/gexfoundry_device-rest-go_PR-148@tmp/private_key_78613262779737550.key (/w/workspace/gexfoundry_device-rest-go_PR-148@tmp/private_key_78613262779737550.key) [2021-12-02T09:57:12.259Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-12-02T09:57:12.557Z] + git semver init [2021-12-02T09:57:12.557Z] # -> Open(): unable to determine branch for HEAD [2021-12-02T09:57:12.557Z] # $GIT_DIR = /w/workspace/gexfoundry_device-rest-go_PR-148/.git [2021-12-02T09:57:12.557Z] # $GIT_WORK_TREE = /w/workspace/gexfoundry_device-rest-go_PR-148 [2021-12-02T09:57:12.557Z] # $SEMVER_REMOTE_NAME = origin [2021-12-02T09:57:12.557Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2021-12-02T09:57:12.557Z] # $SEMVER_USER_NAME = edgex-jenkins [2021-12-02T09:57:12.557Z] # $SEMVER_BRANCH = PR-148 [2021-12-02T09:57:12.557Z] # $SEMVER_TEMP = /tmp/semver-433727490 [2021-12-02T09:57:12.557Z] # git clone --branch semver git@github.com:edgexfoundry/device-rest-go.git $SEMVER_TEMP [2021-12-02T09:57:13.947Z] # '/tmp/semver-433727490' -> '/w/workspace/gexfoundry_device-rest-go_PR-148/.semver' [2021-12-02T09:57:13.947Z] # -> Force: false [2021-12-02T09:57:13.947Z] # $SEMVER_DIR = /w/workspace/gexfoundry_device-rest-go_PR-148/.semver [Pipeline] } [2021-12-02T09:57:13.959Z] $ docker exec --env ******** --env ******** 32de99c5813dd94d4fa09545013605f05ccaa4fc1784ab541ab96bbbe35c317b ssh-agent -k [2021-12-02T09:57:14.052Z] unset SSH_AUTH_SOCK; [2021-12-02T09:57:14.052Z] unset SSH_AGENT_PID; [2021-12-02T09:57:14.052Z] echo Agent pid 59 killed; [2021-12-02T09:57:14.061Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2021-12-02T09:57:14.381Z] + git semver [Pipeline] } [2021-12-02T09:57:14.396Z] $ docker stop --time=1 32de99c5813dd94d4fa09545013605f05ccaa4fc1784ab541ab96bbbe35c317b [2021-12-02T09:57:15.663Z] $ docker rm -f 32de99c5813dd94d4fa09545013605f05ccaa4fc1784ab541ab96bbbe35c317b [Pipeline] // withDockerContainer [Pipeline] sh [2021-12-02T09:57:16.022Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2021-12-02T09:57:16.272Z] Stashed 1 file(s) [Pipeline] echo [2021-12-02T09:57:16.277Z] [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:57:31.431Z] Still waiting to schedule task [2021-12-02T09:57:31.431Z] Waiting for next available executor on ‘centos7-docker-4c-2g’ [2021-12-02T09:57:31.433Z] Still waiting to schedule task [2021-12-02T09:57:31.434Z] All nodes of label ‘ubuntu18.04-docker-arm64-4c-16g’ are offline [2021-12-02T09:58:54.064Z] Running on prd-centos7-docker-4c-2g-61 in /w/workspace/gexfoundry_device-rest-go_PR-148 [Pipeline] { [Pipeline] ws [2021-12-02T09:58:54.075Z] Running in /w/workspace/device-rest-go/2 [Pipeline] { [Pipeline] checkout [2021-12-02T09:58:54.153Z] The recommended git tool is: git [2021-12-02T09:58:55.830Z] using credential edgex-jenkins-ssh [2021-12-02T09:58:55.841Z] Cloning the remote Git repository [2021-12-02T09:58:54.957Z] Cloning repository git@github.com:edgexfoundry/device-rest-go.git [2021-12-02T09:58:55.013Z] > git init /w/workspace/device-rest-go/2 # timeout=10 [2021-12-02T09:58:55.094Z] Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git [2021-12-02T09:58:55.094Z] > git --version # timeout=10 [2021-12-02T09:58:55.104Z] > git --version # 'git version 2.24.4' [2021-12-02T09:58:55.104Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-12-02T09:58:55.130Z] [INFO] Currently running in a labeled security context [2021-12-02T09:58:55.131Z] [INFO] Currently SELinux is 'enforcing' on the host [2021-12-02T09:58:55.131Z] > /usr/bin/chcon --type=ssh_home_t /w/workspace/device-rest-go/2@tmp/jenkins-gitclient-ssh8945219423109067531.key [2021-12-02T09:58:55.156Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-12-02T09:58:57.499Z] Merging remotes/origin/main commit 8f9dabbcd23e32bae175015e2a15c1f428ed019f into PR head commit 67a8320623b7619a7ca86474bb2d9d2932fcf24b [2021-12-02T09:58:56.045Z] > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 [2021-12-02T09:58:56.052Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-12-02T09:58:56.063Z] > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 [2021-12-02T09:58:56.073Z] Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git [2021-12-02T09:58:56.073Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-12-02T09:58:56.074Z] [INFO] Currently running in a labeled security context [2021-12-02T09:58:56.074Z] [INFO] Currently SELinux is 'enforcing' on the host [2021-12-02T09:58:56.074Z] > /usr/bin/chcon --type=ssh_home_t /w/workspace/device-rest-go/2@tmp/jenkins-gitclient-ssh1275037459392072319.key [2021-12-02T09:58:56.082Z] > 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:58:56.604Z] > git config core.sparsecheckout # timeout=10 [2021-12-02T09:58:56.616Z] > git checkout -f 67a8320623b7619a7ca86474bb2d9d2932fcf24b # timeout=10 [2021-12-02T09:58:57.602Z] Merge succeeded, producing 67a8320623b7619a7ca86474bb2d9d2932fcf24b [2021-12-02T09:58:57.602Z] Checking out Revision 67a8320623b7619a7ca86474bb2d9d2932fcf24b (PR-148) [2021-12-02T09:58:56.648Z] > git remote # timeout=10 [2021-12-02T09:58:56.656Z] > git config --get remote.origin.url # timeout=10 [2021-12-02T09:58:56.664Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-12-02T09:58:56.664Z] [INFO] Currently running in a labeled security context [2021-12-02T09:58:56.664Z] [INFO] Currently SELinux is 'enforcing' on the host [2021-12-02T09:58:56.664Z] > /usr/bin/chcon --type=ssh_home_t /w/workspace/device-rest-go/2@tmp/jenkins-gitclient-ssh5341500309917121827.key [2021-12-02T09:58:56.676Z] > git merge 8f9dabbcd23e32bae175015e2a15c1f428ed019f # timeout=10 [2021-12-02T09:58:56.688Z] > git rev-parse HEAD^{commit} # timeout=10 [2021-12-02T09:58:56.701Z] > git config core.sparsecheckout # timeout=10 [2021-12-02T09:58:56.711Z] > git checkout -f 67a8320623b7619a7ca86474bb2d9d2932fcf24b # timeout=10 [2021-12-02T09:59:01.082Z] Commit message: "refactor(snap): remove redundant content indentifier" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-12-02T09:59:01.492Z] provisioning config files... [2021-12-02T09:59:01.505Z] copy managed file [device-rest-go-settings] to file:/w/workspace/device-rest-go/2@tmp/config9044748257198959462tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-12-02T09:59:01.894Z] ---> docker-login.sh [2021-12-02T09:59:01.894Z] nexus3.edgexfoundry.org:10001 [2021-12-02T09:59:01.894Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-12-02T09:59:01.894Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-12-02T09:59:01.894Z] Configure a credential helper to remove this warning. See [2021-12-02T09:59:01.894Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-12-02T09:59:01.894Z] [2021-12-02T09:59:01.894Z] Login Succeeded [2021-12-02T09:59:01.894Z] nexus3.edgexfoundry.org:10002 [2021-12-02T09:59:02.155Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-12-02T09:59:02.155Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-12-02T09:59:02.155Z] Configure a credential helper to remove this warning. See [2021-12-02T09:59:02.155Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-12-02T09:59:02.155Z] [2021-12-02T09:59:02.155Z] Login Succeeded [2021-12-02T09:59:02.155Z] nexus3.edgexfoundry.org:10003 [2021-12-02T09:59:02.155Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-12-02T09:59:02.155Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-12-02T09:59:02.155Z] Configure a credential helper to remove this warning. See [2021-12-02T09:59:02.155Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-12-02T09:59:02.155Z] [2021-12-02T09:59:02.155Z] Login Succeeded [2021-12-02T09:59:02.155Z] nexus3.edgexfoundry.org:10004 [2021-12-02T09:59:02.417Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-12-02T09:59:02.417Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-12-02T09:59:02.417Z] Configure a credential helper to remove this warning. See [2021-12-02T09:59:02.417Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-12-02T09:59:02.417Z] [2021-12-02T09:59:02.417Z] Login Succeeded [2021-12-02T09:59:02.417Z] docker.io [2021-12-02T09:59:02.418Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-12-02T09:59:02.678Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-12-02T09:59:02.678Z] Configure a credential helper to remove this warning. See [2021-12-02T09:59:02.678Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-12-02T09:59:02.678Z] [2021-12-02T09:59:02.678Z] Login Succeeded [2021-12-02T09:59:02.678Z] ---> docker-login.sh ends [Pipeline] } [2021-12-02T09:59:02.762Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2021-12-02T09:59:02.893Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2021-12-02T09:59:02.907Z] ========================================================= [2021-12-02T09:59:02.907Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine] [2021-12-02T09:59:02.907Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh [2021-12-02T09:59:03.231Z] + 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:59:03.231Z] Sending build context to Docker daemon 121.9kB [2021-12-02T09:59:03.231Z] Step 1/11 : ARG BASE=golang:1.16-alpine3.14 [2021-12-02T09:59:03.231Z] Step 2/11 : FROM ${BASE} AS builder [2021-12-02T09:59:03.231Z] 1.16-alpine: Pulling from edgex-devops/edgex-golang-base [2021-12-02T09:59:03.231Z] a0d0a0d46f8b: Pulling fs layer [2021-12-02T09:59:03.231Z] 31adcdaf11c8: Pulling fs layer [2021-12-02T09:59:03.231Z] b8b176561691: Pulling fs layer [2021-12-02T09:59:03.231Z] 4527c011a84f: Pulling fs layer [2021-12-02T09:59:03.231Z] 5d74067f8e1e: Pulling fs layer [2021-12-02T09:59:03.231Z] e0aca202a116: Pulling fs layer [2021-12-02T09:59:03.231Z] 3a43be97a3b4: Pulling fs layer [2021-12-02T09:59:03.231Z] 34cad66bf833: Pulling fs layer [2021-12-02T09:59:03.231Z] b4e3c513aaa6: Pulling fs layer [2021-12-02T09:59:03.231Z] e0aca202a116: Waiting [2021-12-02T09:59:03.231Z] 3a43be97a3b4: Waiting [2021-12-02T09:59:03.231Z] 4527c011a84f: Waiting [2021-12-02T09:59:03.231Z] 5d74067f8e1e: Waiting [2021-12-02T09:59:03.231Z] 34cad66bf833: Waiting [2021-12-02T09:59:03.231Z] b4e3c513aaa6: Waiting [2021-12-02T09:59:03.231Z] b8b176561691: Verifying Checksum [2021-12-02T09:59:03.231Z] b8b176561691: Download complete [2021-12-02T09:59:03.231Z] 31adcdaf11c8: Verifying Checksum [2021-12-02T09:59:03.231Z] 31adcdaf11c8: Download complete [2021-12-02T09:59:03.231Z] 5d74067f8e1e: Verifying Checksum [2021-12-02T09:59:03.231Z] 5d74067f8e1e: Download complete [2021-12-02T09:59:03.231Z] e0aca202a116: Verifying Checksum [2021-12-02T09:59:03.231Z] e0aca202a116: Download complete [2021-12-02T09:59:03.231Z] a0d0a0d46f8b: Verifying Checksum [2021-12-02T09:59:03.231Z] a0d0a0d46f8b: Download complete [2021-12-02T09:59:03.231Z] 3a43be97a3b4: Verifying Checksum [2021-12-02T09:59:03.231Z] 3a43be97a3b4: Download complete [2021-12-02T09:59:03.503Z] 34cad66bf833: Verifying Checksum [2021-12-02T09:59:03.503Z] 34cad66bf833: Download complete [2021-12-02T09:59:03.780Z] 4527c011a84f: Verifying Checksum [2021-12-02T09:59:03.780Z] 4527c011a84f: Download complete [2021-12-02T09:59:03.780Z] a0d0a0d46f8b: Pull complete [2021-12-02T09:59:04.042Z] b4e3c513aaa6: Verifying Checksum [2021-12-02T09:59:04.042Z] b4e3c513aaa6: Download complete [2021-12-02T09:59:04.042Z] 31adcdaf11c8: Pull complete [2021-12-02T09:59:04.042Z] b8b176561691: Pull complete [2021-12-02T09:59:08.290Z] 4527c011a84f: Pull complete [2021-12-02T09:59:08.290Z] 5d74067f8e1e: Pull complete [2021-12-02T09:59:08.290Z] e0aca202a116: Pull complete [2021-12-02T09:59:08.290Z] 3a43be97a3b4: Pull complete [2021-12-02T09:59:08.290Z] 34cad66bf833: Pull complete [2021-12-02T09:59:10.220Z] b4e3c513aaa6: Pull complete [2021-12-02T09:59:10.220Z] Digest: sha256:75229776e65f3af88907aed05f91058a30c94a2fbbc20266ef4560f68deb3433 [2021-12-02T09:59:10.220Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine [2021-12-02T09:59:10.220Z] ---> 9f6097aaca64 [2021-12-02T09:59:10.220Z] Step 3/11 : ARG MAKE='make build' [2021-12-02T09:59:14.430Z] ---> Running in 67c3cf9983db [2021-12-02T09:59:14.430Z] Removing intermediate container 67c3cf9983db [2021-12-02T09:59:14.430Z] ---> 6ae473c4bf01 [2021-12-02T09:59:14.430Z] Step 4/11 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2021-12-02T09:59:14.430Z] ---> Running in 2673a050f754 [2021-12-02T09:59:14.430Z] Removing intermediate container 2673a050f754 [2021-12-02T09:59:14.430Z] ---> 3dde31fa51b4 [2021-12-02T09:59:14.430Z] Step 5/11 : ARG ALPINE_PKG_EXTRA="" [2021-12-02T09:59:14.430Z] ---> Running in 065e5dc31c2c [2021-12-02T09:59:14.430Z] Removing intermediate container 065e5dc31c2c [2021-12-02T09:59:14.430Z] ---> d3eb1ea8055c [2021-12-02T09:59:14.430Z] Step 6/11 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-12-02T09:59:14.430Z] ---> Running in d1adef3ea445 [2021-12-02T09:59:14.430Z] Removing intermediate container d1adef3ea445 [2021-12-02T09:59:14.430Z] ---> cb98b2e0934d [2021-12-02T09:59:14.430Z] Step 7/11 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2021-12-02T09:59:14.430Z] ---> Running in c4908bfc744f [2021-12-02T09:59:14.692Z] fetch https://nl.alpinelinux.org/alpine/v3.14/main/x86_64/APKINDEX.tar.gz [2021-12-02T09:59:15.636Z] fetch https://nl.alpinelinux.org/alpine/v3.14/community/x86_64/APKINDEX.tar.gz [2021-12-02T09:59:15.898Z] (1/4) Installing openssh-keygen (8.6_p1-r3) [2021-12-02T09:59:15.898Z] (2/4) Installing libedit (20210216.3.1-r0) [2021-12-02T09:59:15.898Z] (3/4) Installing openssh-client-common (8.6_p1-r3) [2021-12-02T09:59:16.161Z] (4/4) Installing openssh-client-default (8.6_p1-r3) [2021-12-02T09:59:16.161Z] Executing busybox-1.33.1-r3.trigger [2021-12-02T09:59:16.161Z] OK: 224 MiB in 56 packages [2021-12-02T09:59:16.421Z] Removing intermediate container c4908bfc744f [2021-12-02T09:59:16.421Z] ---> e2876853bb35 [2021-12-02T09:59:16.421Z] Step 8/11 : WORKDIR /device-rest-go [2021-12-02T09:59:16.421Z] ---> Running in 80700ba979cd [2021-12-02T09:59:16.682Z] Removing intermediate container 80700ba979cd [2021-12-02T09:59:16.682Z] ---> ad53662c86f5 [2021-12-02T09:59:16.682Z] Step 9/11 : COPY . . [2021-12-02T09:59:16.682Z] ---> edcd16108428 [2021-12-02T09:59:16.682Z] Step 10/11 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2021-12-02T09:59:16.682Z] ---> Running in 29867012735e [2021-12-02T09:59:27.362Z] Running on prd-ubuntu18.04-docker-arm64-4c-16g-60 in /w/workspace/gexfoundry_device-rest-go_PR-148 [Pipeline] { [Pipeline] ws [2021-12-02T09:59:27.377Z] Running in /w/workspace/device-rest-go/2 [Pipeline] { [Pipeline] checkout [2021-12-02T09:59:27.682Z] The recommended git tool is: git [2021-12-02T09:59:32.730Z] using credential edgex-jenkins-ssh [2021-12-02T09:59:32.758Z] Cloning the remote Git repository [2021-12-02T09:59:32.827Z] Cloning repository git@github.com:edgexfoundry/device-rest-go.git [2021-12-02T09:59:32.916Z] > git init /w/workspace/device-rest-go/2 # timeout=10 [2021-12-02T09:59:33.014Z] Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git [2021-12-02T09:59:33.015Z] > git --version # timeout=10 [2021-12-02T09:59:33.035Z] > git --version # 'git version 2.17.1' [2021-12-02T09:59:33.037Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-12-02T09:59:33.153Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-12-02T09:59:35.098Z] > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 [2021-12-02T09:59:35.116Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-12-02T09:59:35.147Z] > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 [2021-12-02T09:59:35.845Z] Merging remotes/origin/main commit 8f9dabbcd23e32bae175015e2a15c1f428ed019f into PR head commit 67a8320623b7619a7ca86474bb2d9d2932fcf24b [2021-12-02T09:59:36.085Z] Merge succeeded, producing 67a8320623b7619a7ca86474bb2d9d2932fcf24b [2021-12-02T09:59:36.086Z] Checking out Revision 67a8320623b7619a7ca86474bb2d9d2932fcf24b (PR-148) [2021-12-02T09:59:35.190Z] Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git [2021-12-02T09:59:35.191Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-12-02T09:59:35.208Z] > 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:59:35.870Z] > git config core.sparsecheckout # timeout=10 [2021-12-02T09:59:35.898Z] > git checkout -f 67a8320623b7619a7ca86474bb2d9d2932fcf24b # timeout=10 [2021-12-02T09:59:35.992Z] > git remote # timeout=10 [2021-12-02T09:59:36.017Z] > git config --get remote.origin.url # timeout=10 [2021-12-02T09:59:36.033Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-12-02T09:59:36.045Z] > git merge 8f9dabbcd23e32bae175015e2a15c1f428ed019f # timeout=10 [2021-12-02T09:59:36.070Z] > git rev-parse HEAD^{commit} # timeout=10 [2021-12-02T09:59:36.100Z] > git config core.sparsecheckout # timeout=10 [2021-12-02T09:59:36.124Z] > git checkout -f 67a8320623b7619a7ca86474bb2d9d2932fcf24b # timeout=10 [2021-12-02T09:59:40.331Z] Commit message: "refactor(snap): remove redundant content indentifier" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-12-02T09:59:41.145Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2021-12-02T09:59:41.145Z] % Total % Received % Xferd Average Speed Time Time Time Current [2021-12-02T09:59:41.145Z] Dload Upload Total Spent Left Speed [2021-12-02T09:59:41.145Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 11824 100 11824 0 0 206k 0 --:--:-- --:--:-- --:--:-- 206k [Pipeline] sh [2021-12-02T09:59:41.692Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2021-12-02T09:59:42.046Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2021-12-02T09:59:42.046Z] + sudo tee /etc/docker/daemon.new [2021-12-02T09:59:42.046Z] { [2021-12-02T09:59:42.046Z] "registry-mirrors": [ [2021-12-02T09:59:42.046Z] "https://nexus3.edgexfoundry.org:10001" [2021-12-02T09:59:42.046Z] ], [2021-12-02T09:59:42.046Z] "bip": "10.250.0.254/24", [2021-12-02T09:59:42.046Z] "hosts": [ [2021-12-02T09:59:42.046Z] "tcp://0.0.0.0:5555", [2021-12-02T09:59:42.046Z] "unix:///var/run/docker.sock" [2021-12-02T09:59:42.046Z] ], [2021-12-02T09:59:42.046Z] "mtu": 1458, [2021-12-02T09:59:42.046Z] "selinux-enabled": true, [2021-12-02T09:59:42.046Z] "seccomp-profile": "/etc/docker/seccomp.json" [2021-12-02T09:59:42.046Z] } [Pipeline] sh [2021-12-02T09:59:42.462Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2021-12-02T09:59:42.812Z] + sudo service docker restart [2021-12-02T09:59:43.327Z] Removing intermediate container 29867012735e [2021-12-02T09:59:43.327Z] ---> 4ac61b9bd64c [2021-12-02T09:59:43.327Z] Step 11/11 : RUN $MAKE [2021-12-02T09:59:43.327Z] ---> Running in 36358cb4cbae [2021-12-02T09:59:43.327Z] noop [2021-12-02T09:59:43.328Z] Removing intermediate container 36358cb4cbae [2021-12-02T09:59:43.328Z] ---> b0d38ea37ba8 [2021-12-02T09:59:43.328Z] Successfully built b0d38ea37ba8 [2021-12-02T09:59:43.328Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh [2021-12-02T09:59:43.626Z] + docker inspect -f . ci-base-image-x86_64 [2021-12-02T09:59:43.626Z] . [Pipeline] withDockerContainer [2021-12-02T09:59:43.698Z] prd-centos7-docker-4c-2g-61 does not seem to be running inside a container [2021-12-02T09:59:43.738Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-rest-go/2 -v /w/workspace/device-rest-go/2:/w/workspace/device-rest-go/2:rw,z -v /w/workspace/device-rest-go/2@tmp:/w/workspace/device-rest-go/2@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2021-12-02T09:59:44.111Z] $ docker top 55571e5a2f59d6385ccd53ddfca34621a559c0b735566f7ec1d03146e078c2d7 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-12-02T09:59:44.473Z] + go version [2021-12-02T09:59:44.473Z] go version go1.16.8 linux/amd64 [Pipeline] } [2021-12-02T09:59:44.483Z] $ docker stop --time=1 55571e5a2f59d6385ccd53ddfca34621a559c0b735566f7ec1d03146e078c2d7 [2021-12-02T09:59:45.662Z] $ docker rm -f 55571e5a2f59d6385ccd53ddfca34621a559c0b735566f7ec1d03146e078c2d7 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-12-02T09:59:46.153Z] + docker inspect -f . ci-base-image-x86_64 [2021-12-02T09:59:46.153Z] . [Pipeline] withDockerContainer [2021-12-02T09:59:46.211Z] prd-centos7-docker-4c-2g-61 does not seem to be running inside a container [2021-12-02T09:59:46.241Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-rest-go/2 -v /w/workspace/device-rest-go/2:/w/workspace/device-rest-go/2:rw,z -v /w/workspace/device-rest-go/2@tmp:/w/workspace/device-rest-go/2@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2021-12-02T09:59:46.593Z] $ docker top 809eca84cc4178edeac7bc287932327d5551adbaacc7f8d43dda59beb6441d91 -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh [2021-12-02T09:59:46.970Z] + make test [2021-12-02T09:59:46.970Z] CGO_ENABLED=1 GO111MODULE=on go test -coverprofile=coverage.out ./... [2021-12-02T09:59:47.232Z] ? github.com/edgexfoundry/device-rest-go [no test files] [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-12-02T10:00:01.155Z] provisioning config files... [2021-12-02T10:00:01.186Z] copy managed file [device-rest-go-settings] to file:/w/workspace/device-rest-go/2@tmp/config8602827409549726132tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-12-02T10:00:01.551Z] ---> docker-login.sh [2021-12-02T10:00:01.551Z] nexus3.edgexfoundry.org:10001 [2021-12-02T10:00:02.148Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-12-02T10:00:02.206Z] ? github.com/edgexfoundry/device-rest-go/cmd [no test files] [2021-12-02T10:00:02.423Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-12-02T10:00:02.423Z] Configure a credential helper to remove this warning. See [2021-12-02T10:00:02.423Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-12-02T10:00:02.423Z] [2021-12-02T10:00:02.423Z] Login Succeeded [2021-12-02T10:00:02.423Z] nexus3.edgexfoundry.org:10002 [2021-12-02T10:00:02.694Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-12-02T10:00:02.694Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-12-02T10:00:02.694Z] Configure a credential helper to remove this warning. See [2021-12-02T10:00:02.694Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-12-02T10:00:02.694Z] [2021-12-02T10:00:02.694Z] Login Succeeded [2021-12-02T10:00:02.694Z] nexus3.edgexfoundry.org:10003 [2021-12-02T10:00:03.175Z] ok github.com/edgexfoundry/device-rest-go/driver 0.013s coverage: 56.0% of statements [2021-12-02T10:00:03.175Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2021-12-02T10:00:03.294Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-12-02T10:00:03.294Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-12-02T10:00:03.294Z] Configure a credential helper to remove this warning. See [2021-12-02T10:00:03.294Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-12-02T10:00:03.294Z] [2021-12-02T10:00:03.294Z] Login Succeeded [2021-12-02T10:00:03.294Z] nexus3.edgexfoundry.org:10004 [2021-12-02T10:00:03.573Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-12-02T10:00:03.848Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-12-02T10:00:03.848Z] Configure a credential helper to remove this warning. See [2021-12-02T10:00:03.848Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-12-02T10:00:03.848Z] [2021-12-02T10:00:03.848Z] Login Succeeded [2021-12-02T10:00:03.848Z] docker.io [2021-12-02T10:00:04.122Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-12-02T10:00:04.713Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-12-02T10:00:04.713Z] Configure a credential helper to remove this warning. See [2021-12-02T10:00:04.713Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-12-02T10:00:04.713Z] [2021-12-02T10:00:04.713Z] Login Succeeded [2021-12-02T10:00:04.713Z] ---> docker-login.sh ends [Pipeline] } [2021-12-02T10:00:04.731Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2021-12-02T10:00:05.266Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2021-12-02T10:00:05.283Z] ========================================================= [2021-12-02T10:00:05.283Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine] [2021-12-02T10:00:05.283Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh [2021-12-02T10:00:05.628Z] + 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-02T10:00:05.628Z] Sending build context to Docker daemon 121.9kB [2021-12-02T10:00:05.904Z] Step 1/11 : ARG BASE=golang:1.16-alpine3.14 [2021-12-02T10:00:05.904Z] Step 2/11 : FROM ${BASE} AS builder [2021-12-02T10:00:06.180Z] 1.16-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2021-12-02T10:00:06.180Z] 552d1f2373af: Pulling fs layer [2021-12-02T10:00:06.180Z] ea3f2d53f512: Pulling fs layer [2021-12-02T10:00:06.180Z] 9e70ebbbe112: Pulling fs layer [2021-12-02T10:00:06.180Z] 7a9cfe048b4a: Pulling fs layer [2021-12-02T10:00:06.180Z] 7a9cfe048b4a: Waiting [2021-12-02T10:00:06.180Z] 72dc09318566: Pulling fs layer [2021-12-02T10:00:06.180Z] f4f7b4309257: Pulling fs layer [2021-12-02T10:00:06.180Z] 0ac9a79272e3: Pulling fs layer [2021-12-02T10:00:06.180Z] b78e95d17946: Pulling fs layer [2021-12-02T10:00:06.180Z] 72dc09318566: Waiting [2021-12-02T10:00:06.180Z] f4f7b4309257: Waiting [2021-12-02T10:00:06.180Z] 0ac9a79272e3: Waiting [2021-12-02T10:00:06.180Z] b78e95d17946: Waiting [2021-12-02T10:00:06.180Z] 9e70ebbbe112: Verifying Checksum [2021-12-02T10:00:06.180Z] 9e70ebbbe112: Download complete [2021-12-02T10:00:06.180Z] ea3f2d53f512: Verifying Checksum [2021-12-02T10:00:06.180Z] ea3f2d53f512: Download complete [2021-12-02T10:00:06.180Z] 72dc09318566: Download complete [2021-12-02T10:00:06.180Z] f4f7b4309257: Verifying Checksum [2021-12-02T10:00:06.180Z] f4f7b4309257: Download complete [2021-12-02T10:00:06.180Z] 552d1f2373af: Verifying Checksum [2021-12-02T10:00:06.180Z] 0ac9a79272e3: Download complete [2021-12-02T10:00:06.783Z] 552d1f2373af: Pull complete [2021-12-02T10:00:07.387Z] ea3f2d53f512: Pull complete [2021-12-02T10:00:07.991Z] 9e70ebbbe112: Pull complete [2021-12-02T10:00:07.991Z] b78e95d17946: Verifying Checksum [2021-12-02T10:00:07.991Z] b78e95d17946: Download complete [2021-12-02T10:00:08.627Z] 7a9cfe048b4a: Download complete [2021-12-02T10:00:09.981Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2021-12-02T10:00:09.981Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2021-12-02T10:00:09.981Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2021-12-02T10:00:10.264Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2021-12-02T10:00:10.275Z] $ docker stop --time=1 809eca84cc4178edeac7bc287932327d5551adbaacc7f8d43dda59beb6441d91 [2021-12-02T10:00:11.645Z] $ docker rm -f 809eca84cc4178edeac7bc287932327d5551adbaacc7f8d43dda59beb6441d91 [Pipeline] // withDockerContainer [Pipeline] sh [2021-12-02T10:00:12.039Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2021-12-02T10:00:12.212Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2021-12-02T10:00:12.890Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2021-12-02T10:00:13.183Z] + ls -al . [2021-12-02T10:00:13.183Z] total 148 [2021-12-02T10:00:13.183Z] drwxrwxr-x. 8 jenkins jenkins 4096 Dec 2 10:00 . [2021-12-02T10:00:13.183Z] drwxrwxr-x. 4 jenkins jenkins 28 Dec 2 09:58 .. [2021-12-02T10:00:13.183Z] -rw-rw-r--. 1 jenkins jenkins 7095 Dec 2 09:58 Attribution.txt [2021-12-02T10:00:13.183Z] drwxrwxr-x. 2 jenkins jenkins 37 Dec 2 09:58 bin [2021-12-02T10:00:13.183Z] -rw-rw-r--. 1 jenkins jenkins 7459 Dec 2 09:58 CHANGELOG.md [2021-12-02T10:00:13.183Z] drwxrwxr-x. 3 jenkins jenkins 32 Dec 2 09:58 cmd [2021-12-02T10:00:13.183Z] -rw-r--r--. 1 jenkins jenkins 9215 Dec 2 10:00 coverage.out [2021-12-02T10:00:13.183Z] -rw-rw-r--. 1 jenkins jenkins 1649 Dec 2 09:58 Dockerfile [2021-12-02T10:00:13.183Z] -rw-rw-r--. 1 jenkins jenkins 151 Dec 2 09:58 .dockerignore [2021-12-02T10:00:13.183Z] drwxrwxr-x. 2 jenkins jenkins 76 Dec 2 09:58 driver [2021-12-02T10:00:13.183Z] drwxrwxr-x. 8 jenkins jenkins 179 Dec 2 09:59 .git [2021-12-02T10:00:13.183Z] drwxrwxr-x. 2 jenkins jenkins 103 Dec 2 09:58 .github [2021-12-02T10:00:13.183Z] -rw-rw-r--. 1 jenkins jenkins 329 Dec 2 09:58 .gitignore [2021-12-02T10:00:13.183Z] -rw-rw-r--. 1 jenkins jenkins 277 Dec 2 09:58 go.mod [2021-12-02T10:00:13.183Z] -rw-rw-r--. 1 jenkins jenkins 49330 Dec 2 09:58 go.sum [2021-12-02T10:00:13.183Z] -rw-rw-r--. 1 jenkins jenkins 677 Dec 2 09:58 GOVERNANCE.md [2021-12-02T10:00:13.183Z] -rw-rw-r--. 1 jenkins jenkins 680 Dec 2 09:58 Jenkinsfile [2021-12-02T10:00:13.183Z] -rw-rw-r--. 1 jenkins jenkins 11340 Dec 2 09:58 LICENSE [2021-12-02T10:00:13.183Z] -rw-rw-r--. 1 jenkins jenkins 1078 Dec 2 09:58 Makefile [2021-12-02T10:00:13.183Z] -rw-rw-r--. 1 jenkins jenkins 620 Dec 2 09:58 OWNERS.md [2021-12-02T10:00:13.183Z] -rw-rw-r--. 1 jenkins jenkins 8246 Dec 2 09:58 README.md [2021-12-02T10:00:13.183Z] drwxrwxr-x. 3 jenkins jenkins 58 Dec 2 09:58 snap [2021-12-02T10:00:13.183Z] -rw-rw-r--. 1 jenkins jenkins 5 Dec 2 09:57 VERSION [2021-12-02T10:00:13.183Z] -rw-rw-r--. 1 jenkins jenkins 713 Dec 2 09:58 version.go [Pipeline] isUnix [Pipeline] sh [2021-12-02T10:00:13.483Z] + 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=67a8320623b7619a7ca86474bb2d9d2932fcf24b --label arch=amd64 --label version=0.0.0 . [2021-12-02T10:00:13.483Z] Sending build context to Docker daemon 131.6kB [2021-12-02T10:00:13.483Z] Step 1/24 : ARG BASE=golang:1.16-alpine3.14 [2021-12-02T10:00:13.483Z] Step 2/24 : FROM ${BASE} AS builder [2021-12-02T10:00:13.483Z] ---> b0d38ea37ba8 [2021-12-02T10:00:13.483Z] Step 3/24 : ARG MAKE='make build' [2021-12-02T10:00:13.483Z] ---> Running in d14a8cdf6a94 [2021-12-02T10:00:13.483Z] Removing intermediate container d14a8cdf6a94 [2021-12-02T10:00:13.483Z] ---> 1ab937bbe3de [2021-12-02T10:00:13.483Z] Step 4/24 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2021-12-02T10:00:13.483Z] ---> Running in e242ab2e3ca7 [2021-12-02T10:00:13.751Z] Removing intermediate container e242ab2e3ca7 [2021-12-02T10:00:13.751Z] ---> e239f8ab3bb7 [2021-12-02T10:00:13.751Z] Step 5/24 : ARG ALPINE_PKG_EXTRA="" [2021-12-02T10:00:13.751Z] ---> Running in a8ad18e25119 [2021-12-02T10:00:13.751Z] Removing intermediate container a8ad18e25119 [2021-12-02T10:00:13.751Z] ---> 64ba8b8cb19d [2021-12-02T10:00:13.751Z] Step 6/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-12-02T10:00:13.751Z] ---> Running in 72a19ab85176 [2021-12-02T10:00:14.332Z] Removing intermediate container 72a19ab85176 [2021-12-02T10:00:14.332Z] ---> 24ff212232a6 [2021-12-02T10:00:14.332Z] Step 7/24 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2021-12-02T10:00:14.332Z] ---> Running in 2baefaa75b2b [2021-12-02T10:00:14.592Z] fetch https://nl.alpinelinux.org/alpine/v3.14/main/x86_64/APKINDEX.tar.gz [2021-12-02T10:00:15.536Z] fetch https://nl.alpinelinux.org/alpine/v3.14/community/x86_64/APKINDEX.tar.gz [2021-12-02T10:00:15.798Z] OK: 224 MiB in 56 packages [2021-12-02T10:00:15.798Z] Removing intermediate container 2baefaa75b2b [2021-12-02T10:00:15.798Z] ---> 21b87baa12fc [2021-12-02T10:00:15.798Z] Step 8/24 : WORKDIR /device-rest-go [2021-12-02T10:00:15.798Z] ---> Running in 5879d2206e2e [2021-12-02T10:00:16.065Z] Removing intermediate container 5879d2206e2e [2021-12-02T10:00:16.065Z] ---> 217510bf6584 [2021-12-02T10:00:16.065Z] Step 9/24 : COPY . . [2021-12-02T10:00:16.065Z] ---> 78b94851c670 [2021-12-02T10:00:16.065Z] Step 10/24 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2021-12-02T10:00:16.328Z] ---> Running in bdad7f4983d0 [2021-12-02T10:00:16.896Z] Removing intermediate container bdad7f4983d0 [2021-12-02T10:00:16.896Z] ---> 4e93ce962759 [2021-12-02T10:00:16.896Z] Step 11/24 : RUN $MAKE [2021-12-02T10:00:16.896Z] ---> Running in 670e114a6b76 [2021-12-02T10:00:17.158Z] 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-02T10:00:18.766Z] 7a9cfe048b4a: Pull complete [2021-12-02T10:00:18.766Z] 72dc09318566: Pull complete [2021-12-02T10:00:18.766Z] f4f7b4309257: Pull complete [2021-12-02T10:00:19.361Z] 0ac9a79272e3: Pull complete [2021-12-02T10:00:24.777Z] b78e95d17946: Pull complete [2021-12-02T10:00:24.777Z] Digest: sha256:8f77ec77db7124c2038421266515449a73d34d95fd7f90866b77fbf8f5a401c7 [2021-12-02T10:00:24.777Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine [2021-12-02T10:00:24.777Z] ---> 8b459fc5aaf0 [2021-12-02T10:00:24.777Z] Step 3/11 : ARG MAKE='make build' [2021-12-02T10:00:26.210Z] ---> Running in d8f3b459f551 [2021-12-02T10:00:26.806Z] Removing intermediate container d8f3b459f551 [2021-12-02T10:00:26.806Z] ---> 1e8397d3834c [2021-12-02T10:00:26.806Z] Step 4/11 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2021-12-02T10:00:26.806Z] ---> Running in 8ee930ddfd90 [2021-12-02T10:00:27.078Z] Removing intermediate container 8ee930ddfd90 [2021-12-02T10:00:27.078Z] ---> 3f28b78765f0 [2021-12-02T10:00:27.078Z] Step 5/11 : ARG ALPINE_PKG_EXTRA="" [2021-12-02T10:00:27.078Z] ---> Running in 4fefadbe7aef [2021-12-02T10:00:27.687Z] Removing intermediate container 4fefadbe7aef [2021-12-02T10:00:27.687Z] ---> 47ebaaceb5d1 [2021-12-02T10:00:27.687Z] Step 6/11 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-12-02T10:00:27.687Z] ---> Running in 637b1fb177fe [2021-12-02T10:00:29.470Z] Removing intermediate container 670e114a6b76 [2021-12-02T10:00:29.470Z] ---> 12effe7098b1 [2021-12-02T10:00:29.470Z] Step 12/24 : FROM alpine:3.14 [2021-12-02T10:00:29.470Z] 3.14: Pulling from library/alpine [2021-12-02T10:00:29.470Z] 97518928ae5f: Pulling fs layer [2021-12-02T10:00:29.470Z] 97518928ae5f: Verifying Checksum [2021-12-02T10:00:29.470Z] 97518928ae5f: Download complete [2021-12-02T10:00:29.470Z] 97518928ae5f: Pull complete [2021-12-02T10:00:29.470Z] Digest: sha256:635f0aa53d99017b38d1a0aa5b2082f7812b03e3cdb299103fe77b5c8a07f1d2 [2021-12-02T10:00:29.470Z] Status: Downloaded newer image for alpine:3.14 [2021-12-02T10:00:29.470Z] ---> 0a97eee8041e [2021-12-02T10:00:29.470Z] Step 13/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019: Intel' [2021-12-02T10:00:29.470Z] ---> Running in 068dfb1c384f [2021-12-02T10:00:29.470Z] Removing intermediate container 068dfb1c384f [2021-12-02T10:00:29.470Z] ---> 3ec5c447a5e6 [2021-12-02T10:00:29.470Z] Step 14/24 : LABEL Name=device-rest-go Version=${VERSION} [2021-12-02T10:00:29.470Z] ---> Running in 495a2c2f2065 [2021-12-02T10:00:29.470Z] Removing intermediate container 495a2c2f2065 [2021-12-02T10:00:29.470Z] ---> fbbc3715eceb [2021-12-02T10:00:29.470Z] Step 15/24 : RUN apk add --update --no-cache zeromq dumb-init [2021-12-02T10:00:29.470Z] ---> Running in af07a8db547c [2021-12-02T10:00:29.470Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/main/x86_64/APKINDEX.tar.gz [2021-12-02T10:00:29.667Z] Removing intermediate container 637b1fb177fe [2021-12-02T10:00:29.667Z] ---> 5919077a7c16 [2021-12-02T10:00:29.667Z] Step 7/11 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2021-12-02T10:00:29.667Z] ---> Running in 9d9b6e32b951 [2021-12-02T10:00:29.730Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/community/x86_64/APKINDEX.tar.gz [2021-12-02T10:00:29.730Z] (1/6) Installing dumb-init (1.2.5-r1) [2021-12-02T10:00:29.730Z] (2/6) Installing libgcc (10.3.1_git20210424-r2) [2021-12-02T10:00:29.730Z] (3/6) Installing libsodium (1.0.18-r0) [2021-12-02T10:00:29.730Z] (4/6) Installing libstdc++ (10.3.1_git20210424-r2) [2021-12-02T10:00:29.990Z] (5/6) Installing libzmq (4.3.4-r0) [2021-12-02T10:00:29.990Z] (6/6) Installing zeromq (4.3.4-r0) [2021-12-02T10:00:29.990Z] Executing busybox-1.33.1-r6.trigger [2021-12-02T10:00:29.990Z] OK: 8 MiB in 20 packages [2021-12-02T10:00:30.251Z] Removing intermediate container af07a8db547c [2021-12-02T10:00:30.251Z] ---> 82d22d4ac9d4 [2021-12-02T10:00:30.251Z] Step 16/24 : COPY --from=builder /device-rest-go/cmd / [2021-12-02T10:00:30.521Z] ---> a283335102f7 [2021-12-02T10:00:30.521Z] Step 17/24 : COPY --from=builder /device-rest-go/LICENSE / [2021-12-02T10:00:30.521Z] ---> 0ffbe76c1f96 [2021-12-02T10:00:30.521Z] Step 18/24 : COPY --from=builder /device-rest-go/Attribution.txt / [2021-12-02T10:00:30.647Z] fetch https://nl.alpinelinux.org/alpine/v3.14/main/aarch64/APKINDEX.tar.gz [2021-12-02T10:00:30.796Z] ---> 9c8c8584baf3 [2021-12-02T10:00:30.796Z] Step 19/24 : EXPOSE 59986 [2021-12-02T10:00:30.796Z] ---> Running in cc07c58b7c50 [2021-12-02T10:00:30.796Z] Removing intermediate container cc07c58b7c50 [2021-12-02T10:00:30.796Z] ---> 8e0e63689758 [2021-12-02T10:00:30.796Z] Step 20/24 : ENTRYPOINT ["/device-rest"] [2021-12-02T10:00:31.058Z] ---> Running in 2756742d141f [2021-12-02T10:00:31.058Z] Removing intermediate container 2756742d141f [2021-12-02T10:00:31.058Z] ---> 59cf7eb43ae8 [2021-12-02T10:00:31.058Z] Step 21/24 : CMD ["--cp=consul://edgex-core-consul:8500", "--confdir=/res", "--registry"] [2021-12-02T10:00:31.058Z] ---> Running in a1a92b7f446d [2021-12-02T10:00:31.058Z] Removing intermediate container a1a92b7f446d [2021-12-02T10:00:31.058Z] ---> 3fe0517ec55a [2021-12-02T10:00:31.058Z] Step 22/24 : LABEL arch=amd64 [2021-12-02T10:00:31.058Z] ---> Running in 7a8da32ba7b5 [2021-12-02T10:00:31.318Z] Removing intermediate container 7a8da32ba7b5 [2021-12-02T10:00:31.318Z] ---> 7e4a9c31f9fa [2021-12-02T10:00:31.318Z] Step 23/24 : LABEL git_sha=67a8320623b7619a7ca86474bb2d9d2932fcf24b [2021-12-02T10:00:31.318Z] ---> Running in 062d98c5d35d [2021-12-02T10:00:31.318Z] Removing intermediate container 062d98c5d35d [2021-12-02T10:00:31.318Z] ---> 11d5293891bb [2021-12-02T10:00:31.318Z] Step 24/24 : LABEL version=0.0.0 [2021-12-02T10:00:31.319Z] ---> Running in d082dfc6e059 [2021-12-02T10:00:31.319Z] Removing intermediate container d082dfc6e059 [2021-12-02T10:00:31.319Z] ---> 4fa90217b529 [2021-12-02T10:00:31.319Z] [Warning] One or more build-args [ARCH] were not consumed [2021-12-02T10:00:31.319Z] Successfully built 4fa90217b529 [2021-12-02T10:00:31.319Z] 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] } [2021-12-02T10:00:31.626Z] fetch https://nl.alpinelinux.org/alpine/v3.14/community/aarch64/APKINDEX.tar.gz [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-12-02T10:00:31.941Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2021-12-02T10:00:31.941Z] [2021-12-02T10:00:31.941Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] sh [2021-12-02T10:00:32.254Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2021-12-02T10:00:32.254Z] latest: Pulling from edgex-lftools-log-publisher [2021-12-02T10:00:32.254Z] b4d181a07f80: Pulling fs layer [2021-12-02T10:00:32.254Z] a1111a8f2ec3: Pulling fs layer [2021-12-02T10:00:32.254Z] ed53099fbce6: Pulling fs layer [2021-12-02T10:00:32.254Z] dc539afda2c1: Pulling fs layer [2021-12-02T10:00:32.254Z] 77bc0d833cb6: Pulling fs layer [2021-12-02T10:00:32.254Z] 9065ff56babe: Pulling fs layer [2021-12-02T10:00:32.254Z] d287ab97295c: Pulling fs layer [2021-12-02T10:00:32.254Z] dc539afda2c1: Waiting [2021-12-02T10:00:32.254Z] 77bc0d833cb6: Waiting [2021-12-02T10:00:32.254Z] 9065ff56babe: Waiting [2021-12-02T10:00:32.254Z] d287ab97295c: Waiting [2021-12-02T10:00:32.254Z] a1111a8f2ec3: Verifying Checksum [2021-12-02T10:00:32.254Z] a1111a8f2ec3: Download complete [2021-12-02T10:00:32.254Z] dc539afda2c1: Verifying Checksum [2021-12-02T10:00:32.254Z] dc539afda2c1: Download complete [2021-12-02T10:00:32.254Z] ed53099fbce6: Verifying Checksum [2021-12-02T10:00:32.254Z] ed53099fbce6: Download complete [2021-12-02T10:00:32.254Z] 9065ff56babe: Verifying Checksum [2021-12-02T10:00:32.254Z] 9065ff56babe: Download complete [2021-12-02T10:00:32.518Z] 77bc0d833cb6: Verifying Checksum [2021-12-02T10:00:32.518Z] 77bc0d833cb6: Download complete [2021-12-02T10:00:32.518Z] b4d181a07f80: Verifying Checksum [2021-12-02T10:00:32.518Z] b4d181a07f80: Download complete [2021-12-02T10:00:32.604Z] (1/4) Installing openssh-keygen (8.6_p1-r3) [2021-12-02T10:00:32.604Z] (2/4) Installing libedit (20210216.3.1-r0) [2021-12-02T10:00:32.604Z] (3/4) Installing openssh-client-common (8.6_p1-r3) [2021-12-02T10:00:32.879Z] (4/4) Installing openssh-client-default (8.6_p1-r3) [2021-12-02T10:00:32.879Z] Executing busybox-1.33.1-r3.trigger [2021-12-02T10:00:32.879Z] OK: 223 MiB in 56 packages [2021-12-02T10:00:33.099Z] d287ab97295c: Verifying Checksum [2021-12-02T10:00:33.099Z] d287ab97295c: Download complete [2021-12-02T10:00:33.679Z] b4d181a07f80: Pull complete [2021-12-02T10:00:33.881Z] Removing intermediate container 9d9b6e32b951 [2021-12-02T10:00:33.881Z] ---> 48c7d36782f2 [2021-12-02T10:00:33.881Z] Step 8/11 : WORKDIR /device-rest-go [2021-12-02T10:00:33.881Z] ---> Running in 73c6dadf0110 [2021-12-02T10:00:33.947Z] a1111a8f2ec3: Pull complete [2021-12-02T10:00:34.476Z] Removing intermediate container 73c6dadf0110 [2021-12-02T10:00:34.476Z] ---> 2bdd27cac7e0 [2021-12-02T10:00:34.476Z] Step 9/11 : COPY . . [2021-12-02T10:00:34.527Z] ed53099fbce6: Pull complete [2021-12-02T10:00:34.527Z] dc539afda2c1: Pull complete [2021-12-02T10:00:34.788Z] 77bc0d833cb6: Pull complete [2021-12-02T10:00:34.788Z] 9065ff56babe: Pull complete [2021-12-02T10:00:35.086Z] ---> b37809a8c4aa [2021-12-02T10:00:35.086Z] Step 10/11 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2021-12-02T10:00:35.086Z] ---> Running in 6ac3c8d3c44f [2021-12-02T10:00:40.120Z] d287ab97295c: Pull complete [2021-12-02T10:00:40.120Z] Digest: sha256:0c69325c24349bfb3ea32a3c3cbcab1fb66df42c981276dd8ebcf6aa441257c4 [2021-12-02T10:00:40.120Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2021-12-02T10:00:40.120Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] withDockerContainer [2021-12-02T10:00:40.188Z] prd-centos7-docker-4c-2g-61 does not seem to be running inside a container [2021-12-02T10:00:40.226Z] $ 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/2 -v /w/workspace/device-rest-go/2:/w/workspace/device-rest-go/2:rw,z -v /w/workspace/device-rest-go/2@tmp:/w/workspace/device-rest-go/2@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2021-12-02T10:00:43.106Z] $ docker top ea817e0b7b19b641f0f4a0b80ee8acf7f5f3461df9d6d97b7a4755c995d18bad -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-12-02T10:00:43.500Z] ---> job-cost.sh [2021-12-02T10:00:43.500Z] lf-activate-venv: SKIPPING [2021-12-02T10:00:43.500Z] INFO: No Stack... [2021-12-02T10:00:43.759Z] INFO: Retrieving Pricing Info for: v3-standard-2 [2021-12-02T10:00:44.017Z] INFO: Archiving Costs [Pipeline] sh [2021-12-02T10:00:44.321Z] + cat /w/workspace/device-rest-go/2/archives/cost.csv [2021-12-02T10:00:44.321Z] + cut -d, -f6 [Pipeline] lock [2021-12-02T10:00:44.355Z] Trying to acquire lock on [jenkins-edgexfoundry-device-rest-go-PR-148-2-stack-cost] [2021-12-02T10:00:44.363Z] Resource [jenkins-edgexfoundry-device-rest-go-PR-148-2-stack-cost] did not exist. Created. [2021-12-02T10:00:44.363Z] Lock acquired on [jenkins-edgexfoundry-device-rest-go-PR-148-2-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2021-12-02T10:00:44.658Z] + echo total: 0.05999999865889549 [Pipeline] stash [2021-12-02T10:00:44.692Z] Stashed 1 file(s) [Pipeline] } [2021-12-02T10:00:44.699Z] Lock released on resource [jenkins-edgexfoundry-device-rest-go-PR-148-2-stack-cost] [Pipeline] // lock [Pipeline] } [2021-12-02T10:00:44.714Z] $ docker stop --time=1 ea817e0b7b19b641f0f4a0b80ee8acf7f5f3461df9d6d97b7a4755c995d18bad [2021-12-02T10:00:45.855Z] $ docker rm -f ea817e0b7b19b641f0f4a0b80ee8acf7f5f3461df9d6d97b7a4755c995d18bad [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [2021-12-02T10:01:56.898Z] Removing intermediate container 6ac3c8d3c44f [2021-12-02T10:01:56.898Z] ---> bac6f79066c6 [2021-12-02T10:01:56.898Z] Step 11/11 : RUN $MAKE [2021-12-02T10:01:56.898Z] ---> Running in 7ff284990b81 [2021-12-02T10:01:56.898Z] noop [2021-12-02T10:01:56.898Z] Removing intermediate container 7ff284990b81 [2021-12-02T10:01:56.898Z] ---> 024d718a05d3 [2021-12-02T10:01:56.898Z] Successfully built 024d718a05d3 [2021-12-02T10:01:56.898Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh [2021-12-02T10:01:57.246Z] + docker inspect -f . ci-base-image-arm64 [2021-12-02T10:01:57.246Z] . [Pipeline] withDockerContainer [2021-12-02T10:01:57.501Z] prd-ubuntu18.04-docker-arm64-4c-16g-60 does not seem to be running inside a container [2021-12-02T10:01:57.590Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-rest-go/2 -v /w/workspace/device-rest-go/2:/w/workspace/device-rest-go/2:rw,z -v /w/workspace/device-rest-go/2@tmp:/w/workspace/device-rest-go/2@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2021-12-02T10:01:58.878Z] $ docker top 9f32cb6e04fef61b66a23178173acf4569909691a85cb6ae66f7ef48bfc04f23 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-12-02T10:01:59.806Z] + go version [2021-12-02T10:01:59.806Z] go version go1.16.8 linux/arm64 [Pipeline] } [2021-12-02T10:01:59.828Z] $ docker stop --time=1 9f32cb6e04fef61b66a23178173acf4569909691a85cb6ae66f7ef48bfc04f23 [2021-12-02T10:02:01.487Z] $ docker rm -f 9f32cb6e04fef61b66a23178173acf4569909691a85cb6ae66f7ef48bfc04f23 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-12-02T10:02:02.216Z] + docker inspect -f . ci-base-image-arm64 [2021-12-02T10:02:02.216Z] . [Pipeline] withDockerContainer [2021-12-02T10:02:02.433Z] prd-ubuntu18.04-docker-arm64-4c-16g-60 does not seem to be running inside a container [2021-12-02T10:02:02.511Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-rest-go/2 -v /w/workspace/device-rest-go/2:/w/workspace/device-rest-go/2:rw,z -v /w/workspace/device-rest-go/2@tmp:/w/workspace/device-rest-go/2@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2021-12-02T10:02:03.880Z] $ docker top 4992322274fad4c4e0c2c92f4f271dd140db9e8ee1fc361651e255e787245bd6 -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh [2021-12-02T10:02:04.773Z] + make test [2021-12-02T10:02:04.773Z] CGO_ENABLED=1 GO111MODULE=on go test -coverprofile=coverage.out ./... [2021-12-02T10:02:06.212Z] ? github.com/edgexfoundry/device-rest-go [no test files] [2021-12-02T10:03:02.785Z] ? github.com/edgexfoundry/device-rest-go/cmd [no test files] [2021-12-02T10:03:02.785Z] ok github.com/edgexfoundry/device-rest-go/driver 0.055s coverage: 56.0% of statements [2021-12-02T10:03:02.785Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2021-12-02T10:03:29.597Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2021-12-02T10:03:29.872Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2021-12-02T10:03:29.872Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2021-12-02T10:03:31.869Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2021-12-02T10:03:31.880Z] $ docker stop --time=1 4992322274fad4c4e0c2c92f4f271dd140db9e8ee1fc361651e255e787245bd6 [2021-12-02T10:03:33.621Z] $ docker rm -f 4992322274fad4c4e0c2c92f4f271dd140db9e8ee1fc361651e255e787245bd6 [Pipeline] // withDockerContainer [Pipeline] sh [2021-12-02T10:03:34.412Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2021-12-02T10:03:34.438Z] Warning: overwriting stash ‘coverage-report’ [2021-12-02T10:03:34.866Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-12-02T10:03:35.350Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2021-12-02T10:03:35.687Z] + ls -al . [2021-12-02T10:03:35.687Z] total 176 [2021-12-02T10:03:35.687Z] drwxrwxr-x 8 jenkins jenkins 4096 Dec 2 10:03 . [2021-12-02T10:03:35.687Z] drwxrwxr-x 4 jenkins jenkins 4096 Dec 2 09:59 .. [2021-12-02T10:03:35.687Z] -rw-rw-r-- 1 jenkins jenkins 151 Dec 2 09:59 .dockerignore [2021-12-02T10:03:35.687Z] drwxrwxr-x 8 jenkins jenkins 4096 Dec 2 09:59 .git [2021-12-02T10:03:35.687Z] drwxrwxr-x 2 jenkins jenkins 4096 Dec 2 09:59 .github [2021-12-02T10:03:35.687Z] -rw-rw-r-- 1 jenkins jenkins 329 Dec 2 09:59 .gitignore [2021-12-02T10:03:35.687Z] -rw-rw-r-- 1 jenkins jenkins 7095 Dec 2 09:59 Attribution.txt [2021-12-02T10:03:35.687Z] -rw-rw-r-- 1 jenkins jenkins 7459 Dec 2 09:59 CHANGELOG.md [2021-12-02T10:03:35.687Z] -rw-rw-r-- 1 jenkins jenkins 1649 Dec 2 09:59 Dockerfile [2021-12-02T10:03:35.687Z] -rw-rw-r-- 1 jenkins jenkins 677 Dec 2 09:59 GOVERNANCE.md [2021-12-02T10:03:35.687Z] -rw-rw-r-- 1 jenkins jenkins 680 Dec 2 09:59 Jenkinsfile [2021-12-02T10:03:35.687Z] -rw-rw-r-- 1 jenkins jenkins 11340 Dec 2 09:59 LICENSE [2021-12-02T10:03:35.687Z] -rw-rw-r-- 1 jenkins jenkins 1078 Dec 2 09:59 Makefile [2021-12-02T10:03:35.687Z] -rw-rw-r-- 1 jenkins jenkins 620 Dec 2 09:59 OWNERS.md [2021-12-02T10:03:35.687Z] -rw-rw-r-- 1 jenkins jenkins 8246 Dec 2 09:59 README.md [2021-12-02T10:03:35.687Z] -rw-rw-r-- 1 jenkins jenkins 5 Dec 2 09:57 VERSION [2021-12-02T10:03:35.687Z] drwxrwxr-x 2 jenkins jenkins 4096 Dec 2 09:59 bin [2021-12-02T10:03:35.687Z] drwxrwxr-x 3 jenkins jenkins 4096 Dec 2 09:59 cmd [2021-12-02T10:03:35.687Z] -rw-r--r-- 1 jenkins jenkins 9215 Dec 2 10:03 coverage.out [2021-12-02T10:03:35.687Z] drwxrwxr-x 2 jenkins jenkins 4096 Dec 2 09:59 driver [2021-12-02T10:03:35.687Z] -rw-rw-r-- 1 jenkins jenkins 277 Dec 2 09:59 go.mod [2021-12-02T10:03:35.687Z] -rw-rw-r-- 1 jenkins jenkins 49330 Dec 2 09:59 go.sum [2021-12-02T10:03:35.687Z] drwxrwxr-x 3 jenkins jenkins 4096 Dec 2 09:59 snap [2021-12-02T10:03:35.687Z] -rw-rw-r-- 1 jenkins jenkins 713 Dec 2 09:59 version.go [Pipeline] isUnix [Pipeline] sh [2021-12-02T10:03:36.032Z] + 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=67a8320623b7619a7ca86474bb2d9d2932fcf24b --label arch=arm64 --label version=0.0.0 . [2021-12-02T10:03:36.032Z] Sending build context to Docker daemon 131.6kB [2021-12-02T10:03:36.317Z] Step 1/24 : ARG BASE=golang:1.16-alpine3.14 [2021-12-02T10:03:36.317Z] Step 2/24 : FROM ${BASE} AS builder [2021-12-02T10:03:36.317Z] ---> 024d718a05d3 [2021-12-02T10:03:36.317Z] Step 3/24 : ARG MAKE='make build' [2021-12-02T10:03:36.317Z] ---> Running in fd5ddbf0454f [2021-12-02T10:03:36.916Z] Removing intermediate container fd5ddbf0454f [2021-12-02T10:03:36.916Z] ---> e212bd14720f [2021-12-02T10:03:36.916Z] Step 4/24 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2021-12-02T10:03:36.916Z] ---> Running in 4e3fb6d48bb3 [2021-12-02T10:03:37.191Z] Removing intermediate container 4e3fb6d48bb3 [2021-12-02T10:03:37.191Z] ---> d74f63d40ecf [2021-12-02T10:03:37.191Z] Step 5/24 : ARG ALPINE_PKG_EXTRA="" [2021-12-02T10:03:37.191Z] ---> Running in 3f0aa4a6d55f [2021-12-02T10:03:37.786Z] Removing intermediate container 3f0aa4a6d55f [2021-12-02T10:03:37.786Z] ---> fc38ca569a84 [2021-12-02T10:03:37.786Z] Step 6/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-12-02T10:03:37.786Z] ---> Running in d1de9d76387c [2021-12-02T10:03:39.763Z] Removing intermediate container d1de9d76387c [2021-12-02T10:03:39.763Z] ---> ce50668ef359 [2021-12-02T10:03:39.763Z] Step 7/24 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2021-12-02T10:03:39.763Z] ---> Running in ba6eba9b4877 [2021-12-02T10:03:40.358Z] fetch https://nl.alpinelinux.org/alpine/v3.14/main/aarch64/APKINDEX.tar.gz [2021-12-02T10:03:41.341Z] fetch https://nl.alpinelinux.org/alpine/v3.14/community/aarch64/APKINDEX.tar.gz [2021-12-02T10:03:41.932Z] OK: 223 MiB in 56 packages [2021-12-02T10:03:42.908Z] Removing intermediate container ba6eba9b4877 [2021-12-02T10:03:42.908Z] ---> fd667042b5fd [2021-12-02T10:03:42.908Z] Step 8/24 : WORKDIR /device-rest-go [2021-12-02T10:03:42.908Z] ---> Running in 1dac05390ea6 [2021-12-02T10:03:43.506Z] Removing intermediate container 1dac05390ea6 [2021-12-02T10:03:43.506Z] ---> ce17e0ca32ba [2021-12-02T10:03:43.506Z] Step 9/24 : COPY . . [2021-12-02T10:03:44.104Z] ---> bb8f5285d735 [2021-12-02T10:03:44.104Z] Step 10/24 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2021-12-02T10:03:44.104Z] ---> Running in a0fd213ba01a [2021-12-02T10:03:46.086Z] Removing intermediate container a0fd213ba01a [2021-12-02T10:03:46.086Z] ---> 81fd26ce09f3 [2021-12-02T10:03:46.086Z] Step 11/24 : RUN $MAKE [2021-12-02T10:03:46.086Z] ---> Running in 7cf783bbb4d9 [2021-12-02T10:03:47.077Z] 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-02T10:04:26.148Z] Removing intermediate container 7cf783bbb4d9 [2021-12-02T10:04:26.148Z] ---> 288368cb39cd [2021-12-02T10:04:26.148Z] Step 12/24 : FROM alpine:3.14 [2021-12-02T10:04:26.148Z] 3.14: Pulling from library/alpine [2021-12-02T10:04:26.148Z] be307f383ecc: Pulling fs layer [2021-12-02T10:04:26.148Z] be307f383ecc: Verifying Checksum [2021-12-02T10:04:26.148Z] be307f383ecc: Download complete [2021-12-02T10:04:26.148Z] be307f383ecc: Pull complete [2021-12-02T10:04:26.148Z] Digest: sha256:635f0aa53d99017b38d1a0aa5b2082f7812b03e3cdb299103fe77b5c8a07f1d2 [2021-12-02T10:04:26.148Z] Status: Downloaded newer image for alpine:3.14 [2021-12-02T10:04:26.148Z] ---> 5b8b7b635229 [2021-12-02T10:04:26.148Z] Step 13/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019: Intel' [2021-12-02T10:04:26.148Z] ---> Running in ab10965f8e3c [2021-12-02T10:04:26.148Z] Removing intermediate container ab10965f8e3c [2021-12-02T10:04:26.148Z] ---> df5649d59240 [2021-12-02T10:04:26.148Z] Step 14/24 : LABEL Name=device-rest-go Version=${VERSION} [2021-12-02T10:04:26.148Z] ---> Running in 8d57a6d8949f [2021-12-02T10:04:26.148Z] Removing intermediate container 8d57a6d8949f [2021-12-02T10:04:26.148Z] ---> a143cb0a99b0 [2021-12-02T10:04:26.148Z] Step 15/24 : RUN apk add --update --no-cache zeromq dumb-init [2021-12-02T10:04:26.148Z] ---> Running in 5e3611a8ae1d [2021-12-02T10:04:26.148Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/main/aarch64/APKINDEX.tar.gz [2021-12-02T10:04:26.148Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/community/aarch64/APKINDEX.tar.gz [2021-12-02T10:04:26.421Z] (1/6) Installing dumb-init (1.2.5-r1) [2021-12-02T10:04:26.421Z] (2/6) Installing libgcc (10.3.1_git20210424-r2) [2021-12-02T10:04:26.421Z] (3/6) Installing libsodium (1.0.18-r0) [2021-12-02T10:04:26.421Z] (4/6) Installing libstdc++ (10.3.1_git20210424-r2) [2021-12-02T10:04:26.701Z] (5/6) Installing libzmq (4.3.4-r0) [2021-12-02T10:04:26.701Z] (6/6) Installing zeromq (4.3.4-r0) [2021-12-02T10:04:26.701Z] Executing busybox-1.33.1-r6.trigger [2021-12-02T10:04:26.701Z] OK: 8 MiB in 20 packages [2021-12-02T10:04:27.679Z] Removing intermediate container 5e3611a8ae1d [2021-12-02T10:04:27.679Z] ---> f463fb5296e4 [2021-12-02T10:04:27.679Z] Step 16/24 : COPY --from=builder /device-rest-go/cmd / [2021-12-02T10:04:28.657Z] ---> b512d270e0f3 [2021-12-02T10:04:28.657Z] Step 17/24 : COPY --from=builder /device-rest-go/LICENSE / [2021-12-02T10:04:29.254Z] ---> 91602fbc9409 [2021-12-02T10:04:29.254Z] Step 18/24 : COPY --from=builder /device-rest-go/Attribution.txt / [2021-12-02T10:04:29.856Z] ---> 53d013e1070a [2021-12-02T10:04:29.856Z] Step 19/24 : EXPOSE 59986 [2021-12-02T10:04:29.856Z] ---> Running in 9aea0bcd0d5b [2021-12-02T10:04:30.132Z] Removing intermediate container 9aea0bcd0d5b [2021-12-02T10:04:30.132Z] ---> 708049b7c2eb [2021-12-02T10:04:30.132Z] Step 20/24 : ENTRYPOINT ["/device-rest"] [2021-12-02T10:04:30.133Z] ---> Running in 130543d51084 [2021-12-02T10:04:30.407Z] Removing intermediate container 130543d51084 [2021-12-02T10:04:30.407Z] ---> 7d134cf5d94a [2021-12-02T10:04:30.407Z] Step 21/24 : CMD ["--cp=consul://edgex-core-consul:8500", "--confdir=/res", "--registry"] [2021-12-02T10:04:30.681Z] ---> Running in 75c4702ff4cd [2021-12-02T10:04:31.011Z] Removing intermediate container 75c4702ff4cd [2021-12-02T10:04:31.011Z] ---> c3bb41dff17d [2021-12-02T10:04:31.011Z] Step 22/24 : LABEL arch=arm64 [2021-12-02T10:04:31.011Z] ---> Running in 110cde7935ec [2021-12-02T10:04:31.286Z] Removing intermediate container 110cde7935ec [2021-12-02T10:04:31.286Z] ---> e46df4f1a4d3 [2021-12-02T10:04:31.286Z] Step 23/24 : LABEL git_sha=67a8320623b7619a7ca86474bb2d9d2932fcf24b [2021-12-02T10:04:31.560Z] ---> Running in ec121b5952d7 [2021-12-02T10:04:31.834Z] Removing intermediate container ec121b5952d7 [2021-12-02T10:04:31.834Z] ---> 65fd0bbd79b4 [2021-12-02T10:04:31.834Z] Step 24/24 : LABEL version=0.0.0 [2021-12-02T10:04:31.834Z] ---> Running in b89b05f1f770 [2021-12-02T10:04:32.108Z] Removing intermediate container b89b05f1f770 [2021-12-02T10:04:32.108Z] ---> 1090588ffc7a [2021-12-02T10:04:32.108Z] [Warning] One or more build-args [ARCH] were not consumed [2021-12-02T10:04:32.108Z] Successfully built 1090588ffc7a [2021-12-02T10:04:32.108Z] 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-02T10:04:32.693Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2021-12-02T10:04:32.693Z] [2021-12-02T10:04:32.693Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] sh [2021-12-02T10:04:33.038Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2021-12-02T10:04:33.315Z] arm64: Pulling from edgex-lftools-log-publisher [2021-12-02T10:04:33.315Z] 448f6bf000e3: Pulling fs layer [2021-12-02T10:04:33.315Z] f757da607395: Pulling fs layer [2021-12-02T10:04:33.315Z] 05883995daec: Pulling fs layer [2021-12-02T10:04:33.315Z] 8603b9c90790: Pulling fs layer [2021-12-02T10:04:33.315Z] 1560dd03e051: Pulling fs layer [2021-12-02T10:04:33.315Z] 27f5ce0e4adf: Pulling fs layer [2021-12-02T10:04:33.315Z] c2d8d7efcc4b: Pulling fs layer [2021-12-02T10:04:33.315Z] 1560dd03e051: Waiting [2021-12-02T10:04:33.315Z] 27f5ce0e4adf: Waiting [2021-12-02T10:04:33.315Z] c2d8d7efcc4b: Waiting [2021-12-02T10:04:33.315Z] 8603b9c90790: Waiting [2021-12-02T10:04:33.315Z] f757da607395: Verifying Checksum [2021-12-02T10:04:33.315Z] f757da607395: Download complete [2021-12-02T10:04:33.315Z] 8603b9c90790: Verifying Checksum [2021-12-02T10:04:33.315Z] 8603b9c90790: Download complete [2021-12-02T10:04:33.315Z] 1560dd03e051: Verifying Checksum [2021-12-02T10:04:33.315Z] 1560dd03e051: Download complete [2021-12-02T10:04:33.315Z] 27f5ce0e4adf: Verifying Checksum [2021-12-02T10:04:33.315Z] 27f5ce0e4adf: Download complete [2021-12-02T10:04:33.589Z] 05883995daec: Verifying Checksum [2021-12-02T10:04:33.589Z] 05883995daec: Download complete [2021-12-02T10:04:33.864Z] 448f6bf000e3: Verifying Checksum [2021-12-02T10:04:33.864Z] 448f6bf000e3: Download complete [2021-12-02T10:04:36.498Z] c2d8d7efcc4b: Verifying Checksum [2021-12-02T10:04:36.498Z] c2d8d7efcc4b: Download complete [2021-12-02T10:04:37.478Z] 448f6bf000e3: Pull complete [2021-12-02T10:04:38.073Z] f757da607395: Pull complete [2021-12-02T10:04:39.509Z] 05883995daec: Pull complete [2021-12-02T10:04:39.783Z] 8603b9c90790: Pull complete [2021-12-02T10:04:40.768Z] 1560dd03e051: Pull complete [2021-12-02T10:04:40.768Z] 27f5ce0e4adf: Pull complete [2021-12-02T10:04:55.860Z] c2d8d7efcc4b: Pull complete [2021-12-02T10:04:55.860Z] Digest: sha256:42f6a1c33103aa4ecfebf648e29883a20fd84132c0f0d4f855d8bcfd8dd9c454 [2021-12-02T10:04:55.860Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2021-12-02T10:04:55.860Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] withDockerContainer [2021-12-02T10:04:56.084Z] prd-ubuntu18.04-docker-arm64-4c-16g-60 does not seem to be running inside a container [2021-12-02T10:04:56.162Z] $ 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/2 -v /w/workspace/device-rest-go/2:/w/workspace/device-rest-go/2:rw,z -v /w/workspace/device-rest-go/2@tmp:/w/workspace/device-rest-go/2@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat [2021-12-02T10:04:58.737Z] $ docker top e94cec2b5ee597cebaeb4ef30c45960633f3729a1f6825b64a76662692f6ea8a -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-12-02T10:04:59.627Z] ---> job-cost.sh [2021-12-02T10:04:59.627Z] lf-activate-venv: SKIPPING [2021-12-02T10:04:59.627Z] INFO: No Stack... [2021-12-02T10:04:59.899Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2021-12-02T10:05:00.172Z] INFO: Archiving Costs [Pipeline] sh [2021-12-02T10:05:00.835Z] + cut -d, -f6 [2021-12-02T10:05:00.836Z] + cat /w/workspace/device-rest-go/2/archives/cost.csv [Pipeline] lock [2021-12-02T10:05:00.899Z] Trying to acquire lock on [jenkins-edgexfoundry-device-rest-go-PR-148-2-stack-cost] [2021-12-02T10:05:00.908Z] Resource [jenkins-edgexfoundry-device-rest-go-PR-148-2-stack-cost] did not exist. Created. [2021-12-02T10:05:00.908Z] Lock acquired on [jenkins-edgexfoundry-device-rest-go-PR-148-2-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2021-12-02T10:05:01.585Z] /w/workspace/device-rest-go/2@tmp/durable-7ebb8e8f/script.sh: 1: /w/workspace/device-rest-go/2@tmp/durable-7ebb8e8f/script.sh: Syntax error: Unterminated quoted string [Pipeline] sh [2021-12-02T10:05:02.260Z] + echo total: 0.10999999940395355 [Pipeline] stash [2021-12-02T10:05:02.288Z] Warning: overwriting stash ‘stack-cost’ [2021-12-02T10:05:02.339Z] Stashed 1 file(s) [Pipeline] } [2021-12-02T10:05:02.346Z] Lock released on resource [jenkins-edgexfoundry-device-rest-go-PR-148-2-stack-cost] [Pipeline] // lock [Pipeline] } [2021-12-02T10:05:02.359Z] $ docker stop --time=1 e94cec2b5ee597cebaeb4ef30c45960633f3729a1f6825b64a76662692f6ea8a [2021-12-02T10:05:03.862Z] $ docker rm -f e94cec2b5ee597cebaeb4ef30c45960633f3729a1f6825b64a76662692f6ea8a [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-02T10:05:04.472Z] provisioning config files... [2021-12-02T10:05:04.481Z] copy managed file [device-rest-go-codecov-token] to file:/w/workspace/gexfoundry_device-rest-go_PR-148@tmp/config350947745230723012tmp [Pipeline] { [Pipeline] sh [2021-12-02T10:05:04.799Z] + set +x [2021-12-02T10:05:04.799Z] + curl -s https://codecov.io/bash [2021-12-02T10:05:04.799Z] + bash -s -- [2021-12-02T10:05:04.799Z] [2021-12-02T10:05:04.799Z] _____ _ [2021-12-02T10:05:04.799Z] / ____| | | [2021-12-02T10:05:04.799Z] | | ___ __| | ___ ___ _____ __ [2021-12-02T10:05:04.799Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2021-12-02T10:05:04.799Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2021-12-02T10:05:04.799Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2021-12-02T10:05:04.799Z] Bash-1.0.6 [2021-12-02T10:05:04.799Z] [2021-12-02T10:05:04.799Z] [2021-12-02T10:05:04.799Z] ==> git version 2.24.4 found [2021-12-02T10:05:04.799Z] ==> 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-02T10:05:04.799Z] Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtsp scp sftp smtp smtps telnet tftp [2021-12-02T10:05:04.799Z] Features: AsynchDNS GSS-Negotiate IDN IPv6 Largefile NTLM NTLM_WB SSL libz unix-sockets [2021-12-02T10:05:04.799Z] ==> Jenkins CI detected. [2021-12-02T10:05:04.799Z] current dir:  /w/workspace/gexfoundry_device-rest-go_PR-148 [2021-12-02T10:05:04.799Z] project root: . [2021-12-02T10:05:04.799Z] --> token set from env [2021-12-02T10:05:04.799Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2021-12-02T10:05:04.799Z] ==> Running gcov in . (disable via -X gcov) [2021-12-02T10:05:04.799Z] ==> Python coveragepy not found [2021-12-02T10:05:04.799Z] ==> Searching for coverage reports in: [2021-12-02T10:05:04.799Z] + . [2021-12-02T10:05:04.799Z] -> Found 1 reports [2021-12-02T10:05:04.799Z] ==> Detecting git/mercurial file structure [2021-12-02T10:05:04.799Z] ==> Reading reports [2021-12-02T10:05:05.061Z] + ./coverage.out bytes=9215 [2021-12-02T10:05:05.061Z] ==> Appending adjustments [2021-12-02T10:05:05.061Z] https://docs.codecov.io/docs/fixing-reports [2021-12-02T10:05:05.061Z] + Found adjustments [2021-12-02T10:05:05.061Z] ==> Gzipping contents [2021-12-02T10:05:05.061Z] 4.0K /tmp/codecov.Akd75Z.gz [2021-12-02T10:05:05.061Z] ==> Uploading reports [2021-12-02T10:05:05.061Z] url: https://codecov.io [2021-12-02T10:05:05.061Z] query: branch=PR-148&commit=67a8320623b7619a7ca86474bb2d9d2932fcf24b&build=2&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-rest-go%2Fjob%2FPR-148%2F2%2F&name=&tag=&slug=edgexfoundry%2Fdevice-rest-go&service=jenkins&flags=&pr=148&job=&cmd_args= [2021-12-02T10:05:05.061Z] -> Pinging Codecov [2021-12-02T10:05:05.061Z] 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=67a8320623b7619a7ca86474bb2d9d2932fcf24b&build=2&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-rest-go%2Fjob%2FPR-148%2F2%2F&name=&tag=&slug=edgexfoundry%2Fdevice-rest-go&service=jenkins&flags=&pr=148&job=&cmd_args= [2021-12-02T10:05:05.323Z] -> Uploading to [2021-12-02T10:05:05.323Z] https://storage.googleapis.com/codecov/v4/raw/2021-12-02/4E5D53B4F1F92C436F7061BF334D961C/67a8320623b7619a7ca86474bb2d9d2932fcf24b/48019fa4-7548-4c88-82f0-2ae0f32de435.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EKKHVKCKHW7KBCGM7IHR55T63V2PAVJWLVFNITJHDU5G6R5IRN3LMWJA%2F20211202%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20211202T100505Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=42889fada224739c34ce4af7ecc6a7a39046bdf6d2b7a796ae46ba03da589348 [2021-12-02T10:05:05.323Z] % Total % Received % Xferd Average Speed Time Time Time Current [2021-12-02T10:05:05.323Z] Dload Upload Total Spent Left Speed [2021-12-02T10:05:05.584Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 1805 0 0 100 1805 0 6156 --:--:-- --:--:-- --:--:-- 6139 100 1805 0 0 100 1805 0 6153 --:--:-- --:--:-- --:--:-- 6139 [2021-12-02T10:05:05.584Z] -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/device-rest-go/commit/67a8320623b7619a7ca86474bb2d9d2932fcf24b [Pipeline] } [2021-12-02T10:05:05.591Z] 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-02T10:05:06.850Z] + '[' -d /w/workspace/gexfoundry_device-rest-go_PR-148/archives ']' [Pipeline] libraryResource [Pipeline] sh [2021-12-02T10:05:07.160Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2021-12-02T10:05:07.731Z] ---> package-listing.sh [2021-12-02T10:05:07.731Z] ++ facter osfamily [2021-12-02T10:05:07.731Z] ++ tr '[:upper:]' '[:lower:]' [2021-12-02T10:05:07.996Z] + OS_FAMILY=redhat [2021-12-02T10:05:07.996Z] + workspace=/w/workspace/gexfoundry_device-rest-go_PR-148 [2021-12-02T10:05:07.996Z] + START_PACKAGES=/tmp/packages_start.txt [2021-12-02T10:05:07.996Z] + END_PACKAGES=/tmp/packages_end.txt [2021-12-02T10:05:07.996Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2021-12-02T10:05:07.996Z] + PACKAGES=/tmp/packages_start.txt [2021-12-02T10:05:07.996Z] + '[' /w/workspace/gexfoundry_device-rest-go_PR-148 ']' [2021-12-02T10:05:07.996Z] + PACKAGES=/tmp/packages_end.txt [2021-12-02T10:05:07.996Z] + case "${OS_FAMILY}" in [2021-12-02T10:05:07.996Z] + sort [2021-12-02T10:05:07.996Z] + rpm -qa [2021-12-02T10:05:08.577Z] + '[' -f /tmp/packages_start.txt ']' [2021-12-02T10:05:08.577Z] + '[' -f /tmp/packages_end.txt ']' [2021-12-02T10:05:08.577Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2021-12-02T10:05:08.577Z] + '[' /w/workspace/gexfoundry_device-rest-go_PR-148 ']' [2021-12-02T10:05:08.577Z] + mkdir -p /w/workspace/gexfoundry_device-rest-go_PR-148/archives/ [2021-12-02T10:05:08.577Z] + 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-02T10:05:08.607Z] 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-02T10:05:08.888Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] sh [2021-12-02T10:05:09.462Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2021-12-02T10:05:09.462Z] [2021-12-02T10:05:09.462Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] sh [2021-12-02T10:05:09.783Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2021-12-02T10:05:09.784Z] latest: Pulling from edgex-lftools-log-publisher [2021-12-02T10:05:09.784Z] b4d181a07f80: Pulling fs layer [2021-12-02T10:05:09.784Z] a1111a8f2ec3: Pulling fs layer [2021-12-02T10:05:09.784Z] ed53099fbce6: Pulling fs layer [2021-12-02T10:05:09.784Z] dc539afda2c1: Pulling fs layer [2021-12-02T10:05:09.784Z] 77bc0d833cb6: Pulling fs layer [2021-12-02T10:05:09.784Z] 9065ff56babe: Pulling fs layer [2021-12-02T10:05:09.784Z] d287ab97295c: Pulling fs layer [2021-12-02T10:05:09.784Z] dc539afda2c1: Waiting [2021-12-02T10:05:09.784Z] 77bc0d833cb6: Waiting [2021-12-02T10:05:09.784Z] 9065ff56babe: Waiting [2021-12-02T10:05:09.784Z] d287ab97295c: Waiting [2021-12-02T10:05:10.073Z] ed53099fbce6: Verifying Checksum [2021-12-02T10:05:10.074Z] ed53099fbce6: Download complete [2021-12-02T10:05:10.074Z] dc539afda2c1: Verifying Checksum [2021-12-02T10:05:10.074Z] dc539afda2c1: Download complete [2021-12-02T10:05:10.074Z] b4d181a07f80: Download complete [2021-12-02T10:05:10.074Z] 77bc0d833cb6: Verifying Checksum [2021-12-02T10:05:10.074Z] 77bc0d833cb6: Download complete [2021-12-02T10:05:10.074Z] 9065ff56babe: Verifying Checksum [2021-12-02T10:05:10.074Z] 9065ff56babe: Download complete [2021-12-02T10:05:10.074Z] a1111a8f2ec3: Verifying Checksum [2021-12-02T10:05:10.074Z] a1111a8f2ec3: Download complete [2021-12-02T10:05:11.055Z] d287ab97295c: Verifying Checksum [2021-12-02T10:05:11.055Z] d287ab97295c: Download complete [2021-12-02T10:05:11.656Z] b4d181a07f80: Pull complete [2021-12-02T10:05:11.921Z] a1111a8f2ec3: Pull complete [2021-12-02T10:05:12.494Z] ed53099fbce6: Pull complete [2021-12-02T10:05:12.761Z] dc539afda2c1: Pull complete [2021-12-02T10:05:13.025Z] 77bc0d833cb6: Pull complete [2021-12-02T10:05:13.025Z] 9065ff56babe: Pull complete [2021-12-02T10:05:18.377Z] d287ab97295c: Pull complete [2021-12-02T10:05:18.377Z] Digest: sha256:0c69325c24349bfb3ea32a3c3cbcab1fb66df42c981276dd8ebcf6aa441257c4 [2021-12-02T10:05:18.377Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2021-12-02T10:05:18.377Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] withDockerContainer [2021-12-02T10:05:18.459Z] prd-centos7-docker-4c-2g-58 does not seem to be running inside a container [2021-12-02T10:05:18.491Z] $ 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 ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2021-12-02T10:05:21.312Z] $ docker top c502cb35abff55a78c110ee9df0e5819ae95dfc35acec17d793ed0a95d8a2cc6 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-12-02T10:05:21.683Z] + touch /tmp/pre-build-complete [Pipeline] sh [2021-12-02T10:05:21.978Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2021-12-02T10:05:22.269Z] + ls /var/log/sa-host [2021-12-02T10:05:22.269Z] + sadf -c /var/log/sa-host/sa02 [2021-12-02T10:05:22.269Z] file_magic: OK [2021-12-02T10:05:22.269Z] HZ: Using current value: 100 [2021-12-02T10:05:22.269Z] file_header: OK [2021-12-02T10:05:22.269Z] 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-02T10:05:22.269Z] Statistics: [2021-12-02T10:05:22.269Z] HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... [2021-12-02T10:05:22.269Z] File successfully converted to sysstat format version 12.0.3 [2021-12-02T10:05:22.269Z] + sadf -c /var/log/sa-host/sa17 [2021-12-02T10:05:22.269Z] file_magic: OK [2021-12-02T10:05:22.269Z] HZ: Using current value: 100 [2021-12-02T10:05:22.269Z] file_header: OK [2021-12-02T10:05:22.269Z] 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-02T10:05:22.269Z] Statistics: [2021-12-02T10:05:22.269Z] Hnuu...uuuununununu...Hnuu...uuuununununu... [2021-12-02T10:05:22.269Z] File successfully converted to sysstat format version 12.0.3 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-12-02T10:05:22.352Z] provisioning config files... [2021-12-02T10:05:22.368Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-rest-go_PR-148@tmp/config5814690628979345729tmp [Pipeline] { [Pipeline] echo [2021-12-02T10:05:22.386Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2021-12-02T10:05:22.677Z] ---> create-netrc.sh [Pipeline] } [2021-12-02T10:05:22.685Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2021-12-02T10:05:23.017Z] ---> python-tools-install.sh [Pipeline] echo [2021-12-02T10:05:23.029Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2021-12-02T10:05:23.319Z] ---> sudo-logs.sh [2021-12-02T10:05:23.319Z] Archiving 'sudo' log.. [2021-12-02T10:05:23.319Z] sudo: unable to resolve host prd-centos7-docker-4c-2g-58.novalocal: Name or service not known [2021-12-02T10:05:23.319Z] sudo: unable to resolve host prd-centos7-docker-4c-2g-58.novalocal: Name or service not known [Pipeline] unstash [Pipeline] echo [2021-12-02T10:05:23.342Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2021-12-02T10:05:23.628Z] ---> job-cost.sh [2021-12-02T10:05:23.628Z] lf-activate-venv: SKIPPING [2021-12-02T10:05:23.628Z] DEBUG: total: 0.10999999940395355 [2021-12-02T10:05:23.628Z] INFO: Retrieving Stack Cost... [2021-12-02T10:05:24.199Z] INFO: Retrieving Pricing Info for: v3-standard-2 [2021-12-02T10:05:24.461Z] INFO: Archiving Costs [Pipeline] echo [2021-12-02T10:05:24.476Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2021-12-02T10:05:24.773Z] ---> logs-deploy.sh [2021-12-02T10:05:24.773Z] lf-activate-venv: SKIPPING [2021-12-02T10:05:24.773Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-rest-go/PR-148/2 [2021-12-02T10:05:24.773Z] INFO: archiving workspace using pattern(s): [2021-12-02T10:05:25.348Z] Archives upload complete. [2021-12-02T10:05:25.608Z] INFO: archiving logs to Nexus