Pull request #229 updated Connecting to https://api.github.com using edgex-jenkins github personal access token Connecting to https://api.github.com to check permissions of obtain list of sudhamani-hcl for edgexfoundry/device-rest-go Obtained Jenkinsfile from d2bc890bc176b4cc1965b65c35a7dd1f7a85ecd8+7d8e6f5ecbf08d53345d5c199887d0d319da1d2d (9d409ecb6dbd44a71c86d47588430396946666f9) 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-ssh1670648938764665288.key > 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-ssh13465145604563378234.key > git fetch --tags --progress -- origin +refs/heads/*:refs/remotes/origin/* # timeout=10 > git rev-parse refs/tags/stable^{commit} # timeout=10 Resolved tag stable revision 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-229/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-229/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh155895915135190162.key > 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-ssh4941280390485766624.key > 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-229/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-229/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh14530719762611801752.key > 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-2893 in /w/workspace/gexfoundry_device-rest-go_PR-229 [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-229 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git > git --version # timeout=10 > git --version # 'git version 2.25.1' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > 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 Merging remotes/origin/main commit 7d8e6f5ecbf08d53345d5c199887d0d319da1d2d into PR head commit d2bc890bc176b4cc1965b65c35a7dd1f7a85ecd8 Merge succeeded, producing fa97278359b60271305dfc79d43659d10e23f940 Checking out Revision fa97278359b60271305dfc79d43659d10e23f940 (PR-229) Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/pull/229/head:refs/remotes/origin/PR-229 +refs/heads/main:refs/remotes/origin/main # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f d2bc890bc176b4cc1965b65c35a7dd1f7a85ecd8 # timeout=10 > git remote # timeout=10 > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub > git merge 7d8e6f5ecbf08d53345d5c199887d0d319da1d2d # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f fa97278359b60271305dfc79d43659d10e23f940 # timeout=10 Commit message: "Merge commit '7d8e6f5ecbf08d53345d5c199887d0d319da1d2d' into HEAD" First time build. Skipping changelog. [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2023-01-18T07:10:22.702Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2023-01-18T07:10:22.746Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2023-01-18T07:10:22.757Z] ========================================================= [2023-01-18T07:10:22.757Z] EdgeX Global Pipelines Version Info [2023-01-18T07:10:22.757Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh > git rev-list --no-walk 939fcac84ab68858f7c2a17ce4194403d8f19198 # timeout=10 [2023-01-18T07:10:23.461Z] ------------------- [2023-01-18T07:10:23.461Z] stable info: [2023-01-18T07:10:23.461Z] ------------------- [2023-01-18T07:10:23.461Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2023-01-18T07:10:23.461Z] Commit SHA: cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 [2023-01-18T07:10:23.461Z] Message: update stable to v1.0.244 [2023-01-18T07:10:24.032Z] ------------------- [2023-01-18T07:10:24.032Z] experimental info: [2023-01-18T07:10:24.032Z] ------------------- [2023-01-18T07:10:24.032Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2023-01-18T07:10:24.032Z] Commit SHA: cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 [2023-01-18T07:10:24.032Z] Message: update experimental to v1.0.244 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2023-01-18T07:10:24.245Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-rest-go-settings [Pipeline] echo [2023-01-18T07:10:24.260Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-rest-go [Pipeline] echo [2023-01-18T07:10:24.272Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2023-01-18T07:10:24.285Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2023-01-18T07:10:24.297Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2023-01-18T07:10:24.310Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.18 [Pipeline] echo [2023-01-18T07:10:24.326Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2023-01-18T07:10:24.343Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2023-01-18T07:10:24.360Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2023-01-18T07:10:24.376Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2023-01-18T07:10:24.389Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2023-01-18T07:10:24.403Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-rest [Pipeline] echo [2023-01-18T07:10:24.418Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2023-01-18T07:10:24.431Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2023-01-18T07:10:24.446Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2023-01-18T07:10:24.457Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2023-01-18T07:10:24.471Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2023-01-18T07:10:24.487Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2023-01-18T07:10:24.507Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2023-01-18T07:10:24.520Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2023-01-18T07:10:24.529Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2023-01-18T07:10:24.538Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2023-01-18T07:10:24.553Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2023-01-18T07:10:24.571Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2023-01-18T07:10:24.587Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2023-01-18T07:10:24.601Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2023-01-18T07:10:24.610Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2023-01-18T07:10:24.619Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-229 [Pipeline] echo [2023-01-18T07:10:24.627Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-229 [Pipeline] echo [2023-01-18T07:10:24.636Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-229 [Pipeline] echo [2023-01-18T07:10:24.645Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = fa97278359b60271305dfc79d43659d10e23f940 [Pipeline] echo [2023-01-18T07:10:24.654Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = fa97278 [Pipeline] echo [2023-01-18T07:10:24.664Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-01-18T07:10:24.708Z] provisioning config files... [2023-01-18T07:10:24.722Z] copy managed file [device-rest-go-settings] to file:/w/workspace/gexfoundry_device-rest-go_PR-229@tmp/config4898776106551230590tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-01-18T07:10:25.026Z] ---> docker-login.sh [2023-01-18T07:10:25.026Z] nexus3.edgexfoundry.org:10001 [2023-01-18T07:10:25.292Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-18T07:10:25.553Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-18T07:10:25.553Z] Configure a credential helper to remove this warning. See [2023-01-18T07:10:25.553Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-18T07:10:25.553Z] [2023-01-18T07:10:25.553Z] Login Succeeded [2023-01-18T07:10:25.553Z] nexus3.edgexfoundry.org:10002 [2023-01-18T07:10:25.553Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-18T07:10:25.553Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-18T07:10:25.553Z] Configure a credential helper to remove this warning. See [2023-01-18T07:10:25.553Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-18T07:10:25.553Z] [2023-01-18T07:10:25.553Z] Login Succeeded [2023-01-18T07:10:25.553Z] nexus3.edgexfoundry.org:10003 [2023-01-18T07:10:25.553Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-18T07:10:25.813Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-18T07:10:25.813Z] Configure a credential helper to remove this warning. See [2023-01-18T07:10:25.813Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-18T07:10:25.813Z] [2023-01-18T07:10:25.813Z] Login Succeeded [2023-01-18T07:10:25.813Z] nexus3.edgexfoundry.org:10004 [2023-01-18T07:10:25.813Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-18T07:10:25.813Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-18T07:10:25.813Z] Configure a credential helper to remove this warning. See [2023-01-18T07:10:25.813Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-18T07:10:25.813Z] [2023-01-18T07:10:25.813Z] Login Succeeded [2023-01-18T07:10:25.813Z] docker.io [2023-01-18T07:10:25.813Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-18T07:10:26.073Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-18T07:10:26.073Z] Configure a credential helper to remove this warning. See [2023-01-18T07:10:26.073Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-18T07:10:26.073Z] [2023-01-18T07:10:26.073Z] Login Succeeded [2023-01-18T07:10:26.073Z] ---> docker-login.sh ends [Pipeline] } [2023-01-18T07:10:26.081Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2023-01-18T07:10:26.436Z] + git rev-list -1 --merges fa97278359b60271305dfc79d43659d10e23f940~1..fa97278359b60271305dfc79d43659d10e23f940 [Pipeline] echo [2023-01-18T07:10:26.482Z] -----------> git rev-list -1 --merges fa97278359b60271305dfc79d43659d10e23f940~1..fa97278359b60271305dfc79d43659d10e23f940 fa97278359b60271305dfc79d43659d10e23f940 [2023-01-18T07:10:26.482Z] fa97278359b60271305dfc79d43659d10e23f940 [false] [Pipeline] sh [2023-01-18T07:10:26.776Z] + git log --format=format:%s -1 fa97278359b60271305dfc79d43659d10e23f940 [Pipeline] echo [2023-01-18T07:10:26.798Z] ========================================================= [2023-01-18T07:10:26.798Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2023-01-18T07:10:26.798Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-01-18T07:10:27.137Z] + git log --format=format:%s -1 fa97278359b60271305dfc79d43659d10e23f940 [Pipeline] echo [2023-01-18T07:10:27.152Z] [semverPrep] GIT_COMMIT: fa97278359b60271305dfc79d43659d10e23f940, Commit Message: Merge commit '7d8e6f5ecbf08d53345d5c199887d0d319da1d2d' into HEAD [Pipeline] echo [2023-01-18T07:10:27.160Z] [semverPrep] This is not a build commit. [Pipeline] sh [2023-01-18T07:10:27.592Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-01-18T07:10:27.592Z] + grep -v github /etc/ssh/ssh_known_hosts [2023-01-18T07:10:27.592Z] + [ -e /tmp/ssh_known_hosts ] [2023-01-18T07:10:27.592Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2023-01-18T07:10:27.592Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2023-01-18T07:10:27.592Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2023-01-18T07:10:27.592Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-18T07:10:27.951Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-01-18T07:10:27.951Z] [2023-01-18T07:10:27.951Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-18T07:10:28.260Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-01-18T07:10:28.260Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2023-01-18T07:10:28.260Z] b85a868b505f: Pulling fs layer [2023-01-18T07:10:28.260Z] e2be974225ed: Pulling fs layer [2023-01-18T07:10:28.260Z] 339a4e72a1f5: Pulling fs layer [2023-01-18T07:10:28.260Z] 988bab9f4d93: Pulling fs layer [2023-01-18T07:10:28.260Z] 1469e6f7b9e6: Pulling fs layer [2023-01-18T07:10:28.260Z] eaf3925da568: Pulling fs layer [2023-01-18T07:10:28.260Z] bab4dde63d76: Pulling fs layer [2023-01-18T07:10:28.260Z] bde34c3a00c8: Pulling fs layer [2023-01-18T07:10:28.260Z] b352a97aabf1: Pulling fs layer [2023-01-18T07:10:28.260Z] 4872d77fe225: Pulling fs layer [2023-01-18T07:10:28.260Z] 5851b861e8e6: Pulling fs layer [2023-01-18T07:10:28.260Z] eaf3925da568: Waiting [2023-01-18T07:10:28.260Z] 4872d77fe225: Waiting [2023-01-18T07:10:28.260Z] 5851b861e8e6: Waiting [2023-01-18T07:10:28.260Z] 988bab9f4d93: Waiting [2023-01-18T07:10:28.260Z] 1469e6f7b9e6: Waiting [2023-01-18T07:10:28.260Z] b352a97aabf1: Waiting [2023-01-18T07:10:28.260Z] bab4dde63d76: Waiting [2023-01-18T07:10:28.260Z] bde34c3a00c8: Waiting [2023-01-18T07:10:28.260Z] e2be974225ed: Download complete [2023-01-18T07:10:28.260Z] 988bab9f4d93: Verifying Checksum [2023-01-18T07:10:28.260Z] 988bab9f4d93: Download complete [2023-01-18T07:10:28.599Z] 1469e6f7b9e6: Verifying Checksum [2023-01-18T07:10:28.599Z] 1469e6f7b9e6: Download complete [2023-01-18T07:10:28.599Z] eaf3925da568: Verifying Checksum [2023-01-18T07:10:28.599Z] eaf3925da568: Download complete [2023-01-18T07:10:28.599Z] 339a4e72a1f5: Verifying Checksum [2023-01-18T07:10:28.599Z] 339a4e72a1f5: Download complete [2023-01-18T07:10:28.599Z] bde34c3a00c8: Verifying Checksum [2023-01-18T07:10:28.599Z] bde34c3a00c8: Download complete [2023-01-18T07:10:28.599Z] b352a97aabf1: Verifying Checksum [2023-01-18T07:10:28.599Z] b352a97aabf1: Download complete [2023-01-18T07:10:28.599Z] 4872d77fe225: Verifying Checksum [2023-01-18T07:10:28.599Z] 4872d77fe225: Download complete [2023-01-18T07:10:28.873Z] 5851b861e8e6: Download complete [2023-01-18T07:10:28.873Z] b85a868b505f: Verifying Checksum [2023-01-18T07:10:28.873Z] b85a868b505f: Download complete [2023-01-18T07:10:29.141Z] bab4dde63d76: Verifying Checksum [2023-01-18T07:10:29.141Z] bab4dde63d76: Download complete [2023-01-18T07:10:30.525Z] b85a868b505f: Pull complete [2023-01-18T07:10:30.784Z] e2be974225ed: Pull complete [2023-01-18T07:10:31.354Z] 339a4e72a1f5: Pull complete [2023-01-18T07:10:31.354Z] 988bab9f4d93: Pull complete [2023-01-18T07:10:31.618Z] 1469e6f7b9e6: Pull complete [2023-01-18T07:10:31.618Z] eaf3925da568: Pull complete [2023-01-18T07:10:33.521Z] bab4dde63d76: Pull complete [2023-01-18T07:10:33.521Z] bde34c3a00c8: Pull complete [2023-01-18T07:10:33.780Z] b352a97aabf1: Pull complete [2023-01-18T07:10:33.780Z] 4872d77fe225: Pull complete [2023-01-18T07:10:34.040Z] 5851b861e8e6: Pull complete [2023-01-18T07:10:34.040Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2023-01-18T07:10:34.040Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-01-18T07:10:34.040Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-01-18T07:10:34.146Z] prd-ubuntu20.04-docker-8c-8g-2893 does not seem to be running inside a container [2023-01-18T07:10:34.185Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-rest-go_PR-229 -v /w/workspace/gexfoundry_device-rest-go_PR-229:/w/workspace/gexfoundry_device-rest-go_PR-229:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-229@tmp:/w/workspace/gexfoundry_device-rest-go_PR-229@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-devops/py-git-semver:0.1.4 cat [2023-01-18T07:10:37.931Z] $ docker top 793ec08ef866403f5b1396d3c88aa06c4cbb52ccd864a78961bbba28dc3e850e -eo pid,comm [2023-01-18T07:10:37.984Z] 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). [2023-01-18T07:10:37.984Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-01-18T07:10:38.030Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-01-18T07:10:38.030Z] [ssh-agent] Looking for ssh-agent implementation... [2023-01-18T07:10:38.142Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-01-18T07:10:38.148Z] $ docker exec 793ec08ef866403f5b1396d3c88aa06c4cbb52ccd864a78961bbba28dc3e850e ssh-agent [2023-01-18T07:10:38.250Z] SSH_AUTH_SOCK=/tmp/ssh-neTMEi3UhmVZ/agent.31 [2023-01-18T07:10:38.250Z] SSH_AGENT_PID=37 [2023-01-18T07:10:38.257Z] Running ssh-add (command line suppressed) [2023-01-18T07:10:38.370Z] Identity added: /w/workspace/gexfoundry_device-rest-go_PR-229@tmp/private_key_2194687959645027969.key (/w/workspace/gexfoundry_device-rest-go_PR-229@tmp/private_key_2194687959645027969.key) [2023-01-18T07:10:38.379Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-01-18T07:10:38.673Z] + git tag --points-at HEAD [Pipeline] } [2023-01-18T07:10:38.710Z] $ docker exec --env ******** --env ******** 793ec08ef866403f5b1396d3c88aa06c4cbb52ccd864a78961bbba28dc3e850e ssh-agent -k [2023-01-18T07:10:38.820Z] unset SSH_AUTH_SOCK; [2023-01-18T07:10:38.821Z] unset SSH_AGENT_PID; [2023-01-18T07:10:38.821Z] echo Agent pid 37 killed; [2023-01-18T07:10:38.828Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2023-01-18T07:10:38.853Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-01-18T07:10:38.854Z] [ssh-agent] Looking for ssh-agent implementation... [2023-01-18T07:10:38.977Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-01-18T07:10:38.983Z] $ docker exec 793ec08ef866403f5b1396d3c88aa06c4cbb52ccd864a78961bbba28dc3e850e ssh-agent [2023-01-18T07:10:39.097Z] SSH_AUTH_SOCK=/tmp/ssh-NZuXVe3Sits3/agent.69 [2023-01-18T07:10:39.097Z] SSH_AGENT_PID=75 [2023-01-18T07:10:39.101Z] Running ssh-add (command line suppressed) [2023-01-18T07:10:39.205Z] Identity added: /w/workspace/gexfoundry_device-rest-go_PR-229@tmp/private_key_6814279408583755050.key (/w/workspace/gexfoundry_device-rest-go_PR-229@tmp/private_key_6814279408583755050.key) [2023-01-18T07:10:39.218Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-01-18T07:10:39.505Z] + git semver init [2023-01-18T07:10:39.765Z] 2023-01-18 07:10:39,699 [run_init] DEBUG init version:0.0.0 force:False [2023-01-18T07:10:39.765Z] 2023-01-18 07:10:39,700 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/gexfoundry_device-rest-go_PR-229/.semver [2023-01-18T07:10:39.765Z] 2023-01-18 07:10:39,700 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-rest-go.git /w/workspace/gexfoundry_device-rest-go_PR-229/.semver [2023-01-18T07:10:39.765Z] 2023-01-18 07:10:39,701 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-rest-go.git', '/w/workspace/gexfoundry_device-rest-go_PR-229/.semver'], cwd=/w/workspace/gexfoundry_device-rest-go_PR-229, universal_newlines=False, shell=None, istream=None) [2023-01-18T07:10:41.146Z] 2023-01-18 07:10:40,874 [append_file] DEBUG append to file:/w/workspace/gexfoundry_device-rest-go_PR-229/.git/info/exclude [2023-01-18T07:10:41.146Z] 2023-01-18 07:10:40,875 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/gexfoundry_device-rest-go_PR-229/.semver/PR-229 with force:False [2023-01-18T07:10:41.146Z] 2023-01-18 07:10:40,875 [write_file] DEBUG write to file:/w/workspace/gexfoundry_device-rest-go_PR-229/.semver/PR-229 [2023-01-18T07:10:41.146Z] 2023-01-18 07:10:40,879 [execute] INFO git cat-file --batch-check [2023-01-18T07:10:41.146Z] 2023-01-18 07:10:40,880 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/gexfoundry_device-rest-go_PR-229/.semver, universal_newlines=False, shell=None, istream=) [2023-01-18T07:10:41.146Z] 2023-01-18 07:10:40,885 [execute] INFO git cat-file --batch [2023-01-18T07:10:41.146Z] 2023-01-18 07:10:40,885 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/gexfoundry_device-rest-go_PR-229/.semver, universal_newlines=False, shell=None, istream=) [2023-01-18T07:10:41.146Z] 2023-01-18 07:10:40,889 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-rest-go_PR-229/.semver/PR-229 [2023-01-18T07:10:41.146Z] 0.0.0 [Pipeline] } [2023-01-18T07:10:41.160Z] $ docker exec --env ******** --env ******** 793ec08ef866403f5b1396d3c88aa06c4cbb52ccd864a78961bbba28dc3e850e ssh-agent -k [2023-01-18T07:10:41.262Z] unset SSH_AUTH_SOCK; [2023-01-18T07:10:41.262Z] unset SSH_AGENT_PID; [2023-01-18T07:10:41.263Z] echo Agent pid 75 killed; [2023-01-18T07:10:41.273Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-01-18T07:10:41.574Z] + git semver [Pipeline] } [2023-01-18T07:10:41.852Z] $ docker stop --time=1 793ec08ef866403f5b1396d3c88aa06c4cbb52ccd864a78961bbba28dc3e850e [2023-01-18T07:10:43.171Z] $ docker rm -f --volumes 793ec08ef866403f5b1396d3c88aa06c4cbb52ccd864a78961bbba28dc3e850e [Pipeline] // withDockerContainer [Pipeline] sh [2023-01-18T07:10:43.504Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2023-01-18T07:10:43.714Z] Stashed 1 file(s) [Pipeline] echo [2023-01-18T07:10:43.718Z] [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 [2023-01-18T07:10:43.841Z] provisioning config files... [2023-01-18T07:10:43.850Z] copy managed file [device-rest-go-settings] to file:/w/workspace/gexfoundry_device-rest-go_PR-229@tmp/config11260050461085601390tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-01-18T07:10:44.142Z] ---> docker-login.sh [2023-01-18T07:10:44.142Z] nexus3.edgexfoundry.org:10001 [2023-01-18T07:10:44.142Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-18T07:10:44.142Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-18T07:10:44.142Z] Configure a credential helper to remove this warning. See [2023-01-18T07:10:44.142Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-18T07:10:44.142Z] [2023-01-18T07:10:44.142Z] Login Succeeded [2023-01-18T07:10:44.142Z] nexus3.edgexfoundry.org:10002 [2023-01-18T07:10:44.399Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-18T07:10:44.399Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-18T07:10:44.399Z] Configure a credential helper to remove this warning. See [2023-01-18T07:10:44.399Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-18T07:10:44.399Z] [2023-01-18T07:10:44.399Z] Login Succeeded [2023-01-18T07:10:44.399Z] nexus3.edgexfoundry.org:10003 [2023-01-18T07:10:44.399Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-18T07:10:44.399Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-18T07:10:44.399Z] Configure a credential helper to remove this warning. See [2023-01-18T07:10:44.399Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-18T07:10:44.399Z] [2023-01-18T07:10:44.399Z] Login Succeeded [2023-01-18T07:10:44.399Z] nexus3.edgexfoundry.org:10004 [2023-01-18T07:10:44.658Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-18T07:10:44.658Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-18T07:10:44.658Z] Configure a credential helper to remove this warning. See [2023-01-18T07:10:44.658Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-18T07:10:44.658Z] [2023-01-18T07:10:44.658Z] Login Succeeded [2023-01-18T07:10:44.658Z] docker.io [2023-01-18T07:10:44.658Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-18T07:10:44.918Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-18T07:10:44.918Z] Configure a credential helper to remove this warning. See [2023-01-18T07:10:44.918Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-18T07:10:44.918Z] [2023-01-18T07:10:44.918Z] Login Succeeded [2023-01-18T07:10:44.918Z] ---> docker-login.sh ends [Pipeline] } [2023-01-18T07:10:44.925Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-01-18T07:10:44.983Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-01-18T07:10:44.997Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-01-18T07:10:45.005Z] ========================================================= [2023-01-18T07:10:45.005Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine] [2023-01-18T07:10:45.005Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-18T07:10:45.311Z] + 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 . [2023-01-18T07:10:45.311Z] Sending build context to Docker daemon 10.81MB [2023-01-18T07:10:45.311Z] Step 1/12 : ARG BASE=golang:1.18-alpine3.16 [2023-01-18T07:10:45.311Z] Step 2/12 : FROM ${BASE} AS builder [2023-01-18T07:10:45.311Z] 1.18-alpine: Pulling from edgex-devops/edgex-golang-base [2023-01-18T07:10:45.311Z] 213ec9aee27d: Pulling fs layer [2023-01-18T07:10:45.311Z] 4583459ba037: Pulling fs layer [2023-01-18T07:10:45.311Z] 93c1e223e6f2: Pulling fs layer [2023-01-18T07:10:45.311Z] 53926ce57604: Pulling fs layer [2023-01-18T07:10:45.311Z] 21b2b0c7a3f4: Pulling fs layer [2023-01-18T07:10:45.311Z] 22ff95d597cd: Pulling fs layer [2023-01-18T07:10:45.311Z] 12d6caf4c0d1: Pulling fs layer [2023-01-18T07:10:45.311Z] 96b7cbca73a9: Pulling fs layer [2023-01-18T07:10:45.311Z] a7acece74701: Pulling fs layer [2023-01-18T07:10:45.311Z] 21b2b0c7a3f4: Waiting [2023-01-18T07:10:45.311Z] 12d6caf4c0d1: Waiting [2023-01-18T07:10:45.311Z] 96b7cbca73a9: Waiting [2023-01-18T07:10:45.311Z] a7acece74701: Waiting [2023-01-18T07:10:45.311Z] 22ff95d597cd: Waiting [2023-01-18T07:10:45.311Z] 53926ce57604: Waiting [2023-01-18T07:10:45.311Z] 93c1e223e6f2: Verifying Checksum [2023-01-18T07:10:45.311Z] 93c1e223e6f2: Download complete [2023-01-18T07:10:45.583Z] 4583459ba037: Verifying Checksum [2023-01-18T07:10:45.583Z] 4583459ba037: Download complete [2023-01-18T07:10:45.583Z] 21b2b0c7a3f4: Verifying Checksum [2023-01-18T07:10:45.583Z] 21b2b0c7a3f4: Download complete [2023-01-18T07:10:45.583Z] 22ff95d597cd: Verifying Checksum [2023-01-18T07:10:45.583Z] 22ff95d597cd: Download complete [2023-01-18T07:10:45.583Z] 213ec9aee27d: Verifying Checksum [2023-01-18T07:10:45.583Z] 213ec9aee27d: Download complete [2023-01-18T07:10:45.583Z] 12d6caf4c0d1: Verifying Checksum [2023-01-18T07:10:45.583Z] 12d6caf4c0d1: Download complete [2023-01-18T07:10:45.849Z] 213ec9aee27d: Pull complete [2023-01-18T07:10:45.849Z] 4583459ba037: Pull complete [2023-01-18T07:10:46.127Z] 93c1e223e6f2: Pull complete [2023-01-18T07:10:46.786Z] a7acece74701: Verifying Checksum [2023-01-18T07:10:46.786Z] a7acece74701: Download complete [2023-01-18T07:10:47.055Z] 53926ce57604: Verifying Checksum [2023-01-18T07:10:47.055Z] 53926ce57604: Download complete [2023-01-18T07:10:47.055Z] 96b7cbca73a9: Verifying Checksum [2023-01-18T07:10:47.055Z] 96b7cbca73a9: Download complete [2023-01-18T07:10:51.252Z] 53926ce57604: Pull complete [2023-01-18T07:10:51.252Z] 21b2b0c7a3f4: Pull complete [2023-01-18T07:10:51.252Z] 22ff95d597cd: Pull complete [2023-01-18T07:10:51.252Z] 12d6caf4c0d1: Pull complete [2023-01-18T07:10:53.155Z] 96b7cbca73a9: Pull complete [2023-01-18T07:10:53.722Z] a7acece74701: Pull complete [2023-01-18T07:10:53.722Z] Digest: sha256:f6a9ef70c52da88a2ff63a0c6767b24654f9f5185d1d85ca6cc3004fb48f6c2d [2023-01-18T07:10:53.722Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine [2023-01-18T07:10:53.722Z] ---> db6d94c90886 [2023-01-18T07:10:53.722Z] Step 3/12 : ARG ADD_BUILD_TAGS="" [2023-01-18T07:10:58.800Z] Still waiting to schedule task [2023-01-18T07:10:58.800Z] All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline [2023-01-18T07:11:00.298Z] ---> Running in 68f3c3586a37 [2023-01-18T07:11:00.298Z] Removing intermediate container 68f3c3586a37 [2023-01-18T07:11:00.298Z] ---> 7b0d640f3ae6 [2023-01-18T07:11:00.298Z] Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-01-18T07:11:00.298Z] ---> Running in c009e9e4d349 [2023-01-18T07:11:00.298Z] Removing intermediate container c009e9e4d349 [2023-01-18T07:11:00.298Z] ---> 00389da07877 [2023-01-18T07:11:00.298Z] Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client" [2023-01-18T07:11:00.298Z] ---> Running in 6cedda4f3066 [2023-01-18T07:11:00.298Z] Removing intermediate container 6cedda4f3066 [2023-01-18T07:11:00.298Z] ---> 8ca8180f9cb3 [2023-01-18T07:11:00.298Z] Step 6/12 : ARG ALPINE_PKG_EXTRA="" [2023-01-18T07:11:00.298Z] ---> Running in 729a96ef82b0 [2023-01-18T07:11:00.298Z] Removing intermediate container 729a96ef82b0 [2023-01-18T07:11:00.298Z] ---> 4981b6be4b69 [2023-01-18T07:11:00.298Z] Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-01-18T07:11:00.298Z] ---> Running in f6ebe5213801 [2023-01-18T07:11:00.557Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2023-01-18T07:11:00.818Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2023-01-18T07:11:01.081Z] (1/4) Installing openssh-keygen (9.0_p1-r2) [2023-01-18T07:11:01.081Z] (2/4) Installing libedit (20210910.3.1-r0) [2023-01-18T07:11:01.081Z] (3/4) Installing openssh-client-common (9.0_p1-r2) [2023-01-18T07:11:01.081Z] (4/4) Installing openssh-client-default (9.0_p1-r2) [2023-01-18T07:11:01.081Z] Executing busybox-1.35.0-r17.trigger [2023-01-18T07:11:01.081Z] OK: 216 MiB in 55 packages [2023-01-18T07:11:01.655Z] Removing intermediate container f6ebe5213801 [2023-01-18T07:11:01.655Z] ---> b762901446b2 [2023-01-18T07:11:01.655Z] Step 8/12 : WORKDIR /device-rest-go [2023-01-18T07:11:01.655Z] ---> Running in 6f777480b5e9 [2023-01-18T07:11:01.655Z] Removing intermediate container 6f777480b5e9 [2023-01-18T07:11:01.655Z] ---> 902135fcbaab [2023-01-18T07:11:01.655Z] Step 9/12 : COPY go.mod vendor* ./ [2023-01-18T07:11:01.922Z] ---> e4744b560ff4 [2023-01-18T07:11:01.922Z] Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-01-18T07:11:01.922Z] ---> Running in 6e25609529d9 [2023-01-18T07:11:34.110Z] Removing intermediate container 6e25609529d9 [2023-01-18T07:11:34.110Z] ---> abe8a8ba6f62 [2023-01-18T07:11:34.110Z] Step 11/12 : COPY . . [2023-01-18T07:11:34.110Z] ---> a4b22c0fff04 [2023-01-18T07:11:34.110Z] Step 12/12 : RUN $MAKE [2023-01-18T07:11:34.110Z] ---> Running in 01c45afaab7f [2023-01-18T07:11:34.110Z] noop [2023-01-18T07:11:34.110Z] Removing intermediate container 01c45afaab7f [2023-01-18T07:11:34.110Z] ---> 771b34828251 [2023-01-18T07:11:34.110Z] Successfully built 771b34828251 [2023-01-18T07:11:34.110Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-18T07:11:34.420Z] + docker inspect -f . ci-base-image-x86_64 [2023-01-18T07:11:34.420Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-01-18T07:11:34.518Z] prd-ubuntu20.04-docker-8c-8g-2893 does not seem to be running inside a container [2023-01-18T07:11:34.559Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-rest-go_PR-229 -v /w/workspace/gexfoundry_device-rest-go_PR-229:/w/workspace/gexfoundry_device-rest-go_PR-229:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-229@tmp:/w/workspace/gexfoundry_device-rest-go_PR-229@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2023-01-18T07:11:34.921Z] $ docker top e71198c4a87eca35ffda7d166a23fe82d4caf0a5f00cf126c2fb935a754cc8cb -eo pid,comm [Pipeline] { [Pipeline] sh [2023-01-18T07:11:35.273Z] + go version [2023-01-18T07:11:35.273Z] go version go1.18.7 linux/amd64 [Pipeline] } [2023-01-18T07:11:35.286Z] $ docker stop --time=1 e71198c4a87eca35ffda7d166a23fe82d4caf0a5f00cf126c2fb935a754cc8cb [2023-01-18T07:11:36.560Z] $ docker rm -f --volumes e71198c4a87eca35ffda7d166a23fe82d4caf0a5f00cf126c2fb935a754cc8cb [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-18T07:11:36.958Z] + docker inspect -f . ci-base-image-x86_64 [2023-01-18T07:11:36.958Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-01-18T07:11:37.033Z] prd-ubuntu20.04-docker-8c-8g-2893 does not seem to be running inside a container [2023-01-18T07:11:37.066Z] $ 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-229 -v /w/workspace/gexfoundry_device-rest-go_PR-229:/w/workspace/gexfoundry_device-rest-go_PR-229:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-229@tmp:/w/workspace/gexfoundry_device-rest-go_PR-229@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2023-01-18T07:11:37.462Z] $ docker top f253c637d2545a12a7c1d97e1c5420838cf79f90af0e83780814c786bfbbf211 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-01-18T07:11:37.803Z] + git config --global --add safe.directory /w/workspace/gexfoundry_device-rest-go_PR-229 [Pipeline] fileExists [Pipeline] sh [2023-01-18T07:11:38.100Z] + make test [2023-01-18T07:11:38.100Z] go test ./... -coverprofile=coverage.out ./... [2023-01-18T07:11:38.359Z] ? github.com/edgexfoundry/device-rest-go [no test files] [2023-01-18T07:11:48.353Z] ? github.com/edgexfoundry/device-rest-go/cmd [no test files] [2023-01-18T07:11:48.353Z] ok github.com/edgexfoundry/device-rest-go/driver 0.015s coverage: 34.0% of statements [2023-01-18T07:11:54.916Z] 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." [2023-01-18T07:11:54.916Z] go vet ./... [2023-01-18T07:11:58.209Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-01-18T07:11:58.209Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2023-01-18T07:11:58.209Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2023-01-18T07:11:58.227Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2023-01-18T07:11:58.247Z] $ docker stop --time=1 f253c637d2545a12a7c1d97e1c5420838cf79f90af0e83780814c786bfbbf211 [2023-01-18T07:12:02.881Z] $ docker rm -f --volumes f253c637d2545a12a7c1d97e1c5420838cf79f90af0e83780814c786bfbbf211 [Pipeline] // withDockerContainer [Pipeline] sh [2023-01-18T07:12:03.344Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2023-01-18T07:12:03.397Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2023-01-18T07:12:03.953Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-01-18T07:12:04.233Z] + ls -al . [2023-01-18T07:12:04.233Z] total 196 [2023-01-18T07:12:04.233Z] drwxrwxr-x 9 jenkins jenkins 4096 Jan 18 07:11 . [2023-01-18T07:12:04.233Z] drwxrwxr-x 4 jenkins jenkins 4096 Jan 18 07:10 .. [2023-01-18T07:12:04.233Z] -rw-rw-r-- 1 jenkins jenkins 151 Jan 18 07:10 .dockerignore [2023-01-18T07:12:04.233Z] drwxrwxr-x 8 jenkins jenkins 4096 Jan 18 07:11 .git [2023-01-18T07:12:04.233Z] drwxrwxr-x 3 jenkins jenkins 4096 Jan 18 07:10 .github [2023-01-18T07:12:04.233Z] -rw-rw-r-- 1 jenkins jenkins 329 Jan 18 07:10 .gitignore [2023-01-18T07:12:04.233Z] -rw-rw-r-- 1 jenkins jenkins 41 Jan 18 07:10 .golangci.yml [2023-01-18T07:12:04.233Z] drwxr-xr-x 3 jenkins jenkins 4096 Jan 18 07:10 .semver [2023-01-18T07:12:04.233Z] -rw-rw-r-- 1 jenkins jenkins 8996 Jan 18 07:10 Attribution.txt [2023-01-18T07:12:04.233Z] -rw-rw-r-- 1 jenkins jenkins 13085 Jan 18 07:10 CHANGELOG.md [2023-01-18T07:12:04.233Z] -rw-rw-r-- 1 jenkins jenkins 1578 Jan 18 07:10 Dockerfile [2023-01-18T07:12:04.233Z] -rw-rw-r-- 1 jenkins jenkins 677 Jan 18 07:10 GOVERNANCE.md [2023-01-18T07:12:04.233Z] -rw-rw-r-- 1 jenkins jenkins 680 Jan 18 07:10 Jenkinsfile [2023-01-18T07:12:04.233Z] -rw-rw-r-- 1 jenkins jenkins 11340 Jan 18 07:10 LICENSE [2023-01-18T07:12:04.233Z] -rw-rw-r-- 1 jenkins jenkins 1744 Jan 18 07:10 Makefile [2023-01-18T07:12:04.233Z] -rw-rw-r-- 1 jenkins jenkins 620 Jan 18 07:10 OWNERS.md [2023-01-18T07:12:04.233Z] -rw-rw-r-- 1 jenkins jenkins 12785 Jan 18 07:10 README.md [2023-01-18T07:12:04.233Z] -rw-rw-r-- 1 jenkins jenkins 5 Jan 18 07:10 VERSION [2023-01-18T07:12:04.233Z] drwxrwxr-x 2 jenkins jenkins 4096 Jan 18 07:10 bin [2023-01-18T07:12:04.233Z] drwxrwxr-x 3 jenkins jenkins 4096 Jan 18 07:10 cmd [2023-01-18T07:12:04.233Z] -rw-r--r-- 1 jenkins jenkins 13744 Jan 18 07:11 coverage.out [2023-01-18T07:12:04.233Z] drwxrwxr-x 2 jenkins jenkins 4096 Jan 18 07:10 driver [2023-01-18T07:12:04.233Z] -rw-rw-r-- 1 jenkins jenkins 3488 Jan 18 07:10 go.mod [2023-01-18T07:12:04.233Z] -rw-rw-r-- 1 jenkins jenkins 45013 Jan 18 07:10 go.sum [2023-01-18T07:12:04.233Z] drwxrwxr-x 4 jenkins jenkins 4096 Jan 18 07:10 snap [2023-01-18T07:12:04.233Z] -rw-rw-r-- 1 jenkins jenkins 713 Jan 18 07:10 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-18T07:12:04.558Z] + 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=fa97278359b60271305dfc79d43659d10e23f940 --label arch=amd64 --label version=0.0.0 . [2023-01-18T07:12:04.558Z] Sending build context to Docker daemon 10.83MB [2023-01-18T07:12:04.558Z] Step 1/25 : ARG BASE=golang:1.18-alpine3.16 [2023-01-18T07:12:04.558Z] Step 2/25 : FROM ${BASE} AS builder [2023-01-18T07:12:04.558Z] ---> 771b34828251 [2023-01-18T07:12:04.558Z] Step 3/25 : ARG ADD_BUILD_TAGS="" [2023-01-18T07:12:05.126Z] ---> Running in a9d66479300f [2023-01-18T07:12:05.126Z] Removing intermediate container a9d66479300f [2023-01-18T07:12:05.126Z] ---> d3d0fb95f334 [2023-01-18T07:12:05.126Z] Step 4/25 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-01-18T07:12:05.385Z] ---> Running in 09e30a374470 [2023-01-18T07:12:05.385Z] Removing intermediate container 09e30a374470 [2023-01-18T07:12:05.385Z] ---> 8e0ae67f590c [2023-01-18T07:12:05.385Z] Step 5/25 : ARG ALPINE_PKG_BASE="make git openssh-client" [2023-01-18T07:12:05.385Z] ---> Running in 8a60e716281e [2023-01-18T07:12:05.385Z] Removing intermediate container 8a60e716281e [2023-01-18T07:12:05.385Z] ---> 945e3e290d22 [2023-01-18T07:12:05.385Z] Step 6/25 : ARG ALPINE_PKG_EXTRA="" [2023-01-18T07:12:05.385Z] ---> Running in 474619db7a36 [2023-01-18T07:12:05.643Z] Removing intermediate container 474619db7a36 [2023-01-18T07:12:05.643Z] ---> 49c7a498e10b [2023-01-18T07:12:05.643Z] Step 7/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-01-18T07:12:05.643Z] ---> Running in 8d68d89258be [2023-01-18T07:12:05.903Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2023-01-18T07:12:05.903Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2023-01-18T07:12:06.167Z] OK: 216 MiB in 55 packages [2023-01-18T07:12:06.736Z] Removing intermediate container 8d68d89258be [2023-01-18T07:12:06.736Z] ---> 2208da648781 [2023-01-18T07:12:06.736Z] Step 8/25 : WORKDIR /device-rest-go [2023-01-18T07:12:06.736Z] ---> Running in 97939572b784 [2023-01-18T07:12:06.736Z] Removing intermediate container 97939572b784 [2023-01-18T07:12:06.736Z] ---> edf40e28aebc [2023-01-18T07:12:06.736Z] Step 9/25 : COPY go.mod vendor* ./ [2023-01-18T07:12:06.736Z] ---> d3d94a601349 [2023-01-18T07:12:06.736Z] Step 10/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-01-18T07:12:06.736Z] ---> Running in 529934ada3ba [2023-01-18T07:12:07.745Z] Removing intermediate container 529934ada3ba [2023-01-18T07:12:07.745Z] ---> d7bda1258ba1 [2023-01-18T07:12:07.746Z] Step 11/25 : COPY . . [2023-01-18T07:12:08.006Z] ---> 6cd0c294093d [2023-01-18T07:12:08.006Z] Step 12/25 : RUN $MAKE [2023-01-18T07:12:08.006Z] ---> Running in 2589e3eb8eab [2023-01-18T07:12:08.265Z] CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-rest-go.Version=0.0.0" -trimpath -mod=readonly -o cmd/device-rest ./cmd [2023-01-18T07:12:30.188Z] Removing intermediate container 2589e3eb8eab [2023-01-18T07:12:30.188Z] ---> d81f01c6a28c [2023-01-18T07:12:30.188Z] Step 13/25 : FROM alpine:3.16 [2023-01-18T07:12:30.188Z] 3.16: Pulling from library/alpine [2023-01-18T07:12:30.188Z] ca7dd9ec2225: Pulling fs layer [2023-01-18T07:12:30.447Z] ca7dd9ec2225: Verifying Checksum [2023-01-18T07:12:30.447Z] ca7dd9ec2225: Download complete [2023-01-18T07:12:30.447Z] ca7dd9ec2225: Pull complete [2023-01-18T07:12:30.447Z] Digest: sha256:b95359c2505145f16c6aa384f9cc74eeff78eb36d308ca4fd902eeeb0a0b161b [2023-01-18T07:12:30.704Z] Status: Downloaded newer image for alpine:3.16 [2023-01-18T07:12:30.704Z] ---> bfe296a52501 [2023-01-18T07:12:30.704Z] Step 14/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' [2023-01-18T07:12:30.704Z] ---> Running in 2b83fd2e29b9 [2023-01-18T07:12:30.704Z] Removing intermediate container 2b83fd2e29b9 [2023-01-18T07:12:30.704Z] ---> a1999b69f0b2 [2023-01-18T07:12:30.704Z] Step 15/25 : LABEL Name=device-rest-go Version=${VERSION} [2023-01-18T07:12:30.704Z] ---> Running in f59367fd2059 [2023-01-18T07:12:30.962Z] Removing intermediate container f59367fd2059 [2023-01-18T07:12:30.962Z] ---> 0b31e1c824a2 [2023-01-18T07:12:30.962Z] Step 16/25 : RUN apk add --update --no-cache dumb-init [2023-01-18T07:12:30.962Z] ---> Running in baa00896270a [2023-01-18T07:12:31.220Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2023-01-18T07:12:31.220Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2023-01-18T07:12:31.479Z] (1/1) Installing dumb-init (1.2.5-r1) [2023-01-18T07:12:31.479Z] Executing busybox-1.35.0-r17.trigger [2023-01-18T07:12:31.479Z] OK: 6 MiB in 15 packages [2023-01-18T07:12:32.044Z] Removing intermediate container baa00896270a [2023-01-18T07:12:32.044Z] ---> 127fa13b420b [2023-01-18T07:12:32.044Z] Step 17/25 : COPY --from=builder /device-rest-go/cmd / [2023-01-18T07:12:32.675Z] ---> 62ddb2fd1d37 [2023-01-18T07:12:32.675Z] Step 18/25 : COPY --from=builder /device-rest-go/LICENSE / [2023-01-18T07:12:32.675Z] ---> 7b3ba678d9e3 [2023-01-18T07:12:32.675Z] Step 19/25 : COPY --from=builder /device-rest-go/Attribution.txt / [2023-01-18T07:12:32.934Z] ---> 9c91f344d7fb [2023-01-18T07:12:32.934Z] Step 20/25 : EXPOSE 59986 [2023-01-18T07:12:32.934Z] ---> Running in d80a964c23ff [2023-01-18T07:12:33.192Z] Removing intermediate container d80a964c23ff [2023-01-18T07:12:33.192Z] ---> 11b288b8956e [2023-01-18T07:12:33.192Z] Step 21/25 : ENTRYPOINT ["/device-rest"] [2023-01-18T07:12:33.192Z] ---> Running in 2ae0a050a437 [2023-01-18T07:12:33.192Z] Removing intermediate container 2ae0a050a437 [2023-01-18T07:12:33.192Z] ---> 60ab6aab05dd [2023-01-18T07:12:33.192Z] Step 22/25 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry"] [2023-01-18T07:12:33.192Z] ---> Running in 18a9d11f4eac [2023-01-18T07:12:33.192Z] Removing intermediate container 18a9d11f4eac [2023-01-18T07:12:33.192Z] ---> 807dbf123d3b [2023-01-18T07:12:33.192Z] Step 23/25 : LABEL arch=amd64 [2023-01-18T07:12:33.192Z] ---> Running in 0953cebd39e7 [2023-01-18T07:12:33.451Z] Removing intermediate container 0953cebd39e7 [2023-01-18T07:12:33.451Z] ---> 3354e603dfc2 [2023-01-18T07:12:33.451Z] Step 24/25 : LABEL git_sha=fa97278359b60271305dfc79d43659d10e23f940 [2023-01-18T07:12:33.451Z] ---> Running in 9ac1c277dae9 [2023-01-18T07:12:33.451Z] Removing intermediate container 9ac1c277dae9 [2023-01-18T07:12:33.451Z] ---> 25c456126b6d [2023-01-18T07:12:33.451Z] Step 25/25 : LABEL version=0.0.0 [2023-01-18T07:12:33.451Z] ---> Running in 6796610656c2 [2023-01-18T07:12:33.451Z] Removing intermediate container 6796610656c2 [2023-01-18T07:12:33.451Z] ---> 9bee379bda40 [2023-01-18T07:12:33.451Z] [Warning] One or more build-args [ARCH] were not consumed [2023-01-18T07:12:33.451Z] Successfully built 9bee379bda40 [2023-01-18T07:12:33.451Z] Successfully tagged device-rest:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-18T07:12:34.184Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-01-18T07:12:34.184Z] [2023-01-18T07:12:34.184Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-18T07:12:34.489Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-01-18T07:12:34.489Z] latest: Pulling from edgex-lftools-log-publisher [2023-01-18T07:12:34.489Z] 5eb5b503b376: Pulling fs layer [2023-01-18T07:12:34.489Z] 5c69ac0246d0: Pulling fs layer [2023-01-18T07:12:34.489Z] ec43610c2a17: Pulling fs layer [2023-01-18T07:12:34.489Z] 3a2ae6a8a46f: Pulling fs layer [2023-01-18T07:12:34.489Z] 33b1e0a273af: Pulling fs layer [2023-01-18T07:12:34.489Z] 5d3b04190fa2: Pulling fs layer [2023-01-18T07:12:34.489Z] 2f39f015ded8: Pulling fs layer [2023-01-18T07:12:34.489Z] 3a2ae6a8a46f: Waiting [2023-01-18T07:12:34.489Z] 33b1e0a273af: Waiting [2023-01-18T07:12:34.489Z] 5d3b04190fa2: Waiting [2023-01-18T07:12:34.489Z] 5c69ac0246d0: Download complete [2023-01-18T07:12:34.489Z] 3a2ae6a8a46f: Download complete [2023-01-18T07:12:34.756Z] 33b1e0a273af: Verifying Checksum [2023-01-18T07:12:34.756Z] 33b1e0a273af: Download complete [2023-01-18T07:12:34.756Z] 5d3b04190fa2: Download complete [2023-01-18T07:12:34.756Z] ec43610c2a17: Verifying Checksum [2023-01-18T07:12:34.756Z] ec43610c2a17: Download complete [2023-01-18T07:12:35.018Z] 5eb5b503b376: Verifying Checksum [2023-01-18T07:12:35.018Z] 5eb5b503b376: Download complete [2023-01-18T07:12:35.245Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-2894 in /w/workspace/gexfoundry_device-rest-go_PR-229 [Pipeline] { [Pipeline] ws [2023-01-18T07:12:35.258Z] Running in /w/workspace/device-rest-go/14 [Pipeline] { [Pipeline] checkout [2023-01-18T07:12:35.299Z] The recommended git tool is: git [2023-01-18T07:12:35.584Z] 2f39f015ded8: Download complete [2023-01-18T07:12:36.151Z] 5eb5b503b376: Pull complete [2023-01-18T07:12:36.408Z] 5c69ac0246d0: Pull complete [2023-01-18T07:12:36.973Z] ec43610c2a17: Pull complete [2023-01-18T07:12:36.973Z] 3a2ae6a8a46f: Pull complete [2023-01-18T07:12:37.232Z] 33b1e0a273af: Pull complete [2023-01-18T07:12:37.232Z] 5d3b04190fa2: Pull complete [2023-01-18T07:12:40.554Z] using credential edgex-jenkins-ssh [2023-01-18T07:12:40.577Z] Cloning the remote Git repository [2023-01-18T07:12:40.623Z] Cloning repository git@github.com:edgexfoundry/device-rest-go.git [2023-01-18T07:12:40.702Z] > git init /w/workspace/device-rest-go/14 # timeout=10 [2023-01-18T07:12:40.854Z] Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git [2023-01-18T07:12:40.855Z] > git --version # timeout=10 [2023-01-18T07:12:40.881Z] > git --version # 'git version 2.25.1' [2023-01-18T07:12:40.883Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-01-18T07:12:40.953Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-01-18T07:12:42.511Z] 2f39f015ded8: Pull complete [2023-01-18T07:12:42.511Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2023-01-18T07:12:42.511Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-01-18T07:12:42.511Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-01-18T07:12:42.607Z] prd-ubuntu20.04-docker-8c-8g-2893 does not seem to be running inside a container [2023-01-18T07:12:42.642Z] $ 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-229 -v /w/workspace/gexfoundry_device-rest-go_PR-229:/w/workspace/gexfoundry_device-rest-go_PR-229:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-229@tmp:/w/workspace/gexfoundry_device-rest-go_PR-229@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2023-01-18T07:12:42.892Z] > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 [2023-01-18T07:12:42.925Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-01-18T07:12:43.889Z] > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 [2023-01-18T07:12:43.943Z] Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git [2023-01-18T07:12:43.945Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-01-18T07:12:43.963Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/pull/229/head:refs/remotes/origin/PR-229 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2023-01-18T07:12:44.572Z] Merging remotes/origin/main commit 7d8e6f5ecbf08d53345d5c199887d0d319da1d2d into PR head commit d2bc890bc176b4cc1965b65c35a7dd1f7a85ecd8 [2023-01-18T07:12:44.870Z] Merge succeeded, producing 11c03acc42a0449a13a6850e2a355907c1eed642 [2023-01-18T07:12:44.871Z] Checking out Revision 11c03acc42a0449a13a6850e2a355907c1eed642 (PR-229) [2023-01-18T07:12:44.594Z] > git config core.sparsecheckout # timeout=10 [2023-01-18T07:12:44.617Z] > git checkout -f d2bc890bc176b4cc1965b65c35a7dd1f7a85ecd8 # timeout=10 [2023-01-18T07:12:44.727Z] > git remote # timeout=10 [2023-01-18T07:12:44.749Z] > git config --get remote.origin.url # timeout=10 [2023-01-18T07:12:44.768Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-01-18T07:12:44.784Z] > git merge 7d8e6f5ecbf08d53345d5c199887d0d319da1d2d # timeout=10 [2023-01-18T07:12:44.854Z] > git rev-parse HEAD^{commit} # timeout=10 [2023-01-18T07:12:44.878Z] > git config core.sparsecheckout # timeout=10 [2023-01-18T07:12:44.894Z] > git checkout -f 11c03acc42a0449a13a6850e2a355907c1eed642 # timeout=10 [2023-01-18T07:12:48.391Z] Commit message: "Merge commit '7d8e6f5ecbf08d53345d5c199887d0d319da1d2d' into HEAD" [2023-01-18T07:12:48.418Z] First time build. Skipping changelog. [2023-01-18T07:12:48.400Z] > git rev-list --no-walk 939fcac84ab68858f7c2a17ce4194403d8f19198 # timeout=10 [2023-01-18T07:12:48.758Z] [2023-01-18T07:12:48.758Z] GitHub has been notified of this commit’s build result [2023-01-18T07:12:48.758Z] [2023-01-18T07:12:49.883Z] $ docker top b061789aafac003b313b165941d42829e55296557aa218d823ff9947baea589c -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-01-18T07:12:50.280Z] ---> job-cost.sh [2023-01-18T07:12:50.280Z] lf-activate-venv: SKIPPING [2023-01-18T07:12:50.280Z] INFO: No Stack... [2023-01-18T07:12:50.541Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-01-18T07:12:50.559Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2023-01-18T07:12:50.559Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-01-18T07:12:50.559Z] Dload Upload Total Spent Left Speed [2023-01-18T07:12:50.559Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 96598 0 --:--:-- --:--:-- --:--:-- 96598 [2023-01-18T07:12:50.800Z] INFO: Archiving Costs [Pipeline] sh [Pipeline] sh [2023-01-18T07:12:51.097Z] + cat /w/workspace/gexfoundry_device-rest-go_PR-229/archives/cost.csv [2023-01-18T07:12:51.097Z] + cut -d, -f6 [Pipeline] lock [2023-01-18T07:12:51.111Z] Trying to acquire lock on [jenkins-edgexfoundry-device-rest-go-PR-229-14-stack-cost] [2023-01-18T07:12:51.119Z] Resource [jenkins-edgexfoundry-device-rest-go-PR-229-14-stack-cost] did not exist. Created. [2023-01-18T07:12:51.119Z] Lock acquired on [jenkins-edgexfoundry-device-rest-go-PR-229-14-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-01-18T07:12:51.292Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2023-01-18T07:12:51.423Z] + echo total: 0.2199999988079071 [Pipeline] stash [2023-01-18T07:12:51.451Z] Stashed 1 file(s) [Pipeline] } [2023-01-18T07:12:51.457Z] Lock released on resource [jenkins-edgexfoundry-device-rest-go-PR-229-14-stack-cost] [Pipeline] // lock [Pipeline] } [2023-01-18T07:12:51.470Z] $ docker stop --time=1 b061789aafac003b313b165941d42829e55296557aa218d823ff9947baea589c [2023-01-18T07:12:51.622Z] + + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"}sudo /etc/docker/daemon.json tee [2023-01-18T07:12:51.622Z] /etc/docker/daemon.new [2023-01-18T07:12:51.622Z] { [2023-01-18T07:12:51.622Z] "registry-mirrors": [ [2023-01-18T07:12:51.622Z] "https://nexus3.edgexfoundry.org:10001" [2023-01-18T07:12:51.622Z] ], [2023-01-18T07:12:51.622Z] "bip": "10.250.0.254/24", [2023-01-18T07:12:51.622Z] "hosts": [ [2023-01-18T07:12:51.622Z] "tcp://0.0.0.0:5555", [2023-01-18T07:12:51.622Z] "unix:///var/run/docker.sock" [2023-01-18T07:12:51.622Z] ], [2023-01-18T07:12:51.622Z] "mtu": 1458, [2023-01-18T07:12:51.622Z] "selinux-enabled": true, [2023-01-18T07:12:51.622Z] "seccomp-profile": "/etc/docker/seccomp.json" [2023-01-18T07:12:51.622Z] } [2023-01-18T07:12:52.742Z] $ docker rm -f --volumes b061789aafac003b313b165941d42829e55296557aa218d823ff9947baea589c [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] sh [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2023-01-18T07:12:53.163Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2023-01-18T07:12:53.492Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-01-18T07:13:11.754Z] provisioning config files... [2023-01-18T07:13:11.778Z] copy managed file [device-rest-go-settings] to file:/w/workspace/device-rest-go/14@tmp/config1255144079913066543tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-01-18T07:13:12.122Z] ---> docker-login.sh [2023-01-18T07:13:12.122Z] nexus3.edgexfoundry.org:10001 [2023-01-18T07:13:12.392Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-18T07:13:12.994Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-18T07:13:12.994Z] Configure a credential helper to remove this warning. See [2023-01-18T07:13:12.994Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-18T07:13:12.994Z] [2023-01-18T07:13:12.994Z] Login Succeeded [2023-01-18T07:13:12.994Z] nexus3.edgexfoundry.org:10002 [2023-01-18T07:13:12.994Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-18T07:13:13.272Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-18T07:13:13.272Z] Configure a credential helper to remove this warning. See [2023-01-18T07:13:13.272Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-18T07:13:13.272Z] [2023-01-18T07:13:13.272Z] Login Succeeded [2023-01-18T07:13:13.272Z] nexus3.edgexfoundry.org:10003 [2023-01-18T07:13:13.543Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-18T07:13:13.543Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-18T07:13:13.543Z] Configure a credential helper to remove this warning. See [2023-01-18T07:13:13.543Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-18T07:13:13.543Z] [2023-01-18T07:13:13.543Z] Login Succeeded [2023-01-18T07:13:13.543Z] nexus3.edgexfoundry.org:10004 [2023-01-18T07:13:13.811Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-18T07:13:14.081Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-18T07:13:14.081Z] Configure a credential helper to remove this warning. See [2023-01-18T07:13:14.081Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-18T07:13:14.081Z] [2023-01-18T07:13:14.081Z] Login Succeeded [2023-01-18T07:13:14.081Z] docker.io [2023-01-18T07:13:14.081Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-18T07:13:14.350Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-18T07:13:14.350Z] Configure a credential helper to remove this warning. See [2023-01-18T07:13:14.350Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-18T07:13:14.350Z] [2023-01-18T07:13:14.350Z] Login Succeeded [2023-01-18T07:13:14.350Z] ---> docker-login.sh ends [Pipeline] } [2023-01-18T07:13:14.364Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-01-18T07:13:14.601Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-01-18T07:13:14.618Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-01-18T07:13:14.632Z] ========================================================= [2023-01-18T07:13:14.632Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine] [2023-01-18T07:13:14.632Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-18T07:13:14.983Z] + 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 . [2023-01-18T07:13:14.983Z] Sending build context to Docker daemon 142.8kB [2023-01-18T07:13:15.256Z] Step 1/12 : ARG BASE=golang:1.18-alpine3.16 [2023-01-18T07:13:15.256Z] Step 2/12 : FROM ${BASE} AS builder [2023-01-18T07:13:15.528Z] 1.18-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2023-01-18T07:13:15.528Z] 9b18e9b68314: Pulling fs layer [2023-01-18T07:13:15.528Z] 35d82f9e3411: Pulling fs layer [2023-01-18T07:13:15.528Z] e16973657156: Pulling fs layer [2023-01-18T07:13:15.528Z] fc693d55d65f: Pulling fs layer [2023-01-18T07:13:15.528Z] 7e9fc2657dce: Pulling fs layer [2023-01-18T07:13:15.528Z] dda99020689f: Pulling fs layer [2023-01-18T07:13:15.528Z] db1c61fa0a46: Pulling fs layer [2023-01-18T07:13:15.528Z] 891c053d2c06: Pulling fs layer [2023-01-18T07:13:15.528Z] 7e9fc2657dce: Waiting [2023-01-18T07:13:15.528Z] dda99020689f: Waiting [2023-01-18T07:13:15.528Z] db1c61fa0a46: Waiting [2023-01-18T07:13:15.528Z] 891c053d2c06: Waiting [2023-01-18T07:13:15.528Z] fc693d55d65f: Waiting [2023-01-18T07:13:15.528Z] e16973657156: Verifying Checksum [2023-01-18T07:13:15.528Z] e16973657156: Download complete [2023-01-18T07:13:15.528Z] 35d82f9e3411: Verifying Checksum [2023-01-18T07:13:15.528Z] 35d82f9e3411: Download complete [2023-01-18T07:13:15.528Z] 7e9fc2657dce: Verifying Checksum [2023-01-18T07:13:15.528Z] 7e9fc2657dce: Download complete [2023-01-18T07:13:15.528Z] dda99020689f: Verifying Checksum [2023-01-18T07:13:15.528Z] dda99020689f: Download complete [2023-01-18T07:13:15.528Z] 9b18e9b68314: Verifying Checksum [2023-01-18T07:13:15.528Z] 9b18e9b68314: Download complete [2023-01-18T07:13:16.505Z] 9b18e9b68314: Pull complete [2023-01-18T07:13:16.505Z] 891c053d2c06: Verifying Checksum [2023-01-18T07:13:16.505Z] 891c053d2c06: Download complete [2023-01-18T07:13:16.776Z] 35d82f9e3411: Pull complete [2023-01-18T07:13:17.050Z] e16973657156: Pull complete [2023-01-18T07:13:17.642Z] db1c61fa0a46: Verifying Checksum [2023-01-18T07:13:17.642Z] db1c61fa0a46: Download complete [2023-01-18T07:13:18.227Z] fc693d55d65f: Verifying Checksum [2023-01-18T07:13:18.227Z] fc693d55d65f: Download complete [2023-01-18T07:13:28.303Z] fc693d55d65f: Pull complete [2023-01-18T07:13:28.571Z] 7e9fc2657dce: Pull complete [2023-01-18T07:13:28.836Z] dda99020689f: Pull complete [2023-01-18T07:13:34.183Z] db1c61fa0a46: Pull complete [2023-01-18T07:13:36.130Z] 891c053d2c06: Pull complete [2023-01-18T07:13:36.130Z] Digest: sha256:2cacf8bfc28650abd52610e42dcfc04852e818eb73900ea96edaef96a54d0b45 [2023-01-18T07:13:36.130Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine [2023-01-18T07:13:36.130Z] ---> f96f9c87975a [2023-01-18T07:13:36.130Z] Step 3/12 : ARG ADD_BUILD_TAGS="" [2023-01-18T07:13:38.080Z] ---> Running in d79d0e75c1f2 [2023-01-18T07:13:38.080Z] Removing intermediate container d79d0e75c1f2 [2023-01-18T07:13:38.080Z] ---> 7484a048ae2e [2023-01-18T07:13:38.080Z] Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-01-18T07:13:38.080Z] ---> Running in 262faac06ed0 [2023-01-18T07:13:38.345Z] Removing intermediate container 262faac06ed0 [2023-01-18T07:13:38.345Z] ---> 14e75c9b22df [2023-01-18T07:13:38.345Z] Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client" [2023-01-18T07:13:38.345Z] ---> Running in ba26d6dde881 [2023-01-18T07:13:38.614Z] Removing intermediate container ba26d6dde881 [2023-01-18T07:13:38.614Z] ---> a917a8f3f842 [2023-01-18T07:13:38.614Z] Step 6/12 : ARG ALPINE_PKG_EXTRA="" [2023-01-18T07:13:38.614Z] ---> Running in ff8a198bf27f [2023-01-18T07:13:39.207Z] Removing intermediate container ff8a198bf27f [2023-01-18T07:13:39.207Z] ---> 44af6ecbd53d [2023-01-18T07:13:39.207Z] Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-01-18T07:13:39.207Z] ---> Running in fb4576939867 [2023-01-18T07:13:40.171Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2023-01-18T07:13:40.438Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2023-01-18T07:13:41.405Z] (1/4) Installing openssh-keygen (9.0_p1-r2) [2023-01-18T07:13:41.405Z] (2/4) Installing libedit (20210910.3.1-r0) [2023-01-18T07:13:41.405Z] (3/4) Installing openssh-client-common (9.0_p1-r2) [2023-01-18T07:13:41.405Z] (4/4) Installing openssh-client-default (9.0_p1-r2) [2023-01-18T07:13:41.405Z] Executing busybox-1.35.0-r17.trigger [2023-01-18T07:13:41.405Z] OK: 226 MiB in 55 packages [2023-01-18T07:13:42.369Z] Removing intermediate container fb4576939867 [2023-01-18T07:13:42.369Z] ---> c925e3c390c5 [2023-01-18T07:13:42.369Z] Step 8/12 : WORKDIR /device-rest-go [2023-01-18T07:13:42.636Z] ---> Running in 5eb6743cc36a [2023-01-18T07:13:42.904Z] Removing intermediate container 5eb6743cc36a [2023-01-18T07:13:42.904Z] ---> b9c7c898680e [2023-01-18T07:13:42.904Z] Step 9/12 : COPY go.mod vendor* ./ [2023-01-18T07:13:43.175Z] ---> aebd2aa597a8 [2023-01-18T07:13:43.175Z] Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-01-18T07:13:43.447Z] ---> Running in 954a86b7a97a [2023-01-18T07:14:39.883Z] Removing intermediate container 954a86b7a97a [2023-01-18T07:14:39.883Z] ---> 66840f147767 [2023-01-18T07:14:39.883Z] Step 11/12 : COPY . . [2023-01-18T07:14:39.883Z] ---> 87ede04d9290 [2023-01-18T07:14:39.883Z] Step 12/12 : RUN $MAKE [2023-01-18T07:14:39.883Z] ---> Running in 6cae8157e0d0 [2023-01-18T07:14:39.883Z] noop [2023-01-18T07:14:39.883Z] Removing intermediate container 6cae8157e0d0 [2023-01-18T07:14:39.883Z] ---> c6e0712dec6a [2023-01-18T07:14:39.883Z] Successfully built c6e0712dec6a [2023-01-18T07:14:39.883Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-18T07:14:40.236Z] + docker inspect -f . ci-base-image-arm64 [2023-01-18T07:14:40.236Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-01-18T07:14:40.413Z] prd-ubuntu20.04-docker-arm64-4c-16g-2894 does not seem to be running inside a container [2023-01-18T07:14:40.477Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-rest-go/14 -v /w/workspace/device-rest-go/14:/w/workspace/device-rest-go/14:rw,z -v /w/workspace/device-rest-go/14@tmp:/w/workspace/device-rest-go/14@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2023-01-18T07:14:41.630Z] $ docker top 6b9d430c93f22075cb5a8fac9bea65f10b2f3512e991988dfaf81841970e8231 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-01-18T07:14:42.435Z] + go version [2023-01-18T07:14:42.435Z] go version go1.18.7 linux/arm64 [Pipeline] } [2023-01-18T07:14:42.458Z] $ docker stop --time=1 6b9d430c93f22075cb5a8fac9bea65f10b2f3512e991988dfaf81841970e8231 [2023-01-18T07:14:44.039Z] $ docker rm -f --volumes 6b9d430c93f22075cb5a8fac9bea65f10b2f3512e991988dfaf81841970e8231 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-18T07:14:44.571Z] + docker inspect -f . ci-base-image-arm64 [2023-01-18T07:14:44.571Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-01-18T07:14:44.738Z] prd-ubuntu20.04-docker-arm64-4c-16g-2894 does not seem to be running inside a container [2023-01-18T07:14:44.801Z] $ 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/14 -v /w/workspace/device-rest-go/14:/w/workspace/device-rest-go/14:rw,z -v /w/workspace/device-rest-go/14@tmp:/w/workspace/device-rest-go/14@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2023-01-18T07:14:45.939Z] $ docker top e190ca3c84e394dfb57c3e5fbb673435fcc0f33500e4adac9acb0fdfb7d7a46b -eo pid,comm [Pipeline] { [Pipeline] sh [2023-01-18T07:14:46.444Z] + git config --global --add safe.directory /w/workspace/device-rest-go/14 [Pipeline] fileExists [Pipeline] sh [2023-01-18T07:14:46.768Z] + make test [2023-01-18T07:14:46.768Z] go test ./... -coverprofile=coverage.out ./... [2023-01-18T07:14:48.709Z] ? github.com/edgexfoundry/device-rest-go [no test files] [2023-01-18T07:16:10.587Z] ? github.com/edgexfoundry/device-rest-go/cmd [no test files] [2023-01-18T07:16:10.587Z] ok github.com/edgexfoundry/device-rest-go/driver 0.060s coverage: 34.0% of statements [2023-01-18T07:16:10.587Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2023-01-18T07:16:10.587Z] go vet ./... [2023-01-18T07:16:25.593Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-01-18T07:16:25.593Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2023-01-18T07:16:25.593Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2023-01-18T07:16:25.611Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2023-01-18T07:16:25.631Z] $ docker stop --time=1 e190ca3c84e394dfb57c3e5fbb673435fcc0f33500e4adac9acb0fdfb7d7a46b [2023-01-18T07:16:27.340Z] $ docker rm -f --volumes e190ca3c84e394dfb57c3e5fbb673435fcc0f33500e4adac9acb0fdfb7d7a46b [Pipeline] // withDockerContainer [Pipeline] sh [2023-01-18T07:16:28.208Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2023-01-18T07:16:28.231Z] Warning: overwriting stash ‘coverage-report’ [2023-01-18T07:16:28.678Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-01-18T07:16:29.090Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-01-18T07:16:29.415Z] + ls -al . [2023-01-18T07:16:29.415Z] total 192 [2023-01-18T07:16:29.415Z] drwxrwxr-x 8 jenkins jenkins 4096 Jan 18 07:14 . [2023-01-18T07:16:29.415Z] drwxrwxr-x 4 jenkins jenkins 4096 Jan 18 07:12 .. [2023-01-18T07:16:29.415Z] -rw-rw-r-- 1 jenkins jenkins 151 Jan 18 07:12 .dockerignore [2023-01-18T07:16:29.415Z] drwxrwxr-x 8 jenkins jenkins 4096 Jan 18 07:12 .git [2023-01-18T07:16:29.415Z] drwxrwxr-x 3 jenkins jenkins 4096 Jan 18 07:12 .github [2023-01-18T07:16:29.415Z] -rw-rw-r-- 1 jenkins jenkins 329 Jan 18 07:12 .gitignore [2023-01-18T07:16:29.415Z] -rw-rw-r-- 1 jenkins jenkins 41 Jan 18 07:12 .golangci.yml [2023-01-18T07:16:29.415Z] -rw-rw-r-- 1 jenkins jenkins 8996 Jan 18 07:12 Attribution.txt [2023-01-18T07:16:29.415Z] -rw-rw-r-- 1 jenkins jenkins 13085 Jan 18 07:12 CHANGELOG.md [2023-01-18T07:16:29.415Z] -rw-rw-r-- 1 jenkins jenkins 1578 Jan 18 07:12 Dockerfile [2023-01-18T07:16:29.415Z] -rw-rw-r-- 1 jenkins jenkins 677 Jan 18 07:12 GOVERNANCE.md [2023-01-18T07:16:29.415Z] -rw-rw-r-- 1 jenkins jenkins 680 Jan 18 07:12 Jenkinsfile [2023-01-18T07:16:29.415Z] -rw-rw-r-- 1 jenkins jenkins 11340 Jan 18 07:12 LICENSE [2023-01-18T07:16:29.415Z] -rw-rw-r-- 1 jenkins jenkins 1744 Jan 18 07:12 Makefile [2023-01-18T07:16:29.415Z] -rw-rw-r-- 1 jenkins jenkins 620 Jan 18 07:12 OWNERS.md [2023-01-18T07:16:29.415Z] -rw-rw-r-- 1 jenkins jenkins 12785 Jan 18 07:12 README.md [2023-01-18T07:16:29.415Z] -rw-rw-r-- 1 jenkins jenkins 5 Jan 18 07:10 VERSION [2023-01-18T07:16:29.415Z] drwxrwxr-x 2 jenkins jenkins 4096 Jan 18 07:12 bin [2023-01-18T07:16:29.415Z] drwxrwxr-x 3 jenkins jenkins 4096 Jan 18 07:12 cmd [2023-01-18T07:16:29.415Z] -rw-r--r-- 1 jenkins jenkins 13744 Jan 18 07:16 coverage.out [2023-01-18T07:16:29.415Z] drwxrwxr-x 2 jenkins jenkins 4096 Jan 18 07:12 driver [2023-01-18T07:16:29.415Z] -rw-rw-r-- 1 jenkins jenkins 3488 Jan 18 07:12 go.mod [2023-01-18T07:16:29.415Z] -rw-rw-r-- 1 jenkins jenkins 45013 Jan 18 07:12 go.sum [2023-01-18T07:16:29.415Z] drwxrwxr-x 4 jenkins jenkins 4096 Jan 18 07:12 snap [2023-01-18T07:16:29.415Z] -rw-rw-r-- 1 jenkins jenkins 713 Jan 18 07:12 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-18T07:16:29.757Z] + 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=11c03acc42a0449a13a6850e2a355907c1eed642 --label arch=arm64 --label version=0.0.0 . [2023-01-18T07:16:29.757Z] Sending build context to Docker daemon 157.2kB [2023-01-18T07:16:30.026Z] Step 1/25 : ARG BASE=golang:1.18-alpine3.16 [2023-01-18T07:16:30.026Z] Step 2/25 : FROM ${BASE} AS builder [2023-01-18T07:16:30.026Z] ---> c6e0712dec6a [2023-01-18T07:16:30.026Z] Step 3/25 : ARG ADD_BUILD_TAGS="" [2023-01-18T07:16:30.026Z] ---> Running in 7e5f9f76be20 [2023-01-18T07:16:30.294Z] Removing intermediate container 7e5f9f76be20 [2023-01-18T07:16:30.294Z] ---> 3e6b980579e7 [2023-01-18T07:16:30.294Z] Step 4/25 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-01-18T07:16:30.294Z] ---> Running in 738e1a732d01 [2023-01-18T07:16:30.888Z] Removing intermediate container 738e1a732d01 [2023-01-18T07:16:30.888Z] ---> 9e7d271f088c [2023-01-18T07:16:30.888Z] Step 5/25 : ARG ALPINE_PKG_BASE="make git openssh-client" [2023-01-18T07:16:30.888Z] ---> Running in 9f8b1ebf7315 [2023-01-18T07:16:31.155Z] Removing intermediate container 9f8b1ebf7315 [2023-01-18T07:16:31.155Z] ---> aaf9eda6948f [2023-01-18T07:16:31.155Z] Step 6/25 : ARG ALPINE_PKG_EXTRA="" [2023-01-18T07:16:31.155Z] ---> Running in 3bbdf7de40b4 [2023-01-18T07:16:31.425Z] Removing intermediate container 3bbdf7de40b4 [2023-01-18T07:16:31.425Z] ---> 3fbf19d37c9b [2023-01-18T07:16:31.425Z] Step 7/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-01-18T07:16:31.425Z] ---> Running in 1a723c337e0c [2023-01-18T07:16:32.393Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2023-01-18T07:16:32.978Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2023-01-18T07:16:33.939Z] OK: 226 MiB in 55 packages [2023-01-18T07:16:34.520Z] Removing intermediate container 1a723c337e0c [2023-01-18T07:16:34.521Z] ---> 514c1f5de6ec [2023-01-18T07:16:34.521Z] Step 8/25 : WORKDIR /device-rest-go [2023-01-18T07:16:34.521Z] ---> Running in d63dcd603729 [2023-01-18T07:16:34.787Z] Removing intermediate container d63dcd603729 [2023-01-18T07:16:34.787Z] ---> cd0885878517 [2023-01-18T07:16:34.787Z] Step 9/25 : COPY go.mod vendor* ./ [2023-01-18T07:16:35.368Z] ---> bb489be04c96 [2023-01-18T07:16:35.368Z] Step 10/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-01-18T07:16:35.368Z] ---> Running in ea5b7581d557 [2023-01-18T07:16:37.312Z] Removing intermediate container ea5b7581d557 [2023-01-18T07:16:37.312Z] ---> cc006ed9a9e4 [2023-01-18T07:16:37.312Z] Step 11/25 : COPY . . [2023-01-18T07:16:37.580Z] ---> 92d5f8e50a7b [2023-01-18T07:16:37.580Z] Step 12/25 : RUN $MAKE [2023-01-18T07:16:37.849Z] ---> Running in d376c2dce16d [2023-01-18T07:16:38.814Z] CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-rest-go.Version=0.0.0" -trimpath -mod=readonly -o cmd/device-rest ./cmd [2023-01-18T07:19:00.476Z] Removing intermediate container d376c2dce16d [2023-01-18T07:19:00.476Z] ---> f1cab65da6f2 [2023-01-18T07:19:00.476Z] Step 13/25 : FROM alpine:3.16 [2023-01-18T07:19:00.476Z] 3.16: Pulling from library/alpine [2023-01-18T07:19:00.476Z] 6875df1f5354: Pulling fs layer [2023-01-18T07:19:00.476Z] 6875df1f5354: Verifying Checksum [2023-01-18T07:19:00.476Z] 6875df1f5354: Download complete [2023-01-18T07:19:00.476Z] 6875df1f5354: Pull complete [2023-01-18T07:19:00.476Z] Digest: sha256:b95359c2505145f16c6aa384f9cc74eeff78eb36d308ca4fd902eeeb0a0b161b [2023-01-18T07:19:00.476Z] Status: Downloaded newer image for alpine:3.16 [2023-01-18T07:19:00.476Z] ---> 2b4661558fb8 [2023-01-18T07:19:00.476Z] Step 14/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' [2023-01-18T07:19:00.476Z] ---> Running in e8d5db5f2f95 [2023-01-18T07:19:00.476Z] Removing intermediate container e8d5db5f2f95 [2023-01-18T07:19:00.476Z] ---> ca867c0561c8 [2023-01-18T07:19:00.476Z] Step 15/25 : LABEL Name=device-rest-go Version=${VERSION} [2023-01-18T07:19:00.476Z] ---> Running in 5c4f69297596 [2023-01-18T07:19:00.476Z] Removing intermediate container 5c4f69297596 [2023-01-18T07:19:00.476Z] ---> ee48bb43a5df [2023-01-18T07:19:00.476Z] Step 16/25 : RUN apk add --update --no-cache dumb-init [2023-01-18T07:19:00.476Z] ---> Running in 0ae6318ef41d [2023-01-18T07:19:00.476Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2023-01-18T07:19:00.476Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2023-01-18T07:19:00.476Z] (1/1) Installing dumb-init (1.2.5-r1) [2023-01-18T07:19:00.476Z] Executing busybox-1.35.0-r17.trigger [2023-01-18T07:19:00.476Z] OK: 5 MiB in 15 packages [2023-01-18T07:19:00.476Z] Removing intermediate container 0ae6318ef41d [2023-01-18T07:19:00.476Z] ---> 7b3b53df8aa1 [2023-01-18T07:19:00.476Z] Step 17/25 : COPY --from=builder /device-rest-go/cmd / [2023-01-18T07:19:00.476Z] ---> c812c376e2c0 [2023-01-18T07:19:00.476Z] Step 18/25 : COPY --from=builder /device-rest-go/LICENSE / [2023-01-18T07:19:00.476Z] ---> 3bcb1ffea441 [2023-01-18T07:19:00.476Z] Step 19/25 : COPY --from=builder /device-rest-go/Attribution.txt / [2023-01-18T07:19:00.476Z] ---> b6c698bbf662 [2023-01-18T07:19:00.476Z] Step 20/25 : EXPOSE 59986 [2023-01-18T07:19:00.476Z] ---> Running in c7a1d5f00bfe [2023-01-18T07:19:00.476Z] Removing intermediate container c7a1d5f00bfe [2023-01-18T07:19:00.476Z] ---> 8ddaf69815cc [2023-01-18T07:19:00.476Z] Step 21/25 : ENTRYPOINT ["/device-rest"] [2023-01-18T07:19:00.476Z] ---> Running in 1313520b3310 [2023-01-18T07:19:00.754Z] Removing intermediate container 1313520b3310 [2023-01-18T07:19:00.754Z] ---> 58458a53cb09 [2023-01-18T07:19:00.754Z] Step 22/25 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry"] [2023-01-18T07:19:01.019Z] ---> Running in b2e73d168e53 [2023-01-18T07:19:01.284Z] Removing intermediate container b2e73d168e53 [2023-01-18T07:19:01.284Z] ---> 495225bf3c88 [2023-01-18T07:19:01.284Z] Step 23/25 : LABEL arch=arm64 [2023-01-18T07:19:01.284Z] ---> Running in 358b270a6cac [2023-01-18T07:19:01.549Z] Removing intermediate container 358b270a6cac [2023-01-18T07:19:01.549Z] ---> 0e5b5d23d070 [2023-01-18T07:19:01.549Z] Step 24/25 : LABEL git_sha=11c03acc42a0449a13a6850e2a355907c1eed642 [2023-01-18T07:19:01.549Z] ---> Running in 024f87592057 [2023-01-18T07:19:01.818Z] Removing intermediate container 024f87592057 [2023-01-18T07:19:01.818Z] ---> b8e1b165a47a [2023-01-18T07:19:01.818Z] Step 25/25 : LABEL version=0.0.0 [2023-01-18T07:19:01.818Z] ---> Running in 48a46a5a3536 [2023-01-18T07:19:02.089Z] Removing intermediate container 48a46a5a3536 [2023-01-18T07:19:02.089Z] ---> ef509a99ff32 [2023-01-18T07:19:02.089Z] [Warning] One or more build-args [ARCH] were not consumed [2023-01-18T07:19:02.089Z] Successfully built ef509a99ff32 [2023-01-18T07:19:02.089Z] 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 [2023-01-18T07:19:02.521Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-01-18T07:19:02.521Z] [2023-01-18T07:19:02.521Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-18T07:19:02.931Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-01-18T07:19:02.931Z] arm64: Pulling from edgex-lftools-log-publisher [2023-01-18T07:19:02.931Z] 8998bd30e6a1: Pulling fs layer [2023-01-18T07:19:02.931Z] 04944245beec: Pulling fs layer [2023-01-18T07:19:02.931Z] 699f458cf7ca: Pulling fs layer [2023-01-18T07:19:02.931Z] 765212b225bb: Pulling fs layer [2023-01-18T07:19:02.931Z] f23df028b6ca: Pulling fs layer [2023-01-18T07:19:02.931Z] d65c8cfc05b1: Pulling fs layer [2023-01-18T07:19:02.931Z] 2437ff75d9bd: Pulling fs layer [2023-01-18T07:19:02.931Z] f23df028b6ca: Waiting [2023-01-18T07:19:02.931Z] d65c8cfc05b1: Waiting [2023-01-18T07:19:02.931Z] 2437ff75d9bd: Waiting [2023-01-18T07:19:02.931Z] 765212b225bb: Waiting [2023-01-18T07:19:03.213Z] 04944245beec: Verifying Checksum [2023-01-18T07:19:03.213Z] 04944245beec: Download complete [2023-01-18T07:19:03.213Z] 765212b225bb: Verifying Checksum [2023-01-18T07:19:03.213Z] 765212b225bb: Download complete [2023-01-18T07:19:03.213Z] f23df028b6ca: Download complete [2023-01-18T07:19:03.213Z] 699f458cf7ca: Verifying Checksum [2023-01-18T07:19:03.213Z] 699f458cf7ca: Download complete [2023-01-18T07:19:03.505Z] d65c8cfc05b1: Verifying Checksum [2023-01-18T07:19:03.505Z] d65c8cfc05b1: Download complete [2023-01-18T07:19:03.779Z] 8998bd30e6a1: Verifying Checksum [2023-01-18T07:19:03.779Z] 8998bd30e6a1: Download complete [2023-01-18T07:19:05.771Z] 2437ff75d9bd: Verifying Checksum [2023-01-18T07:19:05.771Z] 2437ff75d9bd: Download complete [2023-01-18T07:19:07.728Z] 8998bd30e6a1: Pull complete [2023-01-18T07:19:07.994Z] 04944245beec: Pull complete [2023-01-18T07:19:09.405Z] 699f458cf7ca: Pull complete [2023-01-18T07:19:09.989Z] 765212b225bb: Pull complete [2023-01-18T07:19:10.949Z] f23df028b6ca: Pull complete [2023-01-18T07:19:10.949Z] d65c8cfc05b1: Pull complete [2023-01-18T07:19:23.257Z] 2437ff75d9bd: Pull complete [2023-01-18T07:19:23.257Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2023-01-18T07:19:23.257Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-01-18T07:19:23.257Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-01-18T07:19:23.441Z] prd-ubuntu20.04-docker-arm64-4c-16g-2894 does not seem to be running inside a container [2023-01-18T07:19:23.504Z] $ 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/14 -v /w/workspace/device-rest-go/14:/w/workspace/device-rest-go/14:rw,z -v /w/workspace/device-rest-go/14@tmp:/w/workspace/device-rest-go/14@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat [2023-01-18T07:19:25.877Z] $ docker top 30b8e531ab1864951527d3ae5be0961835b3be3200deca58d4b87412704b0dc9 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-01-18T07:19:26.378Z] ---> job-cost.sh [2023-01-18T07:19:26.642Z] lf-activate-venv: SKIPPING [2023-01-18T07:19:26.642Z] INFO: No Stack... [2023-01-18T07:19:26.907Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2023-01-18T07:19:27.863Z] INFO: Archiving Costs [Pipeline] sh [2023-01-18T07:19:28.181Z] + cat /w/workspace/device-rest-go/14/archives/cost.csv [2023-01-18T07:19:28.181Z] + cut -d, -f6 [Pipeline] lock [2023-01-18T07:19:28.236Z] Trying to acquire lock on [jenkins-edgexfoundry-device-rest-go-PR-229-14-stack-cost] [2023-01-18T07:19:28.242Z] Resource [jenkins-edgexfoundry-device-rest-go-PR-229-14-stack-cost] did not exist. Created. [2023-01-18T07:19:28.242Z] Lock acquired on [jenkins-edgexfoundry-device-rest-go-PR-229-14-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-01-18T07:19:28.571Z] /w/workspace/device-rest-go/14@tmp/durable-f857bcd0/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2023-01-18T07:19:28.903Z] + echo total: 0.10999999940395355 [Pipeline] stash [2023-01-18T07:19:28.924Z] Warning: overwriting stash ‘stack-cost’ [2023-01-18T07:19:28.960Z] Stashed 1 file(s) [Pipeline] } [2023-01-18T07:19:28.966Z] Lock released on resource [jenkins-edgexfoundry-device-rest-go-PR-229-14-stack-cost] [Pipeline] // lock [Pipeline] } [2023-01-18T07:19:28.984Z] $ docker stop --time=1 30b8e531ab1864951527d3ae5be0961835b3be3200deca58d4b87412704b0dc9 [2023-01-18T07:19:30.410Z] $ docker rm -f --volumes 30b8e531ab1864951527d3ae5be0961835b3be3200deca58d4b87412704b0dc9 [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 [2023-01-18T07:19:30.763Z] provisioning config files... [2023-01-18T07:19:30.772Z] copy managed file [device-rest-go-codecov-token] to file:/w/workspace/gexfoundry_device-rest-go_PR-229@tmp/config10835203765681937392tmp [Pipeline] { [Pipeline] sh [2023-01-18T07:19:31.061Z] + set +x [2023-01-18T07:19:31.061Z] + curl -s https://codecov.io/bash [2023-01-18T07:19:31.061Z] + bash -s -- [2023-01-18T07:19:31.061Z] [2023-01-18T07:19:31.061Z] _____ _ [2023-01-18T07:19:31.061Z] / ____| | | [2023-01-18T07:19:31.061Z] | | ___ __| | ___ ___ _____ __ [2023-01-18T07:19:31.061Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2023-01-18T07:19:31.061Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2023-01-18T07:19:31.061Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2023-01-18T07:19:31.061Z] Bash-1.0.6 [2023-01-18T07:19:31.061Z] [2023-01-18T07:19:31.061Z] [2023-01-18T07:19:31.061Z] ==> git version 2.25.1 found [2023-01-18T07:19:31.061Z] ==> 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 [2023-01-18T07:19:31.062Z] Release-Date: 2020-01-08 [2023-01-18T07:19:31.062Z] Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp [2023-01-18T07:19:31.062Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2023-01-18T07:19:31.062Z] ==> Jenkins CI detected. [2023-01-18T07:19:31.062Z] current dir:  /w/workspace/gexfoundry_device-rest-go_PR-229 [2023-01-18T07:19:31.062Z] project root: . [2023-01-18T07:19:31.062Z] --> token set from env [2023-01-18T07:19:31.062Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2023-01-18T07:19:31.062Z] ==> Running gcov in . (disable via -X gcov) [2023-01-18T07:19:31.062Z] ==> Python coveragepy not found [2023-01-18T07:19:31.062Z] ==> Searching for coverage reports in: [2023-01-18T07:19:31.062Z] + . [2023-01-18T07:19:31.062Z] -> Found 1 reports [2023-01-18T07:19:31.062Z] ==> Detecting git/mercurial file structure [2023-01-18T07:19:31.062Z] ==> Reading reports [2023-01-18T07:19:31.062Z] + ./coverage.out bytes=13744 [2023-01-18T07:19:31.062Z] ==> Appending adjustments [2023-01-18T07:19:31.062Z] https://docs.codecov.io/docs/fixing-reports [2023-01-18T07:19:31.321Z] + Found adjustments [2023-01-18T07:19:31.321Z] ==> Gzipping contents [2023-01-18T07:19:31.321Z] 4.0K /tmp/codecov.JzLSVo.gz [2023-01-18T07:19:31.321Z] ==> Uploading reports [2023-01-18T07:19:31.321Z] url: https://codecov.io [2023-01-18T07:19:31.321Z] query: branch=PR-229&commit=fa97278359b60271305dfc79d43659d10e23f940&build=14&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-rest-go%2Fjob%2FPR-229%2F14%2F&name=&tag=&slug=edgexfoundry%2Fdevice-rest-go&service=jenkins&flags=&pr=229&job=&cmd_args= [2023-01-18T07:19:31.321Z] -> Pinging Codecov [2023-01-18T07:19:31.321Z] https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=c51feb23-73ac-4f49-b3d1-d26df23137db&branch=PR-229&commit=fa97278359b60271305dfc79d43659d10e23f940&build=14&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-rest-go%2Fjob%2FPR-229%2F14%2F&name=&tag=&slug=edgexfoundry%2Fdevice-rest-go&service=jenkins&flags=&pr=229&job=&cmd_args= [2023-01-18T07:19:31.579Z] -> Uploading to [2023-01-18T07:19:31.579Z] https://storage.googleapis.com/codecov/v4/raw/2023-01-18/4E5D53B4F1F92C436F7061BF334D961C/fa97278359b60271305dfc79d43659d10e23f940/63cff6ca-a46a-41d9-9f18-ba53d6f1f292.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20230118%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20230118T071931Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=b15666ded17ddeb7f17a6a5df6f0bce771ae91c98680d58dbdcc5f00ed03189e [2023-01-18T07:19:31.579Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-01-18T07:19:31.579Z] Dload Upload Total Spent Left Speed [2023-01-18T07:19:31.838Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 2434 0 0 100 2434 0 9582 --:--:-- --:--:-- --:--:-- 9620 [2023-01-18T07:19:31.838Z] -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-rest-go/commit/fa97278359b60271305dfc79d43659d10e23f940 [Pipeline] } [2023-01-18T07:19:31.846Z] 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 [2023-01-18T07:19:32.530Z] + [ -d /w/workspace/gexfoundry_device-rest-go_PR-229/archives ] [2023-01-18T07:19:32.530Z] + ls -al /w/workspace/gexfoundry_device-rest-go_PR-229/archives [2023-01-18T07:19:32.530Z] total 16 [2023-01-18T07:19:32.530Z] drwxr-xr-x 3 root root 4096 Jan 18 07:12 . [2023-01-18T07:19:32.530Z] drwxrwxr-x 10 jenkins jenkins 4096 Jan 18 07:12 .. [2023-01-18T07:19:32.530Z] drwxr-xr-x 2 root root 4096 Jan 18 07:12 cost [2023-01-18T07:19:32.530Z] -rw-r--r-- 1 root root 87 Jan 18 07:12 cost.csv [2023-01-18T07:19:32.530Z] + sudo chown -R jenkins:jenkins /w/workspace/gexfoundry_device-rest-go_PR-229/archives [2023-01-18T07:19:32.530Z] + ls -al /w/workspace/gexfoundry_device-rest-go_PR-229/archives [2023-01-18T07:19:32.530Z] total 16 [2023-01-18T07:19:32.530Z] drwxr-xr-x 3 jenkins jenkins 4096 Jan 18 07:12 . [2023-01-18T07:19:32.530Z] drwxrwxr-x 10 jenkins jenkins 4096 Jan 18 07:12 .. [2023-01-18T07:19:32.530Z] drwxr-xr-x 2 jenkins jenkins 4096 Jan 18 07:12 cost [2023-01-18T07:19:32.530Z] -rw-r--r-- 1 jenkins jenkins 87 Jan 18 07:12 cost.csv [Pipeline] libraryResource [Pipeline] sh [2023-01-18T07:19:32.827Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2023-01-18T07:19:33.686Z] ---> package-listing.sh [2023-01-18T07:19:33.686Z] ++ facter osfamily [2023-01-18T07:19:33.686Z] ++ tr '[:upper:]' '[:lower:]' [2023-01-18T07:19:33.944Z] + OS_FAMILY=debian [2023-01-18T07:19:33.944Z] + workspace=/w/workspace/gexfoundry_device-rest-go_PR-229 [2023-01-18T07:19:33.944Z] + START_PACKAGES=/tmp/packages_start.txt [2023-01-18T07:19:33.944Z] + END_PACKAGES=/tmp/packages_end.txt [2023-01-18T07:19:33.944Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2023-01-18T07:19:33.944Z] + PACKAGES=/tmp/packages_start.txt [2023-01-18T07:19:33.944Z] + '[' /w/workspace/gexfoundry_device-rest-go_PR-229 ']' [2023-01-18T07:19:33.944Z] + PACKAGES=/tmp/packages_end.txt [2023-01-18T07:19:33.944Z] + case "${OS_FAMILY}" in [2023-01-18T07:19:33.944Z] + dpkg -l [2023-01-18T07:19:33.945Z] + grep '^ii' [2023-01-18T07:19:33.945Z] + '[' -f /tmp/packages_start.txt ']' [2023-01-18T07:19:33.945Z] + '[' -f /tmp/packages_end.txt ']' [2023-01-18T07:19:33.945Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2023-01-18T07:19:33.945Z] + '[' /w/workspace/gexfoundry_device-rest-go_PR-229 ']' [2023-01-18T07:19:33.945Z] + mkdir -p /w/workspace/gexfoundry_device-rest-go_PR-229/archives/ [2023-01-18T07:19:33.945Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_device-rest-go_PR-229/archives/ [Pipeline] echo [2023-01-18T07:19:33.955Z] 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-229/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2023-01-18T07:19:34.229Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-18T07:19:34.784Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-01-18T07:19:34.784Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-01-18T07:19:34.858Z] prd-ubuntu20.04-docker-8c-8g-2893 does not seem to be running inside a container [2023-01-18T07:19:34.887Z] $ 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-229/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-229 -v /w/workspace/gexfoundry_device-rest-go_PR-229:/w/workspace/gexfoundry_device-rest-go_PR-229:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-229@tmp:/w/workspace/gexfoundry_device-rest-go_PR-229@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2023-01-18T07:19:35.071Z] $ docker top 87afe32454681c6610542d72b9aba4c9fdb8ff539227c1860be711f487fdb900 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-01-18T07:19:35.418Z] + touch /tmp/pre-build-complete [Pipeline] sh [2023-01-18T07:19:35.706Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2023-01-18T07:19:35.991Z] + ls /var/log/sa-host [2023-01-18T07:19:35.991Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-01-18T07:19:36.059Z] provisioning config files... [2023-01-18T07:19:36.066Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-rest-go_PR-229@tmp/config7935333580922358997tmp [Pipeline] { [Pipeline] echo [2023-01-18T07:19:36.081Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2023-01-18T07:19:36.362Z] ---> create-netrc.sh [Pipeline] } [2023-01-18T07:19:36.367Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2023-01-18T07:19:36.700Z] ---> python-tools-install.sh [Pipeline] echo [2023-01-18T07:19:36.709Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2023-01-18T07:19:36.993Z] ---> sudo-logs.sh [2023-01-18T07:19:36.993Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2023-01-18T07:19:37.024Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2023-01-18T07:19:37.310Z] ---> job-cost.sh [2023-01-18T07:19:37.310Z] lf-activate-venv: SKIPPING [2023-01-18T07:19:37.310Z] DEBUG: total: 0.2199999988079071 [2023-01-18T07:19:37.310Z] INFO: Retrieving Stack Cost... [2023-01-18T07:19:37.569Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-01-18T07:19:38.137Z] INFO: Archiving Costs [Pipeline] echo [2023-01-18T07:19:38.151Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2023-01-18T07:19:38.435Z] ---> logs-deploy.sh [2023-01-18T07:19:38.435Z] lf-activate-venv: SKIPPING [2023-01-18T07:19:38.435Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-rest-go/PR-229/14 [2023-01-18T07:19:38.435Z] INFO: archiving workspace using pattern(s): [2023-01-18T07:19:39.368Z] Archives upload complete. [2023-01-18T07:19:39.368Z] INFO: archiving logs to Nexus