Pull request #204 event Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from bfb0a2ba682bc9e23f4c8d8e0cfb2d8556a057c7+328f14cd4e0e2f12280e28257e4d0d1118a94cd7 (f3431a9723ec42dba3e7bdb1d524b51bb3dd1e99) 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-ssh14674575553212385869.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 2c7614b56cb57ece5b5bdf52d827492071d4cc62 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-ssh2276940829687618331.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 2c7614b56cb57ece5b5bdf52d827492071d4cc62 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-204/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82/.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-204/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh16880463066909200927.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 2c7614b56cb57ece5b5bdf52d827492071d4cc62 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 2c7614b56cb57ece5b5bdf52d827492071d4cc62 # timeout=10 Commit message: "Merge pull request #399 from ernestojeda/fix-go-mod-version" > 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 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-ssh4930347151640567533.key > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision 0f180ed1236c637af8c254f95ad106931cc77145 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-204/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e/.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-204/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh5608361746672885820.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision 0f180ed1236c637af8c254f95ad106931cc77145 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 0f180ed1236c637af8c254f95ad106931cc77145 # timeout=10 Commit message: "Feat: Add initial docker pipelines" > 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 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: [[ubuntu20.04-docker-8c-8g, ubuntu20.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.17 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 SNYK_DEBUG: false [Pipeline] node Still waiting to schedule task ‘prd-centos7-blackbox-4c-2g-17291’ doesn’t have label ‘ubuntu20.04-docker-8c-8g’ ‘prd-centos7-blackbox-4c-2g-17292’ doesn’t have label ‘ubuntu20.04-docker-8c-8g’ ‘prd-ubuntu18.04-docker-8c-8g-17265’ doesn’t have label ‘ubuntu20.04-docker-8c-8g’ ‘prd-ubuntu20.04-docker-8c-8g-17428’ is offline ‘prd-ubuntu20.04-docker-arm64-4c-16g-17425’ doesn’t have label ‘ubuntu20.04-docker-8c-8g’ Running on prd-ubuntu20.04-docker-8c-8g-18876 in /w/workspace/gexfoundry_device-rest-go_PR-204 [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-204 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git > git --version # timeout=10 > git --version # 'git version 2.25.1' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Merging remotes/origin/main commit 328f14cd4e0e2f12280e28257e4d0d1118a94cd7 into PR head commit bfb0a2ba682bc9e23f4c8d8e0cfb2d8556a057c7 Merge succeeded, producing bfb0a2ba682bc9e23f4c8d8e0cfb2d8556a057c7 Checking out Revision bfb0a2ba682bc9e23f4c8d8e0cfb2d8556a057c7 (PR-204) > 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 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/pull/204/head:refs/remotes/origin/PR-204 +refs/heads/main:refs/remotes/origin/main # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f bfb0a2ba682bc9e23f4c8d8e0cfb2d8556a057c7 # timeout=10 > git remote # timeout=10 > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub > git merge 328f14cd4e0e2f12280e28257e4d0d1118a94cd7 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f bfb0a2ba682bc9e23f4c8d8e0cfb2d8556a057c7 # timeout=10 Commit message: "build(deps): Bump github.com/stretchr/testify from 1.7.5 to 1.8.0" First time build. Skipping changelog. > git rev-list --no-walk ae5d4addc5192118c6d8030eceebce9039fedc35 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2022-07-11T17:03:22.092Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2022-07-11T17:03:22.139Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2022-07-11T17:03:22.153Z] ========================================================= [2022-07-11T17:03:22.153Z] EdgeX Global Pipelines Version Info [2022-07-11T17:03:22.153Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2022-07-11T17:03:22.977Z] ------------------- [2022-07-11T17:03:22.977Z] stable info: [2022-07-11T17:03:22.977Z] ------------------- [2022-07-11T17:03:22.977Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2022-07-11T17:03:22.977Z] Commit SHA: 2c7614b56cb57ece5b5bdf52d827492071d4cc62 [2022-07-11T17:03:22.977Z] Message: update stable to v1.0.234 [2022-07-11T17:03:23.575Z] ------------------- [2022-07-11T17:03:23.576Z] experimental info: [2022-07-11T17:03:23.576Z] ------------------- [2022-07-11T17:03:23.576Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2022-07-11T17:03:23.576Z] Commit SHA: 7e4371ac6d730b8e642184b898413c6ef59a5643 [2022-07-11T17:03:23.576Z] Message: update experimental to v1.0.236 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2022-07-11T17:03:24.021Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-rest-go-settings [Pipeline] echo [2022-07-11T17:03:24.037Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-rest-go [Pipeline] echo [2022-07-11T17:03:24.053Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2022-07-11T17:03:24.067Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2022-07-11T17:03:24.078Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2022-07-11T17:03:24.088Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.17 [Pipeline] echo [2022-07-11T17:03:24.100Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2022-07-11T17:03:24.113Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2022-07-11T17:03:24.123Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2022-07-11T17:03:24.147Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2022-07-11T17:03:24.165Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2022-07-11T17:03:24.182Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-rest [Pipeline] echo [2022-07-11T17:03:24.194Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2022-07-11T17:03:24.209Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2022-07-11T17:03:24.226Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2022-07-11T17:03:24.245Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2022-07-11T17:03:24.262Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2022-07-11T17:03:24.281Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2022-07-11T17:03:24.292Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2022-07-11T17:03:24.306Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2022-07-11T17:03:24.320Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2022-07-11T17:03:24.330Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2022-07-11T17:03:24.343Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2022-07-11T17:03:24.354Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2022-07-11T17:03:24.365Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2022-07-11T17:03:24.378Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2022-07-11T17:03:24.389Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2022-07-11T17:03:24.400Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-204 [Pipeline] echo [2022-07-11T17:03:24.413Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-204 [Pipeline] echo [2022-07-11T17:03:24.424Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-204 [Pipeline] echo [2022-07-11T17:03:24.435Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = bfb0a2ba682bc9e23f4c8d8e0cfb2d8556a057c7 [Pipeline] echo [2022-07-11T17:03:24.447Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = bfb0a2b [Pipeline] echo [2022-07-11T17:03:24.458Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-07-11T17:03:24.494Z] provisioning config files... [2022-07-11T17:03:24.518Z] copy managed file [device-rest-go-settings] to file:/w/workspace/gexfoundry_device-rest-go_PR-204@tmp/config2588889849223381052tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-07-11T17:03:24.828Z] ---> docker-login.sh [2022-07-11T17:03:24.828Z] nexus3.edgexfoundry.org:10001 [2022-07-11T17:03:25.092Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-07-11T17:03:25.092Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-07-11T17:03:25.092Z] Configure a credential helper to remove this warning. See [2022-07-11T17:03:25.092Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-07-11T17:03:25.092Z] [2022-07-11T17:03:25.092Z] Login Succeeded [2022-07-11T17:03:25.092Z] nexus3.edgexfoundry.org:10002 [2022-07-11T17:03:25.092Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-07-11T17:03:25.352Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-07-11T17:03:25.352Z] Configure a credential helper to remove this warning. See [2022-07-11T17:03:25.352Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-07-11T17:03:25.352Z] [2022-07-11T17:03:25.352Z] Login Succeeded [2022-07-11T17:03:25.352Z] nexus3.edgexfoundry.org:10003 [2022-07-11T17:03:25.352Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-07-11T17:03:25.352Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-07-11T17:03:25.352Z] Configure a credential helper to remove this warning. See [2022-07-11T17:03:25.352Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-07-11T17:03:25.352Z] [2022-07-11T17:03:25.352Z] Login Succeeded [2022-07-11T17:03:25.352Z] nexus3.edgexfoundry.org:10004 [2022-07-11T17:03:25.623Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-07-11T17:03:25.623Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-07-11T17:03:25.623Z] Configure a credential helper to remove this warning. See [2022-07-11T17:03:25.623Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-07-11T17:03:25.623Z] [2022-07-11T17:03:25.623Z] Login Succeeded [2022-07-11T17:03:25.623Z] docker.io [2022-07-11T17:03:25.623Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-07-11T17:03:26.213Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-07-11T17:03:26.213Z] Configure a credential helper to remove this warning. See [2022-07-11T17:03:26.213Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-07-11T17:03:26.213Z] [2022-07-11T17:03:26.213Z] Login Succeeded [2022-07-11T17:03:26.213Z] ---> docker-login.sh ends [Pipeline] } [2022-07-11T17:03:26.226Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2022-07-11T17:03:26.582Z] + git rev-list -1 --merges bfb0a2ba682bc9e23f4c8d8e0cfb2d8556a057c7~1..bfb0a2ba682bc9e23f4c8d8e0cfb2d8556a057c7 [Pipeline] echo [2022-07-11T17:03:26.628Z] -----------> git rev-list -1 --merges bfb0a2ba682bc9e23f4c8d8e0cfb2d8556a057c7~1..bfb0a2ba682bc9e23f4c8d8e0cfb2d8556a057c7 bfb0a2ba682bc9e23f4c8d8e0cfb2d8556a057c7 [false] [Pipeline] sh [2022-07-11T17:03:26.945Z] + git log --format=format:%s -1 bfb0a2ba682bc9e23f4c8d8e0cfb2d8556a057c7 [Pipeline] echo [2022-07-11T17:03:26.962Z] ========================================================= [2022-07-11T17:03:26.962Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2022-07-11T17:03:26.962Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-07-11T17:03:27.315Z] + git log --format=format:%s -1 bfb0a2ba682bc9e23f4c8d8e0cfb2d8556a057c7 [Pipeline] echo [2022-07-11T17:03:27.330Z] [semverPrep] GIT_COMMIT: bfb0a2ba682bc9e23f4c8d8e0cfb2d8556a057c7, Commit Message: build(deps): Bump github.com/stretchr/testify from 1.7.5 to 1.8.0 [Pipeline] echo [2022-07-11T17:03:27.339Z] [semverPrep] This is not a build commit. [Pipeline] sh [2022-07-11T17:03:27.705Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2022-07-11T17:03:27.705Z] + grep -v github /etc/ssh/ssh_known_hosts [2022-07-11T17:03:27.705Z] + [ -e /tmp/ssh_known_hosts ] [2022-07-11T17:03:27.705Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2022-07-11T17:03:27.705Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2022-07-11T17:03:27.705Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2022-07-11T17:03:27.705Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-07-11T17:03:28.092Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-07-11T17:03:28.092Z] [2022-07-11T17:03:28.092Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-07-11T17:03:28.409Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-07-11T17:03:36.598Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2022-07-11T17:03:36.598Z] b85a868b505f: Pulling fs layer [2022-07-11T17:03:36.598Z] e2be974225ed: Pulling fs layer [2022-07-11T17:03:36.598Z] 339a4e72a1f5: Pulling fs layer [2022-07-11T17:03:36.598Z] 988bab9f4d93: Pulling fs layer [2022-07-11T17:03:36.598Z] 1469e6f7b9e6: Pulling fs layer [2022-07-11T17:03:36.598Z] eaf3925da568: Pulling fs layer [2022-07-11T17:03:36.598Z] 988bab9f4d93: Waiting [2022-07-11T17:03:36.598Z] 1469e6f7b9e6: Waiting [2022-07-11T17:03:36.598Z] eaf3925da568: Waiting [2022-07-11T17:03:36.598Z] bab4dde63d76: Pulling fs layer [2022-07-11T17:03:36.598Z] bde34c3a00c8: Pulling fs layer [2022-07-11T17:03:36.598Z] b352a97aabf1: Pulling fs layer [2022-07-11T17:03:36.598Z] 4872d77fe225: Pulling fs layer [2022-07-11T17:03:36.598Z] 5851b861e8e6: Pulling fs layer [2022-07-11T17:03:36.598Z] bde34c3a00c8: Waiting [2022-07-11T17:03:36.598Z] b352a97aabf1: Waiting [2022-07-11T17:03:36.598Z] 5851b861e8e6: Waiting [2022-07-11T17:03:36.598Z] bab4dde63d76: Waiting [2022-07-11T17:03:36.598Z] 4872d77fe225: Waiting [2022-07-11T17:03:36.598Z] e2be974225ed: Verifying Checksum [2022-07-11T17:03:36.598Z] e2be974225ed: Download complete [2022-07-11T17:03:36.598Z] 988bab9f4d93: Verifying Checksum [2022-07-11T17:03:36.598Z] 988bab9f4d93: Download complete [2022-07-11T17:03:36.598Z] 1469e6f7b9e6: Verifying Checksum [2022-07-11T17:03:36.598Z] 1469e6f7b9e6: Download complete [2022-07-11T17:03:36.598Z] eaf3925da568: Verifying Checksum [2022-07-11T17:03:36.598Z] eaf3925da568: Download complete [2022-07-11T17:03:36.598Z] 339a4e72a1f5: Verifying Checksum [2022-07-11T17:03:36.598Z] 339a4e72a1f5: Download complete [2022-07-11T17:03:36.598Z] bde34c3a00c8: Verifying Checksum [2022-07-11T17:03:36.598Z] bde34c3a00c8: Download complete [2022-07-11T17:03:36.598Z] b352a97aabf1: Verifying Checksum [2022-07-11T17:03:36.598Z] b352a97aabf1: Download complete [2022-07-11T17:03:36.598Z] 4872d77fe225: Download complete [2022-07-11T17:03:36.598Z] 5851b861e8e6: Download complete [2022-07-11T17:03:36.598Z] b85a868b505f: Verifying Checksum [2022-07-11T17:03:36.598Z] b85a868b505f: Download complete [2022-07-11T17:03:36.598Z] bab4dde63d76: Verifying Checksum [2022-07-11T17:03:36.598Z] bab4dde63d76: Download complete [2022-07-11T17:03:37.134Z] b85a868b505f: Pull complete [2022-07-11T17:03:37.396Z] e2be974225ed: Pull complete [2022-07-11T17:03:37.965Z] 339a4e72a1f5: Pull complete [2022-07-11T17:03:37.965Z] 988bab9f4d93: Pull complete [2022-07-11T17:03:38.225Z] 1469e6f7b9e6: Pull complete [2022-07-11T17:03:38.225Z] eaf3925da568: Pull complete [2022-07-11T17:03:40.153Z] bab4dde63d76: Pull complete [2022-07-11T17:03:40.153Z] bde34c3a00c8: Pull complete [2022-07-11T17:03:40.414Z] b352a97aabf1: Pull complete [2022-07-11T17:03:40.414Z] 4872d77fe225: Pull complete [2022-07-11T17:03:40.414Z] 5851b861e8e6: Pull complete [2022-07-11T17:03:40.414Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2022-07-11T17:03:40.414Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-07-11T17:03:40.414Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-07-11T17:03:40.520Z] prd-ubuntu20.04-docker-8c-8g-18876 does not seem to be running inside a container [2022-07-11T17:03:40.576Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-rest-go_PR-204 -v /w/workspace/gexfoundry_device-rest-go_PR-204:/w/workspace/gexfoundry_device-rest-go_PR-204:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-204@tmp:/w/workspace/gexfoundry_device-rest-go_PR-204@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2022-07-11T17:03:42.274Z] $ docker top a667d4fca05edd5ccf10d3350dcd3f55708b0e86b1aaef21cdad40ef5296dc86 -eo pid,comm [2022-07-11T17:03:42.335Z] ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). [2022-07-11T17:03:42.335Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2022-07-11T17:03:42.372Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-07-11T17:03:42.372Z] [ssh-agent] Looking for ssh-agent implementation... [2022-07-11T17:03:42.502Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-07-11T17:03:42.509Z] $ docker exec a667d4fca05edd5ccf10d3350dcd3f55708b0e86b1aaef21cdad40ef5296dc86 ssh-agent [2022-07-11T17:03:42.627Z] SSH_AUTH_SOCK=/tmp/ssh-pLTfSOReIsWo/agent.32 [2022-07-11T17:03:42.627Z] SSH_AGENT_PID=39 [2022-07-11T17:03:42.634Z] Running ssh-add (command line suppressed) [2022-07-11T17:03:42.743Z] Identity added: /w/workspace/gexfoundry_device-rest-go_PR-204@tmp/private_key_4650219635521109752.key (/w/workspace/gexfoundry_device-rest-go_PR-204@tmp/private_key_4650219635521109752.key) [2022-07-11T17:03:42.767Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-07-11T17:03:43.063Z] + git tag --points-at HEAD [Pipeline] } [2022-07-11T17:03:43.080Z] $ docker exec --env ******** --env ******** a667d4fca05edd5ccf10d3350dcd3f55708b0e86b1aaef21cdad40ef5296dc86 ssh-agent -k [2022-07-11T17:03:43.198Z] unset SSH_AUTH_SOCK; [2022-07-11T17:03:43.198Z] unset SSH_AGENT_PID; [2022-07-11T17:03:43.198Z] echo Agent pid 39 killed; [2022-07-11T17:03:43.207Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2022-07-11T17:03:43.235Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-07-11T17:03:43.235Z] [ssh-agent] Looking for ssh-agent implementation... [2022-07-11T17:03:43.355Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-07-11T17:03:43.360Z] $ docker exec a667d4fca05edd5ccf10d3350dcd3f55708b0e86b1aaef21cdad40ef5296dc86 ssh-agent [2022-07-11T17:03:43.485Z] SSH_AUTH_SOCK=/tmp/ssh-DqZVqncMtVlN/agent.73 [2022-07-11T17:03:43.485Z] SSH_AGENT_PID=79 [2022-07-11T17:03:43.493Z] Running ssh-add (command line suppressed) [2022-07-11T17:03:43.620Z] Identity added: /w/workspace/gexfoundry_device-rest-go_PR-204@tmp/private_key_6351125059057119341.key (/w/workspace/gexfoundry_device-rest-go_PR-204@tmp/private_key_6351125059057119341.key) [2022-07-11T17:03:43.634Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-07-11T17:03:43.935Z] + git semver init [2022-07-11T17:03:44.198Z] 2022-07-11 17:03:44,127 [run_init] DEBUG init version:0.0.0 force:False [2022-07-11T17:03:44.198Z] 2022-07-11 17:03:44,128 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/gexfoundry_device-rest-go_PR-204/.semver [2022-07-11T17:03:44.198Z] 2022-07-11 17:03:44,128 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-rest-go.git /w/workspace/gexfoundry_device-rest-go_PR-204/.semver [2022-07-11T17:03:44.198Z] 2022-07-11 17:03:44,129 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-rest-go.git', '/w/workspace/gexfoundry_device-rest-go_PR-204/.semver'], cwd=/w/workspace/gexfoundry_device-rest-go_PR-204, universal_newlines=False, shell=None, istream=None) [2022-07-11T17:03:45.143Z] 2022-07-11 17:03:45,067 [append_file] DEBUG append to file:/w/workspace/gexfoundry_device-rest-go_PR-204/.git/info/exclude [2022-07-11T17:03:45.143Z] 2022-07-11 17:03:45,068 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/gexfoundry_device-rest-go_PR-204/.semver/PR-204 with force:False [2022-07-11T17:03:45.143Z] 2022-07-11 17:03:45,068 [write_file] DEBUG write to file:/w/workspace/gexfoundry_device-rest-go_PR-204/.semver/PR-204 [2022-07-11T17:03:45.143Z] 2022-07-11 17:03:45,072 [execute] INFO git cat-file --batch-check [2022-07-11T17:03:45.143Z] 2022-07-11 17:03:45,073 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/gexfoundry_device-rest-go_PR-204/.semver, universal_newlines=False, shell=None, istream=) [2022-07-11T17:03:45.143Z] 2022-07-11 17:03:45,078 [execute] INFO git cat-file --batch [2022-07-11T17:03:45.143Z] 2022-07-11 17:03:45,078 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/gexfoundry_device-rest-go_PR-204/.semver, universal_newlines=False, shell=None, istream=) [2022-07-11T17:03:45.143Z] 2022-07-11 17:03:45,082 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-rest-go_PR-204/.semver/PR-204 [2022-07-11T17:03:45.143Z] 0.0.0 [Pipeline] } [2022-07-11T17:03:45.161Z] $ docker exec --env ******** --env ******** a667d4fca05edd5ccf10d3350dcd3f55708b0e86b1aaef21cdad40ef5296dc86 ssh-agent -k [2022-07-11T17:03:45.267Z] unset SSH_AUTH_SOCK; [2022-07-11T17:03:45.267Z] unset SSH_AGENT_PID; [2022-07-11T17:03:45.267Z] echo Agent pid 79 killed; [2022-07-11T17:03:45.274Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2022-07-11T17:03:45.612Z] + git semver [Pipeline] } [2022-07-11T17:03:45.892Z] $ docker stop --time=1 a667d4fca05edd5ccf10d3350dcd3f55708b0e86b1aaef21cdad40ef5296dc86 [2022-07-11T17:03:47.399Z] $ docker rm -f a667d4fca05edd5ccf10d3350dcd3f55708b0e86b1aaef21cdad40ef5296dc86 [Pipeline] // withDockerContainer [Pipeline] sh [2022-07-11T17:03:47.760Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2022-07-11T17:03:48.031Z] Stashed 1 file(s) [Pipeline] echo [2022-07-11T17:03:48.032Z] [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] withEnv [Pipeline] { [Pipeline] node [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-07-11T17:03:48.167Z] provisioning config files... [2022-07-11T17:03:48.178Z] copy managed file [device-rest-go-settings] to file:/w/workspace/gexfoundry_device-rest-go_PR-204@tmp/config7160871936474885106tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-07-11T17:03:48.491Z] ---> docker-login.sh [2022-07-11T17:03:48.491Z] nexus3.edgexfoundry.org:10001 [2022-07-11T17:03:48.491Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-07-11T17:03:48.491Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-07-11T17:03:48.491Z] Configure a credential helper to remove this warning. See [2022-07-11T17:03:48.491Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-07-11T17:03:48.491Z] [2022-07-11T17:03:48.491Z] Login Succeeded [2022-07-11T17:03:48.491Z] nexus3.edgexfoundry.org:10002 [2022-07-11T17:03:48.491Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-07-11T17:03:48.752Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-07-11T17:03:48.752Z] Configure a credential helper to remove this warning. See [2022-07-11T17:03:48.752Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-07-11T17:03:48.752Z] [2022-07-11T17:03:48.752Z] Login Succeeded [2022-07-11T17:03:48.752Z] nexus3.edgexfoundry.org:10003 [2022-07-11T17:03:48.752Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-07-11T17:03:48.752Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-07-11T17:03:48.752Z] Configure a credential helper to remove this warning. See [2022-07-11T17:03:48.752Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-07-11T17:03:48.752Z] [2022-07-11T17:03:48.752Z] Login Succeeded [2022-07-11T17:03:48.752Z] nexus3.edgexfoundry.org:10004 [2022-07-11T17:03:48.752Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-07-11T17:03:49.011Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-07-11T17:03:49.011Z] Configure a credential helper to remove this warning. See [2022-07-11T17:03:49.011Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-07-11T17:03:49.011Z] [2022-07-11T17:03:49.011Z] Login Succeeded [2022-07-11T17:03:49.011Z] docker.io [2022-07-11T17:03:49.011Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-07-11T17:03:49.272Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-07-11T17:03:49.272Z] Configure a credential helper to remove this warning. See [2022-07-11T17:03:49.272Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-07-11T17:03:49.272Z] [2022-07-11T17:03:49.272Z] Login Succeeded [2022-07-11T17:03:49.272Z] ---> docker-login.sh ends [Pipeline] } [2022-07-11T17:03:49.282Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-07-11T17:03:49.351Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-07-11T17:03:49.365Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-07-11T17:03:49.371Z] ========================================================= [2022-07-11T17:03:49.371Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine] [2022-07-11T17:03:49.371Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-07-11T17:03:49.688Z] + docker build -t ci-base-image-x86_64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine --build-arg MAKE=echo noop --target=builder . [2022-07-11T17:03:49.688Z] Sending build context to Docker daemon 10.69MB [2022-07-11T17:03:49.688Z] Step 1/12 : ARG BASE=golang:1.18-alpine3.16 [2022-07-11T17:03:49.688Z] Step 2/12 : FROM ${BASE} AS builder [2022-07-11T17:03:49.688Z] 1.17-alpine: Pulling from edgex-devops/edgex-golang-base [2022-07-11T17:03:49.688Z] 59bf1c3509f3: Pulling fs layer [2022-07-11T17:03:49.688Z] 666ba61612fd: Pulling fs layer [2022-07-11T17:03:49.688Z] 8ed8ca486205: Pulling fs layer [2022-07-11T17:03:49.688Z] cc1cd167ecdc: Pulling fs layer [2022-07-11T17:03:49.688Z] c516ae0d96e1: Pulling fs layer [2022-07-11T17:03:49.688Z] 684cea983483: Pulling fs layer [2022-07-11T17:03:49.688Z] dd3240ac7de5: Pulling fs layer [2022-07-11T17:03:49.688Z] b1e948a4e11c: Pulling fs layer [2022-07-11T17:03:49.688Z] a8fd76ee1af6: Pulling fs layer [2022-07-11T17:03:49.688Z] 646ad004c059: Pulling fs layer [2022-07-11T17:03:49.688Z] dd3240ac7de5: Waiting [2022-07-11T17:03:49.688Z] c516ae0d96e1: Waiting [2022-07-11T17:03:49.688Z] 684cea983483: Waiting [2022-07-11T17:03:49.688Z] cc1cd167ecdc: Waiting [2022-07-11T17:03:49.688Z] 646ad004c059: Waiting [2022-07-11T17:03:49.688Z] b1e948a4e11c: Waiting [2022-07-11T17:03:49.688Z] 8ed8ca486205: Verifying Checksum [2022-07-11T17:03:49.688Z] 8ed8ca486205: Download complete [2022-07-11T17:03:49.688Z] 666ba61612fd: Verifying Checksum [2022-07-11T17:03:49.688Z] 666ba61612fd: Download complete [2022-07-11T17:03:49.953Z] c516ae0d96e1: Verifying Checksum [2022-07-11T17:03:49.953Z] c516ae0d96e1: Download complete [2022-07-11T17:03:49.953Z] 684cea983483: Download complete [2022-07-11T17:03:49.953Z] dd3240ac7de5: Verifying Checksum [2022-07-11T17:03:49.953Z] dd3240ac7de5: Download complete [2022-07-11T17:03:49.953Z] 59bf1c3509f3: Verifying Checksum [2022-07-11T17:03:49.953Z] 59bf1c3509f3: Download complete [2022-07-11T17:03:49.953Z] b1e948a4e11c: Download complete [2022-07-11T17:03:49.953Z] 59bf1c3509f3: Pull complete [2022-07-11T17:03:50.218Z] 666ba61612fd: Pull complete [2022-07-11T17:03:50.218Z] 8ed8ca486205: Pull complete [2022-07-11T17:03:50.483Z] 646ad004c059: Verifying Checksum [2022-07-11T17:03:50.483Z] 646ad004c059: Download complete [2022-07-11T17:03:50.744Z] cc1cd167ecdc: Verifying Checksum [2022-07-11T17:03:50.744Z] a8fd76ee1af6: Verifying Checksum [2022-07-11T17:03:50.744Z] a8fd76ee1af6: Download complete [2022-07-11T17:03:54.040Z] cc1cd167ecdc: Pull complete [2022-07-11T17:03:54.301Z] c516ae0d96e1: Pull complete [2022-07-11T17:03:54.301Z] 684cea983483: Pull complete [2022-07-11T17:03:54.301Z] dd3240ac7de5: Pull complete [2022-07-11T17:03:54.561Z] b1e948a4e11c: Pull complete [2022-07-11T17:03:57.118Z] a8fd76ee1af6: Pull complete [2022-07-11T17:03:57.380Z] 646ad004c059: Pull complete [2022-07-11T17:03:57.380Z] Digest: sha256:bc8ce28cadebfaa099e5330588345fe90134e4027cf71364bfd2aff1e7ff8c16 [2022-07-11T17:03:57.380Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine [2022-07-11T17:03:57.380Z] ---> 8f69c11f6b0c [2022-07-11T17:03:57.380Z] Step 3/12 : ARG MAKE='make build' [2022-07-11T17:03:59.304Z] ---> Running in 8d3c670fe1d8 [2022-07-11T17:03:59.570Z] Removing intermediate container 8d3c670fe1d8 [2022-07-11T17:03:59.570Z] ---> ca8a9f30cfeb [2022-07-11T17:03:59.570Z] Step 4/12 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2022-07-11T17:03:59.570Z] ---> Running in 9dc7c76857fd [2022-07-11T17:03:59.570Z] Removing intermediate container 9dc7c76857fd [2022-07-11T17:03:59.570Z] ---> 703d101033cb [2022-07-11T17:03:59.570Z] Step 5/12 : ARG ALPINE_PKG_EXTRA="" [2022-07-11T17:03:59.831Z] ---> Running in bdb29ea321a2 [2022-07-11T17:03:59.831Z] Removing intermediate container bdb29ea321a2 [2022-07-11T17:03:59.832Z] ---> bdebe3e38518 [2022-07-11T17:03:59.832Z] Step 6/12 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-07-11T17:03:59.832Z] ---> Running in fa222111feb8 [2022-07-11T17:04:00.402Z] Removing intermediate container fa222111feb8 [2022-07-11T17:04:00.402Z] ---> 24b0815f01de [2022-07-11T17:04:00.402Z] Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-07-11T17:04:00.402Z] ---> Running in 629b4298ec1d [2022-07-11T17:04:00.976Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz [2022-07-11T17:04:01.543Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz [2022-07-11T17:04:02.122Z] (1/4) Installing openssh-keygen (8.8_p1-r1) [2022-07-11T17:04:02.383Z] (2/4) Installing libedit (20210910.3.1-r0) [2022-07-11T17:04:03.139Z] Still waiting to schedule task [2022-07-11T17:04:03.139Z] All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline [2022-07-11T17:04:03.339Z] (3/4) Installing openssh-client-common (8.8_p1-r1) [2022-07-11T17:04:04.296Z] (4/4) Installing openssh-client-default (8.8_p1-r1) [2022-07-11T17:04:04.559Z] Executing busybox-1.34.1-r3.trigger [2022-07-11T17:04:04.559Z] OK: 224 MiB in 56 packages [2022-07-11T17:04:05.139Z] Removing intermediate container 629b4298ec1d [2022-07-11T17:04:05.139Z] ---> 866c471143bc [2022-07-11T17:04:05.139Z] Step 8/12 : WORKDIR /device-rest-go [2022-07-11T17:04:05.401Z] ---> Running in a9db0e707c5c [2022-07-11T17:04:05.661Z] Removing intermediate container a9db0e707c5c [2022-07-11T17:04:05.661Z] ---> 64eb08369371 [2022-07-11T17:04:05.661Z] Step 9/12 : COPY go.mod vendor* ./ [2022-07-11T17:04:05.661Z] ---> dc9201775e17 [2022-07-11T17:04:05.661Z] Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-07-11T17:04:05.661Z] ---> Running in 959a77031529 [2022-07-11T17:04:23.781Z] Removing intermediate container 959a77031529 [2022-07-11T17:04:23.781Z] ---> 65a71dc7a896 [2022-07-11T17:04:23.781Z] Step 11/12 : COPY . . [2022-07-11T17:04:23.781Z] ---> 5841c676a4e5 [2022-07-11T17:04:23.781Z] Step 12/12 : RUN $MAKE [2022-07-11T17:04:23.781Z] ---> Running in 5532773858f0 [2022-07-11T17:04:23.781Z] noop [2022-07-11T17:04:23.781Z] Removing intermediate container 5532773858f0 [2022-07-11T17:04:23.781Z] ---> 19ff5f2618b1 [2022-07-11T17:04:23.781Z] Successfully built 19ff5f2618b1 [2022-07-11T17:04:23.781Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-07-11T17:04:24.104Z] + docker inspect -f . ci-base-image-x86_64 [2022-07-11T17:04:24.104Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-07-11T17:04:24.197Z] prd-ubuntu20.04-docker-8c-8g-18876 does not seem to be running inside a container [2022-07-11T17:04:24.235Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-rest-go_PR-204 -v /w/workspace/gexfoundry_device-rest-go_PR-204:/w/workspace/gexfoundry_device-rest-go_PR-204:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-204@tmp:/w/workspace/gexfoundry_device-rest-go_PR-204@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 ******** ci-base-image-x86_64 cat [2022-07-11T17:04:24.628Z] $ docker top d44dd5419147ac12d989b34c3bad1989dfa6d5cbb55d1f27fbfb120bd212adca -eo pid,comm [Pipeline] { [Pipeline] sh [2022-07-11T17:04:24.980Z] + go version [2022-07-11T17:04:24.980Z] go version go1.17.7 linux/amd64 [Pipeline] } [2022-07-11T17:04:24.996Z] $ docker stop --time=1 d44dd5419147ac12d989b34c3bad1989dfa6d5cbb55d1f27fbfb120bd212adca [2022-07-11T17:04:26.335Z] $ docker rm -f d44dd5419147ac12d989b34c3bad1989dfa6d5cbb55d1f27fbfb120bd212adca [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-07-11T17:04:26.832Z] + docker inspect -f . ci-base-image-x86_64 [2022-07-11T17:04:26.832Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-07-11T17:04:26.936Z] prd-ubuntu20.04-docker-8c-8g-18876 does not seem to be running inside a container [2022-07-11T17:04:26.978Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-rest-go_PR-204 -v /w/workspace/gexfoundry_device-rest-go_PR-204:/w/workspace/gexfoundry_device-rest-go_PR-204:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-204@tmp:/w/workspace/gexfoundry_device-rest-go_PR-204@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 ******** ci-base-image-x86_64 cat [2022-07-11T17:04:27.391Z] $ docker top 6db0549b538a89b020b7a41e9c05c183d329534400323137b249ab22c2e71b66 -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh [2022-07-11T17:04:27.765Z] + make test [2022-07-11T17:04:27.765Z] CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... [2022-07-11T17:04:28.023Z] ? github.com/edgexfoundry/device-rest-go [no test files] [2022-07-11T17:04:38.000Z] ? github.com/edgexfoundry/device-rest-go/cmd [no test files] [2022-07-11T17:04:38.000Z] ok github.com/edgexfoundry/device-rest-go/driver 0.016s coverage: 55.2% of statements [2022-07-11T17:04:43.277Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2022-07-11T17:04:47.476Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-07-11T17:04:47.476Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2022-07-11T17:04:47.476Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2022-07-11T17:04:47.490Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2022-07-11T17:04:47.507Z] $ docker stop --time=1 6db0549b538a89b020b7a41e9c05c183d329534400323137b249ab22c2e71b66 [2022-07-11T17:04:49.438Z] $ docker rm -f 6db0549b538a89b020b7a41e9c05c183d329534400323137b249ab22c2e71b66 [Pipeline] // withDockerContainer [Pipeline] sh [2022-07-11T17:04:49.879Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2022-07-11T17:04:49.912Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2022-07-11T17:04:50.339Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2022-07-11T17:04:50.633Z] + ls -al . [2022-07-11T17:04:50.633Z] total 172 [2022-07-11T17:04:50.633Z] drwxrwxr-x 9 jenkins jenkins 4096 Jul 11 17:04 . [2022-07-11T17:04:50.633Z] drwxrwxr-x 4 jenkins jenkins 4096 Jul 11 17:03 .. [2022-07-11T17:04:50.633Z] -rw-rw-r-- 1 jenkins jenkins 151 Jul 11 17:03 .dockerignore [2022-07-11T17:04:50.633Z] drwxrwxr-x 8 jenkins jenkins 4096 Jul 11 17:03 .git [2022-07-11T17:04:50.633Z] drwxrwxr-x 3 jenkins jenkins 4096 Jul 11 17:03 .github [2022-07-11T17:04:50.633Z] -rw-rw-r-- 1 jenkins jenkins 329 Jul 11 17:03 .gitignore [2022-07-11T17:04:50.633Z] -rw-rw-r-- 1 jenkins jenkins 41 Jul 11 17:03 .golangci.yml [2022-07-11T17:04:50.633Z] drwxr-xr-x 3 jenkins jenkins 4096 Jul 11 17:03 .semver [2022-07-11T17:04:50.633Z] -rw-rw-r-- 1 jenkins jenkins 8724 Jul 11 17:03 Attribution.txt [2022-07-11T17:04:50.633Z] -rw-rw-r-- 1 jenkins jenkins 11736 Jul 11 17:03 CHANGELOG.md [2022-07-11T17:04:50.633Z] -rw-rw-r-- 1 jenkins jenkins 1674 Jul 11 17:03 Dockerfile [2022-07-11T17:04:50.633Z] -rw-rw-r-- 1 jenkins jenkins 677 Jul 11 17:03 GOVERNANCE.md [2022-07-11T17:04:50.633Z] -rw-rw-r-- 1 jenkins jenkins 680 Jul 11 17:03 Jenkinsfile [2022-07-11T17:04:50.633Z] -rw-rw-r-- 1 jenkins jenkins 11340 Jul 11 17:03 LICENSE [2022-07-11T17:04:50.633Z] -rw-rw-r-- 1 jenkins jenkins 1964 Jul 11 17:03 Makefile [2022-07-11T17:04:50.633Z] -rw-rw-r-- 1 jenkins jenkins 620 Jul 11 17:03 OWNERS.md [2022-07-11T17:04:50.633Z] -rw-rw-r-- 1 jenkins jenkins 8003 Jul 11 17:03 README.md [2022-07-11T17:04:50.633Z] -rw-rw-r-- 1 jenkins jenkins 5 Jul 11 17:03 VERSION [2022-07-11T17:04:50.633Z] drwxrwxr-x 2 jenkins jenkins 4096 Jul 11 17:03 bin [2022-07-11T17:04:50.633Z] drwxrwxr-x 3 jenkins jenkins 4096 Jul 11 17:03 cmd [2022-07-11T17:04:50.633Z] -rw-r--r-- 1 jenkins jenkins 9355 Jul 11 17:04 coverage.out [2022-07-11T17:04:50.633Z] drwxrwxr-x 2 jenkins jenkins 4096 Jul 11 17:03 driver [2022-07-11T17:04:50.633Z] -rw-rw-r-- 1 jenkins jenkins 3338 Jul 11 17:03 go.mod [2022-07-11T17:04:50.633Z] -rw-rw-r-- 1 jenkins jenkins 35351 Jul 11 17:03 go.sum [2022-07-11T17:04:50.633Z] drwxrwxr-x 4 jenkins jenkins 4096 Jul 11 17:03 snap [2022-07-11T17:04:50.633Z] -rw-rw-r-- 1 jenkins jenkins 713 Jul 11 17:03 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-07-11T17:04:50.946Z] + 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=bfb0a2ba682bc9e23f4c8d8e0cfb2d8556a057c7 --label arch=amd64 --label version=0.0.0 . [2022-07-11T17:04:50.946Z] Sending build context to Docker daemon 10.7MB [2022-07-11T17:04:50.946Z] Step 1/25 : ARG BASE=golang:1.18-alpine3.16 [2022-07-11T17:04:50.946Z] Step 2/25 : FROM ${BASE} AS builder [2022-07-11T17:04:50.946Z] ---> 19ff5f2618b1 [2022-07-11T17:04:50.946Z] Step 3/25 : ARG MAKE='make build' [2022-07-11T17:04:50.946Z] ---> Running in 1e60a63b486e [2022-07-11T17:04:51.206Z] Removing intermediate container 1e60a63b486e [2022-07-11T17:04:51.206Z] ---> 4474be824b74 [2022-07-11T17:04:51.206Z] Step 4/25 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2022-07-11T17:04:51.206Z] ---> Running in 3b80ae41c55b [2022-07-11T17:04:51.206Z] Removing intermediate container 3b80ae41c55b [2022-07-11T17:04:51.206Z] ---> 23902429f381 [2022-07-11T17:04:51.206Z] Step 5/25 : ARG ALPINE_PKG_EXTRA="" [2022-07-11T17:04:51.467Z] ---> Running in 8ae79eb8e48e [2022-07-11T17:04:51.467Z] Removing intermediate container 8ae79eb8e48e [2022-07-11T17:04:51.467Z] ---> c01bdc90a3c1 [2022-07-11T17:04:51.467Z] Step 6/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-07-11T17:04:51.467Z] ---> Running in 9473cb38b9b7 [2022-07-11T17:04:52.038Z] Removing intermediate container 9473cb38b9b7 [2022-07-11T17:04:52.038Z] ---> f6ebcdc293d6 [2022-07-11T17:04:52.038Z] Step 7/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-07-11T17:04:52.038Z] ---> Running in bb3c5fabec14 [2022-07-11T17:04:52.297Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz [2022-07-11T17:04:53.237Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz [2022-07-11T17:04:53.497Z] OK: 224 MiB in 56 packages [2022-07-11T17:04:53.758Z] Removing intermediate container bb3c5fabec14 [2022-07-11T17:04:53.758Z] ---> ac156d3108aa [2022-07-11T17:04:53.758Z] Step 8/25 : WORKDIR /device-rest-go [2022-07-11T17:04:53.758Z] ---> Running in a3edaecbaa71 [2022-07-11T17:04:54.019Z] Removing intermediate container a3edaecbaa71 [2022-07-11T17:04:54.019Z] ---> a9dc80b4bac1 [2022-07-11T17:04:54.019Z] Step 9/25 : COPY go.mod vendor* ./ [2022-07-11T17:04:54.019Z] ---> e7bcf56ffd86 [2022-07-11T17:04:54.019Z] Step 10/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-07-11T17:04:54.019Z] ---> Running in 58f5165f804f [2022-07-11T17:04:54.962Z] Removing intermediate container 58f5165f804f [2022-07-11T17:04:54.962Z] ---> f3aebe7e9cc2 [2022-07-11T17:04:54.962Z] Step 11/25 : COPY . . [2022-07-11T17:04:55.222Z] ---> e74c3cd152b2 [2022-07-11T17:04:55.222Z] Step 12/25 : RUN $MAKE [2022-07-11T17:04:55.222Z] ---> Running in ce3df7cde7cd [2022-07-11T17:04:55.481Z] CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-linkmode=external -X github.com/edgexfoundry/device-rest-go.Version=0.0.0" -trimpath -mod=readonly -buildmode=pie -o cmd/device-rest ./cmd [2022-07-11T17:05:17.426Z] Removing intermediate container ce3df7cde7cd [2022-07-11T17:05:17.426Z] ---> eb5a22df7308 [2022-07-11T17:05:17.426Z] Step 13/25 : FROM alpine:3.16 [2022-07-11T17:05:17.426Z] 3.16: Pulling from library/alpine [2022-07-11T17:05:17.426Z] 2408cc74d12b: Pulling fs layer [2022-07-11T17:05:17.426Z] 2408cc74d12b: Verifying Checksum [2022-07-11T17:05:17.426Z] 2408cc74d12b: Download complete [2022-07-11T17:05:17.426Z] 2408cc74d12b: Pull complete [2022-07-11T17:05:17.426Z] Digest: sha256:686d8c9dfa6f3ccfc8230bc3178d23f84eeaf7e457f36f271ab1acc53015037c [2022-07-11T17:05:17.426Z] Status: Downloaded newer image for alpine:3.16 [2022-07-11T17:05:17.426Z] ---> e66264b98777 [2022-07-11T17:05:17.426Z] Step 14/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' [2022-07-11T17:05:17.426Z] ---> Running in 53bdae157566 [2022-07-11T17:05:17.426Z] Removing intermediate container 53bdae157566 [2022-07-11T17:05:17.426Z] ---> b9f9c3777e69 [2022-07-11T17:05:17.426Z] Step 15/25 : LABEL Name=device-rest-go Version=${VERSION} [2022-07-11T17:05:17.426Z] ---> Running in 8b123f0c9985 [2022-07-11T17:05:17.426Z] Removing intermediate container 8b123f0c9985 [2022-07-11T17:05:17.426Z] ---> be037a8efe93 [2022-07-11T17:05:17.426Z] Step 16/25 : RUN apk add --update --no-cache zeromq dumb-init [2022-07-11T17:05:17.426Z] ---> Running in 939797b5dd71 [2022-07-11T17:05:17.426Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2022-07-11T17:05:17.426Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2022-07-11T17:05:17.426Z] (1/6) Installing dumb-init (1.2.5-r1) [2022-07-11T17:05:17.426Z] (2/6) Installing libgcc (11.2.1_git20220219-r2) [2022-07-11T17:05:17.426Z] (3/6) Installing libsodium (1.0.18-r0) [2022-07-11T17:05:17.426Z] (4/6) Installing libstdc++ (11.2.1_git20220219-r2) [2022-07-11T17:05:17.426Z] (5/6) Installing libzmq (4.3.4-r0) [2022-07-11T17:05:17.426Z] (6/6) Installing zeromq (4.3.4-r0) [2022-07-11T17:05:17.426Z] Executing busybox-1.35.0-r13.trigger [2022-07-11T17:05:17.426Z] OK: 8 MiB in 20 packages [2022-07-11T17:05:17.426Z] Removing intermediate container 939797b5dd71 [2022-07-11T17:05:17.426Z] ---> 45b7aa8dbdd5 [2022-07-11T17:05:17.426Z] Step 17/25 : COPY --from=builder /device-rest-go/cmd / [2022-07-11T17:05:17.426Z] ---> d9dc9cf15a89 [2022-07-11T17:05:17.426Z] Step 18/25 : COPY --from=builder /device-rest-go/LICENSE / [2022-07-11T17:05:17.426Z] ---> ee680d56d5cd [2022-07-11T17:05:17.426Z] Step 19/25 : COPY --from=builder /device-rest-go/Attribution.txt / [2022-07-11T17:05:17.426Z] ---> daa2cedfcc39 [2022-07-11T17:05:17.426Z] Step 20/25 : EXPOSE 59986 [2022-07-11T17:05:17.426Z] ---> Running in f3541bcd03d6 [2022-07-11T17:05:17.426Z] Removing intermediate container f3541bcd03d6 [2022-07-11T17:05:17.426Z] ---> 4a7e432119da [2022-07-11T17:05:17.426Z] Step 21/25 : ENTRYPOINT ["/device-rest"] [2022-07-11T17:05:17.426Z] ---> Running in dcb064f61fc3 [2022-07-11T17:05:17.426Z] Removing intermediate container dcb064f61fc3 [2022-07-11T17:05:17.426Z] ---> 1b3978e6e7b8 [2022-07-11T17:05:17.426Z] Step 22/25 : CMD ["--cp=consul://edgex-core-consul:8500", "--confdir=/res", "--registry"] [2022-07-11T17:05:17.687Z] ---> Running in 95fa89dd890d [2022-07-11T17:05:17.687Z] Removing intermediate container 95fa89dd890d [2022-07-11T17:05:17.687Z] ---> 6cd1dcadd3dd [2022-07-11T17:05:17.687Z] Step 23/25 : LABEL arch=amd64 [2022-07-11T17:05:17.687Z] ---> Running in 6f70a9fd6e55 [2022-07-11T17:05:17.687Z] Removing intermediate container 6f70a9fd6e55 [2022-07-11T17:05:17.687Z] ---> acbf32daf877 [2022-07-11T17:05:17.687Z] Step 24/25 : LABEL git_sha=bfb0a2ba682bc9e23f4c8d8e0cfb2d8556a057c7 [2022-07-11T17:05:17.947Z] ---> Running in eb86572aef0a [2022-07-11T17:05:17.947Z] Removing intermediate container eb86572aef0a [2022-07-11T17:05:17.947Z] ---> d36a71814ecb [2022-07-11T17:05:17.947Z] Step 25/25 : LABEL version=0.0.0 [2022-07-11T17:05:17.947Z] ---> Running in d1f1ac8b214f [2022-07-11T17:05:17.947Z] Removing intermediate container d1f1ac8b214f [2022-07-11T17:05:17.947Z] ---> a817801148eb [2022-07-11T17:05:17.947Z] [Warning] One or more build-args [ARCH] were not consumed [2022-07-11T17:05:17.947Z] Successfully built a817801148eb [2022-07-11T17:05:17.947Z] Successfully tagged device-rest:latest [Pipeline] } [Pipeline] // withEnv [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] withEnv [Pipeline] { [Pipeline] sh [2022-07-11T17:05:18.379Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-07-11T17:05:18.379Z] [2022-07-11T17:05:18.379Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-07-11T17:05:18.682Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-07-11T17:05:18.682Z] latest: Pulling from edgex-lftools-log-publisher [2022-07-11T17:05:18.682Z] 5eb5b503b376: Pulling fs layer [2022-07-11T17:05:18.682Z] 5c69ac0246d0: Pulling fs layer [2022-07-11T17:05:18.682Z] ec43610c2a17: Pulling fs layer [2022-07-11T17:05:18.682Z] 3a2ae6a8a46f: Pulling fs layer [2022-07-11T17:05:18.682Z] 33b1e0a273af: Pulling fs layer [2022-07-11T17:05:18.682Z] 5d3b04190fa2: Pulling fs layer [2022-07-11T17:05:18.682Z] 2f39f015ded8: Pulling fs layer [2022-07-11T17:05:18.682Z] 33b1e0a273af: Waiting [2022-07-11T17:05:18.682Z] 5d3b04190fa2: Waiting [2022-07-11T17:05:18.682Z] 2f39f015ded8: Waiting [2022-07-11T17:05:18.682Z] 3a2ae6a8a46f: Waiting [2022-07-11T17:05:18.682Z] 5c69ac0246d0: Download complete [2022-07-11T17:05:18.682Z] 3a2ae6a8a46f: Verifying Checksum [2022-07-11T17:05:18.682Z] 3a2ae6a8a46f: Download complete [2022-07-11T17:05:18.682Z] 33b1e0a273af: Verifying Checksum [2022-07-11T17:05:18.682Z] 33b1e0a273af: Download complete [2022-07-11T17:05:18.942Z] 5d3b04190fa2: Download complete [2022-07-11T17:05:18.942Z] ec43610c2a17: Verifying Checksum [2022-07-11T17:05:18.942Z] ec43610c2a17: Download complete [2022-07-11T17:05:18.942Z] 5eb5b503b376: Verifying Checksum [2022-07-11T17:05:18.942Z] 5eb5b503b376: Download complete [2022-07-11T17:05:19.510Z] 2f39f015ded8: Download complete [2022-07-11T17:05:20.446Z] 5eb5b503b376: Pull complete [2022-07-11T17:05:20.446Z] 5c69ac0246d0: Pull complete [2022-07-11T17:05:21.015Z] ec43610c2a17: Pull complete [2022-07-11T17:05:21.015Z] 3a2ae6a8a46f: Pull complete [2022-07-11T17:05:21.274Z] 33b1e0a273af: Pull complete [2022-07-11T17:05:21.274Z] 5d3b04190fa2: Pull complete [2022-07-11T17:05:26.554Z] 2f39f015ded8: Pull complete [2022-07-11T17:05:26.554Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2022-07-11T17:05:26.554Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-07-11T17:05:26.554Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-07-11T17:05:26.639Z] prd-ubuntu20.04-docker-8c-8g-18876 does not seem to be running inside a container [2022-07-11T17:05:26.679Z] $ 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/gexfoundry_device-rest-go_PR-204 -v /w/workspace/gexfoundry_device-rest-go_PR-204:/w/workspace/gexfoundry_device-rest-go_PR-204:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-204@tmp:/w/workspace/gexfoundry_device-rest-go_PR-204@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 [2022-07-11T17:05:28.933Z] $ docker top b026e5ef857108a72e72ead986024ce10d05123990d4eac4f1bffbb9ec00d0fe -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-07-11T17:05:29.321Z] ---> job-cost.sh [2022-07-11T17:05:29.321Z] lf-activate-venv: SKIPPING [2022-07-11T17:05:29.321Z] INFO: No Stack... [2022-07-11T17:05:29.582Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2022-07-11T17:05:30.152Z] INFO: Archiving Costs [Pipeline] sh [2022-07-11T17:05:30.446Z] + cat /w/workspace/gexfoundry_device-rest-go_PR-204/archives/cost.csv [2022-07-11T17:05:30.446Z] + cut -d, -f6 [Pipeline] lock [2022-07-11T17:05:30.486Z] Trying to acquire lock on [jenkins-edgexfoundry-device-rest-go-PR-204-4-stack-cost] [2022-07-11T17:05:30.495Z] Resource [jenkins-edgexfoundry-device-rest-go-PR-204-4-stack-cost] did not exist. Created. [2022-07-11T17:05:30.495Z] Lock acquired on [jenkins-edgexfoundry-device-rest-go-PR-204-4-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-07-11T17:05:30.844Z] + echo total: 0.2199999988079071 [Pipeline] stash [2022-07-11T17:05:30.874Z] Stashed 1 file(s) [Pipeline] } [2022-07-11T17:05:30.881Z] Lock released on resource [jenkins-edgexfoundry-device-rest-go-PR-204-4-stack-cost] [Pipeline] // lock [Pipeline] } [2022-07-11T17:05:30.898Z] $ docker stop --time=1 b026e5ef857108a72e72ead986024ce10d05123990d4eac4f1bffbb9ec00d0fe [2022-07-11T17:05:32.059Z] $ docker rm -f b026e5ef857108a72e72ead986024ce10d05123990d4eac4f1bffbb9ec00d0fe [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2022-07-11T17:24:25.452Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-19310 in /w/workspace/gexfoundry_device-rest-go_PR-204 [Pipeline] { [Pipeline] ws [2022-07-11T17:24:25.466Z] Running in /w/workspace/device-rest-go/4 [Pipeline] { [Pipeline] checkout [2022-07-11T17:24:25.527Z] The recommended git tool is: git [2022-07-11T17:24:31.867Z] using credential edgex-jenkins-ssh [2022-07-11T17:24:31.895Z] Cloning the remote Git repository [2022-07-11T17:24:31.967Z] Cloning repository git@github.com:edgexfoundry/device-rest-go.git [2022-07-11T17:24:32.066Z] > git init /w/workspace/device-rest-go/4 # timeout=10 [2022-07-11T17:24:32.175Z] Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git [2022-07-11T17:24:32.176Z] > git --version # timeout=10 [2022-07-11T17:24:32.203Z] > git --version # 'git version 2.25.1' [2022-07-11T17:24:32.205Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-07-11T17:24:32.296Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-07-11T17:24:34.147Z] > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 [2022-07-11T17:24:34.174Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-07-11T17:24:34.212Z] > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 [2022-07-11T17:24:34.259Z] Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git [2022-07-11T17:24:34.261Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-07-11T17:24:34.278Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/pull/204/head:refs/remotes/origin/PR-204 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2022-07-11T17:24:34.739Z] Merging remotes/origin/main commit 328f14cd4e0e2f12280e28257e4d0d1118a94cd7 into PR head commit bfb0a2ba682bc9e23f4c8d8e0cfb2d8556a057c7 [2022-07-11T17:24:35.067Z] Merge succeeded, producing bfb0a2ba682bc9e23f4c8d8e0cfb2d8556a057c7 [2022-07-11T17:24:35.068Z] Checking out Revision bfb0a2ba682bc9e23f4c8d8e0cfb2d8556a057c7 (PR-204) [2022-07-11T17:24:34.767Z] > git config core.sparsecheckout # timeout=10 [2022-07-11T17:24:34.785Z] > git checkout -f bfb0a2ba682bc9e23f4c8d8e0cfb2d8556a057c7 # timeout=10 [2022-07-11T17:24:34.883Z] > git remote # timeout=10 [2022-07-11T17:24:34.906Z] > git config --get remote.origin.url # timeout=10 [2022-07-11T17:24:34.924Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-07-11T17:24:34.939Z] > git merge 328f14cd4e0e2f12280e28257e4d0d1118a94cd7 # timeout=10 [2022-07-11T17:24:35.022Z] > git rev-parse HEAD^{commit} # timeout=10 [2022-07-11T17:24:35.086Z] > git config core.sparsecheckout # timeout=10 [2022-07-11T17:24:35.117Z] > git checkout -f bfb0a2ba682bc9e23f4c8d8e0cfb2d8556a057c7 # timeout=10 [2022-07-11T17:24:39.705Z] Commit message: "build(deps): Bump github.com/stretchr/testify from 1.7.5 to 1.8.0" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-07-11T17:24:40.934Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2022-07-11T17:24:40.934Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-07-11T17:24:40.934Z] Dload Upload Total Spent Left Speed [2022-07-11T17:24:40.934Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12276 100 12276 0 0 85846 0 --:--:-- --:--:-- --:--:-- 85846 [Pipeline] sh [2022-07-11T17:24:41.798Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2022-07-11T17:24:42.169Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2022-07-11T17:24:42.169Z] + sudo tee /etc/docker/daemon.new [2022-07-11T17:24:42.169Z] { [2022-07-11T17:24:42.169Z] "registry-mirrors": [ [2022-07-11T17:24:42.169Z] "https://nexus3.edgexfoundry.org:10001" [2022-07-11T17:24:42.169Z] ], [2022-07-11T17:24:42.169Z] "bip": "10.250.0.254/24", [2022-07-11T17:24:42.169Z] "hosts": [ [2022-07-11T17:24:42.169Z] "tcp://0.0.0.0:5555", [2022-07-11T17:24:42.169Z] "unix:///var/run/docker.sock" [2022-07-11T17:24:42.169Z] ], [2022-07-11T17:24:42.169Z] "mtu": 1458, [2022-07-11T17:24:42.169Z] "selinux-enabled": true, [2022-07-11T17:24:42.169Z] "seccomp-profile": "/etc/docker/seccomp.json" [2022-07-11T17:24:42.169Z] } [Pipeline] sh [2022-07-11T17:24:42.540Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2022-07-11T17:24:42.896Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-07-11T17:25:01.336Z] provisioning config files... [2022-07-11T17:25:01.363Z] copy managed file [device-rest-go-settings] to file:/w/workspace/device-rest-go/4@tmp/config4849200021866522599tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-07-11T17:25:01.891Z] ---> docker-login.sh [2022-07-11T17:25:01.892Z] nexus3.edgexfoundry.org:10001 [2022-07-11T17:25:02.493Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-07-11T17:25:02.768Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-07-11T17:25:02.768Z] Configure a credential helper to remove this warning. See [2022-07-11T17:25:02.768Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-07-11T17:25:02.768Z] [2022-07-11T17:25:02.768Z] Login Succeeded [2022-07-11T17:25:02.768Z] nexus3.edgexfoundry.org:10002 [2022-07-11T17:25:03.366Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-07-11T17:25:03.366Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-07-11T17:25:03.366Z] Configure a credential helper to remove this warning. See [2022-07-11T17:25:03.366Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-07-11T17:25:03.366Z] [2022-07-11T17:25:03.366Z] Login Succeeded [2022-07-11T17:25:03.366Z] nexus3.edgexfoundry.org:10003 [2022-07-11T17:25:03.973Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-07-11T17:25:03.973Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-07-11T17:25:03.973Z] Configure a credential helper to remove this warning. See [2022-07-11T17:25:03.973Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-07-11T17:25:03.973Z] [2022-07-11T17:25:03.973Z] Login Succeeded [2022-07-11T17:25:03.973Z] nexus3.edgexfoundry.org:10004 [2022-07-11T17:25:04.250Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-07-11T17:25:04.523Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-07-11T17:25:04.523Z] Configure a credential helper to remove this warning. See [2022-07-11T17:25:04.523Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-07-11T17:25:04.523Z] [2022-07-11T17:25:04.523Z] Login Succeeded [2022-07-11T17:25:04.523Z] docker.io [2022-07-11T17:25:04.800Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-07-11T17:25:05.411Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-07-11T17:25:05.411Z] Configure a credential helper to remove this warning. See [2022-07-11T17:25:05.411Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-07-11T17:25:05.411Z] [2022-07-11T17:25:05.411Z] Login Succeeded [2022-07-11T17:25:05.411Z] ---> docker-login.sh ends [Pipeline] } [2022-07-11T17:25:05.429Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-07-11T17:25:05.719Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-07-11T17:25:05.731Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-07-11T17:25:05.740Z] ========================================================= [2022-07-11T17:25:05.740Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine] [2022-07-11T17:25:05.740Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-07-11T17:25:06.108Z] + docker build -t ci-base-image-arm64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine --build-arg MAKE=echo noop --target=builder . [2022-07-11T17:25:06.108Z] Sending build context to Docker daemon 126.5kB [2022-07-11T17:25:06.386Z] Step 1/12 : ARG BASE=golang:1.18-alpine3.16 [2022-07-11T17:25:06.386Z] Step 2/12 : FROM ${BASE} AS builder [2022-07-11T17:25:06.663Z] 1.17-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2022-07-11T17:25:06.663Z] 9b3977197b4f: Pulling fs layer [2022-07-11T17:25:06.663Z] 1a89e8eeedd5: Pulling fs layer [2022-07-11T17:25:06.663Z] 94645a83ff95: Pulling fs layer [2022-07-11T17:25:06.663Z] e6fb740bc735: Pulling fs layer [2022-07-11T17:25:06.663Z] 3a77bd46dcc9: Pulling fs layer [2022-07-11T17:25:06.663Z] 355e64cbe906: Pulling fs layer [2022-07-11T17:25:06.663Z] 63ab81a10011: Pulling fs layer [2022-07-11T17:25:06.663Z] 555d1d1c4555: Pulling fs layer [2022-07-11T17:25:06.663Z] 7d9057610161: Pulling fs layer [2022-07-11T17:25:06.663Z] 355e64cbe906: Waiting [2022-07-11T17:25:06.663Z] 63ab81a10011: Waiting [2022-07-11T17:25:06.663Z] 555d1d1c4555: Waiting [2022-07-11T17:25:06.663Z] 7d9057610161: Waiting [2022-07-11T17:25:06.663Z] 3a77bd46dcc9: Waiting [2022-07-11T17:25:06.664Z] 94645a83ff95: Verifying Checksum [2022-07-11T17:25:06.664Z] 94645a83ff95: Download complete [2022-07-11T17:25:06.664Z] 1a89e8eeedd5: Download complete [2022-07-11T17:25:06.664Z] 3a77bd46dcc9: Verifying Checksum [2022-07-11T17:25:06.664Z] 3a77bd46dcc9: Download complete [2022-07-11T17:25:06.664Z] 355e64cbe906: Verifying Checksum [2022-07-11T17:25:06.664Z] 355e64cbe906: Download complete [2022-07-11T17:25:06.664Z] 9b3977197b4f: Verifying Checksum [2022-07-11T17:25:06.664Z] 9b3977197b4f: Download complete [2022-07-11T17:25:06.664Z] 63ab81a10011: Verifying Checksum [2022-07-11T17:25:06.664Z] 63ab81a10011: Download complete [2022-07-11T17:25:07.665Z] 9b3977197b4f: Pull complete [2022-07-11T17:25:07.945Z] 7d9057610161: Verifying Checksum [2022-07-11T17:25:07.945Z] 7d9057610161: Download complete [2022-07-11T17:25:08.551Z] 1a89e8eeedd5: Pull complete [2022-07-11T17:25:08.551Z] 94645a83ff95: Pull complete [2022-07-11T17:25:09.157Z] 555d1d1c4555: Verifying Checksum [2022-07-11T17:25:09.158Z] 555d1d1c4555: Download complete [2022-07-11T17:25:09.760Z] e6fb740bc735: Verifying Checksum [2022-07-11T17:25:09.760Z] e6fb740bc735: Download complete [2022-07-11T17:25:22.217Z] e6fb740bc735: Pull complete [2022-07-11T17:25:22.494Z] 3a77bd46dcc9: Pull complete [2022-07-11T17:25:22.772Z] 355e64cbe906: Pull complete [2022-07-11T17:25:23.047Z] 63ab81a10011: Pull complete [2022-07-11T17:25:29.803Z] 555d1d1c4555: Pull complete [2022-07-11T17:25:31.790Z] 7d9057610161: Pull complete [2022-07-11T17:25:31.791Z] Digest: sha256:2bfe06e9b82483759db2d79553298764cc23e00699169ff1c4d7513112b2d636 [2022-07-11T17:25:31.791Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine [2022-07-11T17:25:31.791Z] ---> 819e984ddca1 [2022-07-11T17:25:31.791Z] Step 3/12 : ARG MAKE='make build' [2022-07-11T17:25:32.415Z] ---> Running in 3667adeeafcf [2022-07-11T17:25:33.018Z] Removing intermediate container 3667adeeafcf [2022-07-11T17:25:33.018Z] ---> 677b75473b61 [2022-07-11T17:25:33.018Z] Step 4/12 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2022-07-11T17:25:33.018Z] ---> Running in 4c7046d3f671 [2022-07-11T17:25:33.297Z] Removing intermediate container 4c7046d3f671 [2022-07-11T17:25:33.297Z] ---> 36ff4633a81a [2022-07-11T17:25:33.297Z] Step 5/12 : ARG ALPINE_PKG_EXTRA="" [2022-07-11T17:25:33.297Z] ---> Running in 98fcae6c7f77 [2022-07-11T17:25:33.904Z] Removing intermediate container 98fcae6c7f77 [2022-07-11T17:25:33.904Z] ---> 8a95b9cc016e [2022-07-11T17:25:33.904Z] Step 6/12 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-07-11T17:25:33.904Z] ---> Running in 13f403ca756c [2022-07-11T17:25:35.894Z] Removing intermediate container 13f403ca756c [2022-07-11T17:25:35.894Z] ---> 001d76c2690a [2022-07-11T17:25:35.894Z] Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-07-11T17:25:35.894Z] ---> Running in bfa16f5ad2ed [2022-07-11T17:25:36.888Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz [2022-07-11T17:25:37.880Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz [2022-07-11T17:25:38.871Z] (1/4) Installing openssh-keygen (8.8_p1-r1) [2022-07-11T17:25:38.871Z] (2/4) Installing libedit (20210910.3.1-r0) [2022-07-11T17:25:38.871Z] (3/4) Installing openssh-client-common (8.8_p1-r1) [2022-07-11T17:25:39.153Z] (4/4) Installing openssh-client-default (8.8_p1-r1) [2022-07-11T17:25:39.153Z] Executing busybox-1.34.1-r3.trigger [2022-07-11T17:25:39.153Z] OK: 224 MiB in 56 packages [2022-07-11T17:25:40.148Z] Removing intermediate container bfa16f5ad2ed [2022-07-11T17:25:40.148Z] ---> 0cbf026ebab3 [2022-07-11T17:25:40.148Z] Step 8/12 : WORKDIR /device-rest-go [2022-07-11T17:25:40.429Z] ---> Running in 89de4a5a1ee9 [2022-07-11T17:25:40.704Z] Removing intermediate container 89de4a5a1ee9 [2022-07-11T17:25:40.704Z] ---> 9efa5449c5e1 [2022-07-11T17:25:40.704Z] Step 9/12 : COPY go.mod vendor* ./ [2022-07-11T17:25:41.307Z] ---> 02dd26de97eb [2022-07-11T17:25:41.307Z] Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-07-11T17:25:41.307Z] ---> Running in 2bca9f7698c6 [2022-07-11T17:26:37.915Z] Removing intermediate container 2bca9f7698c6 [2022-07-11T17:26:37.915Z] ---> 851241009138 [2022-07-11T17:26:37.915Z] Step 11/12 : COPY . . [2022-07-11T17:26:37.915Z] ---> fe4ad96721ca [2022-07-11T17:26:37.915Z] Step 12/12 : RUN $MAKE [2022-07-11T17:26:37.915Z] ---> Running in 57650df62238 [2022-07-11T17:26:37.915Z] noop [2022-07-11T17:26:37.915Z] Removing intermediate container 57650df62238 [2022-07-11T17:26:37.915Z] ---> 33ff34d604a2 [2022-07-11T17:26:37.915Z] Successfully built 33ff34d604a2 [2022-07-11T17:26:37.915Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-07-11T17:26:38.295Z] + docker inspect -f . ci-base-image-arm64 [2022-07-11T17:26:38.295Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-07-11T17:26:38.570Z] prd-ubuntu20.04-docker-arm64-4c-16g-19310 does not seem to be running inside a container [2022-07-11T17:26:38.675Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-rest-go/4 -v /w/workspace/device-rest-go/4:/w/workspace/device-rest-go/4:rw,z -v /w/workspace/device-rest-go/4@tmp:/w/workspace/device-rest-go/4@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 ******** ci-base-image-arm64 cat [2022-07-11T17:26:40.240Z] $ docker top 8e0ebb19d878128d30ad6d9e304bb1f8587336894b5b4611d035bcb8e861c06d -eo pid,comm [Pipeline] { [Pipeline] sh [2022-07-11T17:26:41.215Z] + go version [2022-07-11T17:26:41.215Z] go version go1.17.7 linux/arm64 [Pipeline] } [2022-07-11T17:26:41.254Z] $ docker stop --time=1 8e0ebb19d878128d30ad6d9e304bb1f8587336894b5b4611d035bcb8e861c06d [2022-07-11T17:26:43.183Z] $ docker rm -f 8e0ebb19d878128d30ad6d9e304bb1f8587336894b5b4611d035bcb8e861c06d [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-07-11T17:26:43.830Z] + docker inspect -f . ci-base-image-arm64 [2022-07-11T17:26:43.830Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-07-11T17:26:44.116Z] prd-ubuntu20.04-docker-arm64-4c-16g-19310 does not seem to be running inside a container [2022-07-11T17:26:44.233Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-rest-go/4 -v /w/workspace/device-rest-go/4:/w/workspace/device-rest-go/4:rw,z -v /w/workspace/device-rest-go/4@tmp:/w/workspace/device-rest-go/4@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 ******** ci-base-image-arm64 cat [2022-07-11T17:26:45.699Z] $ docker top 8d9fa5be3ade4c99731668bf01c1bb927c63ec0cc92767959b36039c8d5e56ac -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh [2022-07-11T17:26:46.696Z] + make test [2022-07-11T17:26:46.696Z] CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... [2022-07-11T17:26:48.709Z] ? github.com/edgexfoundry/device-rest-go [no test files] [2022-07-11T17:28:25.635Z] ? github.com/edgexfoundry/device-rest-go/cmd [no test files] [2022-07-11T17:28:25.635Z] ok github.com/edgexfoundry/device-rest-go/driver 0.077s coverage: 55.2% of statements [2022-07-11T17:28:25.635Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2022-07-11T17:28:25.635Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2022-07-11T17:28:58.030Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-07-11T17:28:58.030Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2022-07-11T17:28:58.030Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2022-07-11T17:28:58.058Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2022-07-11T17:28:58.087Z] $ docker stop --time=1 8d9fa5be3ade4c99731668bf01c1bb927c63ec0cc92767959b36039c8d5e56ac [2022-07-11T17:29:00.000Z] $ docker rm -f 8d9fa5be3ade4c99731668bf01c1bb927c63ec0cc92767959b36039c8d5e56ac [Pipeline] // withDockerContainer [Pipeline] sh [2022-07-11T17:29:01.087Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2022-07-11T17:29:01.123Z] Warning: overwriting stash ‘coverage-report’ [2022-07-11T17:29:01.872Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-07-11T17:29:02.278Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2022-07-11T17:29:02.641Z] + ls -al . [2022-07-11T17:29:02.641Z] total 168 [2022-07-11T17:29:02.641Z] drwxrwxr-x 8 jenkins jenkins 4096 Jul 11 17:26 . [2022-07-11T17:29:02.641Z] drwxrwxr-x 4 jenkins jenkins 4096 Jul 11 17:24 .. [2022-07-11T17:29:02.641Z] -rw-rw-r-- 1 jenkins jenkins 151 Jul 11 17:24 .dockerignore [2022-07-11T17:29:02.641Z] drwxrwxr-x 8 jenkins jenkins 4096 Jul 11 17:24 .git [2022-07-11T17:29:02.641Z] drwxrwxr-x 3 jenkins jenkins 4096 Jul 11 17:24 .github [2022-07-11T17:29:02.641Z] -rw-rw-r-- 1 jenkins jenkins 329 Jul 11 17:24 .gitignore [2022-07-11T17:29:02.641Z] -rw-rw-r-- 1 jenkins jenkins 41 Jul 11 17:24 .golangci.yml [2022-07-11T17:29:02.641Z] -rw-rw-r-- 1 jenkins jenkins 8724 Jul 11 17:24 Attribution.txt [2022-07-11T17:29:02.641Z] -rw-rw-r-- 1 jenkins jenkins 11736 Jul 11 17:24 CHANGELOG.md [2022-07-11T17:29:02.641Z] -rw-rw-r-- 1 jenkins jenkins 1674 Jul 11 17:24 Dockerfile [2022-07-11T17:29:02.641Z] -rw-rw-r-- 1 jenkins jenkins 677 Jul 11 17:24 GOVERNANCE.md [2022-07-11T17:29:02.641Z] -rw-rw-r-- 1 jenkins jenkins 680 Jul 11 17:24 Jenkinsfile [2022-07-11T17:29:02.641Z] -rw-rw-r-- 1 jenkins jenkins 11340 Jul 11 17:24 LICENSE [2022-07-11T17:29:02.641Z] -rw-rw-r-- 1 jenkins jenkins 1964 Jul 11 17:24 Makefile [2022-07-11T17:29:02.641Z] -rw-rw-r-- 1 jenkins jenkins 620 Jul 11 17:24 OWNERS.md [2022-07-11T17:29:02.641Z] -rw-rw-r-- 1 jenkins jenkins 8003 Jul 11 17:24 README.md [2022-07-11T17:29:02.641Z] -rw-rw-r-- 1 jenkins jenkins 5 Jul 11 17:03 VERSION [2022-07-11T17:29:02.641Z] drwxrwxr-x 2 jenkins jenkins 4096 Jul 11 17:24 bin [2022-07-11T17:29:02.641Z] drwxrwxr-x 3 jenkins jenkins 4096 Jul 11 17:24 cmd [2022-07-11T17:29:02.641Z] -rw-r--r-- 1 jenkins jenkins 9355 Jul 11 17:28 coverage.out [2022-07-11T17:29:02.641Z] drwxrwxr-x 2 jenkins jenkins 4096 Jul 11 17:24 driver [2022-07-11T17:29:02.641Z] -rw-rw-r-- 1 jenkins jenkins 3338 Jul 11 17:24 go.mod [2022-07-11T17:29:02.641Z] -rw-rw-r-- 1 jenkins jenkins 35351 Jul 11 17:24 go.sum [2022-07-11T17:29:02.641Z] drwxrwxr-x 4 jenkins jenkins 4096 Jul 11 17:24 snap [2022-07-11T17:29:02.641Z] -rw-rw-r-- 1 jenkins jenkins 713 Jul 11 17:24 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-07-11T17:29:03.117Z] + 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=bfb0a2ba682bc9e23f4c8d8e0cfb2d8556a057c7 --label arch=arm64 --label version=0.0.0 . [2022-07-11T17:29:03.117Z] Sending build context to Docker daemon 136.7kB [2022-07-11T17:29:03.740Z] Step 1/25 : ARG BASE=golang:1.18-alpine3.16 [2022-07-11T17:29:03.740Z] Step 2/25 : FROM ${BASE} AS builder [2022-07-11T17:29:03.740Z] ---> 33ff34d604a2 [2022-07-11T17:29:03.740Z] Step 3/25 : ARG MAKE='make build' [2022-07-11T17:29:03.740Z] ---> Running in 0d8fbf66a173 [2022-07-11T17:29:04.022Z] Removing intermediate container 0d8fbf66a173 [2022-07-11T17:29:04.022Z] ---> b576f59a95b2 [2022-07-11T17:29:04.022Z] Step 4/25 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2022-07-11T17:29:04.022Z] ---> Running in 8d591149f7b3 [2022-07-11T17:29:04.636Z] Removing intermediate container 8d591149f7b3 [2022-07-11T17:29:04.636Z] ---> e2d5da358d2b [2022-07-11T17:29:04.636Z] Step 5/25 : ARG ALPINE_PKG_EXTRA="" [2022-07-11T17:29:04.636Z] ---> Running in 5769632d8f5b [2022-07-11T17:29:04.914Z] Removing intermediate container 5769632d8f5b [2022-07-11T17:29:04.914Z] ---> f494533bf2db [2022-07-11T17:29:04.914Z] Step 6/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-07-11T17:29:05.196Z] ---> Running in 2fa764c94554 [2022-07-11T17:29:07.187Z] Removing intermediate container 2fa764c94554 [2022-07-11T17:29:07.187Z] ---> 8c4dfa4d0fde [2022-07-11T17:29:07.187Z] Step 7/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-07-11T17:29:07.187Z] ---> Running in 94b70a288b87 [2022-07-11T17:29:08.173Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz [2022-07-11T17:29:09.159Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz [2022-07-11T17:29:10.146Z] OK: 224 MiB in 56 packages [2022-07-11T17:29:11.147Z] Removing intermediate container 94b70a288b87 [2022-07-11T17:29:11.147Z] ---> 2c3b32694cdd [2022-07-11T17:29:11.147Z] Step 8/25 : WORKDIR /device-rest-go [2022-07-11T17:29:11.147Z] ---> Running in 3fb0575e6936 [2022-07-11T17:29:11.424Z] Removing intermediate container 3fb0575e6936 [2022-07-11T17:29:11.424Z] ---> 171aff9d955c [2022-07-11T17:29:11.424Z] Step 9/25 : COPY go.mod vendor* ./ [2022-07-11T17:29:12.031Z] ---> 6d149153733b [2022-07-11T17:29:12.031Z] Step 10/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-07-11T17:29:12.306Z] ---> Running in e7a4fa21ff87 [2022-07-11T17:29:14.305Z] Removing intermediate container e7a4fa21ff87 [2022-07-11T17:29:14.305Z] ---> 6d47cf59fef8 [2022-07-11T17:29:14.305Z] Step 11/25 : COPY . . [2022-07-11T17:29:14.911Z] ---> cc2df35fc1c4 [2022-07-11T17:29:14.911Z] Step 12/25 : RUN $MAKE [2022-07-11T17:29:15.187Z] ---> Running in eded0fa58b43 [2022-07-11T17:29:16.181Z] CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-linkmode=external -X github.com/edgexfoundry/device-rest-go.Version=0.0.0" -trimpath -mod=readonly -buildmode=pie -o cmd/device-rest ./cmd [2022-07-11T17:31:38.117Z] Removing intermediate container eded0fa58b43 [2022-07-11T17:31:38.117Z] ---> ad9e7dc11152 [2022-07-11T17:31:38.117Z] Step 13/25 : FROM alpine:3.16 [2022-07-11T17:31:38.117Z] 3.16: Pulling from library/alpine [2022-07-11T17:31:38.117Z] b3c136eddcbf: Pulling fs layer [2022-07-11T17:31:38.117Z] b3c136eddcbf: Verifying Checksum [2022-07-11T17:31:38.117Z] b3c136eddcbf: Download complete [2022-07-11T17:31:38.117Z] b3c136eddcbf: Pull complete [2022-07-11T17:31:38.117Z] Digest: sha256:686d8c9dfa6f3ccfc8230bc3178d23f84eeaf7e457f36f271ab1acc53015037c [2022-07-11T17:31:38.117Z] Status: Downloaded newer image for alpine:3.16 [2022-07-11T17:31:38.117Z] ---> 6e30ab57aeee [2022-07-11T17:31:38.117Z] Step 14/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' [2022-07-11T17:31:38.117Z] ---> Running in 2dab9a350c5d [2022-07-11T17:31:38.117Z] Removing intermediate container 2dab9a350c5d [2022-07-11T17:31:38.117Z] ---> e3cce1ffe9e0 [2022-07-11T17:31:38.117Z] Step 15/25 : LABEL Name=device-rest-go Version=${VERSION} [2022-07-11T17:31:38.117Z] ---> Running in 4e980afc42cb [2022-07-11T17:31:38.117Z] Removing intermediate container 4e980afc42cb [2022-07-11T17:31:38.117Z] ---> cf78006939c9 [2022-07-11T17:31:38.117Z] Step 16/25 : RUN apk add --update --no-cache zeromq dumb-init [2022-07-11T17:31:38.117Z] ---> Running in 52a1c3867df8 [2022-07-11T17:31:38.117Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2022-07-11T17:31:38.396Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2022-07-11T17:31:39.388Z] (1/6) Installing dumb-init (1.2.5-r1) [2022-07-11T17:31:39.388Z] (2/6) Installing libgcc (11.2.1_git20220219-r2) [2022-07-11T17:31:39.388Z] (3/6) Installing libsodium (1.0.18-r0) [2022-07-11T17:31:39.388Z] (4/6) Installing libstdc++ (11.2.1_git20220219-r2) [2022-07-11T17:31:39.388Z] (5/6) Installing libzmq (4.3.4-r0) [2022-07-11T17:31:39.388Z] (6/6) Installing zeromq (4.3.4-r0) [2022-07-11T17:31:39.389Z] Executing busybox-1.35.0-r13.trigger [2022-07-11T17:31:39.663Z] OK: 8 MiB in 20 packages [2022-07-11T17:31:40.645Z] Removing intermediate container 52a1c3867df8 [2022-07-11T17:31:40.645Z] ---> 08639c51ae9a [2022-07-11T17:31:40.645Z] Step 17/25 : COPY --from=builder /device-rest-go/cmd / [2022-07-11T17:31:42.085Z] ---> cd91decf6269 [2022-07-11T17:31:42.085Z] Step 18/25 : COPY --from=builder /device-rest-go/LICENSE / [2022-07-11T17:31:42.681Z] ---> 8ca49b6a5af4 [2022-07-11T17:31:42.681Z] Step 19/25 : COPY --from=builder /device-rest-go/Attribution.txt / [2022-07-11T17:31:43.282Z] ---> 76726f949f4b [2022-07-11T17:31:43.282Z] Step 20/25 : EXPOSE 59986 [2022-07-11T17:31:43.282Z] ---> Running in 0db6d8919d98 [2022-07-11T17:31:43.884Z] Removing intermediate container 0db6d8919d98 [2022-07-11T17:31:43.884Z] ---> 0f77c519c3a9 [2022-07-11T17:31:43.884Z] Step 21/25 : ENTRYPOINT ["/device-rest"] [2022-07-11T17:31:43.884Z] ---> Running in 7629e5b87201 [2022-07-11T17:31:44.164Z] Removing intermediate container 7629e5b87201 [2022-07-11T17:31:44.164Z] ---> ef12f30e86d3 [2022-07-11T17:31:44.164Z] Step 22/25 : CMD ["--cp=consul://edgex-core-consul:8500", "--confdir=/res", "--registry"] [2022-07-11T17:31:44.164Z] ---> Running in 8c41d7e5c112 [2022-07-11T17:31:44.444Z] Removing intermediate container 8c41d7e5c112 [2022-07-11T17:31:44.444Z] ---> 6d5e012194ad [2022-07-11T17:31:44.444Z] Step 23/25 : LABEL arch=arm64 [2022-07-11T17:31:44.722Z] ---> Running in 5cc1f804ac2f [2022-07-11T17:31:44.997Z] Removing intermediate container 5cc1f804ac2f [2022-07-11T17:31:44.997Z] ---> 7d737090c7b2 [2022-07-11T17:31:44.997Z] Step 24/25 : LABEL git_sha=bfb0a2ba682bc9e23f4c8d8e0cfb2d8556a057c7 [2022-07-11T17:31:44.997Z] ---> Running in dfe86fd3b5b1 [2022-07-11T17:31:45.600Z] Removing intermediate container dfe86fd3b5b1 [2022-07-11T17:31:45.600Z] ---> 2833ee40466f [2022-07-11T17:31:45.600Z] Step 25/25 : LABEL version=0.0.0 [2022-07-11T17:31:45.600Z] ---> Running in ab3e88c55539 [2022-07-11T17:31:45.873Z] Removing intermediate container ab3e88c55539 [2022-07-11T17:31:45.873Z] ---> dd48c53fd5d7 [2022-07-11T17:31:45.873Z] [Warning] One or more build-args [ARCH] were not consumed [2022-07-11T17:31:45.873Z] Successfully built dd48c53fd5d7 [2022-07-11T17:31:45.873Z] Successfully tagged device-rest-arm64:latest [Pipeline] } [Pipeline] // withEnv [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] withEnv [Pipeline] { [Pipeline] sh [2022-07-11T17:31:46.324Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-07-11T17:31:46.324Z] [2022-07-11T17:31:46.324Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-07-11T17:31:46.683Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-07-11T17:31:46.959Z] arm64: Pulling from edgex-lftools-log-publisher [2022-07-11T17:31:46.959Z] 8998bd30e6a1: Pulling fs layer [2022-07-11T17:31:46.959Z] 04944245beec: Pulling fs layer [2022-07-11T17:31:46.959Z] 699f458cf7ca: Pulling fs layer [2022-07-11T17:31:46.959Z] 765212b225bb: Pulling fs layer [2022-07-11T17:31:46.959Z] f23df028b6ca: Pulling fs layer [2022-07-11T17:31:46.959Z] d65c8cfc05b1: Pulling fs layer [2022-07-11T17:31:46.959Z] 2437ff75d9bd: Pulling fs layer [2022-07-11T17:31:46.959Z] 765212b225bb: Waiting [2022-07-11T17:31:46.959Z] f23df028b6ca: Waiting [2022-07-11T17:31:46.959Z] d65c8cfc05b1: Waiting [2022-07-11T17:31:46.959Z] 2437ff75d9bd: Waiting [2022-07-11T17:31:46.959Z] 04944245beec: Verifying Checksum [2022-07-11T17:31:46.959Z] 04944245beec: Download complete [2022-07-11T17:31:46.959Z] 765212b225bb: Verifying Checksum [2022-07-11T17:31:46.959Z] 765212b225bb: Download complete [2022-07-11T17:31:46.959Z] f23df028b6ca: Verifying Checksum [2022-07-11T17:31:46.959Z] f23df028b6ca: Download complete [2022-07-11T17:31:47.234Z] d65c8cfc05b1: Verifying Checksum [2022-07-11T17:31:47.234Z] d65c8cfc05b1: Download complete [2022-07-11T17:31:47.234Z] 699f458cf7ca: Verifying Checksum [2022-07-11T17:31:47.234Z] 699f458cf7ca: Download complete [2022-07-11T17:31:47.512Z] 8998bd30e6a1: Verifying Checksum [2022-07-11T17:31:47.512Z] 8998bd30e6a1: Download complete [2022-07-11T17:31:50.148Z] 2437ff75d9bd: Verifying Checksum [2022-07-11T17:31:50.148Z] 2437ff75d9bd: Download complete [2022-07-11T17:31:52.128Z] 8998bd30e6a1: Pull complete [2022-07-11T17:31:52.403Z] 04944245beec: Pull complete [2022-07-11T17:31:53.846Z] 699f458cf7ca: Pull complete [2022-07-11T17:31:54.120Z] 765212b225bb: Pull complete [2022-07-11T17:31:55.112Z] f23df028b6ca: Pull complete [2022-07-11T17:31:55.112Z] d65c8cfc05b1: Pull complete [2022-07-11T17:32:10.198Z] 2437ff75d9bd: Pull complete [2022-07-11T17:32:10.198Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2022-07-11T17:32:10.198Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-07-11T17:32:10.198Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-07-11T17:32:10.455Z] prd-ubuntu20.04-docker-arm64-4c-16g-19310 does not seem to be running inside a container [2022-07-11T17:32:10.550Z] $ 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/4 -v /w/workspace/device-rest-go/4:/w/workspace/device-rest-go/4:rw,z -v /w/workspace/device-rest-go/4@tmp:/w/workspace/device-rest-go/4@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:arm64 cat [2022-07-11T17:32:13.457Z] $ docker top 5ad8cab844964cb11255ade19980e0adebb32ee57e46e44d3aa75a3c77f78d26 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-07-11T17:32:14.420Z] ---> job-cost.sh [2022-07-11T17:32:14.697Z] lf-activate-venv: SKIPPING [2022-07-11T17:32:14.697Z] INFO: No Stack... [2022-07-11T17:32:14.977Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2022-07-11T17:32:15.964Z] INFO: Archiving Costs [Pipeline] sh [2022-07-11T17:32:16.633Z] + cat /w/workspace/device-rest-go/4/archives/cost.csv [2022-07-11T17:32:16.634Z] + cut -d, -f6 [Pipeline] lock [2022-07-11T17:32:16.702Z] Trying to acquire lock on [jenkins-edgexfoundry-device-rest-go-PR-204-4-stack-cost] [2022-07-11T17:32:16.708Z] Resource [jenkins-edgexfoundry-device-rest-go-PR-204-4-stack-cost] did not exist. Created. [2022-07-11T17:32:16.708Z] Lock acquired on [jenkins-edgexfoundry-device-rest-go-PR-204-4-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-07-11T17:32:17.403Z] /w/workspace/device-rest-go/4@tmp/durable-656de332/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2022-07-11T17:32:18.088Z] + echo total: 0.10999999940395355 [Pipeline] stash [2022-07-11T17:32:18.117Z] Warning: overwriting stash ‘stack-cost’ [2022-07-11T17:32:18.169Z] Stashed 1 file(s) [Pipeline] } [2022-07-11T17:32:18.179Z] Lock released on resource [jenkins-edgexfoundry-device-rest-go-PR-204-4-stack-cost] [Pipeline] // lock [Pipeline] } [2022-07-11T17:32:18.207Z] $ docker stop --time=1 5ad8cab844964cb11255ade19980e0adebb32ee57e46e44d3aa75a3c77f78d26 [2022-07-11T17:32:19.762Z] $ docker rm -f 5ad8cab844964cb11255ade19980e0adebb32ee57e46e44d3aa75a3c77f78d26 [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 [2022-07-11T17:32:20.213Z] provisioning config files... [2022-07-11T17:32:20.221Z] copy managed file [device-rest-go-codecov-token] to file:/w/workspace/gexfoundry_device-rest-go_PR-204@tmp/config4166488194405598355tmp [Pipeline] { [Pipeline] sh [2022-07-11T17:32:20.516Z] + set +x [2022-07-11T17:32:20.516Z] + + bash -s -- [2022-07-11T17:32:20.516Z] curl -s https://codecov.io/bash [2022-07-11T17:32:20.516Z] [2022-07-11T17:32:20.516Z] _____ _ [2022-07-11T17:32:20.516Z] / ____| | | [2022-07-11T17:32:20.516Z] | | ___ __| | ___ ___ _____ __ [2022-07-11T17:32:20.516Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2022-07-11T17:32:20.516Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2022-07-11T17:32:20.516Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2022-07-11T17:32:20.516Z] Bash-1.0.6 [2022-07-11T17:32:20.516Z] [2022-07-11T17:32:20.516Z] [2022-07-11T17:32:20.516Z] ==> git version 2.25.1 found [2022-07-11T17:32:20.516Z] ==> curl 7.68.0 (x86_64-pc-linux-gnu) libcurl/7.68.0 OpenSSL/1.1.1f zlib/1.2.11 brotli/1.0.7 libidn2/2.2.0 libpsl/0.21.0 (+libidn2/2.2.0) libssh/0.9.3/openssl/zlib nghttp2/1.40.0 librtmp/2.3 [2022-07-11T17:32:20.516Z] Release-Date: 2020-01-08 [2022-07-11T17:32:20.516Z] Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp [2022-07-11T17:32:20.516Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2022-07-11T17:32:20.516Z] ==> Jenkins CI detected. [2022-07-11T17:32:20.516Z] current dir:  /w/workspace/gexfoundry_device-rest-go_PR-204 [2022-07-11T17:32:20.516Z] project root: . [2022-07-11T17:32:20.516Z] --> token set from env [2022-07-11T17:32:20.516Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2022-07-11T17:32:20.516Z] ==> Running gcov in . (disable via -X gcov) [2022-07-11T17:32:20.516Z] ==> Python coveragepy not found [2022-07-11T17:32:20.516Z] ==> Searching for coverage reports in: [2022-07-11T17:32:20.516Z] + . [2022-07-11T17:32:20.516Z] -> Found 1 reports [2022-07-11T17:32:20.516Z] ==> Detecting git/mercurial file structure [2022-07-11T17:32:20.516Z] ==> Reading reports [2022-07-11T17:32:20.516Z] + ./coverage.out bytes=9355 [2022-07-11T17:32:20.516Z] ==> Appending adjustments [2022-07-11T17:32:20.516Z] https://docs.codecov.io/docs/fixing-reports [2022-07-11T17:32:20.776Z] + Found adjustments [2022-07-11T17:32:20.776Z] ==> Gzipping contents [2022-07-11T17:32:20.776Z] 4.0K /tmp/codecov.v3fk2G.gz [2022-07-11T17:32:20.776Z] ==> Uploading reports [2022-07-11T17:32:20.776Z] url: https://codecov.io [2022-07-11T17:32:20.776Z] query: branch=PR-204&commit=bfb0a2ba682bc9e23f4c8d8e0cfb2d8556a057c7&build=4&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-rest-go%2Fjob%2FPR-204%2F4%2F&name=&tag=&slug=edgexfoundry%2Fdevice-rest-go&service=jenkins&flags=&pr=204&job=&cmd_args= [2022-07-11T17:32:20.776Z] -> Pinging Codecov [2022-07-11T17:32:20.776Z] https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=c51feb23-73ac-4f49-b3d1-d26df23137db&branch=PR-204&commit=bfb0a2ba682bc9e23f4c8d8e0cfb2d8556a057c7&build=4&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-rest-go%2Fjob%2FPR-204%2F4%2F&name=&tag=&slug=edgexfoundry%2Fdevice-rest-go&service=jenkins&flags=&pr=204&job=&cmd_args= [2022-07-11T17:32:21.037Z] -> Uploading to [2022-07-11T17:32:21.037Z] https://storage.googleapis.com/codecov/v4/raw/2022-07-11/4E5D53B4F1F92C436F7061BF334D961C/bfb0a2ba682bc9e23f4c8d8e0cfb2d8556a057c7/e4c64427-8cea-4ab8-8bbb-03abee2b76eb.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1E5YTIQF4NUDJHIPRXCW6SWPNHIWXR6YCTGFLBKZTWXKPGHK3U3FMCQWA%2F20220711%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20220711T173220Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=640228c3900b7cbbac8aa92e9196e01dacf85682f0700d91f2a0d3f299a5cc8e [2022-07-11T17:32:21.037Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-07-11T17:32:21.037Z] Dload Upload Total Spent Left Speed [2022-07-11T17:32:21.300Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 1758 0 0 100 1758 0 7175 --:--:-- --:--:-- --:--:-- 7175 [2022-07-11T17:32:21.300Z] -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/device-rest-go/commit/bfb0a2ba682bc9e23f4c8d8e0cfb2d8556a057c7 [Pipeline] } [2022-07-11T17:32:21.309Z] 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 [2022-07-11T17:32:21.940Z] + [ -d /w/workspace/gexfoundry_device-rest-go_PR-204/archives ] [2022-07-11T17:32:21.940Z] + ls -al /w/workspace/gexfoundry_device-rest-go_PR-204/archives [2022-07-11T17:32:21.940Z] total 16 [2022-07-11T17:32:21.940Z] drwxr-xr-x 3 root root 4096 Jul 11 17:05 . [2022-07-11T17:32:21.940Z] drwxrwxr-x 10 jenkins jenkins 4096 Jul 11 17:05 .. [2022-07-11T17:32:21.940Z] drwxr-xr-x 2 root root 4096 Jul 11 17:05 cost [2022-07-11T17:32:21.940Z] -rw-r--r-- 1 root root 85 Jul 11 17:05 cost.csv [2022-07-11T17:32:21.940Z] + sudo chown -R jenkins:jenkins /w/workspace/gexfoundry_device-rest-go_PR-204/archives [2022-07-11T17:32:21.940Z] + ls -al /w/workspace/gexfoundry_device-rest-go_PR-204/archives [2022-07-11T17:32:21.940Z] total 16 [2022-07-11T17:32:21.940Z] drwxr-xr-x 3 jenkins jenkins 4096 Jul 11 17:05 . [2022-07-11T17:32:21.940Z] drwxrwxr-x 10 jenkins jenkins 4096 Jul 11 17:05 .. [2022-07-11T17:32:21.940Z] drwxr-xr-x 2 jenkins jenkins 4096 Jul 11 17:05 cost [2022-07-11T17:32:21.940Z] -rw-r--r-- 1 jenkins jenkins 85 Jul 11 17:05 cost.csv [Pipeline] libraryResource [Pipeline] sh [2022-07-11T17:32:22.234Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2022-07-11T17:32:23.100Z] ---> package-listing.sh [2022-07-11T17:32:23.100Z] ++ facter osfamily [2022-07-11T17:32:23.100Z] ++ tr '[:upper:]' '[:lower:]' [2022-07-11T17:32:23.361Z] + OS_FAMILY=debian [2022-07-11T17:32:23.361Z] + workspace=/w/workspace/gexfoundry_device-rest-go_PR-204 [2022-07-11T17:32:23.361Z] + START_PACKAGES=/tmp/packages_start.txt [2022-07-11T17:32:23.361Z] + END_PACKAGES=/tmp/packages_end.txt [2022-07-11T17:32:23.361Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2022-07-11T17:32:23.361Z] + PACKAGES=/tmp/packages_start.txt [2022-07-11T17:32:23.361Z] + '[' /w/workspace/gexfoundry_device-rest-go_PR-204 ']' [2022-07-11T17:32:23.361Z] + PACKAGES=/tmp/packages_end.txt [2022-07-11T17:32:23.361Z] + case "${OS_FAMILY}" in [2022-07-11T17:32:23.361Z] + dpkg -l [2022-07-11T17:32:23.361Z] + grep '^ii' [2022-07-11T17:32:23.361Z] + '[' -f /tmp/packages_start.txt ']' [2022-07-11T17:32:23.361Z] + '[' -f /tmp/packages_end.txt ']' [2022-07-11T17:32:23.361Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2022-07-11T17:32:23.361Z] + '[' /w/workspace/gexfoundry_device-rest-go_PR-204 ']' [2022-07-11T17:32:23.361Z] + mkdir -p /w/workspace/gexfoundry_device-rest-go_PR-204/archives/ [2022-07-11T17:32:23.361Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_device-rest-go_PR-204/archives/ [Pipeline] echo [2022-07-11T17:32:23.373Z] Launching container with: [--privileged -u 0:0 --net host -v /var/log/sysstat:/var/log/sysstat -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/gexfoundry_device-rest-go_PR-204/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2022-07-11T17:32:23.652Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-07-11T17:32:24.221Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-07-11T17:32:24.221Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-07-11T17:32:24.300Z] prd-ubuntu20.04-docker-8c-8g-18876 does not seem to be running inside a container [2022-07-11T17:32:24.339Z] $ docker run -t -d -u 1001:1001 --privileged -u 0:0 --net host -v /var/log/sysstat:/var/log/sysstat -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/gexfoundry_device-rest-go_PR-204/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-204 -v /w/workspace/gexfoundry_device-rest-go_PR-204:/w/workspace/gexfoundry_device-rest-go_PR-204:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-204@tmp:/w/workspace/gexfoundry_device-rest-go_PR-204@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2022-07-11T17:32:24.606Z] $ docker top a2d858fea9961437e473c42f07028a4ed89d3ded246f607530864b2f01e58262 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-07-11T17:32:24.970Z] + touch /tmp/pre-build-complete [Pipeline] sh [2022-07-11T17:32:25.260Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2022-07-11T17:32:25.549Z] + ls /var/log/sa-host [2022-07-11T17:32:25.550Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-07-11T17:32:25.619Z] provisioning config files... [2022-07-11T17:32:25.627Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-rest-go_PR-204@tmp/config2655668864169856670tmp [Pipeline] { [Pipeline] echo [2022-07-11T17:32:25.639Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2022-07-11T17:32:25.927Z] ---> create-netrc.sh [Pipeline] } [2022-07-11T17:32:25.935Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2022-07-11T17:32:26.261Z] ---> python-tools-install.sh [Pipeline] echo [2022-07-11T17:32:26.270Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2022-07-11T17:32:26.556Z] ---> sudo-logs.sh [2022-07-11T17:32:26.556Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2022-07-11T17:32:26.587Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2022-07-11T17:32:26.871Z] ---> job-cost.sh [2022-07-11T17:32:26.871Z] lf-activate-venv: SKIPPING [2022-07-11T17:32:26.871Z] DEBUG: total: 0.2199999988079071 [2022-07-11T17:32:26.871Z] INFO: Retrieving Stack Cost... [2022-07-11T17:32:27.131Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2022-07-11T17:32:27.701Z] INFO: Archiving Costs [Pipeline] echo [2022-07-11T17:32:27.713Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2022-07-11T17:32:27.998Z] ---> logs-deploy.sh [2022-07-11T17:32:27.998Z] lf-activate-venv: SKIPPING [2022-07-11T17:32:27.998Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-rest-go/PR-204/4 [2022-07-11T17:32:27.998Z] INFO: archiving workspace using pattern(s): [2022-07-11T17:32:28.941Z] Archives upload complete. [2022-07-11T17:32:29.203Z] INFO: archiving logs to Nexus