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 ae9526dcd376c8b43b4b87defde3e416751ee266 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-ssh5557957544742503064.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-ssh1643812929214181641.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-ssh583356981182924779.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-ssh3925662435783865080.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-ssh1283098003505524641.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 All nodes of label ‘centos7-docker-4c-2g’ are offline Running on prd-centos7-docker-4c-2g-931 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-ssh6104837715142067548.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-ssh7429746651651262830.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 ae9526dcd376c8b43b4b87defde3e416751ee266 Merge succeeded, producing ae9526dcd376c8b43b4b87defde3e416751ee266 Checking out Revision ae9526dcd376c8b43b4b87defde3e416751ee266 (PR-146) > git config core.sparsecheckout # timeout=10 > git checkout -f ae9526dcd376c8b43b4b87defde3e416751ee266 # 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-ssh5285399419630876757.key > git merge 7759c41568adf15208c0dd5cadcdb8f87895acd8 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f ae9526dcd376c8b43b4b87defde3e416751ee266 # timeout=10 Commit message: "build(snap): update README and add snap/local/hooks/go.sum" > git rev-list --no-walk cbfdaf904ac601d3ba49eb9838138f50b9acca7f # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2021-11-17T09:08:57.099Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2021-11-17T09:08:57.142Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2021-11-17T09:08:57.157Z] ========================================================= [2021-11-17T09:08:57.157Z] EdgeX Global Pipelines Version Info [2021-11-17T09:08:57.157Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2021-11-17T09:08:58.312Z] ------------------- [2021-11-17T09:08:58.312Z] stable info: [2021-11-17T09:08:58.312Z] ------------------- [2021-11-17T09:08:58.312Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2021-11-17T09:08:58.312Z] Commit SHA: 686c8e2b17b6b4c6988ddea14cf883eea3c5dfe4 [2021-11-17T09:08:58.312Z] Message: update stable to v1.0.215 [2021-11-17T09:08:58.884Z] ------------------- [2021-11-17T09:08:58.884Z] experimental info: [2021-11-17T09:08:58.884Z] ------------------- [2021-11-17T09:08:58.884Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2021-11-17T09:08:58.884Z] Commit SHA: 686c8e2b17b6b4c6988ddea14cf883eea3c5dfe4 [2021-11-17T09:08:58.884Z] Message: update experimental to v1.0.215 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2021-11-17T09:08:58.955Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-rest-go-settings [Pipeline] echo [2021-11-17T09:08:58.966Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-rest-go [Pipeline] echo [2021-11-17T09:08:58.977Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2021-11-17T09:08:58.987Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2021-11-17T09:08:58.998Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2021-11-17T09:08:59.008Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.16 [Pipeline] echo [2021-11-17T09:08:59.019Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2021-11-17T09:08:59.030Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2021-11-17T09:08:59.043Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2021-11-17T09:08:59.053Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2021-11-17T09:08:59.088Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2021-11-17T09:08:59.100Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-rest [Pipeline] echo [2021-11-17T09:08:59.109Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2021-11-17T09:08:59.120Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2021-11-17T09:08:59.129Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2021-11-17T09:08:59.136Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2021-11-17T09:08:59.144Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2021-11-17T09:08:59.151Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2021-11-17T09:08:59.159Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2021-11-17T09:08:59.166Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2021-11-17T09:08:59.175Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2021-11-17T09:08:59.189Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2021-11-17T09:08:59.199Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2021-11-17T09:08:59.207Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2021-11-17T09:08:59.215Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2021-11-17T09:08:59.222Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2021-11-17T09:08:59.229Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-146 [Pipeline] echo [2021-11-17T09:08:59.237Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-146 [Pipeline] echo [2021-11-17T09:08:59.247Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-146 [Pipeline] echo [2021-11-17T09:08:59.259Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = ae9526dcd376c8b43b4b87defde3e416751ee266 [Pipeline] echo [2021-11-17T09:08:59.273Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = ae9526d [Pipeline] echo [2021-11-17T09:08:59.283Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-11-17T09:08:59.323Z] provisioning config files... [2021-11-17T09:08:59.336Z] copy managed file [device-rest-go-settings] to file:/w/workspace/gexfoundry_device-rest-go_PR-146@tmp/config2300848545503274598tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-11-17T09:08:59.648Z] ---> docker-login.sh [2021-11-17T09:08:59.648Z] nexus3.edgexfoundry.org:10001 [2021-11-17T09:08:59.648Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-11-17T09:08:59.912Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-11-17T09:08:59.912Z] Configure a credential helper to remove this warning. See [2021-11-17T09:08:59.912Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-11-17T09:08:59.912Z] [2021-11-17T09:08:59.912Z] Login Succeeded [2021-11-17T09:08:59.912Z] nexus3.edgexfoundry.org:10002 [2021-11-17T09:08:59.912Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-11-17T09:08:59.912Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-11-17T09:08:59.912Z] Configure a credential helper to remove this warning. See [2021-11-17T09:08:59.912Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-11-17T09:08:59.912Z] [2021-11-17T09:08:59.912Z] Login Succeeded [2021-11-17T09:08:59.912Z] nexus3.edgexfoundry.org:10003 [2021-11-17T09:08:59.912Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-11-17T09:09:00.174Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-11-17T09:09:00.174Z] Configure a credential helper to remove this warning. See [2021-11-17T09:09:00.174Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-11-17T09:09:00.174Z] [2021-11-17T09:09:00.174Z] Login Succeeded [2021-11-17T09:09:00.174Z] nexus3.edgexfoundry.org:10004 [2021-11-17T09:09:00.174Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-11-17T09:09:00.174Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-11-17T09:09:00.174Z] Configure a credential helper to remove this warning. See [2021-11-17T09:09:00.174Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-11-17T09:09:00.174Z] [2021-11-17T09:09:00.174Z] Login Succeeded [2021-11-17T09:09:00.174Z] docker.io [2021-11-17T09:09:00.174Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-11-17T09:09:00.751Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-11-17T09:09:00.751Z] Configure a credential helper to remove this warning. See [2021-11-17T09:09:00.751Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-11-17T09:09:00.751Z] [2021-11-17T09:09:00.751Z] Login Succeeded [2021-11-17T09:09:00.751Z] ---> docker-login.sh ends [Pipeline] } [2021-11-17T09:09:00.759Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2021-11-17T09:09:01.185Z] + git rev-list -1 --merges ae9526dcd376c8b43b4b87defde3e416751ee266~1..ae9526dcd376c8b43b4b87defde3e416751ee266 [Pipeline] echo [2021-11-17T09:09:01.226Z] -----------> git rev-list -1 --merges ae9526dcd376c8b43b4b87defde3e416751ee266~1..ae9526dcd376c8b43b4b87defde3e416751ee266 ae9526dcd376c8b43b4b87defde3e416751ee266 [false] [Pipeline] sh [2021-11-17T09:09:01.526Z] + git log --format=format:%s -1 ae9526dcd376c8b43b4b87defde3e416751ee266 [Pipeline] echo [2021-11-17T09:09:01.543Z] ========================================================= [2021-11-17T09:09:01.543Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2021-11-17T09:09:01.543Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-11-17T09:09:01.883Z] + git log --format=format:%s -1 ae9526dcd376c8b43b4b87defde3e416751ee266 [Pipeline] echo [2021-11-17T09:09:01.894Z] [semverPrep] GIT_COMMIT: ae9526dcd376c8b43b4b87defde3e416751ee266, Commit Message: build(snap): update README and add snap/local/hooks/go.sum [Pipeline] echo [2021-11-17T09:09:01.901Z] [semverPrep] This is not a build commit. [Pipeline] isUnix [Pipeline] sh [2021-11-17T09:09:02.487Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-11-17T09:09:02.487Z] [2021-11-17T09:09:02.487Z] Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh [2021-11-17T09:09:02.789Z] + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-11-17T09:09:02.789Z] latest: Pulling from edgex-devops/git-semver [2021-11-17T09:09:02.789Z] a0d0a0d46f8b: Pulling fs layer [2021-11-17T09:09:02.789Z] 3e5f54012d9b: Pulling fs layer [2021-11-17T09:09:02.789Z] 4c7163046ea9: Pulling fs layer [2021-11-17T09:09:02.789Z] 0c2d73faf560: Pulling fs layer [2021-11-17T09:09:02.789Z] 0c2d73faf560: Waiting [2021-11-17T09:09:02.789Z] 3e5f54012d9b: Verifying Checksum [2021-11-17T09:09:02.789Z] 3e5f54012d9b: Download complete [2021-11-17T09:09:02.789Z] a0d0a0d46f8b: Verifying Checksum [2021-11-17T09:09:02.789Z] a0d0a0d46f8b: Download complete [2021-11-17T09:09:02.789Z] 0c2d73faf560: Verifying Checksum [2021-11-17T09:09:02.789Z] 0c2d73faf560: Download complete [2021-11-17T09:09:02.789Z] 4c7163046ea9: Verifying Checksum [2021-11-17T09:09:02.789Z] 4c7163046ea9: Download complete [2021-11-17T09:09:03.063Z] a0d0a0d46f8b: Pull complete [2021-11-17T09:09:03.063Z] 3e5f54012d9b: Pull complete [2021-11-17T09:09:03.338Z] 4c7163046ea9: Pull complete [2021-11-17T09:09:03.599Z] 0c2d73faf560: Pull complete [2021-11-17T09:09:03.599Z] Digest: sha256:2751de6e655929dcbe46418c7769d9d992331b5b721eb968631a4166222929f9 [2021-11-17T09:09:03.599Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-11-17T09:09:03.599Z] nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer [2021-11-17T09:09:03.671Z] prd-centos7-docker-4c-2g-931 does not seem to be running inside a container [2021-11-17T09:09:03.715Z] $ 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-17T09:09:04.279Z] $ docker top 1862981ef58e9d4d74d1eb4578530e7d6211e62b5fab02d10e85d4b98e985f88 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2021-11-17T09:09:04.378Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-11-17T09:09:04.378Z] [ssh-agent] Looking for ssh-agent implementation... [2021-11-17T09:09:04.482Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-11-17T09:09:04.484Z] $ docker exec 1862981ef58e9d4d74d1eb4578530e7d6211e62b5fab02d10e85d4b98e985f88 ssh-agent [2021-11-17T09:09:04.588Z] SSH_AUTH_SOCK=/tmp/ssh-XXXXXXPGCNfe/agent.13 [2021-11-17T09:09:04.588Z] SSH_AGENT_PID=20 [2021-11-17T09:09:04.596Z] Running ssh-add (command line suppressed) [2021-11-17T09:09:04.697Z] Identity added: /w/workspace/gexfoundry_device-rest-go_PR-146@tmp/private_key_5597192824166590297.key (/w/workspace/gexfoundry_device-rest-go_PR-146@tmp/private_key_5597192824166590297.key) [2021-11-17T09:09:04.710Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-11-17T09:09:05.006Z] + git tag --points-at HEAD [Pipeline] } [2021-11-17T09:09:05.022Z] $ docker exec --env ******** --env ******** 1862981ef58e9d4d74d1eb4578530e7d6211e62b5fab02d10e85d4b98e985f88 ssh-agent -k [2021-11-17T09:09:05.132Z] unset SSH_AUTH_SOCK; [2021-11-17T09:09:05.132Z] unset SSH_AGENT_PID; [2021-11-17T09:09:05.132Z] echo Agent pid 20 killed; [2021-11-17T09:09:05.142Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2021-11-17T09:09:05.165Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-11-17T09:09:05.165Z] [ssh-agent] Looking for ssh-agent implementation... [2021-11-17T09:09:05.292Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-11-17T09:09:05.296Z] $ docker exec 1862981ef58e9d4d74d1eb4578530e7d6211e62b5fab02d10e85d4b98e985f88 ssh-agent [2021-11-17T09:09:05.419Z] SSH_AUTH_SOCK=/tmp/ssh-XXXXXXOgCinJ/agent.55 [2021-11-17T09:09:05.419Z] SSH_AGENT_PID=61 [2021-11-17T09:09:05.427Z] Running ssh-add (command line suppressed) [2021-11-17T09:09:05.518Z] Identity added: /w/workspace/gexfoundry_device-rest-go_PR-146@tmp/private_key_6252199723676567826.key (/w/workspace/gexfoundry_device-rest-go_PR-146@tmp/private_key_6252199723676567826.key) [2021-11-17T09:09:05.528Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-11-17T09:09:05.824Z] + git semver init [2021-11-17T09:09:05.824Z] # -> Open(): unable to determine branch for HEAD [2021-11-17T09:09:05.824Z] # $GIT_DIR = /w/workspace/gexfoundry_device-rest-go_PR-146/.git [2021-11-17T09:09:05.824Z] # $GIT_WORK_TREE = /w/workspace/gexfoundry_device-rest-go_PR-146 [2021-11-17T09:09:05.824Z] # $SEMVER_REMOTE_NAME = origin [2021-11-17T09:09:05.824Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2021-11-17T09:09:05.824Z] # $SEMVER_USER_NAME = edgex-jenkins [2021-11-17T09:09:05.824Z] # $SEMVER_BRANCH = PR-146 [2021-11-17T09:09:05.824Z] # $SEMVER_TEMP = /tmp/semver-278761218 [2021-11-17T09:09:05.824Z] # git clone --branch semver git@github.com:edgexfoundry/device-rest-go.git $SEMVER_TEMP [2021-11-17T09:09:05.824Z] # -> Clone(): ssh: handshake failed: knownhosts: key mismatch [2021-11-17T09:09:05.824Z] # git init /tmp/semver-278761218 [2021-11-17T09:09:05.824Z] # '/tmp/semver-278761218' -> '/w/workspace/gexfoundry_device-rest-go_PR-146/.semver' [2021-11-17T09:09:05.824Z] # -> Force: false [2021-11-17T09:09:05.824Z] # $SEMVER_DIR = /w/workspace/gexfoundry_device-rest-go_PR-146/.semver [Pipeline] } [2021-11-17T09:09:05.834Z] $ docker exec --env ******** --env ******** 1862981ef58e9d4d74d1eb4578530e7d6211e62b5fab02d10e85d4b98e985f88 ssh-agent -k [2021-11-17T09:09:05.928Z] unset SSH_AUTH_SOCK; [2021-11-17T09:09:05.928Z] unset SSH_AGENT_PID; [2021-11-17T09:09:05.929Z] echo Agent pid 61 killed; [2021-11-17T09:09:05.936Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2021-11-17T09:09:06.244Z] + git semver [Pipeline] } [2021-11-17T09:09:06.257Z] $ docker stop --time=1 1862981ef58e9d4d74d1eb4578530e7d6211e62b5fab02d10e85d4b98e985f88 [2021-11-17T09:09:07.438Z] $ docker rm -f 1862981ef58e9d4d74d1eb4578530e7d6211e62b5fab02d10e85d4b98e985f88 [Pipeline] // withDockerContainer [Pipeline] sh [2021-11-17T09:09:07.780Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2021-11-17T09:09:08.013Z] Stashed 1 file(s) [Pipeline] echo [2021-11-17T09:09:08.016Z] [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-17T09:09:23.157Z] Still waiting to schedule task [2021-11-17T09:09:23.157Z] Waiting for next available executor on ‘prd-centos7-docker-4c-2g-931’ [2021-11-17T09:09:23.158Z] Still waiting to schedule task [2021-11-17T09:09:23.159Z] All nodes of label ‘ubuntu18.04-docker-arm64-4c-16g’ are offline [2021-11-17T09:10:25.706Z] Running on prd-centos7-docker-4c-2g-934 in /w/workspace/gexfoundry_device-rest-go_PR-146 [Pipeline] { [Pipeline] ws [2021-11-17T09:10:25.713Z] Running in /w/workspace/device-rest-go/2 [Pipeline] { [Pipeline] checkout [2021-11-17T09:10:25.793Z] The recommended git tool is: git [2021-11-17T09:10:27.649Z] using credential edgex-jenkins-ssh [2021-11-17T09:10:27.661Z] Cloning the remote Git repository [2021-11-17T09:10:27.178Z] Cloning repository git@github.com:edgexfoundry/device-rest-go.git [2021-11-17T09:10:27.230Z] > git init /w/workspace/device-rest-go/2 # timeout=10 [2021-11-17T09:10:27.261Z] Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git [2021-11-17T09:10:27.261Z] > git --version # timeout=10 [2021-11-17T09:10:27.268Z] > git --version # 'git version 2.24.4' [2021-11-17T09:10:27.268Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-11-17T09:10:27.286Z] [INFO] Currently running in a labeled security context [2021-11-17T09:10:27.287Z] [INFO] Currently SELinux is 'enforcing' on the host [2021-11-17T09:10:27.287Z] > /usr/bin/chcon --type=ssh_home_t /w/workspace/device-rest-go/2@tmp/jenkins-gitclient-ssh7656141673148067085.key [2021-11-17T09:10:27.301Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-11-17T09:10:28.207Z] > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 [2021-11-17T09:10:28.225Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-11-17T09:10:28.237Z] > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 [2021-11-17T09:10:28.248Z] Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git [2021-11-17T09:10:28.248Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-11-17T09:10:28.249Z] [INFO] Currently running in a labeled security context [2021-11-17T09:10:28.249Z] [INFO] Currently SELinux is 'enforcing' on the host [2021-11-17T09:10:28.249Z] > /usr/bin/chcon --type=ssh_home_t /w/workspace/device-rest-go/2@tmp/jenkins-gitclient-ssh41699837738024773.key [2021-11-17T09:10:28.258Z] > 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-17T09:10:29.337Z] Merging remotes/origin/main commit 7759c41568adf15208c0dd5cadcdb8f87895acd8 into PR head commit ae9526dcd376c8b43b4b87defde3e416751ee266 [2021-11-17T09:10:29.424Z] Merge succeeded, producing ae9526dcd376c8b43b4b87defde3e416751ee266 [2021-11-17T09:10:29.424Z] Checking out Revision ae9526dcd376c8b43b4b87defde3e416751ee266 (PR-146) [2021-11-17T09:10:28.836Z] > git config core.sparsecheckout # timeout=10 [2021-11-17T09:10:28.842Z] > git checkout -f ae9526dcd376c8b43b4b87defde3e416751ee266 # timeout=10 [2021-11-17T09:10:28.868Z] > git remote # timeout=10 [2021-11-17T09:10:28.877Z] > git config --get remote.origin.url # timeout=10 [2021-11-17T09:10:28.886Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-11-17T09:10:28.887Z] [INFO] Currently running in a labeled security context [2021-11-17T09:10:28.887Z] [INFO] Currently SELinux is 'enforcing' on the host [2021-11-17T09:10:28.887Z] > /usr/bin/chcon --type=ssh_home_t /w/workspace/device-rest-go/2@tmp/jenkins-gitclient-ssh869916596378996821.key [2021-11-17T09:10:28.891Z] > git merge 7759c41568adf15208c0dd5cadcdb8f87895acd8 # timeout=10 [2021-11-17T09:10:28.904Z] > git rev-parse HEAD^{commit} # timeout=10 [2021-11-17T09:10:28.918Z] > git config core.sparsecheckout # timeout=10 [2021-11-17T09:10:28.927Z] > git checkout -f ae9526dcd376c8b43b4b87defde3e416751ee266 # timeout=10 [2021-11-17T09:10:32.962Z] Commit message: "build(snap): update README and add snap/local/hooks/go.sum" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-11-17T09:10:33.352Z] provisioning config files... [2021-11-17T09:10:33.363Z] copy managed file [device-rest-go-settings] to file:/w/workspace/device-rest-go/2@tmp/config2360830452853699499tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-11-17T09:10:33.751Z] ---> docker-login.sh [2021-11-17T09:10:33.751Z] nexus3.edgexfoundry.org:10001 [2021-11-17T09:10:33.751Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-11-17T09:10:33.751Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-11-17T09:10:33.751Z] Configure a credential helper to remove this warning. See [2021-11-17T09:10:33.751Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-11-17T09:10:33.751Z] [2021-11-17T09:10:33.751Z] Login Succeeded [2021-11-17T09:10:33.751Z] nexus3.edgexfoundry.org:10002 [2021-11-17T09:10:34.014Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-11-17T09:10:34.014Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-11-17T09:10:34.014Z] Configure a credential helper to remove this warning. See [2021-11-17T09:10:34.014Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-11-17T09:10:34.014Z] [2021-11-17T09:10:34.014Z] Login Succeeded [2021-11-17T09:10:34.014Z] nexus3.edgexfoundry.org:10003 [2021-11-17T09:10:34.014Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-11-17T09:10:34.014Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-11-17T09:10:34.014Z] Configure a credential helper to remove this warning. See [2021-11-17T09:10:34.014Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-11-17T09:10:34.014Z] [2021-11-17T09:10:34.014Z] Login Succeeded [2021-11-17T09:10:34.014Z] nexus3.edgexfoundry.org:10004 [2021-11-17T09:10:34.279Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-11-17T09:10:34.279Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-11-17T09:10:34.279Z] Configure a credential helper to remove this warning. See [2021-11-17T09:10:34.279Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-11-17T09:10:34.279Z] [2021-11-17T09:10:34.279Z] Login Succeeded [2021-11-17T09:10:34.279Z] docker.io [2021-11-17T09:10:34.279Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-11-17T09:10:34.539Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-11-17T09:10:34.539Z] Configure a credential helper to remove this warning. See [2021-11-17T09:10:34.539Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-11-17T09:10:34.539Z] [2021-11-17T09:10:34.539Z] Login Succeeded [2021-11-17T09:10:34.539Z] ---> docker-login.sh ends [Pipeline] } [2021-11-17T09:10:34.569Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2021-11-17T09:10:34.702Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2021-11-17T09:10:34.712Z] ========================================================= [2021-11-17T09:10:34.712Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine] [2021-11-17T09:10:34.712Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh [2021-11-17T09:10:35.023Z] + 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-17T09:10:35.023Z] Sending build context to Docker daemon 121.3kB [2021-11-17T09:10:35.023Z] Step 1/11 : ARG BASE=golang:1.16-alpine3.14 [2021-11-17T09:10:35.023Z] Step 2/11 : FROM ${BASE} AS builder [2021-11-17T09:10:35.023Z] 1.16-alpine: Pulling from edgex-devops/edgex-golang-base [2021-11-17T09:10:35.023Z] a0d0a0d46f8b: Pulling fs layer [2021-11-17T09:10:35.023Z] 31adcdaf11c8: Pulling fs layer [2021-11-17T09:10:35.024Z] b8b176561691: Pulling fs layer [2021-11-17T09:10:35.024Z] 4527c011a84f: Pulling fs layer [2021-11-17T09:10:35.024Z] 5d74067f8e1e: Pulling fs layer [2021-11-17T09:10:35.024Z] e0aca202a116: Pulling fs layer [2021-11-17T09:10:35.024Z] 3a43be97a3b4: Pulling fs layer [2021-11-17T09:10:35.024Z] 34cad66bf833: Pulling fs layer [2021-11-17T09:10:35.024Z] b4e3c513aaa6: Pulling fs layer [2021-11-17T09:10:35.024Z] 4527c011a84f: Waiting [2021-11-17T09:10:35.024Z] 5d74067f8e1e: Waiting [2021-11-17T09:10:35.024Z] e0aca202a116: Waiting [2021-11-17T09:10:35.024Z] 3a43be97a3b4: Waiting [2021-11-17T09:10:35.024Z] 34cad66bf833: Waiting [2021-11-17T09:10:35.024Z] b4e3c513aaa6: Waiting [2021-11-17T09:10:35.024Z] b8b176561691: Verifying Checksum [2021-11-17T09:10:35.024Z] b8b176561691: Download complete [2021-11-17T09:10:35.024Z] 31adcdaf11c8: Verifying Checksum [2021-11-17T09:10:35.024Z] 31adcdaf11c8: Download complete [2021-11-17T09:10:35.024Z] 5d74067f8e1e: Verifying Checksum [2021-11-17T09:10:35.024Z] 5d74067f8e1e: Download complete [2021-11-17T09:10:35.024Z] e0aca202a116: Verifying Checksum [2021-11-17T09:10:35.024Z] e0aca202a116: Download complete [2021-11-17T09:10:35.024Z] a0d0a0d46f8b: Verifying Checksum [2021-11-17T09:10:35.024Z] a0d0a0d46f8b: Download complete [2021-11-17T09:10:35.024Z] 3a43be97a3b4: Verifying Checksum [2021-11-17T09:10:35.024Z] 3a43be97a3b4: Download complete [2021-11-17T09:10:35.293Z] 34cad66bf833: Verifying Checksum [2021-11-17T09:10:35.293Z] 34cad66bf833: Download complete [2021-11-17T09:10:35.293Z] a0d0a0d46f8b: Pull complete [2021-11-17T09:10:35.573Z] 31adcdaf11c8: Pull complete [2021-11-17T09:10:35.847Z] b8b176561691: Pull complete [2021-11-17T09:10:35.847Z] 4527c011a84f: Verifying Checksum [2021-11-17T09:10:35.847Z] 4527c011a84f: Download complete [2021-11-17T09:10:35.847Z] b4e3c513aaa6: Verifying Checksum [2021-11-17T09:10:35.847Z] b4e3c513aaa6: Download complete [2021-11-17T09:10:39.171Z] 4527c011a84f: Pull complete [2021-11-17T09:10:39.171Z] 5d74067f8e1e: Pull complete [2021-11-17T09:10:39.439Z] e0aca202a116: Pull complete [2021-11-17T09:10:39.439Z] 3a43be97a3b4: Pull complete [2021-11-17T09:10:39.439Z] 34cad66bf833: Pull complete [2021-11-17T09:10:42.004Z] b4e3c513aaa6: Pull complete [2021-11-17T09:10:42.004Z] Digest: sha256:75229776e65f3af88907aed05f91058a30c94a2fbbc20266ef4560f68deb3433 [2021-11-17T09:10:42.004Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine [2021-11-17T09:10:42.004Z] ---> 9f6097aaca64 [2021-11-17T09:10:42.004Z] Step 3/11 : ARG MAKE='make build' [2021-11-17T09:10:45.319Z] ---> Running in 3fc0cc78c2de [2021-11-17T09:10:45.319Z] Removing intermediate container 3fc0cc78c2de [2021-11-17T09:10:45.319Z] ---> 4b33971af62c [2021-11-17T09:10:45.319Z] Step 4/11 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2021-11-17T09:10:45.319Z] ---> Running in 98a47f22426e [2021-11-17T09:10:45.580Z] Removing intermediate container 98a47f22426e [2021-11-17T09:10:45.580Z] ---> cf2519e2745c [2021-11-17T09:10:45.580Z] Step 5/11 : ARG ALPINE_PKG_EXTRA="" [2021-11-17T09:10:45.580Z] ---> Running in 2faa1b2c3d13 [2021-11-17T09:10:45.580Z] Removing intermediate container 2faa1b2c3d13 [2021-11-17T09:10:45.580Z] ---> 99c67ced8e9f [2021-11-17T09:10:45.580Z] Step 6/11 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-11-17T09:10:45.580Z] ---> Running in 4543fd87343c [2021-11-17T09:10:46.160Z] Removing intermediate container 4543fd87343c [2021-11-17T09:10:46.160Z] ---> 535dbc49351c [2021-11-17T09:10:46.160Z] Step 7/11 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2021-11-17T09:10:46.160Z] ---> Running in 1c23a6a828bd [2021-11-17T09:10:46.420Z] fetch https://nl.alpinelinux.org/alpine/v3.14/main/x86_64/APKINDEX.tar.gz [2021-11-17T09:10:47.361Z] fetch https://nl.alpinelinux.org/alpine/v3.14/community/x86_64/APKINDEX.tar.gz [2021-11-17T09:10:47.632Z] (1/4) Installing openssh-keygen (8.6_p1-r3) [2021-11-17T09:10:47.632Z] (2/4) Installing libedit (20210216.3.1-r0) [2021-11-17T09:10:47.632Z] (3/4) Installing openssh-client-common (8.6_p1-r3) [2021-11-17T09:10:47.892Z] (4/4) Installing openssh-client-default (8.6_p1-r3) [2021-11-17T09:10:47.892Z] Executing busybox-1.33.1-r3.trigger [2021-11-17T09:10:47.892Z] OK: 224 MiB in 56 packages [2021-11-17T09:10:48.151Z] Removing intermediate container 1c23a6a828bd [2021-11-17T09:10:48.151Z] ---> 665d8e2d2d76 [2021-11-17T09:10:48.151Z] Step 8/11 : WORKDIR /device-rest-go [2021-11-17T09:10:48.151Z] ---> Running in 5e142c91372d [2021-11-17T09:10:48.414Z] Removing intermediate container 5e142c91372d [2021-11-17T09:10:48.414Z] ---> f222cb5890f3 [2021-11-17T09:10:48.414Z] Step 9/11 : COPY . . [2021-11-17T09:10:48.414Z] ---> 2a43fcab104f [2021-11-17T09:10:48.414Z] Step 10/11 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2021-11-17T09:10:48.414Z] ---> Running in eb50dbc9d89c [2021-11-17T09:10:49.147Z] Running on prd-ubuntu18.04-docker-arm64-4c-16g-933 in /w/workspace/gexfoundry_device-rest-go_PR-146 [Pipeline] { [Pipeline] ws [2021-11-17T09:10:49.158Z] Running in /w/workspace/device-rest-go/2 [Pipeline] { [Pipeline] checkout [2021-11-17T09:10:49.343Z] The recommended git tool is: git [2021-11-17T09:10:54.282Z] using credential edgex-jenkins-ssh [2021-11-17T09:10:54.297Z] Cloning the remote Git repository [2021-11-17T09:10:54.344Z] Cloning repository git@github.com:edgexfoundry/device-rest-go.git [2021-11-17T09:10:54.431Z] > git init /w/workspace/device-rest-go/2 # timeout=10 [2021-11-17T09:10:54.499Z] Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git [2021-11-17T09:10:54.500Z] > git --version # timeout=10 [2021-11-17T09:10:54.515Z] > git --version # 'git version 2.17.1' [2021-11-17T09:10:54.517Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-11-17T09:10:54.593Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-11-17T09:10:56.083Z] > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 [2021-11-17T09:10:56.106Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-11-17T09:10:56.130Z] > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 [2021-11-17T09:10:56.161Z] Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git [2021-11-17T09:10:56.162Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-11-17T09:10:56.175Z] > 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-17T09:10:56.835Z] Merging remotes/origin/main commit 7759c41568adf15208c0dd5cadcdb8f87895acd8 into PR head commit ae9526dcd376c8b43b4b87defde3e416751ee266 [2021-11-17T09:10:57.035Z] Merge succeeded, producing ae9526dcd376c8b43b4b87defde3e416751ee266 [2021-11-17T09:10:57.036Z] Checking out Revision ae9526dcd376c8b43b4b87defde3e416751ee266 (PR-146) [2021-11-17T09:10:56.854Z] > git config core.sparsecheckout # timeout=10 [2021-11-17T09:10:56.868Z] > git checkout -f ae9526dcd376c8b43b4b87defde3e416751ee266 # timeout=10 [2021-11-17T09:10:56.951Z] > git remote # timeout=10 [2021-11-17T09:10:56.978Z] > git config --get remote.origin.url # timeout=10 [2021-11-17T09:10:56.989Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-11-17T09:10:57.000Z] > git merge 7759c41568adf15208c0dd5cadcdb8f87895acd8 # timeout=10 [2021-11-17T09:10:57.020Z] > git rev-parse HEAD^{commit} # timeout=10 [2021-11-17T09:10:57.042Z] > git config core.sparsecheckout # timeout=10 [2021-11-17T09:10:57.054Z] > git checkout -f ae9526dcd376c8b43b4b87defde3e416751ee266 # timeout=10 [2021-11-17T09:11:01.213Z] Commit message: "build(snap): update README and add snap/local/hooks/go.sum" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-11-17T09:11:02.289Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2021-11-17T09:11:02.289Z] % Total % Received % Xferd Average Speed Time Time Time Current [2021-11-17T09:11:02.289Z] Dload Upload Total Spent Left Speed [2021-11-17T09:11:02.289Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 11824 100 11824 0 0 73900 0 --:--:-- --:--:-- --:--:-- 73900 [Pipeline] sh [2021-11-17T09:11:02.695Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2021-11-17T09:11:03.034Z] + + sudo tee /etc/docker/daemon.new [2021-11-17T09:11:03.034Z] sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2021-11-17T09:11:03.034Z] { [2021-11-17T09:11:03.034Z] "registry-mirrors": [ [2021-11-17T09:11:03.034Z] "https://nexus3.edgexfoundry.org:10001" [2021-11-17T09:11:03.034Z] ], [2021-11-17T09:11:03.034Z] "bip": "10.250.0.254/24", [2021-11-17T09:11:03.034Z] "hosts": [ [2021-11-17T09:11:03.034Z] "tcp://0.0.0.0:5555", [2021-11-17T09:11:03.034Z] "unix:///var/run/docker.sock" [2021-11-17T09:11:03.034Z] ], [2021-11-17T09:11:03.034Z] "mtu": 1458, [2021-11-17T09:11:03.034Z] "selinux-enabled": true, [2021-11-17T09:11:03.034Z] "seccomp-profile": "/etc/docker/seccomp.json" [2021-11-17T09:11:03.034Z] } [Pipeline] sh [2021-11-17T09:11:03.389Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2021-11-17T09:11:03.734Z] + sudo service docker restart [2021-11-17T09:11:20.575Z] Removing intermediate container eb50dbc9d89c [2021-11-17T09:11:20.575Z] ---> 488644c08e99 [2021-11-17T09:11:20.575Z] Step 11/11 : RUN $MAKE [2021-11-17T09:11:20.575Z] ---> Running in 674199cfff5b [2021-11-17T09:11:20.575Z] noop [2021-11-17T09:11:20.575Z] Removing intermediate container 674199cfff5b [2021-11-17T09:11:20.575Z] ---> 8a2b92a5a958 [2021-11-17T09:11:20.575Z] Successfully built 8a2b92a5a958 [2021-11-17T09:11:20.575Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh [2021-11-17T09:11:20.875Z] + docker inspect -f . ci-base-image-x86_64 [2021-11-17T09:11:20.875Z] . [Pipeline] withDockerContainer [2021-11-17T09:11:20.952Z] prd-centos7-docker-4c-2g-934 does not seem to be running inside a container [2021-11-17T09:11:20.981Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-rest-go/2 -v /w/workspace/device-rest-go/2:/w/workspace/device-rest-go/2:rw,z -v /w/workspace/device-rest-go/2@tmp:/w/workspace/device-rest-go/2@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2021-11-17T09:11:21.301Z] $ docker top d674846a0c2fb4811a02d44074f1e01cb9e5670087d7dacc21b9d9352f933dd6 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-11-17T09:11:21.677Z] + go version [2021-11-17T09:11:21.677Z] go version go1.16.8 linux/amd64 [Pipeline] } [2021-11-17T09:11:21.687Z] $ docker stop --time=1 d674846a0c2fb4811a02d44074f1e01cb9e5670087d7dacc21b9d9352f933dd6 [2021-11-17T09:11:22.861Z] $ docker rm -f d674846a0c2fb4811a02d44074f1e01cb9e5670087d7dacc21b9d9352f933dd6 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] withEnv [Pipeline] { [Pipeline] // script [Pipeline] } [Pipeline] configFileProvider [2021-11-17T09:11:23.049Z] provisioning config files... [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [2021-11-17T09:11:23.077Z] copy managed file [device-rest-go-settings] to file:/w/workspace/device-rest-go/2@tmp/config5844451647923185953tmp [Pipeline] { [Pipeline] isUnix [Pipeline] sh [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-11-17T09:11:23.369Z] + docker inspect -f . ci-base-image-x86_64 [2021-11-17T09:11:23.369Z] . [Pipeline] withDockerContainer [2021-11-17T09:11:23.426Z] prd-centos7-docker-4c-2g-934 does not seem to be running inside a container [2021-11-17T09:11:23.455Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-rest-go/2 -v /w/workspace/device-rest-go/2:/w/workspace/device-rest-go/2:rw,z -v /w/workspace/device-rest-go/2@tmp:/w/workspace/device-rest-go/2@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2021-11-17T09:11:23.457Z] ---> docker-login.sh [2021-11-17T09:11:23.457Z] nexus3.edgexfoundry.org:10001 [2021-11-17T09:11:23.755Z] $ docker top 2dc98d3cc728573a4ac82d9622439735650a594c4126f4c6f52fee04a79cee2d -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh [2021-11-17T09:11:24.063Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-11-17T09:11:24.130Z] + make test [2021-11-17T09:11:24.130Z] CGO_ENABLED=1 GO111MODULE=on go test -coverprofile=coverage.out ./... [2021-11-17T09:11:24.662Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-11-17T09:11:24.662Z] Configure a credential helper to remove this warning. See [2021-11-17T09:11:24.663Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-11-17T09:11:24.663Z] [2021-11-17T09:11:24.663Z] Login Succeeded [2021-11-17T09:11:24.663Z] nexus3.edgexfoundry.org:10002 [2021-11-17T09:11:24.707Z] ? github.com/edgexfoundry/device-rest-go [no test files] [2021-11-17T09:11:24.938Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-11-17T09:11:25.212Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-11-17T09:11:25.212Z] Configure a credential helper to remove this warning. See [2021-11-17T09:11:25.212Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-11-17T09:11:25.212Z] [2021-11-17T09:11:25.212Z] Login Succeeded [2021-11-17T09:11:25.212Z] nexus3.edgexfoundry.org:10003 [2021-11-17T09:11:25.490Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-11-17T09:11:25.764Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-11-17T09:11:25.764Z] Configure a credential helper to remove this warning. See [2021-11-17T09:11:25.764Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-11-17T09:11:25.764Z] [2021-11-17T09:11:25.764Z] Login Succeeded [2021-11-17T09:11:25.764Z] nexus3.edgexfoundry.org:10004 [2021-11-17T09:11:26.037Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-11-17T09:11:26.310Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-11-17T09:11:26.310Z] Configure a credential helper to remove this warning. See [2021-11-17T09:11:26.310Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-11-17T09:11:26.310Z] [2021-11-17T09:11:26.310Z] Login Succeeded [2021-11-17T09:11:26.310Z] docker.io [2021-11-17T09:11:26.585Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-11-17T09:11:27.188Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-11-17T09:11:27.188Z] Configure a credential helper to remove this warning. See [2021-11-17T09:11:27.188Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-11-17T09:11:27.188Z] [2021-11-17T09:11:27.188Z] Login Succeeded [2021-11-17T09:11:27.188Z] ---> docker-login.sh ends [Pipeline] } [2021-11-17T09:11:27.205Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2021-11-17T09:11:27.680Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2021-11-17T09:11:27.692Z] ========================================================= [2021-11-17T09:11:27.692Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine] [2021-11-17T09:11:27.692Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh [2021-11-17T09:11:28.098Z] + 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-17T09:11:28.098Z] Sending build context to Docker daemon 121.3kB [2021-11-17T09:11:28.372Z] Step 1/11 : ARG BASE=golang:1.16-alpine3.14 [2021-11-17T09:11:28.372Z] Step 2/11 : FROM ${BASE} AS builder [2021-11-17T09:11:28.647Z] 1.16-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2021-11-17T09:11:28.647Z] 552d1f2373af: Pulling fs layer [2021-11-17T09:11:28.647Z] ea3f2d53f512: Pulling fs layer [2021-11-17T09:11:28.647Z] 9e70ebbbe112: Pulling fs layer [2021-11-17T09:11:28.647Z] 7a9cfe048b4a: Pulling fs layer [2021-11-17T09:11:28.647Z] 72dc09318566: Pulling fs layer [2021-11-17T09:11:28.647Z] f4f7b4309257: Pulling fs layer [2021-11-17T09:11:28.647Z] 0ac9a79272e3: Pulling fs layer [2021-11-17T09:11:28.647Z] b78e95d17946: Pulling fs layer [2021-11-17T09:11:28.647Z] 7a9cfe048b4a: Waiting [2021-11-17T09:11:28.647Z] 72dc09318566: Waiting [2021-11-17T09:11:28.647Z] f4f7b4309257: Waiting [2021-11-17T09:11:28.647Z] 0ac9a79272e3: Waiting [2021-11-17T09:11:28.647Z] b78e95d17946: Waiting [2021-11-17T09:11:28.647Z] 9e70ebbbe112: Verifying Checksum [2021-11-17T09:11:28.647Z] 9e70ebbbe112: Download complete [2021-11-17T09:11:28.647Z] ea3f2d53f512: Verifying Checksum [2021-11-17T09:11:28.647Z] ea3f2d53f512: Download complete [2021-11-17T09:11:28.647Z] 72dc09318566: Verifying Checksum [2021-11-17T09:11:28.647Z] 72dc09318566: Download complete [2021-11-17T09:11:28.647Z] f4f7b4309257: Verifying Checksum [2021-11-17T09:11:28.647Z] f4f7b4309257: Download complete [2021-11-17T09:11:28.647Z] 552d1f2373af: Download complete [2021-11-17T09:11:28.926Z] 0ac9a79272e3: Verifying Checksum [2021-11-17T09:11:28.926Z] 0ac9a79272e3: Download complete [2021-11-17T09:11:29.542Z] 552d1f2373af: Pull complete [2021-11-17T09:11:30.149Z] ea3f2d53f512: Pull complete [2021-11-17T09:11:30.425Z] 9e70ebbbe112: Pull complete [2021-11-17T09:11:30.698Z] b78e95d17946: Download complete [2021-11-17T09:11:31.294Z] 7a9cfe048b4a: Verifying Checksum [2021-11-17T09:11:31.294Z] 7a9cfe048b4a: Download complete [2021-11-17T09:11:39.679Z] ? github.com/edgexfoundry/device-rest-go/cmd [no test files] [2021-11-17T09:11:39.679Z] ok github.com/edgexfoundry/device-rest-go/driver 0.010s coverage: 56.0% of statements [2021-11-17T09:11:39.679Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2021-11-17T09:11:41.449Z] 7a9cfe048b4a: Pull complete [2021-11-17T09:11:41.725Z] 72dc09318566: Pull complete [2021-11-17T09:11:42.323Z] f4f7b4309257: Pull complete [2021-11-17T09:11:42.596Z] 0ac9a79272e3: Pull complete [2021-11-17T09:11:46.369Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2021-11-17T09:11:46.369Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2021-11-17T09:11:46.369Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2021-11-17T09:11:46.646Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2021-11-17T09:11:46.656Z] $ docker stop --time=1 2dc98d3cc728573a4ac82d9622439735650a594c4126f4c6f52fee04a79cee2d [2021-11-17T09:11:48.116Z] $ docker rm -f 2dc98d3cc728573a4ac82d9622439735650a594c4126f4c6f52fee04a79cee2d [Pipeline] // withDockerContainer [Pipeline] sh [2021-11-17T09:11:48.514Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2021-11-17T09:11:48.670Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [2021-11-17T09:11:49.325Z] b78e95d17946: Pull complete [2021-11-17T09:11:49.325Z] Digest: sha256:8f77ec77db7124c2038421266515449a73d34d95fd7f90866b77fbf8f5a401c7 [2021-11-17T09:11:49.325Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine [2021-11-17T09:11:49.325Z] ---> 8b459fc5aaf0 [2021-11-17T09:11:49.325Z] Step 3/11 : ARG MAKE='make build' [Pipeline] sh [2021-11-17T09:11:49.923Z] ---> Running in 7a605d005b24 [2021-11-17T09:11:49.979Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2021-11-17T09:11:50.197Z] Removing intermediate container 7a605d005b24 [2021-11-17T09:11:50.197Z] ---> 64961aa916ea [2021-11-17T09:11:50.197Z] Step 4/11 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2021-11-17T09:11:50.269Z] + ls -al . [2021-11-17T09:11:50.269Z] total 148 [2021-11-17T09:11:50.269Z] drwxrwxr-x. 8 jenkins jenkins 4096 Nov 17 09:11 . [2021-11-17T09:11:50.269Z] drwxrwxr-x. 4 jenkins jenkins 28 Nov 17 09:10 .. [2021-11-17T09:11:50.269Z] -rw-rw-r--. 1 jenkins jenkins 7095 Nov 17 09:10 Attribution.txt [2021-11-17T09:11:50.269Z] drwxrwxr-x. 2 jenkins jenkins 37 Nov 17 09:10 bin [2021-11-17T09:11:50.269Z] -rw-rw-r--. 1 jenkins jenkins 7459 Nov 17 09:10 CHANGELOG.md [2021-11-17T09:11:50.269Z] drwxrwxr-x. 3 jenkins jenkins 32 Nov 17 09:10 cmd [2021-11-17T09:11:50.269Z] -rw-r--r--. 1 jenkins jenkins 9215 Nov 17 09:11 coverage.out [2021-11-17T09:11:50.269Z] -rw-rw-r--. 1 jenkins jenkins 1649 Nov 17 09:10 Dockerfile [2021-11-17T09:11:50.269Z] -rw-rw-r--. 1 jenkins jenkins 151 Nov 17 09:10 .dockerignore [2021-11-17T09:11:50.269Z] drwxrwxr-x. 2 jenkins jenkins 76 Nov 17 09:10 driver [2021-11-17T09:11:50.269Z] drwxrwxr-x. 8 jenkins jenkins 179 Nov 17 09:10 .git [2021-11-17T09:11:50.269Z] drwxrwxr-x. 2 jenkins jenkins 103 Nov 17 09:10 .github [2021-11-17T09:11:50.269Z] -rw-rw-r--. 1 jenkins jenkins 329 Nov 17 09:10 .gitignore [2021-11-17T09:11:50.269Z] -rw-rw-r--. 1 jenkins jenkins 271 Nov 17 09:10 go.mod [2021-11-17T09:11:50.269Z] -rw-rw-r--. 1 jenkins jenkins 49306 Nov 17 09:10 go.sum [2021-11-17T09:11:50.269Z] -rw-rw-r--. 1 jenkins jenkins 677 Nov 17 09:10 GOVERNANCE.md [2021-11-17T09:11:50.270Z] -rw-rw-r--. 1 jenkins jenkins 680 Nov 17 09:10 Jenkinsfile [2021-11-17T09:11:50.270Z] -rw-rw-r--. 1 jenkins jenkins 11340 Nov 17 09:10 LICENSE [2021-11-17T09:11:50.270Z] -rw-rw-r--. 1 jenkins jenkins 1078 Nov 17 09:10 Makefile [2021-11-17T09:11:50.270Z] -rw-rw-r--. 1 jenkins jenkins 620 Nov 17 09:10 OWNERS.md [2021-11-17T09:11:50.270Z] -rw-rw-r--. 1 jenkins jenkins 8246 Nov 17 09:10 README.md [2021-11-17T09:11:50.270Z] drwxrwxr-x. 3 jenkins jenkins 58 Nov 17 09:10 snap [2021-11-17T09:11:50.270Z] -rw-rw-r--. 1 jenkins jenkins 5 Nov 17 09:09 VERSION [2021-11-17T09:11:50.270Z] -rw-rw-r--. 1 jenkins jenkins 713 Nov 17 09:10 version.go [Pipeline] isUnix [Pipeline] sh [2021-11-17T09:11:50.470Z] ---> Running in 950c2c0141a3 [2021-11-17T09:11:50.571Z] + 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=ae9526dcd376c8b43b4b87defde3e416751ee266 --label arch=amd64 --label version=0.0.0 . [2021-11-17T09:11:50.572Z] Sending build context to Docker daemon 131.1kB [2021-11-17T09:11:50.572Z] Step 1/24 : ARG BASE=golang:1.16-alpine3.14 [2021-11-17T09:11:50.572Z] Step 2/24 : FROM ${BASE} AS builder [2021-11-17T09:11:50.572Z] ---> 8a2b92a5a958 [2021-11-17T09:11:50.572Z] Step 3/24 : ARG MAKE='make build' [2021-11-17T09:11:50.572Z] ---> Running in ec8e08c5d999 [2021-11-17T09:11:50.572Z] Removing intermediate container ec8e08c5d999 [2021-11-17T09:11:50.572Z] ---> 47b6bcf7e451 [2021-11-17T09:11:50.572Z] Step 4/24 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2021-11-17T09:11:50.572Z] ---> Running in a1b78d2e4f7e [2021-11-17T09:11:50.745Z] Removing intermediate container 950c2c0141a3 [2021-11-17T09:11:50.745Z] ---> 30f96e547f7e [2021-11-17T09:11:50.745Z] Step 5/11 : ARG ALPINE_PKG_EXTRA="" [2021-11-17T09:11:50.841Z] Removing intermediate container a1b78d2e4f7e [2021-11-17T09:11:50.841Z] ---> 59ab5a156177 [2021-11-17T09:11:50.841Z] Step 5/24 : ARG ALPINE_PKG_EXTRA="" [2021-11-17T09:11:50.841Z] ---> Running in c6e1125b5a1d [2021-11-17T09:11:50.841Z] Removing intermediate container c6e1125b5a1d [2021-11-17T09:11:50.841Z] ---> 772c96a35118 [2021-11-17T09:11:50.841Z] Step 6/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-11-17T09:11:50.841Z] ---> Running in 3c0aae4ef202 [2021-11-17T09:11:51.019Z] ---> Running in 31344b521dc1 [2021-11-17T09:11:51.293Z] Removing intermediate container 31344b521dc1 [2021-11-17T09:11:51.293Z] ---> 777fa75def82 [2021-11-17T09:11:51.293Z] Step 6/11 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-11-17T09:11:51.431Z] Removing intermediate container 3c0aae4ef202 [2021-11-17T09:11:51.431Z] ---> 54895463132d [2021-11-17T09:11:51.431Z] Step 7/24 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2021-11-17T09:11:51.431Z] ---> Running in 8e0031a48b24 [2021-11-17T09:11:51.566Z] ---> Running in 3c98d4215d21 [2021-11-17T09:11:51.692Z] fetch https://nl.alpinelinux.org/alpine/v3.14/main/x86_64/APKINDEX.tar.gz [2021-11-17T09:11:52.633Z] fetch https://nl.alpinelinux.org/alpine/v3.14/community/x86_64/APKINDEX.tar.gz [2021-11-17T09:11:52.633Z] OK: 224 MiB in 56 packages [2021-11-17T09:11:52.893Z] Removing intermediate container 8e0031a48b24 [2021-11-17T09:11:52.893Z] ---> d8473a81fd6b [2021-11-17T09:11:52.893Z] Step 8/24 : WORKDIR /device-rest-go [2021-11-17T09:11:52.893Z] ---> Running in 6e1ccdc67d69 [2021-11-17T09:11:53.160Z] Removing intermediate container 6e1ccdc67d69 [2021-11-17T09:11:53.160Z] ---> 45617d7003c4 [2021-11-17T09:11:53.160Z] Step 9/24 : COPY . . [2021-11-17T09:11:53.160Z] ---> 63acf5c4c1bb [2021-11-17T09:11:53.160Z] Step 10/24 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2021-11-17T09:11:53.160Z] ---> Running in 2648fa00193b [2021-11-17T09:11:53.540Z] Removing intermediate container 3c98d4215d21 [2021-11-17T09:11:53.540Z] ---> b4dbe11a10f9 [2021-11-17T09:11:53.540Z] Step 7/11 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2021-11-17T09:11:53.540Z] ---> Running in 2309850771cf [2021-11-17T09:11:53.732Z] Removing intermediate container 2648fa00193b [2021-11-17T09:11:53.733Z] ---> 801d1960cea5 [2021-11-17T09:11:53.733Z] Step 11/24 : RUN $MAKE [2021-11-17T09:11:53.733Z] ---> Running in fbcc94fa603b [2021-11-17T09:11:53.998Z] 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-17T09:11:54.972Z] fetch https://nl.alpinelinux.org/alpine/v3.14/main/aarch64/APKINDEX.tar.gz [2021-11-17T09:11:55.565Z] fetch https://nl.alpinelinux.org/alpine/v3.14/community/aarch64/APKINDEX.tar.gz [2021-11-17T09:11:56.162Z] (1/4) Installing openssh-keygen (8.6_p1-r3) [2021-11-17T09:11:56.434Z] (2/4) Installing libedit (20210216.3.1-r0) [2021-11-17T09:11:56.434Z] (3/4) Installing openssh-client-common (8.6_p1-r3) [2021-11-17T09:11:56.710Z] (4/4) Installing openssh-client-default (8.6_p1-r3) [2021-11-17T09:11:56.710Z] Executing busybox-1.33.1-r3.trigger [2021-11-17T09:11:56.710Z] OK: 223 MiB in 56 packages [2021-11-17T09:11:57.698Z] Removing intermediate container 2309850771cf [2021-11-17T09:11:57.698Z] ---> 9ab7023f1746 [2021-11-17T09:11:57.698Z] Step 8/11 : WORKDIR /device-rest-go [2021-11-17T09:11:57.973Z] ---> Running in 47fdefbd1953 [2021-11-17T09:11:58.570Z] Removing intermediate container 47fdefbd1953 [2021-11-17T09:11:58.570Z] ---> 980d87a554f1 [2021-11-17T09:11:58.570Z] Step 9/11 : COPY . . [2021-11-17T09:11:59.180Z] ---> 17e61fbb712d [2021-11-17T09:11:59.180Z] Step 10/11 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2021-11-17T09:11:59.180Z] ---> Running in 183e982013e2 [2021-11-17T09:12:06.279Z] Removing intermediate container fbcc94fa603b [2021-11-17T09:12:06.279Z] ---> 850264964a08 [2021-11-17T09:12:06.279Z] Step 12/24 : FROM alpine:3.14 [2021-11-17T09:12:06.279Z] 3.14: Pulling from library/alpine [2021-11-17T09:12:06.279Z] 97518928ae5f: Pulling fs layer [2021-11-17T09:12:06.279Z] 97518928ae5f: Verifying Checksum [2021-11-17T09:12:06.280Z] 97518928ae5f: Download complete [2021-11-17T09:12:06.280Z] 97518928ae5f: Pull complete [2021-11-17T09:12:06.280Z] Digest: sha256:635f0aa53d99017b38d1a0aa5b2082f7812b03e3cdb299103fe77b5c8a07f1d2 [2021-11-17T09:12:06.280Z] Status: Downloaded newer image for alpine:3.14 [2021-11-17T09:12:06.280Z] ---> 0a97eee8041e [2021-11-17T09:12:06.280Z] Step 13/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019: Intel' [2021-11-17T09:12:06.280Z] ---> Running in 3551c54f2dfd [2021-11-17T09:12:06.280Z] Removing intermediate container 3551c54f2dfd [2021-11-17T09:12:06.280Z] ---> faa2a4b1b8fb [2021-11-17T09:12:06.280Z] Step 14/24 : LABEL Name=device-rest-go Version=${VERSION} [2021-11-17T09:12:06.280Z] ---> Running in 658f149f8772 [2021-11-17T09:12:06.544Z] Removing intermediate container 658f149f8772 [2021-11-17T09:12:06.544Z] ---> cec93f7b14bd [2021-11-17T09:12:06.544Z] Step 15/24 : RUN apk add --update --no-cache zeromq dumb-init [2021-11-17T09:12:06.544Z] ---> Running in 718caef6f64c [2021-11-17T09:12:06.815Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/main/x86_64/APKINDEX.tar.gz [2021-11-17T09:12:06.815Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/community/x86_64/APKINDEX.tar.gz [2021-11-17T09:12:07.078Z] (1/6) Installing dumb-init (1.2.5-r1) [2021-11-17T09:12:07.078Z] (2/6) Installing libgcc (10.3.1_git20210424-r2) [2021-11-17T09:12:07.078Z] (3/6) Installing libsodium (1.0.18-r0) [2021-11-17T09:12:07.078Z] (4/6) Installing libstdc++ (10.3.1_git20210424-r2) [2021-11-17T09:12:07.078Z] (5/6) Installing libzmq (4.3.4-r0) [2021-11-17T09:12:07.078Z] (6/6) Installing zeromq (4.3.4-r0) [2021-11-17T09:12:07.079Z] Executing busybox-1.33.1-r6.trigger [2021-11-17T09:12:07.079Z] OK: 8 MiB in 20 packages [2021-11-17T09:12:07.337Z] Removing intermediate container 718caef6f64c [2021-11-17T09:12:07.338Z] ---> 7fb5de907fd9 [2021-11-17T09:12:07.338Z] Step 16/24 : COPY --from=builder /device-rest-go/cmd / [2021-11-17T09:12:07.602Z] ---> 43a6ac243ec9 [2021-11-17T09:12:07.602Z] Step 17/24 : COPY --from=builder /device-rest-go/LICENSE / [2021-11-17T09:12:07.863Z] ---> 11d9e7d1a6de [2021-11-17T09:12:07.863Z] Step 18/24 : COPY --from=builder /device-rest-go/Attribution.txt / [2021-11-17T09:12:08.133Z] ---> b2cd8982c0a4 [2021-11-17T09:12:08.133Z] Step 19/24 : EXPOSE 59986 [2021-11-17T09:12:08.133Z] ---> Running in 3848919e0686 [2021-11-17T09:12:08.133Z] Removing intermediate container 3848919e0686 [2021-11-17T09:12:08.133Z] ---> 44c3cdcf05bb [2021-11-17T09:12:08.133Z] Step 20/24 : ENTRYPOINT ["/device-rest"] [2021-11-17T09:12:08.133Z] ---> Running in dbeccb524db5 [2021-11-17T09:12:08.393Z] Removing intermediate container dbeccb524db5 [2021-11-17T09:12:08.393Z] ---> ddc8b3bf5643 [2021-11-17T09:12:08.393Z] Step 21/24 : CMD ["--cp=consul://edgex-core-consul:8500", "--confdir=/res", "--registry"] [2021-11-17T09:12:08.393Z] ---> Running in 9e894eaf413b [2021-11-17T09:12:08.393Z] Removing intermediate container 9e894eaf413b [2021-11-17T09:12:08.393Z] ---> e781b73f8dc9 [2021-11-17T09:12:08.393Z] Step 22/24 : LABEL arch=amd64 [2021-11-17T09:12:08.393Z] ---> Running in ebd819b33be3 [2021-11-17T09:12:08.393Z] Removing intermediate container ebd819b33be3 [2021-11-17T09:12:08.393Z] ---> 8240b1bcaa75 [2021-11-17T09:12:08.393Z] Step 23/24 : LABEL git_sha=ae9526dcd376c8b43b4b87defde3e416751ee266 [2021-11-17T09:12:08.653Z] ---> Running in cfc9bd14de74 [2021-11-17T09:12:08.653Z] Removing intermediate container cfc9bd14de74 [2021-11-17T09:12:08.653Z] ---> 9428ca1320a8 [2021-11-17T09:12:08.653Z] Step 24/24 : LABEL version=0.0.0 [2021-11-17T09:12:08.653Z] ---> Running in 2c7a376a5fe9 [2021-11-17T09:12:08.653Z] Removing intermediate container 2c7a376a5fe9 [2021-11-17T09:12:08.653Z] ---> b63f1d23bb9a [2021-11-17T09:12:08.653Z] [Warning] One or more build-args [ARCH] were not consumed [2021-11-17T09:12:08.653Z] Successfully built b63f1d23bb9a [2021-11-17T09:12:08.653Z] 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-17T09:12:09.190Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2021-11-17T09:12:09.190Z] [2021-11-17T09:12:09.190Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] sh [2021-11-17T09:12:09.490Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2021-11-17T09:12:09.490Z] latest: Pulling from edgex-lftools-log-publisher [2021-11-17T09:12:09.490Z] b4d181a07f80: Pulling fs layer [2021-11-17T09:12:09.490Z] a1111a8f2ec3: Pulling fs layer [2021-11-17T09:12:09.490Z] ed53099fbce6: Pulling fs layer [2021-11-17T09:12:09.490Z] dc539afda2c1: Pulling fs layer [2021-11-17T09:12:09.490Z] 77bc0d833cb6: Pulling fs layer [2021-11-17T09:12:09.490Z] 9065ff56babe: Pulling fs layer [2021-11-17T09:12:09.490Z] d287ab97295c: Pulling fs layer [2021-11-17T09:12:09.490Z] 77bc0d833cb6: Waiting [2021-11-17T09:12:09.490Z] dc539afda2c1: Waiting [2021-11-17T09:12:09.490Z] 9065ff56babe: Waiting [2021-11-17T09:12:09.490Z] d287ab97295c: Waiting [2021-11-17T09:12:09.490Z] a1111a8f2ec3: Verifying Checksum [2021-11-17T09:12:09.490Z] a1111a8f2ec3: Download complete [2021-11-17T09:12:09.490Z] dc539afda2c1: Verifying Checksum [2021-11-17T09:12:09.490Z] dc539afda2c1: Download complete [2021-11-17T09:12:09.490Z] ed53099fbce6: Verifying Checksum [2021-11-17T09:12:09.490Z] ed53099fbce6: Download complete [2021-11-17T09:12:09.754Z] 9065ff56babe: Verifying Checksum [2021-11-17T09:12:09.754Z] 9065ff56babe: Download complete [2021-11-17T09:12:09.754Z] b4d181a07f80: Verifying Checksum [2021-11-17T09:12:09.754Z] b4d181a07f80: Download complete [2021-11-17T09:12:09.754Z] 77bc0d833cb6: Verifying Checksum [2021-11-17T09:12:09.754Z] 77bc0d833cb6: Download complete [2021-11-17T09:12:10.327Z] d287ab97295c: Verifying Checksum [2021-11-17T09:12:10.327Z] d287ab97295c: Download complete [2021-11-17T09:12:10.908Z] b4d181a07f80: Pull complete [2021-11-17T09:12:11.174Z] a1111a8f2ec3: Pull complete [2021-11-17T09:12:11.756Z] ed53099fbce6: Pull complete [2021-11-17T09:12:11.756Z] dc539afda2c1: Pull complete [2021-11-17T09:12:12.021Z] 77bc0d833cb6: Pull complete [2021-11-17T09:12:12.021Z] 9065ff56babe: Pull complete [2021-11-17T09:12:17.349Z] d287ab97295c: Pull complete [2021-11-17T09:12:17.349Z] Digest: sha256:0c69325c24349bfb3ea32a3c3cbcab1fb66df42c981276dd8ebcf6aa441257c4 [2021-11-17T09:12:17.349Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2021-11-17T09:12:17.349Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] withDockerContainer [2021-11-17T09:12:17.422Z] prd-centos7-docker-4c-2g-934 does not seem to be running inside a container [2021-11-17T09:12:17.456Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/device-rest-go/2 -v /w/workspace/device-rest-go/2:/w/workspace/device-rest-go/2:rw,z -v /w/workspace/device-rest-go/2@tmp:/w/workspace/device-rest-go/2@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2021-11-17T09:12:20.138Z] $ docker top 7e9ea61dbde9915bc13510848f9c304bd5db9557828e431c1caf2ea8d339efd8 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-11-17T09:12:20.578Z] ---> job-cost.sh [2021-11-17T09:12:20.578Z] lf-activate-venv: SKIPPING [2021-11-17T09:12:20.578Z] INFO: No Stack... [2021-11-17T09:12:21.150Z] INFO: Retrieving Pricing Info for: v3-standard-2 [2021-11-17T09:12:21.411Z] INFO: Archiving Costs [Pipeline] sh [2021-11-17T09:12:21.711Z] + cat /w/workspace/device-rest-go/2/archives/cost.csv [2021-11-17T09:12:21.711Z] + cut -d, -f6 [Pipeline] lock [2021-11-17T09:12:21.744Z] Trying to acquire lock on [jenkins-edgexfoundry-device-rest-go-PR-146-2-stack-cost] [2021-11-17T09:12:21.753Z] Resource [jenkins-edgexfoundry-device-rest-go-PR-146-2-stack-cost] did not exist. Created. [2021-11-17T09:12:21.753Z] Lock acquired on [jenkins-edgexfoundry-device-rest-go-PR-146-2-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2021-11-17T09:12:22.060Z] + echo total: 0.05999999865889549 [Pipeline] stash [2021-11-17T09:12:22.088Z] Stashed 1 file(s) [Pipeline] } [2021-11-17T09:12:22.094Z] Lock released on resource [jenkins-edgexfoundry-device-rest-go-PR-146-2-stack-cost] [Pipeline] // lock [Pipeline] } [2021-11-17T09:12:22.112Z] $ docker stop --time=1 7e9ea61dbde9915bc13510848f9c304bd5db9557828e431c1caf2ea8d339efd8 [2021-11-17T09:12:23.251Z] $ docker rm -f 7e9ea61dbde9915bc13510848f9c304bd5db9557828e431c1caf2ea8d339efd8 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [2021-11-17T09:13:20.994Z] Removing intermediate container 183e982013e2 [2021-11-17T09:13:20.994Z] ---> 57f720efdb9a [2021-11-17T09:13:20.994Z] Step 11/11 : RUN $MAKE [2021-11-17T09:13:20.994Z] ---> Running in 5e144100b553 [2021-11-17T09:13:20.994Z] noop [2021-11-17T09:13:20.994Z] Removing intermediate container 5e144100b553 [2021-11-17T09:13:20.994Z] ---> b6c898ad81b1 [2021-11-17T09:13:20.994Z] Successfully built b6c898ad81b1 [2021-11-17T09:13:20.994Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh [2021-11-17T09:13:21.337Z] + docker inspect -f . ci-base-image-arm64 [2021-11-17T09:13:21.337Z] . [Pipeline] withDockerContainer [2021-11-17T09:13:21.613Z] prd-ubuntu18.04-docker-arm64-4c-16g-933 does not seem to be running inside a container [2021-11-17T09:13:21.697Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-rest-go/2 -v /w/workspace/device-rest-go/2:/w/workspace/device-rest-go/2:rw,z -v /w/workspace/device-rest-go/2@tmp:/w/workspace/device-rest-go/2@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2021-11-17T09:13:23.264Z] $ docker top d0820930be1cc1aad9683a1e458677aba006b4b0386b49ff3ab5489d792fc123 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-11-17T09:13:24.232Z] + go version [2021-11-17T09:13:24.232Z] go version go1.16.8 linux/arm64 [Pipeline] } [2021-11-17T09:13:24.256Z] $ docker stop --time=1 d0820930be1cc1aad9683a1e458677aba006b4b0386b49ff3ab5489d792fc123 [2021-11-17T09:13:25.982Z] $ docker rm -f d0820930be1cc1aad9683a1e458677aba006b4b0386b49ff3ab5489d792fc123 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-11-17T09:13:26.716Z] + docker inspect -f . ci-base-image-arm64 [2021-11-17T09:13:26.716Z] . [Pipeline] withDockerContainer [2021-11-17T09:13:26.961Z] prd-ubuntu18.04-docker-arm64-4c-16g-933 does not seem to be running inside a container [2021-11-17T09:13:27.049Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-rest-go/2 -v /w/workspace/device-rest-go/2:/w/workspace/device-rest-go/2:rw,z -v /w/workspace/device-rest-go/2@tmp:/w/workspace/device-rest-go/2@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2021-11-17T09:13:28.610Z] $ docker top 774add1174d86f270ad6729c43977f3a3d84dcdfe6b2c2224722fbc3e475e915 -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh [2021-11-17T09:13:29.589Z] + make test [2021-11-17T09:13:29.589Z] CGO_ENABLED=1 GO111MODULE=on go test -coverprofile=coverage.out ./... [2021-11-17T09:13:31.062Z] ? github.com/edgexfoundry/device-rest-go [no test files] [2021-11-17T09:14:27.656Z] ? github.com/edgexfoundry/device-rest-go/cmd [no test files] [2021-11-17T09:14:27.656Z] ok github.com/edgexfoundry/device-rest-go/driver 0.055s coverage: 56.0% of statements [2021-11-17T09:14:27.657Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2021-11-17T09:14:54.457Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2021-11-17T09:14:54.457Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2021-11-17T09:14:54.457Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2021-11-17T09:14:54.750Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2021-11-17T09:14:54.766Z] $ docker stop --time=1 774add1174d86f270ad6729c43977f3a3d84dcdfe6b2c2224722fbc3e475e915 [2021-11-17T09:14:56.573Z] $ docker rm -f 774add1174d86f270ad6729c43977f3a3d84dcdfe6b2c2224722fbc3e475e915 [Pipeline] // withDockerContainer [Pipeline] sh [2021-11-17T09:14:57.461Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2021-11-17T09:14:57.481Z] Warning: overwriting stash ‘coverage-report’ [2021-11-17T09:14:57.927Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-11-17T09:14:58.467Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2021-11-17T09:14:58.836Z] + ls -al . [2021-11-17T09:14:58.836Z] total 176 [2021-11-17T09:14:58.836Z] drwxrwxr-x 8 jenkins jenkins 4096 Nov 17 09:14 . [2021-11-17T09:14:58.836Z] drwxrwxr-x 4 jenkins jenkins 4096 Nov 17 09:10 .. [2021-11-17T09:14:58.836Z] -rw-rw-r-- 1 jenkins jenkins 151 Nov 17 09:10 .dockerignore [2021-11-17T09:14:58.836Z] drwxrwxr-x 8 jenkins jenkins 4096 Nov 17 09:11 .git [2021-11-17T09:14:58.836Z] drwxrwxr-x 2 jenkins jenkins 4096 Nov 17 09:10 .github [2021-11-17T09:14:58.836Z] -rw-rw-r-- 1 jenkins jenkins 329 Nov 17 09:10 .gitignore [2021-11-17T09:14:58.836Z] -rw-rw-r-- 1 jenkins jenkins 7095 Nov 17 09:10 Attribution.txt [2021-11-17T09:14:58.836Z] -rw-rw-r-- 1 jenkins jenkins 7459 Nov 17 09:10 CHANGELOG.md [2021-11-17T09:14:58.836Z] -rw-rw-r-- 1 jenkins jenkins 1649 Nov 17 09:10 Dockerfile [2021-11-17T09:14:58.836Z] -rw-rw-r-- 1 jenkins jenkins 677 Nov 17 09:10 GOVERNANCE.md [2021-11-17T09:14:58.836Z] -rw-rw-r-- 1 jenkins jenkins 680 Nov 17 09:10 Jenkinsfile [2021-11-17T09:14:58.836Z] -rw-rw-r-- 1 jenkins jenkins 11340 Nov 17 09:10 LICENSE [2021-11-17T09:14:58.836Z] -rw-rw-r-- 1 jenkins jenkins 1078 Nov 17 09:10 Makefile [2021-11-17T09:14:58.836Z] -rw-rw-r-- 1 jenkins jenkins 620 Nov 17 09:10 OWNERS.md [2021-11-17T09:14:58.836Z] -rw-rw-r-- 1 jenkins jenkins 8246 Nov 17 09:10 README.md [2021-11-17T09:14:58.836Z] -rw-rw-r-- 1 jenkins jenkins 5 Nov 17 09:09 VERSION [2021-11-17T09:14:58.836Z] drwxrwxr-x 2 jenkins jenkins 4096 Nov 17 09:10 bin [2021-11-17T09:14:58.836Z] drwxrwxr-x 3 jenkins jenkins 4096 Nov 17 09:10 cmd [2021-11-17T09:14:58.836Z] -rw-r--r-- 1 jenkins jenkins 9215 Nov 17 09:14 coverage.out [2021-11-17T09:14:58.836Z] drwxrwxr-x 2 jenkins jenkins 4096 Nov 17 09:10 driver [2021-11-17T09:14:58.836Z] -rw-rw-r-- 1 jenkins jenkins 271 Nov 17 09:10 go.mod [2021-11-17T09:14:58.836Z] -rw-rw-r-- 1 jenkins jenkins 49306 Nov 17 09:10 go.sum [2021-11-17T09:14:58.836Z] drwxrwxr-x 3 jenkins jenkins 4096 Nov 17 09:10 snap [2021-11-17T09:14:58.836Z] -rw-rw-r-- 1 jenkins jenkins 713 Nov 17 09:10 version.go [Pipeline] isUnix [Pipeline] sh [2021-11-17T09:14:59.183Z] + 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=ae9526dcd376c8b43b4b87defde3e416751ee266 --label arch=arm64 --label version=0.0.0 . [2021-11-17T09:14:59.183Z] Sending build context to Docker daemon 131.1kB [2021-11-17T09:14:59.785Z] Step 1/24 : ARG BASE=golang:1.16-alpine3.14 [2021-11-17T09:14:59.785Z] Step 2/24 : FROM ${BASE} AS builder [2021-11-17T09:14:59.785Z] ---> b6c898ad81b1 [2021-11-17T09:14:59.785Z] Step 3/24 : ARG MAKE='make build' [2021-11-17T09:14:59.785Z] ---> Running in b62b9d28bc4a [2021-11-17T09:15:00.066Z] Removing intermediate container b62b9d28bc4a [2021-11-17T09:15:00.066Z] ---> b909b75a10bf [2021-11-17T09:15:00.066Z] Step 4/24 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2021-11-17T09:15:00.340Z] ---> Running in ea02fa538325 [2021-11-17T09:15:00.618Z] Removing intermediate container ea02fa538325 [2021-11-17T09:15:00.618Z] ---> dd18455d51e4 [2021-11-17T09:15:00.618Z] Step 5/24 : ARG ALPINE_PKG_EXTRA="" [2021-11-17T09:15:00.892Z] ---> Running in d52826167625 [2021-11-17T09:15:01.170Z] Removing intermediate container d52826167625 [2021-11-17T09:15:01.170Z] ---> f165c31d0909 [2021-11-17T09:15:01.170Z] Step 6/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-11-17T09:15:01.170Z] ---> Running in 9fd8689b8706 [2021-11-17T09:15:03.142Z] Removing intermediate container 9fd8689b8706 [2021-11-17T09:15:03.142Z] ---> 68f1f92abf1e [2021-11-17T09:15:03.142Z] Step 7/24 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2021-11-17T09:15:03.142Z] ---> Running in 08310e27faf6 [2021-11-17T09:15:04.580Z] fetch https://nl.alpinelinux.org/alpine/v3.14/main/aarch64/APKINDEX.tar.gz [2021-11-17T09:15:05.174Z] fetch https://nl.alpinelinux.org/alpine/v3.14/community/aarch64/APKINDEX.tar.gz [2021-11-17T09:15:06.159Z] OK: 223 MiB in 56 packages [2021-11-17T09:15:06.763Z] Removing intermediate container 08310e27faf6 [2021-11-17T09:15:06.763Z] ---> bc5794d3a26c [2021-11-17T09:15:06.763Z] Step 8/24 : WORKDIR /device-rest-go [2021-11-17T09:15:07.037Z] ---> Running in 84596391d90a [2021-11-17T09:15:07.311Z] Removing intermediate container 84596391d90a [2021-11-17T09:15:07.311Z] ---> bfcaba3aff15 [2021-11-17T09:15:07.311Z] Step 9/24 : COPY . . [2021-11-17T09:15:08.286Z] ---> b5320d15729d [2021-11-17T09:15:08.286Z] Step 10/24 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2021-11-17T09:15:08.286Z] ---> Running in 156646d30e64 [2021-11-17T09:15:10.902Z] Removing intermediate container 156646d30e64 [2021-11-17T09:15:10.902Z] ---> 85723d0e8c3f [2021-11-17T09:15:10.902Z] Step 11/24 : RUN $MAKE [2021-11-17T09:15:10.902Z] ---> Running in 8f3a1d104976 [2021-11-17T09:15:11.883Z] 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-17T09:15:50.872Z] Removing intermediate container 8f3a1d104976 [2021-11-17T09:15:50.872Z] ---> 14dd359b8641 [2021-11-17T09:15:50.872Z] Step 12/24 : FROM alpine:3.14 [2021-11-17T09:15:50.872Z] 3.14: Pulling from library/alpine [2021-11-17T09:15:50.872Z] be307f383ecc: Pulling fs layer [2021-11-17T09:15:50.872Z] be307f383ecc: Verifying Checksum [2021-11-17T09:15:50.872Z] be307f383ecc: Pull complete [2021-11-17T09:15:50.872Z] Digest: sha256:635f0aa53d99017b38d1a0aa5b2082f7812b03e3cdb299103fe77b5c8a07f1d2 [2021-11-17T09:15:50.872Z] Status: Downloaded newer image for alpine:3.14 [2021-11-17T09:15:50.872Z] ---> 5b8b7b635229 [2021-11-17T09:15:50.872Z] Step 13/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019: Intel' [2021-11-17T09:15:50.872Z] ---> Running in 26cbb6eb70ea [2021-11-17T09:15:51.143Z] Removing intermediate container 26cbb6eb70ea [2021-11-17T09:15:51.143Z] ---> 9ef97863ccdb [2021-11-17T09:15:51.143Z] Step 14/24 : LABEL Name=device-rest-go Version=${VERSION} [2021-11-17T09:15:51.143Z] ---> Running in 550db1e7b31f [2021-11-17T09:15:51.738Z] Removing intermediate container 550db1e7b31f [2021-11-17T09:15:51.738Z] ---> 4a39508924ff [2021-11-17T09:15:51.738Z] Step 15/24 : RUN apk add --update --no-cache zeromq dumb-init [2021-11-17T09:15:51.738Z] ---> Running in b74ed7b0c91e [2021-11-17T09:15:53.181Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/main/aarch64/APKINDEX.tar.gz [2021-11-17T09:15:53.181Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/community/aarch64/APKINDEX.tar.gz [2021-11-17T09:15:54.166Z] (1/6) Installing dumb-init (1.2.5-r1) [2021-11-17T09:15:54.166Z] (2/6) Installing libgcc (10.3.1_git20210424-r2) [2021-11-17T09:15:54.166Z] (3/6) Installing libsodium (1.0.18-r0) [2021-11-17T09:15:54.166Z] (4/6) Installing libstdc++ (10.3.1_git20210424-r2) [2021-11-17T09:15:54.166Z] (5/6) Installing libzmq (4.3.4-r0) [2021-11-17T09:15:54.166Z] (6/6) Installing zeromq (4.3.4-r0) [2021-11-17T09:15:54.166Z] Executing busybox-1.33.1-r6.trigger [2021-11-17T09:15:54.166Z] OK: 8 MiB in 20 packages [2021-11-17T09:15:55.150Z] Removing intermediate container b74ed7b0c91e [2021-11-17T09:15:55.150Z] ---> c01015b8e40b [2021-11-17T09:15:55.150Z] Step 16/24 : COPY --from=builder /device-rest-go/cmd / [2021-11-17T09:15:56.584Z] ---> f80be21c3cc5 [2021-11-17T09:15:56.584Z] Step 17/24 : COPY --from=builder /device-rest-go/LICENSE / [2021-11-17T09:15:57.180Z] ---> a8d57b40bd70 [2021-11-17T09:15:57.180Z] Step 18/24 : COPY --from=builder /device-rest-go/Attribution.txt / [2021-11-17T09:15:57.777Z] ---> 0f5075160344 [2021-11-17T09:15:57.777Z] Step 19/24 : EXPOSE 59986 [2021-11-17T09:15:57.777Z] ---> Running in 7f00119223e1 [2021-11-17T09:15:58.372Z] Removing intermediate container 7f00119223e1 [2021-11-17T09:15:58.372Z] ---> a5a9b9c89f54 [2021-11-17T09:15:58.372Z] Step 20/24 : ENTRYPOINT ["/device-rest"] [2021-11-17T09:15:58.372Z] ---> Running in 1df9f237db71 [2021-11-17T09:15:58.965Z] Removing intermediate container 1df9f237db71 [2021-11-17T09:15:58.965Z] ---> c9a4109902a8 [2021-11-17T09:15:58.965Z] Step 21/24 : CMD ["--cp=consul://edgex-core-consul:8500", "--confdir=/res", "--registry"] [2021-11-17T09:15:58.965Z] ---> Running in bf2dfa6208db [2021-11-17T09:15:59.240Z] Removing intermediate container bf2dfa6208db [2021-11-17T09:15:59.240Z] ---> 1f00ebb05eda [2021-11-17T09:15:59.240Z] Step 22/24 : LABEL arch=arm64 [2021-11-17T09:15:59.240Z] ---> Running in 794364d88c96 [2021-11-17T09:15:59.835Z] Removing intermediate container 794364d88c96 [2021-11-17T09:15:59.835Z] ---> ea73efbb9f44 [2021-11-17T09:15:59.835Z] Step 23/24 : LABEL git_sha=ae9526dcd376c8b43b4b87defde3e416751ee266 [2021-11-17T09:15:59.835Z] ---> Running in 5eeb477c3133 [2021-11-17T09:16:00.430Z] Removing intermediate container 5eeb477c3133 [2021-11-17T09:16:00.430Z] ---> a3dc81578c3c [2021-11-17T09:16:00.430Z] Step 24/24 : LABEL version=0.0.0 [2021-11-17T09:16:00.430Z] ---> Running in ef850ebb8b45 [2021-11-17T09:16:00.700Z] Removing intermediate container ef850ebb8b45 [2021-11-17T09:16:00.700Z] ---> b07da1eb8d64 [2021-11-17T09:16:00.700Z] [Warning] One or more build-args [ARCH] were not consumed [2021-11-17T09:16:00.700Z] Successfully built b07da1eb8d64 [2021-11-17T09:16:00.700Z] 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-17T09:16:01.281Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2021-11-17T09:16:01.281Z] [2021-11-17T09:16:01.281Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] sh [2021-11-17T09:16:01.635Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2021-11-17T09:16:01.911Z] arm64: Pulling from edgex-lftools-log-publisher [2021-11-17T09:16:01.911Z] 448f6bf000e3: Pulling fs layer [2021-11-17T09:16:01.911Z] f757da607395: Pulling fs layer [2021-11-17T09:16:01.911Z] 05883995daec: Pulling fs layer [2021-11-17T09:16:01.911Z] 8603b9c90790: Pulling fs layer [2021-11-17T09:16:01.911Z] 1560dd03e051: Pulling fs layer [2021-11-17T09:16:01.911Z] 27f5ce0e4adf: Pulling fs layer [2021-11-17T09:16:01.911Z] c2d8d7efcc4b: Pulling fs layer [2021-11-17T09:16:01.911Z] 1560dd03e051: Waiting [2021-11-17T09:16:01.911Z] 27f5ce0e4adf: Waiting [2021-11-17T09:16:01.911Z] 8603b9c90790: Waiting [2021-11-17T09:16:01.911Z] c2d8d7efcc4b: Waiting [2021-11-17T09:16:01.911Z] f757da607395: Verifying Checksum [2021-11-17T09:16:01.911Z] f757da607395: Download complete [2021-11-17T09:16:01.911Z] 8603b9c90790: Verifying Checksum [2021-11-17T09:16:01.911Z] 8603b9c90790: Download complete [2021-11-17T09:16:02.185Z] 1560dd03e051: Verifying Checksum [2021-11-17T09:16:02.185Z] 1560dd03e051: Download complete [2021-11-17T09:16:02.186Z] 27f5ce0e4adf: Download complete [2021-11-17T09:16:02.186Z] 05883995daec: Verifying Checksum [2021-11-17T09:16:02.186Z] 05883995daec: Download complete [2021-11-17T09:16:02.458Z] 448f6bf000e3: Verifying Checksum [2021-11-17T09:16:02.458Z] 448f6bf000e3: Download complete [2021-11-17T09:16:05.076Z] c2d8d7efcc4b: Verifying Checksum [2021-11-17T09:16:05.076Z] c2d8d7efcc4b: Download complete [2021-11-17T09:16:06.051Z] 448f6bf000e3: Pull complete [2021-11-17T09:16:07.050Z] f757da607395: Pull complete [2021-11-17T09:16:08.476Z] 05883995daec: Pull complete [2021-11-17T09:16:08.476Z] 8603b9c90790: Pull complete [2021-11-17T09:16:09.452Z] 1560dd03e051: Pull complete [2021-11-17T09:16:09.724Z] 27f5ce0e4adf: Pull complete [2021-11-17T09:16:24.790Z] c2d8d7efcc4b: Pull complete [2021-11-17T09:16:24.790Z] Digest: sha256:42f6a1c33103aa4ecfebf648e29883a20fd84132c0f0d4f855d8bcfd8dd9c454 [2021-11-17T09:16:24.790Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2021-11-17T09:16:24.790Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] withDockerContainer [2021-11-17T09:16:25.057Z] prd-ubuntu18.04-docker-arm64-4c-16g-933 does not seem to be running inside a container [2021-11-17T09:16:25.146Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/device-rest-go/2 -v /w/workspace/device-rest-go/2:/w/workspace/device-rest-go/2:rw,z -v /w/workspace/device-rest-go/2@tmp:/w/workspace/device-rest-go/2@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat [2021-11-17T09:16:28.258Z] $ docker top 17dfe3ff7ad1d99ab89234f00f7a4453c21f8f5b2300310ffbfd3c5859722fc8 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-11-17T09:16:29.261Z] ---> job-cost.sh [2021-11-17T09:16:29.261Z] lf-activate-venv: SKIPPING [2021-11-17T09:16:29.261Z] INFO: No Stack... [2021-11-17T09:16:29.531Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2021-11-17T09:16:30.125Z] INFO: Archiving Costs [Pipeline] sh [2021-11-17T09:16:30.784Z] + + cat /w/workspace/device-rest-go/2/archives/cost.csv [2021-11-17T09:16:30.784Z] cut -d, -f6 [Pipeline] lock [2021-11-17T09:16:30.849Z] Trying to acquire lock on [jenkins-edgexfoundry-device-rest-go-PR-146-2-stack-cost] [2021-11-17T09:16:30.857Z] Resource [jenkins-edgexfoundry-device-rest-go-PR-146-2-stack-cost] did not exist. Created. [2021-11-17T09:16:30.857Z] Lock acquired on [jenkins-edgexfoundry-device-rest-go-PR-146-2-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2021-11-17T09:16:31.532Z] /w/workspace/device-rest-go/2@tmp/durable-c3d319fb/script.sh: 1: /w/workspace/device-rest-go/2@tmp/durable-c3d319fb/script.sh: Syntax error: Unterminated quoted string [Pipeline] sh [2021-11-17T09:16:32.199Z] + echo total: 0.10999999940395355 [Pipeline] stash [2021-11-17T09:16:32.220Z] Warning: overwriting stash ‘stack-cost’ [2021-11-17T09:16:32.266Z] Stashed 1 file(s) [Pipeline] } [2021-11-17T09:16:32.273Z] Lock released on resource [jenkins-edgexfoundry-device-rest-go-PR-146-2-stack-cost] [Pipeline] // lock [Pipeline] } [2021-11-17T09:16:32.307Z] $ docker stop --time=1 17dfe3ff7ad1d99ab89234f00f7a4453c21f8f5b2300310ffbfd3c5859722fc8 [2021-11-17T09:16:33.974Z] $ docker rm -f 17dfe3ff7ad1d99ab89234f00f7a4453c21f8f5b2300310ffbfd3c5859722fc8 [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-17T09:16:34.697Z] provisioning config files... [2021-11-17T09:16:34.710Z] copy managed file [device-rest-go-codecov-token] to file:/w/workspace/gexfoundry_device-rest-go_PR-146@tmp/config4789800957308045642tmp [Pipeline] { [Pipeline] sh [2021-11-17T09:16:35.014Z] + set +x [2021-11-17T09:16:35.014Z] + curl -s https://codecov.io/bash [2021-11-17T09:16:35.014Z] + bash -s -- [2021-11-17T09:16:35.014Z] [2021-11-17T09:16:35.014Z] _____ _ [2021-11-17T09:16:35.014Z] / ____| | | [2021-11-17T09:16:35.014Z] | | ___ __| | ___ ___ _____ __ [2021-11-17T09:16:35.014Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2021-11-17T09:16:35.014Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2021-11-17T09:16:35.014Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2021-11-17T09:16:35.014Z] Bash-1.0.6 [2021-11-17T09:16:35.014Z] [2021-11-17T09:16:35.014Z] [2021-11-17T09:16:35.014Z] ==> git version 2.24.4 found [2021-11-17T09:16:35.014Z] ==> 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-17T09:16:35.014Z] Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtsp scp sftp smtp smtps telnet tftp [2021-11-17T09:16:35.014Z] Features: AsynchDNS GSS-Negotiate IDN IPv6 Largefile NTLM NTLM_WB SSL libz unix-sockets [2021-11-17T09:16:35.014Z] ==> Jenkins CI detected. [2021-11-17T09:16:35.014Z] current dir:  /w/workspace/gexfoundry_device-rest-go_PR-146 [2021-11-17T09:16:35.014Z] project root: . [2021-11-17T09:16:35.014Z] --> token set from env [2021-11-17T09:16:35.014Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2021-11-17T09:16:35.014Z] ==> Running gcov in . (disable via -X gcov) [2021-11-17T09:16:35.014Z] ==> Python coveragepy not found [2021-11-17T09:16:35.014Z] ==> Searching for coverage reports in: [2021-11-17T09:16:35.014Z] + . [2021-11-17T09:16:35.276Z] -> Found 1 reports [2021-11-17T09:16:35.276Z] ==> Detecting git/mercurial file structure [2021-11-17T09:16:35.276Z] ==> Reading reports [2021-11-17T09:16:35.276Z] + ./coverage.out bytes=9215 [2021-11-17T09:16:35.276Z] ==> Appending adjustments [2021-11-17T09:16:35.276Z] https://docs.codecov.io/docs/fixing-reports [2021-11-17T09:16:35.276Z] + Found adjustments [2021-11-17T09:16:35.276Z] ==> Gzipping contents [2021-11-17T09:16:35.276Z] 4.0K /tmp/codecov.eigagc.gz [2021-11-17T09:16:35.276Z] ==> Uploading reports [2021-11-17T09:16:35.276Z] url: https://codecov.io [2021-11-17T09:16:35.276Z] query: branch=PR-146&commit=ae9526dcd376c8b43b4b87defde3e416751ee266&build=2&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-rest-go%2Fjob%2FPR-146%2F2%2F&name=&tag=&slug=edgexfoundry%2Fdevice-rest-go&service=jenkins&flags=&pr=146&job=&cmd_args= [2021-11-17T09:16:35.276Z] -> Pinging Codecov [2021-11-17T09:16:35.276Z] 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=ae9526dcd376c8b43b4b87defde3e416751ee266&build=2&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-rest-go%2Fjob%2FPR-146%2F2%2F&name=&tag=&slug=edgexfoundry%2Fdevice-rest-go&service=jenkins&flags=&pr=146&job=&cmd_args= [2021-11-17T09:16:35.538Z] -> Uploading to [2021-11-17T09:16:35.538Z] https://storage.googleapis.com/codecov/v4/raw/2021-11-17/4E5D53B4F1F92C436F7061BF334D961C/ae9526dcd376c8b43b4b87defde3e416751ee266/c32ac8f3-c5a4-4dd8-abbd-88b1ebfa5e17.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EKKHVKCKHW7KBCGM7IHR55T63V2PAVJWLVFNITJHDU5G6R5IRN3LMWJA%2F20211117%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20211117T091635Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=dbb7ce90e8636a8c5dbcae8f2fe27e2567eae74bb2ceec6ed0a83f09e61a8227 [2021-11-17T09:16:35.538Z] % Total % Received % Xferd Average Speed Time Time Time Current [2021-11-17T09:16:35.538Z] Dload Upload Total Spent Left Speed [2021-11-17T09:16:35.801Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 1805 0 0 100 1805 0 6056 --:--:-- --:--:-- --:--:-- 6077 [2021-11-17T09:16:35.801Z] -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/device-rest-go/commit/ae9526dcd376c8b43b4b87defde3e416751ee266 [Pipeline] } [2021-11-17T09:16:35.809Z] 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-17T09:16:37.073Z] + '[' -d /w/workspace/gexfoundry_device-rest-go_PR-146/archives ']' [Pipeline] libraryResource [Pipeline] sh [2021-11-17T09:16:37.372Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2021-11-17T09:16:37.939Z] ---> package-listing.sh [2021-11-17T09:16:37.939Z] ++ tr '[:upper:]' '[:lower:]' [2021-11-17T09:16:37.939Z] ++ facter osfamily [2021-11-17T09:16:38.200Z] + OS_FAMILY=redhat [2021-11-17T09:16:38.200Z] + workspace=/w/workspace/gexfoundry_device-rest-go_PR-146 [2021-11-17T09:16:38.200Z] + START_PACKAGES=/tmp/packages_start.txt [2021-11-17T09:16:38.200Z] + END_PACKAGES=/tmp/packages_end.txt [2021-11-17T09:16:38.200Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2021-11-17T09:16:38.200Z] + PACKAGES=/tmp/packages_start.txt [2021-11-17T09:16:38.200Z] + '[' /w/workspace/gexfoundry_device-rest-go_PR-146 ']' [2021-11-17T09:16:38.200Z] + PACKAGES=/tmp/packages_end.txt [2021-11-17T09:16:38.200Z] + case "${OS_FAMILY}" in [2021-11-17T09:16:38.200Z] + rpm -qa [2021-11-17T09:16:38.200Z] + sort [2021-11-17T09:16:38.787Z] + '[' -f /tmp/packages_start.txt ']' [2021-11-17T09:16:38.787Z] + '[' -f /tmp/packages_end.txt ']' [2021-11-17T09:16:38.787Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2021-11-17T09:16:38.787Z] + '[' /w/workspace/gexfoundry_device-rest-go_PR-146 ']' [2021-11-17T09:16:38.787Z] + mkdir -p /w/workspace/gexfoundry_device-rest-go_PR-146/archives/ [2021-11-17T09:16:38.787Z] + 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-17T09:16:38.798Z] 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-17T09:16:39.080Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] sh [2021-11-17T09:16:39.640Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2021-11-17T09:16:39.640Z] [2021-11-17T09:16:39.640Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] sh [2021-11-17T09:16:39.951Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2021-11-17T09:16:39.951Z] latest: Pulling from edgex-lftools-log-publisher [2021-11-17T09:16:39.951Z] b4d181a07f80: Pulling fs layer [2021-11-17T09:16:39.951Z] a1111a8f2ec3: Pulling fs layer [2021-11-17T09:16:39.951Z] ed53099fbce6: Pulling fs layer [2021-11-17T09:16:39.951Z] dc539afda2c1: Pulling fs layer [2021-11-17T09:16:39.951Z] 77bc0d833cb6: Pulling fs layer [2021-11-17T09:16:39.951Z] 9065ff56babe: Pulling fs layer [2021-11-17T09:16:39.951Z] d287ab97295c: Pulling fs layer [2021-11-17T09:16:39.951Z] dc539afda2c1: Waiting [2021-11-17T09:16:39.951Z] 77bc0d833cb6: Waiting [2021-11-17T09:16:39.951Z] 9065ff56babe: Waiting [2021-11-17T09:16:39.951Z] d287ab97295c: Waiting [2021-11-17T09:16:39.951Z] a1111a8f2ec3: Verifying Checksum [2021-11-17T09:16:39.951Z] a1111a8f2ec3: Download complete [2021-11-17T09:16:39.951Z] dc539afda2c1: Verifying Checksum [2021-11-17T09:16:39.951Z] dc539afda2c1: Download complete [2021-11-17T09:16:39.951Z] ed53099fbce6: Verifying Checksum [2021-11-17T09:16:39.951Z] ed53099fbce6: Download complete [2021-11-17T09:16:39.951Z] 9065ff56babe: Verifying Checksum [2021-11-17T09:16:39.951Z] 9065ff56babe: Download complete [2021-11-17T09:16:40.216Z] 77bc0d833cb6: Verifying Checksum [2021-11-17T09:16:40.216Z] 77bc0d833cb6: Download complete [2021-11-17T09:16:40.216Z] b4d181a07f80: Verifying Checksum [2021-11-17T09:16:40.216Z] b4d181a07f80: Download complete [2021-11-17T09:16:40.801Z] d287ab97295c: Verifying Checksum [2021-11-17T09:16:40.802Z] d287ab97295c: Download complete [2021-11-17T09:16:41.755Z] b4d181a07f80: Pull complete [2021-11-17T09:16:41.755Z] a1111a8f2ec3: Pull complete [2021-11-17T09:16:42.326Z] ed53099fbce6: Pull complete [2021-11-17T09:16:42.590Z] dc539afda2c1: Pull complete [2021-11-17T09:16:42.852Z] 77bc0d833cb6: Pull complete [2021-11-17T09:16:42.852Z] 9065ff56babe: Pull complete [2021-11-17T09:16:48.223Z] d287ab97295c: Pull complete [2021-11-17T09:16:48.223Z] Digest: sha256:0c69325c24349bfb3ea32a3c3cbcab1fb66df42c981276dd8ebcf6aa441257c4 [2021-11-17T09:16:48.223Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2021-11-17T09:16:48.223Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] withDockerContainer [2021-11-17T09:16:48.286Z] prd-centos7-docker-4c-2g-931 does not seem to be running inside a container [2021-11-17T09:16:48.323Z] $ 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-17T09:16:50.876Z] $ docker top 91473506158d821ceaca097347e288edf8b2ff54cabd94626280d57ffcc060dc -eo pid,comm [Pipeline] { [Pipeline] sh [2021-11-17T09:16:51.237Z] + touch /tmp/pre-build-complete [Pipeline] sh [2021-11-17T09:16:51.531Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2021-11-17T09:16:51.830Z] + ls /var/log/sa-host [2021-11-17T09:16:51.831Z] + sadf -c /var/log/sa-host/sa17 [2021-11-17T09:16:51.831Z] file_magic: OK [2021-11-17T09:16:51.831Z] HZ: Using current value: 100 [2021-11-17T09:16:51.831Z] file_header: OK [2021-11-17T09:16:51.831Z] 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-17T09:16:51.831Z] Statistics: [2021-11-17T09:16:51.831Z] HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... [2021-11-17T09:16:51.831Z] File successfully converted to sysstat format version 12.0.3 [2021-11-17T09:16:51.831Z] + sadf -c /var/log/sa-host/sa30 [2021-11-17T09:16:51.831Z] file_magic: OK [2021-11-17T09:16:51.831Z] HZ: Using current value: 100 [2021-11-17T09:16:51.831Z] file_header: OK [2021-11-17T09:16:51.831Z] 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-17T09:16:51.831Z] Statistics: [2021-11-17T09:16:51.831Z] Hnuu...uuuununununu...Hnuu...uuuununununu... [2021-11-17T09:16:51.831Z] File successfully converted to sysstat format version 12.0.3 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-11-17T09:16:52.073Z] provisioning config files... [2021-11-17T09:16:52.084Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-rest-go_PR-146@tmp/config8372059276307548997tmp [Pipeline] { [Pipeline] echo [2021-11-17T09:16:52.104Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2021-11-17T09:16:52.399Z] ---> create-netrc.sh [Pipeline] } [2021-11-17T09:16:52.408Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2021-11-17T09:16:52.763Z] ---> python-tools-install.sh [Pipeline] echo [2021-11-17T09:16:52.773Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2021-11-17T09:16:53.066Z] ---> sudo-logs.sh [2021-11-17T09:16:53.066Z] Archiving 'sudo' log.. [2021-11-17T09:16:53.066Z] sudo: unable to resolve host prd-centos7-docker-4c-2g-931.novalocal: Name or service not known [2021-11-17T09:16:53.066Z] sudo: unable to resolve host prd-centos7-docker-4c-2g-931.novalocal: Name or service not known [Pipeline] unstash [Pipeline] echo [2021-11-17T09:16:53.087Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2021-11-17T09:16:53.379Z] ---> job-cost.sh [2021-11-17T09:16:53.379Z] lf-activate-venv: SKIPPING [2021-11-17T09:16:53.379Z] DEBUG: total: 0.10999999940395355 [2021-11-17T09:16:53.379Z] INFO: Retrieving Stack Cost... [2021-11-17T09:16:53.639Z] INFO: Retrieving Pricing Info for: v3-standard-2 [2021-11-17T09:16:53.899Z] INFO: Archiving Costs [Pipeline] echo [2021-11-17T09:16:53.913Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2021-11-17T09:16:54.216Z] ---> logs-deploy.sh [2021-11-17T09:16:54.216Z] lf-activate-venv: SKIPPING [2021-11-17T09:16:54.216Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-rest-go/PR-146/2 [2021-11-17T09:16:54.216Z] INFO: archiving workspace using pattern(s): [2021-11-17T09:16:54.789Z] Archives upload complete. [2021-11-17T09:16:55.052Z] INFO: archiving logs to Nexus