Pull request #146 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 MonicaisHer for edgexfoundry/device-rest-go Loading trusted files from base branch main at 7759c41568adf15208c0dd5cadcdb8f87895acd8 rather than 7435c4dcfd7fab1fb97167049a99f90a51d42f95 Obtained Jenkinsfile from 7759c41568adf15208c0dd5cadcdb8f87895acd8 Running in Durability level: PERFORMANCE_OPTIMIZED 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-ssh8345100504902586011.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 686c8e2b17b6b4c6988ddea14cf883eea3c5dfe4 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-ssh7721428996003956389.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 686c8e2b17b6b4c6988ddea14cf883eea3c5dfe4 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-146/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-146/workspace@libs/edgex-global-pipelines@tmp/jenkins-gitclient-ssh1645498989743482391.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 686c8e2b17b6b4c6988ddea14cf883eea3c5dfe4 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 686c8e2b17b6b4c6988ddea14cf883eea3c5dfe4 # timeout=10 Commit message: "Merge pull request #366 from ernestojeda/fix-builder-images-sdk-c" > 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-ssh923103512427217343.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-146/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-146/workspace@libs/lf-pipelines@tmp/jenkins-gitclient-ssh7811120751208087139.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-954 in /w/workspace/gexfoundry_device-rest-go_PR-146 [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-146 # 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-146@tmp/jenkins-gitclient-ssh5886231330240198707.key > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /w/workspace/gexfoundry_device-rest-go_PR-146@tmp/jenkins-gitclient-ssh2898975755999161051.key > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/pull/146/head:refs/remotes/origin/PR-146 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit 7759c41568adf15208c0dd5cadcdb8f87895acd8 into PR head commit 7435c4dcfd7fab1fb97167049a99f90a51d42f95 Merge succeeded, producing 7435c4dcfd7fab1fb97167049a99f90a51d42f95 Checking out Revision 7435c4dcfd7fab1fb97167049a99f90a51d42f95 (PR-146) > git config core.sparsecheckout # timeout=10 > git checkout -f 7435c4dcfd7fab1fb97167049a99f90a51d42f95 # timeout=10 > git remote # timeout=10 > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /w/workspace/gexfoundry_device-rest-go_PR-146@tmp/jenkins-gitclient-ssh6277562199153144642.key > git merge 7759c41568adf15208c0dd5cadcdb8f87895acd8 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 7435c4dcfd7fab1fb97167049a99f90a51d42f95 # timeout=10 Commit message: "build(snap): update `base` to core20" > git rev-list --no-walk 0360482d07a1081c93c83dbef0c3950328d2281a # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2021-11-17T11:19:36.209Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2021-11-17T11:19:36.255Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2021-11-17T11:19:36.265Z] ========================================================= [2021-11-17T11:19:36.265Z] EdgeX Global Pipelines Version Info [2021-11-17T11:19:36.265Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2021-11-17T11:19:37.401Z] ------------------- [2021-11-17T11:19:37.401Z] stable info: [2021-11-17T11:19:37.401Z] ------------------- [2021-11-17T11:19:37.401Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2021-11-17T11:19:37.401Z] Commit SHA: 686c8e2b17b6b4c6988ddea14cf883eea3c5dfe4 [2021-11-17T11:19:37.401Z] Message: update stable to v1.0.215 [2021-11-17T11:19:37.973Z] ------------------- [2021-11-17T11:19:37.973Z] experimental info: [2021-11-17T11:19:37.973Z] ------------------- [2021-11-17T11:19:37.973Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2021-11-17T11:19:37.973Z] Commit SHA: 686c8e2b17b6b4c6988ddea14cf883eea3c5dfe4 [2021-11-17T11:19:37.973Z] Message: update experimental to v1.0.215 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2021-11-17T11:19:38.046Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-rest-go-settings [Pipeline] echo [2021-11-17T11:19:38.053Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-rest-go [Pipeline] echo [2021-11-17T11:19:38.061Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2021-11-17T11:19:38.074Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2021-11-17T11:19:38.084Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2021-11-17T11:19:38.094Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.16 [Pipeline] echo [2021-11-17T11:19:38.105Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2021-11-17T11:19:38.115Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2021-11-17T11:19:38.125Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2021-11-17T11:19:38.136Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2021-11-17T11:19:38.146Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2021-11-17T11:19:38.157Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-rest [Pipeline] echo [2021-11-17T11:19:38.167Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2021-11-17T11:19:38.178Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2021-11-17T11:19:38.188Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2021-11-17T11:19:38.199Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2021-11-17T11:19:38.214Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2021-11-17T11:19:38.229Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2021-11-17T11:19:38.244Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2021-11-17T11:19:38.258Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2021-11-17T11:19:38.269Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2021-11-17T11:19:38.282Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2021-11-17T11:19:38.292Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2021-11-17T11:19:38.302Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2021-11-17T11:19:38.313Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2021-11-17T11:19:38.323Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2021-11-17T11:19:38.333Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-146 [Pipeline] echo [2021-11-17T11:19:38.344Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-146 [Pipeline] echo [2021-11-17T11:19:38.354Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-146 [Pipeline] echo [2021-11-17T11:19:38.364Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 7435c4dcfd7fab1fb97167049a99f90a51d42f95 [Pipeline] echo [2021-11-17T11:19:38.374Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 7435c4d [Pipeline] echo [2021-11-17T11:19:38.386Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-11-17T11:19:38.428Z] provisioning config files... [2021-11-17T11:19:38.440Z] copy managed file [device-rest-go-settings] to file:/w/workspace/gexfoundry_device-rest-go_PR-146@tmp/config4852119551279361312tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-11-17T11:19:38.755Z] ---> docker-login.sh [2021-11-17T11:19:38.756Z] nexus3.edgexfoundry.org:10001 [2021-11-17T11:19:38.756Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-11-17T11:19:39.017Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-11-17T11:19:39.017Z] Configure a credential helper to remove this warning. See [2021-11-17T11:19:39.017Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-11-17T11:19:39.017Z] [2021-11-17T11:19:39.017Z] Login Succeeded [2021-11-17T11:19:39.017Z] nexus3.edgexfoundry.org:10002 [2021-11-17T11:19:39.017Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-11-17T11:19:39.017Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-11-17T11:19:39.017Z] Configure a credential helper to remove this warning. See [2021-11-17T11:19:39.017Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-11-17T11:19:39.017Z] [2021-11-17T11:19:39.017Z] Login Succeeded [2021-11-17T11:19:39.017Z] nexus3.edgexfoundry.org:10003 [2021-11-17T11:19:39.017Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-11-17T11:19:39.276Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-11-17T11:19:39.276Z] Configure a credential helper to remove this warning. See [2021-11-17T11:19:39.276Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-11-17T11:19:39.276Z] [2021-11-17T11:19:39.276Z] Login Succeeded [2021-11-17T11:19:39.276Z] nexus3.edgexfoundry.org:10004 [2021-11-17T11:19:39.276Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-11-17T11:19:39.276Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-11-17T11:19:39.276Z] Configure a credential helper to remove this warning. See [2021-11-17T11:19:39.276Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-11-17T11:19:39.276Z] [2021-11-17T11:19:39.276Z] Login Succeeded [2021-11-17T11:19:39.276Z] docker.io [2021-11-17T11:19:39.276Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-11-17T11:19:39.850Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-11-17T11:19:39.850Z] Configure a credential helper to remove this warning. See [2021-11-17T11:19:39.850Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-11-17T11:19:39.850Z] [2021-11-17T11:19:39.850Z] Login Succeeded [2021-11-17T11:19:39.850Z] ---> docker-login.sh ends [Pipeline] } [2021-11-17T11:19:39.862Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2021-11-17T11:19:40.290Z] + git rev-list -1 --merges 7435c4dcfd7fab1fb97167049a99f90a51d42f95~1..7435c4dcfd7fab1fb97167049a99f90a51d42f95 [Pipeline] echo [2021-11-17T11:19:40.331Z] -----------> git rev-list -1 --merges 7435c4dcfd7fab1fb97167049a99f90a51d42f95~1..7435c4dcfd7fab1fb97167049a99f90a51d42f95 7435c4dcfd7fab1fb97167049a99f90a51d42f95 [false] [Pipeline] sh [2021-11-17T11:19:40.625Z] + git log --format=format:%s -1 7435c4dcfd7fab1fb97167049a99f90a51d42f95 [Pipeline] echo [2021-11-17T11:19:40.640Z] ========================================================= [2021-11-17T11:19:40.640Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2021-11-17T11:19:40.640Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-11-17T11:19:40.978Z] + git log --format=format:%s -1 7435c4dcfd7fab1fb97167049a99f90a51d42f95 [Pipeline] echo [2021-11-17T11:19:40.991Z] [semverPrep] GIT_COMMIT: 7435c4dcfd7fab1fb97167049a99f90a51d42f95, Commit Message: build(snap): update `base` to core20 [Pipeline] echo [2021-11-17T11:19:41.001Z] [semverPrep] This is not a build commit. [Pipeline] isUnix [Pipeline] sh [2021-11-17T11:19:41.449Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-11-17T11:19:41.450Z] [2021-11-17T11:19:41.450Z] Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh [2021-11-17T11:19:41.751Z] + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-11-17T11:19:41.751Z] latest: Pulling from edgex-devops/git-semver [2021-11-17T11:19:41.751Z] a0d0a0d46f8b: Pulling fs layer [2021-11-17T11:19:41.752Z] 3e5f54012d9b: Pulling fs layer [2021-11-17T11:19:41.752Z] 4c7163046ea9: Pulling fs layer [2021-11-17T11:19:41.752Z] 0c2d73faf560: Pulling fs layer [2021-11-17T11:19:41.752Z] 0c2d73faf560: Waiting [2021-11-17T11:19:41.752Z] 3e5f54012d9b: Verifying Checksum [2021-11-17T11:19:41.752Z] 3e5f54012d9b: Download complete [2021-11-17T11:19:41.752Z] a0d0a0d46f8b: Verifying Checksum [2021-11-17T11:19:41.752Z] a0d0a0d46f8b: Download complete [2021-11-17T11:19:41.752Z] 0c2d73faf560: Verifying Checksum [2021-11-17T11:19:41.752Z] 0c2d73faf560: Download complete [2021-11-17T11:19:42.011Z] 4c7163046ea9: Verifying Checksum [2021-11-17T11:19:42.011Z] 4c7163046ea9: Download complete [2021-11-17T11:19:42.011Z] a0d0a0d46f8b: Pull complete [2021-11-17T11:19:42.011Z] 3e5f54012d9b: Pull complete [2021-11-17T11:19:42.275Z] 4c7163046ea9: Pull complete [2021-11-17T11:19:42.540Z] 0c2d73faf560: Pull complete [2021-11-17T11:19:42.540Z] Digest: sha256:2751de6e655929dcbe46418c7769d9d992331b5b721eb968631a4166222929f9 [2021-11-17T11:19:42.540Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-11-17T11:19:42.540Z] nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer [2021-11-17T11:19:42.608Z] prd-centos7-docker-4c-2g-954 does not seem to be running inside a container [2021-11-17T11:19:42.650Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-rest-go_PR-146 -v /w/workspace/gexfoundry_device-rest-go_PR-146:/w/workspace/gexfoundry_device-rest-go_PR-146:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-146@tmp:/w/workspace/gexfoundry_device-rest-go_PR-146@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-11-17T11:19:43.165Z] $ docker top 3605a419fde0844c31d45a4110b671a91ce41408d4c7140dd0e7c24c948665df -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2021-11-17T11:19:43.257Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-11-17T11:19:43.257Z] [ssh-agent] Looking for ssh-agent implementation... [2021-11-17T11:19:43.363Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-11-17T11:19:43.366Z] $ docker exec 3605a419fde0844c31d45a4110b671a91ce41408d4c7140dd0e7c24c948665df ssh-agent [2021-11-17T11:19:43.470Z] SSH_AUTH_SOCK=/tmp/ssh-XXXXXXbmkLmO/agent.13 [2021-11-17T11:19:43.470Z] SSH_AGENT_PID=20 [2021-11-17T11:19:43.479Z] Running ssh-add (command line suppressed) [2021-11-17T11:19:43.572Z] Identity added: /w/workspace/gexfoundry_device-rest-go_PR-146@tmp/private_key_7696071965209119769.key (/w/workspace/gexfoundry_device-rest-go_PR-146@tmp/private_key_7696071965209119769.key) [2021-11-17T11:19:43.586Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-11-17T11:19:43.890Z] + git tag --points-at HEAD [Pipeline] } [2021-11-17T11:19:43.904Z] $ docker exec --env ******** --env ******** 3605a419fde0844c31d45a4110b671a91ce41408d4c7140dd0e7c24c948665df ssh-agent -k [2021-11-17T11:19:44.010Z] unset SSH_AUTH_SOCK; [2021-11-17T11:19:44.011Z] unset SSH_AGENT_PID; [2021-11-17T11:19:44.011Z] echo Agent pid 20 killed; [2021-11-17T11:19:44.024Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2021-11-17T11:19:44.053Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-11-17T11:19:44.053Z] [ssh-agent] Looking for ssh-agent implementation... [2021-11-17T11:19:44.179Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-11-17T11:19:44.182Z] $ docker exec 3605a419fde0844c31d45a4110b671a91ce41408d4c7140dd0e7c24c948665df ssh-agent [2021-11-17T11:19:44.284Z] SSH_AUTH_SOCK=/tmp/ssh-XXXXXXmiEPHM/agent.53 [2021-11-17T11:19:44.284Z] SSH_AGENT_PID=60 [2021-11-17T11:19:44.289Z] Running ssh-add (command line suppressed) [2021-11-17T11:19:44.388Z] Identity added: /w/workspace/gexfoundry_device-rest-go_PR-146@tmp/private_key_2839296533798992784.key (/w/workspace/gexfoundry_device-rest-go_PR-146@tmp/private_key_2839296533798992784.key) [2021-11-17T11:19:44.403Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-11-17T11:19:44.706Z] + git semver init [2021-11-17T11:19:44.707Z] # -> Open(): unable to determine branch for HEAD [2021-11-17T11:19:44.707Z] # $GIT_DIR = /w/workspace/gexfoundry_device-rest-go_PR-146/.git [2021-11-17T11:19:44.707Z] # $GIT_WORK_TREE = /w/workspace/gexfoundry_device-rest-go_PR-146 [2021-11-17T11:19:44.707Z] # $SEMVER_REMOTE_NAME = origin [2021-11-17T11:19:44.707Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2021-11-17T11:19:44.707Z] # $SEMVER_USER_NAME = edgex-jenkins [2021-11-17T11:19:44.707Z] # $SEMVER_BRANCH = PR-146 [2021-11-17T11:19:44.707Z] # $SEMVER_TEMP = /tmp/semver-336379440 [2021-11-17T11:19:44.707Z] # git clone --branch semver git@github.com:edgexfoundry/device-rest-go.git $SEMVER_TEMP [2021-11-17T11:19:44.707Z] # -> Clone(): ssh: handshake failed: knownhosts: key mismatch [2021-11-17T11:19:44.707Z] # git init /tmp/semver-336379440 [2021-11-17T11:19:44.707Z] # '/tmp/semver-336379440' -> '/w/workspace/gexfoundry_device-rest-go_PR-146/.semver' [2021-11-17T11:19:44.707Z] # -> Force: false [2021-11-17T11:19:44.707Z] # $SEMVER_DIR = /w/workspace/gexfoundry_device-rest-go_PR-146/.semver [Pipeline] } [2021-11-17T11:19:44.717Z] $ docker exec --env ******** --env ******** 3605a419fde0844c31d45a4110b671a91ce41408d4c7140dd0e7c24c948665df ssh-agent -k [2021-11-17T11:19:44.811Z] unset SSH_AUTH_SOCK; [2021-11-17T11:19:44.812Z] unset SSH_AGENT_PID; [2021-11-17T11:19:44.812Z] echo Agent pid 60 killed; [2021-11-17T11:19:44.820Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2021-11-17T11:19:45.129Z] + git semver [Pipeline] } [2021-11-17T11:19:45.145Z] $ docker stop --time=1 3605a419fde0844c31d45a4110b671a91ce41408d4c7140dd0e7c24c948665df [2021-11-17T11:19:46.344Z] $ docker rm -f 3605a419fde0844c31d45a4110b671a91ce41408d4c7140dd0e7c24c948665df [Pipeline] // withDockerContainer [Pipeline] sh [2021-11-17T11:19:46.685Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2021-11-17T11:19:46.920Z] Stashed 1 file(s) [Pipeline] echo [2021-11-17T11:19:46.925Z] [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-11-17T11:20:02.068Z] Still waiting to schedule task [2021-11-17T11:20:02.069Z] Waiting for next available executor on ‘centos7-docker-4c-2g’ [2021-11-17T11:20:02.070Z] Still waiting to schedule task [2021-11-17T11:20:02.071Z] Waiting for next available executor on ‘prd-ubuntu18.04-docker-arm64-4c-16g-952’ [2021-11-17T11:21:55.227Z] Running on prd-centos7-docker-4c-2g-955 in /w/workspace/gexfoundry_device-rest-go_PR-146 [Pipeline] { [Pipeline] ws [2021-11-17T11:21:55.238Z] Running in /w/workspace/device-rest-go/5 [Pipeline] { [Pipeline] checkout [2021-11-17T11:21:55.318Z] The recommended git tool is: git [2021-11-17T11:21:57.313Z] using credential edgex-jenkins-ssh [2021-11-17T11:21:57.323Z] Cloning the remote Git repository [2021-11-17T11:21:57.196Z] Cloning repository git@github.com:edgexfoundry/device-rest-go.git [2021-11-17T11:21:57.260Z] > git init /w/workspace/device-rest-go/5 # timeout=10 [2021-11-17T11:21:57.309Z] Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git [2021-11-17T11:21:57.309Z] > git --version # timeout=10 [2021-11-17T11:21:57.319Z] > git --version # 'git version 2.24.4' [2021-11-17T11:21:57.319Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-11-17T11:21:57.342Z] [INFO] Currently running in a labeled security context [2021-11-17T11:21:57.342Z] [INFO] Currently SELinux is 'enforcing' on the host [2021-11-17T11:21:57.342Z] > /usr/bin/chcon --type=ssh_home_t /w/workspace/device-rest-go/5@tmp/jenkins-gitclient-ssh8480238868419359859.key [2021-11-17T11:21:57.368Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-11-17T11:21:58.371Z] > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 [2021-11-17T11:21:58.383Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-11-17T11:21:58.394Z] > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 [2021-11-17T11:21:58.409Z] Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git [2021-11-17T11:21:58.409Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-11-17T11:21:58.410Z] [INFO] Currently running in a labeled security context [2021-11-17T11:21:58.410Z] [INFO] Currently SELinux is 'enforcing' on the host [2021-11-17T11:21:58.411Z] > /usr/bin/chcon --type=ssh_home_t /w/workspace/device-rest-go/5@tmp/jenkins-gitclient-ssh5509475475883276682.key [2021-11-17T11:21:58.417Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/pull/146/head:refs/remotes/origin/PR-146 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2021-11-17T11:21:59.050Z] Merging remotes/origin/main commit 7759c41568adf15208c0dd5cadcdb8f87895acd8 into PR head commit 7435c4dcfd7fab1fb97167049a99f90a51d42f95 [2021-11-17T11:21:59.139Z] Merge succeeded, producing 7435c4dcfd7fab1fb97167049a99f90a51d42f95 [2021-11-17T11:21:59.139Z] Checking out Revision 7435c4dcfd7fab1fb97167049a99f90a51d42f95 (PR-146) [2021-11-17T11:21:58.908Z] > git config core.sparsecheckout # timeout=10 [2021-11-17T11:21:58.915Z] > git checkout -f 7435c4dcfd7fab1fb97167049a99f90a51d42f95 # timeout=10 [2021-11-17T11:21:58.942Z] > git remote # timeout=10 [2021-11-17T11:21:58.951Z] > git config --get remote.origin.url # timeout=10 [2021-11-17T11:21:58.956Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-11-17T11:21:58.958Z] [INFO] Currently running in a labeled security context [2021-11-17T11:21:58.958Z] [INFO] Currently SELinux is 'enforcing' on the host [2021-11-17T11:21:58.958Z] > /usr/bin/chcon --type=ssh_home_t /w/workspace/device-rest-go/5@tmp/jenkins-gitclient-ssh7445830437881677065.key [2021-11-17T11:21:58.965Z] > git merge 7759c41568adf15208c0dd5cadcdb8f87895acd8 # timeout=10 [2021-11-17T11:21:58.977Z] > git rev-parse HEAD^{commit} # timeout=10 [2021-11-17T11:21:58.992Z] > git config core.sparsecheckout # timeout=10 [2021-11-17T11:21:58.997Z] > git checkout -f 7435c4dcfd7fab1fb97167049a99f90a51d42f95 # timeout=10 [2021-11-17T11:22:02.711Z] Commit message: "build(snap): update `base` to core20" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-11-17T11:22:03.203Z] provisioning config files... [2021-11-17T11:22:03.216Z] copy managed file [device-rest-go-settings] to file:/w/workspace/device-rest-go/5@tmp/config7578050304848754696tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-11-17T11:22:03.600Z] ---> docker-login.sh [2021-11-17T11:22:03.600Z] nexus3.edgexfoundry.org:10001 [2021-11-17T11:22:03.600Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-11-17T11:22:03.600Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-11-17T11:22:03.600Z] Configure a credential helper to remove this warning. See [2021-11-17T11:22:03.600Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-11-17T11:22:03.600Z] [2021-11-17T11:22:03.600Z] Login Succeeded [2021-11-17T11:22:03.600Z] nexus3.edgexfoundry.org:10002 [2021-11-17T11:22:03.866Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-11-17T11:22:03.866Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-11-17T11:22:03.866Z] Configure a credential helper to remove this warning. See [2021-11-17T11:22:03.866Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-11-17T11:22:03.866Z] [2021-11-17T11:22:03.866Z] Login Succeeded [2021-11-17T11:22:03.866Z] nexus3.edgexfoundry.org:10003 [2021-11-17T11:22:03.866Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-11-17T11:22:03.866Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-11-17T11:22:03.866Z] Configure a credential helper to remove this warning. See [2021-11-17T11:22:03.866Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-11-17T11:22:03.866Z] [2021-11-17T11:22:03.866Z] Login Succeeded [2021-11-17T11:22:03.866Z] nexus3.edgexfoundry.org:10004 [2021-11-17T11:22:04.127Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-11-17T11:22:04.127Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-11-17T11:22:04.127Z] Configure a credential helper to remove this warning. See [2021-11-17T11:22:04.127Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-11-17T11:22:04.127Z] [2021-11-17T11:22:04.127Z] Login Succeeded [2021-11-17T11:22:04.127Z] docker.io [2021-11-17T11:22:04.127Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-11-17T11:22:04.390Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-11-17T11:22:04.390Z] Configure a credential helper to remove this warning. See [2021-11-17T11:22:04.390Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-11-17T11:22:04.390Z] [2021-11-17T11:22:04.390Z] Login Succeeded [2021-11-17T11:22:04.390Z] ---> docker-login.sh ends [Pipeline] } [2021-11-17T11:22:04.425Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2021-11-17T11:22:04.556Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2021-11-17T11:22:04.564Z] ========================================================= [2021-11-17T11:22:04.564Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine] [2021-11-17T11:22:04.564Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh [2021-11-17T11:22:04.878Z] + 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-11-17T11:22:04.878Z] Sending build context to Docker daemon 121.9kB [2021-11-17T11:22:04.878Z] Step 1/11 : ARG BASE=golang:1.16-alpine3.14 [2021-11-17T11:22:04.878Z] Step 2/11 : FROM ${BASE} AS builder [2021-11-17T11:22:04.878Z] 1.16-alpine: Pulling from edgex-devops/edgex-golang-base [2021-11-17T11:22:04.878Z] a0d0a0d46f8b: Pulling fs layer [2021-11-17T11:22:04.878Z] 31adcdaf11c8: Pulling fs layer [2021-11-17T11:22:04.878Z] b8b176561691: Pulling fs layer [2021-11-17T11:22:04.878Z] 4527c011a84f: Pulling fs layer [2021-11-17T11:22:04.878Z] 5d74067f8e1e: Pulling fs layer [2021-11-17T11:22:04.878Z] e0aca202a116: Pulling fs layer [2021-11-17T11:22:04.878Z] 3a43be97a3b4: Pulling fs layer [2021-11-17T11:22:04.878Z] 34cad66bf833: Pulling fs layer [2021-11-17T11:22:04.878Z] b4e3c513aaa6: Pulling fs layer [2021-11-17T11:22:04.878Z] 4527c011a84f: Waiting [2021-11-17T11:22:04.878Z] 5d74067f8e1e: Waiting [2021-11-17T11:22:04.878Z] e0aca202a116: Waiting [2021-11-17T11:22:04.878Z] 3a43be97a3b4: Waiting [2021-11-17T11:22:04.878Z] 34cad66bf833: Waiting [2021-11-17T11:22:04.878Z] b4e3c513aaa6: Waiting [2021-11-17T11:22:04.878Z] b8b176561691: Verifying Checksum [2021-11-17T11:22:04.878Z] b8b176561691: Download complete [2021-11-17T11:22:04.878Z] 31adcdaf11c8: Verifying Checksum [2021-11-17T11:22:04.878Z] 31adcdaf11c8: Download complete [2021-11-17T11:22:04.878Z] 5d74067f8e1e: Verifying Checksum [2021-11-17T11:22:04.878Z] 5d74067f8e1e: Download complete [2021-11-17T11:22:04.878Z] e0aca202a116: Verifying Checksum [2021-11-17T11:22:04.878Z] e0aca202a116: Download complete [2021-11-17T11:22:04.878Z] 3a43be97a3b4: Verifying Checksum [2021-11-17T11:22:04.878Z] 3a43be97a3b4: Download complete [2021-11-17T11:22:04.878Z] a0d0a0d46f8b: Verifying Checksum [2021-11-17T11:22:04.878Z] a0d0a0d46f8b: Download complete [2021-11-17T11:22:05.145Z] 34cad66bf833: Verifying Checksum [2021-11-17T11:22:05.145Z] 34cad66bf833: Download complete [2021-11-17T11:22:05.407Z] a0d0a0d46f8b: Pull complete [2021-11-17T11:22:05.668Z] b4e3c513aaa6: Verifying Checksum [2021-11-17T11:22:05.668Z] b4e3c513aaa6: Download complete [2021-11-17T11:22:05.668Z] 4527c011a84f: Verifying Checksum [2021-11-17T11:22:05.668Z] 4527c011a84f: Download complete [2021-11-17T11:22:05.668Z] 31adcdaf11c8: Pull complete [2021-11-17T11:22:05.668Z] b8b176561691: Pull complete [2021-11-17T11:22:09.909Z] 4527c011a84f: Pull complete [2021-11-17T11:22:09.909Z] 5d74067f8e1e: Pull complete [2021-11-17T11:22:09.909Z] e0aca202a116: Pull complete [2021-11-17T11:22:09.909Z] 3a43be97a3b4: Pull complete [2021-11-17T11:22:09.909Z] 34cad66bf833: Pull complete [2021-11-17T11:22:11.849Z] b4e3c513aaa6: Pull complete [2021-11-17T11:22:11.849Z] Digest: sha256:75229776e65f3af88907aed05f91058a30c94a2fbbc20266ef4560f68deb3433 [2021-11-17T11:22:11.849Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine [2021-11-17T11:22:11.849Z] ---> 9f6097aaca64 [2021-11-17T11:22:11.849Z] Step 3/11 : ARG MAKE='make build' [2021-11-17T11:22:15.146Z] ---> Running in 0f80cfb7ac6d [2021-11-17T11:22:15.146Z] Removing intermediate container 0f80cfb7ac6d [2021-11-17T11:22:15.146Z] ---> 012dd19435c4 [2021-11-17T11:22:15.146Z] Step 4/11 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2021-11-17T11:22:15.146Z] ---> Running in c5727385011e [2021-11-17T11:22:15.146Z] Removing intermediate container c5727385011e [2021-11-17T11:22:15.146Z] ---> a26b9b7f1e90 [2021-11-17T11:22:15.146Z] Step 5/11 : ARG ALPINE_PKG_EXTRA="" [2021-11-17T11:22:15.146Z] ---> Running in e8fd04a084df [2021-11-17T11:22:15.146Z] Removing intermediate container e8fd04a084df [2021-11-17T11:22:15.146Z] ---> e07dcbaea3e9 [2021-11-17T11:22:15.146Z] Step 6/11 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-11-17T11:22:15.146Z] ---> Running in 3e389525f4c3 [2021-11-17T11:22:15.725Z] Removing intermediate container 3e389525f4c3 [2021-11-17T11:22:15.725Z] ---> 2274c33fb2e6 [2021-11-17T11:22:15.725Z] Step 7/11 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2021-11-17T11:22:15.725Z] ---> Running in ce0354bea33a [2021-11-17T11:22:15.986Z] fetch https://nl.alpinelinux.org/alpine/v3.14/main/x86_64/APKINDEX.tar.gz [2021-11-17T11:22:16.926Z] fetch https://nl.alpinelinux.org/alpine/v3.14/community/x86_64/APKINDEX.tar.gz [2021-11-17T11:22:17.186Z] (1/4) Installing openssh-keygen (8.6_p1-r3) [2021-11-17T11:22:17.186Z] (2/4) Installing libedit (20210216.3.1-r0) [2021-11-17T11:22:17.450Z] (3/4) Installing openssh-client-common (8.6_p1-r3) [2021-11-17T11:22:17.450Z] (4/4) Installing openssh-client-default (8.6_p1-r3) [2021-11-17T11:22:17.450Z] Executing busybox-1.33.1-r3.trigger [2021-11-17T11:22:17.450Z] OK: 224 MiB in 56 packages [2021-11-17T11:22:17.710Z] Removing intermediate container ce0354bea33a [2021-11-17T11:22:17.710Z] ---> a3fc0a0301bb [2021-11-17T11:22:17.710Z] Step 8/11 : WORKDIR /device-rest-go [2021-11-17T11:22:17.969Z] ---> Running in 59dc5d367696 [2021-11-17T11:22:17.969Z] Removing intermediate container 59dc5d367696 [2021-11-17T11:22:17.969Z] ---> 04a5d474ca43 [2021-11-17T11:22:17.969Z] Step 9/11 : COPY . . [2021-11-17T11:22:17.969Z] ---> 78fe7e444d37 [2021-11-17T11:22:17.969Z] Step 10/11 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2021-11-17T11:22:18.228Z] ---> Running in d5047fa158be [2021-11-17T11:22:44.835Z] Removing intermediate container d5047fa158be [2021-11-17T11:22:44.835Z] ---> 8b13560e93b1 [2021-11-17T11:22:44.835Z] Step 11/11 : RUN $MAKE [2021-11-17T11:22:44.835Z] ---> Running in 7a49dcf38dec [2021-11-17T11:22:44.835Z] noop [2021-11-17T11:22:44.835Z] Removing intermediate container 7a49dcf38dec [2021-11-17T11:22:44.835Z] ---> 973de18f2d9d [2021-11-17T11:22:44.835Z] Successfully built 973de18f2d9d [2021-11-17T11:22:44.835Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh [2021-11-17T11:22:45.136Z] + docker inspect -f . ci-base-image-x86_64 [2021-11-17T11:22:45.136Z] . [Pipeline] withDockerContainer [2021-11-17T11:22:45.203Z] prd-centos7-docker-4c-2g-955 does not seem to be running inside a container [2021-11-17T11:22:45.241Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-rest-go/5 -v /w/workspace/device-rest-go/5:/w/workspace/device-rest-go/5:rw,z -v /w/workspace/device-rest-go/5@tmp:/w/workspace/device-rest-go/5@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 ******** -e ******** ci-base-image-x86_64 cat [2021-11-17T11:22:45.640Z] $ docker top 3c374fdc22ed6454462dfba4c60fa656300f9b62a75e1189c2ee1b5dba17298d -eo pid,comm [Pipeline] { [Pipeline] sh [2021-11-17T11:22:46.023Z] + go version [2021-11-17T11:22:46.023Z] go version go1.16.8 linux/amd64 [Pipeline] } [2021-11-17T11:22:46.040Z] $ docker stop --time=1 3c374fdc22ed6454462dfba4c60fa656300f9b62a75e1189c2ee1b5dba17298d [2021-11-17T11:22:47.202Z] $ docker rm -f 3c374fdc22ed6454462dfba4c60fa656300f9b62a75e1189c2ee1b5dba17298d [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-11-17T11:22:47.635Z] + docker inspect -f . ci-base-image-x86_64 [2021-11-17T11:22:47.635Z] . [Pipeline] withDockerContainer [2021-11-17T11:22:47.700Z] prd-centos7-docker-4c-2g-955 does not seem to be running inside a container [2021-11-17T11:22:47.734Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-rest-go/5 -v /w/workspace/device-rest-go/5:/w/workspace/device-rest-go/5:rw,z -v /w/workspace/device-rest-go/5@tmp:/w/workspace/device-rest-go/5@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 ******** -e ******** ci-base-image-x86_64 cat [2021-11-17T11:22:48.036Z] $ docker top 66b3e14de8bd85b293cb414589524bf98b81603e30c79a12dad6c5672d0f6582 -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh [2021-11-17T11:22:48.403Z] + make test [2021-11-17T11:22:48.403Z] CGO_ENABLED=1 GO111MODULE=on go test -coverprofile=coverage.out ./... [2021-11-17T11:22:48.664Z] ? github.com/edgexfoundry/device-rest-go [no test files] [2021-11-17T11:23:03.683Z] ? github.com/edgexfoundry/device-rest-go/cmd [no test files] [2021-11-17T11:23:04.271Z] ok github.com/edgexfoundry/device-rest-go/driver 0.013s coverage: 56.0% of statements [2021-11-17T11:23:04.271Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2021-11-17T11:23:10.896Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2021-11-17T11:23:10.896Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2021-11-17T11:23:10.896Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2021-11-17T11:23:10.912Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2021-11-17T11:23:10.920Z] $ docker stop --time=1 66b3e14de8bd85b293cb414589524bf98b81603e30c79a12dad6c5672d0f6582 [2021-11-17T11:23:12.355Z] $ docker rm -f 66b3e14de8bd85b293cb414589524bf98b81603e30c79a12dad6c5672d0f6582 [Pipeline] // withDockerContainer [Pipeline] sh [2021-11-17T11:23:12.769Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2021-11-17T11:23:12.915Z] Running on prd-ubuntu18.04-docker-arm64-4c-16g-956 in /w/workspace/gexfoundry_device-rest-go_PR-146 [Pipeline] { [Pipeline] ws [2021-11-17T11:23:12.926Z] Running in /w/workspace/device-rest-go/5 [Pipeline] { [2021-11-17T11:23:12.933Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] checkout [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [2021-11-17T11:23:13.141Z] The recommended git tool is: git [Pipeline] sh [2021-11-17T11:23:14.048Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2021-11-17T11:23:14.348Z] + ls -al . [2021-11-17T11:23:14.348Z] total 148 [2021-11-17T11:23:14.348Z] drwxrwxr-x. 8 jenkins jenkins 4096 Nov 17 11:23 . [2021-11-17T11:23:14.348Z] drwxrwxr-x. 4 jenkins jenkins 28 Nov 17 11:21 .. [2021-11-17T11:23:14.348Z] -rw-rw-r--. 1 jenkins jenkins 7095 Nov 17 11:21 Attribution.txt [2021-11-17T11:23:14.348Z] drwxrwxr-x. 2 jenkins jenkins 37 Nov 17 11:21 bin [2021-11-17T11:23:14.348Z] -rw-rw-r--. 1 jenkins jenkins 7459 Nov 17 11:21 CHANGELOG.md [2021-11-17T11:23:14.348Z] drwxrwxr-x. 3 jenkins jenkins 32 Nov 17 11:21 cmd [2021-11-17T11:23:14.348Z] -rw-r--r--. 1 jenkins jenkins 9215 Nov 17 11:23 coverage.out [2021-11-17T11:23:14.348Z] -rw-rw-r--. 1 jenkins jenkins 1649 Nov 17 11:21 Dockerfile [2021-11-17T11:23:14.348Z] -rw-rw-r--. 1 jenkins jenkins 151 Nov 17 11:21 .dockerignore [2021-11-17T11:23:14.348Z] drwxrwxr-x. 2 jenkins jenkins 76 Nov 17 11:21 driver [2021-11-17T11:23:14.348Z] drwxrwxr-x. 8 jenkins jenkins 179 Nov 17 11:22 .git [2021-11-17T11:23:14.348Z] drwxrwxr-x. 2 jenkins jenkins 103 Nov 17 11:21 .github [2021-11-17T11:23:14.348Z] -rw-rw-r--. 1 jenkins jenkins 329 Nov 17 11:21 .gitignore [2021-11-17T11:23:14.348Z] -rw-rw-r--. 1 jenkins jenkins 271 Nov 17 11:21 go.mod [2021-11-17T11:23:14.348Z] -rw-rw-r--. 1 jenkins jenkins 49306 Nov 17 11:21 go.sum [2021-11-17T11:23:14.348Z] -rw-rw-r--. 1 jenkins jenkins 677 Nov 17 11:21 GOVERNANCE.md [2021-11-17T11:23:14.348Z] -rw-rw-r--. 1 jenkins jenkins 680 Nov 17 11:21 Jenkinsfile [2021-11-17T11:23:14.348Z] -rw-rw-r--. 1 jenkins jenkins 11340 Nov 17 11:21 LICENSE [2021-11-17T11:23:14.348Z] -rw-rw-r--. 1 jenkins jenkins 1078 Nov 17 11:21 Makefile [2021-11-17T11:23:14.348Z] -rw-rw-r--. 1 jenkins jenkins 620 Nov 17 11:21 OWNERS.md [2021-11-17T11:23:14.348Z] -rw-rw-r--. 1 jenkins jenkins 8246 Nov 17 11:21 README.md [2021-11-17T11:23:14.348Z] drwxrwxr-x. 3 jenkins jenkins 58 Nov 17 11:21 snap [2021-11-17T11:23:14.348Z] -rw-rw-r--. 1 jenkins jenkins 5 Nov 17 11:19 VERSION [2021-11-17T11:23:14.348Z] -rw-rw-r--. 1 jenkins jenkins 713 Nov 17 11:21 version.go [Pipeline] isUnix [Pipeline] sh [2021-11-17T11:23:14.649Z] + 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=7435c4dcfd7fab1fb97167049a99f90a51d42f95 --label arch=amd64 --label version=0.0.0 . [2021-11-17T11:23:14.650Z] Sending build context to Docker daemon 131.6kB [2021-11-17T11:23:14.650Z] Step 1/24 : ARG BASE=golang:1.16-alpine3.14 [2021-11-17T11:23:14.650Z] Step 2/24 : FROM ${BASE} AS builder [2021-11-17T11:23:14.650Z] ---> 973de18f2d9d [2021-11-17T11:23:14.650Z] Step 3/24 : ARG MAKE='make build' [2021-11-17T11:23:14.650Z] ---> Running in 7f94ac9ea0ba [2021-11-17T11:23:14.650Z] Removing intermediate container 7f94ac9ea0ba [2021-11-17T11:23:14.650Z] ---> f897a2e32231 [2021-11-17T11:23:14.650Z] Step 4/24 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2021-11-17T11:23:14.650Z] ---> Running in 86668e1cf59a [2021-11-17T11:23:14.916Z] Removing intermediate container 86668e1cf59a [2021-11-17T11:23:14.916Z] ---> b6f3581e47f1 [2021-11-17T11:23:14.916Z] Step 5/24 : ARG ALPINE_PKG_EXTRA="" [2021-11-17T11:23:14.916Z] ---> Running in f827104f7c06 [2021-11-17T11:23:14.916Z] Removing intermediate container f827104f7c06 [2021-11-17T11:23:14.916Z] ---> 8e66b2aa49ae [2021-11-17T11:23:14.916Z] Step 6/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-11-17T11:23:14.916Z] ---> Running in da0e81afec91 [2021-11-17T11:23:15.490Z] Removing intermediate container da0e81afec91 [2021-11-17T11:23:15.490Z] ---> 1f2bb38ef152 [2021-11-17T11:23:15.490Z] Step 7/24 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2021-11-17T11:23:15.490Z] ---> Running in 07db0a2300d4 [2021-11-17T11:23:15.750Z] fetch https://nl.alpinelinux.org/alpine/v3.14/main/x86_64/APKINDEX.tar.gz [2021-11-17T11:23:16.321Z] fetch https://nl.alpinelinux.org/alpine/v3.14/community/x86_64/APKINDEX.tar.gz [2021-11-17T11:23:16.893Z] OK: 224 MiB in 56 packages [2021-11-17T11:23:16.893Z] Removing intermediate container 07db0a2300d4 [2021-11-17T11:23:16.893Z] ---> 219ea05a0294 [2021-11-17T11:23:16.893Z] Step 8/24 : WORKDIR /device-rest-go [2021-11-17T11:23:17.153Z] ---> Running in c55df6ddf758 [2021-11-17T11:23:17.153Z] Removing intermediate container c55df6ddf758 [2021-11-17T11:23:17.153Z] ---> 07b1c0f8a076 [2021-11-17T11:23:17.153Z] Step 9/24 : COPY . . [2021-11-17T11:23:17.423Z] ---> d83c246e9c71 [2021-11-17T11:23:17.423Z] Step 10/24 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2021-11-17T11:23:17.423Z] ---> Running in 222bb1e3b35f [2021-11-17T11:23:18.006Z] Removing intermediate container 222bb1e3b35f [2021-11-17T11:23:18.006Z] ---> 8f78983648d1 [2021-11-17T11:23:18.006Z] Step 11/24 : RUN $MAKE [2021-11-17T11:23:18.006Z] ---> Running in cb96f0b468c4 [2021-11-17T11:23:18.270Z] 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-11-17T11:23:18.416Z] using credential edgex-jenkins-ssh [2021-11-17T11:23:18.433Z] Cloning the remote Git repository [2021-11-17T11:23:18.489Z] Cloning repository git@github.com:edgexfoundry/device-rest-go.git [2021-11-17T11:23:18.595Z] > git init /w/workspace/device-rest-go/5 # timeout=10 [2021-11-17T11:23:18.664Z] Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git [2021-11-17T11:23:18.665Z] > git --version # timeout=10 [2021-11-17T11:23:18.687Z] > git --version # 'git version 2.17.1' [2021-11-17T11:23:18.689Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-11-17T11:23:18.758Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-11-17T11:23:22.869Z] > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 [2021-11-17T11:23:22.883Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-11-17T11:23:22.912Z] > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 [2021-11-17T11:23:22.953Z] Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git [2021-11-17T11:23:22.954Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-11-17T11:23:22.967Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/pull/146/head:refs/remotes/origin/PR-146 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2021-11-17T11:23:23.626Z] Merging remotes/origin/main commit 7759c41568adf15208c0dd5cadcdb8f87895acd8 into PR head commit 7435c4dcfd7fab1fb97167049a99f90a51d42f95 [2021-11-17T11:23:23.809Z] Merge succeeded, producing 7435c4dcfd7fab1fb97167049a99f90a51d42f95 [2021-11-17T11:23:23.809Z] Checking out Revision 7435c4dcfd7fab1fb97167049a99f90a51d42f95 (PR-146) [2021-11-17T11:23:23.646Z] > git config core.sparsecheckout # timeout=10 [2021-11-17T11:23:23.659Z] > git checkout -f 7435c4dcfd7fab1fb97167049a99f90a51d42f95 # timeout=10 [2021-11-17T11:23:23.732Z] > git remote # timeout=10 [2021-11-17T11:23:23.747Z] > git config --get remote.origin.url # timeout=10 [2021-11-17T11:23:23.764Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-11-17T11:23:23.775Z] > git merge 7759c41568adf15208c0dd5cadcdb8f87895acd8 # timeout=10 [2021-11-17T11:23:23.796Z] > git rev-parse HEAD^{commit} # timeout=10 [2021-11-17T11:23:23.815Z] > git config core.sparsecheckout # timeout=10 [2021-11-17T11:23:23.827Z] > git checkout -f 7435c4dcfd7fab1fb97167049a99f90a51d42f95 # timeout=10 [2021-11-17T11:23:27.969Z] Commit message: "build(snap): update `base` to core20" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-11-17T11:23:28.810Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2021-11-17T11:23:28.810Z] % Total % Received % Xferd Average Speed Time Time Time Current [2021-11-17T11:23:28.810Z] Dload Upload Total Spent Left Speed [2021-11-17T11:23:28.810Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 11824 100 11824 0 0 88902 0 --:--:-- --:--:-- --:--:-- 88902 [Pipeline] sh [2021-11-17T11:23:29.214Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2021-11-17T11:23:29.552Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2021-11-17T11:23:29.552Z] + sudo tee /etc/docker/daemon.new [2021-11-17T11:23:29.552Z] { [2021-11-17T11:23:29.552Z] "registry-mirrors": [ [2021-11-17T11:23:29.552Z] "https://nexus3.edgexfoundry.org:10001" [2021-11-17T11:23:29.552Z] ], [2021-11-17T11:23:29.552Z] "bip": "10.250.0.254/24", [2021-11-17T11:23:29.552Z] "hosts": [ [2021-11-17T11:23:29.552Z] "tcp://0.0.0.0:5555", [2021-11-17T11:23:29.552Z] "unix:///var/run/docker.sock" [2021-11-17T11:23:29.552Z] ], [2021-11-17T11:23:29.552Z] "mtu": 1458, [2021-11-17T11:23:29.552Z] "selinux-enabled": true, [2021-11-17T11:23:29.552Z] "seccomp-profile": "/etc/docker/seccomp.json" [2021-11-17T11:23:29.552Z] } [Pipeline] sh [2021-11-17T11:23:29.900Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2021-11-17T11:23:30.249Z] + sudo service docker restart [2021-11-17T11:23:30.605Z] Removing intermediate container cb96f0b468c4 [2021-11-17T11:23:30.605Z] ---> f2259538087f [2021-11-17T11:23:30.605Z] Step 12/24 : FROM alpine:3.14 [2021-11-17T11:23:30.605Z] 3.14: Pulling from library/alpine [2021-11-17T11:23:30.605Z] 97518928ae5f: Pulling fs layer [2021-11-17T11:23:30.605Z] 97518928ae5f: Verifying Checksum [2021-11-17T11:23:30.605Z] 97518928ae5f: Download complete [2021-11-17T11:23:30.605Z] 97518928ae5f: Pull complete [2021-11-17T11:23:30.605Z] Digest: sha256:635f0aa53d99017b38d1a0aa5b2082f7812b03e3cdb299103fe77b5c8a07f1d2 [2021-11-17T11:23:30.605Z] Status: Downloaded newer image for alpine:3.14 [2021-11-17T11:23:30.605Z] ---> 0a97eee8041e [2021-11-17T11:23:30.605Z] Step 13/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019: Intel' [2021-11-17T11:23:30.605Z] ---> Running in 022aeac8c091 [2021-11-17T11:23:30.605Z] Removing intermediate container 022aeac8c091 [2021-11-17T11:23:30.605Z] ---> 802a85c1224c [2021-11-17T11:23:30.605Z] Step 14/24 : LABEL Name=device-rest-go Version=${VERSION} [2021-11-17T11:23:30.605Z] ---> Running in eb5b507a2c9a [2021-11-17T11:23:30.605Z] Removing intermediate container eb5b507a2c9a [2021-11-17T11:23:30.605Z] ---> 65e0e28ec66a [2021-11-17T11:23:30.605Z] Step 15/24 : RUN apk add --update --no-cache zeromq dumb-init [2021-11-17T11:23:30.605Z] ---> Running in 4b7ee9f5ee13 [2021-11-17T11:23:30.875Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/main/x86_64/APKINDEX.tar.gz [2021-11-17T11:23:30.875Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/community/x86_64/APKINDEX.tar.gz [2021-11-17T11:23:31.137Z] (1/6) Installing dumb-init (1.2.5-r1) [2021-11-17T11:23:31.137Z] (2/6) Installing libgcc (10.3.1_git20210424-r2) [2021-11-17T11:23:31.137Z] (3/6) Installing libsodium (1.0.18-r0) [2021-11-17T11:23:31.137Z] (4/6) Installing libstdc++ (10.3.1_git20210424-r2) [2021-11-17T11:23:31.137Z] (5/6) Installing libzmq (4.3.4-r0) [2021-11-17T11:23:31.137Z] (6/6) Installing zeromq (4.3.4-r0) [2021-11-17T11:23:31.137Z] Executing busybox-1.33.1-r6.trigger [2021-11-17T11:23:31.137Z] OK: 8 MiB in 20 packages [2021-11-17T11:23:31.400Z] Removing intermediate container 4b7ee9f5ee13 [2021-11-17T11:23:31.400Z] ---> 69f36facdf26 [2021-11-17T11:23:31.400Z] Step 16/24 : COPY --from=builder /device-rest-go/cmd / [2021-11-17T11:23:31.663Z] ---> 27d423eed9db [2021-11-17T11:23:31.663Z] Step 17/24 : COPY --from=builder /device-rest-go/LICENSE / [2021-11-17T11:23:31.663Z] ---> b72ac9881d0d [2021-11-17T11:23:31.663Z] Step 18/24 : COPY --from=builder /device-rest-go/Attribution.txt / [2021-11-17T11:23:31.929Z] ---> 214b67ab91aa [2021-11-17T11:23:31.929Z] Step 19/24 : EXPOSE 59986 [2021-11-17T11:23:31.929Z] ---> Running in b69c0ad7813c [2021-11-17T11:23:31.929Z] Removing intermediate container b69c0ad7813c [2021-11-17T11:23:31.929Z] ---> b3b5be18213d [2021-11-17T11:23:31.929Z] Step 20/24 : ENTRYPOINT ["/device-rest"] [2021-11-17T11:23:32.189Z] ---> Running in ff29a831e482 [2021-11-17T11:23:32.189Z] Removing intermediate container ff29a831e482 [2021-11-17T11:23:32.189Z] ---> 5f6aca85cf3c [2021-11-17T11:23:32.189Z] Step 21/24 : CMD ["--cp=consul://edgex-core-consul:8500", "--confdir=/res", "--registry"] [2021-11-17T11:23:32.189Z] ---> Running in 21a304925efb [2021-11-17T11:23:32.189Z] Removing intermediate container 21a304925efb [2021-11-17T11:23:32.189Z] ---> 465e4fedbf51 [2021-11-17T11:23:32.189Z] Step 22/24 : LABEL arch=amd64 [2021-11-17T11:23:32.189Z] ---> Running in 14b605971cf5 [2021-11-17T11:23:32.448Z] Removing intermediate container 14b605971cf5 [2021-11-17T11:23:32.448Z] ---> 7138022329c8 [2021-11-17T11:23:32.448Z] Step 23/24 : LABEL git_sha=7435c4dcfd7fab1fb97167049a99f90a51d42f95 [2021-11-17T11:23:32.448Z] ---> Running in 44b8f430a615 [2021-11-17T11:23:32.448Z] Removing intermediate container 44b8f430a615 [2021-11-17T11:23:32.448Z] ---> 3ccb2b6f46cd [2021-11-17T11:23:32.448Z] Step 24/24 : LABEL version=0.0.0 [2021-11-17T11:23:32.448Z] ---> Running in 3bbbef73d69a [2021-11-17T11:23:32.707Z] Removing intermediate container 3bbbef73d69a [2021-11-17T11:23:32.707Z] ---> be3a6d6f1021 [2021-11-17T11:23:32.707Z] [Warning] One or more build-args [ARCH] were not consumed [2021-11-17T11:23:32.707Z] Successfully built be3a6d6f1021 [2021-11-17T11:23:32.707Z] Successfully tagged device-rest:latest [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-11-17T11:23:33.298Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2021-11-17T11:23:33.298Z] [2021-11-17T11:23:33.298Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] sh [2021-11-17T11:23:33.601Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2021-11-17T11:23:33.601Z] latest: Pulling from edgex-lftools-log-publisher [2021-11-17T11:23:33.601Z] b4d181a07f80: Pulling fs layer [2021-11-17T11:23:33.601Z] a1111a8f2ec3: Pulling fs layer [2021-11-17T11:23:33.601Z] ed53099fbce6: Pulling fs layer [2021-11-17T11:23:33.601Z] dc539afda2c1: Pulling fs layer [2021-11-17T11:23:33.601Z] 77bc0d833cb6: Pulling fs layer [2021-11-17T11:23:33.601Z] 9065ff56babe: Pulling fs layer [2021-11-17T11:23:33.601Z] d287ab97295c: Pulling fs layer [2021-11-17T11:23:33.601Z] dc539afda2c1: Waiting [2021-11-17T11:23:33.601Z] 77bc0d833cb6: Waiting [2021-11-17T11:23:33.601Z] 9065ff56babe: Waiting [2021-11-17T11:23:33.601Z] d287ab97295c: Waiting [2021-11-17T11:23:33.601Z] a1111a8f2ec3: Verifying Checksum [2021-11-17T11:23:33.601Z] a1111a8f2ec3: Download complete [2021-11-17T11:23:33.601Z] dc539afda2c1: Verifying Checksum [2021-11-17T11:23:33.601Z] dc539afda2c1: Download complete [2021-11-17T11:23:33.872Z] ed53099fbce6: Verifying Checksum [2021-11-17T11:23:33.872Z] ed53099fbce6: Download complete [2021-11-17T11:23:33.872Z] b4d181a07f80: Download complete [2021-11-17T11:23:33.872Z] 77bc0d833cb6: Verifying Checksum [2021-11-17T11:23:33.872Z] 77bc0d833cb6: Download complete [2021-11-17T11:23:33.872Z] 9065ff56babe: Verifying Checksum [2021-11-17T11:23:33.872Z] 9065ff56babe: Download complete [2021-11-17T11:23:34.462Z] d287ab97295c: Verifying Checksum [2021-11-17T11:23:34.462Z] d287ab97295c: Download complete [2021-11-17T11:23:35.405Z] b4d181a07f80: Pull complete [2021-11-17T11:23:35.405Z] a1111a8f2ec3: Pull complete [2021-11-17T11:23:35.977Z] ed53099fbce6: Pull complete [2021-11-17T11:23:35.977Z] dc539afda2c1: Pull complete [2021-11-17T11:23:36.238Z] 77bc0d833cb6: Pull complete [2021-11-17T11:23:36.238Z] 9065ff56babe: Pull complete [2021-11-17T11:23:41.578Z] d287ab97295c: Pull complete [2021-11-17T11:23:41.578Z] Digest: sha256:0c69325c24349bfb3ea32a3c3cbcab1fb66df42c981276dd8ebcf6aa441257c4 [2021-11-17T11:23:41.578Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2021-11-17T11:23:41.578Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] withDockerContainer [2021-11-17T11:23:41.643Z] prd-centos7-docker-4c-2g-955 does not seem to be running inside a container [2021-11-17T11:23:41.682Z] $ 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/5 -v /w/workspace/device-rest-go/5:/w/workspace/device-rest-go/5:rw,z -v /w/workspace/device-rest-go/5@tmp:/w/workspace/device-rest-go/5@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 ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2021-11-17T11:23:44.229Z] $ docker top e52d3b94107581dc221ccd409255b3833ab1b1a1fa249a14431e3123f2aafd56 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-11-17T11:23:44.625Z] ---> job-cost.sh [2021-11-17T11:23:44.626Z] lf-activate-venv: SKIPPING [2021-11-17T11:23:44.626Z] INFO: No Stack... [2021-11-17T11:23:44.886Z] INFO: Retrieving Pricing Info for: v3-standard-2 [2021-11-17T11:23:45.147Z] INFO: Archiving Costs [Pipeline] sh [2021-11-17T11:23:45.441Z] + cat /w/workspace/device-rest-go/5/archives/cost.csv [2021-11-17T11:23:45.441Z] + cut -d, -f6 [Pipeline] lock [2021-11-17T11:23:45.470Z] Trying to acquire lock on [jenkins-edgexfoundry-device-rest-go-PR-146-5-stack-cost] [2021-11-17T11:23:45.478Z] Resource [jenkins-edgexfoundry-device-rest-go-PR-146-5-stack-cost] did not exist. Created. [2021-11-17T11:23:45.478Z] Lock acquired on [jenkins-edgexfoundry-device-rest-go-PR-146-5-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2021-11-17T11:23:45.782Z] + echo total: 0.05999999865889549 [Pipeline] stash [2021-11-17T11:23:45.816Z] Stashed 1 file(s) [Pipeline] } [2021-11-17T11:23:45.825Z] Lock released on resource [jenkins-edgexfoundry-device-rest-go-PR-146-5-stack-cost] [Pipeline] // lock [Pipeline] } [2021-11-17T11:23:45.840Z] $ docker stop --time=1 e52d3b94107581dc221ccd409255b3833ab1b1a1fa249a14431e3123f2aafd56 [2021-11-17T11:23:46.978Z] $ docker rm -f e52d3b94107581dc221ccd409255b3833ab1b1a1fa249a14431e3123f2aafd56 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-11-17T11:23:48.637Z] provisioning config files... [2021-11-17T11:23:48.659Z] copy managed file [device-rest-go-settings] to file:/w/workspace/device-rest-go/5@tmp/config2999651142444458132tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-11-17T11:23:49.013Z] ---> docker-login.sh [2021-11-17T11:23:49.013Z] nexus3.edgexfoundry.org:10001 [2021-11-17T11:23:49.613Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-11-17T11:23:49.888Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-11-17T11:23:49.888Z] Configure a credential helper to remove this warning. See [2021-11-17T11:23:49.888Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-11-17T11:23:49.888Z] [2021-11-17T11:23:49.888Z] Login Succeeded [2021-11-17T11:23:49.888Z] nexus3.edgexfoundry.org:10002 [2021-11-17T11:23:50.484Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-11-17T11:23:50.484Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-11-17T11:23:50.484Z] Configure a credential helper to remove this warning. See [2021-11-17T11:23:50.484Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-11-17T11:23:50.485Z] [2021-11-17T11:23:50.485Z] Login Succeeded [2021-11-17T11:23:50.485Z] nexus3.edgexfoundry.org:10003 [2021-11-17T11:23:51.084Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-11-17T11:23:51.084Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-11-17T11:23:51.084Z] Configure a credential helper to remove this warning. See [2021-11-17T11:23:51.084Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-11-17T11:23:51.084Z] [2021-11-17T11:23:51.084Z] Login Succeeded [2021-11-17T11:23:51.084Z] nexus3.edgexfoundry.org:10004 [2021-11-17T11:23:51.692Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-11-17T11:23:51.692Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-11-17T11:23:51.692Z] Configure a credential helper to remove this warning. See [2021-11-17T11:23:51.692Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-11-17T11:23:51.692Z] [2021-11-17T11:23:51.692Z] Login Succeeded [2021-11-17T11:23:51.692Z] docker.io [2021-11-17T11:23:51.965Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-11-17T11:23:52.561Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-11-17T11:23:52.561Z] Configure a credential helper to remove this warning. See [2021-11-17T11:23:52.561Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-11-17T11:23:52.561Z] [2021-11-17T11:23:52.561Z] Login Succeeded [2021-11-17T11:23:52.561Z] ---> docker-login.sh ends [Pipeline] } [2021-11-17T11:23:52.577Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2021-11-17T11:23:53.041Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2021-11-17T11:23:53.050Z] ========================================================= [2021-11-17T11:23:53.050Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine] [2021-11-17T11:23:53.050Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh [2021-11-17T11:23:53.466Z] + 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-11-17T11:23:53.466Z] Sending build context to Docker daemon 121.9kB [2021-11-17T11:23:53.740Z] Step 1/11 : ARG BASE=golang:1.16-alpine3.14 [2021-11-17T11:23:53.740Z] Step 2/11 : FROM ${BASE} AS builder [2021-11-17T11:23:54.016Z] 1.16-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2021-11-17T11:23:54.016Z] 552d1f2373af: Pulling fs layer [2021-11-17T11:23:54.016Z] ea3f2d53f512: Pulling fs layer [2021-11-17T11:23:54.016Z] 9e70ebbbe112: Pulling fs layer [2021-11-17T11:23:54.016Z] 7a9cfe048b4a: Pulling fs layer [2021-11-17T11:23:54.016Z] 72dc09318566: Pulling fs layer [2021-11-17T11:23:54.016Z] f4f7b4309257: Pulling fs layer [2021-11-17T11:23:54.016Z] 0ac9a79272e3: Pulling fs layer [2021-11-17T11:23:54.016Z] b78e95d17946: Pulling fs layer [2021-11-17T11:23:54.016Z] 7a9cfe048b4a: Waiting [2021-11-17T11:23:54.016Z] 72dc09318566: Waiting [2021-11-17T11:23:54.016Z] f4f7b4309257: Waiting [2021-11-17T11:23:54.016Z] 0ac9a79272e3: Waiting [2021-11-17T11:23:54.016Z] b78e95d17946: Waiting [2021-11-17T11:23:54.016Z] 9e70ebbbe112: Download complete [2021-11-17T11:23:54.016Z] ea3f2d53f512: Verifying Checksum [2021-11-17T11:23:54.016Z] ea3f2d53f512: Download complete [2021-11-17T11:23:54.016Z] 72dc09318566: Verifying Checksum [2021-11-17T11:23:54.016Z] 72dc09318566: Download complete [2021-11-17T11:23:54.016Z] f4f7b4309257: Verifying Checksum [2021-11-17T11:23:54.016Z] f4f7b4309257: Download complete [2021-11-17T11:23:54.016Z] 552d1f2373af: Verifying Checksum [2021-11-17T11:23:54.016Z] 0ac9a79272e3: Verifying Checksum [2021-11-17T11:23:54.016Z] 0ac9a79272e3: Download complete [2021-11-17T11:23:55.008Z] 552d1f2373af: Pull complete [2021-11-17T11:23:55.611Z] ea3f2d53f512: Pull complete [2021-11-17T11:23:55.885Z] 9e70ebbbe112: Pull complete [2021-11-17T11:23:56.161Z] b78e95d17946: Verifying Checksum [2021-11-17T11:23:56.161Z] b78e95d17946: Download complete [2021-11-17T11:23:56.438Z] 7a9cfe048b4a: Verifying Checksum [2021-11-17T11:23:56.438Z] 7a9cfe048b4a: Download complete [2021-11-17T11:24:06.588Z] 7a9cfe048b4a: Pull complete [2021-11-17T11:24:06.588Z] 72dc09318566: Pull complete [2021-11-17T11:24:07.186Z] f4f7b4309257: Pull complete [2021-11-17T11:24:07.459Z] 0ac9a79272e3: Pull complete [2021-11-17T11:24:12.866Z] b78e95d17946: Pull complete [2021-11-17T11:24:13.140Z] Digest: sha256:8f77ec77db7124c2038421266515449a73d34d95fd7f90866b77fbf8f5a401c7 [2021-11-17T11:24:13.140Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine [2021-11-17T11:24:13.140Z] ---> 8b459fc5aaf0 [2021-11-17T11:24:13.140Z] Step 3/11 : ARG MAKE='make build' [2021-11-17T11:24:14.574Z] ---> Running in 3ea0ca010d0d [2021-11-17T11:24:15.170Z] Removing intermediate container 3ea0ca010d0d [2021-11-17T11:24:15.170Z] ---> 829ea4c2bd66 [2021-11-17T11:24:15.170Z] Step 4/11 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2021-11-17T11:24:15.170Z] ---> Running in af855a23a322 [2021-11-17T11:24:15.443Z] Removing intermediate container af855a23a322 [2021-11-17T11:24:15.443Z] ---> 8c7e667df69c [2021-11-17T11:24:15.443Z] Step 5/11 : ARG ALPINE_PKG_EXTRA="" [2021-11-17T11:24:15.718Z] ---> Running in 6020119aaeec [2021-11-17T11:24:15.990Z] Removing intermediate container 6020119aaeec [2021-11-17T11:24:15.990Z] ---> d21e57b86f05 [2021-11-17T11:24:15.990Z] Step 6/11 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-11-17T11:24:16.267Z] ---> Running in 409574bac05a [2021-11-17T11:24:18.247Z] Removing intermediate container 409574bac05a [2021-11-17T11:24:18.247Z] ---> dda6d0509f22 [2021-11-17T11:24:18.247Z] Step 7/11 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2021-11-17T11:24:18.247Z] ---> Running in 9f4d9d648651 [2021-11-17T11:24:19.682Z] fetch https://nl.alpinelinux.org/alpine/v3.14/main/aarch64/APKINDEX.tar.gz [2021-11-17T11:24:20.277Z] fetch https://nl.alpinelinux.org/alpine/v3.14/community/aarch64/APKINDEX.tar.gz [2021-11-17T11:24:21.255Z] (1/4) Installing openssh-keygen (8.6_p1-r3) [2021-11-17T11:24:21.255Z] (2/4) Installing libedit (20210216.3.1-r0) [2021-11-17T11:24:21.255Z] (3/4) Installing openssh-client-common (8.6_p1-r3) [2021-11-17T11:24:21.255Z] (4/4) Installing openssh-client-default (8.6_p1-r3) [2021-11-17T11:24:21.527Z] Executing busybox-1.33.1-r3.trigger [2021-11-17T11:24:21.527Z] OK: 223 MiB in 56 packages [2021-11-17T11:24:22.515Z] Removing intermediate container 9f4d9d648651 [2021-11-17T11:24:22.515Z] ---> 50e9190777eb [2021-11-17T11:24:22.515Z] Step 8/11 : WORKDIR /device-rest-go [2021-11-17T11:24:22.515Z] ---> Running in 1771344034a6 [2021-11-17T11:24:23.112Z] Removing intermediate container 1771344034a6 [2021-11-17T11:24:23.112Z] ---> a463a2e30f2e [2021-11-17T11:24:23.112Z] Step 9/11 : COPY . . [2021-11-17T11:24:23.708Z] ---> ab11bd4539b9 [2021-11-17T11:24:23.708Z] Step 10/11 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2021-11-17T11:24:23.987Z] ---> Running in 0f3787c2449d [2021-11-17T11:25:32.017Z] Removing intermediate container 0f3787c2449d [2021-11-17T11:25:32.017Z] ---> 1ee863fa9511 [2021-11-17T11:25:32.017Z] Step 11/11 : RUN $MAKE [2021-11-17T11:25:32.296Z] ---> Running in c593c00094d4 [2021-11-17T11:25:33.278Z] noop [2021-11-17T11:25:34.254Z] Removing intermediate container c593c00094d4 [2021-11-17T11:25:34.254Z] ---> d806e21971d0 [2021-11-17T11:25:34.254Z] Successfully built d806e21971d0 [2021-11-17T11:25:34.254Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh [2021-11-17T11:25:34.599Z] + docker inspect -f . ci-base-image-arm64 [2021-11-17T11:25:34.599Z] . [Pipeline] withDockerContainer [2021-11-17T11:25:34.858Z] prd-ubuntu18.04-docker-arm64-4c-16g-956 does not seem to be running inside a container [2021-11-17T11:25:34.934Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-rest-go/5 -v /w/workspace/device-rest-go/5:/w/workspace/device-rest-go/5:rw,z -v /w/workspace/device-rest-go/5@tmp:/w/workspace/device-rest-go/5@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-11-17T11:25:36.381Z] $ docker top 4da38a3d1a7ed10d3e1a4fc10a05156d74d25569215eaf936139f9d0c30dd055 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-11-17T11:25:37.328Z] + go version [2021-11-17T11:25:37.328Z] go version go1.16.8 linux/arm64 [Pipeline] } [2021-11-17T11:25:37.351Z] $ docker stop --time=1 4da38a3d1a7ed10d3e1a4fc10a05156d74d25569215eaf936139f9d0c30dd055 [2021-11-17T11:25:39.026Z] $ docker rm -f 4da38a3d1a7ed10d3e1a4fc10a05156d74d25569215eaf936139f9d0c30dd055 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-11-17T11:25:39.782Z] + docker inspect -f . ci-base-image-arm64 [2021-11-17T11:25:39.782Z] . [Pipeline] withDockerContainer [2021-11-17T11:25:40.024Z] prd-ubuntu18.04-docker-arm64-4c-16g-956 does not seem to be running inside a container [2021-11-17T11:25:40.104Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-rest-go/5 -v /w/workspace/device-rest-go/5:/w/workspace/device-rest-go/5:rw,z -v /w/workspace/device-rest-go/5@tmp:/w/workspace/device-rest-go/5@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-11-17T11:25:41.578Z] $ docker top 486f5b95e648e006f6df2de8981f2b28f982e5caef61b17a563033be9fc0f905 -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh [2021-11-17T11:25:42.541Z] + make test [2021-11-17T11:25:42.541Z] CGO_ENABLED=1 GO111MODULE=on go test -coverprofile=coverage.out ./... [2021-11-17T11:25:43.981Z] ? github.com/edgexfoundry/device-rest-go [no test files] [2021-11-17T11:26:40.536Z] ? github.com/edgexfoundry/device-rest-go/cmd [no test files] [2021-11-17T11:26:40.536Z] ok github.com/edgexfoundry/device-rest-go/driver 0.055s coverage: 56.0% of statements [2021-11-17T11:26:40.536Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2021-11-17T11:27:02.750Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2021-11-17T11:27:02.750Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2021-11-17T11:27:02.750Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2021-11-17T11:27:04.208Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2021-11-17T11:27:04.215Z] $ docker stop --time=1 486f5b95e648e006f6df2de8981f2b28f982e5caef61b17a563033be9fc0f905 [2021-11-17T11:27:05.975Z] $ docker rm -f 486f5b95e648e006f6df2de8981f2b28f982e5caef61b17a563033be9fc0f905 [Pipeline] // withDockerContainer [Pipeline] sh [2021-11-17T11:27:06.822Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2021-11-17T11:27:06.851Z] Warning: overwriting stash ‘coverage-report’ [2021-11-17T11:27:07.307Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-11-17T11:27:07.742Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2021-11-17T11:27:08.073Z] + ls -al . [2021-11-17T11:27:08.073Z] total 176 [2021-11-17T11:27:08.073Z] drwxrwxr-x 8 jenkins jenkins 4096 Nov 17 11:27 . [2021-11-17T11:27:08.073Z] drwxrwxr-x 4 jenkins jenkins 4096 Nov 17 11:23 .. [2021-11-17T11:27:08.073Z] -rw-rw-r-- 1 jenkins jenkins 151 Nov 17 11:23 .dockerignore [2021-11-17T11:27:08.073Z] drwxrwxr-x 8 jenkins jenkins 4096 Nov 17 11:23 .git [2021-11-17T11:27:08.073Z] drwxrwxr-x 2 jenkins jenkins 4096 Nov 17 11:23 .github [2021-11-17T11:27:08.073Z] -rw-rw-r-- 1 jenkins jenkins 329 Nov 17 11:23 .gitignore [2021-11-17T11:27:08.073Z] -rw-rw-r-- 1 jenkins jenkins 7095 Nov 17 11:23 Attribution.txt [2021-11-17T11:27:08.073Z] -rw-rw-r-- 1 jenkins jenkins 7459 Nov 17 11:23 CHANGELOG.md [2021-11-17T11:27:08.073Z] -rw-rw-r-- 1 jenkins jenkins 1649 Nov 17 11:23 Dockerfile [2021-11-17T11:27:08.073Z] -rw-rw-r-- 1 jenkins jenkins 677 Nov 17 11:23 GOVERNANCE.md [2021-11-17T11:27:08.073Z] -rw-rw-r-- 1 jenkins jenkins 680 Nov 17 11:23 Jenkinsfile [2021-11-17T11:27:08.073Z] -rw-rw-r-- 1 jenkins jenkins 11340 Nov 17 11:23 LICENSE [2021-11-17T11:27:08.073Z] -rw-rw-r-- 1 jenkins jenkins 1078 Nov 17 11:23 Makefile [2021-11-17T11:27:08.073Z] -rw-rw-r-- 1 jenkins jenkins 620 Nov 17 11:23 OWNERS.md [2021-11-17T11:27:08.073Z] -rw-rw-r-- 1 jenkins jenkins 8246 Nov 17 11:23 README.md [2021-11-17T11:27:08.073Z] -rw-rw-r-- 1 jenkins jenkins 5 Nov 17 11:19 VERSION [2021-11-17T11:27:08.073Z] drwxrwxr-x 2 jenkins jenkins 4096 Nov 17 11:23 bin [2021-11-17T11:27:08.073Z] drwxrwxr-x 3 jenkins jenkins 4096 Nov 17 11:23 cmd [2021-11-17T11:27:08.073Z] -rw-r--r-- 1 jenkins jenkins 9215 Nov 17 11:26 coverage.out [2021-11-17T11:27:08.073Z] drwxrwxr-x 2 jenkins jenkins 4096 Nov 17 11:23 driver [2021-11-17T11:27:08.073Z] -rw-rw-r-- 1 jenkins jenkins 271 Nov 17 11:23 go.mod [2021-11-17T11:27:08.073Z] -rw-rw-r-- 1 jenkins jenkins 49306 Nov 17 11:23 go.sum [2021-11-17T11:27:08.073Z] drwxrwxr-x 3 jenkins jenkins 4096 Nov 17 11:23 snap [2021-11-17T11:27:08.073Z] -rw-rw-r-- 1 jenkins jenkins 713 Nov 17 11:23 version.go [Pipeline] isUnix [Pipeline] sh [2021-11-17T11:27:08.454Z] + 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=7435c4dcfd7fab1fb97167049a99f90a51d42f95 --label arch=arm64 --label version=0.0.0 . [2021-11-17T11:27:08.454Z] Sending build context to Docker daemon 131.6kB [2021-11-17T11:27:08.750Z] Step 1/24 : ARG BASE=golang:1.16-alpine3.14 [2021-11-17T11:27:08.750Z] Step 2/24 : FROM ${BASE} AS builder [2021-11-17T11:27:08.750Z] ---> d806e21971d0 [2021-11-17T11:27:08.750Z] Step 3/24 : ARG MAKE='make build' [2021-11-17T11:27:09.034Z] ---> Running in d10bf4ee535f [2021-11-17T11:27:09.342Z] Removing intermediate container d10bf4ee535f [2021-11-17T11:27:09.342Z] ---> 89c8807f8172 [2021-11-17T11:27:09.342Z] Step 4/24 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2021-11-17T11:27:09.625Z] ---> Running in 8e9ea4ece567 [2021-11-17T11:27:09.935Z] Removing intermediate container 8e9ea4ece567 [2021-11-17T11:27:09.935Z] ---> e02ffda844d4 [2021-11-17T11:27:09.935Z] Step 5/24 : ARG ALPINE_PKG_EXTRA="" [2021-11-17T11:27:10.224Z] ---> Running in 8e90c64c328c [2021-11-17T11:27:10.504Z] Removing intermediate container 8e90c64c328c [2021-11-17T11:27:10.504Z] ---> 9256a891efcf [2021-11-17T11:27:10.504Z] Step 6/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-11-17T11:27:10.792Z] ---> Running in d3b1fdd061d3 [2021-11-17T11:27:12.773Z] Removing intermediate container d3b1fdd061d3 [2021-11-17T11:27:12.773Z] ---> 3abdeb4f2efc [2021-11-17T11:27:12.773Z] Step 7/24 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2021-11-17T11:27:12.773Z] ---> Running in 81e3687f530f [2021-11-17T11:27:13.756Z] fetch https://nl.alpinelinux.org/alpine/v3.14/main/aarch64/APKINDEX.tar.gz [2021-11-17T11:27:14.734Z] fetch https://nl.alpinelinux.org/alpine/v3.14/community/aarch64/APKINDEX.tar.gz [2021-11-17T11:27:15.324Z] OK: 223 MiB in 56 packages [2021-11-17T11:27:16.322Z] Removing intermediate container 81e3687f530f [2021-11-17T11:27:16.322Z] ---> ca5defb50460 [2021-11-17T11:27:16.322Z] Step 8/24 : WORKDIR /device-rest-go [2021-11-17T11:27:16.322Z] ---> Running in 7d288d76bbfb [2021-11-17T11:27:16.917Z] Removing intermediate container 7d288d76bbfb [2021-11-17T11:27:16.917Z] ---> 83e200136d73 [2021-11-17T11:27:16.917Z] Step 9/24 : COPY . . [2021-11-17T11:27:17.515Z] ---> 01797d1773d7 [2021-11-17T11:27:17.515Z] Step 10/24 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2021-11-17T11:27:17.515Z] ---> Running in e570c0f4c2c3 [2021-11-17T11:27:20.137Z] Removing intermediate container e570c0f4c2c3 [2021-11-17T11:27:20.137Z] ---> 1cbeed9a23e8 [2021-11-17T11:27:20.137Z] Step 11/24 : RUN $MAKE [2021-11-17T11:27:20.137Z] ---> Running in ba077bf94439 [2021-11-17T11:27:21.128Z] 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-11-17T11:28:00.132Z] Removing intermediate container ba077bf94439 [2021-11-17T11:28:00.132Z] ---> 3d8492065688 [2021-11-17T11:28:00.132Z] Step 12/24 : FROM alpine:3.14 [2021-11-17T11:28:00.132Z] 3.14: Pulling from library/alpine [2021-11-17T11:28:00.132Z] be307f383ecc: Pulling fs layer [2021-11-17T11:28:00.132Z] be307f383ecc: Verifying Checksum [2021-11-17T11:28:00.132Z] be307f383ecc: Download complete [2021-11-17T11:28:00.132Z] be307f383ecc: Pull complete [2021-11-17T11:28:00.132Z] Digest: sha256:635f0aa53d99017b38d1a0aa5b2082f7812b03e3cdb299103fe77b5c8a07f1d2 [2021-11-17T11:28:00.132Z] Status: Downloaded newer image for alpine:3.14 [2021-11-17T11:28:00.132Z] ---> 5b8b7b635229 [2021-11-17T11:28:00.132Z] Step 13/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019: Intel' [2021-11-17T11:28:00.132Z] ---> Running in 005d69ed80d4 [2021-11-17T11:28:00.132Z] Removing intermediate container 005d69ed80d4 [2021-11-17T11:28:00.132Z] ---> df78c85a6b6a [2021-11-17T11:28:00.132Z] Step 14/24 : LABEL Name=device-rest-go Version=${VERSION} [2021-11-17T11:28:00.132Z] ---> Running in 659dbf428c12 [2021-11-17T11:28:00.132Z] Removing intermediate container 659dbf428c12 [2021-11-17T11:28:00.132Z] ---> e1d6cc2d3bdf [2021-11-17T11:28:00.132Z] Step 15/24 : RUN apk add --update --no-cache zeromq dumb-init [2021-11-17T11:28:00.132Z] ---> Running in 2caafc56c897 [2021-11-17T11:28:00.132Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/main/aarch64/APKINDEX.tar.gz [2021-11-17T11:28:00.404Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/community/aarch64/APKINDEX.tar.gz [2021-11-17T11:28:01.003Z] (1/6) Installing dumb-init (1.2.5-r1) [2021-11-17T11:28:01.003Z] (2/6) Installing libgcc (10.3.1_git20210424-r2) [2021-11-17T11:28:01.003Z] (3/6) Installing libsodium (1.0.18-r0) [2021-11-17T11:28:01.003Z] (4/6) Installing libstdc++ (10.3.1_git20210424-r2) [2021-11-17T11:28:01.003Z] (5/6) Installing libzmq (4.3.4-r0) [2021-11-17T11:28:01.004Z] (6/6) Installing zeromq (4.3.4-r0) [2021-11-17T11:28:01.004Z] Executing busybox-1.33.1-r6.trigger [2021-11-17T11:28:01.004Z] OK: 8 MiB in 20 packages [2021-11-17T11:28:01.998Z] Removing intermediate container 2caafc56c897 [2021-11-17T11:28:01.998Z] ---> 776fff3ce25c [2021-11-17T11:28:01.998Z] Step 16/24 : COPY --from=builder /device-rest-go/cmd / [2021-11-17T11:28:03.432Z] ---> 78f7b8284fb0 [2021-11-17T11:28:03.432Z] Step 17/24 : COPY --from=builder /device-rest-go/LICENSE / [2021-11-17T11:28:03.707Z] ---> 474d537734b0 [2021-11-17T11:28:03.707Z] Step 18/24 : COPY --from=builder /device-rest-go/Attribution.txt / [2021-11-17T11:28:04.685Z] ---> 7cb2079cb641 [2021-11-17T11:28:04.685Z] Step 19/24 : EXPOSE 59986 [2021-11-17T11:28:04.685Z] ---> Running in a4cc4bfb1e69 [2021-11-17T11:28:04.962Z] Removing intermediate container a4cc4bfb1e69 [2021-11-17T11:28:04.962Z] ---> 369c6cce466b [2021-11-17T11:28:04.962Z] Step 20/24 : ENTRYPOINT ["/device-rest"] [2021-11-17T11:28:05.234Z] ---> Running in 83b876838ae0 [2021-11-17T11:28:05.506Z] Removing intermediate container 83b876838ae0 [2021-11-17T11:28:05.506Z] ---> e23667c3d588 [2021-11-17T11:28:05.506Z] Step 21/24 : CMD ["--cp=consul://edgex-core-consul:8500", "--confdir=/res", "--registry"] [2021-11-17T11:28:05.506Z] ---> Running in 8ab11e58e779 [2021-11-17T11:28:06.101Z] Removing intermediate container 8ab11e58e779 [2021-11-17T11:28:06.101Z] ---> 89838088583a [2021-11-17T11:28:06.101Z] Step 22/24 : LABEL arch=arm64 [2021-11-17T11:28:06.101Z] ---> Running in 688006b9cf2a [2021-11-17T11:28:06.372Z] Removing intermediate container 688006b9cf2a [2021-11-17T11:28:06.372Z] ---> 66c7de1dc1e2 [2021-11-17T11:28:06.372Z] Step 23/24 : LABEL git_sha=7435c4dcfd7fab1fb97167049a99f90a51d42f95 [2021-11-17T11:28:06.650Z] ---> Running in 58a22d73e01d [2021-11-17T11:28:06.921Z] Removing intermediate container 58a22d73e01d [2021-11-17T11:28:06.921Z] ---> 221ae74f53c8 [2021-11-17T11:28:06.921Z] Step 24/24 : LABEL version=0.0.0 [2021-11-17T11:28:06.921Z] ---> Running in 80116cbf9dec [2021-11-17T11:28:07.523Z] Removing intermediate container 80116cbf9dec [2021-11-17T11:28:07.523Z] ---> edefe30c2f62 [2021-11-17T11:28:07.523Z] [Warning] One or more build-args [ARCH] were not consumed [2021-11-17T11:28:07.523Z] Successfully built edefe30c2f62 [2021-11-17T11:28:07.523Z] 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-11-17T11:28:08.042Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2021-11-17T11:28:08.312Z] [2021-11-17T11:28:08.312Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] sh [2021-11-17T11:28:08.654Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2021-11-17T11:28:08.931Z] arm64: Pulling from edgex-lftools-log-publisher [2021-11-17T11:28:08.931Z] 448f6bf000e3: Pulling fs layer [2021-11-17T11:28:08.931Z] f757da607395: Pulling fs layer [2021-11-17T11:28:08.931Z] 05883995daec: Pulling fs layer [2021-11-17T11:28:08.931Z] 8603b9c90790: Pulling fs layer [2021-11-17T11:28:08.931Z] 1560dd03e051: Pulling fs layer [2021-11-17T11:28:08.931Z] 27f5ce0e4adf: Pulling fs layer [2021-11-17T11:28:08.931Z] c2d8d7efcc4b: Pulling fs layer [2021-11-17T11:28:08.931Z] 1560dd03e051: Waiting [2021-11-17T11:28:08.931Z] 8603b9c90790: Waiting [2021-11-17T11:28:08.931Z] c2d8d7efcc4b: Waiting [2021-11-17T11:28:08.931Z] f757da607395: Verifying Checksum [2021-11-17T11:28:08.931Z] f757da607395: Download complete [2021-11-17T11:28:08.931Z] 8603b9c90790: Verifying Checksum [2021-11-17T11:28:08.931Z] 8603b9c90790: Download complete [2021-11-17T11:28:08.931Z] 1560dd03e051: Verifying Checksum [2021-11-17T11:28:08.931Z] 1560dd03e051: Download complete [2021-11-17T11:28:09.206Z] 27f5ce0e4adf: Download complete [2021-11-17T11:28:09.206Z] 05883995daec: Verifying Checksum [2021-11-17T11:28:09.206Z] 05883995daec: Download complete [2021-11-17T11:28:09.483Z] 448f6bf000e3: Verifying Checksum [2021-11-17T11:28:09.483Z] 448f6bf000e3: Download complete [2021-11-17T11:28:12.100Z] c2d8d7efcc4b: Verifying Checksum [2021-11-17T11:28:12.101Z] c2d8d7efcc4b: Download complete [2021-11-17T11:28:13.080Z] 448f6bf000e3: Pull complete [2021-11-17T11:28:13.676Z] f757da607395: Pull complete [2021-11-17T11:28:15.123Z] 05883995daec: Pull complete [2021-11-17T11:28:15.395Z] 8603b9c90790: Pull complete [2021-11-17T11:28:16.374Z] 1560dd03e051: Pull complete [2021-11-17T11:28:16.647Z] 27f5ce0e4adf: Pull complete [2021-11-17T11:28:31.727Z] c2d8d7efcc4b: Pull complete [2021-11-17T11:28:31.727Z] Digest: sha256:42f6a1c33103aa4ecfebf648e29883a20fd84132c0f0d4f855d8bcfd8dd9c454 [2021-11-17T11:28:31.727Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2021-11-17T11:28:31.727Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] withDockerContainer [2021-11-17T11:28:31.956Z] prd-ubuntu18.04-docker-arm64-4c-16g-956 does not seem to be running inside a container [2021-11-17T11:28:32.026Z] $ 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/5 -v /w/workspace/device-rest-go/5:/w/workspace/device-rest-go/5:rw,z -v /w/workspace/device-rest-go/5@tmp:/w/workspace/device-rest-go/5@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-11-17T11:28:34.788Z] $ docker top a3f4255b0393564640e490a124f7a36bf127fdbda842de29bd89d40b10a2c33d -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-11-17T11:28:35.771Z] ---> job-cost.sh [2021-11-17T11:28:35.771Z] lf-activate-venv: SKIPPING [2021-11-17T11:28:35.771Z] INFO: No Stack... [2021-11-17T11:28:36.365Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2021-11-17T11:28:36.638Z] INFO: Archiving Costs [Pipeline] sh [2021-11-17T11:28:37.302Z] + + cutcat -d, /w/workspace/device-rest-go/5/archives/cost.csv [2021-11-17T11:28:37.302Z] -f6 [Pipeline] lock [2021-11-17T11:28:37.364Z] Trying to acquire lock on [jenkins-edgexfoundry-device-rest-go-PR-146-5-stack-cost] [2021-11-17T11:28:37.373Z] Resource [jenkins-edgexfoundry-device-rest-go-PR-146-5-stack-cost] did not exist. Created. [2021-11-17T11:28:37.373Z] Lock acquired on [jenkins-edgexfoundry-device-rest-go-PR-146-5-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2021-11-17T11:28:38.050Z] /w/workspace/device-rest-go/5@tmp/durable-abfc3046/script.sh: 1: /w/workspace/device-rest-go/5@tmp/durable-abfc3046/script.sh: Syntax error: Unterminated quoted string [Pipeline] sh [2021-11-17T11:28:38.720Z] + echo total: 0.10999999940395355 [Pipeline] stash [2021-11-17T11:28:38.741Z] Warning: overwriting stash ‘stack-cost’ [2021-11-17T11:28:38.792Z] Stashed 1 file(s) [Pipeline] } [2021-11-17T11:28:38.799Z] Lock released on resource [jenkins-edgexfoundry-device-rest-go-PR-146-5-stack-cost] [Pipeline] // lock [Pipeline] } [2021-11-17T11:28:38.810Z] $ docker stop --time=1 a3f4255b0393564640e490a124f7a36bf127fdbda842de29bd89d40b10a2c33d [2021-11-17T11:28:40.382Z] $ docker rm -f a3f4255b0393564640e490a124f7a36bf127fdbda842de29bd89d40b10a2c33d [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-11-17T11:28:41.926Z] provisioning config files... [2021-11-17T11:28:41.936Z] copy managed file [device-rest-go-codecov-token] to file:/w/workspace/gexfoundry_device-rest-go_PR-146@tmp/config768206521759270276tmp [Pipeline] { [Pipeline] sh [2021-11-17T11:28:42.245Z] + set +x [2021-11-17T11:28:42.246Z] + curl -s https://codecov.io/bash [2021-11-17T11:28:42.246Z] + bash -s -- [2021-11-17T11:28:42.246Z] [2021-11-17T11:28:42.246Z] _____ _ [2021-11-17T11:28:42.246Z] / ____| | | [2021-11-17T11:28:42.246Z] | | ___ __| | ___ ___ _____ __ [2021-11-17T11:28:42.246Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2021-11-17T11:28:42.246Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2021-11-17T11:28:42.246Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2021-11-17T11:28:42.246Z] Bash-1.0.6 [2021-11-17T11:28:42.246Z] [2021-11-17T11:28:42.246Z] [2021-11-17T11:28:42.246Z] ==> git version 2.24.4 found [2021-11-17T11:28:42.246Z] ==> 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-11-17T11:28:42.246Z] Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtsp scp sftp smtp smtps telnet tftp [2021-11-17T11:28:42.246Z] Features: AsynchDNS GSS-Negotiate IDN IPv6 Largefile NTLM NTLM_WB SSL libz unix-sockets [2021-11-17T11:28:42.246Z] ==> Jenkins CI detected. [2021-11-17T11:28:42.246Z] current dir:  /w/workspace/gexfoundry_device-rest-go_PR-146 [2021-11-17T11:28:42.246Z] project root: . [2021-11-17T11:28:42.246Z] --> token set from env [2021-11-17T11:28:42.246Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2021-11-17T11:28:42.246Z] ==> Running gcov in . (disable via -X gcov) [2021-11-17T11:28:42.246Z] ==> Python coveragepy not found [2021-11-17T11:28:42.246Z] ==> Searching for coverage reports in: [2021-11-17T11:28:42.246Z] + . [2021-11-17T11:28:42.246Z] -> Found 1 reports [2021-11-17T11:28:42.246Z] ==> Detecting git/mercurial file structure [2021-11-17T11:28:42.513Z] ==> Reading reports [2021-11-17T11:28:42.513Z] + ./coverage.out bytes=9215 [2021-11-17T11:28:42.513Z] ==> Appending adjustments [2021-11-17T11:28:42.513Z] https://docs.codecov.io/docs/fixing-reports [2021-11-17T11:28:42.513Z] + Found adjustments [2021-11-17T11:28:42.513Z] ==> Gzipping contents [2021-11-17T11:28:42.513Z] 4.0K /tmp/codecov.Znj8jL.gz [2021-11-17T11:28:42.513Z] ==> Uploading reports [2021-11-17T11:28:42.513Z] url: https://codecov.io [2021-11-17T11:28:42.513Z] query: branch=PR-146&commit=7435c4dcfd7fab1fb97167049a99f90a51d42f95&build=5&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-rest-go%2Fjob%2FPR-146%2F5%2F&name=&tag=&slug=edgexfoundry%2Fdevice-rest-go&service=jenkins&flags=&pr=146&job=&cmd_args= [2021-11-17T11:28:42.513Z] -> Pinging Codecov [2021-11-17T11:28:42.513Z] https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=c51feb23-73ac-4f49-b3d1-d26df23137db&branch=PR-146&commit=7435c4dcfd7fab1fb97167049a99f90a51d42f95&build=5&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-rest-go%2Fjob%2FPR-146%2F5%2F&name=&tag=&slug=edgexfoundry%2Fdevice-rest-go&service=jenkins&flags=&pr=146&job=&cmd_args= [2021-11-17T11:28:42.777Z] -> Uploading to [2021-11-17T11:28:42.777Z] https://storage.googleapis.com/codecov/v4/raw/2021-11-17/4E5D53B4F1F92C436F7061BF334D961C/7435c4dcfd7fab1fb97167049a99f90a51d42f95/88d6907f-9840-4955-8956-8108b3f1c51d.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EKKHVKCKHW7KBCGM7IHR55T63V2PAVJWLVFNITJHDU5G6R5IRN3LMWJA%2F20211117%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20211117T112842Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=eac128c5c28964af50a6c9a2918e080de1cbe4a3106bca5ecceb290bd40c239d [2021-11-17T11:28:42.777Z] % Total % Received % Xferd Average Speed Time Time Time Current [2021-11-17T11:28:42.777Z] Dload Upload Total Spent Left Speed [2021-11-17T11:28:43.038Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 1805 0 0 100 1805 0 5846 --:--:-- --:--:-- --:--:-- 5860 [2021-11-17T11:28:43.038Z] -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/device-rest-go/commit/7435c4dcfd7fab1fb97167049a99f90a51d42f95 [Pipeline] } [2021-11-17T11:28:43.047Z] 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-11-17T11:28:44.271Z] + '[' -d /w/workspace/gexfoundry_device-rest-go_PR-146/archives ']' [Pipeline] libraryResource [Pipeline] sh [2021-11-17T11:28:44.572Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2021-11-17T11:28:45.128Z] ---> package-listing.sh [2021-11-17T11:28:45.128Z] ++ tr '[:upper:]' '[:lower:]' [2021-11-17T11:28:45.128Z] ++ facter osfamily [2021-11-17T11:28:45.397Z] + OS_FAMILY=redhat [2021-11-17T11:28:45.397Z] + workspace=/w/workspace/gexfoundry_device-rest-go_PR-146 [2021-11-17T11:28:45.397Z] + START_PACKAGES=/tmp/packages_start.txt [2021-11-17T11:28:45.397Z] + END_PACKAGES=/tmp/packages_end.txt [2021-11-17T11:28:45.397Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2021-11-17T11:28:45.397Z] + PACKAGES=/tmp/packages_start.txt [2021-11-17T11:28:45.397Z] + '[' /w/workspace/gexfoundry_device-rest-go_PR-146 ']' [2021-11-17T11:28:45.397Z] + PACKAGES=/tmp/packages_end.txt [2021-11-17T11:28:45.397Z] + case "${OS_FAMILY}" in [2021-11-17T11:28:45.397Z] + sort [2021-11-17T11:28:45.397Z] + rpm -qa [2021-11-17T11:28:45.970Z] + '[' -f /tmp/packages_start.txt ']' [2021-11-17T11:28:45.970Z] + '[' -f /tmp/packages_end.txt ']' [2021-11-17T11:28:45.970Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2021-11-17T11:28:45.970Z] + '[' /w/workspace/gexfoundry_device-rest-go_PR-146 ']' [2021-11-17T11:28:45.970Z] + mkdir -p /w/workspace/gexfoundry_device-rest-go_PR-146/archives/ [2021-11-17T11:28:45.970Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_device-rest-go_PR-146/archives/ [Pipeline] echo [2021-11-17T11:28:45.982Z] 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-146/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2021-11-17T11:28:46.263Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] sh [2021-11-17T11:28:46.822Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2021-11-17T11:28:46.822Z] [2021-11-17T11:28:46.822Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] sh [2021-11-17T11:28:47.131Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2021-11-17T11:28:47.131Z] latest: Pulling from edgex-lftools-log-publisher [2021-11-17T11:28:47.131Z] b4d181a07f80: Pulling fs layer [2021-11-17T11:28:47.131Z] a1111a8f2ec3: Pulling fs layer [2021-11-17T11:28:47.131Z] ed53099fbce6: Pulling fs layer [2021-11-17T11:28:47.131Z] dc539afda2c1: Pulling fs layer [2021-11-17T11:28:47.131Z] 77bc0d833cb6: Pulling fs layer [2021-11-17T11:28:47.131Z] 9065ff56babe: Pulling fs layer [2021-11-17T11:28:47.131Z] d287ab97295c: Pulling fs layer [2021-11-17T11:28:47.131Z] 77bc0d833cb6: Waiting [2021-11-17T11:28:47.131Z] 9065ff56babe: Waiting [2021-11-17T11:28:47.131Z] d287ab97295c: Waiting [2021-11-17T11:28:47.131Z] dc539afda2c1: Waiting [2021-11-17T11:28:47.131Z] a1111a8f2ec3: Verifying Checksum [2021-11-17T11:28:47.131Z] a1111a8f2ec3: Download complete [2021-11-17T11:28:47.131Z] dc539afda2c1: Verifying Checksum [2021-11-17T11:28:47.131Z] dc539afda2c1: Download complete [2021-11-17T11:28:47.131Z] 77bc0d833cb6: Verifying Checksum [2021-11-17T11:28:47.131Z] 77bc0d833cb6: Download complete [2021-11-17T11:28:47.131Z] ed53099fbce6: Verifying Checksum [2021-11-17T11:28:47.131Z] ed53099fbce6: Download complete [2021-11-17T11:28:47.406Z] 9065ff56babe: Verifying Checksum [2021-11-17T11:28:47.406Z] 9065ff56babe: Download complete [2021-11-17T11:28:47.406Z] b4d181a07f80: Verifying Checksum [2021-11-17T11:28:47.406Z] b4d181a07f80: Download complete [2021-11-17T11:28:47.998Z] d287ab97295c: Verifying Checksum [2021-11-17T11:28:47.998Z] d287ab97295c: Download complete [2021-11-17T11:28:48.965Z] b4d181a07f80: Pull complete [2021-11-17T11:28:48.965Z] a1111a8f2ec3: Pull complete [2021-11-17T11:28:49.546Z] ed53099fbce6: Pull complete [2021-11-17T11:28:49.546Z] dc539afda2c1: Pull complete [2021-11-17T11:28:49.807Z] 77bc0d833cb6: Pull complete [2021-11-17T11:28:49.807Z] 9065ff56babe: Pull complete [2021-11-17T11:28:55.139Z] d287ab97295c: Pull complete [2021-11-17T11:28:55.139Z] Digest: sha256:0c69325c24349bfb3ea32a3c3cbcab1fb66df42c981276dd8ebcf6aa441257c4 [2021-11-17T11:28:55.139Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2021-11-17T11:28:55.139Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] withDockerContainer [2021-11-17T11:28:55.206Z] prd-centos7-docker-4c-2g-954 does not seem to be running inside a container [2021-11-17T11:28:55.241Z] $ 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-146/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-146 -v /w/workspace/gexfoundry_device-rest-go_PR-146:/w/workspace/gexfoundry_device-rest-go_PR-146:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-146@tmp:/w/workspace/gexfoundry_device-rest-go_PR-146@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-11-17T11:28:57.668Z] $ docker top ff062a82a227b42462cd6ac724ba8cd9e0dcbc59abef772684eca33cf6059106 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-11-17T11:28:58.039Z] + touch /tmp/pre-build-complete [Pipeline] sh [2021-11-17T11:28:58.335Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2021-11-17T11:28:58.631Z] + ls /var/log/sa-host [2021-11-17T11:28:58.631Z] + sadf -c /var/log/sa-host/sa17 [2021-11-17T11:28:58.631Z] file_magic: OK [2021-11-17T11:28:58.631Z] HZ: Using current value: 100 [2021-11-17T11:28:58.631Z] file_header: OK [2021-11-17T11:28:58.631Z] 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-11-17T11:28:58.631Z] Statistics: [2021-11-17T11:28:58.631Z] HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... [2021-11-17T11:28:58.631Z] File successfully converted to sysstat format version 12.0.3 [2021-11-17T11:28:58.631Z] + sadf -c /var/log/sa-host/sa30 [2021-11-17T11:28:58.631Z] file_magic: OK [2021-11-17T11:28:58.631Z] HZ: Using current value: 100 [2021-11-17T11:28:58.631Z] file_header: OK [2021-11-17T11:28:58.631Z] 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-11-17T11:28:58.631Z] Statistics: [2021-11-17T11:28:58.631Z] Hnuu...uuuununununu...Hnuu...uuuununununu... [2021-11-17T11:28:58.631Z] File successfully converted to sysstat format version 12.0.3 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-11-17T11:28:58.725Z] provisioning config files... [2021-11-17T11:28:58.735Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-rest-go_PR-146@tmp/config1329694330256212778tmp [Pipeline] { [Pipeline] echo [2021-11-17T11:28:58.752Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2021-11-17T11:28:59.063Z] ---> create-netrc.sh [Pipeline] } [2021-11-17T11:28:59.071Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2021-11-17T11:28:59.414Z] ---> python-tools-install.sh [Pipeline] echo [2021-11-17T11:28:59.423Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2021-11-17T11:28:59.714Z] ---> sudo-logs.sh [2021-11-17T11:28:59.714Z] Archiving 'sudo' log.. [2021-11-17T11:28:59.714Z] sudo: unable to resolve host prd-centos7-docker-4c-2g-954.novalocal: Name or service not known [2021-11-17T11:28:59.714Z] sudo: unable to resolve host prd-centos7-docker-4c-2g-954.novalocal: Name or service not known [Pipeline] unstash [Pipeline] echo [2021-11-17T11:28:59.739Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2021-11-17T11:29:00.031Z] ---> job-cost.sh [2021-11-17T11:29:00.031Z] lf-activate-venv: SKIPPING [2021-11-17T11:29:00.031Z] DEBUG: total: 0.10999999940395355 [2021-11-17T11:29:00.031Z] INFO: Retrieving Stack Cost... [2021-11-17T11:29:00.292Z] INFO: Retrieving Pricing Info for: v3-standard-2 [2021-11-17T11:29:00.554Z] INFO: Archiving Costs [Pipeline] echo [2021-11-17T11:29:00.566Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2021-11-17T11:29:00.859Z] ---> logs-deploy.sh [2021-11-17T11:29:00.860Z] lf-activate-venv: SKIPPING [2021-11-17T11:29:00.860Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-rest-go/PR-146/5 [2021-11-17T11:29:00.860Z] INFO: archiving workspace using pattern(s): [2021-11-17T11:29:01.438Z] Archives upload complete. [2021-11-17T11:29:01.717Z] INFO: archiving logs to Nexus