Pull request #238 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 farshidtz for edgexfoundry/device-rest-go Obtained Jenkinsfile from 87760132cb748e6c02fbbae85a5415a3b790d17f+6fa13eb64575055365d964780e4ff33f2e866ca2 (427c01ca2a1c77fb262f16c4e7560523d2c65692) 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-ssh3711210596688622223.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-ssh3029636442597283508.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-238/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-238/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh6920120822584494705.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-ssh4015279167923299423.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-238/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-238/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh72950009040681960.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 Waiting for next available executor on ‘ubuntu20.04-docker-8c-8g’ Running on prd-ubuntu20.04-docker-8c-8g-2243 in /w/workspace/gexfoundry_device-rest-go_PR-238 [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-238 # 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 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/238/head:refs/remotes/origin/PR-238 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit 6fa13eb64575055365d964780e4ff33f2e866ca2 into PR head commit 87760132cb748e6c02fbbae85a5415a3b790d17f Merge succeeded, producing 87760132cb748e6c02fbbae85a5415a3b790d17f Checking out Revision 87760132cb748e6c02fbbae85a5415a3b790d17f (PR-238) > git config core.sparsecheckout # timeout=10 > git checkout -f 87760132cb748e6c02fbbae85a5415a3b790d17f # 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 6fa13eb64575055365d964780e4ff33f2e866ca2 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 87760132cb748e6c02fbbae85a5415a3b790d17f # timeout=10 Commit message: "fix: typo in install hook error message" > git rev-list --no-walk 0d3eec1d27d44da680434ec669f12479d9eb1b98 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2023-01-13T18:32:30.410Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2023-01-13T18:32:30.453Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2023-01-13T18:32:30.466Z] ========================================================= [2023-01-13T18:32:30.466Z] EdgeX Global Pipelines Version Info [2023-01-13T18:32:30.466Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2023-01-13T18:32:31.201Z] ------------------- [2023-01-13T18:32:31.201Z] stable info: [2023-01-13T18:32:31.201Z] ------------------- [2023-01-13T18:32:31.201Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2023-01-13T18:32:31.201Z] Commit SHA: cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 [2023-01-13T18:32:31.201Z] Message: update stable to v1.0.244 [2023-01-13T18:32:31.772Z] ------------------- [2023-01-13T18:32:31.772Z] experimental info: [2023-01-13T18:32:31.772Z] ------------------- [2023-01-13T18:32:31.772Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2023-01-13T18:32:31.772Z] Commit SHA: cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 [2023-01-13T18:32:31.772Z] Message: update experimental to v1.0.244 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2023-01-13T18:32:31.967Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-rest-go-settings [Pipeline] echo [2023-01-13T18:32:32.036Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-rest-go [Pipeline] echo [2023-01-13T18:32:32.044Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2023-01-13T18:32:32.053Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2023-01-13T18:32:32.061Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2023-01-13T18:32:32.070Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.18 [Pipeline] echo [2023-01-13T18:32:32.079Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2023-01-13T18:32:32.088Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2023-01-13T18:32:32.097Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2023-01-13T18:32:32.118Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2023-01-13T18:32:32.135Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2023-01-13T18:32:32.150Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-rest [Pipeline] echo [2023-01-13T18:32:32.163Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2023-01-13T18:32:32.175Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2023-01-13T18:32:32.190Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2023-01-13T18:32:32.207Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2023-01-13T18:32:32.224Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2023-01-13T18:32:32.233Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2023-01-13T18:32:32.250Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2023-01-13T18:32:32.264Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2023-01-13T18:32:32.279Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2023-01-13T18:32:32.290Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2023-01-13T18:32:32.304Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2023-01-13T18:32:32.315Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2023-01-13T18:32:32.329Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2023-01-13T18:32:32.340Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2023-01-13T18:32:32.352Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2023-01-13T18:32:32.372Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-238 [Pipeline] echo [2023-01-13T18:32:32.388Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-238 [Pipeline] echo [2023-01-13T18:32:32.399Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-238 [Pipeline] echo [2023-01-13T18:32:32.414Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 87760132cb748e6c02fbbae85a5415a3b790d17f [Pipeline] echo [2023-01-13T18:32:32.430Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 8776013 [Pipeline] echo [2023-01-13T18:32:32.443Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-01-13T18:32:32.483Z] provisioning config files... [2023-01-13T18:32:32.497Z] copy managed file [device-rest-go-settings] to file:/w/workspace/gexfoundry_device-rest-go_PR-238@tmp/config994071937365896tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-01-13T18:32:32.800Z] ---> docker-login.sh [2023-01-13T18:32:32.800Z] nexus3.edgexfoundry.org:10001 [2023-01-13T18:32:33.060Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-13T18:32:33.060Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-13T18:32:33.060Z] Configure a credential helper to remove this warning. See [2023-01-13T18:32:33.060Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-13T18:32:33.060Z] [2023-01-13T18:32:33.060Z] Login Succeeded [2023-01-13T18:32:33.060Z] nexus3.edgexfoundry.org:10002 [2023-01-13T18:32:33.060Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-13T18:32:33.320Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-13T18:32:33.320Z] Configure a credential helper to remove this warning. See [2023-01-13T18:32:33.320Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-13T18:32:33.320Z] [2023-01-13T18:32:33.320Z] Login Succeeded [2023-01-13T18:32:33.320Z] nexus3.edgexfoundry.org:10003 [2023-01-13T18:32:33.320Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-13T18:32:33.320Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-13T18:32:33.320Z] Configure a credential helper to remove this warning. See [2023-01-13T18:32:33.320Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-13T18:32:33.320Z] [2023-01-13T18:32:33.320Z] Login Succeeded [2023-01-13T18:32:33.320Z] nexus3.edgexfoundry.org:10004 [2023-01-13T18:32:33.320Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-13T18:32:33.579Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-13T18:32:33.579Z] Configure a credential helper to remove this warning. See [2023-01-13T18:32:33.579Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-13T18:32:33.579Z] [2023-01-13T18:32:33.579Z] Login Succeeded [2023-01-13T18:32:33.579Z] docker.io [2023-01-13T18:32:33.579Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-13T18:32:33.838Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-13T18:32:33.838Z] Configure a credential helper to remove this warning. See [2023-01-13T18:32:33.838Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-13T18:32:33.838Z] [2023-01-13T18:32:33.838Z] Login Succeeded [2023-01-13T18:32:33.838Z] ---> docker-login.sh ends [Pipeline] } [2023-01-13T18:32:33.845Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2023-01-13T18:32:34.197Z] + git rev-list -1 --merges 87760132cb748e6c02fbbae85a5415a3b790d17f~1..87760132cb748e6c02fbbae85a5415a3b790d17f [Pipeline] echo [2023-01-13T18:32:34.242Z] -----------> git rev-list -1 --merges 87760132cb748e6c02fbbae85a5415a3b790d17f~1..87760132cb748e6c02fbbae85a5415a3b790d17f 87760132cb748e6c02fbbae85a5415a3b790d17f [false] [Pipeline] sh [2023-01-13T18:32:34.531Z] + git log --format=format:%s -1 87760132cb748e6c02fbbae85a5415a3b790d17f [Pipeline] echo [2023-01-13T18:32:34.546Z] ========================================================= [2023-01-13T18:32:34.546Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2023-01-13T18:32:34.546Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-01-13T18:32:34.862Z] + git log --format=format:%s -1 87760132cb748e6c02fbbae85a5415a3b790d17f [Pipeline] echo [2023-01-13T18:32:34.872Z] [semverPrep] GIT_COMMIT: 87760132cb748e6c02fbbae85a5415a3b790d17f, Commit Message: fix: typo in install hook error message [Pipeline] echo [2023-01-13T18:32:34.883Z] [semverPrep] This is not a build commit. [Pipeline] sh [2023-01-13T18:32:35.317Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-01-13T18:32:35.317Z] + grep -v github /etc/ssh/ssh_known_hosts [2023-01-13T18:32:35.317Z] + [ -e /tmp/ssh_known_hosts ] [2023-01-13T18:32:35.317Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2023-01-13T18:32:35.317Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2023-01-13T18:32:35.317Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2023-01-13T18:32:35.317Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-13T18:32:35.663Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-01-13T18:32:35.663Z] [2023-01-13T18:32:35.663Z] 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-13T18:32:35.969Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-01-13T18:32:35.969Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2023-01-13T18:32:35.969Z] b85a868b505f: Pulling fs layer [2023-01-13T18:32:35.969Z] e2be974225ed: Pulling fs layer [2023-01-13T18:32:35.969Z] 339a4e72a1f5: Pulling fs layer [2023-01-13T18:32:35.969Z] 988bab9f4d93: Pulling fs layer [2023-01-13T18:32:35.969Z] 1469e6f7b9e6: Pulling fs layer [2023-01-13T18:32:35.969Z] eaf3925da568: Pulling fs layer [2023-01-13T18:32:35.969Z] 1469e6f7b9e6: Waiting [2023-01-13T18:32:35.969Z] 988bab9f4d93: Waiting [2023-01-13T18:32:35.969Z] bab4dde63d76: Pulling fs layer [2023-01-13T18:32:35.969Z] bde34c3a00c8: Pulling fs layer [2023-01-13T18:32:35.969Z] b352a97aabf1: Pulling fs layer [2023-01-13T18:32:35.969Z] eaf3925da568: Waiting [2023-01-13T18:32:35.969Z] bab4dde63d76: Waiting [2023-01-13T18:32:35.969Z] bde34c3a00c8: Waiting [2023-01-13T18:32:35.969Z] 4872d77fe225: Pulling fs layer [2023-01-13T18:32:35.969Z] b352a97aabf1: Waiting [2023-01-13T18:32:35.969Z] 5851b861e8e6: Pulling fs layer [2023-01-13T18:32:35.969Z] 4872d77fe225: Waiting [2023-01-13T18:32:35.969Z] 5851b861e8e6: Waiting [2023-01-13T18:32:35.969Z] e2be974225ed: Download complete [2023-01-13T18:32:35.969Z] 988bab9f4d93: Verifying Checksum [2023-01-13T18:32:35.969Z] 988bab9f4d93: Download complete [2023-01-13T18:32:36.229Z] 1469e6f7b9e6: Verifying Checksum [2023-01-13T18:32:36.229Z] 1469e6f7b9e6: Download complete [2023-01-13T18:32:36.229Z] eaf3925da568: Download complete [2023-01-13T18:32:36.229Z] 339a4e72a1f5: Verifying Checksum [2023-01-13T18:32:36.229Z] 339a4e72a1f5: Download complete [2023-01-13T18:32:36.229Z] bde34c3a00c8: Download complete [2023-01-13T18:32:36.229Z] b352a97aabf1: Download complete [2023-01-13T18:32:36.229Z] 4872d77fe225: Verifying Checksum [2023-01-13T18:32:36.229Z] 4872d77fe225: Download complete [2023-01-13T18:32:36.229Z] 5851b861e8e6: Download complete [2023-01-13T18:32:36.229Z] b85a868b505f: Verifying Checksum [2023-01-13T18:32:36.229Z] b85a868b505f: Download complete [2023-01-13T18:32:36.488Z] bab4dde63d76: Verifying Checksum [2023-01-13T18:32:36.488Z] bab4dde63d76: Download complete [2023-01-13T18:32:37.424Z] b85a868b505f: Pull complete [2023-01-13T18:32:37.682Z] e2be974225ed: Pull complete [2023-01-13T18:32:38.249Z] 339a4e72a1f5: Pull complete [2023-01-13T18:32:38.249Z] 988bab9f4d93: Pull complete [2023-01-13T18:32:38.511Z] 1469e6f7b9e6: Pull complete [2023-01-13T18:32:38.511Z] eaf3925da568: Pull complete [2023-01-13T18:32:40.449Z] bab4dde63d76: Pull complete [2023-01-13T18:32:40.449Z] bde34c3a00c8: Pull complete [2023-01-13T18:32:40.709Z] b352a97aabf1: Pull complete [2023-01-13T18:32:40.709Z] 4872d77fe225: Pull complete [2023-01-13T18:32:40.709Z] 5851b861e8e6: Pull complete [2023-01-13T18:32:40.968Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2023-01-13T18:32:40.968Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-01-13T18:32:40.968Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-01-13T18:32:41.051Z] prd-ubuntu20.04-docker-8c-8g-2243 does not seem to be running inside a container [2023-01-13T18:32:41.069Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-rest-go_PR-238 -v /w/workspace/gexfoundry_device-rest-go_PR-238:/w/workspace/gexfoundry_device-rest-go_PR-238:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-238@tmp:/w/workspace/gexfoundry_device-rest-go_PR-238@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2023-01-13T18:32:42.881Z] $ docker top d3b818d440643be1ce15c30235e84c76315385185ec5c087ca752cc71c94bf0c -eo pid,comm [2023-01-13T18:32:42.944Z] 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-13T18:32:42.944Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-01-13T18:32:42.981Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-01-13T18:32:42.981Z] [ssh-agent] Looking for ssh-agent implementation... [2023-01-13T18:32:43.093Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-01-13T18:32:43.086Z] $ docker exec d3b818d440643be1ce15c30235e84c76315385185ec5c087ca752cc71c94bf0c ssh-agent [2023-01-13T18:32:43.214Z] SSH_AUTH_SOCK=/tmp/ssh-pINHnk0q8iSk/agent.32 [2023-01-13T18:32:43.214Z] SSH_AGENT_PID=38 [2023-01-13T18:32:43.222Z] Running ssh-add (command line suppressed) [2023-01-13T18:32:43.330Z] Identity added: /w/workspace/gexfoundry_device-rest-go_PR-238@tmp/private_key_6863282284199055656.key (/w/workspace/gexfoundry_device-rest-go_PR-238@tmp/private_key_6863282284199055656.key) [2023-01-13T18:32:43.358Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-01-13T18:32:43.647Z] + git tag --points-at HEAD [Pipeline] } [2023-01-13T18:32:43.648Z] $ docker exec --env ******** --env ******** d3b818d440643be1ce15c30235e84c76315385185ec5c087ca752cc71c94bf0c ssh-agent -k [2023-01-13T18:32:43.746Z] unset SSH_AUTH_SOCK; [2023-01-13T18:32:43.746Z] unset SSH_AGENT_PID; [2023-01-13T18:32:43.746Z] echo Agent pid 38 killed; [2023-01-13T18:32:43.768Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2023-01-13T18:32:43.796Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-01-13T18:32:43.796Z] [ssh-agent] Looking for ssh-agent implementation... [2023-01-13T18:32:43.919Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-01-13T18:32:43.912Z] $ docker exec d3b818d440643be1ce15c30235e84c76315385185ec5c087ca752cc71c94bf0c ssh-agent [2023-01-13T18:32:44.054Z] SSH_AUTH_SOCK=/tmp/ssh-SVPCrmoo5vqF/agent.70 [2023-01-13T18:32:44.054Z] SSH_AGENT_PID=76 [2023-01-13T18:32:44.059Z] Running ssh-add (command line suppressed) [2023-01-13T18:32:44.165Z] Identity added: /w/workspace/gexfoundry_device-rest-go_PR-238@tmp/private_key_5122860221036445686.key (/w/workspace/gexfoundry_device-rest-go_PR-238@tmp/private_key_5122860221036445686.key) [2023-01-13T18:32:44.189Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-01-13T18:32:44.480Z] + git semver init [2023-01-13T18:32:44.738Z] 2023-01-13 18:32:44,665 [run_init] DEBUG init version:0.0.0 force:False [2023-01-13T18:32:44.739Z] 2023-01-13 18:32:44,665 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/gexfoundry_device-rest-go_PR-238/.semver [2023-01-13T18:32:44.739Z] 2023-01-13 18:32:44,666 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-rest-go.git /w/workspace/gexfoundry_device-rest-go_PR-238/.semver [2023-01-13T18:32:44.739Z] 2023-01-13 18:32:44,666 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-rest-go.git', '/w/workspace/gexfoundry_device-rest-go_PR-238/.semver'], cwd=/w/workspace/gexfoundry_device-rest-go_PR-238, universal_newlines=False, shell=None, istream=None) [2023-01-13T18:32:48.956Z] 2023-01-13 18:32:48,192 [append_file] DEBUG append to file:/w/workspace/gexfoundry_device-rest-go_PR-238/.git/info/exclude [2023-01-13T18:32:48.956Z] 2023-01-13 18:32:48,192 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/gexfoundry_device-rest-go_PR-238/.semver/PR-238 with force:False [2023-01-13T18:32:48.956Z] 2023-01-13 18:32:48,193 [write_file] DEBUG write to file:/w/workspace/gexfoundry_device-rest-go_PR-238/.semver/PR-238 [2023-01-13T18:32:48.956Z] 2023-01-13 18:32:48,197 [execute] INFO git cat-file --batch-check [2023-01-13T18:32:48.956Z] 2023-01-13 18:32:48,198 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/gexfoundry_device-rest-go_PR-238/.semver, universal_newlines=False, shell=None, istream=) [2023-01-13T18:32:48.956Z] 2023-01-13 18:32:48,205 [execute] INFO git cat-file --batch [2023-01-13T18:32:48.956Z] 2023-01-13 18:32:48,205 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/gexfoundry_device-rest-go_PR-238/.semver, universal_newlines=False, shell=None, istream=) [2023-01-13T18:32:48.956Z] 2023-01-13 18:32:48,211 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-rest-go_PR-238/.semver/PR-238 [2023-01-13T18:32:48.957Z] 0.0.0 [Pipeline] } [2023-01-13T18:32:48.960Z] $ docker exec --env ******** --env ******** d3b818d440643be1ce15c30235e84c76315385185ec5c087ca752cc71c94bf0c ssh-agent -k [2023-01-13T18:32:49.069Z] unset SSH_AUTH_SOCK; [2023-01-13T18:32:49.070Z] unset SSH_AGENT_PID; [2023-01-13T18:32:49.070Z] echo Agent pid 76 killed; [2023-01-13T18:32:49.086Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-01-13T18:32:49.409Z] + git semver [Pipeline] } [2023-01-13T18:32:49.673Z] $ docker stop --time=1 d3b818d440643be1ce15c30235e84c76315385185ec5c087ca752cc71c94bf0c [2023-01-13T18:32:50.973Z] $ docker rm -f --volumes d3b818d440643be1ce15c30235e84c76315385185ec5c087ca752cc71c94bf0c [Pipeline] // withDockerContainer [Pipeline] sh [2023-01-13T18:32:51.321Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2023-01-13T18:32:51.526Z] Stashed 1 file(s) [Pipeline] echo [2023-01-13T18:32:51.530Z] [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-13T18:32:51.674Z] provisioning config files... [2023-01-13T18:32:51.684Z] copy managed file [device-rest-go-settings] to file:/w/workspace/gexfoundry_device-rest-go_PR-238@tmp/config4896775572702318180tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-01-13T18:32:51.986Z] ---> docker-login.sh [2023-01-13T18:32:51.986Z] nexus3.edgexfoundry.org:10001 [2023-01-13T18:32:51.986Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-13T18:32:51.986Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-13T18:32:51.986Z] Configure a credential helper to remove this warning. See [2023-01-13T18:32:51.986Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-13T18:32:51.986Z] [2023-01-13T18:32:51.986Z] Login Succeeded [2023-01-13T18:32:51.986Z] nexus3.edgexfoundry.org:10002 [2023-01-13T18:32:51.986Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-13T18:32:51.986Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-13T18:32:51.986Z] Configure a credential helper to remove this warning. See [2023-01-13T18:32:51.986Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-13T18:32:51.986Z] [2023-01-13T18:32:51.986Z] Login Succeeded [2023-01-13T18:32:51.986Z] nexus3.edgexfoundry.org:10003 [2023-01-13T18:32:52.245Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-13T18:32:52.245Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-13T18:32:52.245Z] Configure a credential helper to remove this warning. See [2023-01-13T18:32:52.245Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-13T18:32:52.245Z] [2023-01-13T18:32:52.245Z] Login Succeeded [2023-01-13T18:32:52.245Z] nexus3.edgexfoundry.org:10004 [2023-01-13T18:32:52.245Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-13T18:32:52.245Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-13T18:32:52.245Z] Configure a credential helper to remove this warning. See [2023-01-13T18:32:52.245Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-13T18:32:52.245Z] [2023-01-13T18:32:52.245Z] Login Succeeded [2023-01-13T18:32:52.245Z] docker.io [2023-01-13T18:32:52.505Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-13T18:32:52.765Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-13T18:32:52.765Z] Configure a credential helper to remove this warning. See [2023-01-13T18:32:52.765Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-13T18:32:52.765Z] [2023-01-13T18:32:52.765Z] Login Succeeded [2023-01-13T18:32:52.765Z] ---> docker-login.sh ends [Pipeline] } [2023-01-13T18:32:52.773Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-01-13T18:32:52.831Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-01-13T18:32:52.842Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-01-13T18:32:52.849Z] ========================================================= [2023-01-13T18:32:52.849Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine] [2023-01-13T18:32:52.849Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-13T18:32:53.152Z] + 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-13T18:32:53.152Z] Sending build context to Docker daemon 10.79MB [2023-01-13T18:32:53.152Z] Step 1/12 : ARG BASE=golang:1.18-alpine3.16 [2023-01-13T18:32:53.152Z] Step 2/12 : FROM ${BASE} AS builder [2023-01-13T18:32:53.152Z] 1.18-alpine: Pulling from edgex-devops/edgex-golang-base [2023-01-13T18:32:53.152Z] 213ec9aee27d: Pulling fs layer [2023-01-13T18:32:53.152Z] 4583459ba037: Pulling fs layer [2023-01-13T18:32:53.152Z] 93c1e223e6f2: Pulling fs layer [2023-01-13T18:32:53.152Z] 53926ce57604: Pulling fs layer [2023-01-13T18:32:53.152Z] 21b2b0c7a3f4: Pulling fs layer [2023-01-13T18:32:53.152Z] 22ff95d597cd: Pulling fs layer [2023-01-13T18:32:53.152Z] 12d6caf4c0d1: Pulling fs layer [2023-01-13T18:32:53.152Z] 96b7cbca73a9: Pulling fs layer [2023-01-13T18:32:53.152Z] a7acece74701: Pulling fs layer [2023-01-13T18:32:53.152Z] 22ff95d597cd: Waiting [2023-01-13T18:32:53.152Z] 12d6caf4c0d1: Waiting [2023-01-13T18:32:53.152Z] 53926ce57604: Waiting [2023-01-13T18:32:53.152Z] 96b7cbca73a9: Waiting [2023-01-13T18:32:53.152Z] 21b2b0c7a3f4: Waiting [2023-01-13T18:32:53.152Z] a7acece74701: Waiting [2023-01-13T18:32:53.152Z] 93c1e223e6f2: Verifying Checksum [2023-01-13T18:32:53.152Z] 93c1e223e6f2: Download complete [2023-01-13T18:32:53.152Z] 4583459ba037: Verifying Checksum [2023-01-13T18:32:53.152Z] 4583459ba037: Download complete [2023-01-13T18:32:53.414Z] 21b2b0c7a3f4: Verifying Checksum [2023-01-13T18:32:53.414Z] 21b2b0c7a3f4: Download complete [2023-01-13T18:32:53.414Z] 22ff95d597cd: Verifying Checksum [2023-01-13T18:32:53.414Z] 22ff95d597cd: Download complete [2023-01-13T18:32:53.414Z] 213ec9aee27d: Verifying Checksum [2023-01-13T18:32:53.414Z] 213ec9aee27d: Download complete [2023-01-13T18:32:53.414Z] 12d6caf4c0d1: Verifying Checksum [2023-01-13T18:32:53.414Z] 12d6caf4c0d1: Download complete [2023-01-13T18:32:53.414Z] 213ec9aee27d: Pull complete [2023-01-13T18:32:53.686Z] 4583459ba037: Pull complete [2023-01-13T18:32:53.686Z] 93c1e223e6f2: Pull complete [2023-01-13T18:32:53.958Z] a7acece74701: Verifying Checksum [2023-01-13T18:32:53.959Z] a7acece74701: Download complete [2023-01-13T18:32:54.217Z] 53926ce57604: Verifying Checksum [2023-01-13T18:32:54.217Z] 53926ce57604: Download complete [2023-01-13T18:32:54.217Z] 96b7cbca73a9: Verifying Checksum [2023-01-13T18:32:54.217Z] 96b7cbca73a9: Download complete [2023-01-13T18:32:58.415Z] 53926ce57604: Pull complete [2023-01-13T18:32:58.415Z] 21b2b0c7a3f4: Pull complete [2023-01-13T18:32:58.415Z] 22ff95d597cd: Pull complete [2023-01-13T18:32:58.415Z] 12d6caf4c0d1: Pull complete [2023-01-13T18:33:00.947Z] 96b7cbca73a9: Pull complete [2023-01-13T18:33:01.207Z] a7acece74701: Pull complete [2023-01-13T18:33:01.207Z] Digest: sha256:f6a9ef70c52da88a2ff63a0c6767b24654f9f5185d1d85ca6cc3004fb48f6c2d [2023-01-13T18:33:01.207Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine [2023-01-13T18:33:01.207Z] ---> db6d94c90886 [2023-01-13T18:33:01.207Z] Step 3/12 : ARG ADD_BUILD_TAGS="" [2023-01-13T18:33:04.509Z] ---> Running in 7b58820ea71b [2023-01-13T18:33:04.509Z] Removing intermediate container 7b58820ea71b [2023-01-13T18:33:04.509Z] ---> 5dc0ca90de94 [2023-01-13T18:33:04.509Z] Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-01-13T18:33:04.509Z] ---> Running in 24940d3ec19c [2023-01-13T18:33:04.509Z] Removing intermediate container 24940d3ec19c [2023-01-13T18:33:04.509Z] ---> 8ee73f1cfd0d [2023-01-13T18:33:04.509Z] Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client" [2023-01-13T18:33:04.509Z] ---> Running in 091f318eca27 [2023-01-13T18:33:04.509Z] Removing intermediate container 091f318eca27 [2023-01-13T18:33:04.509Z] ---> 464beb9de115 [2023-01-13T18:33:04.509Z] Step 6/12 : ARG ALPINE_PKG_EXTRA="" [2023-01-13T18:33:04.510Z] ---> Running in f7c15b0c3e24 [2023-01-13T18:33:04.510Z] Removing intermediate container f7c15b0c3e24 [2023-01-13T18:33:04.510Z] ---> bbeaa08cb72c [2023-01-13T18:33:04.510Z] Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-01-13T18:33:04.510Z] ---> Running in 92ceef27d737 [2023-01-13T18:33:04.768Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2023-01-13T18:33:04.768Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2023-01-13T18:33:05.026Z] (1/4) Installing openssh-keygen (9.0_p1-r2) [2023-01-13T18:33:05.026Z] (2/4) Installing libedit (20210910.3.1-r0) [2023-01-13T18:33:05.026Z] (3/4) Installing openssh-client-common (9.0_p1-r2) [2023-01-13T18:33:05.026Z] (4/4) Installing openssh-client-default (9.0_p1-r2) [2023-01-13T18:33:05.026Z] Executing busybox-1.35.0-r17.trigger [2023-01-13T18:33:05.026Z] OK: 216 MiB in 55 packages [2023-01-13T18:33:05.593Z] Removing intermediate container 92ceef27d737 [2023-01-13T18:33:05.593Z] ---> 04d772b211bf [2023-01-13T18:33:05.593Z] Step 8/12 : WORKDIR /device-rest-go [2023-01-13T18:33:05.593Z] ---> Running in 68f80af512be [2023-01-13T18:33:05.593Z] Removing intermediate container 68f80af512be [2023-01-13T18:33:05.593Z] ---> c8092afb34d7 [2023-01-13T18:33:05.593Z] Step 9/12 : COPY go.mod vendor* ./ [2023-01-13T18:33:05.852Z] ---> 81b55ee2a661 [2023-01-13T18:33:05.852Z] Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-01-13T18:33:05.852Z] ---> Running in 5878ba1233a1 [2023-01-13T18:33:06.643Z] Still waiting to schedule task [2023-01-13T18:33:06.643Z] Waiting for next available executor on ‘prd-ubuntu20.04-docker-arm64-4c-16g-2242’ [2023-01-13T18:33:27.803Z] Removing intermediate container 5878ba1233a1 [2023-01-13T18:33:27.803Z] ---> b563e1a69e25 [2023-01-13T18:33:27.803Z] Step 11/12 : COPY . . [2023-01-13T18:33:27.803Z] ---> d7b91327f169 [2023-01-13T18:33:27.803Z] Step 12/12 : RUN $MAKE [2023-01-13T18:33:27.803Z] ---> Running in 2cb5d608cb62 [2023-01-13T18:33:27.803Z] noop [2023-01-13T18:33:27.803Z] Removing intermediate container 2cb5d608cb62 [2023-01-13T18:33:27.803Z] ---> a553949849f8 [2023-01-13T18:33:27.803Z] Successfully built a553949849f8 [2023-01-13T18:33:27.803Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-13T18:33:28.118Z] + docker inspect -f . ci-base-image-x86_64 [2023-01-13T18:33:28.118Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-01-13T18:33:28.187Z] prd-ubuntu20.04-docker-8c-8g-2243 does not seem to be running inside a container [2023-01-13T18:33:28.216Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-rest-go_PR-238 -v /w/workspace/gexfoundry_device-rest-go_PR-238:/w/workspace/gexfoundry_device-rest-go_PR-238:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-238@tmp:/w/workspace/gexfoundry_device-rest-go_PR-238@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 ******** -e ******** ci-base-image-x86_64 cat [2023-01-13T18:33:28.581Z] $ docker top 6f3198bc9551381ac356d65d503a9754b45fbc4e411f927150189ad8868dbc55 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-01-13T18:33:28.927Z] + go version [2023-01-13T18:33:28.927Z] go version go1.18.7 linux/amd64 [Pipeline] } [2023-01-13T18:33:28.940Z] $ docker stop --time=1 6f3198bc9551381ac356d65d503a9754b45fbc4e411f927150189ad8868dbc55 [2023-01-13T18:33:30.204Z] $ docker rm -f --volumes 6f3198bc9551381ac356d65d503a9754b45fbc4e411f927150189ad8868dbc55 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-13T18:33:30.611Z] + docker inspect -f . ci-base-image-x86_64 [2023-01-13T18:33:30.611Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-01-13T18:33:30.679Z] prd-ubuntu20.04-docker-8c-8g-2243 does not seem to be running inside a container [2023-01-13T18:33:30.706Z] $ 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-238 -v /w/workspace/gexfoundry_device-rest-go_PR-238:/w/workspace/gexfoundry_device-rest-go_PR-238:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-238@tmp:/w/workspace/gexfoundry_device-rest-go_PR-238@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 ******** -e ******** ci-base-image-x86_64 cat [2023-01-13T18:33:31.072Z] $ docker top 72aa882a9ed23f999cfe7f643e512ebaaed33f53041463ae86cbbaddef9c1bd3 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-01-13T18:33:31.413Z] + git config --global --add safe.directory /w/workspace/gexfoundry_device-rest-go_PR-238 [Pipeline] fileExists [Pipeline] sh [2023-01-13T18:33:31.706Z] + make test [2023-01-13T18:33:31.706Z] go test ./... -coverprofile=coverage.out ./... [2023-01-13T18:33:31.963Z] ? github.com/edgexfoundry/device-rest-go [no test files] [2023-01-13T18:33:41.939Z] ? github.com/edgexfoundry/device-rest-go/cmd [no test files] [2023-01-13T18:33:41.939Z] ok github.com/edgexfoundry/device-rest-go/driver 0.011s coverage: 55.2% of statements [2023-01-13T18:33:50.074Z] 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-13T18:33:50.074Z] go vet ./... [2023-01-13T18:33:52.605Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-01-13T18:33:52.605Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2023-01-13T18:33:52.605Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2023-01-13T18:33:52.620Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2023-01-13T18:33:52.635Z] $ docker stop --time=1 72aa882a9ed23f999cfe7f643e512ebaaed33f53041463ae86cbbaddef9c1bd3 [2023-01-13T18:33:54.565Z] $ docker rm -f --volumes 72aa882a9ed23f999cfe7f643e512ebaaed33f53041463ae86cbbaddef9c1bd3 [Pipeline] // withDockerContainer [Pipeline] sh [2023-01-13T18:33:55.003Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2023-01-13T18:33:55.051Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2023-01-13T18:33:55.630Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-01-13T18:33:55.910Z] + ls -al . [2023-01-13T18:33:55.910Z] total 188 [2023-01-13T18:33:55.910Z] drwxrwxr-x 9 jenkins jenkins 4096 Jan 13 18:33 . [2023-01-13T18:33:55.910Z] drwxrwxr-x 4 jenkins jenkins 4096 Jan 13 18:32 .. [2023-01-13T18:33:55.910Z] -rw-rw-r-- 1 jenkins jenkins 151 Jan 13 18:32 .dockerignore [2023-01-13T18:33:55.910Z] drwxrwxr-x 8 jenkins jenkins 4096 Jan 13 18:33 .git [2023-01-13T18:33:55.910Z] drwxrwxr-x 3 jenkins jenkins 4096 Jan 13 18:32 .github [2023-01-13T18:33:55.910Z] -rw-rw-r-- 1 jenkins jenkins 329 Jan 13 18:32 .gitignore [2023-01-13T18:33:55.910Z] -rw-rw-r-- 1 jenkins jenkins 41 Jan 13 18:32 .golangci.yml [2023-01-13T18:33:55.910Z] drwxr-xr-x 3 jenkins jenkins 4096 Jan 13 18:32 .semver [2023-01-13T18:33:55.910Z] -rw-rw-r-- 1 jenkins jenkins 8996 Jan 13 18:32 Attribution.txt [2023-01-13T18:33:55.910Z] -rw-rw-r-- 1 jenkins jenkins 13085 Jan 13 18:32 CHANGELOG.md [2023-01-13T18:33:55.910Z] -rw-rw-r-- 1 jenkins jenkins 1578 Jan 13 18:32 Dockerfile [2023-01-13T18:33:55.910Z] -rw-rw-r-- 1 jenkins jenkins 677 Jan 13 18:32 GOVERNANCE.md [2023-01-13T18:33:55.910Z] -rw-rw-r-- 1 jenkins jenkins 680 Jan 13 18:32 Jenkinsfile [2023-01-13T18:33:55.910Z] -rw-rw-r-- 1 jenkins jenkins 11340 Jan 13 18:32 LICENSE [2023-01-13T18:33:55.910Z] -rw-rw-r-- 1 jenkins jenkins 1744 Jan 13 18:32 Makefile [2023-01-13T18:33:55.910Z] -rw-rw-r-- 1 jenkins jenkins 620 Jan 13 18:32 OWNERS.md [2023-01-13T18:33:55.910Z] -rw-rw-r-- 1 jenkins jenkins 8667 Jan 13 18:32 README.md [2023-01-13T18:33:55.910Z] -rw-rw-r-- 1 jenkins jenkins 5 Jan 13 18:32 VERSION [2023-01-13T18:33:55.910Z] drwxrwxr-x 2 jenkins jenkins 4096 Jan 13 18:32 bin [2023-01-13T18:33:55.910Z] drwxrwxr-x 3 jenkins jenkins 4096 Jan 13 18:32 cmd [2023-01-13T18:33:55.910Z] -rw-r--r-- 1 jenkins jenkins 9355 Jan 13 18:33 coverage.out [2023-01-13T18:33:55.910Z] drwxrwxr-x 2 jenkins jenkins 4096 Jan 13 18:32 driver [2023-01-13T18:33:55.910Z] -rw-rw-r-- 1 jenkins jenkins 3488 Jan 13 18:32 go.mod [2023-01-13T18:33:55.910Z] -rw-rw-r-- 1 jenkins jenkins 45013 Jan 13 18:32 go.sum [2023-01-13T18:33:55.910Z] drwxrwxr-x 4 jenkins jenkins 4096 Jan 13 18:32 snap [2023-01-13T18:33:55.910Z] -rw-rw-r-- 1 jenkins jenkins 713 Jan 13 18:32 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-13T18:33:56.211Z] + 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=87760132cb748e6c02fbbae85a5415a3b790d17f --label arch=amd64 --label version=0.0.0 . [2023-01-13T18:33:56.211Z] Sending build context to Docker daemon 10.8MB [2023-01-13T18:33:56.211Z] Step 1/25 : ARG BASE=golang:1.18-alpine3.16 [2023-01-13T18:33:56.211Z] Step 2/25 : FROM ${BASE} AS builder [2023-01-13T18:33:56.211Z] ---> a553949849f8 [2023-01-13T18:33:56.211Z] Step 3/25 : ARG ADD_BUILD_TAGS="" [2023-01-13T18:33:56.470Z] ---> Running in aa4599730445 [2023-01-13T18:33:56.470Z] Removing intermediate container aa4599730445 [2023-01-13T18:33:56.470Z] ---> 84a026e7f825 [2023-01-13T18:33:56.470Z] Step 4/25 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-01-13T18:33:56.470Z] ---> Running in e9827fe16a5f [2023-01-13T18:33:56.470Z] Removing intermediate container e9827fe16a5f [2023-01-13T18:33:56.470Z] ---> 4b2e96353441 [2023-01-13T18:33:56.470Z] Step 5/25 : ARG ALPINE_PKG_BASE="make git openssh-client" [2023-01-13T18:33:56.470Z] ---> Running in fef239a87e91 [2023-01-13T18:33:56.729Z] Removing intermediate container fef239a87e91 [2023-01-13T18:33:56.729Z] ---> ec617d61c097 [2023-01-13T18:33:56.729Z] Step 6/25 : ARG ALPINE_PKG_EXTRA="" [2023-01-13T18:33:56.729Z] ---> Running in 27db5cfbd291 [2023-01-13T18:33:56.729Z] Removing intermediate container 27db5cfbd291 [2023-01-13T18:33:56.729Z] ---> 8c5f4cfab364 [2023-01-13T18:33:56.729Z] Step 7/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-01-13T18:33:56.729Z] ---> Running in ae3b69941a6d [2023-01-13T18:33:56.987Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2023-01-13T18:33:57.247Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2023-01-13T18:33:57.504Z] OK: 216 MiB in 55 packages [2023-01-13T18:33:57.763Z] Removing intermediate container ae3b69941a6d [2023-01-13T18:33:57.763Z] ---> ce0574ece62e [2023-01-13T18:33:57.763Z] Step 8/25 : WORKDIR /device-rest-go [2023-01-13T18:33:57.763Z] ---> Running in 19459b4889f9 [2023-01-13T18:33:57.763Z] Removing intermediate container 19459b4889f9 [2023-01-13T18:33:57.763Z] ---> c49ee4e94142 [2023-01-13T18:33:57.763Z] Step 9/25 : COPY go.mod vendor* ./ [2023-01-13T18:33:58.022Z] ---> f8dcf77eddfe [2023-01-13T18:33:58.022Z] Step 10/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-01-13T18:33:58.022Z] ---> Running in 0db63322d190 [2023-01-13T18:33:58.769Z] Removing intermediate container 0db63322d190 [2023-01-13T18:33:58.769Z] ---> f0f5b85fd055 [2023-01-13T18:33:58.769Z] Step 11/25 : COPY . . [2023-01-13T18:33:59.027Z] ---> f73ae703543c [2023-01-13T18:33:59.027Z] Step 12/25 : RUN $MAKE [2023-01-13T18:33:59.027Z] ---> Running in 28a229f82e2c [2023-01-13T18:33:59.317Z] 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-13T18:34:21.503Z] Removing intermediate container 28a229f82e2c [2023-01-13T18:34:21.503Z] ---> 58fa747cef09 [2023-01-13T18:34:21.503Z] Step 13/25 : FROM alpine:3.16 [2023-01-13T18:34:21.503Z] 3.16: Pulling from library/alpine [2023-01-13T18:34:21.503Z] ca7dd9ec2225: Pulling fs layer [2023-01-13T18:34:21.503Z] ca7dd9ec2225: Verifying Checksum [2023-01-13T18:34:21.503Z] ca7dd9ec2225: Download complete [2023-01-13T18:34:21.503Z] ca7dd9ec2225: Pull complete [2023-01-13T18:34:21.503Z] Digest: sha256:b95359c2505145f16c6aa384f9cc74eeff78eb36d308ca4fd902eeeb0a0b161b [2023-01-13T18:34:21.503Z] Status: Downloaded newer image for alpine:3.16 [2023-01-13T18:34:21.503Z] ---> bfe296a52501 [2023-01-13T18:34:21.503Z] Step 14/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' [2023-01-13T18:34:21.503Z] ---> Running in 704b2086014b [2023-01-13T18:34:21.503Z] Removing intermediate container 704b2086014b [2023-01-13T18:34:21.503Z] ---> 14b7a74728f3 [2023-01-13T18:34:21.503Z] Step 15/25 : LABEL Name=device-rest-go Version=${VERSION} [2023-01-13T18:34:21.503Z] ---> Running in cd00bfee0b22 [2023-01-13T18:34:21.503Z] Removing intermediate container cd00bfee0b22 [2023-01-13T18:34:21.503Z] ---> 87faf1f1b7c7 [2023-01-13T18:34:21.503Z] Step 16/25 : RUN apk add --update --no-cache dumb-init [2023-01-13T18:34:21.503Z] ---> Running in d23cf58d82b4 [2023-01-13T18:34:21.503Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2023-01-13T18:34:21.503Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2023-01-13T18:34:21.503Z] (1/1) Installing dumb-init (1.2.5-r1) [2023-01-13T18:34:21.503Z] Executing busybox-1.35.0-r17.trigger [2023-01-13T18:34:21.503Z] OK: 6 MiB in 15 packages [2023-01-13T18:34:21.503Z] Removing intermediate container d23cf58d82b4 [2023-01-13T18:34:21.503Z] ---> c96baa5115f7 [2023-01-13T18:34:21.503Z] Step 17/25 : COPY --from=builder /device-rest-go/cmd / [2023-01-13T18:34:21.503Z] ---> 2f2fb8e10891 [2023-01-13T18:34:21.503Z] Step 18/25 : COPY --from=builder /device-rest-go/LICENSE / [2023-01-13T18:34:21.503Z] ---> a329c66815aa [2023-01-13T18:34:21.503Z] Step 19/25 : COPY --from=builder /device-rest-go/Attribution.txt / [2023-01-13T18:34:21.503Z] ---> 029cae08c04f [2023-01-13T18:34:21.503Z] Step 20/25 : EXPOSE 59986 [2023-01-13T18:34:21.503Z] ---> Running in 9352ff238922 [2023-01-13T18:34:21.503Z] Removing intermediate container 9352ff238922 [2023-01-13T18:34:21.503Z] ---> 945149aed8c7 [2023-01-13T18:34:21.503Z] Step 21/25 : ENTRYPOINT ["/device-rest"] [2023-01-13T18:34:21.503Z] ---> Running in 9acfa93073c9 [2023-01-13T18:34:21.764Z] Removing intermediate container 9acfa93073c9 [2023-01-13T18:34:21.765Z] ---> 6f79b13ea374 [2023-01-13T18:34:21.765Z] Step 22/25 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry"] [2023-01-13T18:34:21.765Z] ---> Running in ece2f3ec5349 [2023-01-13T18:34:21.765Z] Removing intermediate container ece2f3ec5349 [2023-01-13T18:34:21.765Z] ---> 1a17d6fef910 [2023-01-13T18:34:21.765Z] Step 23/25 : LABEL arch=amd64 [2023-01-13T18:34:21.765Z] ---> Running in 74ab86bcd558 [2023-01-13T18:34:21.765Z] Removing intermediate container 74ab86bcd558 [2023-01-13T18:34:21.765Z] ---> c92cddbc49d8 [2023-01-13T18:34:21.765Z] Step 24/25 : LABEL git_sha=87760132cb748e6c02fbbae85a5415a3b790d17f [2023-01-13T18:34:21.765Z] ---> Running in cbe3198fbed4 [2023-01-13T18:34:22.025Z] Removing intermediate container cbe3198fbed4 [2023-01-13T18:34:22.025Z] ---> 2ff1b73aaa4e [2023-01-13T18:34:22.025Z] Step 25/25 : LABEL version=0.0.0 [2023-01-13T18:34:22.025Z] ---> Running in d93c48bb8cb3 [2023-01-13T18:34:22.025Z] Removing intermediate container d93c48bb8cb3 [2023-01-13T18:34:22.025Z] ---> ef5930aa7cf4 [2023-01-13T18:34:22.025Z] [Warning] One or more build-args [ARCH] were not consumed [2023-01-13T18:34:22.025Z] Successfully built ef5930aa7cf4 [2023-01-13T18:34:22.025Z] 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-13T18:34:22.481Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-01-13T18:34:22.481Z] [2023-01-13T18:34:22.481Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-13T18:34:22.796Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-01-13T18:34:22.796Z] latest: Pulling from edgex-lftools-log-publisher [2023-01-13T18:34:22.796Z] 5eb5b503b376: Pulling fs layer [2023-01-13T18:34:22.796Z] 5c69ac0246d0: Pulling fs layer [2023-01-13T18:34:22.796Z] ec43610c2a17: Pulling fs layer [2023-01-13T18:34:22.796Z] 3a2ae6a8a46f: Pulling fs layer [2023-01-13T18:34:22.796Z] 33b1e0a273af: Pulling fs layer [2023-01-13T18:34:22.796Z] 5d3b04190fa2: Pulling fs layer [2023-01-13T18:34:22.796Z] 2f39f015ded8: Pulling fs layer [2023-01-13T18:34:22.796Z] 5d3b04190fa2: Waiting [2023-01-13T18:34:22.796Z] 3a2ae6a8a46f: Waiting [2023-01-13T18:34:22.796Z] 33b1e0a273af: Waiting [2023-01-13T18:34:22.796Z] 2f39f015ded8: Waiting [2023-01-13T18:34:22.796Z] 5c69ac0246d0: Verifying Checksum [2023-01-13T18:34:22.796Z] 5c69ac0246d0: Download complete [2023-01-13T18:34:22.796Z] 3a2ae6a8a46f: Verifying Checksum [2023-01-13T18:34:22.796Z] 3a2ae6a8a46f: Download complete [2023-01-13T18:34:23.059Z] 33b1e0a273af: Verifying Checksum [2023-01-13T18:34:23.059Z] 33b1e0a273af: Download complete [2023-01-13T18:34:23.059Z] ec43610c2a17: Verifying Checksum [2023-01-13T18:34:23.059Z] ec43610c2a17: Download complete [2023-01-13T18:34:23.059Z] 5d3b04190fa2: Verifying Checksum [2023-01-13T18:34:23.059Z] 5d3b04190fa2: Download complete [2023-01-13T18:34:23.059Z] 5eb5b503b376: Verifying Checksum [2023-01-13T18:34:23.059Z] 5eb5b503b376: Download complete [2023-01-13T18:34:23.627Z] 2f39f015ded8: Download complete [2023-01-13T18:34:24.192Z] 5eb5b503b376: Pull complete [2023-01-13T18:34:24.451Z] 5c69ac0246d0: Pull complete [2023-01-13T18:34:25.017Z] ec43610c2a17: Pull complete [2023-01-13T18:34:25.017Z] 3a2ae6a8a46f: Pull complete [2023-01-13T18:34:25.017Z] 33b1e0a273af: Pull complete [2023-01-13T18:34:25.275Z] 5d3b04190fa2: Pull complete [2023-01-13T18:34:29.460Z] 2f39f015ded8: Pull complete [2023-01-13T18:34:29.460Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2023-01-13T18:34:29.460Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-01-13T18:34:29.460Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-01-13T18:34:29.556Z] prd-ubuntu20.04-docker-8c-8g-2243 does not seem to be running inside a container [2023-01-13T18:34:29.592Z] $ 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-238 -v /w/workspace/gexfoundry_device-rest-go_PR-238:/w/workspace/gexfoundry_device-rest-go_PR-238:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-238@tmp:/w/workspace/gexfoundry_device-rest-go_PR-238@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 ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2023-01-13T18:34:31.699Z] $ docker top 2715176706b6406fbc9ec81c97abbddc01a1e6cf87814499ad87e39add6ca467 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-01-13T18:34:32.073Z] ---> job-cost.sh [2023-01-13T18:34:32.073Z] lf-activate-venv: SKIPPING [2023-01-13T18:34:32.073Z] INFO: No Stack... [2023-01-13T18:34:32.339Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-01-13T18:34:32.905Z] INFO: Archiving Costs [Pipeline] sh [2023-01-13T18:34:33.191Z] + cat /w/workspace/gexfoundry_device-rest-go_PR-238/archives/cost.csv [2023-01-13T18:34:33.191Z] + cut -d, -f6 [Pipeline] lock [2023-01-13T18:34:33.206Z] Trying to acquire lock on [jenkins-edgexfoundry-device-rest-go-PR-238-2-stack-cost] [2023-01-13T18:34:33.214Z] Resource [jenkins-edgexfoundry-device-rest-go-PR-238-2-stack-cost] did not exist. Created. [2023-01-13T18:34:33.214Z] Lock acquired on [jenkins-edgexfoundry-device-rest-go-PR-238-2-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-01-13T18:34:33.510Z] + echo total: 0.2199999988079071 [Pipeline] stash [2023-01-13T18:34:33.538Z] Stashed 1 file(s) [Pipeline] } [2023-01-13T18:34:33.544Z] Lock released on resource [jenkins-edgexfoundry-device-rest-go-PR-238-2-stack-cost] [Pipeline] // lock [Pipeline] } [2023-01-13T18:34:33.565Z] $ docker stop --time=1 2715176706b6406fbc9ec81c97abbddc01a1e6cf87814499ad87e39add6ca467 [2023-01-13T18:34:34.717Z] $ docker rm -f --volumes 2715176706b6406fbc9ec81c97abbddc01a1e6cf87814499ad87e39add6ca467 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2023-01-13T18:36:18.337Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-2244 in /w/workspace/gexfoundry_device-rest-go_PR-238 [Pipeline] { [Pipeline] ws [2023-01-13T18:36:18.350Z] Running in /w/workspace/device-rest-go/2 [Pipeline] { [Pipeline] checkout [2023-01-13T18:36:18.384Z] The recommended git tool is: git [2023-01-13T18:36:24.515Z] using credential edgex-jenkins-ssh [2023-01-13T18:36:24.531Z] Cloning the remote Git repository [2023-01-13T18:36:24.580Z] Cloning repository git@github.com:edgexfoundry/device-rest-go.git [2023-01-13T18:36:24.669Z] > git init /w/workspace/device-rest-go/2 # timeout=10 [2023-01-13T18:36:24.862Z] Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git [2023-01-13T18:36:24.863Z] > git --version # timeout=10 [2023-01-13T18:36:24.887Z] > git --version # 'git version 2.25.1' [2023-01-13T18:36:24.890Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-01-13T18:36:24.972Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-01-13T18:36:26.837Z] > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 [2023-01-13T18:36:26.862Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-01-13T18:36:28.522Z] Merging remotes/origin/main commit 6fa13eb64575055365d964780e4ff33f2e866ca2 into PR head commit 87760132cb748e6c02fbbae85a5415a3b790d17f [2023-01-13T18:36:27.848Z] > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 [2023-01-13T18:36:27.897Z] Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git [2023-01-13T18:36:27.899Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-01-13T18:36:27.923Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/pull/238/head:refs/remotes/origin/PR-238 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2023-01-13T18:36:28.539Z] > git config core.sparsecheckout # timeout=10 [2023-01-13T18:36:28.562Z] > git checkout -f 87760132cb748e6c02fbbae85a5415a3b790d17f # timeout=10 [2023-01-13T18:36:28.659Z] > git remote # timeout=10 [2023-01-13T18:36:28.686Z] > git config --get remote.origin.url # timeout=10 [2023-01-13T18:36:28.771Z] Merge succeeded, producing 87760132cb748e6c02fbbae85a5415a3b790d17f [2023-01-13T18:36:28.772Z] Checking out Revision 87760132cb748e6c02fbbae85a5415a3b790d17f (PR-238) [2023-01-13T18:36:28.705Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-01-13T18:36:28.721Z] > git merge 6fa13eb64575055365d964780e4ff33f2e866ca2 # timeout=10 [2023-01-13T18:36:28.749Z] > git rev-parse HEAD^{commit} # timeout=10 [2023-01-13T18:36:28.779Z] > git config core.sparsecheckout # timeout=10 [2023-01-13T18:36:28.796Z] > git checkout -f 87760132cb748e6c02fbbae85a5415a3b790d17f # timeout=10 [2023-01-13T18:36:32.332Z] Commit message: "fix: typo in install hook error message" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-01-13T18:36:33.262Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2023-01-13T18:36:33.262Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-01-13T18:36:33.262Z] Dload Upload Total Spent Left Speed [2023-01-13T18:36:33.262Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 197k 0 --:--:-- --:--:-- --:--:-- 197k [Pipeline] sh [2023-01-13T18:36:33.996Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2023-01-13T18:36:34.335Z] + sudo tee /etc/docker/daemon.new [2023-01-13T18:36:34.335Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2023-01-13T18:36:34.335Z] { [2023-01-13T18:36:34.335Z] "registry-mirrors": [ [2023-01-13T18:36:34.335Z] "https://nexus3.edgexfoundry.org:10001" [2023-01-13T18:36:34.335Z] ], [2023-01-13T18:36:34.335Z] "bip": "10.250.0.254/24", [2023-01-13T18:36:34.335Z] "hosts": [ [2023-01-13T18:36:34.335Z] "tcp://0.0.0.0:5555", [2023-01-13T18:36:34.335Z] "unix:///var/run/docker.sock" [2023-01-13T18:36:34.335Z] ], [2023-01-13T18:36:34.335Z] "mtu": 1458, [2023-01-13T18:36:34.335Z] "selinux-enabled": true, [2023-01-13T18:36:34.335Z] "seccomp-profile": "/etc/docker/seccomp.json" [2023-01-13T18:36:34.335Z] } [Pipeline] sh [2023-01-13T18:36:34.680Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2023-01-13T18:36:35.023Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-01-13T18:36:53.331Z] provisioning config files... [2023-01-13T18:36:53.368Z] copy managed file [device-rest-go-settings] to file:/w/workspace/device-rest-go/2@tmp/config347478797055214334tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-01-13T18:36:53.748Z] ---> docker-login.sh [2023-01-13T18:36:53.748Z] nexus3.edgexfoundry.org:10001 [2023-01-13T18:36:54.340Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-13T18:36:54.340Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-13T18:36:54.340Z] Configure a credential helper to remove this warning. See [2023-01-13T18:36:54.340Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-13T18:36:54.340Z] [2023-01-13T18:36:54.340Z] Login Succeeded [2023-01-13T18:36:54.340Z] nexus3.edgexfoundry.org:10002 [2023-01-13T18:36:54.624Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-13T18:36:54.896Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-13T18:36:54.896Z] Configure a credential helper to remove this warning. See [2023-01-13T18:36:54.896Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-13T18:36:54.896Z] [2023-01-13T18:36:54.896Z] Login Succeeded [2023-01-13T18:36:54.896Z] nexus3.edgexfoundry.org:10003 [2023-01-13T18:36:55.174Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-13T18:36:55.174Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-13T18:36:55.174Z] Configure a credential helper to remove this warning. See [2023-01-13T18:36:55.174Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-13T18:36:55.174Z] [2023-01-13T18:36:55.174Z] Login Succeeded [2023-01-13T18:36:55.174Z] nexus3.edgexfoundry.org:10004 [2023-01-13T18:36:55.443Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-13T18:36:55.443Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-13T18:36:55.443Z] Configure a credential helper to remove this warning. See [2023-01-13T18:36:55.443Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-13T18:36:55.443Z] [2023-01-13T18:36:55.443Z] Login Succeeded [2023-01-13T18:36:55.443Z] docker.io [2023-01-13T18:36:55.715Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-13T18:36:55.989Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-13T18:36:55.989Z] Configure a credential helper to remove this warning. See [2023-01-13T18:36:55.989Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-13T18:36:55.989Z] [2023-01-13T18:36:55.989Z] Login Succeeded [2023-01-13T18:36:55.989Z] ---> docker-login.sh ends [Pipeline] } [2023-01-13T18:36:56.004Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-01-13T18:36:56.281Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-01-13T18:36:56.297Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-01-13T18:36:56.306Z] ========================================================= [2023-01-13T18:36:56.306Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine] [2023-01-13T18:36:56.306Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-13T18:36:56.658Z] + 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-13T18:36:56.658Z] Sending build context to Docker daemon 127kB [2023-01-13T18:36:56.928Z] Step 1/12 : ARG BASE=golang:1.18-alpine3.16 [2023-01-13T18:36:56.928Z] Step 2/12 : FROM ${BASE} AS builder [2023-01-13T18:36:57.907Z] 1.18-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2023-01-13T18:36:57.907Z] 9b18e9b68314: Pulling fs layer [2023-01-13T18:36:57.907Z] 35d82f9e3411: Pulling fs layer [2023-01-13T18:36:57.907Z] e16973657156: Pulling fs layer [2023-01-13T18:36:57.907Z] fc693d55d65f: Pulling fs layer [2023-01-13T18:36:57.907Z] 7e9fc2657dce: Pulling fs layer [2023-01-13T18:36:57.907Z] dda99020689f: Pulling fs layer [2023-01-13T18:36:57.907Z] db1c61fa0a46: Pulling fs layer [2023-01-13T18:36:57.907Z] 891c053d2c06: Pulling fs layer [2023-01-13T18:36:57.907Z] dda99020689f: Waiting [2023-01-13T18:36:57.907Z] db1c61fa0a46: Waiting [2023-01-13T18:36:57.907Z] 891c053d2c06: Waiting [2023-01-13T18:36:57.907Z] fc693d55d65f: Waiting [2023-01-13T18:36:57.907Z] 7e9fc2657dce: Waiting [2023-01-13T18:36:57.907Z] e16973657156: Download complete [2023-01-13T18:36:57.907Z] 35d82f9e3411: Verifying Checksum [2023-01-13T18:36:57.907Z] 35d82f9e3411: Download complete [2023-01-13T18:36:57.907Z] 7e9fc2657dce: Verifying Checksum [2023-01-13T18:36:57.907Z] 7e9fc2657dce: Download complete [2023-01-13T18:36:57.907Z] dda99020689f: Verifying Checksum [2023-01-13T18:36:57.907Z] dda99020689f: Download complete [2023-01-13T18:36:57.907Z] 9b18e9b68314: Verifying Checksum [2023-01-13T18:36:57.907Z] 9b18e9b68314: Download complete [2023-01-13T18:36:58.898Z] 9b18e9b68314: Pull complete [2023-01-13T18:36:58.898Z] 891c053d2c06: Verifying Checksum [2023-01-13T18:36:58.898Z] 891c053d2c06: Download complete [2023-01-13T18:36:59.497Z] 35d82f9e3411: Pull complete [2023-01-13T18:36:59.776Z] e16973657156: Pull complete [2023-01-13T18:37:00.050Z] db1c61fa0a46: Verifying Checksum [2023-01-13T18:37:00.050Z] db1c61fa0a46: Download complete [2023-01-13T18:37:00.639Z] fc693d55d65f: Verifying Checksum [2023-01-13T18:37:00.639Z] fc693d55d65f: Download complete [2023-01-13T18:37:12.988Z] fc693d55d65f: Pull complete [2023-01-13T18:37:12.988Z] 7e9fc2657dce: Pull complete [2023-01-13T18:37:12.988Z] dda99020689f: Pull complete [2023-01-13T18:37:18.388Z] db1c61fa0a46: Pull complete [2023-01-13T18:37:19.845Z] 891c053d2c06: Pull complete [2023-01-13T18:37:19.845Z] Digest: sha256:2cacf8bfc28650abd52610e42dcfc04852e818eb73900ea96edaef96a54d0b45 [2023-01-13T18:37:19.845Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine [2023-01-13T18:37:19.845Z] ---> f96f9c87975a [2023-01-13T18:37:19.845Z] Step 3/12 : ARG ADD_BUILD_TAGS="" [2023-01-13T18:37:21.807Z] ---> Running in 24f36ba733c0 [2023-01-13T18:37:22.079Z] Removing intermediate container 24f36ba733c0 [2023-01-13T18:37:22.079Z] ---> c31a0bfd6561 [2023-01-13T18:37:22.079Z] Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-01-13T18:37:22.079Z] ---> Running in 0311ce432126 [2023-01-13T18:37:22.671Z] Removing intermediate container 0311ce432126 [2023-01-13T18:37:22.672Z] ---> d8eead649162 [2023-01-13T18:37:22.672Z] Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client" [2023-01-13T18:37:22.672Z] ---> Running in bdddc56f132d [2023-01-13T18:37:22.951Z] Removing intermediate container bdddc56f132d [2023-01-13T18:37:22.951Z] ---> 98bfe3dcafe1 [2023-01-13T18:37:22.951Z] Step 6/12 : ARG ALPINE_PKG_EXTRA="" [2023-01-13T18:37:22.951Z] ---> Running in 3beda0c7b6bf [2023-01-13T18:37:23.229Z] Removing intermediate container 3beda0c7b6bf [2023-01-13T18:37:23.229Z] ---> 0903533ec28c [2023-01-13T18:37:23.229Z] Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-01-13T18:37:23.499Z] ---> Running in ee087845541e [2023-01-13T18:37:24.921Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2023-01-13T18:37:24.921Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2023-01-13T18:37:25.889Z] (1/4) Installing openssh-keygen (9.0_p1-r2) [2023-01-13T18:37:25.889Z] (2/4) Installing libedit (20210910.3.1-r0) [2023-01-13T18:37:25.889Z] (3/4) Installing openssh-client-common (9.0_p1-r2) [2023-01-13T18:37:25.889Z] (4/4) Installing openssh-client-default (9.0_p1-r2) [2023-01-13T18:37:26.157Z] Executing busybox-1.35.0-r17.trigger [2023-01-13T18:37:26.157Z] OK: 226 MiB in 55 packages [2023-01-13T18:37:27.142Z] Removing intermediate container ee087845541e [2023-01-13T18:37:27.142Z] ---> b54e60f5dfcb [2023-01-13T18:37:27.142Z] Step 8/12 : WORKDIR /device-rest-go [2023-01-13T18:37:27.142Z] ---> Running in 88b4e8a5e7e6 [2023-01-13T18:37:27.730Z] Removing intermediate container 88b4e8a5e7e6 [2023-01-13T18:37:27.730Z] ---> 2d604c9c0634 [2023-01-13T18:37:27.730Z] Step 9/12 : COPY go.mod vendor* ./ [2023-01-13T18:37:27.997Z] ---> 0f0a61480e00 [2023-01-13T18:37:27.997Z] Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-01-13T18:37:28.264Z] ---> Running in 5e815b129663 [2023-01-13T18:38:24.713Z] Removing intermediate container 5e815b129663 [2023-01-13T18:38:24.713Z] ---> 599d3ee98aeb [2023-01-13T18:38:24.713Z] Step 11/12 : COPY . . [2023-01-13T18:38:24.713Z] ---> f957c893227a [2023-01-13T18:38:24.713Z] Step 12/12 : RUN $MAKE [2023-01-13T18:38:24.713Z] ---> Running in 685fbf02f053 [2023-01-13T18:38:25.316Z] noop [2023-01-13T18:38:25.902Z] Removing intermediate container 685fbf02f053 [2023-01-13T18:38:25.902Z] ---> 0f1fc2f90d2f [2023-01-13T18:38:25.902Z] Successfully built 0f1fc2f90d2f [2023-01-13T18:38:25.902Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-13T18:38:26.246Z] + docker inspect -f . ci-base-image-arm64 [2023-01-13T18:38:26.246Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-01-13T18:38:26.447Z] prd-ubuntu20.04-docker-arm64-4c-16g-2244 does not seem to be running inside a container [2023-01-13T18:38:26.521Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-rest-go/2 -v /w/workspace/device-rest-go/2:/w/workspace/device-rest-go/2:rw,z -v /w/workspace/device-rest-go/2@tmp:/w/workspace/device-rest-go/2@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2023-01-13T18:38:27.768Z] $ docker top f9013645f8a31cd36019716b367231f129a6bd7e7aab4a0a6e579edba24f269a -eo pid,comm [Pipeline] { [Pipeline] sh [2023-01-13T18:38:28.611Z] + go version [2023-01-13T18:38:28.611Z] go version go1.18.7 linux/arm64 [Pipeline] } [2023-01-13T18:38:28.633Z] $ docker stop --time=1 f9013645f8a31cd36019716b367231f129a6bd7e7aab4a0a6e579edba24f269a [2023-01-13T18:38:30.268Z] $ docker rm -f --volumes f9013645f8a31cd36019716b367231f129a6bd7e7aab4a0a6e579edba24f269a [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-13T18:38:30.833Z] + docker inspect -f . ci-base-image-arm64 [2023-01-13T18:38:30.833Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-01-13T18:38:31.017Z] prd-ubuntu20.04-docker-arm64-4c-16g-2244 does not seem to be running inside a container [2023-01-13T18:38:31.088Z] $ 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/2 -v /w/workspace/device-rest-go/2:/w/workspace/device-rest-go/2:rw,z -v /w/workspace/device-rest-go/2@tmp:/w/workspace/device-rest-go/2@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2023-01-13T18:38:32.349Z] $ docker top 58cd29e9583ac15200bfdd240f9fe6512d0bbf3f46608ea521995da72bb7427f -eo pid,comm [Pipeline] { [Pipeline] sh [2023-01-13T18:38:33.195Z] + git config --global --add safe.directory /w/workspace/device-rest-go/2 [Pipeline] fileExists [Pipeline] sh [2023-01-13T18:38:33.850Z] + make test [2023-01-13T18:38:33.850Z] go test ./... -coverprofile=coverage.out ./... [2023-01-13T18:38:35.261Z] ? github.com/edgexfoundry/device-rest-go [no test files] [2023-01-13T18:39:56.924Z] ? github.com/edgexfoundry/device-rest-go/cmd [no test files] [2023-01-13T18:39:56.924Z] ok github.com/edgexfoundry/device-rest-go/driver 0.061s coverage: 55.2% of statements [2023-01-13T18:39:56.924Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2023-01-13T18:39:56.924Z] go vet ./... [2023-01-13T18:40:19.023Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-01-13T18:40:19.023Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2023-01-13T18:40:19.023Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2023-01-13T18:40:19.043Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2023-01-13T18:40:19.059Z] $ docker stop --time=1 58cd29e9583ac15200bfdd240f9fe6512d0bbf3f46608ea521995da72bb7427f [2023-01-13T18:40:20.863Z] $ docker rm -f --volumes 58cd29e9583ac15200bfdd240f9fe6512d0bbf3f46608ea521995da72bb7427f [Pipeline] // withDockerContainer [Pipeline] sh [2023-01-13T18:40:21.826Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2023-01-13T18:40:21.852Z] Warning: overwriting stash ‘coverage-report’ [2023-01-13T18:40:22.438Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-01-13T18:40:22.807Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-01-13T18:40:23.125Z] + ls -al . [2023-01-13T18:40:23.125Z] total 184 [2023-01-13T18:40:23.125Z] drwxrwxr-x 8 jenkins jenkins 4096 Jan 13 18:38 . [2023-01-13T18:40:23.125Z] drwxrwxr-x 4 jenkins jenkins 4096 Jan 13 18:36 .. [2023-01-13T18:40:23.125Z] -rw-rw-r-- 1 jenkins jenkins 151 Jan 13 18:36 .dockerignore [2023-01-13T18:40:23.125Z] drwxrwxr-x 8 jenkins jenkins 4096 Jan 13 18:36 .git [2023-01-13T18:40:23.125Z] drwxrwxr-x 3 jenkins jenkins 4096 Jan 13 18:36 .github [2023-01-13T18:40:23.125Z] -rw-rw-r-- 1 jenkins jenkins 329 Jan 13 18:36 .gitignore [2023-01-13T18:40:23.125Z] -rw-rw-r-- 1 jenkins jenkins 41 Jan 13 18:36 .golangci.yml [2023-01-13T18:40:23.125Z] -rw-rw-r-- 1 jenkins jenkins 8996 Jan 13 18:36 Attribution.txt [2023-01-13T18:40:23.125Z] -rw-rw-r-- 1 jenkins jenkins 13085 Jan 13 18:36 CHANGELOG.md [2023-01-13T18:40:23.125Z] -rw-rw-r-- 1 jenkins jenkins 1578 Jan 13 18:36 Dockerfile [2023-01-13T18:40:23.125Z] -rw-rw-r-- 1 jenkins jenkins 677 Jan 13 18:36 GOVERNANCE.md [2023-01-13T18:40:23.125Z] -rw-rw-r-- 1 jenkins jenkins 680 Jan 13 18:36 Jenkinsfile [2023-01-13T18:40:23.125Z] -rw-rw-r-- 1 jenkins jenkins 11340 Jan 13 18:36 LICENSE [2023-01-13T18:40:23.125Z] -rw-rw-r-- 1 jenkins jenkins 1744 Jan 13 18:36 Makefile [2023-01-13T18:40:23.125Z] -rw-rw-r-- 1 jenkins jenkins 620 Jan 13 18:36 OWNERS.md [2023-01-13T18:40:23.125Z] -rw-rw-r-- 1 jenkins jenkins 8667 Jan 13 18:36 README.md [2023-01-13T18:40:23.125Z] -rw-rw-r-- 1 jenkins jenkins 5 Jan 13 18:32 VERSION [2023-01-13T18:40:23.125Z] drwxrwxr-x 2 jenkins jenkins 4096 Jan 13 18:36 bin [2023-01-13T18:40:23.125Z] drwxrwxr-x 3 jenkins jenkins 4096 Jan 13 18:36 cmd [2023-01-13T18:40:23.125Z] -rw-r--r-- 1 jenkins jenkins 9355 Jan 13 18:39 coverage.out [2023-01-13T18:40:23.125Z] drwxrwxr-x 2 jenkins jenkins 4096 Jan 13 18:36 driver [2023-01-13T18:40:23.125Z] -rw-rw-r-- 1 jenkins jenkins 3488 Jan 13 18:36 go.mod [2023-01-13T18:40:23.125Z] -rw-rw-r-- 1 jenkins jenkins 45013 Jan 13 18:36 go.sum [2023-01-13T18:40:23.125Z] drwxrwxr-x 4 jenkins jenkins 4096 Jan 13 18:36 snap [2023-01-13T18:40:23.125Z] -rw-rw-r-- 1 jenkins jenkins 713 Jan 13 18:36 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-13T18:40:23.468Z] + 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=87760132cb748e6c02fbbae85a5415a3b790d17f --label arch=arm64 --label version=0.0.0 . [2023-01-13T18:40:23.468Z] Sending build context to Docker daemon 137.2kB [2023-01-13T18:40:23.736Z] Step 1/25 : ARG BASE=golang:1.18-alpine3.16 [2023-01-13T18:40:23.736Z] Step 2/25 : FROM ${BASE} AS builder [2023-01-13T18:40:23.736Z] ---> 0f1fc2f90d2f [2023-01-13T18:40:23.736Z] Step 3/25 : ARG ADD_BUILD_TAGS="" [2023-01-13T18:40:23.736Z] ---> Running in af02856a32e0 [2023-01-13T18:40:24.004Z] Removing intermediate container af02856a32e0 [2023-01-13T18:40:24.004Z] ---> 0bc0be7ed236 [2023-01-13T18:40:24.004Z] Step 4/25 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-01-13T18:40:24.004Z] ---> Running in 17bd266e65ac [2023-01-13T18:40:24.591Z] Removing intermediate container 17bd266e65ac [2023-01-13T18:40:24.591Z] ---> 874223c358c7 [2023-01-13T18:40:24.591Z] Step 5/25 : ARG ALPINE_PKG_BASE="make git openssh-client" [2023-01-13T18:40:24.591Z] ---> Running in 6578bc5e5c70 [2023-01-13T18:40:24.861Z] Removing intermediate container 6578bc5e5c70 [2023-01-13T18:40:24.861Z] ---> 4995cda44f11 [2023-01-13T18:40:24.861Z] Step 6/25 : ARG ALPINE_PKG_EXTRA="" [2023-01-13T18:40:24.861Z] ---> Running in ffa76cbc04ae [2023-01-13T18:40:25.136Z] Removing intermediate container ffa76cbc04ae [2023-01-13T18:40:25.136Z] ---> 2418da26ca39 [2023-01-13T18:40:25.136Z] Step 7/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-01-13T18:40:25.409Z] ---> Running in f0ca4ea6b760 [2023-01-13T18:40:26.379Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2023-01-13T18:40:26.966Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2023-01-13T18:40:27.938Z] OK: 226 MiB in 55 packages [2023-01-13T18:40:28.915Z] Removing intermediate container f0ca4ea6b760 [2023-01-13T18:40:28.915Z] ---> 8dc9730e8651 [2023-01-13T18:40:28.915Z] Step 8/25 : WORKDIR /device-rest-go [2023-01-13T18:40:29.187Z] ---> Running in 00c11ccdd443 [2023-01-13T18:40:29.458Z] Removing intermediate container 00c11ccdd443 [2023-01-13T18:40:29.458Z] ---> 50031ec047ae [2023-01-13T18:40:29.458Z] Step 9/25 : COPY go.mod vendor* ./ [2023-01-13T18:40:30.045Z] ---> 04efaf7c23fc [2023-01-13T18:40:30.045Z] Step 10/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-01-13T18:40:30.045Z] ---> Running in 859c7ced29b5 [2023-01-13T18:40:32.010Z] Removing intermediate container 859c7ced29b5 [2023-01-13T18:40:32.010Z] ---> 467f49693f79 [2023-01-13T18:40:32.010Z] Step 11/25 : COPY . . [2023-01-13T18:40:32.604Z] ---> 7c3f5db52742 [2023-01-13T18:40:32.604Z] Step 12/25 : RUN $MAKE [2023-01-13T18:40:32.604Z] ---> Running in 423b46c9f26a [2023-01-13T18:40:34.016Z] 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-13T18:43:10.814Z] Removing intermediate container 423b46c9f26a [2023-01-13T18:43:10.814Z] ---> 479878e83e18 [2023-01-13T18:43:10.814Z] Step 13/25 : FROM alpine:3.16 [2023-01-13T18:43:10.814Z] 3.16: Pulling from library/alpine [2023-01-13T18:43:10.814Z] 6875df1f5354: Pulling fs layer [2023-01-13T18:43:10.814Z] 6875df1f5354: Verifying Checksum [2023-01-13T18:43:10.814Z] 6875df1f5354: Download complete [2023-01-13T18:43:10.814Z] 6875df1f5354: Pull complete [2023-01-13T18:43:10.814Z] Digest: sha256:b95359c2505145f16c6aa384f9cc74eeff78eb36d308ca4fd902eeeb0a0b161b [2023-01-13T18:43:10.814Z] Status: Downloaded newer image for alpine:3.16 [2023-01-13T18:43:10.814Z] ---> 2b4661558fb8 [2023-01-13T18:43:10.814Z] Step 14/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' [2023-01-13T18:43:10.814Z] ---> Running in 9ecaae8f997c [2023-01-13T18:43:10.814Z] Removing intermediate container 9ecaae8f997c [2023-01-13T18:43:10.814Z] ---> df5753583e46 [2023-01-13T18:43:10.814Z] Step 15/25 : LABEL Name=device-rest-go Version=${VERSION} [2023-01-13T18:43:10.814Z] ---> Running in 4ea27979b39d [2023-01-13T18:43:10.814Z] Removing intermediate container 4ea27979b39d [2023-01-13T18:43:10.814Z] ---> 3ee9e733d342 [2023-01-13T18:43:10.814Z] Step 16/25 : RUN apk add --update --no-cache dumb-init [2023-01-13T18:43:10.814Z] ---> Running in 649db7fb20bb [2023-01-13T18:43:10.814Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2023-01-13T18:43:10.814Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2023-01-13T18:43:10.814Z] (1/1) Installing dumb-init (1.2.5-r1) [2023-01-13T18:43:10.814Z] Executing busybox-1.35.0-r17.trigger [2023-01-13T18:43:10.814Z] OK: 5 MiB in 15 packages [2023-01-13T18:43:10.814Z] Removing intermediate container 649db7fb20bb [2023-01-13T18:43:10.814Z] ---> 404a80192486 [2023-01-13T18:43:10.814Z] Step 17/25 : COPY --from=builder /device-rest-go/cmd / [2023-01-13T18:43:10.814Z] ---> c0d5df0ed3d6 [2023-01-13T18:43:10.814Z] Step 18/25 : COPY --from=builder /device-rest-go/LICENSE / [2023-01-13T18:43:10.814Z] ---> 48928b8b6d5b [2023-01-13T18:43:10.814Z] Step 19/25 : COPY --from=builder /device-rest-go/Attribution.txt / [2023-01-13T18:43:10.814Z] ---> f16dfc7d6acb [2023-01-13T18:43:10.814Z] Step 20/25 : EXPOSE 59986 [2023-01-13T18:43:10.814Z] ---> Running in ead4104bfe57 [2023-01-13T18:43:10.814Z] Removing intermediate container ead4104bfe57 [2023-01-13T18:43:10.814Z] ---> 86d06deac2e3 [2023-01-13T18:43:10.814Z] Step 21/25 : ENTRYPOINT ["/device-rest"] [2023-01-13T18:43:10.814Z] ---> Running in ae86321d049f [2023-01-13T18:43:10.814Z] Removing intermediate container ae86321d049f [2023-01-13T18:43:10.814Z] ---> d4ed157598e2 [2023-01-13T18:43:10.814Z] Step 22/25 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry"] [2023-01-13T18:43:10.814Z] ---> Running in 26e9b1313b68 [2023-01-13T18:43:11.085Z] Removing intermediate container 26e9b1313b68 [2023-01-13T18:43:11.085Z] ---> a863224f0a23 [2023-01-13T18:43:11.085Z] Step 23/25 : LABEL arch=arm64 [2023-01-13T18:43:11.085Z] ---> Running in fe840e71bd89 [2023-01-13T18:43:11.674Z] Removing intermediate container fe840e71bd89 [2023-01-13T18:43:11.674Z] ---> 6b0c9132b2bf [2023-01-13T18:43:11.674Z] Step 24/25 : LABEL git_sha=87760132cb748e6c02fbbae85a5415a3b790d17f [2023-01-13T18:43:11.674Z] ---> Running in 9c560c0bdca1 [2023-01-13T18:43:11.945Z] Removing intermediate container 9c560c0bdca1 [2023-01-13T18:43:11.945Z] ---> 1c6cef4311f5 [2023-01-13T18:43:11.945Z] Step 25/25 : LABEL version=0.0.0 [2023-01-13T18:43:11.945Z] ---> Running in 86cabe65377c [2023-01-13T18:43:12.215Z] Removing intermediate container 86cabe65377c [2023-01-13T18:43:12.215Z] ---> 7016d57a0347 [2023-01-13T18:43:12.215Z] [Warning] One or more build-args [ARCH] were not consumed [2023-01-13T18:43:12.215Z] Successfully built 7016d57a0347 [2023-01-13T18:43:12.215Z] 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-13T18:43:12.896Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-01-13T18:43:12.896Z] [2023-01-13T18:43:12.896Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-13T18:43:13.232Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-01-13T18:43:13.509Z] arm64: Pulling from edgex-lftools-log-publisher [2023-01-13T18:43:13.509Z] 8998bd30e6a1: Pulling fs layer [2023-01-13T18:43:13.509Z] 04944245beec: Pulling fs layer [2023-01-13T18:43:13.509Z] 699f458cf7ca: Pulling fs layer [2023-01-13T18:43:13.509Z] 765212b225bb: Pulling fs layer [2023-01-13T18:43:13.509Z] f23df028b6ca: Pulling fs layer [2023-01-13T18:43:13.509Z] d65c8cfc05b1: Pulling fs layer [2023-01-13T18:43:13.509Z] 2437ff75d9bd: Pulling fs layer [2023-01-13T18:43:13.509Z] f23df028b6ca: Waiting [2023-01-13T18:43:13.509Z] d65c8cfc05b1: Waiting [2023-01-13T18:43:13.509Z] 2437ff75d9bd: Waiting [2023-01-13T18:43:13.509Z] 765212b225bb: Waiting [2023-01-13T18:43:13.509Z] 04944245beec: Verifying Checksum [2023-01-13T18:43:13.509Z] 04944245beec: Download complete [2023-01-13T18:43:13.509Z] 765212b225bb: Verifying Checksum [2023-01-13T18:43:13.509Z] 765212b225bb: Download complete [2023-01-13T18:43:13.781Z] f23df028b6ca: Verifying Checksum [2023-01-13T18:43:13.781Z] f23df028b6ca: Download complete [2023-01-13T18:43:13.781Z] d65c8cfc05b1: Verifying Checksum [2023-01-13T18:43:13.781Z] d65c8cfc05b1: Download complete [2023-01-13T18:43:13.781Z] 699f458cf7ca: Download complete [2023-01-13T18:43:14.050Z] 8998bd30e6a1: Download complete [2023-01-13T18:43:16.659Z] 2437ff75d9bd: Verifying Checksum [2023-01-13T18:43:16.659Z] 2437ff75d9bd: Download complete [2023-01-13T18:43:18.614Z] 8998bd30e6a1: Pull complete [2023-01-13T18:43:18.882Z] 04944245beec: Pull complete [2023-01-13T18:43:20.296Z] 699f458cf7ca: Pull complete [2023-01-13T18:43:20.296Z] 765212b225bb: Pull complete [2023-01-13T18:43:21.264Z] f23df028b6ca: Pull complete [2023-01-13T18:43:21.535Z] d65c8cfc05b1: Pull complete [2023-01-13T18:43:36.553Z] 2437ff75d9bd: Pull complete [2023-01-13T18:43:36.553Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2023-01-13T18:43:36.553Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-01-13T18:43:36.553Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-01-13T18:43:36.829Z] prd-ubuntu20.04-docker-arm64-4c-16g-2244 does not seem to be running inside a container [2023-01-13T18:43:36.949Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/device-rest-go/2 -v /w/workspace/device-rest-go/2:/w/workspace/device-rest-go/2:rw,z -v /w/workspace/device-rest-go/2@tmp:/w/workspace/device-rest-go/2@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat [2023-01-13T18:43:39.904Z] $ docker top 13d2d774ba7c8ac20593e1b3b18a8e53e70cad8dc8740092c0354a301a3f5ae9 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-01-13T18:43:40.513Z] ---> job-cost.sh [2023-01-13T18:43:40.797Z] lf-activate-venv: SKIPPING [2023-01-13T18:43:40.797Z] INFO: No Stack... [2023-01-13T18:43:41.076Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2023-01-13T18:43:42.058Z] INFO: Archiving Costs [Pipeline] sh [2023-01-13T18:43:42.752Z] + cut -d, -f6 [2023-01-13T18:43:42.752Z] + cat /w/workspace/device-rest-go/2/archives/cost.csv [Pipeline] lock [2023-01-13T18:43:42.857Z] Trying to acquire lock on [jenkins-edgexfoundry-device-rest-go-PR-238-2-stack-cost] [2023-01-13T18:43:42.863Z] Resource [jenkins-edgexfoundry-device-rest-go-PR-238-2-stack-cost] did not exist. Created. [2023-01-13T18:43:42.864Z] Lock acquired on [jenkins-edgexfoundry-device-rest-go-PR-238-2-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-01-13T18:43:43.523Z] /w/workspace/device-rest-go/2@tmp/durable-0fd7d30f/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2023-01-13T18:43:44.195Z] + echo total: 0.10999999940395355 [Pipeline] stash [2023-01-13T18:43:44.212Z] Warning: overwriting stash ‘stack-cost’ [2023-01-13T18:43:44.268Z] Stashed 1 file(s) [Pipeline] } [2023-01-13T18:43:44.278Z] Lock released on resource [jenkins-edgexfoundry-device-rest-go-PR-238-2-stack-cost] [Pipeline] // lock [Pipeline] } [2023-01-13T18:43:44.297Z] $ docker stop --time=1 13d2d774ba7c8ac20593e1b3b18a8e53e70cad8dc8740092c0354a301a3f5ae9 [2023-01-13T18:43:45.848Z] $ docker rm -f --volumes 13d2d774ba7c8ac20593e1b3b18a8e53e70cad8dc8740092c0354a301a3f5ae9 [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-13T18:43:46.266Z] provisioning config files... [2023-01-13T18:43:46.274Z] copy managed file [device-rest-go-codecov-token] to file:/w/workspace/gexfoundry_device-rest-go_PR-238@tmp/config11423500885475021545tmp [Pipeline] { [Pipeline] sh [2023-01-13T18:43:46.569Z] + set +x [2023-01-13T18:43:46.569Z] + curl+ -s https://codecov.io/bash [2023-01-13T18:43:46.569Z] bash -s -- [2023-01-13T18:43:46.569Z] [2023-01-13T18:43:46.569Z] _____ _ [2023-01-13T18:43:46.569Z] / ____| | | [2023-01-13T18:43:46.569Z] | | ___ __| | ___ ___ _____ __ [2023-01-13T18:43:46.569Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2023-01-13T18:43:46.569Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2023-01-13T18:43:46.569Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2023-01-13T18:43:46.569Z] Bash-1.0.6 [2023-01-13T18:43:46.569Z] [2023-01-13T18:43:46.569Z] [2023-01-13T18:43:46.569Z] ==> git version 2.25.1 found [2023-01-13T18:43:46.569Z] ==> 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-13T18:43:46.569Z] Release-Date: 2020-01-08 [2023-01-13T18:43:46.569Z] 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-13T18:43:46.569Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2023-01-13T18:43:46.569Z] ==> Jenkins CI detected. [2023-01-13T18:43:46.569Z] current dir:  /w/workspace/gexfoundry_device-rest-go_PR-238 [2023-01-13T18:43:46.569Z] project root: . [2023-01-13T18:43:46.569Z] --> token set from env [2023-01-13T18:43:46.569Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2023-01-13T18:43:46.569Z] ==> Running gcov in . (disable via -X gcov) [2023-01-13T18:43:46.569Z] ==> Python coveragepy not found [2023-01-13T18:43:46.569Z] ==> Searching for coverage reports in: [2023-01-13T18:43:46.569Z] + . [2023-01-13T18:43:46.569Z] -> Found 1 reports [2023-01-13T18:43:46.569Z] ==> Detecting git/mercurial file structure [2023-01-13T18:43:46.569Z] ==> Reading reports [2023-01-13T18:43:46.569Z] + ./coverage.out bytes=9355 [2023-01-13T18:43:46.569Z] ==> Appending adjustments [2023-01-13T18:43:46.569Z] https://docs.codecov.io/docs/fixing-reports [2023-01-13T18:43:46.828Z] + Found adjustments [2023-01-13T18:43:46.828Z] ==> Gzipping contents [2023-01-13T18:43:46.828Z] 4.0K /tmp/codecov.gOhb5X.gz [2023-01-13T18:43:46.828Z] ==> Uploading reports [2023-01-13T18:43:46.828Z] url: https://codecov.io [2023-01-13T18:43:46.828Z] query: branch=PR-238&commit=87760132cb748e6c02fbbae85a5415a3b790d17f&build=2&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-rest-go%2Fjob%2FPR-238%2F2%2F&name=&tag=&slug=edgexfoundry%2Fdevice-rest-go&service=jenkins&flags=&pr=238&job=&cmd_args= [2023-01-13T18:43:46.828Z] -> Pinging Codecov [2023-01-13T18:43:46.828Z] https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=c51feb23-73ac-4f49-b3d1-d26df23137db&branch=PR-238&commit=87760132cb748e6c02fbbae85a5415a3b790d17f&build=2&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-rest-go%2Fjob%2FPR-238%2F2%2F&name=&tag=&slug=edgexfoundry%2Fdevice-rest-go&service=jenkins&flags=&pr=238&job=&cmd_args= [2023-01-13T18:43:47.397Z] -> Uploading to [2023-01-13T18:43:47.397Z] https://storage.googleapis.com/codecov/v4/raw/2023-01-13/4E5D53B4F1F92C436F7061BF334D961C/87760132cb748e6c02fbbae85a5415a3b790d17f/36cb14ce-0ebb-4632-afea-c95414f14ae6.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20230113%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20230113T184347Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=30243e7223243821ae9acaa4b32f147daf3713039c7a8fcc6bfb35aef6066710 [2023-01-13T18:43:47.397Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-01-13T18:43:47.397Z] Dload Upload Total Spent Left Speed [2023-01-13T18:43:47.657Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 1713 0 0 100 1713 0 6031 --:--:-- --:--:-- --:--:-- 6031 [2023-01-13T18:43:47.657Z] -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-rest-go/commit/87760132cb748e6c02fbbae85a5415a3b790d17f [Pipeline] } [2023-01-13T18:43:47.664Z] 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-13T18:43:48.386Z] + [ -d /w/workspace/gexfoundry_device-rest-go_PR-238/archives ] [2023-01-13T18:43:48.386Z] + ls -al /w/workspace/gexfoundry_device-rest-go_PR-238/archives [2023-01-13T18:43:48.386Z] total 16 [2023-01-13T18:43:48.386Z] drwxr-xr-x 3 root root 4096 Jan 13 18:34 . [2023-01-13T18:43:48.386Z] drwxrwxr-x 10 jenkins jenkins 4096 Jan 13 18:34 .. [2023-01-13T18:43:48.386Z] drwxr-xr-x 2 root root 4096 Jan 13 18:34 cost [2023-01-13T18:43:48.386Z] -rw-r--r-- 1 root root 86 Jan 13 18:34 cost.csv [2023-01-13T18:43:48.386Z] + sudo chown -R jenkins:jenkins /w/workspace/gexfoundry_device-rest-go_PR-238/archives [2023-01-13T18:43:48.386Z] + ls -al /w/workspace/gexfoundry_device-rest-go_PR-238/archives [2023-01-13T18:43:48.386Z] total 16 [2023-01-13T18:43:48.386Z] drwxr-xr-x 3 jenkins jenkins 4096 Jan 13 18:34 . [2023-01-13T18:43:48.386Z] drwxrwxr-x 10 jenkins jenkins 4096 Jan 13 18:34 .. [2023-01-13T18:43:48.386Z] drwxr-xr-x 2 jenkins jenkins 4096 Jan 13 18:34 cost [2023-01-13T18:43:48.386Z] -rw-r--r-- 1 jenkins jenkins 86 Jan 13 18:34 cost.csv [Pipeline] libraryResource [Pipeline] sh [2023-01-13T18:43:48.678Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2023-01-13T18:43:49.539Z] ---> package-listing.sh [2023-01-13T18:43:49.539Z] ++ facter osfamily [2023-01-13T18:43:49.539Z] ++ tr '[:upper:]' '[:lower:]' [2023-01-13T18:43:49.798Z] + OS_FAMILY=debian [2023-01-13T18:43:49.798Z] + workspace=/w/workspace/gexfoundry_device-rest-go_PR-238 [2023-01-13T18:43:49.798Z] + START_PACKAGES=/tmp/packages_start.txt [2023-01-13T18:43:49.798Z] + END_PACKAGES=/tmp/packages_end.txt [2023-01-13T18:43:49.798Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2023-01-13T18:43:49.798Z] + PACKAGES=/tmp/packages_start.txt [2023-01-13T18:43:49.798Z] + '[' /w/workspace/gexfoundry_device-rest-go_PR-238 ']' [2023-01-13T18:43:49.798Z] + PACKAGES=/tmp/packages_end.txt [2023-01-13T18:43:49.798Z] + case "${OS_FAMILY}" in [2023-01-13T18:43:49.798Z] + dpkg -l [2023-01-13T18:43:49.798Z] + grep '^ii' [2023-01-13T18:43:49.798Z] + '[' -f /tmp/packages_start.txt ']' [2023-01-13T18:43:49.798Z] + '[' -f /tmp/packages_end.txt ']' [2023-01-13T18:43:49.798Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2023-01-13T18:43:49.798Z] + '[' /w/workspace/gexfoundry_device-rest-go_PR-238 ']' [2023-01-13T18:43:49.798Z] + mkdir -p /w/workspace/gexfoundry_device-rest-go_PR-238/archives/ [2023-01-13T18:43:49.798Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_device-rest-go_PR-238/archives/ [Pipeline] echo [2023-01-13T18:43:49.809Z] 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-238/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2023-01-13T18:43:50.092Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-13T18:43:50.653Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-01-13T18:43:50.653Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-01-13T18:43:50.730Z] prd-ubuntu20.04-docker-8c-8g-2243 does not seem to be running inside a container [2023-01-13T18:43:50.773Z] $ 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-238/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-238 -v /w/workspace/gexfoundry_device-rest-go_PR-238:/w/workspace/gexfoundry_device-rest-go_PR-238:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-238@tmp:/w/workspace/gexfoundry_device-rest-go_PR-238@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-13T18:43:50.963Z] $ docker top 55e3e4eabbab5e8c5626636166ac864fcc1bfeeaafe9167ed893805f97cf74ad -eo pid,comm [Pipeline] { [Pipeline] sh [2023-01-13T18:43:51.290Z] + touch /tmp/pre-build-complete [Pipeline] sh [2023-01-13T18:43:51.576Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2023-01-13T18:43:51.861Z] + ls /var/log/sa-host [2023-01-13T18:43:51.861Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-01-13T18:43:52.008Z] provisioning config files... [2023-01-13T18:43:52.015Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-rest-go_PR-238@tmp/config14592511661083798148tmp [Pipeline] { [Pipeline] echo [2023-01-13T18:43:52.031Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2023-01-13T18:43:52.313Z] ---> create-netrc.sh [Pipeline] } [2023-01-13T18:43:52.320Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2023-01-13T18:43:52.641Z] ---> python-tools-install.sh [Pipeline] echo [2023-01-13T18:43:52.649Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2023-01-13T18:43:52.931Z] ---> sudo-logs.sh [2023-01-13T18:43:52.931Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2023-01-13T18:43:52.961Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2023-01-13T18:43:53.247Z] ---> job-cost.sh [2023-01-13T18:43:53.247Z] lf-activate-venv: SKIPPING [2023-01-13T18:43:53.247Z] DEBUG: total: 0.2199999988079071 [2023-01-13T18:43:53.247Z] INFO: Retrieving Stack Cost... [2023-01-13T18:43:53.814Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-01-13T18:43:54.074Z] INFO: Archiving Costs [Pipeline] echo [2023-01-13T18:43:54.087Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2023-01-13T18:43:54.372Z] ---> logs-deploy.sh [2023-01-13T18:43:54.372Z] lf-activate-venv: SKIPPING [2023-01-13T18:43:54.372Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-rest-go/PR-238/2 [2023-01-13T18:43:54.372Z] INFO: archiving workspace using pattern(s): [2023-01-13T18:43:55.308Z] Archives upload complete. [2023-01-13T18:43:55.308Z] INFO: archiving logs to Nexus