Branch indexing Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 350a65c731730f67ca503570233d7e961a4dd6de+ee3b3be503c005455f07215b653abfd16f272028 (2515b2d415626445ee84707d2d17e4fcbcbe2c99) 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-ssh8141751723393393379.key Verifying host key using known hosts file > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 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-ssh17548131596423837757.key Verifying host key using known hosts file > 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 cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 The recommended git tool is: git using credential edgex-jenkins-ssh > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-rest-go/branches/PR-222/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82/.git # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching with tags Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-rest-go/branches/PR-222/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh1431142645829961827.key Verifying host key using known hosts file > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 # timeout=10 Commit message: "Merge pull request #420 from bill-mahoney/levski-update" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:edgexfoundry/edgex-global-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. Loading library lf-pipelines@master Attempting to resolve master from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /tmp/jenkins-gitclient-ssh2956665132410023551.key Verifying host key using known hosts file > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision 65355178549468b165f8106641c96c3190b1d843 The recommended git tool is: NONE using credential edgex-jenkins-ssh > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-rest-go/branches/PR-222/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e/.git # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 Fetching without tags Fetching upstream changes from git@github.com:lfit/releng-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-rest-go/branches/PR-222/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh17132456339577545770.key Verifying host key using known hosts file > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision 65355178549468b165f8106641c96c3190b1d843 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 65355178549468b165f8106641c96c3190b1d843 # timeout=10 Commit message: "Fix: Add S3 URL in href to ship logs" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-rest-go] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[ubuntu20.04-docker-8c-8g, ubuntu20.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-rest-go-settings PROJECT: device-rest-go USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.18 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 All nodes of label ‘ubuntu20.04-docker-8c-8g’ are offline Running on prd-ubuntu20.04-docker-8c-8g-118123 in /w/workspace/gexfoundry_device-rest-go_PR-222 [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-222 # 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 Verifying host key using known hosts file You're using 'Known hosts file' strategy to verify ssh host keys, but your known_hosts file does not exist, please go to 'Manage Jenkins' -> 'Configure Global Security' -> 'Git Host Key Verification Configuration' and configure host key verification. > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git using GIT_SSH to set credentials SSH Credentials for GitHub Verifying host key using known hosts file You're using 'Known hosts file' strategy to verify ssh host keys, but your known_hosts file does not exist, please go to 'Manage Jenkins' -> 'Configure Global Security' -> 'Git Host Key Verification Configuration' and configure host key verification. > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/pull/222/head:refs/remotes/origin/PR-222 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit ee3b3be503c005455f07215b653abfd16f272028 into PR head commit 350a65c731730f67ca503570233d7e961a4dd6de Merge succeeded, producing 11d3437e55476b59528cf52fc5308db9a66a8f74 Checking out Revision 11d3437e55476b59528cf52fc5308db9a66a8f74 (PR-222) > git config core.sparsecheckout # timeout=10 > git checkout -f 350a65c731730f67ca503570233d7e961a4dd6de # timeout=10 > git remote # timeout=10 > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub Verifying host key using known hosts file You're using 'Known hosts file' strategy to verify ssh host keys, but your known_hosts file does not exist, please go to 'Manage Jenkins' -> 'Configure Global Security' -> 'Git Host Key Verification Configuration' and configure host key verification. > git merge ee3b3be503c005455f07215b653abfd16f272028 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 11d3437e55476b59528cf52fc5308db9a66a8f74 # timeout=10 Commit message: "Merge commit 'ee3b3be503c005455f07215b653abfd16f272028' into HEAD" > git rev-list --no-walk 350a65c731730f67ca503570233d7e961a4dd6de # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2022-11-03T15:07:56.377Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2022-11-03T15:07:56.439Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2022-11-03T15:07:56.453Z] ========================================================= [2022-11-03T15:07:56.454Z] EdgeX Global Pipelines Version Info [2022-11-03T15:07:56.454Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2022-11-03T15:07:57.782Z] ------------------- [2022-11-03T15:07:57.782Z] stable info: [2022-11-03T15:07:57.782Z] ------------------- [2022-11-03T15:07:57.782Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2022-11-03T15:07:57.782Z] Commit SHA: cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 [2022-11-03T15:07:57.782Z] Message: update stable to v1.0.244 [2022-11-03T15:07:58.042Z] ------------------- [2022-11-03T15:07:58.042Z] experimental info: [2022-11-03T15:07:58.042Z] ------------------- [2022-11-03T15:07:58.042Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2022-11-03T15:07:58.042Z] Commit SHA: cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 [2022-11-03T15:07:58.042Z] Message: update experimental to v1.0.244 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2022-11-03T15:07:58.189Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-rest-go-settings [Pipeline] echo [2022-11-03T15:07:58.200Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-rest-go [Pipeline] echo [2022-11-03T15:07:58.209Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2022-11-03T15:07:58.218Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2022-11-03T15:07:58.228Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2022-11-03T15:07:58.237Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.18 [Pipeline] echo [2022-11-03T15:07:58.247Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2022-11-03T15:07:58.256Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2022-11-03T15:07:58.266Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2022-11-03T15:07:58.275Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2022-11-03T15:07:58.285Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2022-11-03T15:07:58.294Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-rest [Pipeline] echo [2022-11-03T15:07:58.304Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2022-11-03T15:07:58.313Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2022-11-03T15:07:58.322Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2022-11-03T15:07:58.337Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2022-11-03T15:07:58.349Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2022-11-03T15:07:58.357Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2022-11-03T15:07:58.367Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2022-11-03T15:07:58.376Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2022-11-03T15:07:58.385Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2022-11-03T15:07:58.394Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2022-11-03T15:07:58.403Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2022-11-03T15:07:58.413Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2022-11-03T15:07:58.422Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2022-11-03T15:07:58.432Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2022-11-03T15:07:58.442Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2022-11-03T15:07:58.452Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-222 [Pipeline] echo [2022-11-03T15:07:58.465Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-222 [Pipeline] echo [2022-11-03T15:07:58.476Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-222 [Pipeline] echo [2022-11-03T15:07:58.487Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 11d3437e55476b59528cf52fc5308db9a66a8f74 [Pipeline] echo [2022-11-03T15:07:58.499Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 11d3437 [Pipeline] echo [2022-11-03T15:07:58.516Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-11-03T15:07:58.564Z] provisioning config files... [2022-11-03T15:07:58.578Z] copy managed file [device-rest-go-settings] to file:/w/workspace/gexfoundry_device-rest-go_PR-222@tmp/config921649080386260368tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-11-03T15:07:58.881Z] ---> docker-login.sh [2022-11-03T15:07:58.881Z] nexus3.edgexfoundry.org:10001 [2022-11-03T15:08:00.815Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-11-03T15:08:00.815Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-11-03T15:08:00.815Z] Configure a credential helper to remove this warning. See [2022-11-03T15:08:00.815Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-11-03T15:08:00.815Z] [2022-11-03T15:08:00.815Z] Login Succeeded [2022-11-03T15:08:00.815Z] nexus3.edgexfoundry.org:10002 [2022-11-03T15:08:01.085Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-11-03T15:08:01.085Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-11-03T15:08:01.085Z] Configure a credential helper to remove this warning. See [2022-11-03T15:08:01.085Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-11-03T15:08:01.085Z] [2022-11-03T15:08:01.085Z] Login Succeeded [2022-11-03T15:08:01.085Z] nexus3.edgexfoundry.org:10003 [2022-11-03T15:08:01.085Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-11-03T15:08:01.085Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-11-03T15:08:01.085Z] Configure a credential helper to remove this warning. See [2022-11-03T15:08:01.085Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-11-03T15:08:01.085Z] [2022-11-03T15:08:01.085Z] Login Succeeded [2022-11-03T15:08:01.085Z] nexus3.edgexfoundry.org:10004 [2022-11-03T15:08:01.357Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-11-03T15:08:01.357Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-11-03T15:08:01.357Z] Configure a credential helper to remove this warning. See [2022-11-03T15:08:01.357Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-11-03T15:08:01.357Z] [2022-11-03T15:08:01.357Z] Login Succeeded [2022-11-03T15:08:01.357Z] docker.io [2022-11-03T15:08:01.357Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-11-03T15:08:01.930Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-11-03T15:08:01.930Z] Configure a credential helper to remove this warning. See [2022-11-03T15:08:01.930Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-11-03T15:08:01.930Z] [2022-11-03T15:08:01.930Z] Login Succeeded [2022-11-03T15:08:01.930Z] ---> docker-login.sh ends [Pipeline] } [2022-11-03T15:08:01.938Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2022-11-03T15:08:02.318Z] + git rev-list -1 --merges 11d3437e55476b59528cf52fc5308db9a66a8f74~1..11d3437e55476b59528cf52fc5308db9a66a8f74 [Pipeline] echo [2022-11-03T15:08:02.350Z] -----------> git rev-list -1 --merges 11d3437e55476b59528cf52fc5308db9a66a8f74~1..11d3437e55476b59528cf52fc5308db9a66a8f74 11d3437e55476b59528cf52fc5308db9a66a8f74 [2022-11-03T15:08:02.350Z] 11d3437e55476b59528cf52fc5308db9a66a8f74 [false] [Pipeline] sh [2022-11-03T15:08:02.651Z] + git log --format=format:%s -1 11d3437e55476b59528cf52fc5308db9a66a8f74 [Pipeline] echo [2022-11-03T15:08:02.665Z] ========================================================= [2022-11-03T15:08:02.665Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2022-11-03T15:08:02.665Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-11-03T15:08:03.011Z] + git log --format=format:%s -1 11d3437e55476b59528cf52fc5308db9a66a8f74 [Pipeline] echo [2022-11-03T15:08:03.021Z] [semverPrep] GIT_COMMIT: 11d3437e55476b59528cf52fc5308db9a66a8f74, Commit Message: Merge commit 'ee3b3be503c005455f07215b653abfd16f272028' into HEAD [Pipeline] echo [2022-11-03T15:08:03.031Z] [semverPrep] This is not a build commit. [Pipeline] sh [2022-11-03T15:08:03.390Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2022-11-03T15:08:03.391Z] + grep -v github /etc/ssh/ssh_known_hosts [2022-11-03T15:08:03.391Z] + [ -e /tmp/ssh_known_hosts ] [2022-11-03T15:08:03.391Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2022-11-03T15:08:03.391Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2022-11-03T15:08:03.391Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2022-11-03T15:08:03.391Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-11-03T15:08:03.831Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-11-03T15:08:03.831Z] [2022-11-03T15:08:03.831Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-11-03T15:08:04.128Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-11-03T15:08:04.701Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2022-11-03T15:08:04.701Z] b85a868b505f: Pulling fs layer [2022-11-03T15:08:04.701Z] e2be974225ed: Pulling fs layer [2022-11-03T15:08:04.701Z] 339a4e72a1f5: Pulling fs layer [2022-11-03T15:08:04.701Z] 988bab9f4d93: Pulling fs layer [2022-11-03T15:08:04.701Z] 1469e6f7b9e6: Pulling fs layer [2022-11-03T15:08:04.701Z] eaf3925da568: Pulling fs layer [2022-11-03T15:08:04.701Z] bab4dde63d76: Pulling fs layer [2022-11-03T15:08:04.701Z] bde34c3a00c8: Pulling fs layer [2022-11-03T15:08:04.701Z] b352a97aabf1: Pulling fs layer [2022-11-03T15:08:04.701Z] 4872d77fe225: Pulling fs layer [2022-11-03T15:08:04.701Z] 5851b861e8e6: Pulling fs layer [2022-11-03T15:08:04.701Z] bab4dde63d76: Waiting [2022-11-03T15:08:04.701Z] 988bab9f4d93: Waiting [2022-11-03T15:08:04.701Z] bde34c3a00c8: Waiting [2022-11-03T15:08:04.701Z] b352a97aabf1: Waiting [2022-11-03T15:08:04.701Z] 4872d77fe225: Waiting [2022-11-03T15:08:04.701Z] 5851b861e8e6: Waiting [2022-11-03T15:08:04.701Z] 1469e6f7b9e6: Waiting [2022-11-03T15:08:04.701Z] eaf3925da568: Waiting [2022-11-03T15:08:04.962Z] e2be974225ed: Download complete [2022-11-03T15:08:04.962Z] 988bab9f4d93: Verifying Checksum [2022-11-03T15:08:04.962Z] 988bab9f4d93: Download complete [2022-11-03T15:08:04.962Z] 1469e6f7b9e6: Verifying Checksum [2022-11-03T15:08:04.962Z] 1469e6f7b9e6: Download complete [2022-11-03T15:08:04.962Z] eaf3925da568: Download complete [2022-11-03T15:08:04.962Z] 339a4e72a1f5: Verifying Checksum [2022-11-03T15:08:04.962Z] 339a4e72a1f5: Download complete [2022-11-03T15:08:04.962Z] bde34c3a00c8: Verifying Checksum [2022-11-03T15:08:04.962Z] bde34c3a00c8: Download complete [2022-11-03T15:08:04.962Z] b352a97aabf1: Verifying Checksum [2022-11-03T15:08:04.962Z] b352a97aabf1: Download complete [2022-11-03T15:08:04.962Z] 4872d77fe225: Verifying Checksum [2022-11-03T15:08:04.962Z] 4872d77fe225: Download complete [2022-11-03T15:08:04.962Z] 5851b861e8e6: Verifying Checksum [2022-11-03T15:08:04.962Z] 5851b861e8e6: Download complete [2022-11-03T15:08:05.224Z] b85a868b505f: Verifying Checksum [2022-11-03T15:08:05.224Z] b85a868b505f: Download complete [2022-11-03T15:08:05.484Z] bab4dde63d76: Verifying Checksum [2022-11-03T15:08:05.484Z] bab4dde63d76: Download complete [2022-11-03T15:08:06.862Z] b85a868b505f: Pull complete [2022-11-03T15:08:07.121Z] e2be974225ed: Pull complete [2022-11-03T15:08:08.059Z] 339a4e72a1f5: Pull complete [2022-11-03T15:08:08.999Z] 988bab9f4d93: Pull complete [2022-11-03T15:08:09.565Z] 1469e6f7b9e6: Pull complete [2022-11-03T15:08:10.532Z] eaf3925da568: Pull complete [2022-11-03T15:08:13.820Z] bab4dde63d76: Pull complete [2022-11-03T15:08:14.389Z] bde34c3a00c8: Pull complete [2022-11-03T15:08:14.957Z] b352a97aabf1: Pull complete [2022-11-03T15:08:15.567Z] 4872d77fe225: Pull complete [2022-11-03T15:08:16.507Z] 5851b861e8e6: Pull complete [2022-11-03T15:08:17.076Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2022-11-03T15:08:17.335Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-11-03T15:08:17.335Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-11-03T15:08:17.419Z] prd-ubuntu20.04-docker-8c-8g-118123 does not seem to be running inside a container [2022-11-03T15:08:17.454Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-rest-go_PR-222 -v /w/workspace/gexfoundry_device-rest-go_PR-222:/w/workspace/gexfoundry_device-rest-go_PR-222:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-222@tmp:/w/workspace/gexfoundry_device-rest-go_PR-222@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2022-11-03T15:08:22.667Z] $ docker top ccdc686f78c57a68e1ba05adc190e166e73dbb063827bad47e51dcbd561e1acb -eo pid,comm [2022-11-03T15:08:22.725Z] ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). [2022-11-03T15:08:22.725Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2022-11-03T15:08:22.761Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-11-03T15:08:22.761Z] [ssh-agent] Looking for ssh-agent implementation... [2022-11-03T15:08:22.890Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-11-03T15:08:22.897Z] $ docker exec ccdc686f78c57a68e1ba05adc190e166e73dbb063827bad47e51dcbd561e1acb ssh-agent [2022-11-03T15:08:22.997Z] SSH_AUTH_SOCK=/tmp/ssh-vfVaxeJNL8ZX/agent.31 [2022-11-03T15:08:22.997Z] SSH_AGENT_PID=37 [2022-11-03T15:08:23.006Z] Running ssh-add (command line suppressed) [2022-11-03T15:08:23.113Z] Identity added: /w/workspace/gexfoundry_device-rest-go_PR-222@tmp/private_key_12713885896425567398.key (/w/workspace/gexfoundry_device-rest-go_PR-222@tmp/private_key_12713885896425567398.key) [2022-11-03T15:08:23.126Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-11-03T15:08:23.412Z] + git tag --points-at HEAD [Pipeline] } [2022-11-03T15:08:23.429Z] $ docker exec --env ******** --env ******** ccdc686f78c57a68e1ba05adc190e166e73dbb063827bad47e51dcbd561e1acb ssh-agent -k [2022-11-03T15:08:23.521Z] unset SSH_AUTH_SOCK; [2022-11-03T15:08:23.522Z] unset SSH_AGENT_PID; [2022-11-03T15:08:23.522Z] echo Agent pid 37 killed; [2022-11-03T15:08:23.529Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2022-11-03T15:08:23.555Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-11-03T15:08:23.555Z] [ssh-agent] Looking for ssh-agent implementation... [2022-11-03T15:08:23.660Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-11-03T15:08:23.666Z] $ docker exec ccdc686f78c57a68e1ba05adc190e166e73dbb063827bad47e51dcbd561e1acb ssh-agent [2022-11-03T15:08:23.759Z] SSH_AUTH_SOCK=/tmp/ssh-9dNYRGjY9lR7/agent.69 [2022-11-03T15:08:23.759Z] SSH_AGENT_PID=75 [2022-11-03T15:08:23.764Z] Running ssh-add (command line suppressed) [2022-11-03T15:08:23.859Z] Identity added: /w/workspace/gexfoundry_device-rest-go_PR-222@tmp/private_key_959941887714479734.key (/w/workspace/gexfoundry_device-rest-go_PR-222@tmp/private_key_959941887714479734.key) [2022-11-03T15:08:23.871Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-11-03T15:08:24.155Z] + git semver init [2022-11-03T15:08:24.415Z] 2022-11-03 15:08:24,372 [run_init] DEBUG init version:0.0.0 force:False [2022-11-03T15:08:24.415Z] 2022-11-03 15:08:24,374 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/gexfoundry_device-rest-go_PR-222/.semver [2022-11-03T15:08:24.415Z] 2022-11-03 15:08:24,375 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-rest-go.git /w/workspace/gexfoundry_device-rest-go_PR-222/.semver [2022-11-03T15:08:24.415Z] 2022-11-03 15:08:24,375 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-rest-go.git', '/w/workspace/gexfoundry_device-rest-go_PR-222/.semver'], cwd=/w/workspace/gexfoundry_device-rest-go_PR-222, universal_newlines=False, shell=None, istream=None) [2022-11-03T15:08:26.325Z] 2022-11-03 15:08:25,893 [append_file] DEBUG append to file:/w/workspace/gexfoundry_device-rest-go_PR-222/.git/info/exclude [2022-11-03T15:08:26.325Z] 2022-11-03 15:08:25,893 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/gexfoundry_device-rest-go_PR-222/.semver/PR-222 with force:False [2022-11-03T15:08:26.325Z] 2022-11-03 15:08:25,894 [write_file] DEBUG write to file:/w/workspace/gexfoundry_device-rest-go_PR-222/.semver/PR-222 [2022-11-03T15:08:26.325Z] 2022-11-03 15:08:25,898 [execute] INFO git cat-file --batch-check [2022-11-03T15:08:26.325Z] 2022-11-03 15:08:25,898 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/gexfoundry_device-rest-go_PR-222/.semver, universal_newlines=False, shell=None, istream=) [2022-11-03T15:08:26.325Z] 2022-11-03 15:08:25,905 [execute] INFO git cat-file --batch [2022-11-03T15:08:26.325Z] 2022-11-03 15:08:25,905 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/gexfoundry_device-rest-go_PR-222/.semver, universal_newlines=False, shell=None, istream=) [2022-11-03T15:08:26.325Z] 2022-11-03 15:08:25,914 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-rest-go_PR-222/.semver/PR-222 [2022-11-03T15:08:26.325Z] 0.0.0 [Pipeline] } [2022-11-03T15:08:26.336Z] $ docker exec --env ******** --env ******** ccdc686f78c57a68e1ba05adc190e166e73dbb063827bad47e51dcbd561e1acb ssh-agent -k [2022-11-03T15:08:26.429Z] unset SSH_AUTH_SOCK; [2022-11-03T15:08:26.430Z] unset SSH_AGENT_PID; [2022-11-03T15:08:26.430Z] echo Agent pid 75 killed; [2022-11-03T15:08:26.437Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2022-11-03T15:08:26.733Z] + git semver [Pipeline] } [2022-11-03T15:08:27.004Z] $ docker stop --time=1 ccdc686f78c57a68e1ba05adc190e166e73dbb063827bad47e51dcbd561e1acb [2022-11-03T15:08:28.989Z] $ docker rm -f ccdc686f78c57a68e1ba05adc190e166e73dbb063827bad47e51dcbd561e1acb [Pipeline] // withDockerContainer [Pipeline] sh [2022-11-03T15:08:29.370Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2022-11-03T15:08:29.590Z] Stashed 1 file(s) [Pipeline] echo [2022-11-03T15:08:29.593Z] [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-11-03T15:08:29.745Z] provisioning config files... [2022-11-03T15:08:29.752Z] copy managed file [device-rest-go-settings] to file:/w/workspace/gexfoundry_device-rest-go_PR-222@tmp/config10921618042454761371tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-11-03T15:08:30.048Z] ---> docker-login.sh [2022-11-03T15:08:30.048Z] nexus3.edgexfoundry.org:10001 [2022-11-03T15:08:30.048Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-11-03T15:08:30.048Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-11-03T15:08:30.048Z] Configure a credential helper to remove this warning. See [2022-11-03T15:08:30.048Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-11-03T15:08:30.048Z] [2022-11-03T15:08:30.048Z] Login Succeeded [2022-11-03T15:08:30.048Z] nexus3.edgexfoundry.org:10002 [2022-11-03T15:08:30.048Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-11-03T15:08:30.048Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-11-03T15:08:30.048Z] Configure a credential helper to remove this warning. See [2022-11-03T15:08:30.048Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-11-03T15:08:30.048Z] [2022-11-03T15:08:30.048Z] Login Succeeded [2022-11-03T15:08:30.048Z] nexus3.edgexfoundry.org:10003 [2022-11-03T15:08:30.308Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-11-03T15:08:30.308Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-11-03T15:08:30.308Z] Configure a credential helper to remove this warning. See [2022-11-03T15:08:30.308Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-11-03T15:08:30.308Z] [2022-11-03T15:08:30.308Z] Login Succeeded [2022-11-03T15:08:30.308Z] nexus3.edgexfoundry.org:10004 [2022-11-03T15:08:30.308Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-11-03T15:08:30.308Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-11-03T15:08:30.308Z] Configure a credential helper to remove this warning. See [2022-11-03T15:08:30.308Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-11-03T15:08:30.308Z] [2022-11-03T15:08:30.308Z] Login Succeeded [2022-11-03T15:08:30.308Z] docker.io [2022-11-03T15:08:30.568Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-11-03T15:08:30.827Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-11-03T15:08:30.827Z] Configure a credential helper to remove this warning. See [2022-11-03T15:08:30.827Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-11-03T15:08:30.827Z] [2022-11-03T15:08:30.827Z] Login Succeeded [2022-11-03T15:08:30.827Z] ---> docker-login.sh ends [Pipeline] } [2022-11-03T15:08:30.835Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-11-03T15:08:30.898Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-11-03T15:08:30.913Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-11-03T15:08:30.919Z] ========================================================= [2022-11-03T15:08:30.919Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine] [2022-11-03T15:08:30.919Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-11-03T15:08:31.230Z] + docker build -t ci-base-image-x86_64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine --build-arg MAKE=echo noop --target=builder . [2022-11-03T15:08:31.230Z] Sending build context to Docker daemon 10.76MB [2022-11-03T15:08:31.230Z] Step 1/12 : ARG BASE=golang:1.18-alpine3.16 [2022-11-03T15:08:31.230Z] Step 2/12 : FROM ${BASE} AS builder [2022-11-03T15:08:31.822Z] 1.18-alpine: Pulling from edgex-devops/edgex-golang-base [2022-11-03T15:08:31.822Z] 213ec9aee27d: Pulling fs layer [2022-11-03T15:08:31.822Z] 4583459ba037: Pulling fs layer [2022-11-03T15:08:31.822Z] 93c1e223e6f2: Pulling fs layer [2022-11-03T15:08:31.822Z] 53926ce57604: Pulling fs layer [2022-11-03T15:08:31.822Z] 21b2b0c7a3f4: Pulling fs layer [2022-11-03T15:08:31.822Z] 22ff95d597cd: Pulling fs layer [2022-11-03T15:08:31.822Z] 12d6caf4c0d1: Pulling fs layer [2022-11-03T15:08:31.822Z] 96b7cbca73a9: Pulling fs layer [2022-11-03T15:08:31.822Z] a7acece74701: Pulling fs layer [2022-11-03T15:08:31.822Z] 22ff95d597cd: Waiting [2022-11-03T15:08:31.822Z] 12d6caf4c0d1: Waiting [2022-11-03T15:08:31.822Z] 96b7cbca73a9: Waiting [2022-11-03T15:08:31.822Z] 53926ce57604: Waiting [2022-11-03T15:08:31.822Z] 21b2b0c7a3f4: Waiting [2022-11-03T15:08:31.822Z] 93c1e223e6f2: Verifying Checksum [2022-11-03T15:08:31.822Z] 93c1e223e6f2: Download complete [2022-11-03T15:08:31.822Z] 21b2b0c7a3f4: Verifying Checksum [2022-11-03T15:08:31.822Z] 21b2b0c7a3f4: Download complete [2022-11-03T15:08:31.823Z] 22ff95d597cd: Verifying Checksum [2022-11-03T15:08:31.823Z] 22ff95d597cd: Download complete [2022-11-03T15:08:31.823Z] 213ec9aee27d: Verifying Checksum [2022-11-03T15:08:31.823Z] 213ec9aee27d: Download complete [2022-11-03T15:08:31.823Z] 12d6caf4c0d1: Verifying Checksum [2022-11-03T15:08:31.823Z] 12d6caf4c0d1: Download complete [2022-11-03T15:08:32.390Z] a7acece74701: Verifying Checksum [2022-11-03T15:08:32.390Z] 213ec9aee27d: Pull complete [2022-11-03T15:08:32.390Z] 96b7cbca73a9: Download complete [2022-11-03T15:08:32.648Z] 53926ce57604: Verifying Checksum [2022-11-03T15:08:32.648Z] 53926ce57604: Download complete [2022-11-03T15:08:32.906Z] 4583459ba037: Pull complete [2022-11-03T15:08:33.474Z] 93c1e223e6f2: Pull complete [2022-11-03T15:08:38.741Z] 53926ce57604: Pull complete [2022-11-03T15:08:38.741Z] 21b2b0c7a3f4: Pull complete [2022-11-03T15:08:39.308Z] 22ff95d597cd: Pull complete [2022-11-03T15:08:39.874Z] 12d6caf4c0d1: Pull complete [2022-11-03T15:08:42.403Z] 96b7cbca73a9: Pull complete [2022-11-03T15:08:44.317Z] a7acece74701: Pull complete [2022-11-03T15:08:44.317Z] Digest: sha256:f6a9ef70c52da88a2ff63a0c6767b24654f9f5185d1d85ca6cc3004fb48f6c2d [2022-11-03T15:08:44.317Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine [2022-11-03T15:08:44.317Z] ---> db6d94c90886 [2022-11-03T15:08:44.317Z] Step 3/12 : ARG ADD_BUILD_TAGS="" [2022-11-03T15:08:44.695Z] Still waiting to schedule task [2022-11-03T15:08:44.695Z] All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline [2022-11-03T15:08:52.434Z] ---> Running in 87dd1cf13e6d [2022-11-03T15:08:52.434Z] Removing intermediate container 87dd1cf13e6d [2022-11-03T15:08:52.434Z] ---> 6f72a8a83d7d [2022-11-03T15:08:52.434Z] Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2022-11-03T15:08:52.434Z] ---> Running in 3c166f69fcf2 [2022-11-03T15:08:52.434Z] Removing intermediate container 3c166f69fcf2 [2022-11-03T15:08:52.434Z] ---> 14066a4ebb95 [2022-11-03T15:08:52.434Z] Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2022-11-03T15:08:52.434Z] ---> Running in 84d909e9765d [2022-11-03T15:08:52.434Z] Removing intermediate container 84d909e9765d [2022-11-03T15:08:52.434Z] ---> 1bbe568b3177 [2022-11-03T15:08:52.434Z] Step 6/12 : ARG ALPINE_PKG_EXTRA="" [2022-11-03T15:08:52.434Z] ---> Running in b05e9a7ac18b [2022-11-03T15:08:52.434Z] Removing intermediate container b05e9a7ac18b [2022-11-03T15:08:52.434Z] ---> c079839a1909 [2022-11-03T15:08:52.434Z] Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-11-03T15:08:52.434Z] ---> Running in b046631bf757 [2022-11-03T15:08:52.707Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2022-11-03T15:08:52.965Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2022-11-03T15:08:53.223Z] (1/4) Installing openssh-keygen (9.0_p1-r2) [2022-11-03T15:08:53.223Z] (2/4) Installing libedit (20210910.3.1-r0) [2022-11-03T15:08:53.223Z] (3/4) Installing openssh-client-common (9.0_p1-r2) [2022-11-03T15:08:53.223Z] (4/4) Installing openssh-client-default (9.0_p1-r2) [2022-11-03T15:08:53.223Z] Executing busybox-1.35.0-r17.trigger [2022-11-03T15:08:53.223Z] OK: 216 MiB in 55 packages [2022-11-03T15:08:54.161Z] Removing intermediate container b046631bf757 [2022-11-03T15:08:54.161Z] ---> 5540d820e175 [2022-11-03T15:08:54.161Z] Step 8/12 : WORKDIR /device-rest-go [2022-11-03T15:08:54.161Z] ---> Running in 29bb231332e0 [2022-11-03T15:08:54.419Z] Removing intermediate container 29bb231332e0 [2022-11-03T15:08:54.419Z] ---> 6b2d88fbec11 [2022-11-03T15:08:54.420Z] Step 9/12 : COPY go.mod vendor* ./ [2022-11-03T15:08:55.041Z] ---> a440bd84d98f [2022-11-03T15:08:55.041Z] Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-11-03T15:08:55.616Z] ---> Running in 35dbfda8bc04 [2022-11-03T15:09:42.375Z] Removing intermediate container 35dbfda8bc04 [2022-11-03T15:09:42.375Z] ---> ab1f7cff8c9b [2022-11-03T15:09:42.375Z] Step 11/12 : COPY . . [2022-11-03T15:09:42.375Z] ---> eb2b86f57dd6 [2022-11-03T15:09:42.375Z] Step 12/12 : RUN $MAKE [2022-11-03T15:09:42.375Z] ---> Running in efcdbdbdcfbe [2022-11-03T15:09:42.375Z] noop [2022-11-03T15:09:42.375Z] Removing intermediate container efcdbdbdcfbe [2022-11-03T15:09:42.375Z] ---> 7acf8d757295 [2022-11-03T15:09:42.375Z] Successfully built 7acf8d757295 [2022-11-03T15:09:42.375Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-11-03T15:09:42.692Z] + docker inspect -f . ci-base-image-x86_64 [2022-11-03T15:09:42.692Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-11-03T15:09:42.762Z] prd-ubuntu20.04-docker-8c-8g-118123 does not seem to be running inside a container [2022-11-03T15:09:42.804Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-rest-go_PR-222 -v /w/workspace/gexfoundry_device-rest-go_PR-222:/w/workspace/gexfoundry_device-rest-go_PR-222:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-222@tmp:/w/workspace/gexfoundry_device-rest-go_PR-222@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2022-11-03T15:09:44.215Z] $ docker top dbbf292060c973dba73fb66aa1270a6b3cf4dbeba0b59b9818b372c275d4932e -eo pid,comm [Pipeline] { [Pipeline] sh [2022-11-03T15:09:44.575Z] + go version [2022-11-03T15:09:44.576Z] go version go1.18.7 linux/amd64 [Pipeline] } [2022-11-03T15:09:44.589Z] $ docker stop --time=1 dbbf292060c973dba73fb66aa1270a6b3cf4dbeba0b59b9818b372c275d4932e [2022-11-03T15:09:47.695Z] $ docker rm -f dbbf292060c973dba73fb66aa1270a6b3cf4dbeba0b59b9818b372c275d4932e [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-11-03T15:09:48.287Z] + docker inspect -f . ci-base-image-x86_64 [2022-11-03T15:09:48.287Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-11-03T15:09:48.349Z] prd-ubuntu20.04-docker-8c-8g-118123 does not seem to be running inside a container [2022-11-03T15:09:48.390Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/gexfoundry_device-rest-go_PR-222 -v /w/workspace/gexfoundry_device-rest-go_PR-222:/w/workspace/gexfoundry_device-rest-go_PR-222:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-222@tmp:/w/workspace/gexfoundry_device-rest-go_PR-222@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2022-11-03T15:09:51.240Z] $ docker top 39c759c64407bbc7a30fe7c433fcd36ea26bfbe3f52492f94022f40900172d0b -eo pid,comm [Pipeline] { [Pipeline] sh [2022-11-03T15:09:51.572Z] + git config --global --add safe.directory /w/workspace/gexfoundry_device-rest-go_PR-222 [Pipeline] fileExists [Pipeline] sh [2022-11-03T15:09:51.868Z] + make test [2022-11-03T15:09:51.868Z] CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... [2022-11-03T15:09:52.125Z] ? github.com/edgexfoundry/device-rest-go [no test files] [2022-11-03T15:10:02.084Z] ? github.com/edgexfoundry/device-rest-go/cmd [no test files] [2022-11-03T15:10:02.084Z] ok github.com/edgexfoundry/device-rest-go/driver 0.017s coverage: 55.2% of statements [2022-11-03T15:10:08.827Z] level=warning msg="[linters context] structcheck is disabled because of go1.18. You can track the evolution of the go1.18 support by following the https://github.com/golangci/golangci-lint/issues/2649." [2022-11-03T15:10:08.827Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2022-11-03T15:10:10.726Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-11-03T15:10:10.726Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2022-11-03T15:10:10.726Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2022-11-03T15:10:10.995Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2022-11-03T15:10:11.012Z] $ docker stop --time=1 39c759c64407bbc7a30fe7c433fcd36ea26bfbe3f52492f94022f40900172d0b [2022-11-03T15:10:13.792Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-118124 in /w/workspace/gexfoundry_device-rest-go_PR-222 [2022-11-03T15:10:14.388Z] $ docker rm -f 39c759c64407bbc7a30fe7c433fcd36ea26bfbe3f52492f94022f40900172d0b [Pipeline] { [Pipeline] // withDockerContainer [Pipeline] sh [Pipeline] ws [2022-11-03T15:10:14.572Z] Running in /w/workspace/device-rest-go/7 [Pipeline] { [Pipeline] checkout [2022-11-03T15:10:14.604Z] The recommended git tool is: git [2022-11-03T15:10:14.816Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2022-11-03T15:10:14.860Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2022-11-03T15:10:15.390Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2022-11-03T15:10:15.680Z] + ls -al . [2022-11-03T15:10:15.680Z] total 192 [2022-11-03T15:10:15.680Z] drwxrwxr-x 9 jenkins jenkins 4096 Nov 3 15:09 . [2022-11-03T15:10:15.680Z] drwxrwxr-x 4 jenkins jenkins 4096 Nov 3 15:07 .. [2022-11-03T15:10:15.680Z] -rw-rw-r-- 1 jenkins jenkins 151 Nov 3 15:07 .dockerignore [2022-11-03T15:10:15.680Z] drwxrwxr-x 8 jenkins jenkins 4096 Nov 3 15:10 .git [2022-11-03T15:10:15.680Z] drwxrwxr-x 3 jenkins jenkins 4096 Nov 3 15:07 .github [2022-11-03T15:10:15.680Z] -rw-rw-r-- 1 jenkins jenkins 329 Nov 3 15:07 .gitignore [2022-11-03T15:10:15.680Z] -rw-rw-r-- 1 jenkins jenkins 41 Nov 3 15:07 .golangci.yml [2022-11-03T15:10:15.680Z] drwxr-xr-x 3 jenkins jenkins 4096 Nov 3 15:08 .semver [2022-11-03T15:10:15.680Z] -rw-rw-r-- 1 jenkins jenkins 9100 Nov 3 15:07 Attribution.txt [2022-11-03T15:10:15.680Z] -rw-rw-r-- 1 jenkins jenkins 13085 Nov 3 15:07 CHANGELOG.md [2022-11-03T15:10:15.680Z] -rw-rw-r-- 1 jenkins jenkins 1641 Nov 3 15:07 Dockerfile [2022-11-03T15:10:15.680Z] -rw-rw-r-- 1 jenkins jenkins 677 Nov 3 15:07 GOVERNANCE.md [2022-11-03T15:10:15.680Z] -rw-rw-r-- 1 jenkins jenkins 680 Nov 3 15:07 Jenkinsfile [2022-11-03T15:10:15.680Z] -rw-rw-r-- 1 jenkins jenkins 11340 Nov 3 15:07 LICENSE [2022-11-03T15:10:15.680Z] -rw-rw-r-- 1 jenkins jenkins 2173 Nov 3 15:07 Makefile [2022-11-03T15:10:15.680Z] -rw-rw-r-- 1 jenkins jenkins 620 Nov 3 15:07 OWNERS.md [2022-11-03T15:10:15.680Z] -rw-rw-r-- 1 jenkins jenkins 8667 Nov 3 15:07 README.md [2022-11-03T15:10:15.680Z] -rw-rw-r-- 1 jenkins jenkins 5 Nov 3 15:08 VERSION [2022-11-03T15:10:15.680Z] drwxrwxr-x 2 jenkins jenkins 4096 Nov 3 15:07 bin [2022-11-03T15:10:15.680Z] drwxrwxr-x 3 jenkins jenkins 4096 Nov 3 15:07 cmd [2022-11-03T15:10:15.680Z] -rw-r--r-- 1 jenkins jenkins 9355 Nov 3 15:10 coverage.out [2022-11-03T15:10:15.680Z] drwxrwxr-x 2 jenkins jenkins 4096 Nov 3 15:07 driver [2022-11-03T15:10:15.680Z] -rw-rw-r-- 1 jenkins jenkins 3536 Nov 3 15:07 go.mod [2022-11-03T15:10:15.680Z] -rw-rw-r-- 1 jenkins jenkins 45144 Nov 3 15:07 go.sum [2022-11-03T15:10:15.680Z] drwxrwxr-x 4 jenkins jenkins 4096 Nov 3 15:07 snap [2022-11-03T15:10:15.680Z] -rw-rw-r-- 1 jenkins jenkins 713 Nov 3 15:07 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-11-03T15:10:16.007Z] + 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=11d3437e55476b59528cf52fc5308db9a66a8f74 --label arch=amd64 --label version=0.0.0 . [2022-11-03T15:10:16.007Z] Sending build context to Docker daemon 10.77MB [2022-11-03T15:10:16.007Z] Step 1/25 : ARG BASE=golang:1.18-alpine3.16 [2022-11-03T15:10:16.007Z] Step 2/25 : FROM ${BASE} AS builder [2022-11-03T15:10:16.007Z] ---> 7acf8d757295 [2022-11-03T15:10:16.007Z] Step 3/25 : ARG ADD_BUILD_TAGS="" [2022-11-03T15:10:16.268Z] ---> Running in f733c171730f [2022-11-03T15:10:16.526Z] Removing intermediate container f733c171730f [2022-11-03T15:10:16.526Z] ---> a728289a4753 [2022-11-03T15:10:16.526Z] Step 4/25 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2022-11-03T15:10:16.526Z] ---> Running in e2db482e0cc2 [2022-11-03T15:10:16.526Z] Removing intermediate container e2db482e0cc2 [2022-11-03T15:10:16.526Z] ---> 72a4a4e5140e [2022-11-03T15:10:16.526Z] Step 5/25 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2022-11-03T15:10:16.526Z] ---> Running in 0231806b9730 [2022-11-03T15:10:16.785Z] Removing intermediate container 0231806b9730 [2022-11-03T15:10:16.785Z] ---> 33d6cb2d9cc0 [2022-11-03T15:10:16.785Z] Step 6/25 : ARG ALPINE_PKG_EXTRA="" [2022-11-03T15:10:16.785Z] ---> Running in 3f2c24960763 [2022-11-03T15:10:16.785Z] Removing intermediate container 3f2c24960763 [2022-11-03T15:10:16.785Z] ---> 5d6aa439375d [2022-11-03T15:10:16.785Z] Step 7/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-11-03T15:10:16.785Z] ---> Running in 8ee0085015de [2022-11-03T15:10:17.042Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2022-11-03T15:10:17.299Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2022-11-03T15:10:17.557Z] OK: 216 MiB in 55 packages [2022-11-03T15:10:17.814Z] Removing intermediate container 8ee0085015de [2022-11-03T15:10:17.814Z] ---> 8141870dcf97 [2022-11-03T15:10:17.814Z] Step 8/25 : WORKDIR /device-rest-go [2022-11-03T15:10:18.073Z] ---> Running in a6ba84f7b0f4 [2022-11-03T15:10:18.073Z] Removing intermediate container a6ba84f7b0f4 [2022-11-03T15:10:18.073Z] ---> f474b040f374 [2022-11-03T15:10:18.073Z] Step 9/25 : COPY go.mod vendor* ./ [2022-11-03T15:10:18.331Z] ---> ed7e1f9294f8 [2022-11-03T15:10:18.331Z] Step 10/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-11-03T15:10:18.331Z] ---> Running in 49dea854ba81 [2022-11-03T15:10:19.661Z] using credential edgex-jenkins-ssh [2022-11-03T15:10:19.674Z] Cloning the remote Git repository [2022-11-03T15:10:19.703Z] Removing intermediate container 49dea854ba81 [2022-11-03T15:10:19.703Z] ---> 0be86a53620a [2022-11-03T15:10:19.703Z] Step 11/25 : COPY . . [2022-11-03T15:10:19.961Z] ---> 2057d22a82d7 [2022-11-03T15:10:19.961Z] Step 12/25 : RUN $MAKE [2022-11-03T15:10:20.219Z] ---> Running in 7ff904ac7543 [2022-11-03T15:10:19.709Z] Cloning repository git@github.com:edgexfoundry/device-rest-go.git [2022-11-03T15:10:19.778Z] > git init /w/workspace/device-rest-go/7 # timeout=10 [2022-11-03T15:10:19.910Z] Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git [2022-11-03T15:10:19.911Z] > git --version # timeout=10 [2022-11-03T15:10:19.933Z] > git --version # 'git version 2.25.1' [2022-11-03T15:10:19.935Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-11-03T15:10:19.980Z] Verifying host key using known hosts file [2022-11-03T15:10:20.175Z] You're using 'Known hosts file' strategy to verify ssh host keys, but your known_hosts file does not exist, please go to 'Manage Jenkins' -> 'Configure Global Security' -> 'Git Host Key Verification Configuration' and configure host key verification. [2022-11-03T15:10:20.189Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-11-03T15:10:20.785Z] CGO_ENABLED=1 GO111MODULE=on go build -tags "" -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-11-03T15:10:21.990Z] > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 [2022-11-03T15:10:22.022Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-11-03T15:10:22.855Z] > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 [2022-11-03T15:10:22.896Z] Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git [2022-11-03T15:10:22.897Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-11-03T15:10:22.903Z] Verifying host key using known hosts file [2022-11-03T15:10:22.910Z] You're using 'Known hosts file' strategy to verify ssh host keys, but your known_hosts file does not exist, please go to 'Manage Jenkins' -> 'Configure Global Security' -> 'Git Host Key Verification Configuration' and configure host key verification. [2022-11-03T15:10:22.920Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/pull/222/head:refs/remotes/origin/PR-222 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2022-11-03T15:10:23.460Z] Merging remotes/origin/main commit ee3b3be503c005455f07215b653abfd16f272028 into PR head commit 350a65c731730f67ca503570233d7e961a4dd6de [2022-11-03T15:10:23.719Z] Merge succeeded, producing fa7ebe2a459f4ba85e58d86d013e4f890fde3525 [2022-11-03T15:10:23.720Z] Checking out Revision fa7ebe2a459f4ba85e58d86d013e4f890fde3525 (PR-222) [2022-11-03T15:10:23.478Z] > git config core.sparsecheckout # timeout=10 [2022-11-03T15:10:23.498Z] > git checkout -f 350a65c731730f67ca503570233d7e961a4dd6de # timeout=10 [2022-11-03T15:10:23.582Z] > git remote # timeout=10 [2022-11-03T15:10:23.601Z] > git config --get remote.origin.url # timeout=10 [2022-11-03T15:10:23.627Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-11-03T15:10:23.633Z] Verifying host key using known hosts file [2022-11-03T15:10:23.636Z] You're using 'Known hosts file' strategy to verify ssh host keys, but your known_hosts file does not exist, please go to 'Manage Jenkins' -> 'Configure Global Security' -> 'Git Host Key Verification Configuration' and configure host key verification. [2022-11-03T15:10:23.646Z] > git merge ee3b3be503c005455f07215b653abfd16f272028 # timeout=10 [2022-11-03T15:10:23.698Z] > git rev-parse HEAD^{commit} # timeout=10 [2022-11-03T15:10:23.722Z] > git config core.sparsecheckout # timeout=10 [2022-11-03T15:10:23.737Z] > git checkout -f fa7ebe2a459f4ba85e58d86d013e4f890fde3525 # timeout=10 [2022-11-03T15:10:27.191Z] Commit message: "Merge commit 'ee3b3be503c005455f07215b653abfd16f272028' into HEAD" [2022-11-03T15:10:27.197Z] > git rev-list --no-walk 350a65c731730f67ca503570233d7e961a4dd6de # timeout=10 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-11-03T15:10:28.203Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2022-11-03T15:10:28.203Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-11-03T15:10:28.203Z] Dload Upload Total Spent Left Speed [2022-11-03T15:10:28.203Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12602 100 12602 0 0 85148 0 --:--:-- --:--:-- --:--:-- 85148 [Pipeline] sh [2022-11-03T15:10:28.895Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2022-11-03T15:10:29.219Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2022-11-03T15:10:29.219Z] + sudo tee /etc/docker/daemon.new [2022-11-03T15:10:29.219Z] { [2022-11-03T15:10:29.219Z] "registry-mirrors": [ [2022-11-03T15:10:29.219Z] "https://nexus3.edgexfoundry.org:10001" [2022-11-03T15:10:29.219Z] ], [2022-11-03T15:10:29.219Z] "bip": "10.250.0.254/24", [2022-11-03T15:10:29.219Z] "hosts": [ [2022-11-03T15:10:29.219Z] "tcp://0.0.0.0:5555", [2022-11-03T15:10:29.219Z] "unix:///var/run/docker.sock" [2022-11-03T15:10:29.219Z] ], [2022-11-03T15:10:29.219Z] "mtu": 1458, [2022-11-03T15:10:29.219Z] "selinux-enabled": true, [2022-11-03T15:10:29.219Z] "seccomp-profile": "/etc/docker/seccomp.json" [2022-11-03T15:10:29.219Z] } [Pipeline] sh [2022-11-03T15:10:29.538Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2022-11-03T15:10:29.857Z] + sudo service docker restart [2022-11-03T15:10:47.315Z] Removing intermediate container 7ff904ac7543 [2022-11-03T15:10:47.315Z] ---> 3bb202b439f3 [2022-11-03T15:10:47.315Z] Step 13/25 : FROM alpine:3.16 [2022-11-03T15:10:47.315Z] 3.16: Pulling from library/alpine [2022-11-03T15:10:47.315Z] 213ec9aee27d: Already exists [2022-11-03T15:10:47.882Z] Digest: sha256:bc41182d7ef5ffc53a40b044e725193bc10142a1243f395ee852a8d9730fc2ad [2022-11-03T15:10:47.882Z] Status: Downloaded newer image for alpine:3.16 [2022-11-03T15:10:47.882Z] ---> 9c6f07244728 [2022-11-03T15:10:47.882Z] Step 14/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-11-03T15:10:48.115Z] provisioning config files... [2022-11-03T15:10:48.139Z] copy managed file [device-rest-go-settings] to file:/w/workspace/device-rest-go/7@tmp/config17326771543208876533tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-11-03T15:10:48.482Z] ---> docker-login.sh [2022-11-03T15:10:48.482Z] nexus3.edgexfoundry.org:10001 [2022-11-03T15:10:48.754Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-11-03T15:10:48.818Z] ---> Running in dea9b66b485c [2022-11-03T15:10:49.023Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-11-03T15:10:49.023Z] Configure a credential helper to remove this warning. See [2022-11-03T15:10:49.023Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-11-03T15:10:49.023Z] [2022-11-03T15:10:49.023Z] Login Succeeded [2022-11-03T15:10:49.076Z] Removing intermediate container dea9b66b485c [2022-11-03T15:10:49.076Z] ---> a97129e661e7 [2022-11-03T15:10:49.076Z] Step 15/25 : LABEL Name=device-rest-go Version=${VERSION} [2022-11-03T15:10:49.294Z] nexus3.edgexfoundry.org:10002 [2022-11-03T15:10:49.294Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-11-03T15:10:49.332Z] ---> Running in 2f9eb0cea8b7 [2022-11-03T15:10:49.568Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-11-03T15:10:49.568Z] Configure a credential helper to remove this warning. See [2022-11-03T15:10:49.568Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-11-03T15:10:49.568Z] [2022-11-03T15:10:49.568Z] Login Succeeded [2022-11-03T15:10:49.568Z] nexus3.edgexfoundry.org:10003 [2022-11-03T15:10:49.838Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-11-03T15:10:49.838Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-11-03T15:10:49.838Z] Configure a credential helper to remove this warning. See [2022-11-03T15:10:49.838Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-11-03T15:10:49.838Z] [2022-11-03T15:10:49.838Z] Login Succeeded [2022-11-03T15:10:49.838Z] nexus3.edgexfoundry.org:10004 [2022-11-03T15:10:49.900Z] Removing intermediate container 2f9eb0cea8b7 [2022-11-03T15:10:49.900Z] ---> 6b9a764f4613 [2022-11-03T15:10:49.900Z] Step 16/25 : RUN apk add --update --no-cache zeromq dumb-init [2022-11-03T15:10:50.109Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-11-03T15:10:50.109Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-11-03T15:10:50.109Z] Configure a credential helper to remove this warning. See [2022-11-03T15:10:50.109Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-11-03T15:10:50.109Z] [2022-11-03T15:10:50.109Z] Login Succeeded [2022-11-03T15:10:50.157Z] ---> Running in 436a46dadc41 [2022-11-03T15:10:50.382Z] docker.io [2022-11-03T15:10:50.382Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-11-03T15:10:50.727Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2022-11-03T15:10:50.978Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-11-03T15:10:50.978Z] Configure a credential helper to remove this warning. See [2022-11-03T15:10:50.978Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-11-03T15:10:50.978Z] [2022-11-03T15:10:50.978Z] Login Succeeded [2022-11-03T15:10:50.978Z] ---> docker-login.sh ends [2022-11-03T15:10:50.986Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [Pipeline] } [2022-11-03T15:10:50.992Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-11-03T15:10:51.123Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-11-03T15:10:51.134Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-11-03T15:10:51.140Z] ========================================================= [2022-11-03T15:10:51.140Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine] [2022-11-03T15:10:51.140Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-11-03T15:10:51.244Z] (1/6) Installing dumb-init (1.2.5-r1) [2022-11-03T15:10:51.244Z] (2/6) Installing libgcc (11.2.1_git20220219-r2) [2022-11-03T15:10:51.244Z] (3/6) Installing libsodium (1.0.18-r0) [2022-11-03T15:10:51.244Z] (4/6) Installing libstdc++ (11.2.1_git20220219-r2) [2022-11-03T15:10:51.244Z] (5/6) Installing libzmq (4.3.4-r0) [2022-11-03T15:10:51.244Z] (6/6) Installing zeromq (4.3.4-r0) [2022-11-03T15:10:51.244Z] Executing busybox-1.35.0-r17.trigger [2022-11-03T15:10:51.244Z] OK: 8 MiB in 20 packages [2022-11-03T15:10:51.472Z] + docker build -t ci-base-image-arm64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine --build-arg MAKE=echo noop --target=builder . [2022-11-03T15:10:51.472Z] Sending build context to Docker daemon 129.5kB [2022-11-03T15:10:51.749Z] Step 1/12 : ARG BASE=golang:1.18-alpine3.16 [2022-11-03T15:10:51.749Z] Step 2/12 : FROM ${BASE} AS builder [2022-11-03T15:10:52.018Z] 1.18-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2022-11-03T15:10:52.018Z] 9b18e9b68314: Pulling fs layer [2022-11-03T15:10:52.018Z] 35d82f9e3411: Pulling fs layer [2022-11-03T15:10:52.018Z] e16973657156: Pulling fs layer [2022-11-03T15:10:52.018Z] fc693d55d65f: Pulling fs layer [2022-11-03T15:10:52.018Z] 7e9fc2657dce: Pulling fs layer [2022-11-03T15:10:52.018Z] dda99020689f: Pulling fs layer [2022-11-03T15:10:52.018Z] db1c61fa0a46: Pulling fs layer [2022-11-03T15:10:52.018Z] 891c053d2c06: Pulling fs layer [2022-11-03T15:10:52.018Z] dda99020689f: Waiting [2022-11-03T15:10:52.018Z] db1c61fa0a46: Waiting [2022-11-03T15:10:52.018Z] fc693d55d65f: Waiting [2022-11-03T15:10:52.018Z] 7e9fc2657dce: Waiting [2022-11-03T15:10:52.018Z] 891c053d2c06: Waiting [2022-11-03T15:10:52.018Z] e16973657156: Verifying Checksum [2022-11-03T15:10:52.018Z] e16973657156: Download complete [2022-11-03T15:10:52.018Z] 35d82f9e3411: Verifying Checksum [2022-11-03T15:10:52.018Z] 35d82f9e3411: Download complete [2022-11-03T15:10:52.018Z] 7e9fc2657dce: Verifying Checksum [2022-11-03T15:10:52.018Z] 7e9fc2657dce: Download complete [2022-11-03T15:10:52.018Z] dda99020689f: Download complete [2022-11-03T15:10:52.018Z] 9b18e9b68314: Verifying Checksum [2022-11-03T15:10:52.018Z] 9b18e9b68314: Download complete [2022-11-03T15:10:52.183Z] Removing intermediate container 436a46dadc41 [2022-11-03T15:10:52.183Z] ---> e3172ca5fc13 [2022-11-03T15:10:52.183Z] Step 17/25 : COPY --from=builder /device-rest-go/cmd / [2022-11-03T15:10:52.751Z] ---> d9d23b025535 [2022-11-03T15:10:52.751Z] Step 18/25 : COPY --from=builder /device-rest-go/LICENSE / [2022-11-03T15:10:53.009Z] ---> c3325c74220b [2022-11-03T15:10:53.009Z] Step 19/25 : COPY --from=builder /device-rest-go/Attribution.txt / [2022-11-03T15:10:53.009Z] ---> 017d9f9572b2 [2022-11-03T15:10:53.009Z] Step 20/25 : EXPOSE 59986 [2022-11-03T15:10:53.009Z] ---> Running in 96ab1eea746f [2022-11-03T15:10:53.021Z] 9b18e9b68314: Pull complete [2022-11-03T15:10:53.267Z] Removing intermediate container 96ab1eea746f [2022-11-03T15:10:53.267Z] ---> d3edfd280952 [2022-11-03T15:10:53.267Z] Step 21/25 : ENTRYPOINT ["/device-rest"] [2022-11-03T15:10:53.267Z] ---> Running in fa102fac94e2 [2022-11-03T15:10:53.267Z] Removing intermediate container fa102fac94e2 [2022-11-03T15:10:53.267Z] ---> 9c83fbda2e4e [2022-11-03T15:10:53.267Z] Step 22/25 : CMD ["--cp=consul://edgex-core-consul:8500", "--confdir=/res", "--registry"] [2022-11-03T15:10:53.267Z] ---> Running in c7f8cd5eb480 [2022-11-03T15:10:53.298Z] 891c053d2c06: Verifying Checksum [2022-11-03T15:10:53.298Z] 891c053d2c06: Download complete [2022-11-03T15:10:53.298Z] 35d82f9e3411: Pull complete [2022-11-03T15:10:53.525Z] Removing intermediate container c7f8cd5eb480 [2022-11-03T15:10:53.525Z] ---> 926be18d67d1 [2022-11-03T15:10:53.525Z] Step 23/25 : LABEL arch=amd64 [2022-11-03T15:10:53.525Z] ---> Running in cad2929d019a [2022-11-03T15:10:53.525Z] Removing intermediate container cad2929d019a [2022-11-03T15:10:53.525Z] ---> 3f05d47c65a4 [2022-11-03T15:10:53.525Z] Step 24/25 : LABEL git_sha=11d3437e55476b59528cf52fc5308db9a66a8f74 [2022-11-03T15:10:53.822Z] ---> Running in e9f82b93c582 [2022-11-03T15:10:53.822Z] Removing intermediate container e9f82b93c582 [2022-11-03T15:10:53.822Z] ---> e2a56963b98d [2022-11-03T15:10:53.822Z] Step 25/25 : LABEL version=0.0.0 [2022-11-03T15:10:53.822Z] ---> Running in 66d42d5491cd [2022-11-03T15:10:53.822Z] Removing intermediate container 66d42d5491cd [2022-11-03T15:10:53.822Z] ---> 8b3ffbf436e3 [2022-11-03T15:10:53.822Z] [Warning] One or more build-args [ARCH] were not consumed [2022-11-03T15:10:53.822Z] Successfully built 8b3ffbf436e3 [2022-11-03T15:10:53.822Z] Successfully tagged device-rest:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) [2022-11-03T15:10:53.889Z] e16973657156: Pull complete 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-11-03T15:10:54.271Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-11-03T15:10:54.271Z] [2022-11-03T15:10:54.271Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-11-03T15:10:54.482Z] db1c61fa0a46: Verifying Checksum [2022-11-03T15:10:54.482Z] db1c61fa0a46: Download complete [2022-11-03T15:10:54.565Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-11-03T15:10:54.824Z] latest: Pulling from edgex-lftools-log-publisher [2022-11-03T15:10:54.824Z] 5eb5b503b376: Pulling fs layer [2022-11-03T15:10:54.824Z] 5c69ac0246d0: Pulling fs layer [2022-11-03T15:10:54.824Z] ec43610c2a17: Pulling fs layer [2022-11-03T15:10:54.824Z] 3a2ae6a8a46f: Pulling fs layer [2022-11-03T15:10:54.824Z] 33b1e0a273af: Pulling fs layer [2022-11-03T15:10:54.824Z] 5d3b04190fa2: Pulling fs layer [2022-11-03T15:10:54.824Z] 2f39f015ded8: Pulling fs layer [2022-11-03T15:10:54.824Z] 3a2ae6a8a46f: Waiting [2022-11-03T15:10:54.824Z] 33b1e0a273af: Waiting [2022-11-03T15:10:54.824Z] 5d3b04190fa2: Waiting [2022-11-03T15:10:54.824Z] 2f39f015ded8: Waiting [2022-11-03T15:10:54.824Z] 5c69ac0246d0: Verifying Checksum [2022-11-03T15:10:54.824Z] 3a2ae6a8a46f: Verifying Checksum [2022-11-03T15:10:54.824Z] 3a2ae6a8a46f: Download complete [2022-11-03T15:10:54.824Z] 33b1e0a273af: Verifying Checksum [2022-11-03T15:10:54.824Z] 33b1e0a273af: Download complete [2022-11-03T15:10:54.824Z] ec43610c2a17: Verifying Checksum [2022-11-03T15:10:54.824Z] ec43610c2a17: Download complete [2022-11-03T15:10:54.824Z] 5d3b04190fa2: Download complete [2022-11-03T15:10:55.070Z] fc693d55d65f: Verifying Checksum [2022-11-03T15:10:55.070Z] fc693d55d65f: Download complete [2022-11-03T15:10:55.084Z] 5eb5b503b376: Verifying Checksum [2022-11-03T15:10:55.084Z] 5eb5b503b376: Download complete [2022-11-03T15:10:55.650Z] 2f39f015ded8: Verifying Checksum [2022-11-03T15:10:55.650Z] 2f39f015ded8: Download complete [2022-11-03T15:10:56.215Z] 5eb5b503b376: Pull complete [2022-11-03T15:10:56.474Z] 5c69ac0246d0: Pull complete [2022-11-03T15:10:57.042Z] ec43610c2a17: Pull complete [2022-11-03T15:10:57.315Z] 3a2ae6a8a46f: Pull complete [2022-11-03T15:10:57.582Z] 33b1e0a273af: Pull complete [2022-11-03T15:10:57.842Z] 5d3b04190fa2: Pull complete [2022-11-03T15:11:02.024Z] 2f39f015ded8: Pull complete [2022-11-03T15:11:02.024Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2022-11-03T15:11:02.024Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-11-03T15:11:02.024Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-11-03T15:11:02.102Z] prd-ubuntu20.04-docker-8c-8g-118123 does not seem to be running inside a container [2022-11-03T15:11:02.142Z] $ 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-222 -v /w/workspace/gexfoundry_device-rest-go_PR-222:/w/workspace/gexfoundry_device-rest-go_PR-222:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-222@tmp:/w/workspace/gexfoundry_device-rest-go_PR-222@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2022-11-03T15:11:07.307Z] $ docker top bc6f742002aeb537d97cbb8022947d7138db5c62b0d5083c306cf2c680e44be7 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [2022-11-03T15:11:07.422Z] fc693d55d65f: Pull complete [2022-11-03T15:11:07.422Z] 7e9fc2657dce: Pull complete [2022-11-03T15:11:07.422Z] dda99020689f: Pull complete [Pipeline] sh [2022-11-03T15:11:07.702Z] ---> job-cost.sh [2022-11-03T15:11:07.702Z] lf-activate-venv: SKIPPING [2022-11-03T15:11:07.702Z] INFO: No Stack... [2022-11-03T15:11:08.269Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2022-11-03T15:11:08.527Z] INFO: Archiving Costs [Pipeline] sh [2022-11-03T15:11:08.814Z] + cat /w/workspace/gexfoundry_device-rest-go_PR-222/archives/cost.csv [2022-11-03T15:11:08.814Z] + cut -d, -f6 [Pipeline] lock [2022-11-03T15:11:08.827Z] Trying to acquire lock on [jenkins-edgexfoundry-device-rest-go-PR-222-7-stack-cost] [2022-11-03T15:11:08.833Z] Resource [jenkins-edgexfoundry-device-rest-go-PR-222-7-stack-cost] did not exist. Created. [2022-11-03T15:11:08.833Z] Lock acquired on [jenkins-edgexfoundry-device-rest-go-PR-222-7-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-11-03T15:11:09.126Z] + echo total: 0.2199999988079071 [Pipeline] stash [2022-11-03T15:11:09.154Z] Stashed 1 file(s) [Pipeline] } [2022-11-03T15:11:09.161Z] Lock released on resource [jenkins-edgexfoundry-device-rest-go-PR-222-7-stack-cost] [Pipeline] // lock [Pipeline] } [2022-11-03T15:11:09.182Z] $ docker stop --time=1 bc6f742002aeb537d97cbb8022947d7138db5c62b0d5083c306cf2c680e44be7 [2022-11-03T15:11:11.356Z] $ docker rm -f bc6f742002aeb537d97cbb8022947d7138db5c62b0d5083c306cf2c680e44be7 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2022-11-03T15:11:14.088Z] db1c61fa0a46: Pull complete [2022-11-03T15:11:15.523Z] 891c053d2c06: Pull complete [2022-11-03T15:11:15.523Z] Digest: sha256:2cacf8bfc28650abd52610e42dcfc04852e818eb73900ea96edaef96a54d0b45 [2022-11-03T15:11:15.523Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine [2022-11-03T15:11:15.523Z] ---> f96f9c87975a [2022-11-03T15:11:15.523Z] Step 3/12 : ARG ADD_BUILD_TAGS="" [2022-11-03T15:11:17.478Z] ---> Running in fb786ed0249f [2022-11-03T15:11:17.478Z] Removing intermediate container fb786ed0249f [2022-11-03T15:11:17.478Z] ---> 2b230d99b11e [2022-11-03T15:11:17.478Z] Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2022-11-03T15:11:17.747Z] ---> Running in 8033e160576d [2022-11-03T15:11:18.015Z] Removing intermediate container 8033e160576d [2022-11-03T15:11:18.015Z] ---> ce4f115a369b [2022-11-03T15:11:18.015Z] Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2022-11-03T15:11:18.015Z] ---> Running in 4c338a0af80b [2022-11-03T15:11:18.285Z] Removing intermediate container 4c338a0af80b [2022-11-03T15:11:18.285Z] ---> 31dd3710c5a6 [2022-11-03T15:11:18.285Z] Step 6/12 : ARG ALPINE_PKG_EXTRA="" [2022-11-03T15:11:18.285Z] ---> Running in e3d32d5a7519 [2022-11-03T15:11:18.557Z] Removing intermediate container e3d32d5a7519 [2022-11-03T15:11:18.557Z] ---> cdab17adb1e7 [2022-11-03T15:11:18.557Z] Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-11-03T15:11:18.826Z] ---> Running in 77756ded613f [2022-11-03T15:11:19.788Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2022-11-03T15:11:20.055Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2022-11-03T15:11:21.027Z] (1/4) Installing openssh-keygen (9.0_p1-r2) [2022-11-03T15:11:21.027Z] (2/4) Installing libedit (20210910.3.1-r0) [2022-11-03T15:11:21.027Z] (3/4) Installing openssh-client-common (9.0_p1-r2) [2022-11-03T15:11:21.027Z] (4/4) Installing openssh-client-default (9.0_p1-r2) [2022-11-03T15:11:21.027Z] Executing busybox-1.35.0-r17.trigger [2022-11-03T15:11:21.027Z] OK: 226 MiB in 55 packages [2022-11-03T15:11:22.005Z] Removing intermediate container 77756ded613f [2022-11-03T15:11:22.005Z] ---> a3df9ef9fb9b [2022-11-03T15:11:22.005Z] Step 8/12 : WORKDIR /device-rest-go [2022-11-03T15:11:22.272Z] ---> Running in cd08969a8c41 [2022-11-03T15:11:22.539Z] Removing intermediate container cd08969a8c41 [2022-11-03T15:11:22.539Z] ---> 9755a8de64f6 [2022-11-03T15:11:22.539Z] Step 9/12 : COPY go.mod vendor* ./ [2022-11-03T15:11:22.807Z] ---> 4ca177fbb4f0 [2022-11-03T15:11:22.807Z] Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-11-03T15:11:23.077Z] ---> Running in 1cd675d4492f [2022-11-03T15:12:19.501Z] Removing intermediate container 1cd675d4492f [2022-11-03T15:12:19.501Z] ---> 287766a6bf46 [2022-11-03T15:12:19.501Z] Step 11/12 : COPY . . [2022-11-03T15:12:19.501Z] ---> 14024318fb18 [2022-11-03T15:12:19.501Z] Step 12/12 : RUN $MAKE [2022-11-03T15:12:19.501Z] ---> Running in a0256c1bff4a [2022-11-03T15:12:19.501Z] noop [2022-11-03T15:12:19.501Z] Removing intermediate container a0256c1bff4a [2022-11-03T15:12:19.501Z] ---> 5d6765dcbf99 [2022-11-03T15:12:19.501Z] Successfully built 5d6765dcbf99 [2022-11-03T15:12:19.501Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-11-03T15:12:19.843Z] + docker inspect -f . ci-base-image-arm64 [2022-11-03T15:12:19.843Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-11-03T15:12:20.021Z] prd-ubuntu20.04-docker-arm64-4c-16g-118124 does not seem to be running inside a container [2022-11-03T15:12:20.095Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-rest-go/7 -v /w/workspace/device-rest-go/7:/w/workspace/device-rest-go/7:rw,z -v /w/workspace/device-rest-go/7@tmp:/w/workspace/device-rest-go/7@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-11-03T15:12:21.254Z] $ docker top 24d6f55cb13a4b4feafb437625b32e4ac63aa195e5d5991376655709aef47a27 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-11-03T15:12:22.052Z] + go version [2022-11-03T15:12:22.052Z] go version go1.18.7 linux/arm64 [Pipeline] } [2022-11-03T15:12:22.077Z] $ docker stop --time=1 24d6f55cb13a4b4feafb437625b32e4ac63aa195e5d5991376655709aef47a27 [2022-11-03T15:12:23.654Z] $ docker rm -f 24d6f55cb13a4b4feafb437625b32e4ac63aa195e5d5991376655709aef47a27 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-11-03T15:12:24.158Z] + docker inspect -f . ci-base-image-arm64 [2022-11-03T15:12:24.158Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-11-03T15:12:24.328Z] prd-ubuntu20.04-docker-arm64-4c-16g-118124 does not seem to be running inside a container [2022-11-03T15:12:24.400Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/device-rest-go/7 -v /w/workspace/device-rest-go/7:/w/workspace/device-rest-go/7:rw,z -v /w/workspace/device-rest-go/7@tmp:/w/workspace/device-rest-go/7@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-11-03T15:12:25.597Z] $ docker top a531187a77d47be200827a98a378f3cf0aebd41e843bd835bf2a2947572df24c -eo pid,comm [Pipeline] { [Pipeline] sh [2022-11-03T15:12:26.102Z] + git config --global --add safe.directory /w/workspace/device-rest-go/7 [Pipeline] fileExists [Pipeline] sh [2022-11-03T15:12:27.016Z] + make test [2022-11-03T15:12:27.016Z] CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... [2022-11-03T15:12:28.428Z] ? github.com/edgexfoundry/device-rest-go [no test files] [2022-11-03T15:13:50.082Z] ? github.com/edgexfoundry/device-rest-go/cmd [no test files] [2022-11-03T15:13:50.082Z] ok github.com/edgexfoundry/device-rest-go/driver 0.067s coverage: 55.2% of statements [2022-11-03T15:13:50.082Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2022-11-03T15:13:50.082Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2022-11-03T15:14:12.144Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-11-03T15:14:12.144Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2022-11-03T15:14:12.144Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2022-11-03T15:14:12.163Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2022-11-03T15:14:12.184Z] $ docker stop --time=1 a531187a77d47be200827a98a378f3cf0aebd41e843bd835bf2a2947572df24c [2022-11-03T15:14:13.888Z] $ docker rm -f a531187a77d47be200827a98a378f3cf0aebd41e843bd835bf2a2947572df24c [Pipeline] // withDockerContainer [Pipeline] sh [2022-11-03T15:14:14.782Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2022-11-03T15:14:14.802Z] Warning: overwriting stash ‘coverage-report’ [2022-11-03T15:14:15.182Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-11-03T15:14:15.580Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2022-11-03T15:14:15.900Z] + ls -al . [2022-11-03T15:14:15.900Z] total 188 [2022-11-03T15:14:15.900Z] drwxrwxr-x 8 jenkins jenkins 4096 Nov 3 15:12 . [2022-11-03T15:14:15.900Z] drwxrwxr-x 4 jenkins jenkins 4096 Nov 3 15:10 .. [2022-11-03T15:14:15.900Z] -rw-rw-r-- 1 jenkins jenkins 151 Nov 3 15:10 .dockerignore [2022-11-03T15:14:15.900Z] drwxrwxr-x 8 jenkins jenkins 4096 Nov 3 15:10 .git [2022-11-03T15:14:15.900Z] drwxrwxr-x 3 jenkins jenkins 4096 Nov 3 15:10 .github [2022-11-03T15:14:15.900Z] -rw-rw-r-- 1 jenkins jenkins 329 Nov 3 15:10 .gitignore [2022-11-03T15:14:15.900Z] -rw-rw-r-- 1 jenkins jenkins 41 Nov 3 15:10 .golangci.yml [2022-11-03T15:14:15.900Z] -rw-rw-r-- 1 jenkins jenkins 9100 Nov 3 15:10 Attribution.txt [2022-11-03T15:14:15.900Z] -rw-rw-r-- 1 jenkins jenkins 13085 Nov 3 15:10 CHANGELOG.md [2022-11-03T15:14:15.900Z] -rw-rw-r-- 1 jenkins jenkins 1641 Nov 3 15:10 Dockerfile [2022-11-03T15:14:15.900Z] -rw-rw-r-- 1 jenkins jenkins 677 Nov 3 15:10 GOVERNANCE.md [2022-11-03T15:14:15.900Z] -rw-rw-r-- 1 jenkins jenkins 680 Nov 3 15:10 Jenkinsfile [2022-11-03T15:14:15.900Z] -rw-rw-r-- 1 jenkins jenkins 11340 Nov 3 15:10 LICENSE [2022-11-03T15:14:15.900Z] -rw-rw-r-- 1 jenkins jenkins 2173 Nov 3 15:10 Makefile [2022-11-03T15:14:15.900Z] -rw-rw-r-- 1 jenkins jenkins 620 Nov 3 15:10 OWNERS.md [2022-11-03T15:14:15.900Z] -rw-rw-r-- 1 jenkins jenkins 8667 Nov 3 15:10 README.md [2022-11-03T15:14:15.900Z] -rw-rw-r-- 1 jenkins jenkins 5 Nov 3 15:08 VERSION [2022-11-03T15:14:15.900Z] drwxrwxr-x 2 jenkins jenkins 4096 Nov 3 15:10 bin [2022-11-03T15:14:15.900Z] drwxrwxr-x 3 jenkins jenkins 4096 Nov 3 15:10 cmd [2022-11-03T15:14:15.900Z] -rw-r--r-- 1 jenkins jenkins 9355 Nov 3 15:13 coverage.out [2022-11-03T15:14:15.900Z] drwxrwxr-x 2 jenkins jenkins 4096 Nov 3 15:10 driver [2022-11-03T15:14:15.900Z] -rw-rw-r-- 1 jenkins jenkins 3536 Nov 3 15:10 go.mod [2022-11-03T15:14:15.900Z] -rw-rw-r-- 1 jenkins jenkins 45144 Nov 3 15:10 go.sum [2022-11-03T15:14:15.900Z] drwxrwxr-x 4 jenkins jenkins 4096 Nov 3 15:10 snap [2022-11-03T15:14:15.900Z] -rw-rw-r-- 1 jenkins jenkins 713 Nov 3 15:10 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-11-03T15:14:16.243Z] + 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=fa7ebe2a459f4ba85e58d86d013e4f890fde3525 --label arch=arm64 --label version=0.0.0 . [2022-11-03T15:14:16.243Z] Sending build context to Docker daemon 139.8kB [2022-11-03T15:14:16.511Z] Step 1/25 : ARG BASE=golang:1.18-alpine3.16 [2022-11-03T15:14:16.511Z] Step 2/25 : FROM ${BASE} AS builder [2022-11-03T15:14:16.511Z] ---> 5d6765dcbf99 [2022-11-03T15:14:16.511Z] Step 3/25 : ARG ADD_BUILD_TAGS="" [2022-11-03T15:14:16.511Z] ---> Running in c45b5484f31b [2022-11-03T15:14:16.779Z] Removing intermediate container c45b5484f31b [2022-11-03T15:14:16.779Z] ---> 20d86a107cdc [2022-11-03T15:14:16.779Z] Step 4/25 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2022-11-03T15:14:16.779Z] ---> Running in efee89b2875b [2022-11-03T15:14:17.363Z] Removing intermediate container efee89b2875b [2022-11-03T15:14:17.363Z] ---> 8e97ed253622 [2022-11-03T15:14:17.363Z] Step 5/25 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2022-11-03T15:14:17.363Z] ---> Running in f43431f5808d [2022-11-03T15:14:17.630Z] Removing intermediate container f43431f5808d [2022-11-03T15:14:17.630Z] ---> 209b6f79c839 [2022-11-03T15:14:17.630Z] Step 6/25 : ARG ALPINE_PKG_EXTRA="" [2022-11-03T15:14:17.630Z] ---> Running in ff5a6d2eea4f [2022-11-03T15:14:17.900Z] Removing intermediate container ff5a6d2eea4f [2022-11-03T15:14:17.900Z] ---> 18cae86b2c14 [2022-11-03T15:14:17.900Z] Step 7/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-11-03T15:14:17.900Z] ---> Running in fc534cd6acd4 [2022-11-03T15:14:18.858Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2022-11-03T15:14:19.123Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2022-11-03T15:14:20.086Z] OK: 226 MiB in 55 packages [2022-11-03T15:14:21.049Z] Removing intermediate container fc534cd6acd4 [2022-11-03T15:14:21.049Z] ---> 19126986c272 [2022-11-03T15:14:21.049Z] Step 8/25 : WORKDIR /device-rest-go [2022-11-03T15:14:21.049Z] ---> Running in 05017fe7d239 [2022-11-03T15:14:21.316Z] Removing intermediate container 05017fe7d239 [2022-11-03T15:14:21.316Z] ---> 17d9515b38b1 [2022-11-03T15:14:21.316Z] Step 9/25 : COPY go.mod vendor* ./ [2022-11-03T15:14:21.901Z] ---> dd9829474adb [2022-11-03T15:14:21.901Z] Step 10/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-11-03T15:14:21.901Z] ---> Running in 361a2444b395 [2022-11-03T15:14:23.853Z] Removing intermediate container 361a2444b395 [2022-11-03T15:14:23.853Z] ---> 07f7802ff03a [2022-11-03T15:14:23.853Z] Step 11/25 : COPY . . [2022-11-03T15:14:24.436Z] ---> 993b78873364 [2022-11-03T15:14:24.436Z] Step 12/25 : RUN $MAKE [2022-11-03T15:14:24.436Z] ---> Running in 629f137e6f4e [2022-11-03T15:14:25.396Z] CGO_ENABLED=1 GO111MODULE=on go build -tags "" -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-11-03T15:17:02.310Z] Removing intermediate container 629f137e6f4e [2022-11-03T15:17:02.310Z] ---> 88a2402f509b [2022-11-03T15:17:02.310Z] Step 13/25 : FROM alpine:3.16 [2022-11-03T15:17:02.310Z] 3.16: Pulling from library/alpine [2022-11-03T15:17:02.310Z] 9b18e9b68314: Already exists [2022-11-03T15:17:02.310Z] Digest: sha256:bc41182d7ef5ffc53a40b044e725193bc10142a1243f395ee852a8d9730fc2ad [2022-11-03T15:17:02.310Z] Status: Downloaded newer image for alpine:3.16 [2022-11-03T15:17:02.310Z] ---> a6215f271958 [2022-11-03T15:17:02.310Z] Step 14/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' [2022-11-03T15:17:02.310Z] ---> Running in ff345fa93a56 [2022-11-03T15:17:02.310Z] Removing intermediate container ff345fa93a56 [2022-11-03T15:17:02.310Z] ---> 40be057cedb9 [2022-11-03T15:17:02.310Z] Step 15/25 : LABEL Name=device-rest-go Version=${VERSION} [2022-11-03T15:17:02.310Z] ---> Running in 74c53944b1eb [2022-11-03T15:17:02.310Z] Removing intermediate container 74c53944b1eb [2022-11-03T15:17:02.310Z] ---> cdca99cff71c [2022-11-03T15:17:02.310Z] Step 16/25 : RUN apk add --update --no-cache zeromq dumb-init [2022-11-03T15:17:02.310Z] ---> Running in c26eb591027c [2022-11-03T15:17:02.310Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2022-11-03T15:17:02.310Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2022-11-03T15:17:02.310Z] (1/6) Installing dumb-init (1.2.5-r1) [2022-11-03T15:17:02.310Z] (2/6) Installing libgcc (11.2.1_git20220219-r2) [2022-11-03T15:17:02.310Z] (3/6) Installing libsodium (1.0.18-r0) [2022-11-03T15:17:02.310Z] (4/6) Installing libstdc++ (11.2.1_git20220219-r2) [2022-11-03T15:17:02.310Z] (5/6) Installing libzmq (4.3.4-r0) [2022-11-03T15:17:02.310Z] (6/6) Installing zeromq (4.3.4-r0) [2022-11-03T15:17:02.310Z] Executing busybox-1.35.0-r17.trigger [2022-11-03T15:17:02.310Z] OK: 8 MiB in 20 packages [2022-11-03T15:17:02.310Z] Removing intermediate container c26eb591027c [2022-11-03T15:17:02.310Z] ---> abf30132fc5a [2022-11-03T15:17:02.310Z] Step 17/25 : COPY --from=builder /device-rest-go/cmd / [2022-11-03T15:17:02.310Z] ---> b8c9a522251c [2022-11-03T15:17:02.310Z] Step 18/25 : COPY --from=builder /device-rest-go/LICENSE / [2022-11-03T15:17:02.310Z] ---> 976954e971af [2022-11-03T15:17:02.310Z] Step 19/25 : COPY --from=builder /device-rest-go/Attribution.txt / [2022-11-03T15:17:02.310Z] ---> cd6c18b164ca [2022-11-03T15:17:02.310Z] Step 20/25 : EXPOSE 59986 [2022-11-03T15:17:02.310Z] ---> Running in 25410a91e007 [2022-11-03T15:17:02.310Z] Removing intermediate container 25410a91e007 [2022-11-03T15:17:02.310Z] ---> c26f823ff23f [2022-11-03T15:17:02.310Z] Step 21/25 : ENTRYPOINT ["/device-rest"] [2022-11-03T15:17:02.310Z] ---> Running in 80fad0fe7585 [2022-11-03T15:17:02.310Z] Removing intermediate container 80fad0fe7585 [2022-11-03T15:17:02.310Z] ---> c8efdc351ecf [2022-11-03T15:17:02.310Z] Step 22/25 : CMD ["--cp=consul://edgex-core-consul:8500", "--confdir=/res", "--registry"] [2022-11-03T15:17:02.310Z] ---> Running in e8e5d59a66c1 [2022-11-03T15:17:02.310Z] Removing intermediate container e8e5d59a66c1 [2022-11-03T15:17:02.310Z] ---> 39615676c77a [2022-11-03T15:17:02.310Z] Step 23/25 : LABEL arch=arm64 [2022-11-03T15:17:02.310Z] ---> Running in e03b2a1e11ea [2022-11-03T15:17:02.310Z] Removing intermediate container e03b2a1e11ea [2022-11-03T15:17:02.310Z] ---> b9e5c85b1b9d [2022-11-03T15:17:02.310Z] Step 24/25 : LABEL git_sha=fa7ebe2a459f4ba85e58d86d013e4f890fde3525 [2022-11-03T15:17:02.310Z] ---> Running in 59bce1687b31 [2022-11-03T15:17:02.310Z] Removing intermediate container 59bce1687b31 [2022-11-03T15:17:02.310Z] ---> 6eb0bbb64078 [2022-11-03T15:17:02.310Z] Step 25/25 : LABEL version=0.0.0 [2022-11-03T15:17:02.310Z] ---> Running in 1247dcb345db [2022-11-03T15:17:02.310Z] Removing intermediate container 1247dcb345db [2022-11-03T15:17:02.310Z] ---> d4042a5413fa [2022-11-03T15:17:02.310Z] [Warning] One or more build-args [ARCH] were not consumed [2022-11-03T15:17:02.310Z] Successfully built d4042a5413fa [2022-11-03T15:17:02.310Z] 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-11-03T15:17:02.772Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-11-03T15:17:02.772Z] [2022-11-03T15:17:02.772Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-11-03T15:17:03.112Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-11-03T15:17:03.112Z] arm64: Pulling from edgex-lftools-log-publisher [2022-11-03T15:17:03.112Z] 8998bd30e6a1: Pulling fs layer [2022-11-03T15:17:03.112Z] 04944245beec: Pulling fs layer [2022-11-03T15:17:03.112Z] 699f458cf7ca: Pulling fs layer [2022-11-03T15:17:03.112Z] 765212b225bb: Pulling fs layer [2022-11-03T15:17:03.112Z] f23df028b6ca: Pulling fs layer [2022-11-03T15:17:03.112Z] d65c8cfc05b1: Pulling fs layer [2022-11-03T15:17:03.112Z] 2437ff75d9bd: Pulling fs layer [2022-11-03T15:17:03.112Z] 765212b225bb: Waiting [2022-11-03T15:17:03.112Z] d65c8cfc05b1: Waiting [2022-11-03T15:17:03.112Z] f23df028b6ca: Waiting [2022-11-03T15:17:03.112Z] 2437ff75d9bd: Waiting [2022-11-03T15:17:03.407Z] 04944245beec: Verifying Checksum [2022-11-03T15:17:03.407Z] 04944245beec: Download complete [2022-11-03T15:17:03.407Z] 765212b225bb: Verifying Checksum [2022-11-03T15:17:03.407Z] 765212b225bb: Download complete [2022-11-03T15:17:03.407Z] f23df028b6ca: Download complete [2022-11-03T15:17:03.407Z] d65c8cfc05b1: Verifying Checksum [2022-11-03T15:17:03.407Z] d65c8cfc05b1: Download complete [2022-11-03T15:17:03.407Z] 699f458cf7ca: Download complete [2022-11-03T15:17:04.009Z] 8998bd30e6a1: Verifying Checksum [2022-11-03T15:17:04.009Z] 8998bd30e6a1: Download complete [2022-11-03T15:17:05.960Z] 2437ff75d9bd: Verifying Checksum [2022-11-03T15:17:05.960Z] 2437ff75d9bd: Download complete [2022-11-03T15:17:07.906Z] 8998bd30e6a1: Pull complete [2022-11-03T15:17:08.174Z] 04944245beec: Pull complete [2022-11-03T15:17:09.588Z] 699f458cf7ca: Pull complete [2022-11-03T15:17:09.856Z] 765212b225bb: Pull complete [2022-11-03T15:17:10.439Z] f23df028b6ca: Pull complete [2022-11-03T15:17:10.707Z] d65c8cfc05b1: Pull complete [2022-11-03T15:17:25.711Z] 2437ff75d9bd: Pull complete [2022-11-03T15:17:25.711Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2022-11-03T15:17:25.711Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-11-03T15:17:25.711Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-11-03T15:17:25.885Z] prd-ubuntu20.04-docker-arm64-4c-16g-118124 does not seem to be running inside a container [2022-11-03T15:17:25.956Z] $ 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/7 -v /w/workspace/device-rest-go/7:/w/workspace/device-rest-go/7:rw,z -v /w/workspace/device-rest-go/7@tmp:/w/workspace/device-rest-go/7@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-11-03T15:17:28.514Z] $ docker top 7c8f8eb6893d7e19daaa69e4cd6e897dec7e2547b21f9d1e69bfc55e0c88f8eb -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-11-03T15:17:29.325Z] ---> job-cost.sh [2022-11-03T15:17:29.325Z] lf-activate-venv: SKIPPING [2022-11-03T15:17:29.325Z] INFO: No Stack... [2022-11-03T15:17:29.905Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2022-11-03T15:17:30.487Z] INFO: Archiving Costs [Pipeline] sh [2022-11-03T15:17:31.122Z] + + cut -d, -f6 [2022-11-03T15:17:31.122Z] cat /w/workspace/device-rest-go/7/archives/cost.csv [Pipeline] lock [2022-11-03T15:17:31.179Z] Trying to acquire lock on [jenkins-edgexfoundry-device-rest-go-PR-222-7-stack-cost] [2022-11-03T15:17:31.186Z] Resource [jenkins-edgexfoundry-device-rest-go-PR-222-7-stack-cost] did not exist. Created. [2022-11-03T15:17:31.186Z] Lock acquired on [jenkins-edgexfoundry-device-rest-go-PR-222-7-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-11-03T15:17:31.842Z] /w/workspace/device-rest-go/7@tmp/durable-db124b62/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2022-11-03T15:17:32.492Z] + echo total: 0.10999999940395355 [Pipeline] stash [2022-11-03T15:17:32.512Z] Warning: overwriting stash ‘stack-cost’ [2022-11-03T15:17:32.549Z] Stashed 1 file(s) [Pipeline] } [2022-11-03T15:17:32.555Z] Lock released on resource [jenkins-edgexfoundry-device-rest-go-PR-222-7-stack-cost] [Pipeline] // lock [Pipeline] } [2022-11-03T15:17:32.584Z] $ docker stop --time=1 7c8f8eb6893d7e19daaa69e4cd6e897dec7e2547b21f9d1e69bfc55e0c88f8eb [2022-11-03T15:17:34.045Z] $ docker rm -f 7c8f8eb6893d7e19daaa69e4cd6e897dec7e2547b21f9d1e69bfc55e0c88f8eb [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-11-03T15:17:34.411Z] provisioning config files... [2022-11-03T15:17:34.418Z] copy managed file [device-rest-go-codecov-token] to file:/w/workspace/gexfoundry_device-rest-go_PR-222@tmp/config10148957643699291269tmp [Pipeline] { [Pipeline] sh [2022-11-03T15:17:34.707Z] + set +x [2022-11-03T15:17:34.707Z] + curl -s https://codecov.io/bash [2022-11-03T15:17:34.707Z] + bash -s -- [2022-11-03T15:17:34.707Z] [2022-11-03T15:17:34.707Z] _____ _ [2022-11-03T15:17:34.707Z] / ____| | | [2022-11-03T15:17:34.707Z] | | ___ __| | ___ ___ _____ __ [2022-11-03T15:17:34.707Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2022-11-03T15:17:34.707Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2022-11-03T15:17:34.707Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2022-11-03T15:17:34.707Z] Bash-1.0.6 [2022-11-03T15:17:34.707Z] [2022-11-03T15:17:34.707Z] [2022-11-03T15:17:34.707Z] ==> git version 2.25.1 found [2022-11-03T15:17:34.707Z] ==> 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-11-03T15:17:34.707Z] Release-Date: 2020-01-08 [2022-11-03T15:17:34.707Z] 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-11-03T15:17:34.707Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2022-11-03T15:17:34.707Z] ==> Jenkins CI detected. [2022-11-03T15:17:34.707Z] current dir:  /w/workspace/gexfoundry_device-rest-go_PR-222 [2022-11-03T15:17:34.707Z] project root: . [2022-11-03T15:17:34.707Z] --> token set from env [2022-11-03T15:17:34.707Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2022-11-03T15:17:34.707Z] ==> Running gcov in . (disable via -X gcov) [2022-11-03T15:17:34.707Z] ==> Python coveragepy not found [2022-11-03T15:17:34.707Z] ==> Searching for coverage reports in: [2022-11-03T15:17:34.707Z] + . [2022-11-03T15:17:34.707Z] -> Found 1 reports [2022-11-03T15:17:34.707Z] ==> Detecting git/mercurial file structure [2022-11-03T15:17:34.707Z] ==> Reading reports [2022-11-03T15:17:34.964Z] + ./coverage.out bytes=9355 [2022-11-03T15:17:34.964Z] ==> Appending adjustments [2022-11-03T15:17:34.964Z] https://docs.codecov.io/docs/fixing-reports [2022-11-03T15:17:34.964Z] + Found adjustments [2022-11-03T15:17:34.964Z] ==> Gzipping contents [2022-11-03T15:17:34.964Z] 4.0K /tmp/codecov.yLdVo4.gz [2022-11-03T15:17:34.964Z] ==> Uploading reports [2022-11-03T15:17:34.964Z] url: https://codecov.io [2022-11-03T15:17:34.964Z] query: branch=PR-222&commit=11d3437e55476b59528cf52fc5308db9a66a8f74&build=7&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-rest-go%2Fjob%2FPR-222%2F7%2F&name=&tag=&slug=edgexfoundry%2Fdevice-rest-go&service=jenkins&flags=&pr=222&job=&cmd_args= [2022-11-03T15:17:34.964Z] -> Pinging Codecov [2022-11-03T15:17:34.964Z] https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=c51feb23-73ac-4f49-b3d1-d26df23137db&branch=PR-222&commit=11d3437e55476b59528cf52fc5308db9a66a8f74&build=7&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-rest-go%2Fjob%2FPR-222%2F7%2F&name=&tag=&slug=edgexfoundry%2Fdevice-rest-go&service=jenkins&flags=&pr=222&job=&cmd_args= [2022-11-03T15:17:35.530Z] -> Uploading to [2022-11-03T15:17:35.530Z] https://storage.googleapis.com/codecov/v4/raw/2022-11-03/4E5D53B4F1F92C436F7061BF334D961C/11d3437e55476b59528cf52fc5308db9a66a8f74/f2405673-8ad5-4feb-9003-20c50afd8175.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20221103%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20221103T151735Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=2d0ea8d794cc4c797160ad312c3dcd72a1f43df5f7b731c7bf25463c538efe1c [2022-11-03T15:17:35.530Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-11-03T15:17:35.530Z] Dload Upload Total Spent Left Speed [2022-11-03T15:17:35.530Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 1738 0 0 100 1738 0 7900 --:--:-- --:--:-- --:--:-- 7864 100 1738 0 0 100 1738 0 7241 --:--:-- --:--:-- --:--:-- 7211 [2022-11-03T15:17:35.530Z] -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-rest-go/commit/11d3437e55476b59528cf52fc5308db9a66a8f74 [Pipeline] } [2022-11-03T15:17:35.536Z] 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-11-03T15:17:36.139Z] + [ -d /w/workspace/gexfoundry_device-rest-go_PR-222/archives ] [2022-11-03T15:17:36.139Z] + ls -al /w/workspace/gexfoundry_device-rest-go_PR-222/archives [2022-11-03T15:17:36.139Z] total 16 [2022-11-03T15:17:36.139Z] drwxr-xr-x 3 root root 4096 Nov 3 15:11 . [2022-11-03T15:17:36.139Z] drwxrwxr-x 10 jenkins jenkins 4096 Nov 3 15:11 .. [2022-11-03T15:17:36.139Z] drwxr-xr-x 2 root root 4096 Nov 3 15:11 cost [2022-11-03T15:17:36.139Z] -rw-r--r-- 1 root root 86 Nov 3 15:11 cost.csv [2022-11-03T15:17:36.139Z] + sudo chown -R jenkins:jenkins /w/workspace/gexfoundry_device-rest-go_PR-222/archives [2022-11-03T15:17:36.139Z] + ls -al /w/workspace/gexfoundry_device-rest-go_PR-222/archives [2022-11-03T15:17:36.139Z] total 16 [2022-11-03T15:17:36.139Z] drwxr-xr-x 3 jenkins jenkins 4096 Nov 3 15:11 . [2022-11-03T15:17:36.139Z] drwxrwxr-x 10 jenkins jenkins 4096 Nov 3 15:11 .. [2022-11-03T15:17:36.139Z] drwxr-xr-x 2 jenkins jenkins 4096 Nov 3 15:11 cost [2022-11-03T15:17:36.139Z] -rw-r--r-- 1 jenkins jenkins 86 Nov 3 15:11 cost.csv [Pipeline] libraryResource [Pipeline] sh [2022-11-03T15:17:36.433Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2022-11-03T15:17:37.293Z] ---> package-listing.sh [2022-11-03T15:17:37.293Z] ++ facter osfamily [2022-11-03T15:17:37.293Z] ++ tr '[:upper:]' '[:lower:]' [2022-11-03T15:17:37.552Z] + OS_FAMILY=debian [2022-11-03T15:17:37.552Z] + workspace=/w/workspace/gexfoundry_device-rest-go_PR-222 [2022-11-03T15:17:37.552Z] + START_PACKAGES=/tmp/packages_start.txt [2022-11-03T15:17:37.552Z] + END_PACKAGES=/tmp/packages_end.txt [2022-11-03T15:17:37.552Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2022-11-03T15:17:37.552Z] + PACKAGES=/tmp/packages_start.txt [2022-11-03T15:17:37.552Z] + '[' /w/workspace/gexfoundry_device-rest-go_PR-222 ']' [2022-11-03T15:17:37.552Z] + PACKAGES=/tmp/packages_end.txt [2022-11-03T15:17:37.552Z] + case "${OS_FAMILY}" in [2022-11-03T15:17:37.552Z] + dpkg -l [2022-11-03T15:17:37.552Z] + grep '^ii' [2022-11-03T15:17:37.552Z] + '[' -f /tmp/packages_start.txt ']' [2022-11-03T15:17:37.552Z] + '[' -f /tmp/packages_end.txt ']' [2022-11-03T15:17:37.552Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2022-11-03T15:17:37.552Z] + '[' /w/workspace/gexfoundry_device-rest-go_PR-222 ']' [2022-11-03T15:17:37.552Z] + mkdir -p /w/workspace/gexfoundry_device-rest-go_PR-222/archives/ [2022-11-03T15:17:37.552Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_device-rest-go_PR-222/archives/ [Pipeline] echo [2022-11-03T15:17:37.560Z] 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-222/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2022-11-03T15:17:37.836Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-11-03T15:17:38.394Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-11-03T15:17:38.394Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-11-03T15:17:38.497Z] prd-ubuntu20.04-docker-8c-8g-118123 does not seem to be running inside a container [2022-11-03T15:17:38.533Z] $ 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-222/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-222 -v /w/workspace/gexfoundry_device-rest-go_PR-222:/w/workspace/gexfoundry_device-rest-go_PR-222:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-222@tmp:/w/workspace/gexfoundry_device-rest-go_PR-222@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-11-03T15:17:40.065Z] $ docker top a7fbc419124b08e8820008984309096195f5f507f3602bf7f98b7d366718be2d -eo pid,comm [Pipeline] { [Pipeline] sh [2022-11-03T15:17:40.406Z] + touch /tmp/pre-build-complete [Pipeline] sh [2022-11-03T15:17:40.692Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2022-11-03T15:17:41.008Z] + ls /var/log/sa-host [2022-11-03T15:17:41.008Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-11-03T15:17:41.211Z] provisioning config files... [2022-11-03T15:17:41.219Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-rest-go_PR-222@tmp/config15522167154680100152tmp [Pipeline] { [Pipeline] echo [2022-11-03T15:17:41.233Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2022-11-03T15:17:41.513Z] ---> create-netrc.sh [Pipeline] } [2022-11-03T15:17:41.519Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2022-11-03T15:17:41.834Z] ---> python-tools-install.sh [Pipeline] echo [2022-11-03T15:17:41.841Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2022-11-03T15:17:42.123Z] ---> sudo-logs.sh [2022-11-03T15:17:42.123Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2022-11-03T15:17:42.148Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2022-11-03T15:17:42.428Z] ---> job-cost.sh [2022-11-03T15:17:42.428Z] lf-activate-venv: SKIPPING [2022-11-03T15:17:42.428Z] DEBUG: total: 0.2199999988079071 [2022-11-03T15:17:42.428Z] INFO: Retrieving Stack Cost... [2022-11-03T15:17:42.687Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2022-11-03T15:17:43.253Z] INFO: Archiving Costs [Pipeline] echo [2022-11-03T15:17:43.264Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2022-11-03T15:17:43.545Z] ---> logs-deploy.sh [2022-11-03T15:17:43.545Z] lf-activate-venv: SKIPPING [2022-11-03T15:17:43.545Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-rest-go/PR-222/7 [2022-11-03T15:17:43.545Z] INFO: archiving workspace using pattern(s): [2022-11-03T15:17:44.480Z] Archives upload complete. [2022-11-03T15:17:44.738Z] INFO: archiving logs to Nexus