Pull request #202 opened Connecting to https://api.github.com using edgex-jenkins github personal access token Connecting to https://api.github.com to check permissions of obtain list of MonicaisHer for edgexfoundry/device-rest-go Loading trusted files from base branch main at 2d7dd7bd9c9b446393cafd64d3a18985a73e6b07 rather than 98f032b9f43567c2f39d7bb2c341238a945ef2ed Obtained Jenkinsfile from 2d7dd7bd9c9b446393cafd64d3a18985a73e6b07 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-ssh15146699648642834387.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-ssh17470353201266537934.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 Cloning the remote Git repository Cloning with configured refspecs honoured and with tags Cloning repository git@github.com:edgexfoundry/edgex-global-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/device-rest-go/branches/PR-202/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-rest-go/branches/PR-202/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh11938583179248184588.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching with tags Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-rest-go/branches/PR-202/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh11314940665623749169.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 > git --version # timeout=10 > git --version # 'git version 2.16.6' Excluding src/test/ from checkout of git git@github.com:edgexfoundry/edgex-global-pipelines.git so that 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-ssh10344465205316177749.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 Cloning the remote Git repository Cloning with configured refspecs honoured and without tags Cloning repository git@github.com:lfit/releng-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/device-rest-go/branches/PR-202/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e # timeout=10 Fetching upstream changes from git@github.com:lfit/releng-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-rest-go/branches/PR-202/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh1609946408086679403.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 Avoid second fetch Checking out Revision 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 > git --version # timeout=10 > git --version # 'git version 2.16.6' fatal: bad object 2c7614b56cb57ece5b5bdf52d827492071d4cc62 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-ubuntu20.04-docker-8c-8g-16321’ is offline Running on prd-ubuntu20.04-docker-8c-8g-16323 in /w/workspace/gexfoundry_device-rest-go_PR-202 [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-202 # 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 2d7dd7bd9c9b446393cafd64d3a18985a73e6b07 into PR head commit 98f032b9f43567c2f39d7bb2c341238a945ef2ed Merge succeeded, producing 98f032b9f43567c2f39d7bb2c341238a945ef2ed Checking out Revision 98f032b9f43567c2f39d7bb2c341238a945ef2ed (PR-202) > 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/202/head:refs/remotes/origin/PR-202 +refs/heads/main:refs/remotes/origin/main # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 98f032b9f43567c2f39d7bb2c341238a945ef2ed # 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 2d7dd7bd9c9b446393cafd64d3a18985a73e6b07 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 98f032b9f43567c2f39d7bb2c341238a945ef2ed # timeout=10 Commit message: "refactor(snap): edgex-snap-hooks related upgrade" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.25.1' fatal: bad object 2c7614b56cb57ece5b5bdf52d827492071d4cc62 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2022-06-29T07:19:50.579Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2022-06-29T07:19:50.830Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2022-06-29T07:19:50.925Z] ========================================================= [2022-06-29T07:19:50.925Z] EdgeX Global Pipelines Version Info [2022-06-29T07:19:50.925Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2022-06-29T07:19:51.711Z] ------------------- [2022-06-29T07:19:51.711Z] stable info: [2022-06-29T07:19:51.711Z] ------------------- [2022-06-29T07:19:51.711Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2022-06-29T07:19:51.711Z] Commit SHA: 2c7614b56cb57ece5b5bdf52d827492071d4cc62 [2022-06-29T07:19:51.711Z] Message: update stable to v1.0.234 [2022-06-29T07:19:52.285Z] ------------------- [2022-06-29T07:19:52.285Z] experimental info: [2022-06-29T07:19:52.285Z] ------------------- [2022-06-29T07:19:52.285Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2022-06-29T07:19:52.285Z] Commit SHA: 2c7614b56cb57ece5b5bdf52d827492071d4cc62 [2022-06-29T07:19:52.285Z] Message: update experimental to v1.0.234 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2022-06-29T07:19:52.709Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-rest-go-settings [Pipeline] echo [2022-06-29T07:19:52.749Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-rest-go [Pipeline] echo [2022-06-29T07:19:52.784Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2022-06-29T07:19:52.824Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2022-06-29T07:19:52.862Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2022-06-29T07:19:52.902Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.17 [Pipeline] echo [2022-06-29T07:19:52.946Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2022-06-29T07:19:52.988Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2022-06-29T07:19:53.027Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2022-06-29T07:19:53.069Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2022-06-29T07:19:53.110Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2022-06-29T07:19:53.150Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-rest [Pipeline] echo [2022-06-29T07:19:53.188Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2022-06-29T07:19:53.228Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2022-06-29T07:19:53.268Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2022-06-29T07:19:53.311Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2022-06-29T07:19:53.354Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2022-06-29T07:19:53.398Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2022-06-29T07:19:53.442Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2022-06-29T07:19:53.482Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2022-06-29T07:19:53.530Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2022-06-29T07:19:53.579Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2022-06-29T07:19:53.621Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2022-06-29T07:19:53.662Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2022-06-29T07:19:53.702Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2022-06-29T07:19:53.745Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2022-06-29T07:19:53.788Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2022-06-29T07:19:53.831Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-202 [Pipeline] echo [2022-06-29T07:19:53.870Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-202 [Pipeline] echo [2022-06-29T07:19:53.913Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-202 [Pipeline] echo [2022-06-29T07:19:53.956Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 98f032b9f43567c2f39d7bb2c341238a945ef2ed [Pipeline] echo [2022-06-29T07:19:53.994Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 98f032b [Pipeline] echo [2022-06-29T07:19:54.035Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-06-29T07:19:54.150Z] provisioning config files... [2022-06-29T07:19:54.169Z] copy managed file [device-rest-go-settings] to file:/w/workspace/gexfoundry_device-rest-go_PR-202@tmp/config6803493887404497406tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-06-29T07:19:54.515Z] ---> docker-login.sh [2022-06-29T07:19:54.515Z] nexus3.edgexfoundry.org:10001 [2022-06-29T07:19:54.776Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-29T07:19:54.776Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-29T07:19:54.776Z] Configure a credential helper to remove this warning. See [2022-06-29T07:19:54.776Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-29T07:19:54.776Z] [2022-06-29T07:19:54.776Z] Login Succeeded [2022-06-29T07:19:54.776Z] nexus3.edgexfoundry.org:10002 [2022-06-29T07:19:55.044Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-29T07:19:55.044Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-29T07:19:55.044Z] Configure a credential helper to remove this warning. See [2022-06-29T07:19:55.044Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-29T07:19:55.044Z] [2022-06-29T07:19:55.044Z] Login Succeeded [2022-06-29T07:19:55.044Z] nexus3.edgexfoundry.org:10003 [2022-06-29T07:19:55.044Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-29T07:19:55.044Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-29T07:19:55.044Z] Configure a credential helper to remove this warning. See [2022-06-29T07:19:55.044Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-29T07:19:55.044Z] [2022-06-29T07:19:55.044Z] Login Succeeded [2022-06-29T07:19:55.044Z] nexus3.edgexfoundry.org:10004 [2022-06-29T07:19:55.307Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-29T07:19:55.307Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-29T07:19:55.307Z] Configure a credential helper to remove this warning. See [2022-06-29T07:19:55.307Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-29T07:19:55.307Z] [2022-06-29T07:19:55.307Z] Login Succeeded [2022-06-29T07:19:55.307Z] docker.io [2022-06-29T07:19:55.307Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-29T07:19:55.882Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-29T07:19:55.882Z] Configure a credential helper to remove this warning. See [2022-06-29T07:19:55.882Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-29T07:19:55.882Z] [2022-06-29T07:19:55.882Z] Login Succeeded [2022-06-29T07:19:55.882Z] ---> docker-login.sh ends [Pipeline] } [2022-06-29T07:19:55.913Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2022-06-29T07:19:56.535Z] + git rev-list -1 --merges 98f032b9f43567c2f39d7bb2c341238a945ef2ed~1..98f032b9f43567c2f39d7bb2c341238a945ef2ed [Pipeline] echo [2022-06-29T07:19:56.584Z] -----------> git rev-list -1 --merges 98f032b9f43567c2f39d7bb2c341238a945ef2ed~1..98f032b9f43567c2f39d7bb2c341238a945ef2ed 98f032b9f43567c2f39d7bb2c341238a945ef2ed [false] [Pipeline] sh [2022-06-29T07:19:56.894Z] + git log --format=format:%s -1 98f032b9f43567c2f39d7bb2c341238a945ef2ed [Pipeline] echo [2022-06-29T07:19:56.926Z] ========================================================= [2022-06-29T07:19:56.926Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2022-06-29T07:19:56.926Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-06-29T07:19:57.355Z] + git log --format=format:%s -1 98f032b9f43567c2f39d7bb2c341238a945ef2ed [Pipeline] echo [2022-06-29T07:19:57.386Z] [semverPrep] GIT_COMMIT: 98f032b9f43567c2f39d7bb2c341238a945ef2ed, Commit Message: refactor(snap): edgex-snap-hooks related upgrade [Pipeline] echo [2022-06-29T07:19:57.418Z] [semverPrep] This is not a build commit. [Pipeline] sh [2022-06-29T07:19:57.800Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2022-06-29T07:19:57.800Z] + grep -v github /etc/ssh/ssh_known_hosts [2022-06-29T07:19:57.800Z] + [ -e /tmp/ssh_known_hosts ] [2022-06-29T07:19:57.800Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2022-06-29T07:19:57.800Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2022-06-29T07:19:57.800Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2022-06-29T07:19:57.800Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-29T07:19:58.233Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-06-29T07:19:58.233Z] [2022-06-29T07:19:58.233Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-29T07:19:58.612Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-06-29T07:19:58.612Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2022-06-29T07:19:58.612Z] 42c077c10790: Pulling fs layer [2022-06-29T07:19:58.612Z] f63e77b7563a: Pulling fs layer [2022-06-29T07:19:58.612Z] bd5fdadae976: Pulling fs layer [2022-06-29T07:19:58.612Z] 205491f53016: Pulling fs layer [2022-06-29T07:19:58.612Z] df18705c85c3: Pulling fs layer [2022-06-29T07:19:58.612Z] bdb3f477010e: Pulling fs layer [2022-06-29T07:19:58.612Z] c8a8fc8e1c8f: Pulling fs layer [2022-06-29T07:19:58.612Z] 2c6e9b1d212d: Pulling fs layer [2022-06-29T07:19:58.612Z] bdb8f0575790: Pulling fs layer [2022-06-29T07:19:58.612Z] 386e3cb2ff24: Pulling fs layer [2022-06-29T07:19:58.612Z] 2343380bae48: Pulling fs layer [2022-06-29T07:19:58.612Z] 205491f53016: Waiting [2022-06-29T07:19:58.612Z] df18705c85c3: Waiting [2022-06-29T07:19:58.612Z] bdb3f477010e: Waiting [2022-06-29T07:19:58.612Z] 386e3cb2ff24: Waiting [2022-06-29T07:19:58.612Z] c8a8fc8e1c8f: Waiting [2022-06-29T07:19:58.612Z] 2343380bae48: Waiting [2022-06-29T07:19:58.612Z] f63e77b7563a: Download complete [2022-06-29T07:19:58.612Z] 205491f53016: Verifying Checksum [2022-06-29T07:19:58.612Z] 205491f53016: Download complete [2022-06-29T07:19:58.872Z] bd5fdadae976: Verifying Checksum [2022-06-29T07:19:58.872Z] bd5fdadae976: Download complete [2022-06-29T07:19:58.872Z] df18705c85c3: Verifying Checksum [2022-06-29T07:19:58.872Z] df18705c85c3: Download complete [2022-06-29T07:19:58.872Z] bdb3f477010e: Download complete [2022-06-29T07:19:58.872Z] 2c6e9b1d212d: Verifying Checksum [2022-06-29T07:19:58.872Z] 2c6e9b1d212d: Download complete [2022-06-29T07:19:58.872Z] bdb8f0575790: Verifying Checksum [2022-06-29T07:19:58.872Z] bdb8f0575790: Download complete [2022-06-29T07:19:58.872Z] 386e3cb2ff24: Verifying Checksum [2022-06-29T07:19:58.872Z] 386e3cb2ff24: Download complete [2022-06-29T07:19:58.872Z] 2343380bae48: Verifying Checksum [2022-06-29T07:19:58.872Z] 2343380bae48: Download complete [2022-06-29T07:19:58.872Z] 42c077c10790: Verifying Checksum [2022-06-29T07:19:58.872Z] 42c077c10790: Download complete [2022-06-29T07:19:59.132Z] c8a8fc8e1c8f: Verifying Checksum [2022-06-29T07:20:00.515Z] 42c077c10790: Pull complete [2022-06-29T07:20:00.515Z] f63e77b7563a: Pull complete [2022-06-29T07:20:01.086Z] bd5fdadae976: Pull complete [2022-06-29T07:20:01.086Z] 205491f53016: Pull complete [2022-06-29T07:20:01.348Z] df18705c85c3: Pull complete [2022-06-29T07:20:01.611Z] bdb3f477010e: Pull complete [2022-06-29T07:20:03.533Z] c8a8fc8e1c8f: Pull complete [2022-06-29T07:20:03.533Z] 2c6e9b1d212d: Pull complete [2022-06-29T07:20:03.794Z] bdb8f0575790: Pull complete [2022-06-29T07:20:03.794Z] 386e3cb2ff24: Pull complete [2022-06-29T07:20:03.794Z] 2343380bae48: Pull complete [2022-06-29T07:20:03.794Z] Digest: sha256:c3bf284c02da7271302b7a373f1d48320b54229aa5119b2a29c7f8015e6a9264 [2022-06-29T07:20:03.794Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-06-29T07:20:03.794Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-06-29T07:20:04.024Z] prd-ubuntu20.04-docker-8c-8g-16323 does not seem to be running inside a container [2022-06-29T07:20:04.063Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-rest-go_PR-202 -v /w/workspace/gexfoundry_device-rest-go_PR-202:/w/workspace/gexfoundry_device-rest-go_PR-202:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-202@tmp:/w/workspace/gexfoundry_device-rest-go_PR-202@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 ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2022-06-29T07:20:05.648Z] $ docker top 7c7c3a421ea149b45fc8a870e98599d2c6ddac556aa7649032386d9a4b5f6bb1 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2022-06-29T07:20:05.849Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-06-29T07:20:05.850Z] [ssh-agent] Looking for ssh-agent implementation... [2022-06-29T07:20:05.990Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-06-29T07:20:05.992Z] $ docker exec 7c7c3a421ea149b45fc8a870e98599d2c6ddac556aa7649032386d9a4b5f6bb1 ssh-agent [2022-06-29T07:20:06.141Z] SSH_AUTH_SOCK=/tmp/ssh-UmJuA21iC73z/agent.34 [2022-06-29T07:20:06.141Z] SSH_AGENT_PID=41 [2022-06-29T07:20:06.149Z] Running ssh-add (command line suppressed) [2022-06-29T07:20:06.265Z] Identity added: /w/workspace/gexfoundry_device-rest-go_PR-202@tmp/private_key_7876483843354710396.key (/w/workspace/gexfoundry_device-rest-go_PR-202@tmp/private_key_7876483843354710396.key) [2022-06-29T07:20:06.283Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-06-29T07:20:06.621Z] + git tag --points-at HEAD [Pipeline] } [2022-06-29T07:20:06.644Z] $ docker exec --env ******** --env ******** 7c7c3a421ea149b45fc8a870e98599d2c6ddac556aa7649032386d9a4b5f6bb1 ssh-agent -k [2022-06-29T07:20:06.768Z] unset SSH_AUTH_SOCK; [2022-06-29T07:20:06.768Z] unset SSH_AGENT_PID; [2022-06-29T07:20:06.768Z] echo Agent pid 41 killed; [2022-06-29T07:20:06.783Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2022-06-29T07:20:06.864Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-06-29T07:20:06.864Z] [ssh-agent] Looking for ssh-agent implementation... [2022-06-29T07:20:07.013Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-06-29T07:20:07.014Z] $ docker exec 7c7c3a421ea149b45fc8a870e98599d2c6ddac556aa7649032386d9a4b5f6bb1 ssh-agent [2022-06-29T07:20:07.196Z] SSH_AUTH_SOCK=/tmp/ssh-aEUvapSGB0Q9/agent.73 [2022-06-29T07:20:07.196Z] SSH_AGENT_PID=80 [2022-06-29T07:20:07.202Z] Running ssh-add (command line suppressed) [2022-06-29T07:20:07.345Z] Identity added: /w/workspace/gexfoundry_device-rest-go_PR-202@tmp/private_key_6508680076186495181.key (/w/workspace/gexfoundry_device-rest-go_PR-202@tmp/private_key_6508680076186495181.key) [2022-06-29T07:20:07.368Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-06-29T07:20:07.698Z] + git semver init [2022-06-29T07:20:07.958Z] 2022-06-29 07:20:07,922 [run_init] DEBUG init version:0.0.0 force:False [2022-06-29T07:20:07.958Z] 2022-06-29 07:20:07,922 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/gexfoundry_device-rest-go_PR-202/.semver [2022-06-29T07:20:07.958Z] 2022-06-29 07:20:07,923 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-rest-go.git /w/workspace/gexfoundry_device-rest-go_PR-202/.semver [2022-06-29T07:20:07.958Z] 2022-06-29 07:20:07,923 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-rest-go.git', '/w/workspace/gexfoundry_device-rest-go_PR-202/.semver'], cwd=/w/workspace/gexfoundry_device-rest-go_PR-202, universal_newlines=False, shell=None, istream=None) [2022-06-29T07:20:08.905Z] 2022-06-29 07:20:08,809 [append_file] DEBUG append to file:/w/workspace/gexfoundry_device-rest-go_PR-202/.git/info/exclude [2022-06-29T07:20:08.906Z] 2022-06-29 07:20:08,810 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/gexfoundry_device-rest-go_PR-202/.semver/PR-202 with force:False [2022-06-29T07:20:08.906Z] 2022-06-29 07:20:08,810 [write_file] DEBUG write to file:/w/workspace/gexfoundry_device-rest-go_PR-202/.semver/PR-202 [2022-06-29T07:20:08.906Z] 2022-06-29 07:20:08,814 [execute] INFO git cat-file --batch-check [2022-06-29T07:20:08.906Z] 2022-06-29 07:20:08,814 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/gexfoundry_device-rest-go_PR-202/.semver, universal_newlines=False, shell=None, istream=) [2022-06-29T07:20:08.906Z] 2022-06-29 07:20:08,820 [execute] INFO git cat-file --batch [2022-06-29T07:20:08.906Z] 2022-06-29 07:20:08,821 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/gexfoundry_device-rest-go_PR-202/.semver, universal_newlines=False, shell=None, istream=) [2022-06-29T07:20:08.906Z] 2022-06-29 07:20:08,827 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-rest-go_PR-202/.semver/PR-202 [2022-06-29T07:20:08.906Z] 0.0.0 [Pipeline] } [2022-06-29T07:20:08.931Z] $ docker exec --env ******** --env ******** 7c7c3a421ea149b45fc8a870e98599d2c6ddac556aa7649032386d9a4b5f6bb1 ssh-agent -k [2022-06-29T07:20:09.083Z] unset SSH_AUTH_SOCK; [2022-06-29T07:20:09.083Z] unset SSH_AGENT_PID; [2022-06-29T07:20:09.084Z] echo Agent pid 80 killed; [2022-06-29T07:20:09.094Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2022-06-29T07:20:09.516Z] + git semver [Pipeline] } [2022-06-29T07:20:09.804Z] $ docker stop --time=1 7c7c3a421ea149b45fc8a870e98599d2c6ddac556aa7649032386d9a4b5f6bb1 [2022-06-29T07:20:11.122Z] $ docker rm -f 7c7c3a421ea149b45fc8a870e98599d2c6ddac556aa7649032386d9a4b5f6bb1 [Pipeline] // withDockerContainer [Pipeline] sh [2022-06-29T07:20:11.544Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2022-06-29T07:20:11.858Z] Stashed 1 file(s) [Pipeline] echo [2022-06-29T07:20:11.880Z] [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-06-29T07:20:12.420Z] provisioning config files... [2022-06-29T07:20:12.431Z] copy managed file [device-rest-go-settings] to file:/w/workspace/gexfoundry_device-rest-go_PR-202@tmp/config4743865805990777875tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-06-29T07:20:12.777Z] ---> docker-login.sh [2022-06-29T07:20:12.777Z] nexus3.edgexfoundry.org:10001 [2022-06-29T07:20:12.777Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-29T07:20:12.777Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-29T07:20:12.777Z] Configure a credential helper to remove this warning. See [2022-06-29T07:20:12.777Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-29T07:20:12.777Z] [2022-06-29T07:20:12.777Z] Login Succeeded [2022-06-29T07:20:12.777Z] nexus3.edgexfoundry.org:10002 [2022-06-29T07:20:12.777Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-29T07:20:13.041Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-29T07:20:13.041Z] Configure a credential helper to remove this warning. See [2022-06-29T07:20:13.041Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-29T07:20:13.041Z] [2022-06-29T07:20:13.041Z] Login Succeeded [2022-06-29T07:20:13.041Z] nexus3.edgexfoundry.org:10003 [2022-06-29T07:20:13.041Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-29T07:20:13.041Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-29T07:20:13.041Z] Configure a credential helper to remove this warning. See [2022-06-29T07:20:13.041Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-29T07:20:13.041Z] [2022-06-29T07:20:13.041Z] Login Succeeded [2022-06-29T07:20:13.041Z] nexus3.edgexfoundry.org:10004 [2022-06-29T07:20:13.301Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-29T07:20:13.301Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-29T07:20:13.301Z] Configure a credential helper to remove this warning. See [2022-06-29T07:20:13.301Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-29T07:20:13.301Z] [2022-06-29T07:20:13.301Z] Login Succeeded [2022-06-29T07:20:13.301Z] docker.io [2022-06-29T07:20:13.301Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-29T07:20:13.562Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-29T07:20:13.562Z] Configure a credential helper to remove this warning. See [2022-06-29T07:20:13.562Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-29T07:20:13.562Z] [2022-06-29T07:20:13.562Z] Login Succeeded [2022-06-29T07:20:13.562Z] ---> docker-login.sh ends [Pipeline] } [2022-06-29T07:20:13.589Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-06-29T07:20:13.769Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-06-29T07:20:13.803Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-06-29T07:20:13.833Z] ========================================================= [2022-06-29T07:20:13.833Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine] [2022-06-29T07:20:13.833Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-29T07:20:14.294Z] + 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-06-29T07:20:14.294Z] Sending build context to Docker daemon 10.67MB [2022-06-29T07:20:14.294Z] Step 1/12 : ARG BASE=golang:1.17-alpine3.15 [2022-06-29T07:20:14.294Z] Step 2/12 : FROM ${BASE} AS builder [2022-06-29T07:20:14.294Z] 1.17-alpine: Pulling from edgex-devops/edgex-golang-base [2022-06-29T07:20:14.294Z] 59bf1c3509f3: Pulling fs layer [2022-06-29T07:20:14.294Z] 666ba61612fd: Pulling fs layer [2022-06-29T07:20:14.294Z] 8ed8ca486205: Pulling fs layer [2022-06-29T07:20:14.294Z] cc1cd167ecdc: Pulling fs layer [2022-06-29T07:20:14.294Z] c516ae0d96e1: Pulling fs layer [2022-06-29T07:20:14.294Z] 684cea983483: Pulling fs layer [2022-06-29T07:20:14.294Z] dd3240ac7de5: Pulling fs layer [2022-06-29T07:20:14.294Z] b1e948a4e11c: Pulling fs layer [2022-06-29T07:20:14.294Z] a8fd76ee1af6: Pulling fs layer [2022-06-29T07:20:14.294Z] 646ad004c059: Pulling fs layer [2022-06-29T07:20:14.294Z] 684cea983483: Waiting [2022-06-29T07:20:14.294Z] cc1cd167ecdc: Waiting [2022-06-29T07:20:14.294Z] dd3240ac7de5: Waiting [2022-06-29T07:20:14.294Z] c516ae0d96e1: Waiting [2022-06-29T07:20:14.294Z] b1e948a4e11c: Waiting [2022-06-29T07:20:14.294Z] a8fd76ee1af6: Waiting [2022-06-29T07:20:14.294Z] 8ed8ca486205: Download complete [2022-06-29T07:20:14.294Z] 666ba61612fd: Verifying Checksum [2022-06-29T07:20:14.294Z] 666ba61612fd: Download complete [2022-06-29T07:20:14.554Z] c516ae0d96e1: Verifying Checksum [2022-06-29T07:20:14.554Z] c516ae0d96e1: Download complete [2022-06-29T07:20:14.554Z] 684cea983483: Verifying Checksum [2022-06-29T07:20:14.554Z] 684cea983483: Download complete [2022-06-29T07:20:14.554Z] 59bf1c3509f3: Download complete [2022-06-29T07:20:14.554Z] dd3240ac7de5: Verifying Checksum [2022-06-29T07:20:14.554Z] dd3240ac7de5: Download complete [2022-06-29T07:20:14.554Z] b1e948a4e11c: Verifying Checksum [2022-06-29T07:20:14.554Z] b1e948a4e11c: Download complete [2022-06-29T07:20:14.554Z] 59bf1c3509f3: Pull complete [2022-06-29T07:20:14.814Z] 666ba61612fd: Pull complete [2022-06-29T07:20:14.814Z] 8ed8ca486205: Pull complete [2022-06-29T07:20:14.814Z] 646ad004c059: Verifying Checksum [2022-06-29T07:20:14.814Z] 646ad004c059: Download complete [2022-06-29T07:20:15.080Z] a8fd76ee1af6: Verifying Checksum [2022-06-29T07:20:15.080Z] a8fd76ee1af6: Download complete [2022-06-29T07:20:15.080Z] cc1cd167ecdc: Verifying Checksum [2022-06-29T07:20:15.080Z] cc1cd167ecdc: Download complete [2022-06-29T07:20:19.280Z] cc1cd167ecdc: Pull complete [2022-06-29T07:20:19.280Z] c516ae0d96e1: Pull complete [2022-06-29T07:20:19.280Z] 684cea983483: Pull complete [2022-06-29T07:20:19.542Z] dd3240ac7de5: Pull complete [2022-06-29T07:20:19.542Z] b1e948a4e11c: Pull complete [2022-06-29T07:20:22.081Z] a8fd76ee1af6: Pull complete [2022-06-29T07:20:22.651Z] 646ad004c059: Pull complete [2022-06-29T07:20:22.651Z] Digest: sha256:bc8ce28cadebfaa099e5330588345fe90134e4027cf71364bfd2aff1e7ff8c16 [2022-06-29T07:20:22.651Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine [2022-06-29T07:20:22.651Z] ---> 8f69c11f6b0c [2022-06-29T07:20:22.651Z] Step 3/12 : ARG MAKE='make build' [2022-06-29T07:20:24.041Z] ---> Running in 8bd741ea1673 [2022-06-29T07:20:24.041Z] Removing intermediate container 8bd741ea1673 [2022-06-29T07:20:24.041Z] ---> 9fa7388b0205 [2022-06-29T07:20:24.041Z] Step 4/12 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2022-06-29T07:20:24.041Z] ---> Running in 4cc28cb0575e [2022-06-29T07:20:24.041Z] Removing intermediate container 4cc28cb0575e [2022-06-29T07:20:24.041Z] ---> c03e8259ba91 [2022-06-29T07:20:24.041Z] Step 5/12 : ARG ALPINE_PKG_EXTRA="" [2022-06-29T07:20:24.304Z] ---> Running in 1bc196d5c0e8 [2022-06-29T07:20:24.304Z] Removing intermediate container 1bc196d5c0e8 [2022-06-29T07:20:24.304Z] ---> 268c30345ff9 [2022-06-29T07:20:24.304Z] Step 6/12 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-06-29T07:20:24.304Z] ---> Running in c026cd28e743 [2022-06-29T07:20:24.880Z] Removing intermediate container c026cd28e743 [2022-06-29T07:20:24.880Z] ---> 154898ec2c81 [2022-06-29T07:20:24.880Z] Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-06-29T07:20:24.880Z] ---> Running in 67a12002a984 [2022-06-29T07:20:25.143Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz [2022-06-29T07:20:26.088Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz [2022-06-29T07:20:26.351Z] (1/4) Installing openssh-keygen (8.8_p1-r1) [2022-06-29T07:20:26.612Z] (2/4) Installing libedit (20210910.3.1-r0) [2022-06-29T07:20:26.612Z] (3/4) Installing openssh-client-common (8.8_p1-r1) [2022-06-29T07:20:26.612Z] (4/4) Installing openssh-client-default (8.8_p1-r1) [2022-06-29T07:20:26.872Z] Executing busybox-1.34.1-r3.trigger [2022-06-29T07:20:26.872Z] OK: 224 MiB in 56 packages [2022-06-29T07:20:27.132Z] Removing intermediate container 67a12002a984 [2022-06-29T07:20:27.133Z] ---> ff0fbcde3c0a [2022-06-29T07:20:27.133Z] Step 8/12 : WORKDIR /device-rest-go [2022-06-29T07:20:27.133Z] ---> Running in aa00ab56dbb3 [2022-06-29T07:20:27.248Z] Still waiting to schedule task [2022-06-29T07:20:27.249Z] ‘prd-ubuntu20.04-docker-arm64-4c-16g-16322’ is offline [2022-06-29T07:20:27.392Z] Removing intermediate container aa00ab56dbb3 [2022-06-29T07:20:27.392Z] ---> 1981e0845c83 [2022-06-29T07:20:27.392Z] Step 9/12 : COPY go.mod vendor* ./ [2022-06-29T07:20:27.392Z] ---> 1fa2227dc74a [2022-06-29T07:20:27.392Z] Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-06-29T07:20:27.658Z] ---> Running in 47d2990229b8 [2022-06-29T07:20:42.583Z] Removing intermediate container 47d2990229b8 [2022-06-29T07:20:42.583Z] ---> 01868e77a018 [2022-06-29T07:20:42.583Z] Step 11/12 : COPY . . [2022-06-29T07:20:42.583Z] ---> e0dbcc5c19f6 [2022-06-29T07:20:42.583Z] Step 12/12 : RUN $MAKE [2022-06-29T07:20:42.583Z] ---> Running in 9cd1c3aff776 [2022-06-29T07:20:42.583Z] noop [2022-06-29T07:20:42.583Z] Removing intermediate container 9cd1c3aff776 [2022-06-29T07:20:42.583Z] ---> e5a1e48ed41b [2022-06-29T07:20:42.583Z] Successfully built e5a1e48ed41b [2022-06-29T07:20:42.583Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-29T07:20:43.035Z] + docker inspect -f . ci-base-image-x86_64 [2022-06-29T07:20:43.035Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-06-29T07:20:43.200Z] prd-ubuntu20.04-docker-8c-8g-16323 does not seem to be running inside a container [2022-06-29T07:20:43.240Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-rest-go_PR-202 -v /w/workspace/gexfoundry_device-rest-go_PR-202:/w/workspace/gexfoundry_device-rest-go_PR-202:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-202@tmp:/w/workspace/gexfoundry_device-rest-go_PR-202@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2022-06-29T07:20:43.666Z] $ docker top e3da334981afcb05641f18eb69a78fab0b89b6ea3435e34c9fc1d0b9ad1983a6 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-06-29T07:20:44.078Z] + go version [2022-06-29T07:20:44.078Z] go version go1.17.7 linux/amd64 [Pipeline] } [2022-06-29T07:20:44.116Z] $ docker stop --time=1 e3da334981afcb05641f18eb69a78fab0b89b6ea3435e34c9fc1d0b9ad1983a6 [2022-06-29T07:20:45.421Z] $ docker rm -f e3da334981afcb05641f18eb69a78fab0b89b6ea3435e34c9fc1d0b9ad1983a6 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-29T07:20:46.101Z] + docker inspect -f . ci-base-image-x86_64 [2022-06-29T07:20:46.102Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-06-29T07:20:46.258Z] prd-ubuntu20.04-docker-8c-8g-16323 does not seem to be running inside a container [2022-06-29T07:20:46.298Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-rest-go_PR-202 -v /w/workspace/gexfoundry_device-rest-go_PR-202:/w/workspace/gexfoundry_device-rest-go_PR-202:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-202@tmp:/w/workspace/gexfoundry_device-rest-go_PR-202@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2022-06-29T07:20:46.702Z] $ docker top d6a18e3ebf8d6fe7a47d92f3ec1ecfb63f6cf406a866e49a531ed101cc776a9b -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh [2022-06-29T07:20:47.265Z] + make test [2022-06-29T07:20:47.265Z] CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... [2022-06-29T07:20:47.526Z] ? github.com/edgexfoundry/device-rest-go [no test files] [2022-06-29T07:20:57.519Z] ? github.com/edgexfoundry/device-rest-go/cmd [no test files] [2022-06-29T07:20:57.519Z] ok github.com/edgexfoundry/device-rest-go/driver 0.015s coverage: 55.2% of statements [2022-06-29T07:21:05.652Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2022-06-29T07:21:09.857Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-06-29T07:21:09.857Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2022-06-29T07:21:09.857Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2022-06-29T07:21:09.895Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2022-06-29T07:21:09.930Z] $ docker stop --time=1 d6a18e3ebf8d6fe7a47d92f3ec1ecfb63f6cf406a866e49a531ed101cc776a9b [2022-06-29T07:21:11.657Z] $ docker rm -f d6a18e3ebf8d6fe7a47d92f3ec1ecfb63f6cf406a866e49a531ed101cc776a9b [Pipeline] // withDockerContainer [Pipeline] sh [2022-06-29T07:21:12.168Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2022-06-29T07:21:12.227Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2022-06-29T07:21:13.021Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2022-06-29T07:21:13.336Z] + ls -al . [2022-06-29T07:21:13.336Z] total 172 [2022-06-29T07:21:13.336Z] drwxrwxr-x 9 jenkins jenkins 4096 Jun 29 07:21 . [2022-06-29T07:21:13.336Z] drwxrwxr-x 4 jenkins jenkins 4096 Jun 29 07:19 .. [2022-06-29T07:21:13.336Z] -rw-rw-r-- 1 jenkins jenkins 151 Jun 29 07:19 .dockerignore [2022-06-29T07:21:13.336Z] drwxrwxr-x 8 jenkins jenkins 4096 Jun 29 07:20 .git [2022-06-29T07:21:13.336Z] drwxrwxr-x 3 jenkins jenkins 4096 Jun 29 07:19 .github [2022-06-29T07:21:13.336Z] -rw-rw-r-- 1 jenkins jenkins 329 Jun 29 07:19 .gitignore [2022-06-29T07:21:13.336Z] -rw-rw-r-- 1 jenkins jenkins 41 Jun 29 07:19 .golangci.yml [2022-06-29T07:21:13.336Z] drwxr-xr-x 3 jenkins jenkins 4096 Jun 29 07:20 .semver [2022-06-29T07:21:13.336Z] -rw-rw-r-- 1 jenkins jenkins 8724 Jun 29 07:19 Attribution.txt [2022-06-29T07:21:13.336Z] -rw-rw-r-- 1 jenkins jenkins 11736 Jun 29 07:19 CHANGELOG.md [2022-06-29T07:21:13.336Z] -rw-rw-r-- 1 jenkins jenkins 1672 Jun 29 07:19 Dockerfile [2022-06-29T07:21:13.336Z] -rw-rw-r-- 1 jenkins jenkins 677 Jun 29 07:19 GOVERNANCE.md [2022-06-29T07:21:13.336Z] -rw-rw-r-- 1 jenkins jenkins 680 Jun 29 07:19 Jenkinsfile [2022-06-29T07:21:13.336Z] -rw-rw-r-- 1 jenkins jenkins 11340 Jun 29 07:19 LICENSE [2022-06-29T07:21:13.336Z] -rw-rw-r-- 1 jenkins jenkins 1977 Jun 29 07:19 Makefile [2022-06-29T07:21:13.336Z] -rw-rw-r-- 1 jenkins jenkins 620 Jun 29 07:19 OWNERS.md [2022-06-29T07:21:13.336Z] -rw-rw-r-- 1 jenkins jenkins 8003 Jun 29 07:19 README.md [2022-06-29T07:21:13.336Z] -rw-rw-r-- 1 jenkins jenkins 5 Jun 29 07:20 VERSION [2022-06-29T07:21:13.336Z] drwxrwxr-x 2 jenkins jenkins 4096 Jun 29 07:19 bin [2022-06-29T07:21:13.336Z] drwxrwxr-x 3 jenkins jenkins 4096 Jun 29 07:19 cmd [2022-06-29T07:21:13.336Z] -rw-r--r-- 1 jenkins jenkins 9355 Jun 29 07:20 coverage.out [2022-06-29T07:21:13.336Z] drwxrwxr-x 2 jenkins jenkins 4096 Jun 29 07:19 driver [2022-06-29T07:21:13.336Z] -rw-rw-r-- 1 jenkins jenkins 3338 Jun 29 07:19 go.mod [2022-06-29T07:21:13.336Z] -rw-rw-r-- 1 jenkins jenkins 36281 Jun 29 07:19 go.sum [2022-06-29T07:21:13.336Z] drwxrwxr-x 4 jenkins jenkins 4096 Jun 29 07:19 snap [2022-06-29T07:21:13.336Z] -rw-rw-r-- 1 jenkins jenkins 713 Jun 29 07:19 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-29T07:21:13.732Z] + 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=98f032b9f43567c2f39d7bb2c341238a945ef2ed --label arch=amd64 --label version=0.0.0 . [2022-06-29T07:21:13.732Z] Sending build context to Docker daemon 10.68MB [2022-06-29T07:21:13.732Z] Step 1/25 : ARG BASE=golang:1.17-alpine3.15 [2022-06-29T07:21:13.732Z] Step 2/25 : FROM ${BASE} AS builder [2022-06-29T07:21:13.732Z] ---> e5a1e48ed41b [2022-06-29T07:21:13.732Z] Step 3/25 : ARG MAKE='make build' [2022-06-29T07:21:13.732Z] ---> Running in 21bc68c2af52 [2022-06-29T07:21:13.992Z] Removing intermediate container 21bc68c2af52 [2022-06-29T07:21:13.992Z] ---> 2c66769f50a2 [2022-06-29T07:21:13.992Z] Step 4/25 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2022-06-29T07:21:13.992Z] ---> Running in e457544c46e0 [2022-06-29T07:21:13.992Z] Removing intermediate container e457544c46e0 [2022-06-29T07:21:13.992Z] ---> 62fcd49c632b [2022-06-29T07:21:13.992Z] Step 5/25 : ARG ALPINE_PKG_EXTRA="" [2022-06-29T07:21:14.255Z] ---> Running in b779084478d6 [2022-06-29T07:21:14.255Z] Removing intermediate container b779084478d6 [2022-06-29T07:21:14.255Z] ---> 26d7aea90fbf [2022-06-29T07:21:14.255Z] Step 6/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-06-29T07:21:14.255Z] ---> Running in 976d55a9c56a [2022-06-29T07:21:14.831Z] Removing intermediate container 976d55a9c56a [2022-06-29T07:21:14.831Z] ---> cd2aac13e6ec [2022-06-29T07:21:14.831Z] Step 7/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-06-29T07:21:14.831Z] ---> Running in b71b39656d6e [2022-06-29T07:21:15.093Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz [2022-06-29T07:21:16.035Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz [2022-06-29T07:21:16.295Z] OK: 224 MiB in 56 packages [2022-06-29T07:21:16.555Z] Removing intermediate container b71b39656d6e [2022-06-29T07:21:16.555Z] ---> 79952576de64 [2022-06-29T07:21:16.555Z] Step 8/25 : WORKDIR /device-rest-go [2022-06-29T07:21:16.555Z] ---> Running in 4949c00d6151 [2022-06-29T07:21:16.814Z] Removing intermediate container 4949c00d6151 [2022-06-29T07:21:16.814Z] ---> 37b20d33369f [2022-06-29T07:21:16.814Z] Step 9/25 : COPY go.mod vendor* ./ [2022-06-29T07:21:16.814Z] ---> 2ab5bb0148e0 [2022-06-29T07:21:16.814Z] Step 10/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-06-29T07:21:16.814Z] ---> Running in 8556c6639082 [2022-06-29T07:21:17.758Z] Removing intermediate container 8556c6639082 [2022-06-29T07:21:17.758Z] ---> 92327ba744c1 [2022-06-29T07:21:17.758Z] Step 11/25 : COPY . . [2022-06-29T07:21:17.758Z] ---> c833b7c4a425 [2022-06-29T07:21:17.758Z] Step 12/25 : RUN $MAKE [2022-06-29T07:21:17.758Z] ---> Running in 56843ee7efb9 [2022-06-29T07:21:18.327Z] 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-06-29T07:21:40.290Z] Removing intermediate container 56843ee7efb9 [2022-06-29T07:21:40.290Z] ---> 39c0fe0fb42c [2022-06-29T07:21:40.290Z] Step 13/25 : FROM alpine:3.14 [2022-06-29T07:21:40.290Z] 3.14: Pulling from library/alpine [2022-06-29T07:21:40.290Z] 8663204ce13b: Pulling fs layer [2022-06-29T07:21:40.290Z] 8663204ce13b: Download complete [2022-06-29T07:21:40.290Z] 8663204ce13b: Pull complete [2022-06-29T07:21:40.290Z] Digest: sha256:06b5d462c92fc39303e6363c65e074559f8d6b1363250027ed5053557e3398c5 [2022-06-29T07:21:40.290Z] Status: Downloaded newer image for alpine:3.14 [2022-06-29T07:21:40.290Z] ---> e04c818066af [2022-06-29T07:21:40.290Z] Step 14/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019: Intel' [2022-06-29T07:21:40.290Z] ---> Running in 778736ca8d5b [2022-06-29T07:21:40.290Z] Removing intermediate container 778736ca8d5b [2022-06-29T07:21:40.290Z] ---> 0c28bd1678ac [2022-06-29T07:21:40.290Z] Step 15/25 : LABEL Name=device-rest-go Version=${VERSION} [2022-06-29T07:21:40.290Z] ---> Running in 6765aaf644e1 [2022-06-29T07:21:40.290Z] Removing intermediate container 6765aaf644e1 [2022-06-29T07:21:40.290Z] ---> 7b3b59abd943 [2022-06-29T07:21:40.290Z] Step 16/25 : RUN apk add --update --no-cache zeromq dumb-init [2022-06-29T07:21:40.290Z] ---> Running in 511cddfbf458 [2022-06-29T07:21:40.290Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/main/x86_64/APKINDEX.tar.gz [2022-06-29T07:21:40.290Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/community/x86_64/APKINDEX.tar.gz [2022-06-29T07:21:40.290Z] (1/6) Installing dumb-init (1.2.5-r1) [2022-06-29T07:21:40.290Z] (2/6) Installing libgcc (10.3.1_git20210424-r2) [2022-06-29T07:21:40.290Z] (3/6) Installing libsodium (1.0.18-r0) [2022-06-29T07:21:40.290Z] (4/6) Installing libstdc++ (10.3.1_git20210424-r2) [2022-06-29T07:21:40.290Z] (5/6) Installing libzmq (4.3.4-r0) [2022-06-29T07:21:40.290Z] (6/6) Installing zeromq (4.3.4-r0) [2022-06-29T07:21:40.290Z] Executing busybox-1.33.1-r7.trigger [2022-06-29T07:21:40.290Z] OK: 8 MiB in 20 packages [2022-06-29T07:21:40.860Z] Removing intermediate container 511cddfbf458 [2022-06-29T07:21:40.860Z] ---> e9725cb2c443 [2022-06-29T07:21:40.860Z] Step 17/25 : COPY --from=builder /device-rest-go/cmd / [2022-06-29T07:21:41.433Z] ---> 2f746b8b0b1e [2022-06-29T07:21:41.433Z] Step 18/25 : COPY --from=builder /device-rest-go/LICENSE / [2022-06-29T07:21:41.433Z] ---> a69445413ca8 [2022-06-29T07:21:41.433Z] Step 19/25 : COPY --from=builder /device-rest-go/Attribution.txt / [2022-06-29T07:21:41.700Z] ---> 79fe59137817 [2022-06-29T07:21:41.700Z] Step 20/25 : EXPOSE 59986 [2022-06-29T07:21:41.700Z] ---> Running in 78fc9a2f50ef [2022-06-29T07:21:41.700Z] Removing intermediate container 78fc9a2f50ef [2022-06-29T07:21:41.700Z] ---> 7c4519736a93 [2022-06-29T07:21:41.700Z] Step 21/25 : ENTRYPOINT ["/device-rest"] [2022-06-29T07:21:41.965Z] ---> Running in 63362e7921dc [2022-06-29T07:21:41.965Z] Removing intermediate container 63362e7921dc [2022-06-29T07:21:41.965Z] ---> 5115fc263d32 [2022-06-29T07:21:41.965Z] Step 22/25 : CMD ["--cp=consul://edgex-core-consul:8500", "--confdir=/res", "--registry"] [2022-06-29T07:21:41.965Z] ---> Running in c3862426ecd8 [2022-06-29T07:21:41.965Z] Removing intermediate container c3862426ecd8 [2022-06-29T07:21:41.965Z] ---> 822dd9337e8f [2022-06-29T07:21:41.965Z] Step 23/25 : LABEL arch=amd64 [2022-06-29T07:21:42.231Z] ---> Running in 88f0d5ab89ff [2022-06-29T07:21:42.231Z] Removing intermediate container 88f0d5ab89ff [2022-06-29T07:21:42.231Z] ---> 4f616eeb55bb [2022-06-29T07:21:42.231Z] Step 24/25 : LABEL git_sha=98f032b9f43567c2f39d7bb2c341238a945ef2ed [2022-06-29T07:21:42.231Z] ---> Running in 1623e5c21c96 [2022-06-29T07:21:42.231Z] Removing intermediate container 1623e5c21c96 [2022-06-29T07:21:42.231Z] ---> f90ad5d50f46 [2022-06-29T07:21:42.231Z] Step 25/25 : LABEL version=0.0.0 [2022-06-29T07:21:42.493Z] ---> Running in af4479abf4fc [2022-06-29T07:21:42.493Z] Removing intermediate container af4479abf4fc [2022-06-29T07:21:42.493Z] ---> 24bec599ad4f [2022-06-29T07:21:42.493Z] [Warning] One or more build-args [ARCH] were not consumed [2022-06-29T07:21:42.493Z] Successfully built 24bec599ad4f [2022-06-29T07:21:42.493Z] 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-06-29T07:21:43.489Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-06-29T07:21:43.489Z] [2022-06-29T07:21:43.489Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-29T07:21:43.872Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-06-29T07:21:43.872Z] latest: Pulling from edgex-lftools-log-publisher [2022-06-29T07:21:43.872Z] 5eb5b503b376: Pulling fs layer [2022-06-29T07:21:43.872Z] 5c69ac0246d0: Pulling fs layer [2022-06-29T07:21:43.872Z] ec43610c2a17: Pulling fs layer [2022-06-29T07:21:43.872Z] 3a2ae6a8a46f: Pulling fs layer [2022-06-29T07:21:43.872Z] 33b1e0a273af: Pulling fs layer [2022-06-29T07:21:43.872Z] 5d3b04190fa2: Pulling fs layer [2022-06-29T07:21:43.872Z] 2f39f015ded8: Pulling fs layer [2022-06-29T07:21:43.872Z] 33b1e0a273af: Waiting [2022-06-29T07:21:43.872Z] 5d3b04190fa2: Waiting [2022-06-29T07:21:43.872Z] 2f39f015ded8: Waiting [2022-06-29T07:21:43.872Z] 3a2ae6a8a46f: Waiting [2022-06-29T07:21:43.872Z] 5c69ac0246d0: Download complete [2022-06-29T07:21:43.872Z] 3a2ae6a8a46f: Download complete [2022-06-29T07:21:43.872Z] 33b1e0a273af: Verifying Checksum [2022-06-29T07:21:43.872Z] 33b1e0a273af: Download complete [2022-06-29T07:21:43.872Z] 5d3b04190fa2: Verifying Checksum [2022-06-29T07:21:43.872Z] 5d3b04190fa2: Download complete [2022-06-29T07:21:43.872Z] ec43610c2a17: Verifying Checksum [2022-06-29T07:21:43.872Z] ec43610c2a17: Download complete [2022-06-29T07:21:44.132Z] 5eb5b503b376: Download complete [2022-06-29T07:21:44.701Z] 2f39f015ded8: Download complete [2022-06-29T07:21:45.640Z] 5eb5b503b376: Pull complete [2022-06-29T07:21:45.640Z] 5c69ac0246d0: Pull complete [2022-06-29T07:21:46.208Z] ec43610c2a17: Pull complete [2022-06-29T07:21:46.208Z] 3a2ae6a8a46f: Pull complete [2022-06-29T07:21:46.468Z] 33b1e0a273af: Pull complete [2022-06-29T07:21:46.468Z] 5d3b04190fa2: Pull complete [2022-06-29T07:21:51.747Z] 2f39f015ded8: Pull complete [2022-06-29T07:21:51.747Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2022-06-29T07:21:51.747Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-06-29T07:21:51.747Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-06-29T07:21:51.979Z] prd-ubuntu20.04-docker-8c-8g-16323 does not seem to be running inside a container [2022-06-29T07:21:52.022Z] $ 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-202 -v /w/workspace/gexfoundry_device-rest-go_PR-202:/w/workspace/gexfoundry_device-rest-go_PR-202:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-202@tmp:/w/workspace/gexfoundry_device-rest-go_PR-202@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-06-29T07:21:53.561Z] $ docker top fb6488266af5b578cfdc5b86bc7a74a777dec22ed9ebdeeb6bb538a2a9277db7 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-06-29T07:21:54.020Z] ---> job-cost.sh [2022-06-29T07:21:54.020Z] lf-activate-venv: SKIPPING [2022-06-29T07:21:54.020Z] INFO: No Stack... [2022-06-29T07:21:54.591Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2022-06-29T07:21:54.853Z] INFO: Archiving Costs [Pipeline] sh [2022-06-29T07:21:55.175Z] + cat /w/workspace/gexfoundry_device-rest-go_PR-202/archives/cost.csv [2022-06-29T07:21:55.175Z] + cut -d, -f6 [Pipeline] lock [2022-06-29T07:21:55.215Z] Trying to acquire lock on [jenkins-edgexfoundry-device-rest-go-PR-202-1-stack-cost] [2022-06-29T07:21:55.222Z] Resource [jenkins-edgexfoundry-device-rest-go-PR-202-1-stack-cost] did not exist. Created. [2022-06-29T07:21:55.222Z] Lock acquired on [jenkins-edgexfoundry-device-rest-go-PR-202-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-06-29T07:21:55.618Z] + echo total: 0.2199999988079071 [Pipeline] stash [2022-06-29T07:21:55.664Z] Stashed 1 file(s) [Pipeline] } [2022-06-29T07:21:55.690Z] Lock released on resource [jenkins-edgexfoundry-device-rest-go-PR-202-1-stack-cost] [Pipeline] // lock [Pipeline] } [2022-06-29T07:21:55.774Z] $ docker stop --time=1 fb6488266af5b578cfdc5b86bc7a74a777dec22ed9ebdeeb6bb538a2a9277db7 [2022-06-29T07:21:56.936Z] $ docker rm -f fb6488266af5b578cfdc5b86bc7a74a777dec22ed9ebdeeb6bb538a2a9277db7 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2022-06-29T07:22:09.224Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-16324 in /w/workspace/gexfoundry_device-rest-go_PR-202 [Pipeline] { [Pipeline] ws [2022-06-29T07:22:09.267Z] Running in /w/workspace/device-rest-go/1 [Pipeline] { [Pipeline] checkout [2022-06-29T07:22:09.358Z] The recommended git tool is: git [2022-06-29T07:22:15.785Z] using credential edgex-jenkins-ssh [2022-06-29T07:22:15.803Z] Cloning the remote Git repository [2022-06-29T07:22:15.858Z] Cloning repository git@github.com:edgexfoundry/device-rest-go.git [2022-06-29T07:22:15.926Z] > git init /w/workspace/device-rest-go/1 # timeout=10 [2022-06-29T07:22:15.996Z] Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git [2022-06-29T07:22:15.997Z] > git --version # timeout=10 [2022-06-29T07:22:16.020Z] > git --version # 'git version 2.25.1' [2022-06-29T07:22:16.022Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-06-29T07:22:16.104Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-06-29T07:22:17.872Z] > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 [2022-06-29T07:22:17.899Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-06-29T07:22:17.974Z] > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 [2022-06-29T07:22:18.031Z] Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git [2022-06-29T07:22:18.032Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-06-29T07:22:18.059Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/pull/202/head:refs/remotes/origin/PR-202 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2022-06-29T07:22:18.551Z] Merging remotes/origin/main commit 2d7dd7bd9c9b446393cafd64d3a18985a73e6b07 into PR head commit 98f032b9f43567c2f39d7bb2c341238a945ef2ed [2022-06-29T07:22:18.754Z] Merge succeeded, producing 98f032b9f43567c2f39d7bb2c341238a945ef2ed [2022-06-29T07:22:18.754Z] Checking out Revision 98f032b9f43567c2f39d7bb2c341238a945ef2ed (PR-202) [2022-06-29T07:22:18.571Z] > git config core.sparsecheckout # timeout=10 [2022-06-29T07:22:18.590Z] > git checkout -f 98f032b9f43567c2f39d7bb2c341238a945ef2ed # timeout=10 [2022-06-29T07:22:18.673Z] > git remote # timeout=10 [2022-06-29T07:22:18.689Z] > git config --get remote.origin.url # timeout=10 [2022-06-29T07:22:18.703Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-06-29T07:22:18.715Z] > git merge 2d7dd7bd9c9b446393cafd64d3a18985a73e6b07 # timeout=10 [2022-06-29T07:22:18.739Z] > git rev-parse HEAD^{commit} # timeout=10 [2022-06-29T07:22:18.763Z] > git config core.sparsecheckout # timeout=10 [2022-06-29T07:22:18.778Z] > git checkout -f 98f032b9f43567c2f39d7bb2c341238a945ef2ed # timeout=10 [2022-06-29T07:22:22.905Z] Commit message: "refactor(snap): edgex-snap-hooks related upgrade" [2022-06-29T07:22:22.960Z] > git --version # timeout=10 [2022-06-29T07:22:22.970Z] > git --version # 'git version 2.25.1' [2022-06-29T07:22:22.981Z] fatal: bad object 2c7614b56cb57ece5b5bdf52d827492071d4cc62 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-06-29T07:22:24.167Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2022-06-29T07:22:24.167Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-06-29T07:22:24.167Z] Dload Upload Total Spent Left Speed [2022-06-29T07:22:24.167Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12253 100 12253 0 0 103k 0 --:--:-- --:--:-- --:--:-- 103k [Pipeline] sh [2022-06-29T07:22:24.895Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2022-06-29T07:22:25.254Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2022-06-29T07:22:25.254Z] + sudo tee /etc/docker/daemon.new [2022-06-29T07:22:25.254Z] { [2022-06-29T07:22:25.254Z] "registry-mirrors": [ [2022-06-29T07:22:25.254Z] "https://nexus3.edgexfoundry.org:10001" [2022-06-29T07:22:25.254Z] ], [2022-06-29T07:22:25.254Z] "bip": "10.250.0.254/24", [2022-06-29T07:22:25.254Z] "hosts": [ [2022-06-29T07:22:25.254Z] "tcp://0.0.0.0:5555", [2022-06-29T07:22:25.254Z] "unix:///var/run/docker.sock" [2022-06-29T07:22:25.254Z] ], [2022-06-29T07:22:25.254Z] "mtu": 1458, [2022-06-29T07:22:25.254Z] "selinux-enabled": true, [2022-06-29T07:22:25.254Z] "seccomp-profile": "/etc/docker/seccomp.json" [2022-06-29T07:22:25.254Z] } [Pipeline] sh [2022-06-29T07:22:25.613Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2022-06-29T07:22:25.969Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-06-29T07:22:44.544Z] provisioning config files... [2022-06-29T07:22:44.566Z] copy managed file [device-rest-go-settings] to file:/w/workspace/device-rest-go/1@tmp/config180901748140916817tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-06-29T07:22:44.961Z] ---> docker-login.sh [2022-06-29T07:22:44.961Z] nexus3.edgexfoundry.org:10001 [2022-06-29T07:22:45.557Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-29T07:22:45.831Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-29T07:22:45.831Z] Configure a credential helper to remove this warning. See [2022-06-29T07:22:45.831Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-29T07:22:45.831Z] [2022-06-29T07:22:45.831Z] Login Succeeded [2022-06-29T07:22:45.831Z] nexus3.edgexfoundry.org:10002 [2022-06-29T07:22:46.105Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-29T07:22:46.105Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-29T07:22:46.105Z] Configure a credential helper to remove this warning. See [2022-06-29T07:22:46.105Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-29T07:22:46.105Z] [2022-06-29T07:22:46.105Z] Login Succeeded [2022-06-29T07:22:46.105Z] nexus3.edgexfoundry.org:10003 [2022-06-29T07:22:46.703Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-29T07:22:46.703Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-29T07:22:46.703Z] Configure a credential helper to remove this warning. See [2022-06-29T07:22:46.704Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-29T07:22:46.704Z] [2022-06-29T07:22:46.704Z] Login Succeeded [2022-06-29T07:22:46.704Z] nexus3.edgexfoundry.org:10004 [2022-06-29T07:22:46.976Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-29T07:22:47.250Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-29T07:22:47.250Z] Configure a credential helper to remove this warning. See [2022-06-29T07:22:47.250Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-29T07:22:47.250Z] [2022-06-29T07:22:47.250Z] Login Succeeded [2022-06-29T07:22:47.250Z] docker.io [2022-06-29T07:22:47.523Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-29T07:22:47.797Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-29T07:22:47.797Z] Configure a credential helper to remove this warning. See [2022-06-29T07:22:47.797Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-29T07:22:47.797Z] [2022-06-29T07:22:47.797Z] Login Succeeded [2022-06-29T07:22:47.797Z] ---> docker-login.sh ends [Pipeline] } [2022-06-29T07:22:47.827Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-06-29T07:22:48.198Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-06-29T07:22:48.237Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-06-29T07:22:48.272Z] ========================================================= [2022-06-29T07:22:48.272Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine] [2022-06-29T07:22:48.272Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-29T07:22:48.784Z] + 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-06-29T07:22:48.784Z] Sending build context to Docker daemon 127kB [2022-06-29T07:22:49.059Z] Step 1/12 : ARG BASE=golang:1.17-alpine3.15 [2022-06-29T07:22:49.059Z] Step 2/12 : FROM ${BASE} AS builder [2022-06-29T07:22:49.334Z] 1.17-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2022-06-29T07:22:49.334Z] 9b3977197b4f: Pulling fs layer [2022-06-29T07:22:49.334Z] 1a89e8eeedd5: Pulling fs layer [2022-06-29T07:22:49.334Z] 94645a83ff95: Pulling fs layer [2022-06-29T07:22:49.334Z] e6fb740bc735: Pulling fs layer [2022-06-29T07:22:49.334Z] 3a77bd46dcc9: Pulling fs layer [2022-06-29T07:22:49.334Z] 355e64cbe906: Pulling fs layer [2022-06-29T07:22:49.334Z] 63ab81a10011: Pulling fs layer [2022-06-29T07:22:49.334Z] 555d1d1c4555: Pulling fs layer [2022-06-29T07:22:49.334Z] 7d9057610161: Pulling fs layer [2022-06-29T07:22:49.334Z] e6fb740bc735: Waiting [2022-06-29T07:22:49.334Z] 63ab81a10011: Waiting [2022-06-29T07:22:49.334Z] 3a77bd46dcc9: Waiting [2022-06-29T07:22:49.334Z] 355e64cbe906: Waiting [2022-06-29T07:22:49.334Z] 555d1d1c4555: Waiting [2022-06-29T07:22:49.334Z] 7d9057610161: Waiting [2022-06-29T07:22:49.334Z] 94645a83ff95: Verifying Checksum [2022-06-29T07:22:49.334Z] 94645a83ff95: Download complete [2022-06-29T07:22:49.334Z] 1a89e8eeedd5: Verifying Checksum [2022-06-29T07:22:49.334Z] 1a89e8eeedd5: Download complete [2022-06-29T07:22:49.334Z] 3a77bd46dcc9: Verifying Checksum [2022-06-29T07:22:49.334Z] 3a77bd46dcc9: Download complete [2022-06-29T07:22:49.334Z] 355e64cbe906: Verifying Checksum [2022-06-29T07:22:49.334Z] 355e64cbe906: Download complete [2022-06-29T07:22:49.334Z] 9b3977197b4f: Download complete [2022-06-29T07:22:49.334Z] 63ab81a10011: Verifying Checksum [2022-06-29T07:22:49.334Z] 63ab81a10011: Download complete [2022-06-29T07:22:50.328Z] 9b3977197b4f: Pull complete [2022-06-29T07:22:50.328Z] 7d9057610161: Verifying Checksum [2022-06-29T07:22:50.328Z] 7d9057610161: Download complete [2022-06-29T07:22:50.932Z] 1a89e8eeedd5: Pull complete [2022-06-29T07:22:51.214Z] 94645a83ff95: Pull complete [2022-06-29T07:22:51.491Z] 555d1d1c4555: Verifying Checksum [2022-06-29T07:22:51.491Z] 555d1d1c4555: Download complete [2022-06-29T07:22:52.089Z] e6fb740bc735: Verifying Checksum [2022-06-29T07:22:52.089Z] e6fb740bc735: Download complete [2022-06-29T07:23:04.493Z] e6fb740bc735: Pull complete [2022-06-29T07:23:04.493Z] 3a77bd46dcc9: Pull complete [2022-06-29T07:23:04.493Z] 355e64cbe906: Pull complete [2022-06-29T07:23:04.493Z] 63ab81a10011: Pull complete [2022-06-29T07:23:11.231Z] 555d1d1c4555: Pull complete [2022-06-29T07:23:12.691Z] 7d9057610161: Pull complete [2022-06-29T07:23:12.691Z] Digest: sha256:2bfe06e9b82483759db2d79553298764cc23e00699169ff1c4d7513112b2d636 [2022-06-29T07:23:12.691Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine [2022-06-29T07:23:12.691Z] ---> 819e984ddca1 [2022-06-29T07:23:12.691Z] Step 3/12 : ARG MAKE='make build' [2022-06-29T07:23:14.690Z] ---> Running in 88931880fc43 [2022-06-29T07:23:14.690Z] Removing intermediate container 88931880fc43 [2022-06-29T07:23:14.690Z] ---> e5e5a2352d64 [2022-06-29T07:23:14.690Z] Step 4/12 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2022-06-29T07:23:14.690Z] ---> Running in c41954307dd7 [2022-06-29T07:23:14.969Z] Removing intermediate container c41954307dd7 [2022-06-29T07:23:14.969Z] ---> cccb382d41de [2022-06-29T07:23:14.969Z] Step 5/12 : ARG ALPINE_PKG_EXTRA="" [2022-06-29T07:23:15.248Z] ---> Running in 3a44c33f1eb4 [2022-06-29T07:23:15.526Z] Removing intermediate container 3a44c33f1eb4 [2022-06-29T07:23:15.526Z] ---> ec9653c82528 [2022-06-29T07:23:15.526Z] Step 6/12 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-06-29T07:23:15.526Z] ---> Running in c9a0afa2d8d6 [2022-06-29T07:23:18.152Z] Removing intermediate container c9a0afa2d8d6 [2022-06-29T07:23:18.152Z] ---> b7526573dbdb [2022-06-29T07:23:18.152Z] Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-06-29T07:23:18.152Z] ---> Running in 28591522e330 [2022-06-29T07:23:19.132Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz [2022-06-29T07:23:20.112Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz [2022-06-29T07:23:20.730Z] (1/4) Installing openssh-keygen (8.8_p1-r1) [2022-06-29T07:23:21.005Z] (2/4) Installing libedit (20210910.3.1-r0) [2022-06-29T07:23:21.006Z] (3/4) Installing openssh-client-common (8.8_p1-r1) [2022-06-29T07:23:21.281Z] (4/4) Installing openssh-client-default (8.8_p1-r1) [2022-06-29T07:23:21.281Z] Executing busybox-1.34.1-r3.trigger [2022-06-29T07:23:21.281Z] OK: 224 MiB in 56 packages [2022-06-29T07:23:22.278Z] Removing intermediate container 28591522e330 [2022-06-29T07:23:22.278Z] ---> 54c17a47b03d [2022-06-29T07:23:22.278Z] Step 8/12 : WORKDIR /device-rest-go [2022-06-29T07:23:22.278Z] ---> Running in ae2523720385 [2022-06-29T07:23:22.553Z] Removing intermediate container ae2523720385 [2022-06-29T07:23:22.553Z] ---> 5edf925d11c7 [2022-06-29T07:23:22.553Z] Step 9/12 : COPY go.mod vendor* ./ [2022-06-29T07:23:23.153Z] ---> 83b4e16bc0fc [2022-06-29T07:23:23.153Z] Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-06-29T07:23:23.153Z] ---> Running in 57fec55377b6 [2022-06-29T07:24:10.177Z] Removing intermediate container 57fec55377b6 [2022-06-29T07:24:10.177Z] ---> b32da6443fcc [2022-06-29T07:24:10.177Z] Step 11/12 : COPY . . [2022-06-29T07:24:10.177Z] ---> d4d10c44fd53 [2022-06-29T07:24:10.177Z] Step 12/12 : RUN $MAKE [2022-06-29T07:24:10.177Z] ---> Running in efdde44e80f1 [2022-06-29T07:24:10.177Z] noop [2022-06-29T07:24:10.177Z] Removing intermediate container efdde44e80f1 [2022-06-29T07:24:10.177Z] ---> 7e3bfc4ab1e8 [2022-06-29T07:24:10.177Z] Successfully built 7e3bfc4ab1e8 [2022-06-29T07:24:10.177Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-29T07:24:10.658Z] + docker inspect -f . ci-base-image-arm64 [2022-06-29T07:24:10.658Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-06-29T07:24:10.960Z] prd-ubuntu20.04-docker-arm64-4c-16g-16324 does not seem to be running inside a container [2022-06-29T07:24:11.050Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-rest-go/1 -v /w/workspace/device-rest-go/1:/w/workspace/device-rest-go/1:rw,z -v /w/workspace/device-rest-go/1@tmp:/w/workspace/device-rest-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2022-06-29T07:24:12.350Z] $ docker top f5ccf0eb4be585038d109982cf61d9a40aa339d6603ac7ba7bcb04917fe28c34 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-06-29T07:24:13.289Z] + go version [2022-06-29T07:24:13.289Z] go version go1.17.7 linux/arm64 [Pipeline] } [2022-06-29T07:24:13.328Z] $ docker stop --time=1 f5ccf0eb4be585038d109982cf61d9a40aa339d6603ac7ba7bcb04917fe28c34 [2022-06-29T07:24:14.996Z] $ docker rm -f f5ccf0eb4be585038d109982cf61d9a40aa339d6603ac7ba7bcb04917fe28c34 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-29T07:24:15.889Z] + docker inspect -f . ci-base-image-arm64 [2022-06-29T07:24:15.889Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-06-29T07:24:16.207Z] prd-ubuntu20.04-docker-arm64-4c-16g-16324 does not seem to be running inside a container [2022-06-29T07:24:16.296Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-rest-go/1 -v /w/workspace/device-rest-go/1:/w/workspace/device-rest-go/1:rw,z -v /w/workspace/device-rest-go/1@tmp:/w/workspace/device-rest-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2022-06-29T07:24:17.583Z] $ docker top 8bd14c4dd82bae793afb756cec6881018c8df374afa4b0acdcb8dcaa3861be21 -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh [2022-06-29T07:24:18.587Z] + make test [2022-06-29T07:24:18.587Z] CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... [2022-06-29T07:24:20.025Z] ? github.com/edgexfoundry/device-rest-go [no test files] [2022-06-29T07:25:41.880Z] ? github.com/edgexfoundry/device-rest-go/cmd [no test files] [2022-06-29T07:25:41.880Z] ok github.com/edgexfoundry/device-rest-go/driver 0.068s coverage: 55.2% of statements [2022-06-29T07:25:41.880Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2022-06-29T07:25:41.880Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2022-06-29T07:26:04.079Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-06-29T07:26:04.079Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2022-06-29T07:26:04.079Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2022-06-29T07:26:04.709Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2022-06-29T07:26:04.747Z] $ docker stop --time=1 8bd14c4dd82bae793afb756cec6881018c8df374afa4b0acdcb8dcaa3861be21 [2022-06-29T07:26:06.533Z] $ docker rm -f 8bd14c4dd82bae793afb756cec6881018c8df374afa4b0acdcb8dcaa3861be21 [Pipeline] // withDockerContainer [Pipeline] sh [2022-06-29T07:26:07.533Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2022-06-29T07:26:07.565Z] Warning: overwriting stash ‘coverage-report’ [2022-06-29T07:26:08.015Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-06-29T07:26:08.597Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2022-06-29T07:26:08.941Z] + ls -al . [2022-06-29T07:26:08.941Z] total 168 [2022-06-29T07:26:08.941Z] drwxrwxr-x 8 jenkins jenkins 4096 Jun 29 07:26 . [2022-06-29T07:26:08.941Z] drwxrwxr-x 4 jenkins jenkins 4096 Jun 29 07:22 .. [2022-06-29T07:26:08.941Z] -rw-rw-r-- 1 jenkins jenkins 151 Jun 29 07:22 .dockerignore [2022-06-29T07:26:08.941Z] drwxrwxr-x 8 jenkins jenkins 4096 Jun 29 07:22 .git [2022-06-29T07:26:08.941Z] drwxrwxr-x 3 jenkins jenkins 4096 Jun 29 07:22 .github [2022-06-29T07:26:08.941Z] -rw-rw-r-- 1 jenkins jenkins 329 Jun 29 07:22 .gitignore [2022-06-29T07:26:08.941Z] -rw-rw-r-- 1 jenkins jenkins 41 Jun 29 07:22 .golangci.yml [2022-06-29T07:26:08.941Z] -rw-rw-r-- 1 jenkins jenkins 8724 Jun 29 07:22 Attribution.txt [2022-06-29T07:26:08.941Z] -rw-rw-r-- 1 jenkins jenkins 11736 Jun 29 07:22 CHANGELOG.md [2022-06-29T07:26:08.941Z] -rw-rw-r-- 1 jenkins jenkins 1672 Jun 29 07:22 Dockerfile [2022-06-29T07:26:08.941Z] -rw-rw-r-- 1 jenkins jenkins 677 Jun 29 07:22 GOVERNANCE.md [2022-06-29T07:26:08.941Z] -rw-rw-r-- 1 jenkins jenkins 680 Jun 29 07:22 Jenkinsfile [2022-06-29T07:26:08.941Z] -rw-rw-r-- 1 jenkins jenkins 11340 Jun 29 07:22 LICENSE [2022-06-29T07:26:08.941Z] -rw-rw-r-- 1 jenkins jenkins 1977 Jun 29 07:22 Makefile [2022-06-29T07:26:08.941Z] -rw-rw-r-- 1 jenkins jenkins 620 Jun 29 07:22 OWNERS.md [2022-06-29T07:26:08.941Z] -rw-rw-r-- 1 jenkins jenkins 8003 Jun 29 07:22 README.md [2022-06-29T07:26:08.941Z] -rw-rw-r-- 1 jenkins jenkins 5 Jun 29 07:20 VERSION [2022-06-29T07:26:08.941Z] drwxrwxr-x 2 jenkins jenkins 4096 Jun 29 07:22 bin [2022-06-29T07:26:08.941Z] drwxrwxr-x 3 jenkins jenkins 4096 Jun 29 07:22 cmd [2022-06-29T07:26:08.941Z] -rw-r--r-- 1 jenkins jenkins 9355 Jun 29 07:25 coverage.out [2022-06-29T07:26:08.941Z] drwxrwxr-x 2 jenkins jenkins 4096 Jun 29 07:22 driver [2022-06-29T07:26:08.941Z] -rw-rw-r-- 1 jenkins jenkins 3338 Jun 29 07:22 go.mod [2022-06-29T07:26:08.941Z] -rw-rw-r-- 1 jenkins jenkins 36281 Jun 29 07:22 go.sum [2022-06-29T07:26:08.941Z] drwxrwxr-x 4 jenkins jenkins 4096 Jun 29 07:22 snap [2022-06-29T07:26:08.941Z] -rw-rw-r-- 1 jenkins jenkins 713 Jun 29 07:22 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-29T07:26:09.368Z] + 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=98f032b9f43567c2f39d7bb2c341238a945ef2ed --label arch=arm64 --label version=0.0.0 . [2022-06-29T07:26:09.368Z] Sending build context to Docker daemon 137.2kB [2022-06-29T07:26:09.645Z] Step 1/25 : ARG BASE=golang:1.17-alpine3.15 [2022-06-29T07:26:09.645Z] Step 2/25 : FROM ${BASE} AS builder [2022-06-29T07:26:09.645Z] ---> 7e3bfc4ab1e8 [2022-06-29T07:26:09.645Z] Step 3/25 : ARG MAKE='make build' [2022-06-29T07:26:09.918Z] ---> Running in 1679fba8b207 [2022-06-29T07:26:10.199Z] Removing intermediate container 1679fba8b207 [2022-06-29T07:26:10.199Z] ---> 94585954000d [2022-06-29T07:26:10.199Z] Step 4/25 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2022-06-29T07:26:10.199Z] ---> Running in 88e806b6eaca [2022-06-29T07:26:10.476Z] Removing intermediate container 88e806b6eaca [2022-06-29T07:26:10.476Z] ---> 7c3c0965cedd [2022-06-29T07:26:10.476Z] Step 5/25 : ARG ALPINE_PKG_EXTRA="" [2022-06-29T07:26:10.476Z] ---> Running in 67fe1c6b3ebb [2022-06-29T07:26:10.759Z] Removing intermediate container 67fe1c6b3ebb [2022-06-29T07:26:10.759Z] ---> 64d405981121 [2022-06-29T07:26:10.759Z] Step 6/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-06-29T07:26:11.036Z] ---> Running in 349b879c7af9 [2022-06-29T07:26:12.480Z] Removing intermediate container 349b879c7af9 [2022-06-29T07:26:12.480Z] ---> ef601ccf8f3a [2022-06-29T07:26:12.480Z] Step 7/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-06-29T07:26:12.480Z] ---> Running in e1d1f27e2a3b [2022-06-29T07:26:13.923Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz [2022-06-29T07:26:14.518Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz [2022-06-29T07:26:15.503Z] OK: 224 MiB in 56 packages [2022-06-29T07:26:16.098Z] Removing intermediate container e1d1f27e2a3b [2022-06-29T07:26:16.098Z] ---> 52a6de9a5ecd [2022-06-29T07:26:16.098Z] Step 8/25 : WORKDIR /device-rest-go [2022-06-29T07:26:16.098Z] ---> Running in 2dd1b02b49d8 [2022-06-29T07:26:16.371Z] Removing intermediate container 2dd1b02b49d8 [2022-06-29T07:26:16.372Z] ---> b62db5a41def [2022-06-29T07:26:16.372Z] Step 9/25 : COPY go.mod vendor* ./ [2022-06-29T07:26:16.970Z] ---> baf447bb1d96 [2022-06-29T07:26:16.970Z] Step 10/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-06-29T07:26:16.970Z] ---> Running in 8a01717a3ba8 [2022-06-29T07:26:18.952Z] Removing intermediate container 8a01717a3ba8 [2022-06-29T07:26:18.952Z] ---> 44dc1064d5d9 [2022-06-29T07:26:18.952Z] Step 11/25 : COPY . . [2022-06-29T07:26:19.550Z] ---> 27831ad325b6 [2022-06-29T07:26:19.550Z] Step 12/25 : RUN $MAKE [2022-06-29T07:26:19.550Z] ---> Running in 702ddf5609c9 [2022-06-29T07:26:20.535Z] 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-06-29T07:28:27.441Z] Removing intermediate container 702ddf5609c9 [2022-06-29T07:28:27.441Z] ---> ad07bdf409eb [2022-06-29T07:28:27.441Z] Step 13/25 : FROM alpine:3.14 [2022-06-29T07:28:27.441Z] 3.14: Pulling from library/alpine [2022-06-29T07:28:27.441Z] 455c02918c45: Pulling fs layer [2022-06-29T07:28:27.441Z] 455c02918c45: Verifying Checksum [2022-06-29T07:28:27.441Z] 455c02918c45: Download complete [2022-06-29T07:28:27.441Z] 455c02918c45: Pull complete [2022-06-29T07:28:27.441Z] Digest: sha256:06b5d462c92fc39303e6363c65e074559f8d6b1363250027ed5053557e3398c5 [2022-06-29T07:28:27.441Z] Status: Downloaded newer image for alpine:3.14 [2022-06-29T07:28:27.441Z] ---> ac73e934f311 [2022-06-29T07:28:27.441Z] Step 14/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019: Intel' [2022-06-29T07:28:27.441Z] ---> Running in 11566d6e8228 [2022-06-29T07:28:27.441Z] Removing intermediate container 11566d6e8228 [2022-06-29T07:28:27.441Z] ---> 6a2b9aeee4e7 [2022-06-29T07:28:27.441Z] Step 15/25 : LABEL Name=device-rest-go Version=${VERSION} [2022-06-29T07:28:27.441Z] ---> Running in 3f6d0e480101 [2022-06-29T07:28:27.441Z] Removing intermediate container 3f6d0e480101 [2022-06-29T07:28:27.441Z] ---> f293f24a154e [2022-06-29T07:28:27.442Z] Step 16/25 : RUN apk add --update --no-cache zeromq dumb-init [2022-06-29T07:28:27.442Z] ---> Running in a535cbd40595 [2022-06-29T07:28:27.442Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/main/aarch64/APKINDEX.tar.gz [2022-06-29T07:28:27.442Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/community/aarch64/APKINDEX.tar.gz [2022-06-29T07:28:27.442Z] (1/6) Installing dumb-init (1.2.5-r1) [2022-06-29T07:28:27.442Z] (2/6) Installing libgcc (10.3.1_git20210424-r2) [2022-06-29T07:28:27.442Z] (3/6) Installing libsodium (1.0.18-r0) [2022-06-29T07:28:27.442Z] (4/6) Installing libstdc++ (10.3.1_git20210424-r2) [2022-06-29T07:28:27.442Z] (5/6) Installing libzmq (4.3.4-r0) [2022-06-29T07:28:27.442Z] (6/6) Installing zeromq (4.3.4-r0) [2022-06-29T07:28:27.442Z] Executing busybox-1.33.1-r7.trigger [2022-06-29T07:28:27.442Z] OK: 8 MiB in 20 packages [2022-06-29T07:28:27.442Z] Removing intermediate container a535cbd40595 [2022-06-29T07:28:27.442Z] ---> 90ed63b2c01b [2022-06-29T07:28:27.442Z] Step 17/25 : COPY --from=builder /device-rest-go/cmd / [2022-06-29T07:28:27.442Z] ---> d55fa89dd520 [2022-06-29T07:28:27.442Z] Step 18/25 : COPY --from=builder /device-rest-go/LICENSE / [2022-06-29T07:28:27.442Z] ---> d43961526b9c [2022-06-29T07:28:27.442Z] Step 19/25 : COPY --from=builder /device-rest-go/Attribution.txt / [2022-06-29T07:28:27.442Z] ---> d79587246d3d [2022-06-29T07:28:27.442Z] Step 20/25 : EXPOSE 59986 [2022-06-29T07:28:27.442Z] ---> Running in 335447b4ed17 [2022-06-29T07:28:27.442Z] Removing intermediate container 335447b4ed17 [2022-06-29T07:28:27.442Z] ---> 5cfdcad3f5f3 [2022-06-29T07:28:27.442Z] Step 21/25 : ENTRYPOINT ["/device-rest"] [2022-06-29T07:28:27.442Z] ---> Running in 1658b3771ce6 [2022-06-29T07:28:27.442Z] Removing intermediate container 1658b3771ce6 [2022-06-29T07:28:27.442Z] ---> d10ec1fb56fb [2022-06-29T07:28:27.442Z] Step 22/25 : CMD ["--cp=consul://edgex-core-consul:8500", "--confdir=/res", "--registry"] [2022-06-29T07:28:27.442Z] ---> Running in fadf3c320724 [2022-06-29T07:28:27.442Z] Removing intermediate container fadf3c320724 [2022-06-29T07:28:27.442Z] ---> a70e97279a0f [2022-06-29T07:28:27.442Z] Step 23/25 : LABEL arch=arm64 [2022-06-29T07:28:27.442Z] ---> Running in ebb6c1e1c617 [2022-06-29T07:28:27.442Z] Removing intermediate container ebb6c1e1c617 [2022-06-29T07:28:27.442Z] ---> c05529da6485 [2022-06-29T07:28:27.442Z] Step 24/25 : LABEL git_sha=98f032b9f43567c2f39d7bb2c341238a945ef2ed [2022-06-29T07:28:27.442Z] ---> Running in ed429ec59f34 [2022-06-29T07:28:27.442Z] Removing intermediate container ed429ec59f34 [2022-06-29T07:28:27.442Z] ---> 7875d7e5484e [2022-06-29T07:28:27.442Z] Step 25/25 : LABEL version=0.0.0 [2022-06-29T07:28:27.442Z] ---> Running in a547b708a974 [2022-06-29T07:28:27.442Z] Removing intermediate container a547b708a974 [2022-06-29T07:28:27.442Z] ---> af7e18b8bf3c [2022-06-29T07:28:27.442Z] [Warning] One or more build-args [ARCH] were not consumed [2022-06-29T07:28:27.442Z] Successfully built af7e18b8bf3c [2022-06-29T07:28:27.442Z] 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-06-29T07:28:28.269Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-06-29T07:28:28.269Z] [2022-06-29T07:28:28.269Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-29T07:28:28.683Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-06-29T07:28:28.959Z] arm64: Pulling from edgex-lftools-log-publisher [2022-06-29T07:28:28.959Z] 8998bd30e6a1: Pulling fs layer [2022-06-29T07:28:28.959Z] 04944245beec: Pulling fs layer [2022-06-29T07:28:28.959Z] 699f458cf7ca: Pulling fs layer [2022-06-29T07:28:28.959Z] 765212b225bb: Pulling fs layer [2022-06-29T07:28:28.959Z] f23df028b6ca: Pulling fs layer [2022-06-29T07:28:28.959Z] d65c8cfc05b1: Pulling fs layer [2022-06-29T07:28:28.959Z] 2437ff75d9bd: Pulling fs layer [2022-06-29T07:28:28.959Z] d65c8cfc05b1: Waiting [2022-06-29T07:28:28.959Z] 2437ff75d9bd: Waiting [2022-06-29T07:28:28.959Z] 765212b225bb: Waiting [2022-06-29T07:28:28.959Z] f23df028b6ca: Waiting [2022-06-29T07:28:28.959Z] 04944245beec: Verifying Checksum [2022-06-29T07:28:28.959Z] 04944245beec: Download complete [2022-06-29T07:28:28.959Z] 765212b225bb: Verifying Checksum [2022-06-29T07:28:28.959Z] 765212b225bb: Download complete [2022-06-29T07:28:28.959Z] f23df028b6ca: Verifying Checksum [2022-06-29T07:28:28.959Z] f23df028b6ca: Download complete [2022-06-29T07:28:28.959Z] d65c8cfc05b1: Verifying Checksum [2022-06-29T07:28:28.959Z] d65c8cfc05b1: Download complete [2022-06-29T07:28:29.237Z] 699f458cf7ca: Verifying Checksum [2022-06-29T07:28:29.237Z] 699f458cf7ca: Download complete [2022-06-29T07:28:29.520Z] 8998bd30e6a1: Download complete [2022-06-29T07:28:32.153Z] 2437ff75d9bd: Verifying Checksum [2022-06-29T07:28:32.153Z] 2437ff75d9bd: Download complete [2022-06-29T07:28:34.137Z] 8998bd30e6a1: Pull complete [2022-06-29T07:28:34.413Z] 04944245beec: Pull complete [2022-06-29T07:28:35.851Z] 699f458cf7ca: Pull complete [2022-06-29T07:28:36.136Z] 765212b225bb: Pull complete [2022-06-29T07:28:36.737Z] f23df028b6ca: Pull complete [2022-06-29T07:28:37.011Z] d65c8cfc05b1: Pull complete [2022-06-29T07:28:52.108Z] 2437ff75d9bd: Pull complete [2022-06-29T07:28:52.108Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2022-06-29T07:28:52.108Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-06-29T07:28:52.108Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-06-29T07:28:52.491Z] prd-ubuntu20.04-docker-arm64-4c-16g-16324 does not seem to be running inside a container [2022-06-29T07:28:52.591Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/device-rest-go/1 -v /w/workspace/device-rest-go/1:/w/workspace/device-rest-go/1:rw,z -v /w/workspace/device-rest-go/1@tmp:/w/workspace/device-rest-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat [2022-06-29T07:28:55.124Z] $ docker top 79713dd81a98b14f8acaf4bb97cf0e63d683b70676b9b080d45f052c6b897c5c -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-06-29T07:28:56.114Z] ---> job-cost.sh [2022-06-29T07:28:56.114Z] lf-activate-venv: SKIPPING [2022-06-29T07:28:56.114Z] INFO: No Stack... [2022-06-29T07:28:56.712Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2022-06-29T07:28:57.312Z] INFO: Archiving Costs [Pipeline] sh [2022-06-29T07:28:57.996Z] + cat+ /w/workspace/device-rest-go/1/archives/cost.csv [2022-06-29T07:28:57.996Z] cut -d, -f6 [Pipeline] lock [2022-06-29T07:28:58.080Z] Trying to acquire lock on [jenkins-edgexfoundry-device-rest-go-PR-202-1-stack-cost] [2022-06-29T07:28:58.085Z] Resource [jenkins-edgexfoundry-device-rest-go-PR-202-1-stack-cost] did not exist. Created. [2022-06-29T07:28:58.085Z] Lock acquired on [jenkins-edgexfoundry-device-rest-go-PR-202-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-06-29T07:28:58.826Z] /w/workspace/device-rest-go/1@tmp/durable-e0fb01c7/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2022-06-29T07:28:59.538Z] + echo total: 0.10999999940395355 [Pipeline] stash [2022-06-29T07:28:59.575Z] Warning: overwriting stash ‘stack-cost’ [2022-06-29T07:28:59.621Z] Stashed 1 file(s) [Pipeline] } [2022-06-29T07:28:59.636Z] Lock released on resource [jenkins-edgexfoundry-device-rest-go-PR-202-1-stack-cost] [Pipeline] // lock [Pipeline] } [2022-06-29T07:28:59.721Z] $ docker stop --time=1 79713dd81a98b14f8acaf4bb97cf0e63d683b70676b9b080d45f052c6b897c5c [2022-06-29T07:29:01.229Z] $ docker rm -f 79713dd81a98b14f8acaf4bb97cf0e63d683b70676b9b080d45f052c6b897c5c [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-06-29T07:29:02.212Z] provisioning config files... [2022-06-29T07:29:02.239Z] copy managed file [device-rest-go-codecov-token] to file:/w/workspace/gexfoundry_device-rest-go_PR-202@tmp/config2870612261526332221tmp [Pipeline] { [Pipeline] sh [2022-06-29T07:29:02.564Z] + set +x [2022-06-29T07:29:02.565Z] + curl -s https://codecov.io/bash [2022-06-29T07:29:02.565Z] + bash -s -- [2022-06-29T07:29:02.565Z] [2022-06-29T07:29:02.565Z] _____ _ [2022-06-29T07:29:02.565Z] / ____| | | [2022-06-29T07:29:02.565Z] | | ___ __| | ___ ___ _____ __ [2022-06-29T07:29:02.565Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2022-06-29T07:29:02.565Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2022-06-29T07:29:02.565Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2022-06-29T07:29:02.565Z] Bash-1.0.6 [2022-06-29T07:29:02.565Z] [2022-06-29T07:29:02.565Z] [2022-06-29T07:29:02.565Z] ==> git version 2.25.1 found [2022-06-29T07:29:02.565Z] ==> 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-06-29T07:29:02.565Z] Release-Date: 2020-01-08 [2022-06-29T07:29:02.565Z] 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-06-29T07:29:02.565Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2022-06-29T07:29:02.565Z] ==> Jenkins CI detected. [2022-06-29T07:29:02.565Z] current dir:  /w/workspace/gexfoundry_device-rest-go_PR-202 [2022-06-29T07:29:02.565Z] project root: . [2022-06-29T07:29:02.565Z] --> token set from env [2022-06-29T07:29:02.565Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2022-06-29T07:29:02.565Z] ==> Running gcov in . (disable via -X gcov) [2022-06-29T07:29:02.565Z] ==> Python coveragepy not found [2022-06-29T07:29:02.565Z] ==> Searching for coverage reports in: [2022-06-29T07:29:02.565Z] + . [2022-06-29T07:29:02.565Z] -> Found 1 reports [2022-06-29T07:29:02.565Z] ==> Detecting git/mercurial file structure [2022-06-29T07:29:02.565Z] ==> Reading reports [2022-06-29T07:29:02.565Z] + ./coverage.out bytes=9355 [2022-06-29T07:29:02.565Z] ==> Appending adjustments [2022-06-29T07:29:02.565Z] https://docs.codecov.io/docs/fixing-reports [2022-06-29T07:29:02.826Z] + Found adjustments [2022-06-29T07:29:02.826Z] ==> Gzipping contents [2022-06-29T07:29:02.826Z] 4.0K /tmp/codecov.3S7kke.gz [2022-06-29T07:29:02.826Z] ==> Uploading reports [2022-06-29T07:29:02.826Z] url: https://codecov.io [2022-06-29T07:29:02.826Z] query: branch=PR-202&commit=98f032b9f43567c2f39d7bb2c341238a945ef2ed&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-rest-go%2Fjob%2FPR-202%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-rest-go&service=jenkins&flags=&pr=202&job=&cmd_args= [2022-06-29T07:29:02.826Z] -> Pinging Codecov [2022-06-29T07:29:02.826Z] https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=c51feb23-73ac-4f49-b3d1-d26df23137db&branch=PR-202&commit=98f032b9f43567c2f39d7bb2c341238a945ef2ed&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-rest-go%2Fjob%2FPR-202%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-rest-go&service=jenkins&flags=&pr=202&job=&cmd_args= [2022-06-29T07:29:03.087Z] -> Uploading to [2022-06-29T07:29:03.087Z] https://storage.googleapis.com/codecov/v4/raw/2022-06-29/4E5D53B4F1F92C436F7061BF334D961C/98f032b9f43567c2f39d7bb2c341238a945ef2ed/c3facd6e-5735-4441-ab2e-1d451179ac11.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EKKHVKCKHW7KBCGM7IHR55T63V2PAVJWLVFNITJHDU5G6R5IRN3LMWJA%2F20220629%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20220629T072902Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=946495ed5d6bfecb34e46548b463c55cea609ae8117c8e0ea93a4a3acc09f837 [2022-06-29T07:29:03.087Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-06-29T07:29:03.087Z] Dload Upload Total Spent Left Speed [2022-06-29T07:29:03.348Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 1755 0 0 100 1755 0 6524 --:--:-- --:--:-- --:--:-- 6524 [2022-06-29T07:29:03.348Z] -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/device-rest-go/commit/98f032b9f43567c2f39d7bb2c341238a945ef2ed [Pipeline] } [2022-06-29T07:29:03.374Z] 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-06-29T07:29:05.026Z] + [ -d /w/workspace/gexfoundry_device-rest-go_PR-202/archives ] [2022-06-29T07:29:05.027Z] + ls -al /w/workspace/gexfoundry_device-rest-go_PR-202/archives [2022-06-29T07:29:05.027Z] total 16 [2022-06-29T07:29:05.027Z] drwxr-xr-x 3 root root 4096 Jun 29 07:21 . [2022-06-29T07:29:05.027Z] drwxrwxr-x 10 jenkins jenkins 4096 Jun 29 07:21 .. [2022-06-29T07:29:05.027Z] drwxr-xr-x 2 root root 4096 Jun 29 07:21 cost [2022-06-29T07:29:05.027Z] -rw-r--r-- 1 root root 85 Jun 29 07:21 cost.csv [2022-06-29T07:29:05.027Z] + sudo chown -R jenkins:jenkins /w/workspace/gexfoundry_device-rest-go_PR-202/archives [2022-06-29T07:29:05.027Z] + ls -al /w/workspace/gexfoundry_device-rest-go_PR-202/archives [2022-06-29T07:29:05.027Z] total 16 [2022-06-29T07:29:05.027Z] drwxr-xr-x 3 jenkins jenkins 4096 Jun 29 07:21 . [2022-06-29T07:29:05.027Z] drwxrwxr-x 10 jenkins jenkins 4096 Jun 29 07:21 .. [2022-06-29T07:29:05.027Z] drwxr-xr-x 2 jenkins jenkins 4096 Jun 29 07:21 cost [2022-06-29T07:29:05.027Z] -rw-r--r-- 1 jenkins jenkins 85 Jun 29 07:21 cost.csv [Pipeline] libraryResource [Pipeline] sh [2022-06-29T07:29:05.363Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2022-06-29T07:29:06.253Z] ---> package-listing.sh [2022-06-29T07:29:06.253Z] ++ facter osfamily [2022-06-29T07:29:06.253Z] ++ tr '[:upper:]' '[:lower:]' [2022-06-29T07:29:06.515Z] + OS_FAMILY=debian [2022-06-29T07:29:06.515Z] + workspace=/w/workspace/gexfoundry_device-rest-go_PR-202 [2022-06-29T07:29:06.515Z] + START_PACKAGES=/tmp/packages_start.txt [2022-06-29T07:29:06.515Z] + END_PACKAGES=/tmp/packages_end.txt [2022-06-29T07:29:06.515Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2022-06-29T07:29:06.515Z] + PACKAGES=/tmp/packages_start.txt [2022-06-29T07:29:06.515Z] + '[' /w/workspace/gexfoundry_device-rest-go_PR-202 ']' [2022-06-29T07:29:06.515Z] + PACKAGES=/tmp/packages_end.txt [2022-06-29T07:29:06.515Z] + case "${OS_FAMILY}" in [2022-06-29T07:29:06.515Z] + dpkg -l [2022-06-29T07:29:06.515Z] + grep '^ii' [2022-06-29T07:29:06.515Z] + '[' -f /tmp/packages_start.txt ']' [2022-06-29T07:29:06.515Z] + '[' -f /tmp/packages_end.txt ']' [2022-06-29T07:29:06.515Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2022-06-29T07:29:06.515Z] + '[' /w/workspace/gexfoundry_device-rest-go_PR-202 ']' [2022-06-29T07:29:06.515Z] + mkdir -p /w/workspace/gexfoundry_device-rest-go_PR-202/archives/ [2022-06-29T07:29:06.515Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_device-rest-go_PR-202/archives/ [Pipeline] echo [2022-06-29T07:29:06.547Z] 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-202/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2022-06-29T07:29:06.841Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-29T07:29:07.470Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-06-29T07:29:07.470Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-06-29T07:29:07.623Z] prd-ubuntu20.04-docker-8c-8g-16323 does not seem to be running inside a container [2022-06-29T07:29:07.666Z] $ 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-202/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-202 -v /w/workspace/gexfoundry_device-rest-go_PR-202:/w/workspace/gexfoundry_device-rest-go_PR-202:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-202@tmp:/w/workspace/gexfoundry_device-rest-go_PR-202@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2022-06-29T07:29:07.897Z] $ docker top f497f0c82c1f574bdec45c57f811dcd2b8fdc615d370f6d7103ab11f8d036e26 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-06-29T07:29:08.291Z] + touch /tmp/pre-build-complete [Pipeline] sh [2022-06-29T07:29:08.614Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2022-06-29T07:29:08.928Z] + ls /var/log/sa-host [2022-06-29T07:29:08.929Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-06-29T07:29:09.061Z] provisioning config files... [2022-06-29T07:29:09.071Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-rest-go_PR-202@tmp/config2086686979206592094tmp [Pipeline] { [Pipeline] echo [2022-06-29T07:29:09.119Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2022-06-29T07:29:09.436Z] ---> create-netrc.sh [Pipeline] } [2022-06-29T07:29:09.463Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2022-06-29T07:29:09.873Z] ---> python-tools-install.sh [Pipeline] echo [2022-06-29T07:29:09.906Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2022-06-29T07:29:10.220Z] ---> sudo-logs.sh [2022-06-29T07:29:10.221Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2022-06-29T07:29:10.299Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2022-06-29T07:29:10.613Z] ---> job-cost.sh [2022-06-29T07:29:10.613Z] lf-activate-venv: SKIPPING [2022-06-29T07:29:10.613Z] DEBUG: total: 0.2199999988079071 [2022-06-29T07:29:10.613Z] INFO: Retrieving Stack Cost... [2022-06-29T07:29:10.873Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2022-06-29T07:29:11.446Z] INFO: Archiving Costs [Pipeline] echo [2022-06-29T07:29:11.476Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2022-06-29T07:29:11.790Z] ---> logs-deploy.sh [2022-06-29T07:29:11.790Z] lf-activate-venv: SKIPPING [2022-06-29T07:29:11.790Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-rest-go/PR-202/1 [2022-06-29T07:29:11.790Z] INFO: archiving workspace using pattern(s): [2022-06-29T07:29:12.731Z] Archives upload complete. [2022-06-29T07:29:12.993Z] INFO: archiving logs to Nexus