Pull request #272 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 weichou1229 for edgexfoundry/device-rest-go Loading trusted files from base branch main at 2ded8c8301fa9285dc80bb471c5f0972abc0b73a rather than b7caf4fecae67d4eaa468c351b80470bfd20b785 Obtained Jenkinsfile from 2ded8c8301fa9285dc80bb471c5f0972abc0b73a 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-ssh11029714181925224774.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 66200e8eedfc470904d6b329e562ec5b45423d6a 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-ssh4418067644275396636.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 66200e8eedfc470904d6b329e562ec5b45423d6a 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-272/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-272/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh16231327799521720360.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 66200e8eedfc470904d6b329e562ec5b45423d6a (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 66200e8eedfc470904d6b329e562ec5b45423d6a # timeout=10 Commit message: "feat: add capability to use golang 1.20 (#427)" > 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-ssh6807582738535137349.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-272/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-272/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh16545269907896403225.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.20 USE_ALPINE: true DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-rest DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: false SWAGGER_API_FOLDERS: openapi/v1 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org SNYK_DEBUG: false [Pipeline] node Still waiting to schedule task ‘prd-ubuntu20.04-docker-8c-8g-4721’ is offline Running on prd-ubuntu20.04-docker-8c-8g-4723 in /w/workspace/gexfoundry_device-rest-go_PR-272 [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-272 # 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/272/head:refs/remotes/origin/PR-272 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit 2ded8c8301fa9285dc80bb471c5f0972abc0b73a into PR head commit b7caf4fecae67d4eaa468c351b80470bfd20b785 Merge succeeded, producing b7caf4fecae67d4eaa468c351b80470bfd20b785 Checking out Revision b7caf4fecae67d4eaa468c351b80470bfd20b785 (PR-272) > git config core.sparsecheckout # timeout=10 > git checkout -f b7caf4fecae67d4eaa468c351b80470bfd20b785 # 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 2ded8c8301fa9285dc80bb471c5f0972abc0b73a # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f b7caf4fecae67d4eaa468c351b80470bfd20b785 # timeout=10 Commit message: "build(deps)!: bump sdk to 3.0.0-dev.54" First time build. Skipping changelog. > git rev-list --no-walk 53d571398c6ea370e5c9d1329a3dd23e6e74a13a # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2023-03-21T04:50:55.302Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2023-03-21T04:50:55.370Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2023-03-21T04:50:55.390Z] ========================================================= [2023-03-21T04:50:55.390Z] EdgeX Global Pipelines Version Info [2023-03-21T04:50:55.390Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2023-03-21T04:50:56.097Z] ------------------- [2023-03-21T04:50:56.097Z] stable info: [2023-03-21T04:50:56.097Z] ------------------- [2023-03-21T04:50:56.097Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2023-03-21T04:50:56.097Z] Commit SHA: 66200e8eedfc470904d6b329e562ec5b45423d6a [2023-03-21T04:50:56.097Z] Message: update stable to v1.0.245 [2023-03-21T04:50:56.673Z] ------------------- [2023-03-21T04:50:56.673Z] experimental info: [2023-03-21T04:50:56.673Z] ------------------- [2023-03-21T04:50:56.673Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2023-03-21T04:50:56.673Z] Commit SHA: eb5041bb0874f6b7cdca3e6793e1ef87c0289dce [2023-03-21T04:50:56.673Z] Message: update experimental to v1.0.246 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2023-03-21T04:50:56.865Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-rest-go-settings [Pipeline] echo [2023-03-21T04:50:56.880Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-rest-go [Pipeline] echo [2023-03-21T04:50:56.893Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2023-03-21T04:50:56.907Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2023-03-21T04:50:56.916Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2023-03-21T04:50:56.925Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.20 [Pipeline] echo [2023-03-21T04:50:56.935Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2023-03-21T04:50:56.945Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2023-03-21T04:50:56.955Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2023-03-21T04:50:56.964Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2023-03-21T04:50:56.975Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2023-03-21T04:50:56.985Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-rest [Pipeline] echo [2023-03-21T04:50:56.994Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2023-03-21T04:50:57.005Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2023-03-21T04:50:57.015Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2023-03-21T04:50:57.024Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2023-03-21T04:50:57.034Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2023-03-21T04:50:57.043Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2023-03-21T04:50:57.053Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2023-03-21T04:50:57.063Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2023-03-21T04:50:57.073Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2023-03-21T04:50:57.082Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2023-03-21T04:50:57.092Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2023-03-21T04:50:57.102Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2023-03-21T04:50:57.111Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2023-03-21T04:50:57.121Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2023-03-21T04:50:57.131Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2023-03-21T04:50:57.140Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-272 [Pipeline] echo [2023-03-21T04:50:57.154Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-272 [Pipeline] echo [2023-03-21T04:50:57.169Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-272 [Pipeline] echo [2023-03-21T04:50:57.183Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = b7caf4fecae67d4eaa468c351b80470bfd20b785 [Pipeline] echo [2023-03-21T04:50:57.194Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = b7caf4f [Pipeline] echo [2023-03-21T04:50:57.208Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-03-21T04:50:57.253Z] provisioning config files... [2023-03-21T04:50:57.268Z] copy managed file [device-rest-go-settings] to file:/w/workspace/gexfoundry_device-rest-go_PR-272@tmp/config13869154318589083212tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-03-21T04:50:57.575Z] ---> docker-login.sh [2023-03-21T04:50:57.575Z] nexus3.edgexfoundry.org:10001 [2023-03-21T04:50:57.836Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-21T04:50:57.836Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-21T04:50:57.836Z] Configure a credential helper to remove this warning. See [2023-03-21T04:50:57.836Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-21T04:50:57.836Z] [2023-03-21T04:50:57.836Z] Login Succeeded [2023-03-21T04:50:57.836Z] nexus3.edgexfoundry.org:10002 [2023-03-21T04:50:57.836Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-21T04:50:58.097Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-21T04:50:58.097Z] Configure a credential helper to remove this warning. See [2023-03-21T04:50:58.097Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-21T04:50:58.097Z] [2023-03-21T04:50:58.097Z] Login Succeeded [2023-03-21T04:50:58.097Z] nexus3.edgexfoundry.org:10003 [2023-03-21T04:50:58.097Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-21T04:50:58.097Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-21T04:50:58.097Z] Configure a credential helper to remove this warning. See [2023-03-21T04:50:58.097Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-21T04:50:58.097Z] [2023-03-21T04:50:58.097Z] Login Succeeded [2023-03-21T04:50:58.097Z] nexus3.edgexfoundry.org:10004 [2023-03-21T04:50:58.097Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-21T04:50:58.097Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-21T04:50:58.097Z] Configure a credential helper to remove this warning. See [2023-03-21T04:50:58.097Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-21T04:50:58.097Z] [2023-03-21T04:50:58.097Z] Login Succeeded [2023-03-21T04:50:58.097Z] docker.io [2023-03-21T04:50:58.357Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-21T04:50:58.618Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-21T04:50:58.618Z] Configure a credential helper to remove this warning. See [2023-03-21T04:50:58.618Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-21T04:50:58.618Z] [2023-03-21T04:50:58.618Z] Login Succeeded [2023-03-21T04:50:58.618Z] ---> docker-login.sh ends [Pipeline] } [2023-03-21T04:50:58.625Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2023-03-21T04:50:59.002Z] + git rev-list -1 --merges b7caf4fecae67d4eaa468c351b80470bfd20b785~1..b7caf4fecae67d4eaa468c351b80470bfd20b785 [Pipeline] echo [2023-03-21T04:50:59.050Z] -----------> git rev-list -1 --merges b7caf4fecae67d4eaa468c351b80470bfd20b785~1..b7caf4fecae67d4eaa468c351b80470bfd20b785 b7caf4fecae67d4eaa468c351b80470bfd20b785 [false] [Pipeline] sh [2023-03-21T04:50:59.336Z] + git log --format=format:%s -1 b7caf4fecae67d4eaa468c351b80470bfd20b785 [Pipeline] echo [2023-03-21T04:50:59.350Z] ========================================================= [2023-03-21T04:50:59.350Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2023-03-21T04:50:59.350Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-03-21T04:50:59.676Z] + git log --format=format:%s -1 b7caf4fecae67d4eaa468c351b80470bfd20b785 [Pipeline] echo [2023-03-21T04:50:59.686Z] [semverPrep] GIT_COMMIT: b7caf4fecae67d4eaa468c351b80470bfd20b785, Commit Message: build(deps)!: bump sdk to 3.0.0-dev.54 [Pipeline] echo [2023-03-21T04:50:59.697Z] [semverPrep] This is not a build commit. [Pipeline] sh [2023-03-21T04:51:00.040Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-03-21T04:51:00.041Z] + grep -v github /etc/ssh/ssh_known_hosts [2023-03-21T04:51:00.041Z] + [ -e /tmp/ssh_known_hosts ] [2023-03-21T04:51:00.041Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2023-03-21T04:51:00.041Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2023-03-21T04:51:00.041Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2023-03-21T04:51:00.041Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-21T04:51:00.380Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-03-21T04:51:00.380Z] [2023-03-21T04:51:00.380Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-21T04:51:00.681Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-03-21T04:51:00.681Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2023-03-21T04:51:00.681Z] b85a868b505f: Pulling fs layer [2023-03-21T04:51:00.681Z] e2be974225ed: Pulling fs layer [2023-03-21T04:51:00.681Z] 339a4e72a1f5: Pulling fs layer [2023-03-21T04:51:00.681Z] 988bab9f4d93: Pulling fs layer [2023-03-21T04:51:00.681Z] 1469e6f7b9e6: Pulling fs layer [2023-03-21T04:51:00.681Z] eaf3925da568: Pulling fs layer [2023-03-21T04:51:00.681Z] bab4dde63d76: Pulling fs layer [2023-03-21T04:51:00.681Z] bde34c3a00c8: Pulling fs layer [2023-03-21T04:51:00.681Z] b352a97aabf1: Pulling fs layer [2023-03-21T04:51:00.681Z] 4872d77fe225: Pulling fs layer [2023-03-21T04:51:00.681Z] 5851b861e8e6: Pulling fs layer [2023-03-21T04:51:00.681Z] bde34c3a00c8: Waiting [2023-03-21T04:51:00.681Z] b352a97aabf1: Waiting [2023-03-21T04:51:00.681Z] 1469e6f7b9e6: Waiting [2023-03-21T04:51:00.681Z] 988bab9f4d93: Waiting [2023-03-21T04:51:00.681Z] eaf3925da568: Waiting [2023-03-21T04:51:00.681Z] bab4dde63d76: Waiting [2023-03-21T04:51:00.681Z] 4872d77fe225: Waiting [2023-03-21T04:51:00.681Z] e2be974225ed: Verifying Checksum [2023-03-21T04:51:00.681Z] e2be974225ed: Download complete [2023-03-21T04:51:00.681Z] 988bab9f4d93: Verifying Checksum [2023-03-21T04:51:00.681Z] 988bab9f4d93: Download complete [2023-03-21T04:51:00.940Z] 339a4e72a1f5: Verifying Checksum [2023-03-21T04:51:00.940Z] 339a4e72a1f5: Download complete [2023-03-21T04:51:00.940Z] 1469e6f7b9e6: Verifying Checksum [2023-03-21T04:51:00.940Z] 1469e6f7b9e6: Download complete [2023-03-21T04:51:00.940Z] eaf3925da568: Download complete [2023-03-21T04:51:00.940Z] bde34c3a00c8: Download complete [2023-03-21T04:51:00.940Z] b352a97aabf1: Verifying Checksum [2023-03-21T04:51:00.940Z] b352a97aabf1: Download complete [2023-03-21T04:51:00.940Z] 4872d77fe225: Verifying Checksum [2023-03-21T04:51:00.940Z] 4872d77fe225: Download complete [2023-03-21T04:51:00.940Z] 5851b861e8e6: Download complete [2023-03-21T04:51:00.940Z] b85a868b505f: Download complete [2023-03-21T04:51:01.199Z] bab4dde63d76: Verifying Checksum [2023-03-21T04:51:01.199Z] bab4dde63d76: Download complete [2023-03-21T04:51:02.133Z] b85a868b505f: Pull complete [2023-03-21T04:51:02.392Z] e2be974225ed: Pull complete [2023-03-21T04:51:02.651Z] 339a4e72a1f5: Pull complete [2023-03-21T04:51:02.910Z] 988bab9f4d93: Pull complete [2023-03-21T04:51:03.168Z] 1469e6f7b9e6: Pull complete [2023-03-21T04:51:03.168Z] eaf3925da568: Pull complete [2023-03-21T04:51:05.124Z] bab4dde63d76: Pull complete [2023-03-21T04:51:05.124Z] bde34c3a00c8: Pull complete [2023-03-21T04:51:05.124Z] b352a97aabf1: Pull complete [2023-03-21T04:51:05.124Z] 4872d77fe225: Pull complete [2023-03-21T04:51:05.124Z] 5851b861e8e6: Pull complete [2023-03-21T04:51:05.124Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2023-03-21T04:51:05.124Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-03-21T04:51:05.124Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-21T04:51:05.224Z] prd-ubuntu20.04-docker-8c-8g-4723 does not seem to be running inside a container [2023-03-21T04:51:05.258Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-rest-go_PR-272 -v /w/workspace/gexfoundry_device-rest-go_PR-272:/w/workspace/gexfoundry_device-rest-go_PR-272:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-272@tmp:/w/workspace/gexfoundry_device-rest-go_PR-272@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2023-03-21T04:51:07.386Z] $ docker top 7c96b3322183e30c9a8d67ed00affcbe9390e18d8c9171854997c0cfb7ef5f6a -eo pid,comm [2023-03-21T04:51:07.444Z] 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-03-21T04:51:07.444Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-03-21T04:51:07.490Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-03-21T04:51:07.490Z] [ssh-agent] Looking for ssh-agent implementation... [2023-03-21T04:51:07.615Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-03-21T04:51:07.622Z] $ docker exec 7c96b3322183e30c9a8d67ed00affcbe9390e18d8c9171854997c0cfb7ef5f6a ssh-agent [2023-03-21T04:51:07.728Z] SSH_AUTH_SOCK=/tmp/ssh-AXVzbmSCLtK3/agent.32 [2023-03-21T04:51:07.728Z] SSH_AGENT_PID=38 [2023-03-21T04:51:07.734Z] Running ssh-add (command line suppressed) [2023-03-21T04:51:07.835Z] Identity added: /w/workspace/gexfoundry_device-rest-go_PR-272@tmp/private_key_9896295621002622124.key (/w/workspace/gexfoundry_device-rest-go_PR-272@tmp/private_key_9896295621002622124.key) [2023-03-21T04:51:07.847Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-03-21T04:51:08.136Z] + git tag --points-at HEAD [Pipeline] } [2023-03-21T04:51:08.153Z] $ docker exec --env ******** --env ******** 7c96b3322183e30c9a8d67ed00affcbe9390e18d8c9171854997c0cfb7ef5f6a ssh-agent -k [2023-03-21T04:51:08.255Z] unset SSH_AUTH_SOCK; [2023-03-21T04:51:08.255Z] unset SSH_AGENT_PID; [2023-03-21T04:51:08.255Z] echo Agent pid 38 killed; [2023-03-21T04:51:08.262Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2023-03-21T04:51:08.290Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-03-21T04:51:08.290Z] [ssh-agent] Looking for ssh-agent implementation... [2023-03-21T04:51:08.396Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-03-21T04:51:08.402Z] $ docker exec 7c96b3322183e30c9a8d67ed00affcbe9390e18d8c9171854997c0cfb7ef5f6a ssh-agent [2023-03-21T04:51:08.505Z] SSH_AUTH_SOCK=/tmp/ssh-jzVfntC6Wwrc/agent.70 [2023-03-21T04:51:08.505Z] SSH_AGENT_PID=76 [2023-03-21T04:51:08.509Z] Running ssh-add (command line suppressed) [2023-03-21T04:51:08.628Z] Identity added: /w/workspace/gexfoundry_device-rest-go_PR-272@tmp/private_key_185059203394109599.key (/w/workspace/gexfoundry_device-rest-go_PR-272@tmp/private_key_185059203394109599.key) [2023-03-21T04:51:08.639Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-03-21T04:51:08.929Z] + git semver init [2023-03-21T04:51:09.188Z] 2023-03-21 04:51:09,124 [run_init] DEBUG init version:0.0.0 force:False [2023-03-21T04:51:09.188Z] 2023-03-21 04:51:09,125 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/gexfoundry_device-rest-go_PR-272/.semver [2023-03-21T04:51:09.188Z] 2023-03-21 04:51:09,125 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-rest-go.git /w/workspace/gexfoundry_device-rest-go_PR-272/.semver [2023-03-21T04:51:09.188Z] 2023-03-21 04:51:09,126 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-rest-go.git', '/w/workspace/gexfoundry_device-rest-go_PR-272/.semver'], cwd=/w/workspace/gexfoundry_device-rest-go_PR-272, universal_newlines=False, shell=None, istream=None) [2023-03-21T04:51:10.567Z] 2023-03-21 04:51:10,137 [append_file] DEBUG append to file:/w/workspace/gexfoundry_device-rest-go_PR-272/.git/info/exclude [2023-03-21T04:51:10.567Z] 2023-03-21 04:51:10,138 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/gexfoundry_device-rest-go_PR-272/.semver/PR-272 with force:False [2023-03-21T04:51:10.567Z] 2023-03-21 04:51:10,138 [write_file] DEBUG write to file:/w/workspace/gexfoundry_device-rest-go_PR-272/.semver/PR-272 [2023-03-21T04:51:10.567Z] 2023-03-21 04:51:10,144 [execute] INFO git cat-file --batch-check [2023-03-21T04:51:10.567Z] 2023-03-21 04:51:10,144 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/gexfoundry_device-rest-go_PR-272/.semver, universal_newlines=False, shell=None, istream=) [2023-03-21T04:51:10.567Z] 2023-03-21 04:51:10,151 [execute] INFO git cat-file --batch [2023-03-21T04:51:10.567Z] 2023-03-21 04:51:10,151 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/gexfoundry_device-rest-go_PR-272/.semver, universal_newlines=False, shell=None, istream=) [2023-03-21T04:51:10.567Z] 2023-03-21 04:51:10,157 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-rest-go_PR-272/.semver/PR-272 [2023-03-21T04:51:10.567Z] 0.0.0 [Pipeline] } [2023-03-21T04:51:10.582Z] $ docker exec --env ******** --env ******** 7c96b3322183e30c9a8d67ed00affcbe9390e18d8c9171854997c0cfb7ef5f6a ssh-agent -k [2023-03-21T04:51:10.688Z] unset SSH_AUTH_SOCK; [2023-03-21T04:51:10.689Z] unset SSH_AGENT_PID; [2023-03-21T04:51:10.689Z] echo Agent pid 76 killed; [2023-03-21T04:51:10.694Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-03-21T04:51:11.005Z] + git semver [Pipeline] } [2023-03-21T04:51:11.281Z] $ docker stop --time=1 7c96b3322183e30c9a8d67ed00affcbe9390e18d8c9171854997c0cfb7ef5f6a [2023-03-21T04:51:12.579Z] $ docker rm -f --volumes 7c96b3322183e30c9a8d67ed00affcbe9390e18d8c9171854997c0cfb7ef5f6a [Pipeline] // withDockerContainer [Pipeline] sh [2023-03-21T04:51:12.917Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2023-03-21T04:51:13.120Z] Stashed 1 file(s) [Pipeline] echo [2023-03-21T04:51:13.123Z] [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-03-21T04:51:13.278Z] provisioning config files... [2023-03-21T04:51:13.290Z] copy managed file [device-rest-go-settings] to file:/w/workspace/gexfoundry_device-rest-go_PR-272@tmp/config18075177810345243244tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-03-21T04:51:13.583Z] ---> docker-login.sh [2023-03-21T04:51:13.583Z] nexus3.edgexfoundry.org:10001 [2023-03-21T04:51:13.583Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-21T04:51:13.583Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-21T04:51:13.583Z] Configure a credential helper to remove this warning. See [2023-03-21T04:51:13.583Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-21T04:51:13.583Z] [2023-03-21T04:51:13.583Z] Login Succeeded [2023-03-21T04:51:13.583Z] nexus3.edgexfoundry.org:10002 [2023-03-21T04:51:13.583Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-21T04:51:13.583Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-21T04:51:13.583Z] Configure a credential helper to remove this warning. See [2023-03-21T04:51:13.583Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-21T04:51:13.583Z] [2023-03-21T04:51:13.583Z] Login Succeeded [2023-03-21T04:51:13.583Z] nexus3.edgexfoundry.org:10003 [2023-03-21T04:51:13.842Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-21T04:51:13.842Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-21T04:51:13.842Z] Configure a credential helper to remove this warning. See [2023-03-21T04:51:13.842Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-21T04:51:13.842Z] [2023-03-21T04:51:13.842Z] Login Succeeded [2023-03-21T04:51:13.842Z] nexus3.edgexfoundry.org:10004 [2023-03-21T04:51:13.842Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-21T04:51:13.842Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-21T04:51:13.842Z] Configure a credential helper to remove this warning. See [2023-03-21T04:51:13.842Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-21T04:51:13.842Z] [2023-03-21T04:51:13.842Z] Login Succeeded [2023-03-21T04:51:13.842Z] docker.io [2023-03-21T04:51:14.101Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-21T04:51:14.101Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-21T04:51:14.101Z] Configure a credential helper to remove this warning. See [2023-03-21T04:51:14.101Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-21T04:51:14.101Z] [2023-03-21T04:51:14.101Z] Login Succeeded [2023-03-21T04:51:14.101Z] ---> docker-login.sh ends [Pipeline] } [2023-03-21T04:51:14.109Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-03-21T04:51:14.173Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-03-21T04:51:14.189Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-03-21T04:51:14.197Z] ========================================================= [2023-03-21T04:51:14.197Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine] [2023-03-21T04:51:14.197Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-21T04:51:14.582Z] + docker build -t ci-base-image-x86_64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine --build-arg MAKE=echo noop --target=builder . [2023-03-21T04:51:14.583Z] Sending build context to Docker daemon 10.86MB [2023-03-21T04:51:14.583Z] Step 1/12 : ARG BASE=golang:1.20-alpine3.17 [2023-03-21T04:51:14.583Z] Step 2/12 : FROM ${BASE} AS builder [2023-03-21T04:51:14.583Z] 1.20-alpine: Pulling from edgex-devops/edgex-golang-base [2023-03-21T04:51:14.583Z] 63b65145d645: Pulling fs layer [2023-03-21T04:51:14.583Z] a2d21d5440eb: Pulling fs layer [2023-03-21T04:51:14.583Z] 935e6c44a52c: Pulling fs layer [2023-03-21T04:51:14.583Z] 94cc34f8dd06: Pulling fs layer [2023-03-21T04:51:14.583Z] 30dea6a524f1: Pulling fs layer [2023-03-21T04:51:14.583Z] a2aff8979fd8: Pulling fs layer [2023-03-21T04:51:14.583Z] 6808be2612f2: Pulling fs layer [2023-03-21T04:51:14.583Z] f25807f1079a: Pulling fs layer [2023-03-21T04:51:14.583Z] 94cc34f8dd06: Waiting [2023-03-21T04:51:14.583Z] 30dea6a524f1: Waiting [2023-03-21T04:51:14.583Z] a2aff8979fd8: Waiting [2023-03-21T04:51:14.583Z] 6808be2612f2: Waiting [2023-03-21T04:51:14.583Z] f25807f1079a: Waiting [2023-03-21T04:51:14.583Z] a2d21d5440eb: Verifying Checksum [2023-03-21T04:51:14.583Z] a2d21d5440eb: Download complete [2023-03-21T04:51:14.583Z] 94cc34f8dd06: Verifying Checksum [2023-03-21T04:51:14.583Z] 94cc34f8dd06: Download complete [2023-03-21T04:51:14.844Z] 30dea6a524f1: Download complete [2023-03-21T04:51:14.844Z] 63b65145d645: Verifying Checksum [2023-03-21T04:51:14.844Z] 63b65145d645: Download complete [2023-03-21T04:51:14.844Z] a2aff8979fd8: Verifying Checksum [2023-03-21T04:51:14.844Z] a2aff8979fd8: Download complete [2023-03-21T04:51:14.844Z] 63b65145d645: Pull complete [2023-03-21T04:51:15.110Z] a2d21d5440eb: Pull complete [2023-03-21T04:51:15.371Z] f25807f1079a: Verifying Checksum [2023-03-21T04:51:15.371Z] f25807f1079a: Download complete [2023-03-21T04:51:15.371Z] 935e6c44a52c: Verifying Checksum [2023-03-21T04:51:15.371Z] 935e6c44a52c: Download complete [2023-03-21T04:51:15.629Z] 6808be2612f2: Verifying Checksum [2023-03-21T04:51:15.629Z] 6808be2612f2: Download complete [2023-03-21T04:51:18.913Z] 935e6c44a52c: Pull complete [2023-03-21T04:51:18.913Z] 94cc34f8dd06: Pull complete [2023-03-21T04:51:18.913Z] 30dea6a524f1: Pull complete [2023-03-21T04:51:18.913Z] a2aff8979fd8: Pull complete [2023-03-21T04:51:21.439Z] 6808be2612f2: Pull complete [2023-03-21T04:51:21.698Z] f25807f1079a: Pull complete [2023-03-21T04:51:21.698Z] Digest: sha256:106942793af8b5907f587008084bb0888cadbc76d86ebd37d4d3227fb0f1e438 [2023-03-21T04:51:21.698Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine [2023-03-21T04:51:21.698Z] ---> 3b553350e43f [2023-03-21T04:51:21.698Z] Step 3/12 : ARG ADD_BUILD_TAGS="" [2023-03-21T04:51:24.992Z] ---> Running in bbbfc05468a9 [2023-03-21T04:51:24.992Z] Removing intermediate container bbbfc05468a9 [2023-03-21T04:51:24.992Z] ---> 9241b3ce9cf7 [2023-03-21T04:51:24.992Z] Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-03-21T04:51:24.992Z] ---> Running in 1c4d371d3179 [2023-03-21T04:51:24.992Z] Removing intermediate container 1c4d371d3179 [2023-03-21T04:51:24.992Z] ---> 9e340fd9820f [2023-03-21T04:51:24.992Z] Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client" [2023-03-21T04:51:24.992Z] ---> Running in c55ede8fb37b [2023-03-21T04:51:25.251Z] Removing intermediate container c55ede8fb37b [2023-03-21T04:51:25.251Z] ---> 6a92a56f8e39 [2023-03-21T04:51:25.251Z] Step 6/12 : ARG ALPINE_PKG_EXTRA="" [2023-03-21T04:51:25.251Z] ---> Running in 44a7be1a4028 [2023-03-21T04:51:25.251Z] Removing intermediate container 44a7be1a4028 [2023-03-21T04:51:25.251Z] ---> 23b950159496 [2023-03-21T04:51:25.251Z] Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-03-21T04:51:25.251Z] ---> Running in 6caa547a6d3e [2023-03-21T04:51:25.509Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz [2023-03-21T04:51:25.768Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz [2023-03-21T04:51:26.026Z] (1/4) Installing openssh-keygen (9.1_p1-r2) [2023-03-21T04:51:26.026Z] (2/4) Installing libedit (20221030.3.1-r0) [2023-03-21T04:51:26.026Z] (3/4) Installing openssh-client-common (9.1_p1-r2) [2023-03-21T04:51:26.026Z] (4/4) Installing openssh-client-default (9.1_p1-r2) [2023-03-21T04:51:26.026Z] Executing busybox-1.35.0-r29.trigger [2023-03-21T04:51:26.026Z] OK: 269 MiB in 57 packages [2023-03-21T04:51:26.592Z] Removing intermediate container 6caa547a6d3e [2023-03-21T04:51:26.592Z] ---> 334439532f02 [2023-03-21T04:51:26.592Z] Step 8/12 : WORKDIR /device-rest-go [2023-03-21T04:51:26.592Z] ---> Running in 6ba53a6bf46a [2023-03-21T04:51:26.592Z] Removing intermediate container 6ba53a6bf46a [2023-03-21T04:51:26.592Z] ---> 0931c536cd00 [2023-03-21T04:51:26.592Z] Step 9/12 : COPY go.mod vendor* ./ [2023-03-21T04:51:26.592Z] ---> f99d52a00928 [2023-03-21T04:51:26.592Z] Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-03-21T04:51:26.592Z] ---> Running in e3927f254914 [2023-03-21T04:51:28.223Z] Still waiting to schedule task [2023-03-21T04:51:28.223Z] ‘prd-ubuntu20.04-docker-arm64-4c-16g-4722’ is offline [2023-03-21T04:51:53.143Z] Removing intermediate container e3927f254914 [2023-03-21T04:51:53.144Z] ---> ccace1c78ca6 [2023-03-21T04:51:53.144Z] Step 11/12 : COPY . . [2023-03-21T04:51:53.144Z] ---> 8a6181396486 [2023-03-21T04:51:53.144Z] Step 12/12 : RUN $MAKE [2023-03-21T04:51:53.144Z] ---> Running in a995794cd6b2 [2023-03-21T04:51:53.144Z] noop [2023-03-21T04:51:53.144Z] Removing intermediate container a995794cd6b2 [2023-03-21T04:51:53.144Z] ---> f2af5ee9e7c7 [2023-03-21T04:51:53.144Z] Successfully built f2af5ee9e7c7 [2023-03-21T04:51:53.144Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-21T04:51:53.453Z] + docker inspect -f . ci-base-image-x86_64 [2023-03-21T04:51:53.453Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-21T04:51:53.521Z] prd-ubuntu20.04-docker-8c-8g-4723 does not seem to be running inside a container [2023-03-21T04:51:53.547Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-rest-go_PR-272 -v /w/workspace/gexfoundry_device-rest-go_PR-272:/w/workspace/gexfoundry_device-rest-go_PR-272:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-272@tmp:/w/workspace/gexfoundry_device-rest-go_PR-272@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2023-03-21T04:51:53.902Z] $ docker top 9577e5be86d678892a1c387025cabf156ff6e7063212026e4f77b62615cd5156 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-03-21T04:51:54.248Z] + go version [2023-03-21T04:51:54.248Z] go version go1.20.2 linux/amd64 [Pipeline] } [2023-03-21T04:51:54.261Z] $ docker stop --time=1 9577e5be86d678892a1c387025cabf156ff6e7063212026e4f77b62615cd5156 [2023-03-21T04:51:55.543Z] $ docker rm -f --volumes 9577e5be86d678892a1c387025cabf156ff6e7063212026e4f77b62615cd5156 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-21T04:51:55.952Z] + docker inspect -f . ci-base-image-x86_64 [2023-03-21T04:51:55.952Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-21T04:51:56.021Z] prd-ubuntu20.04-docker-8c-8g-4723 does not seem to be running inside a container [2023-03-21T04:51:56.055Z] $ 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-272 -v /w/workspace/gexfoundry_device-rest-go_PR-272:/w/workspace/gexfoundry_device-rest-go_PR-272:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-272@tmp:/w/workspace/gexfoundry_device-rest-go_PR-272@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2023-03-21T04:51:56.397Z] $ docker top dcffac51bacb0152a59126f00465de8a42348253d7cc97a553d50074b9796949 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-03-21T04:51:56.741Z] + git config --global --add safe.directory /w/workspace/gexfoundry_device-rest-go_PR-272 [Pipeline] fileExists [Pipeline] sh [2023-03-21T04:51:57.038Z] + make test [2023-03-21T04:51:57.038Z] go test ./... -coverprofile=coverage.out ./... [2023-03-21T04:52:02.308Z] ? github.com/edgexfoundry/device-rest-go [no test files] [2023-03-21T04:52:12.283Z] ? github.com/edgexfoundry/device-rest-go/cmd [no test files] [2023-03-21T04:52:12.283Z] ok github.com/edgexfoundry/device-rest-go/driver 0.012s coverage: 33.0% of statements [2023-03-21T04:52:17.556Z] go vet ./... [2023-03-21T04:52:21.741Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-03-21T04:52:21.741Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2023-03-21T04:52:21.741Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2023-03-21T04:52:21.752Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2023-03-21T04:52:21.764Z] $ docker stop --time=1 dcffac51bacb0152a59126f00465de8a42348253d7cc97a553d50074b9796949 [2023-03-21T04:52:24.423Z] $ docker rm -f --volumes dcffac51bacb0152a59126f00465de8a42348253d7cc97a553d50074b9796949 [Pipeline] // withDockerContainer [Pipeline] sh [2023-03-21T04:52:24.878Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2023-03-21T04:52:24.913Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2023-03-21T04:52:25.392Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-03-21T04:52:25.674Z] + ls -al . [2023-03-21T04:52:25.675Z] total 184 [2023-03-21T04:52:25.675Z] drwxrwxr-x 9 jenkins jenkins 4096 Mar 21 04:51 . [2023-03-21T04:52:25.675Z] drwxrwxr-x 4 jenkins jenkins 4096 Mar 21 04:50 .. [2023-03-21T04:52:25.675Z] -rw-rw-r-- 1 jenkins jenkins 151 Mar 21 04:50 .dockerignore [2023-03-21T04:52:25.675Z] drwxrwxr-x 8 jenkins jenkins 4096 Mar 21 04:51 .git [2023-03-21T04:52:25.675Z] drwxrwxr-x 3 jenkins jenkins 4096 Mar 21 04:50 .github [2023-03-21T04:52:25.675Z] -rw-rw-r-- 1 jenkins jenkins 329 Mar 21 04:50 .gitignore [2023-03-21T04:52:25.675Z] -rw-rw-r-- 1 jenkins jenkins 41 Mar 21 04:50 .golangci.yml [2023-03-21T04:52:25.675Z] drwxr-xr-x 3 jenkins jenkins 4096 Mar 21 04:51 .semver [2023-03-21T04:52:25.675Z] -rw-rw-r-- 1 jenkins jenkins 9321 Mar 21 04:50 Attribution.txt [2023-03-21T04:52:25.675Z] -rw-rw-r-- 1 jenkins jenkins 13085 Mar 21 04:50 CHANGELOG.md [2023-03-21T04:52:25.675Z] -rw-rw-r-- 1 jenkins jenkins 1578 Mar 21 04:50 Dockerfile [2023-03-21T04:52:25.675Z] -rw-rw-r-- 1 jenkins jenkins 677 Mar 21 04:50 GOVERNANCE.md [2023-03-21T04:52:25.675Z] -rw-rw-r-- 1 jenkins jenkins 680 Mar 21 04:50 Jenkinsfile [2023-03-21T04:52:25.675Z] -rw-rw-r-- 1 jenkins jenkins 11340 Mar 21 04:50 LICENSE [2023-03-21T04:52:25.675Z] -rw-rw-r-- 1 jenkins jenkins 1779 Mar 21 04:50 Makefile [2023-03-21T04:52:25.675Z] -rw-rw-r-- 1 jenkins jenkins 620 Mar 21 04:50 OWNERS.md [2023-03-21T04:52:25.675Z] -rw-rw-r-- 1 jenkins jenkins 15447 Mar 21 04:50 README.md [2023-03-21T04:52:25.675Z] -rw-rw-r-- 1 jenkins jenkins 5 Mar 21 04:51 VERSION [2023-03-21T04:52:25.675Z] drwxrwxr-x 2 jenkins jenkins 4096 Mar 21 04:50 bin [2023-03-21T04:52:25.675Z] drwxrwxr-x 3 jenkins jenkins 4096 Mar 21 04:50 cmd [2023-03-21T04:52:25.675Z] -rw-r--r-- 1 jenkins jenkins 14200 Mar 21 04:52 coverage.out [2023-03-21T04:52:25.675Z] drwxrwxr-x 2 jenkins jenkins 4096 Mar 21 04:50 driver [2023-03-21T04:52:25.675Z] -rw-rw-r-- 1 jenkins jenkins 3446 Mar 21 04:50 go.mod [2023-03-21T04:52:25.675Z] -rw-rw-r-- 1 jenkins jenkins 31299 Mar 21 04:50 go.sum [2023-03-21T04:52:25.675Z] drwxrwxr-x 4 jenkins jenkins 4096 Mar 21 04:50 snap [2023-03-21T04:52:25.675Z] -rw-rw-r-- 1 jenkins jenkins 713 Mar 21 04:50 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-21T04:52:25.998Z] + 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=b7caf4fecae67d4eaa468c351b80470bfd20b785 --label arch=amd64 --label version=0.0.0 . [2023-03-21T04:52:25.998Z] Sending build context to Docker daemon 10.87MB [2023-03-21T04:52:25.998Z] Step 1/25 : ARG BASE=golang:1.20-alpine3.17 [2023-03-21T04:52:25.998Z] Step 2/25 : FROM ${BASE} AS builder [2023-03-21T04:52:25.998Z] ---> f2af5ee9e7c7 [2023-03-21T04:52:25.998Z] Step 3/25 : ARG ADD_BUILD_TAGS="" [2023-03-21T04:52:26.258Z] ---> Running in ad1f8ba9b783 [2023-03-21T04:52:26.258Z] Removing intermediate container ad1f8ba9b783 [2023-03-21T04:52:26.258Z] ---> 165ff6ee0465 [2023-03-21T04:52:26.258Z] Step 4/25 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-03-21T04:52:26.258Z] ---> Running in e633c0cc9fe7 [2023-03-21T04:52:26.258Z] Removing intermediate container e633c0cc9fe7 [2023-03-21T04:52:26.258Z] ---> 847fa5a3e052 [2023-03-21T04:52:26.258Z] Step 5/25 : ARG ALPINE_PKG_BASE="make git openssh-client" [2023-03-21T04:52:26.258Z] ---> Running in 87771599c795 [2023-03-21T04:52:26.258Z] Removing intermediate container 87771599c795 [2023-03-21T04:52:26.258Z] ---> d5eb0cdcb803 [2023-03-21T04:52:26.258Z] Step 6/25 : ARG ALPINE_PKG_EXTRA="" [2023-03-21T04:52:26.516Z] ---> Running in efb9cb1a7d95 [2023-03-21T04:52:26.516Z] Removing intermediate container efb9cb1a7d95 [2023-03-21T04:52:26.516Z] ---> dad8b9d1cde8 [2023-03-21T04:52:26.516Z] Step 7/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-03-21T04:52:26.516Z] ---> Running in e495f9f8ac6a [2023-03-21T04:52:26.775Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz [2023-03-21T04:52:26.775Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz [2023-03-21T04:52:27.035Z] OK: 269 MiB in 57 packages [2023-03-21T04:52:27.294Z] Removing intermediate container e495f9f8ac6a [2023-03-21T04:52:27.294Z] ---> 70108d5c4cd9 [2023-03-21T04:52:27.294Z] Step 8/25 : WORKDIR /device-rest-go [2023-03-21T04:52:27.294Z] ---> Running in 341c09396d1d [2023-03-21T04:52:27.553Z] Removing intermediate container 341c09396d1d [2023-03-21T04:52:27.553Z] ---> 057946d99aab [2023-03-21T04:52:27.553Z] Step 9/25 : COPY go.mod vendor* ./ [2023-03-21T04:52:27.553Z] ---> a563c698e5b7 [2023-03-21T04:52:27.553Z] Step 10/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-03-21T04:52:27.553Z] ---> Running in abec2f7b568b [2023-03-21T04:52:28.488Z] Removing intermediate container abec2f7b568b [2023-03-21T04:52:28.488Z] ---> f210766a0214 [2023-03-21T04:52:28.488Z] Step 11/25 : COPY . . [2023-03-21T04:52:28.746Z] ---> 5d43894a9087 [2023-03-21T04:52:28.746Z] Step 12/25 : RUN $MAKE [2023-03-21T04:52:29.004Z] ---> Running in 4c8c61187901 [2023-03-21T04:52:29.262Z] 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-03-21T04:52:47.334Z] Removing intermediate container 4c8c61187901 [2023-03-21T04:52:47.334Z] ---> 318e7f162581 [2023-03-21T04:52:47.334Z] Step 13/25 : FROM alpine:3.17 [2023-03-21T04:52:47.334Z] 3.17: Pulling from library/alpine [2023-03-21T04:52:47.334Z] 63b65145d645: Already exists [2023-03-21T04:52:47.334Z] Digest: sha256:ff6bdca1701f3a8a67e328815ff2346b0e4067d32ec36b7992c1fdc001dc8517 [2023-03-21T04:52:47.334Z] Status: Downloaded newer image for alpine:3.17 [2023-03-21T04:52:47.334Z] ---> b2aa39c304c2 [2023-03-21T04:52:47.334Z] Step 14/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' [2023-03-21T04:52:47.334Z] ---> Running in 557987f2268a [2023-03-21T04:52:47.334Z] Removing intermediate container 557987f2268a [2023-03-21T04:52:47.334Z] ---> 4a79c2f9d94d [2023-03-21T04:52:47.334Z] Step 15/25 : LABEL Name=device-rest-go Version=${VERSION} [2023-03-21T04:52:47.334Z] ---> Running in 1d6476f9f5d4 [2023-03-21T04:52:47.334Z] Removing intermediate container 1d6476f9f5d4 [2023-03-21T04:52:47.334Z] ---> ea07c61d1b20 [2023-03-21T04:52:47.334Z] Step 16/25 : RUN apk add --update --no-cache dumb-init [2023-03-21T04:52:47.334Z] ---> Running in 7a4f7afe2158 [2023-03-21T04:52:47.334Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz [2023-03-21T04:52:47.592Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz [2023-03-21T04:52:47.592Z] (1/1) Installing dumb-init (1.2.5-r2) [2023-03-21T04:52:47.592Z] Executing busybox-1.35.0-r29.trigger [2023-03-21T04:52:47.592Z] OK: 7 MiB in 16 packages [2023-03-21T04:52:48.157Z] Removing intermediate container 7a4f7afe2158 [2023-03-21T04:52:48.157Z] ---> c673d2dbd4b9 [2023-03-21T04:52:48.157Z] Step 17/25 : COPY --from=builder /device-rest-go/cmd / [2023-03-21T04:52:48.727Z] ---> 4e05575432c9 [2023-03-21T04:52:48.727Z] Step 18/25 : COPY --from=builder /device-rest-go/LICENSE / [2023-03-21T04:52:48.727Z] ---> 278b252cebbb [2023-03-21T04:52:48.727Z] Step 19/25 : COPY --from=builder /device-rest-go/Attribution.txt / [2023-03-21T04:52:48.985Z] ---> 8041394bf084 [2023-03-21T04:52:48.985Z] Step 20/25 : EXPOSE 59986 [2023-03-21T04:52:48.985Z] ---> Running in b45fe64c02be [2023-03-21T04:52:48.985Z] Removing intermediate container b45fe64c02be [2023-03-21T04:52:48.985Z] ---> 7f3c7d75c5d9 [2023-03-21T04:52:48.985Z] Step 21/25 : ENTRYPOINT ["/device-rest"] [2023-03-21T04:52:48.985Z] ---> Running in d8acc159e186 [2023-03-21T04:52:49.244Z] Removing intermediate container d8acc159e186 [2023-03-21T04:52:49.244Z] ---> 4c95c9060501 [2023-03-21T04:52:49.244Z] Step 22/25 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry"] [2023-03-21T04:52:49.244Z] ---> Running in c462e469e19a [2023-03-21T04:52:49.244Z] Removing intermediate container c462e469e19a [2023-03-21T04:52:49.244Z] ---> c277cc99c707 [2023-03-21T04:52:49.244Z] Step 23/25 : LABEL arch=amd64 [2023-03-21T04:52:49.244Z] ---> Running in 2ea03c69d39f [2023-03-21T04:52:49.244Z] Removing intermediate container 2ea03c69d39f [2023-03-21T04:52:49.244Z] ---> aa6be11f8e44 [2023-03-21T04:52:49.244Z] Step 24/25 : LABEL git_sha=b7caf4fecae67d4eaa468c351b80470bfd20b785 [2023-03-21T04:52:49.244Z] ---> Running in 110e2bddd0ba [2023-03-21T04:52:49.503Z] Removing intermediate container 110e2bddd0ba [2023-03-21T04:52:49.503Z] ---> 851a2b8ef13e [2023-03-21T04:52:49.503Z] Step 25/25 : LABEL version=0.0.0 [2023-03-21T04:52:49.503Z] ---> Running in 354d5dc6df64 [2023-03-21T04:52:49.503Z] Removing intermediate container 354d5dc6df64 [2023-03-21T04:52:49.503Z] ---> 099ee9be3976 [2023-03-21T04:52:49.503Z] [Warning] One or more build-args [ARCH] were not consumed [2023-03-21T04:52:49.503Z] Successfully built 099ee9be3976 [2023-03-21T04:52:49.503Z] 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-03-21T04:52:49.926Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-03-21T04:52:49.926Z] [2023-03-21T04:52:49.926Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-21T04:52:50.220Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-03-21T04:52:50.220Z] latest: Pulling from edgex-lftools-log-publisher [2023-03-21T04:52:50.220Z] 5eb5b503b376: Pulling fs layer [2023-03-21T04:52:50.220Z] 5c69ac0246d0: Pulling fs layer [2023-03-21T04:52:50.220Z] ec43610c2a17: Pulling fs layer [2023-03-21T04:52:50.220Z] 3a2ae6a8a46f: Pulling fs layer [2023-03-21T04:52:50.220Z] 33b1e0a273af: Pulling fs layer [2023-03-21T04:52:50.220Z] 5d3b04190fa2: Pulling fs layer [2023-03-21T04:52:50.220Z] 2f39f015ded8: Pulling fs layer [2023-03-21T04:52:50.220Z] 3a2ae6a8a46f: Waiting [2023-03-21T04:52:50.220Z] 33b1e0a273af: Waiting [2023-03-21T04:52:50.220Z] 5d3b04190fa2: Waiting [2023-03-21T04:52:50.220Z] 2f39f015ded8: Waiting [2023-03-21T04:52:50.220Z] 5c69ac0246d0: Download complete [2023-03-21T04:52:50.220Z] 3a2ae6a8a46f: Verifying Checksum [2023-03-21T04:52:50.220Z] 3a2ae6a8a46f: Download complete [2023-03-21T04:52:50.220Z] 33b1e0a273af: Verifying Checksum [2023-03-21T04:52:50.220Z] 33b1e0a273af: Download complete [2023-03-21T04:52:50.482Z] 5d3b04190fa2: Verifying Checksum [2023-03-21T04:52:50.482Z] 5d3b04190fa2: Download complete [2023-03-21T04:52:50.482Z] ec43610c2a17: Verifying Checksum [2023-03-21T04:52:50.482Z] ec43610c2a17: Download complete [2023-03-21T04:52:50.482Z] 5eb5b503b376: Verifying Checksum [2023-03-21T04:52:50.482Z] 5eb5b503b376: Download complete [2023-03-21T04:52:51.049Z] 2f39f015ded8: Download complete [2023-03-21T04:52:51.613Z] 5eb5b503b376: Pull complete [2023-03-21T04:52:51.870Z] 5c69ac0246d0: Pull complete [2023-03-21T04:52:52.437Z] ec43610c2a17: Pull complete [2023-03-21T04:52:52.437Z] 3a2ae6a8a46f: Pull complete [2023-03-21T04:52:52.694Z] 33b1e0a273af: Pull complete [2023-03-21T04:52:52.694Z] 5d3b04190fa2: Pull complete [2023-03-21T04:52:56.877Z] 2f39f015ded8: Pull complete [2023-03-21T04:52:56.877Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2023-03-21T04:52:56.877Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-03-21T04:52:56.877Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-21T04:52:56.958Z] prd-ubuntu20.04-docker-8c-8g-4723 does not seem to be running inside a container [2023-03-21T04:52:56.989Z] $ 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-272 -v /w/workspace/gexfoundry_device-rest-go_PR-272:/w/workspace/gexfoundry_device-rest-go_PR-272:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-272@tmp:/w/workspace/gexfoundry_device-rest-go_PR-272@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-03-21T04:52:58.692Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-4724 in /w/workspace/gexfoundry_device-rest-go_PR-272 [2023-03-21T04:53:00.013Z] $ docker top 9b135f60801cf3e5d6430b1f3dec3b486a017455db8c2757235f65c19e513887 -eo pid,comm [Pipeline] { [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [Pipeline] ws [2023-03-21T04:53:00.137Z] Running in /w/workspace/device-rest-go/4 [Pipeline] { [Pipeline] checkout [2023-03-21T04:53:00.174Z] The recommended git tool is: git [2023-03-21T04:53:00.390Z] ---> job-cost.sh [2023-03-21T04:53:00.390Z] lf-activate-venv: SKIPPING [2023-03-21T04:53:00.390Z] INFO: No Stack... [2023-03-21T04:53:00.648Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-03-21T04:53:01.212Z] INFO: Archiving Costs [Pipeline] sh [2023-03-21T04:53:01.494Z] + cat /w/workspace/gexfoundry_device-rest-go_PR-272/archives/cost.csv [2023-03-21T04:53:01.494Z] + cut -d, -f6 [Pipeline] lock [2023-03-21T04:53:01.503Z] Trying to acquire lock on [jenkins-edgexfoundry-device-rest-go-PR-272-4-stack-cost] [2023-03-21T04:53:01.511Z] Resource [jenkins-edgexfoundry-device-rest-go-PR-272-4-stack-cost] did not exist. Created. [2023-03-21T04:53:01.511Z] Lock acquired on [jenkins-edgexfoundry-device-rest-go-PR-272-4-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-03-21T04:53:01.805Z] + echo total: 0.2199999988079071 [Pipeline] stash [2023-03-21T04:53:01.823Z] Stashed 1 file(s) [Pipeline] } [2023-03-21T04:53:01.833Z] Lock released on resource [jenkins-edgexfoundry-device-rest-go-PR-272-4-stack-cost] [Pipeline] // lock [Pipeline] } [2023-03-21T04:53:01.856Z] $ docker stop --time=1 9b135f60801cf3e5d6430b1f3dec3b486a017455db8c2757235f65c19e513887 [2023-03-21T04:53:03.015Z] $ docker rm -f --volumes 9b135f60801cf3e5d6430b1f3dec3b486a017455db8c2757235f65c19e513887 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2023-03-21T04:53:05.673Z] using credential edgex-jenkins-ssh [2023-03-21T04:53:05.694Z] Cloning the remote Git repository [2023-03-21T04:53:05.744Z] Cloning repository git@github.com:edgexfoundry/device-rest-go.git [2023-03-21T04:53:05.840Z] > git init /w/workspace/device-rest-go/4 # timeout=10 [2023-03-21T04:53:05.993Z] Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git [2023-03-21T04:53:05.995Z] > git --version # timeout=10 [2023-03-21T04:53:06.020Z] > git --version # 'git version 2.25.1' [2023-03-21T04:53:06.023Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-03-21T04:53:06.176Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-03-21T04:53:08.016Z] > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 [2023-03-21T04:53:08.038Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-03-21T04:53:08.939Z] > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 [2023-03-21T04:53:09.572Z] Merging remotes/origin/main commit 2ded8c8301fa9285dc80bb471c5f0972abc0b73a into PR head commit b7caf4fecae67d4eaa468c351b80470bfd20b785 [2023-03-21T04:53:09.851Z] Merge succeeded, producing b7caf4fecae67d4eaa468c351b80470bfd20b785 [2023-03-21T04:53:09.851Z] Checking out Revision b7caf4fecae67d4eaa468c351b80470bfd20b785 (PR-272) [2023-03-21T04:53:08.985Z] Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git [2023-03-21T04:53:08.986Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-03-21T04:53:09.002Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/pull/272/head:refs/remotes/origin/PR-272 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2023-03-21T04:53:09.592Z] > git config core.sparsecheckout # timeout=10 [2023-03-21T04:53:09.676Z] > git checkout -f b7caf4fecae67d4eaa468c351b80470bfd20b785 # timeout=10 [2023-03-21T04:53:09.759Z] > git remote # timeout=10 [2023-03-21T04:53:09.782Z] > git config --get remote.origin.url # timeout=10 [2023-03-21T04:53:09.796Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-03-21T04:53:09.811Z] > git merge 2ded8c8301fa9285dc80bb471c5f0972abc0b73a # timeout=10 [2023-03-21T04:53:09.836Z] > git rev-parse HEAD^{commit} # timeout=10 [2023-03-21T04:53:09.860Z] > git config core.sparsecheckout # timeout=10 [2023-03-21T04:53:09.878Z] > git checkout -f b7caf4fecae67d4eaa468c351b80470bfd20b785 # timeout=10 [2023-03-21T04:53:13.326Z] Commit message: "build(deps)!: bump sdk to 3.0.0-dev.54" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-03-21T04:53:14.253Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2023-03-21T04:53:14.254Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-03-21T04:53:14.254Z] Dload Upload Total Spent Left Speed [2023-03-21T04:53:14.254Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 89795 0 --:--:-- --:--:-- --:--:-- 90432 [Pipeline] sh [2023-03-21T04:53:14.957Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2023-03-21T04:53:15.286Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2023-03-21T04:53:15.286Z] + sudo tee /etc/docker/daemon.new [2023-03-21T04:53:15.286Z] { [2023-03-21T04:53:15.286Z] "registry-mirrors": [ [2023-03-21T04:53:15.286Z] "https://nexus3.edgexfoundry.org:10001" [2023-03-21T04:53:15.286Z] ], [2023-03-21T04:53:15.286Z] "bip": "10.250.0.254/24", [2023-03-21T04:53:15.286Z] "hosts": [ [2023-03-21T04:53:15.286Z] "tcp://0.0.0.0:5555", [2023-03-21T04:53:15.286Z] "unix:///var/run/docker.sock" [2023-03-21T04:53:15.286Z] ], [2023-03-21T04:53:15.286Z] "mtu": 1458, [2023-03-21T04:53:15.286Z] "selinux-enabled": true, [2023-03-21T04:53:15.286Z] "seccomp-profile": "/etc/docker/seccomp.json" [2023-03-21T04:53:15.286Z] } [Pipeline] sh [2023-03-21T04:53:15.612Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2023-03-21T04:53:15.966Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-03-21T04:53:34.251Z] provisioning config files... [2023-03-21T04:53:34.275Z] copy managed file [device-rest-go-settings] to file:/w/workspace/device-rest-go/4@tmp/config17867698898934950096tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-03-21T04:53:34.618Z] ---> docker-login.sh [2023-03-21T04:53:34.618Z] nexus3.edgexfoundry.org:10001 [2023-03-21T04:53:34.888Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-21T04:53:35.158Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-21T04:53:35.158Z] Configure a credential helper to remove this warning. See [2023-03-21T04:53:35.158Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-21T04:53:35.158Z] [2023-03-21T04:53:35.158Z] Login Succeeded [2023-03-21T04:53:35.158Z] nexus3.edgexfoundry.org:10002 [2023-03-21T04:53:35.426Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-21T04:53:35.696Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-21T04:53:35.696Z] Configure a credential helper to remove this warning. See [2023-03-21T04:53:35.696Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-21T04:53:35.696Z] [2023-03-21T04:53:35.696Z] Login Succeeded [2023-03-21T04:53:35.696Z] nexus3.edgexfoundry.org:10003 [2023-03-21T04:53:35.696Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-21T04:53:35.967Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-21T04:53:35.967Z] Configure a credential helper to remove this warning. See [2023-03-21T04:53:35.967Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-21T04:53:35.967Z] [2023-03-21T04:53:35.967Z] Login Succeeded [2023-03-21T04:53:35.967Z] nexus3.edgexfoundry.org:10004 [2023-03-21T04:53:36.236Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-21T04:53:36.236Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-21T04:53:36.236Z] Configure a credential helper to remove this warning. See [2023-03-21T04:53:36.236Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-21T04:53:36.236Z] [2023-03-21T04:53:36.236Z] Login Succeeded [2023-03-21T04:53:36.236Z] docker.io [2023-03-21T04:53:36.505Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-21T04:53:36.773Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-21T04:53:36.773Z] Configure a credential helper to remove this warning. See [2023-03-21T04:53:36.773Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-21T04:53:36.773Z] [2023-03-21T04:53:36.773Z] Login Succeeded [2023-03-21T04:53:36.773Z] ---> docker-login.sh ends [Pipeline] } [2023-03-21T04:53:36.787Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-03-21T04:53:37.042Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-03-21T04:53:37.055Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-03-21T04:53:37.065Z] ========================================================= [2023-03-21T04:53:37.065Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine] [2023-03-21T04:53:37.065Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-21T04:53:37.403Z] + docker build -t ci-base-image-arm64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine --build-arg MAKE=echo noop --target=builder . [2023-03-21T04:53:37.403Z] Sending build context to Docker daemon 138.8kB [2023-03-21T04:53:37.674Z] Step 1/12 : ARG BASE=golang:1.20-alpine3.17 [2023-03-21T04:53:37.674Z] Step 2/12 : FROM ${BASE} AS builder [2023-03-21T04:53:37.674Z] 1.20-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2023-03-21T04:53:37.674Z] af6eaf76a39c: Pulling fs layer [2023-03-21T04:53:37.674Z] 55522c791124: Pulling fs layer [2023-03-21T04:53:37.674Z] ce5c4a1c91eb: Pulling fs layer [2023-03-21T04:53:37.674Z] 169dfbe0d373: Pulling fs layer [2023-03-21T04:53:37.674Z] e1ff8fa3b103: Pulling fs layer [2023-03-21T04:53:37.674Z] 52ebb69f0ebf: Pulling fs layer [2023-03-21T04:53:37.674Z] 5abe8eddf0d5: Pulling fs layer [2023-03-21T04:53:37.674Z] e1ff8fa3b103: Waiting [2023-03-21T04:53:37.674Z] 52ebb69f0ebf: Waiting [2023-03-21T04:53:37.674Z] 5abe8eddf0d5: Waiting [2023-03-21T04:53:37.674Z] 169dfbe0d373: Waiting [2023-03-21T04:53:37.674Z] 55522c791124: Verifying Checksum [2023-03-21T04:53:37.674Z] 55522c791124: Download complete [2023-03-21T04:53:37.946Z] 169dfbe0d373: Verifying Checksum [2023-03-21T04:53:37.946Z] 169dfbe0d373: Download complete [2023-03-21T04:53:37.946Z] e1ff8fa3b103: Verifying Checksum [2023-03-21T04:53:37.946Z] e1ff8fa3b103: Download complete [2023-03-21T04:53:37.946Z] af6eaf76a39c: Verifying Checksum [2023-03-21T04:53:37.946Z] af6eaf76a39c: Download complete [2023-03-21T04:53:38.916Z] af6eaf76a39c: Pull complete [2023-03-21T04:53:38.916Z] 5abe8eddf0d5: Verifying Checksum [2023-03-21T04:53:38.916Z] 5abe8eddf0d5: Download complete [2023-03-21T04:53:39.508Z] 55522c791124: Pull complete [2023-03-21T04:53:40.480Z] 52ebb69f0ebf: Download complete [2023-03-21T04:53:40.480Z] ce5c4a1c91eb: Verifying Checksum [2023-03-21T04:53:40.480Z] ce5c4a1c91eb: Download complete [2023-03-21T04:53:50.572Z] ce5c4a1c91eb: Pull complete [2023-03-21T04:53:50.572Z] 169dfbe0d373: Pull complete [2023-03-21T04:53:50.841Z] e1ff8fa3b103: Pull complete [2023-03-21T04:53:57.498Z] 52ebb69f0ebf: Pull complete [2023-03-21T04:53:59.454Z] 5abe8eddf0d5: Pull complete [2023-03-21T04:53:59.454Z] Digest: sha256:978cc1420e451f27bd88fdeece3ad01a9109ec773b62f165dfc696fd516b3d8f [2023-03-21T04:53:59.454Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine [2023-03-21T04:53:59.454Z] ---> 6cb57ee374ae [2023-03-21T04:53:59.454Z] Step 3/12 : ARG ADD_BUILD_TAGS="" [2023-03-21T04:54:01.424Z] ---> Running in c2d44131a7ae [2023-03-21T04:54:01.424Z] Removing intermediate container c2d44131a7ae [2023-03-21T04:54:01.424Z] ---> eb78e24b2fcd [2023-03-21T04:54:01.424Z] Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-03-21T04:54:01.424Z] ---> Running in 196ad608d534 [2023-03-21T04:54:01.689Z] Removing intermediate container 196ad608d534 [2023-03-21T04:54:01.690Z] ---> 45175aad81d0 [2023-03-21T04:54:01.690Z] Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client" [2023-03-21T04:54:01.957Z] ---> Running in 2f1cb4b10f57 [2023-03-21T04:54:02.225Z] Removing intermediate container 2f1cb4b10f57 [2023-03-21T04:54:02.225Z] ---> f9292c27028c [2023-03-21T04:54:02.225Z] Step 6/12 : ARG ALPINE_PKG_EXTRA="" [2023-03-21T04:54:02.225Z] ---> Running in d980ddbcc725 [2023-03-21T04:54:02.495Z] Removing intermediate container d980ddbcc725 [2023-03-21T04:54:02.495Z] ---> 48779db969bb [2023-03-21T04:54:02.495Z] Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-03-21T04:54:02.762Z] ---> Running in d2d1ea879350 [2023-03-21T04:54:03.724Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz [2023-03-21T04:54:04.308Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz [2023-03-21T04:54:05.276Z] (1/4) Installing openssh-keygen (9.1_p1-r2) [2023-03-21T04:54:05.544Z] (2/4) Installing libedit (20221030.3.1-r0) [2023-03-21T04:54:05.544Z] (3/4) Installing openssh-client-common (9.1_p1-r2) [2023-03-21T04:54:05.544Z] (4/4) Installing openssh-client-default (9.1_p1-r2) [2023-03-21T04:54:05.544Z] Executing busybox-1.35.0-r29.trigger [2023-03-21T04:54:05.544Z] OK: 268 MiB in 57 packages [2023-03-21T04:54:06.956Z] Removing intermediate container d2d1ea879350 [2023-03-21T04:54:06.956Z] ---> 748d7d08d587 [2023-03-21T04:54:06.956Z] Step 8/12 : WORKDIR /device-rest-go [2023-03-21T04:54:06.956Z] ---> Running in 2e4c046a53f7 [2023-03-21T04:54:07.231Z] Removing intermediate container 2e4c046a53f7 [2023-03-21T04:54:07.231Z] ---> a0c55420ca30 [2023-03-21T04:54:07.231Z] Step 9/12 : COPY go.mod vendor* ./ [2023-03-21T04:54:07.823Z] ---> 1b1b4b9bde86 [2023-03-21T04:54:07.823Z] Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-03-21T04:54:07.823Z] ---> Running in 523526ed1ed9 [2023-03-21T04:55:15.852Z] Removing intermediate container 523526ed1ed9 [2023-03-21T04:55:15.852Z] ---> 34390ad52e9f [2023-03-21T04:55:15.852Z] Step 11/12 : COPY . . [2023-03-21T04:55:15.852Z] ---> 627b4aeece29 [2023-03-21T04:55:15.852Z] Step 12/12 : RUN $MAKE [2023-03-21T04:55:15.852Z] ---> Running in 278d4b93e32c [2023-03-21T04:55:15.852Z] noop [2023-03-21T04:55:15.852Z] Removing intermediate container 278d4b93e32c [2023-03-21T04:55:15.852Z] ---> 185fcb41df06 [2023-03-21T04:55:15.852Z] Successfully built 185fcb41df06 [2023-03-21T04:55:15.852Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-21T04:55:16.201Z] + docker inspect -f . ci-base-image-arm64 [2023-03-21T04:55:16.201Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-21T04:55:16.402Z] prd-ubuntu20.04-docker-arm64-4c-16g-4724 does not seem to be running inside a container [2023-03-21T04:55:16.465Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-rest-go/4 -v /w/workspace/device-rest-go/4:/w/workspace/device-rest-go/4:rw,z -v /w/workspace/device-rest-go/4@tmp:/w/workspace/device-rest-go/4@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2023-03-21T04:55:17.653Z] $ docker top dd2e48dc1e0c92ced85943dabf7b9891b3344d111cbc5bb5111d794608e133fa -eo pid,comm [Pipeline] { [Pipeline] sh [2023-03-21T04:55:18.471Z] + go version [2023-03-21T04:55:18.471Z] go version go1.20.2 linux/arm64 [Pipeline] } [2023-03-21T04:55:18.493Z] $ docker stop --time=1 dd2e48dc1e0c92ced85943dabf7b9891b3344d111cbc5bb5111d794608e133fa [2023-03-21T04:55:20.165Z] $ docker rm -f --volumes dd2e48dc1e0c92ced85943dabf7b9891b3344d111cbc5bb5111d794608e133fa [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-21T04:55:20.721Z] + docker inspect -f . ci-base-image-arm64 [2023-03-21T04:55:20.721Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-21T04:55:20.902Z] prd-ubuntu20.04-docker-arm64-4c-16g-4724 does not seem to be running inside a container [2023-03-21T04:55:20.969Z] $ 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/4 -v /w/workspace/device-rest-go/4:/w/workspace/device-rest-go/4:rw,z -v /w/workspace/device-rest-go/4@tmp:/w/workspace/device-rest-go/4@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2023-03-21T04:55:22.120Z] $ docker top 700bcbde28ed690e26f29983d6728a8e796605ac3e24105efa4632db775fb980 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-03-21T04:55:22.939Z] + git config --global --add safe.directory /w/workspace/device-rest-go/4 [Pipeline] fileExists [Pipeline] sh [2023-03-21T04:55:23.270Z] + make test [2023-03-21T04:55:23.537Z] go test ./... -coverprofile=coverage.out ./... [2023-03-21T04:55:55.787Z] ? github.com/edgexfoundry/device-rest-go [no test files] [2023-03-21T04:57:47.443Z] ? github.com/edgexfoundry/device-rest-go/cmd [no test files] [2023-03-21T04:57:47.443Z] ok github.com/edgexfoundry/device-rest-go/driver 0.064s coverage: 33.0% of statements [2023-03-21T04:57:47.711Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2023-03-21T04:57:47.711Z] go vet ./... [2023-03-21T04:58:26.582Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-03-21T04:58:26.582Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2023-03-21T04:58:26.582Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2023-03-21T04:58:26.614Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2023-03-21T04:58:26.627Z] $ docker stop --time=1 700bcbde28ed690e26f29983d6728a8e796605ac3e24105efa4632db775fb980 [2023-03-21T04:58:28.477Z] $ docker rm -f --volumes 700bcbde28ed690e26f29983d6728a8e796605ac3e24105efa4632db775fb980 [Pipeline] // withDockerContainer [Pipeline] sh [2023-03-21T04:58:29.547Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2023-03-21T04:58:29.562Z] Warning: overwriting stash ‘coverage-report’ [2023-03-21T04:58:30.007Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-03-21T04:58:30.388Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-03-21T04:58:30.700Z] + ls -al . [2023-03-21T04:58:30.700Z] total 180 [2023-03-21T04:58:30.700Z] drwxrwxr-x 8 jenkins jenkins 4096 Mar 21 04:55 . [2023-03-21T04:58:30.700Z] drwxrwxr-x 4 jenkins jenkins 4096 Mar 21 04:53 .. [2023-03-21T04:58:30.700Z] -rw-rw-r-- 1 jenkins jenkins 151 Mar 21 04:53 .dockerignore [2023-03-21T04:58:30.700Z] drwxrwxr-x 8 jenkins jenkins 4096 Mar 21 04:53 .git [2023-03-21T04:58:30.700Z] drwxrwxr-x 3 jenkins jenkins 4096 Mar 21 04:53 .github [2023-03-21T04:58:30.700Z] -rw-rw-r-- 1 jenkins jenkins 329 Mar 21 04:53 .gitignore [2023-03-21T04:58:30.700Z] -rw-rw-r-- 1 jenkins jenkins 41 Mar 21 04:53 .golangci.yml [2023-03-21T04:58:30.700Z] -rw-rw-r-- 1 jenkins jenkins 9321 Mar 21 04:53 Attribution.txt [2023-03-21T04:58:30.700Z] -rw-rw-r-- 1 jenkins jenkins 13085 Mar 21 04:53 CHANGELOG.md [2023-03-21T04:58:30.700Z] -rw-rw-r-- 1 jenkins jenkins 1578 Mar 21 04:53 Dockerfile [2023-03-21T04:58:30.700Z] -rw-rw-r-- 1 jenkins jenkins 677 Mar 21 04:53 GOVERNANCE.md [2023-03-21T04:58:30.700Z] -rw-rw-r-- 1 jenkins jenkins 680 Mar 21 04:53 Jenkinsfile [2023-03-21T04:58:30.700Z] -rw-rw-r-- 1 jenkins jenkins 11340 Mar 21 04:53 LICENSE [2023-03-21T04:58:30.700Z] -rw-rw-r-- 1 jenkins jenkins 1779 Mar 21 04:53 Makefile [2023-03-21T04:58:30.700Z] -rw-rw-r-- 1 jenkins jenkins 620 Mar 21 04:53 OWNERS.md [2023-03-21T04:58:30.700Z] -rw-rw-r-- 1 jenkins jenkins 15447 Mar 21 04:53 README.md [2023-03-21T04:58:30.700Z] -rw-rw-r-- 1 jenkins jenkins 5 Mar 21 04:51 VERSION [2023-03-21T04:58:30.700Z] drwxrwxr-x 2 jenkins jenkins 4096 Mar 21 04:53 bin [2023-03-21T04:58:30.700Z] drwxrwxr-x 3 jenkins jenkins 4096 Mar 21 04:53 cmd [2023-03-21T04:58:30.700Z] -rw-r--r-- 1 jenkins jenkins 14200 Mar 21 04:57 coverage.out [2023-03-21T04:58:30.700Z] drwxrwxr-x 2 jenkins jenkins 4096 Mar 21 04:53 driver [2023-03-21T04:58:30.700Z] -rw-rw-r-- 1 jenkins jenkins 3446 Mar 21 04:53 go.mod [2023-03-21T04:58:30.700Z] -rw-rw-r-- 1 jenkins jenkins 31299 Mar 21 04:53 go.sum [2023-03-21T04:58:30.700Z] drwxrwxr-x 4 jenkins jenkins 4096 Mar 21 04:53 snap [2023-03-21T04:58:30.700Z] -rw-rw-r-- 1 jenkins jenkins 713 Mar 21 04:53 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-21T04:58:31.094Z] + 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=b7caf4fecae67d4eaa468c351b80470bfd20b785 --label arch=arm64 --label version=0.0.0 . [2023-03-21T04:58:31.094Z] Sending build context to Docker daemon 153.6kB [2023-03-21T04:58:31.364Z] Step 1/25 : ARG BASE=golang:1.20-alpine3.17 [2023-03-21T04:58:31.364Z] Step 2/25 : FROM ${BASE} AS builder [2023-03-21T04:58:31.364Z] ---> 185fcb41df06 [2023-03-21T04:58:31.364Z] Step 3/25 : ARG ADD_BUILD_TAGS="" [2023-03-21T04:58:31.671Z] ---> Running in da3cffdfb5b8 [2023-03-21T04:58:31.953Z] Removing intermediate container da3cffdfb5b8 [2023-03-21T04:58:31.953Z] ---> 7f05b1320b77 [2023-03-21T04:58:31.953Z] Step 4/25 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-03-21T04:58:31.953Z] ---> Running in 94abeeacfcb2 [2023-03-21T04:58:32.227Z] Removing intermediate container 94abeeacfcb2 [2023-03-21T04:58:32.227Z] ---> d91df03e1828 [2023-03-21T04:58:32.227Z] Step 5/25 : ARG ALPINE_PKG_BASE="make git openssh-client" [2023-03-21T04:58:32.227Z] ---> Running in 3d7fa30743b0 [2023-03-21T04:58:32.503Z] Removing intermediate container 3d7fa30743b0 [2023-03-21T04:58:32.503Z] ---> 52aa3de04bae [2023-03-21T04:58:32.503Z] Step 6/25 : ARG ALPINE_PKG_EXTRA="" [2023-03-21T04:58:32.774Z] ---> Running in 755ede48fc67 [2023-03-21T04:58:33.056Z] Removing intermediate container 755ede48fc67 [2023-03-21T04:58:33.056Z] ---> ab7bfdff119c [2023-03-21T04:58:33.056Z] Step 7/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-03-21T04:58:33.056Z] ---> Running in e4e5c97eac9d [2023-03-21T04:58:34.025Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz [2023-03-21T04:58:34.613Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz [2023-03-21T04:58:35.576Z] OK: 268 MiB in 57 packages [2023-03-21T04:58:36.540Z] Removing intermediate container e4e5c97eac9d [2023-03-21T04:58:36.540Z] ---> c6b21d4e7911 [2023-03-21T04:58:36.540Z] Step 8/25 : WORKDIR /device-rest-go [2023-03-21T04:58:36.540Z] ---> Running in 0ee301ea9b52 [2023-03-21T04:58:36.809Z] Removing intermediate container 0ee301ea9b52 [2023-03-21T04:58:36.809Z] ---> 8435ec85a067 [2023-03-21T04:58:36.809Z] Step 9/25 : COPY go.mod vendor* ./ [2023-03-21T04:58:37.396Z] ---> dca95617dabc [2023-03-21T04:58:37.396Z] Step 10/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-03-21T04:58:37.396Z] ---> Running in f8504f6c4832 [2023-03-21T04:58:40.748Z] Removing intermediate container f8504f6c4832 [2023-03-21T04:58:40.748Z] ---> 0b516e289af2 [2023-03-21T04:58:40.748Z] Step 11/25 : COPY . . [2023-03-21T04:58:41.015Z] ---> fdc0041b3e82 [2023-03-21T04:58:41.016Z] Step 12/25 : RUN $MAKE [2023-03-21T04:58:41.016Z] ---> Running in 738eee3ee3f6 [2023-03-21T04:58:41.978Z] 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-03-21T05:00:48.679Z] Removing intermediate container 738eee3ee3f6 [2023-03-21T05:00:48.679Z] ---> 082c36800836 [2023-03-21T05:00:48.679Z] Step 13/25 : FROM alpine:3.17 [2023-03-21T05:00:48.679Z] 3.17: Pulling from library/alpine [2023-03-21T05:00:48.679Z] af6eaf76a39c: Already exists [2023-03-21T05:00:48.679Z] Digest: sha256:ff6bdca1701f3a8a67e328815ff2346b0e4067d32ec36b7992c1fdc001dc8517 [2023-03-21T05:00:48.679Z] Status: Downloaded newer image for alpine:3.17 [2023-03-21T05:00:48.679Z] ---> d74e625d9115 [2023-03-21T05:00:48.679Z] Step 14/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' [2023-03-21T05:00:48.679Z] ---> Running in 4c31b1883b61 [2023-03-21T05:00:48.679Z] Removing intermediate container 4c31b1883b61 [2023-03-21T05:00:48.679Z] ---> ff012cd6d5c9 [2023-03-21T05:00:48.679Z] Step 15/25 : LABEL Name=device-rest-go Version=${VERSION} [2023-03-21T05:00:48.679Z] ---> Running in e3f5aba7b47d [2023-03-21T05:00:48.954Z] Removing intermediate container e3f5aba7b47d [2023-03-21T05:00:48.955Z] ---> ba4d153d9a5e [2023-03-21T05:00:48.955Z] Step 16/25 : RUN apk add --update --no-cache dumb-init [2023-03-21T05:00:48.955Z] ---> Running in 272f6f59b454 [2023-03-21T05:00:49.944Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz [2023-03-21T05:00:50.525Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz [2023-03-21T05:00:51.935Z] (1/1) Installing dumb-init (1.2.5-r2) [2023-03-21T05:00:51.935Z] Executing busybox-1.35.0-r29.trigger [2023-03-21T05:00:51.935Z] OK: 8 MiB in 16 packages [2023-03-21T05:00:52.518Z] Removing intermediate container 272f6f59b454 [2023-03-21T05:00:52.518Z] ---> 06f2701a527a [2023-03-21T05:00:52.518Z] Step 17/25 : COPY --from=builder /device-rest-go/cmd / [2023-03-21T05:00:53.929Z] ---> f0ab13780fde [2023-03-21T05:00:53.929Z] Step 18/25 : COPY --from=builder /device-rest-go/LICENSE / [2023-03-21T05:00:54.514Z] ---> a64232fa9e89 [2023-03-21T05:00:54.514Z] Step 19/25 : COPY --from=builder /device-rest-go/Attribution.txt / [2023-03-21T05:00:54.782Z] ---> cb8e01323cb7 [2023-03-21T05:00:54.782Z] Step 20/25 : EXPOSE 59986 [2023-03-21T05:00:55.050Z] ---> Running in be185f53c8f7 [2023-03-21T05:00:55.317Z] Removing intermediate container be185f53c8f7 [2023-03-21T05:00:55.317Z] ---> a0fcce97b651 [2023-03-21T05:00:55.317Z] Step 21/25 : ENTRYPOINT ["/device-rest"] [2023-03-21T05:00:55.317Z] ---> Running in 2b39750be0f5 [2023-03-21T05:00:55.585Z] Removing intermediate container 2b39750be0f5 [2023-03-21T05:00:55.585Z] ---> f5e1da867e2c [2023-03-21T05:00:55.585Z] Step 22/25 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry"] [2023-03-21T05:00:55.585Z] ---> Running in 0e0c4d178c3b [2023-03-21T05:00:55.851Z] Removing intermediate container 0e0c4d178c3b [2023-03-21T05:00:55.851Z] ---> 75514e296468 [2023-03-21T05:00:55.851Z] Step 23/25 : LABEL arch=arm64 [2023-03-21T05:00:56.119Z] ---> Running in 3b5fd734639c [2023-03-21T05:00:56.385Z] Removing intermediate container 3b5fd734639c [2023-03-21T05:00:56.385Z] ---> 0dce46a0a5f4 [2023-03-21T05:00:56.385Z] Step 24/25 : LABEL git_sha=b7caf4fecae67d4eaa468c351b80470bfd20b785 [2023-03-21T05:00:56.385Z] ---> Running in 6fb2961ac883 [2023-03-21T05:00:56.653Z] Removing intermediate container 6fb2961ac883 [2023-03-21T05:00:56.653Z] ---> e4c2e155dec1 [2023-03-21T05:00:56.653Z] Step 25/25 : LABEL version=0.0.0 [2023-03-21T05:00:56.924Z] ---> Running in 2c3b976cbf52 [2023-03-21T05:00:57.189Z] Removing intermediate container 2c3b976cbf52 [2023-03-21T05:00:57.189Z] ---> a62e3c874ba7 [2023-03-21T05:00:57.189Z] [Warning] One or more build-args [ARCH] were not consumed [2023-03-21T05:00:57.189Z] Successfully built a62e3c874ba7 [2023-03-21T05:00:57.189Z] 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-03-21T05:00:57.618Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-03-21T05:00:57.618Z] [2023-03-21T05:00:57.618Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-21T05:00:57.948Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-03-21T05:00:57.948Z] arm64: Pulling from edgex-lftools-log-publisher [2023-03-21T05:00:57.948Z] 8998bd30e6a1: Pulling fs layer [2023-03-21T05:00:57.948Z] 04944245beec: Pulling fs layer [2023-03-21T05:00:57.948Z] 699f458cf7ca: Pulling fs layer [2023-03-21T05:00:57.948Z] 765212b225bb: Pulling fs layer [2023-03-21T05:00:57.948Z] f23df028b6ca: Pulling fs layer [2023-03-21T05:00:57.948Z] d65c8cfc05b1: Pulling fs layer [2023-03-21T05:00:57.948Z] 2437ff75d9bd: Pulling fs layer [2023-03-21T05:00:57.948Z] 765212b225bb: Waiting [2023-03-21T05:00:57.948Z] f23df028b6ca: Waiting [2023-03-21T05:00:57.948Z] d65c8cfc05b1: Waiting [2023-03-21T05:00:57.948Z] 2437ff75d9bd: Waiting [2023-03-21T05:00:58.218Z] 04944245beec: Verifying Checksum [2023-03-21T05:00:58.218Z] 04944245beec: Download complete [2023-03-21T05:00:58.218Z] 765212b225bb: Verifying Checksum [2023-03-21T05:00:58.218Z] 765212b225bb: Download complete [2023-03-21T05:00:58.218Z] f23df028b6ca: Verifying Checksum [2023-03-21T05:00:58.218Z] f23df028b6ca: Download complete [2023-03-21T05:00:58.218Z] d65c8cfc05b1: Verifying Checksum [2023-03-21T05:00:58.218Z] d65c8cfc05b1: Download complete [2023-03-21T05:00:58.490Z] 699f458cf7ca: Verifying Checksum [2023-03-21T05:00:58.490Z] 699f458cf7ca: Download complete [2023-03-21T05:00:58.759Z] 8998bd30e6a1: Verifying Checksum [2023-03-21T05:00:58.759Z] 8998bd30e6a1: Download complete [2023-03-21T05:01:01.342Z] 2437ff75d9bd: Verifying Checksum [2023-03-21T05:01:01.342Z] 2437ff75d9bd: Download complete [2023-03-21T05:01:02.750Z] 8998bd30e6a1: Pull complete [2023-03-21T05:01:03.338Z] 04944245beec: Pull complete [2023-03-21T05:01:04.748Z] 699f458cf7ca: Pull complete [2023-03-21T05:01:04.748Z] 765212b225bb: Pull complete [2023-03-21T05:01:05.331Z] f23df028b6ca: Pull complete [2023-03-21T05:01:05.597Z] d65c8cfc05b1: Pull complete [2023-03-21T05:01:20.589Z] 2437ff75d9bd: Pull complete [2023-03-21T05:01:20.589Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2023-03-21T05:01:20.589Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-03-21T05:01:20.589Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-21T05:01:20.785Z] prd-ubuntu20.04-docker-arm64-4c-16g-4724 does not seem to be running inside a container [2023-03-21T05:01:20.851Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/device-rest-go/4 -v /w/workspace/device-rest-go/4:/w/workspace/device-rest-go/4:rw,z -v /w/workspace/device-rest-go/4@tmp:/w/workspace/device-rest-go/4@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat [2023-03-21T05:01:23.528Z] $ docker top e5ddc47b1322c3adf2525cb88ac6c4141f6824bb4f437758a2598aab704e31de -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-03-21T05:01:24.353Z] ---> job-cost.sh [2023-03-21T05:01:24.353Z] lf-activate-venv: SKIPPING [2023-03-21T05:01:24.353Z] INFO: No Stack... [2023-03-21T05:01:24.618Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2023-03-21T05:01:25.578Z] INFO: Archiving Costs [Pipeline] sh [2023-03-21T05:01:26.222Z] + cat /w/workspace/device-rest-go/4/archives/cost.csv [2023-03-21T05:01:26.222Z] + cut -d, -f6 [Pipeline] lock [2023-03-21T05:01:26.283Z] Trying to acquire lock on [jenkins-edgexfoundry-device-rest-go-PR-272-4-stack-cost] [2023-03-21T05:01:26.293Z] Resource [jenkins-edgexfoundry-device-rest-go-PR-272-4-stack-cost] did not exist. Created. [2023-03-21T05:01:26.293Z] Lock acquired on [jenkins-edgexfoundry-device-rest-go-PR-272-4-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-03-21T05:01:26.628Z] /w/workspace/device-rest-go/4@tmp/durable-57f2120a/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2023-03-21T05:01:26.960Z] + echo total: 0.10999999940395355 [Pipeline] stash [2023-03-21T05:01:26.982Z] Warning: overwriting stash ‘stack-cost’ [2023-03-21T05:01:27.022Z] Stashed 1 file(s) [Pipeline] } [2023-03-21T05:01:27.030Z] Lock released on resource [jenkins-edgexfoundry-device-rest-go-PR-272-4-stack-cost] [Pipeline] // lock [Pipeline] } [2023-03-21T05:01:27.046Z] $ docker stop --time=1 e5ddc47b1322c3adf2525cb88ac6c4141f6824bb4f437758a2598aab704e31de [2023-03-21T05:01:28.496Z] $ docker rm -f --volumes e5ddc47b1322c3adf2525cb88ac6c4141f6824bb4f437758a2598aab704e31de [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-03-21T05:01:28.829Z] provisioning config files... [2023-03-21T05:01:28.835Z] copy managed file [device-rest-go-codecov-token] to file:/w/workspace/gexfoundry_device-rest-go_PR-272@tmp/config2090205881634007305tmp [Pipeline] { [Pipeline] sh [2023-03-21T05:01:29.123Z] + set +x [2023-03-21T05:01:29.123Z] + bash -s -- [2023-03-21T05:01:29.123Z] + curl -s https://codecov.io/bash [2023-03-21T05:01:29.123Z] [2023-03-21T05:01:29.123Z] _____ _ [2023-03-21T05:01:29.123Z] / ____| | | [2023-03-21T05:01:29.123Z] | | ___ __| | ___ ___ _____ __ [2023-03-21T05:01:29.123Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2023-03-21T05:01:29.123Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2023-03-21T05:01:29.123Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2023-03-21T05:01:29.123Z] Bash-1.0.6 [2023-03-21T05:01:29.123Z] [2023-03-21T05:01:29.123Z] [2023-03-21T05:01:29.123Z] ==> git version 2.25.1 found [2023-03-21T05:01:29.123Z] ==> 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-03-21T05:01:29.123Z] Release-Date: 2020-01-08 [2023-03-21T05:01:29.123Z] 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-03-21T05:01:29.123Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2023-03-21T05:01:29.123Z] ==> Jenkins CI detected. [2023-03-21T05:01:29.123Z] current dir:  /w/workspace/gexfoundry_device-rest-go_PR-272 [2023-03-21T05:01:29.123Z] project root: . [2023-03-21T05:01:29.123Z] --> token set from env [2023-03-21T05:01:29.123Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2023-03-21T05:01:29.123Z] ==> Running gcov in . (disable via -X gcov) [2023-03-21T05:01:29.123Z] ==> Python coveragepy not found [2023-03-21T05:01:29.123Z] ==> Searching for coverage reports in: [2023-03-21T05:01:29.123Z] + . [2023-03-21T05:01:29.123Z] -> Found 1 reports [2023-03-21T05:01:29.123Z] ==> Detecting git/mercurial file structure [2023-03-21T05:01:29.123Z] ==> Reading reports [2023-03-21T05:01:29.123Z] + ./coverage.out bytes=14200 [2023-03-21T05:01:29.123Z] ==> Appending adjustments [2023-03-21T05:01:29.123Z] https://docs.codecov.io/docs/fixing-reports [2023-03-21T05:01:29.381Z] + Found adjustments [2023-03-21T05:01:29.381Z] ==> Gzipping contents [2023-03-21T05:01:29.381Z] 4.0K /tmp/codecov.NYT17x.gz [2023-03-21T05:01:29.381Z] ==> Uploading reports [2023-03-21T05:01:29.381Z] url: https://codecov.io [2023-03-21T05:01:29.381Z] query: branch=PR-272&commit=b7caf4fecae67d4eaa468c351b80470bfd20b785&build=4&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-rest-go%2Fjob%2FPR-272%2F4%2F&name=&tag=&slug=edgexfoundry%2Fdevice-rest-go&service=jenkins&flags=&pr=272&job=&cmd_args= [2023-03-21T05:01:29.382Z] -> Pinging Codecov [2023-03-21T05:01:29.382Z] https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=c51feb23-73ac-4f49-b3d1-d26df23137db&branch=PR-272&commit=b7caf4fecae67d4eaa468c351b80470bfd20b785&build=4&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-rest-go%2Fjob%2FPR-272%2F4%2F&name=&tag=&slug=edgexfoundry%2Fdevice-rest-go&service=jenkins&flags=&pr=272&job=&cmd_args= [2023-03-21T05:01:29.382Z] -> Uploading to [2023-03-21T05:01:29.382Z] https://storage.googleapis.com/codecov/v4/raw/2023-03-21/4E5D53B4F1F92C436F7061BF334D961C/b7caf4fecae67d4eaa468c351b80470bfd20b785/c9a358d2-40b2-46e2-a9a6-2fe2fcf48eca.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20230321%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20230321T050129Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=96edcfed911a7ea54c0a43e43821901fd08fe0d0df584e39c0581bc6d30ccb9c [2023-03-21T05:01:29.382Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-03-21T05:01:29.382Z] Dload Upload Total Spent Left Speed [2023-03-21T05:01:29.949Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 2459 0 0 100 2459 0 7340 --:--:-- --:--:-- --:--:-- 7318 100 2459 0 0 100 2459 0 7318 --:--:-- --:--:-- --:--:-- 7318 [2023-03-21T05:01:29.949Z] -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-rest-go/commit/b7caf4fecae67d4eaa468c351b80470bfd20b785 [Pipeline] } [2023-03-21T05:01:29.956Z] 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-03-21T05:01:30.577Z] + [ -d /w/workspace/gexfoundry_device-rest-go_PR-272/archives ] [2023-03-21T05:01:30.577Z] + ls -al /w/workspace/gexfoundry_device-rest-go_PR-272/archives [2023-03-21T05:01:30.577Z] total 16 [2023-03-21T05:01:30.577Z] drwxr-xr-x 3 root root 4096 Mar 21 04:53 . [2023-03-21T05:01:30.577Z] drwxrwxr-x 10 jenkins jenkins 4096 Mar 21 04:53 .. [2023-03-21T05:01:30.577Z] drwxr-xr-x 2 root root 4096 Mar 21 04:53 cost [2023-03-21T05:01:30.577Z] -rw-r--r-- 1 root root 86 Mar 21 04:53 cost.csv [2023-03-21T05:01:30.577Z] + sudo chown -R jenkins:jenkins /w/workspace/gexfoundry_device-rest-go_PR-272/archives [2023-03-21T05:01:30.577Z] + ls -al /w/workspace/gexfoundry_device-rest-go_PR-272/archives [2023-03-21T05:01:30.577Z] total 16 [2023-03-21T05:01:30.577Z] drwxr-xr-x 3 jenkins jenkins 4096 Mar 21 04:53 . [2023-03-21T05:01:30.577Z] drwxrwxr-x 10 jenkins jenkins 4096 Mar 21 04:53 .. [2023-03-21T05:01:30.577Z] drwxr-xr-x 2 jenkins jenkins 4096 Mar 21 04:53 cost [2023-03-21T05:01:30.577Z] -rw-r--r-- 1 jenkins jenkins 86 Mar 21 04:53 cost.csv [Pipeline] libraryResource [Pipeline] sh [2023-03-21T05:01:30.867Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2023-03-21T05:01:31.722Z] ---> package-listing.sh [2023-03-21T05:01:31.722Z] ++ facter osfamily [2023-03-21T05:01:31.722Z] ++ tr '[:upper:]' '[:lower:]' [2023-03-21T05:01:31.982Z] + OS_FAMILY=debian [2023-03-21T05:01:31.982Z] + workspace=/w/workspace/gexfoundry_device-rest-go_PR-272 [2023-03-21T05:01:31.982Z] + START_PACKAGES=/tmp/packages_start.txt [2023-03-21T05:01:31.982Z] + END_PACKAGES=/tmp/packages_end.txt [2023-03-21T05:01:31.982Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2023-03-21T05:01:31.982Z] + PACKAGES=/tmp/packages_start.txt [2023-03-21T05:01:31.982Z] + '[' /w/workspace/gexfoundry_device-rest-go_PR-272 ']' [2023-03-21T05:01:31.982Z] + PACKAGES=/tmp/packages_end.txt [2023-03-21T05:01:31.982Z] + case "${OS_FAMILY}" in [2023-03-21T05:01:31.982Z] + dpkg -l [2023-03-21T05:01:31.982Z] + grep '^ii' [2023-03-21T05:01:31.982Z] + '[' -f /tmp/packages_start.txt ']' [2023-03-21T05:01:31.982Z] + '[' -f /tmp/packages_end.txt ']' [2023-03-21T05:01:31.982Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2023-03-21T05:01:31.982Z] + '[' /w/workspace/gexfoundry_device-rest-go_PR-272 ']' [2023-03-21T05:01:31.982Z] + mkdir -p /w/workspace/gexfoundry_device-rest-go_PR-272/archives/ [2023-03-21T05:01:31.982Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_device-rest-go_PR-272/archives/ [Pipeline] echo [2023-03-21T05:01:31.992Z] 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-272/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2023-03-21T05:01:32.271Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-21T05:01:32.834Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-03-21T05:01:32.834Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-21T05:01:32.895Z] prd-ubuntu20.04-docker-8c-8g-4723 does not seem to be running inside a container [2023-03-21T05:01:32.922Z] $ 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-272/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-272 -v /w/workspace/gexfoundry_device-rest-go_PR-272:/w/workspace/gexfoundry_device-rest-go_PR-272:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-272@tmp:/w/workspace/gexfoundry_device-rest-go_PR-272@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2023-03-21T05:01:33.099Z] $ docker top b4703e24c53cee7995b820ccc00e17b2ae2e5cbaa3285fe2728a41a2ea7657d1 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-03-21T05:01:33.440Z] + touch /tmp/pre-build-complete [Pipeline] sh [2023-03-21T05:01:33.725Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2023-03-21T05:01:34.011Z] + ls /var/log/sa-host [2023-03-21T05:01:34.011Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-03-21T05:01:34.075Z] provisioning config files... [2023-03-21T05:01:34.083Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-rest-go_PR-272@tmp/config11408646899638781159tmp [Pipeline] { [Pipeline] echo [2023-03-21T05:01:34.096Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2023-03-21T05:01:34.376Z] ---> create-netrc.sh [Pipeline] } [2023-03-21T05:01:34.384Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2023-03-21T05:01:34.707Z] ---> python-tools-install.sh [Pipeline] echo [2023-03-21T05:01:34.715Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2023-03-21T05:01:34.995Z] ---> sudo-logs.sh [2023-03-21T05:01:34.995Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2023-03-21T05:01:35.022Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2023-03-21T05:01:35.300Z] ---> job-cost.sh [2023-03-21T05:01:35.300Z] lf-activate-venv: SKIPPING [2023-03-21T05:01:35.300Z] DEBUG: total: 0.2199999988079071 [2023-03-21T05:01:35.300Z] INFO: Retrieving Stack Cost... [2023-03-21T05:01:35.559Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-03-21T05:01:36.145Z] INFO: Archiving Costs [Pipeline] echo [2023-03-21T05:01:36.156Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2023-03-21T05:01:36.438Z] ---> logs-deploy.sh [2023-03-21T05:01:36.438Z] lf-activate-venv: SKIPPING [2023-03-21T05:01:36.438Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-rest-go/PR-272/4 [2023-03-21T05:01:36.438Z] INFO: archiving workspace using pattern(s): [2023-03-21T05:01:37.373Z] Archives upload complete. [2023-03-21T05:01:37.373Z] INFO: archiving logs to Nexus