Pull request #311 opened Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from b80d114abd0b09022f30a7edfac24246445c8ce4+f04ad0eeb594cd3f8ad46f53b1443669e92ac7fc (56ce8ce7a868d283965e9221a115602ffe1e3d13) 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-ssh268114701675242427.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 4fc256d9079ed2258907e613f84b1b8da264a4bd 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-ssh12570051963485871600.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 4fc256d9079ed2258907e613f84b1b8da264a4bd The recommended git tool is: git using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning with configured refspecs honoured and with tags Cloning repository git@github.com:edgexfoundry/edgex-global-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/device-rest-go/branches/PR-311/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-rest-go/branches/PR-311/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh4658414872490798302.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching with tags Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-rest-go/branches/PR-311/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh12566137573688485579.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 4fc256d9079ed2258907e613f84b1b8da264a4bd (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 4fc256d9079ed2258907e613f84b1b8da264a4bd # timeout=10 Commit message: "Merge pull request #430 from ernestojeda/release-lock" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 > git --version # timeout=10 > git --version # 'git version 2.16.6' Excluding src/test/ from checkout of git git@github.com:edgexfoundry/edgex-global-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. Loading library lf-pipelines@master Attempting to resolve master from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /tmp/jenkins-gitclient-ssh8232175756272248404.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 Cloning the remote Git repository Cloning with configured refspecs honoured and without tags Cloning repository git@github.com:lfit/releng-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/device-rest-go/branches/PR-311/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e # timeout=10 Fetching upstream changes from git@github.com:lfit/releng-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-rest-go/branches/PR-311/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh9615019626633417082.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 Avoid second fetch Checking out Revision 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 > git --version # timeout=10 > git --version # 'git version 2.16.6' fatal: bad object 4fc256d9079ed2258907e613f84b1b8da264a4bd 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 All nodes of label ‘ubuntu20.04-docker-8c-8g’ are offline Running on prd-ubuntu20.04-docker-8c-8g-14551 in /w/workspace/gexfoundry_device-rest-go_PR-311 [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-311 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git > git --version # timeout=10 > git --version # 'git version 2.25.1' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Merging remotes/origin/main commit f04ad0eeb594cd3f8ad46f53b1443669e92ac7fc into PR head commit b80d114abd0b09022f30a7edfac24246445c8ce4 > 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/311/head:refs/remotes/origin/PR-311 +refs/heads/main:refs/remotes/origin/main # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f b80d114abd0b09022f30a7edfac24246445c8ce4 # timeout=10 > git remote # timeout=10 > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub Merge succeeded, producing b80d114abd0b09022f30a7edfac24246445c8ce4 Checking out Revision b80d114abd0b09022f30a7edfac24246445c8ce4 (PR-311) Commit message: "build(deps): Bump github.com/edgexfoundry/device-sdk-go/v3" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.25.1' fatal: bad object 4fc256d9079ed2258907e613f84b1b8da264a4bd [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2023-05-08T20:58:43.779Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2023-05-08T20:58:43.959Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2023-05-08T20:58:44.063Z] ========================================================= [2023-05-08T20:58:44.063Z] EdgeX Global Pipelines Version Info [2023-05-08T20:58:44.063Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh > git merge f04ad0eeb594cd3f8ad46f53b1443669e92ac7fc # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f b80d114abd0b09022f30a7edfac24246445c8ce4 # timeout=10 [2023-05-08T20:58:44.818Z] ------------------- [2023-05-08T20:58:44.818Z] stable info: [2023-05-08T20:58:44.818Z] ------------------- [2023-05-08T20:58:44.818Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2023-05-08T20:58:44.818Z] Commit SHA: 4fc256d9079ed2258907e613f84b1b8da264a4bd [2023-05-08T20:58:44.818Z] Message: update stable to v1.0.249 [2023-05-08T20:58:45.388Z] ------------------- [2023-05-08T20:58:45.388Z] experimental info: [2023-05-08T20:58:45.388Z] ------------------- [2023-05-08T20:58:45.388Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2023-05-08T20:58:45.388Z] Commit SHA: 4fc256d9079ed2258907e613f84b1b8da264a4bd [2023-05-08T20:58:45.388Z] Message: update experimental to v1.0.249 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2023-05-08T20:58:46.484Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-rest-go-settings [Pipeline] echo [2023-05-08T20:58:46.526Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-rest-go [Pipeline] echo [2023-05-08T20:58:46.573Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2023-05-08T20:58:46.617Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2023-05-08T20:58:46.660Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2023-05-08T20:58:46.706Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.20 [Pipeline] echo [2023-05-08T20:58:46.754Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2023-05-08T20:58:46.801Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2023-05-08T20:58:46.856Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2023-05-08T20:58:46.906Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2023-05-08T20:58:46.955Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2023-05-08T20:58:47.006Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-rest [Pipeline] echo [2023-05-08T20:58:47.054Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2023-05-08T20:58:47.103Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2023-05-08T20:58:47.151Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2023-05-08T20:58:47.206Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2023-05-08T20:58:47.254Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2023-05-08T20:58:47.301Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2023-05-08T20:58:47.348Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2023-05-08T20:58:47.402Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2023-05-08T20:58:47.441Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2023-05-08T20:58:47.488Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2023-05-08T20:58:47.531Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2023-05-08T20:58:47.574Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2023-05-08T20:58:47.621Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2023-05-08T20:58:47.663Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2023-05-08T20:58:47.705Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2023-05-08T20:58:47.753Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-311 [Pipeline] echo [2023-05-08T20:58:47.792Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-311 [Pipeline] echo [2023-05-08T20:58:47.837Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-311 [Pipeline] echo [2023-05-08T20:58:47.876Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = b80d114abd0b09022f30a7edfac24246445c8ce4 [Pipeline] echo [2023-05-08T20:58:47.921Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = b80d114 [Pipeline] echo [2023-05-08T20:58:47.965Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-05-08T20:58:48.088Z] provisioning config files... [2023-05-08T20:58:48.105Z] copy managed file [device-rest-go-settings] to file:/w/workspace/gexfoundry_device-rest-go_PR-311@tmp/config10918285422890585440tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-05-08T20:58:48.451Z] ---> docker-login.sh [2023-05-08T20:58:48.451Z] nexus3.edgexfoundry.org:10001 [2023-05-08T20:58:48.712Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-08T20:58:48.713Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-08T20:58:48.713Z] Configure a credential helper to remove this warning. See [2023-05-08T20:58:48.713Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-08T20:58:48.713Z] [2023-05-08T20:58:48.713Z] Login Succeeded [2023-05-08T20:58:48.713Z] nexus3.edgexfoundry.org:10002 [2023-05-08T20:58:48.973Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-08T20:58:48.973Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-08T20:58:48.973Z] Configure a credential helper to remove this warning. See [2023-05-08T20:58:48.973Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-08T20:58:48.973Z] [2023-05-08T20:58:48.973Z] Login Succeeded [2023-05-08T20:58:48.973Z] nexus3.edgexfoundry.org:10003 [2023-05-08T20:58:48.973Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-08T20:58:48.973Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-08T20:58:48.973Z] Configure a credential helper to remove this warning. See [2023-05-08T20:58:48.973Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-08T20:58:48.973Z] [2023-05-08T20:58:48.973Z] Login Succeeded [2023-05-08T20:58:48.973Z] nexus3.edgexfoundry.org:10004 [2023-05-08T20:58:48.973Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-08T20:58:49.239Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-08T20:58:49.239Z] Configure a credential helper to remove this warning. See [2023-05-08T20:58:49.239Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-08T20:58:49.239Z] [2023-05-08T20:58:49.239Z] Login Succeeded [2023-05-08T20:58:49.239Z] docker.io [2023-05-08T20:58:49.239Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-08T20:58:49.498Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-08T20:58:49.498Z] Configure a credential helper to remove this warning. See [2023-05-08T20:58:49.498Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-08T20:58:49.498Z] [2023-05-08T20:58:49.498Z] Login Succeeded [2023-05-08T20:58:49.498Z] ---> docker-login.sh ends [Pipeline] } [2023-05-08T20:58:49.526Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2023-05-08T20:58:50.193Z] + git rev-list -1 --merges b80d114abd0b09022f30a7edfac24246445c8ce4~1..b80d114abd0b09022f30a7edfac24246445c8ce4 [Pipeline] echo [2023-05-08T20:58:50.267Z] -----------> git rev-list -1 --merges b80d114abd0b09022f30a7edfac24246445c8ce4~1..b80d114abd0b09022f30a7edfac24246445c8ce4 b80d114abd0b09022f30a7edfac24246445c8ce4 [false] [Pipeline] sh [2023-05-08T20:58:50.584Z] + git log --format=format:%s -1 b80d114abd0b09022f30a7edfac24246445c8ce4 [Pipeline] echo [2023-05-08T20:58:50.619Z] ========================================================= [2023-05-08T20:58:50.619Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2023-05-08T20:58:50.619Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-05-08T20:58:51.059Z] + git log --format=format:%s -1 b80d114abd0b09022f30a7edfac24246445c8ce4 [Pipeline] echo [2023-05-08T20:58:51.094Z] [semverPrep] GIT_COMMIT: b80d114abd0b09022f30a7edfac24246445c8ce4, Commit Message: build(deps): Bump github.com/edgexfoundry/device-sdk-go/v3 [Pipeline] echo [2023-05-08T20:58:51.127Z] [semverPrep] This is not a build commit. [Pipeline] sh [2023-05-08T20:58:51.543Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-05-08T20:58:51.543Z] + grep -v github /etc/ssh/ssh_known_hosts [2023-05-08T20:58:51.543Z] + [ -e /tmp/ssh_known_hosts ] [2023-05-08T20:58:51.543Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2023-05-08T20:58:51.543Z] + + echosudo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= tee [2023-05-08T20:58:51.543Z] -a /etc/ssh/ssh_known_hosts [2023-05-08T20:58:51.543Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-08T20:58:52.070Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-05-08T20:58:52.070Z] [2023-05-08T20:58:52.070Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-08T20:58:52.456Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-05-08T20:58:52.456Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2023-05-08T20:58:52.456Z] b85a868b505f: Pulling fs layer [2023-05-08T20:58:52.457Z] e2be974225ed: Pulling fs layer [2023-05-08T20:58:52.457Z] 339a4e72a1f5: Pulling fs layer [2023-05-08T20:58:52.457Z] 988bab9f4d93: Pulling fs layer [2023-05-08T20:58:52.457Z] 1469e6f7b9e6: Pulling fs layer [2023-05-08T20:58:52.457Z] eaf3925da568: Pulling fs layer [2023-05-08T20:58:52.457Z] bab4dde63d76: Pulling fs layer [2023-05-08T20:58:52.457Z] bde34c3a00c8: Pulling fs layer [2023-05-08T20:58:52.457Z] b352a97aabf1: Pulling fs layer [2023-05-08T20:58:52.457Z] 4872d77fe225: Pulling fs layer [2023-05-08T20:58:52.457Z] 5851b861e8e6: Pulling fs layer [2023-05-08T20:58:52.457Z] 988bab9f4d93: Waiting [2023-05-08T20:58:52.457Z] 1469e6f7b9e6: Waiting [2023-05-08T20:58:52.457Z] b352a97aabf1: Waiting [2023-05-08T20:58:52.457Z] 4872d77fe225: Waiting [2023-05-08T20:58:52.457Z] bab4dde63d76: Waiting [2023-05-08T20:58:52.457Z] bde34c3a00c8: Waiting [2023-05-08T20:58:52.457Z] eaf3925da568: Waiting [2023-05-08T20:58:52.457Z] 5851b861e8e6: Waiting [2023-05-08T20:58:52.457Z] e2be974225ed: Download complete [2023-05-08T20:58:52.457Z] 988bab9f4d93: Verifying Checksum [2023-05-08T20:58:52.457Z] 988bab9f4d93: Download complete [2023-05-08T20:58:52.717Z] 1469e6f7b9e6: Verifying Checksum [2023-05-08T20:58:52.717Z] 1469e6f7b9e6: Download complete [2023-05-08T20:58:52.717Z] eaf3925da568: Verifying Checksum [2023-05-08T20:58:52.717Z] eaf3925da568: Download complete [2023-05-08T20:58:52.717Z] 339a4e72a1f5: Verifying Checksum [2023-05-08T20:58:52.717Z] 339a4e72a1f5: Download complete [2023-05-08T20:58:52.717Z] bde34c3a00c8: Download complete [2023-05-08T20:58:52.717Z] b352a97aabf1: Download complete [2023-05-08T20:58:52.717Z] 4872d77fe225: Verifying Checksum [2023-05-08T20:58:52.717Z] 4872d77fe225: Download complete [2023-05-08T20:58:52.717Z] 5851b861e8e6: Verifying Checksum [2023-05-08T20:58:52.717Z] 5851b861e8e6: Download complete [2023-05-08T20:58:52.717Z] b85a868b505f: Download complete [2023-05-08T20:58:52.981Z] bab4dde63d76: Verifying Checksum [2023-05-08T20:58:52.982Z] bab4dde63d76: Download complete [2023-05-08T20:58:53.924Z] b85a868b505f: Pull complete [2023-05-08T20:58:53.924Z] e2be974225ed: Pull complete [2023-05-08T20:58:54.495Z] 339a4e72a1f5: Pull complete [2023-05-08T20:58:54.495Z] 988bab9f4d93: Pull complete [2023-05-08T20:58:54.755Z] 1469e6f7b9e6: Pull complete [2023-05-08T20:58:55.014Z] eaf3925da568: Pull complete [2023-05-08T20:58:56.397Z] bab4dde63d76: Pull complete [2023-05-08T20:58:56.657Z] bde34c3a00c8: Pull complete [2023-05-08T20:58:56.657Z] b352a97aabf1: Pull complete [2023-05-08T20:58:56.918Z] 4872d77fe225: Pull complete [2023-05-08T20:58:56.918Z] 5851b861e8e6: Pull complete [2023-05-08T20:58:56.918Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2023-05-08T20:58:56.918Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-05-08T20:58:56.918Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-05-08T20:58:57.160Z] prd-ubuntu20.04-docker-8c-8g-14551 does not seem to be running inside a container [2023-05-08T20:58:57.197Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-rest-go_PR-311 -v /w/workspace/gexfoundry_device-rest-go_PR-311:/w/workspace/gexfoundry_device-rest-go_PR-311:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-311@tmp:/w/workspace/gexfoundry_device-rest-go_PR-311@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 ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2023-05-08T20:58:59.598Z] $ docker top 51e1e11b31f2e74e13b213055155c03ff19b924fb9a00b74b63b7b5ec688c6a8 -eo pid,comm [2023-05-08T20:58:59.657Z] 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-05-08T20:58:59.657Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-05-08T20:58:59.792Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-05-08T20:58:59.792Z] [ssh-agent] Looking for ssh-agent implementation... [2023-05-08T20:58:59.898Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-05-08T20:58:59.902Z] $ docker exec 51e1e11b31f2e74e13b213055155c03ff19b924fb9a00b74b63b7b5ec688c6a8 ssh-agent [2023-05-08T20:59:00.016Z] SSH_AUTH_SOCK=/tmp/ssh-JzkBGJjMiavu/agent.31 [2023-05-08T20:59:00.016Z] SSH_AGENT_PID=37 [2023-05-08T20:59:00.025Z] Running ssh-add (command line suppressed) [2023-05-08T20:59:00.134Z] Identity added: /w/workspace/gexfoundry_device-rest-go_PR-311@tmp/private_key_13412745515226027468.key (/w/workspace/gexfoundry_device-rest-go_PR-311@tmp/private_key_13412745515226027468.key) [2023-05-08T20:59:00.149Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-05-08T20:59:00.485Z] + git tag --points-at HEAD [Pipeline] } [2023-05-08T20:59:00.513Z] $ docker exec --env ******** --env ******** 51e1e11b31f2e74e13b213055155c03ff19b924fb9a00b74b63b7b5ec688c6a8 ssh-agent -k [2023-05-08T20:59:00.602Z] unset SSH_AUTH_SOCK; [2023-05-08T20:59:00.602Z] unset SSH_AGENT_PID; [2023-05-08T20:59:00.603Z] echo Agent pid 37 killed; [2023-05-08T20:59:00.612Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2023-05-08T20:59:00.708Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-05-08T20:59:00.708Z] [ssh-agent] Looking for ssh-agent implementation... [2023-05-08T20:59:00.828Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-05-08T20:59:00.832Z] $ docker exec 51e1e11b31f2e74e13b213055155c03ff19b924fb9a00b74b63b7b5ec688c6a8 ssh-agent [2023-05-08T20:59:00.941Z] SSH_AUTH_SOCK=/tmp/ssh-LfgTZlpMoS6Y/agent.69 [2023-05-08T20:59:00.941Z] SSH_AGENT_PID=75 [2023-05-08T20:59:00.946Z] Running ssh-add (command line suppressed) [2023-05-08T20:59:01.058Z] Identity added: /w/workspace/gexfoundry_device-rest-go_PR-311@tmp/private_key_2497140202725261957.key (/w/workspace/gexfoundry_device-rest-go_PR-311@tmp/private_key_2497140202725261957.key) [2023-05-08T20:59:01.072Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-05-08T20:59:01.404Z] + git semver init [2023-05-08T20:59:01.664Z] 2023-05-08 20:59:01,576 [run_init] DEBUG init version:0.0.0 force:False [2023-05-08T20:59:01.664Z] 2023-05-08 20:59:01,577 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/gexfoundry_device-rest-go_PR-311/.semver [2023-05-08T20:59:01.664Z] 2023-05-08 20:59:01,578 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-rest-go.git /w/workspace/gexfoundry_device-rest-go_PR-311/.semver [2023-05-08T20:59:01.664Z] 2023-05-08 20:59:01,578 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-rest-go.git', '/w/workspace/gexfoundry_device-rest-go_PR-311/.semver'], cwd=/w/workspace/gexfoundry_device-rest-go_PR-311, universal_newlines=False, shell=None, istream=None) [2023-05-08T20:59:02.602Z] 2023-05-08 20:59:02,536 [append_file] DEBUG append to file:/w/workspace/gexfoundry_device-rest-go_PR-311/.git/info/exclude [2023-05-08T20:59:02.602Z] 2023-05-08 20:59:02,537 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/gexfoundry_device-rest-go_PR-311/.semver/PR-311 with force:False [2023-05-08T20:59:02.602Z] 2023-05-08 20:59:02,537 [write_file] DEBUG write to file:/w/workspace/gexfoundry_device-rest-go_PR-311/.semver/PR-311 [2023-05-08T20:59:02.602Z] 2023-05-08 20:59:02,540 [execute] INFO git cat-file --batch-check [2023-05-08T20:59:02.602Z] 2023-05-08 20:59:02,540 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/gexfoundry_device-rest-go_PR-311/.semver, universal_newlines=False, shell=None, istream=) [2023-05-08T20:59:02.602Z] 2023-05-08 20:59:02,546 [execute] INFO git cat-file --batch [2023-05-08T20:59:02.602Z] 2023-05-08 20:59:02,546 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/gexfoundry_device-rest-go_PR-311/.semver, universal_newlines=False, shell=None, istream=) [2023-05-08T20:59:02.602Z] 2023-05-08 20:59:02,551 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-rest-go_PR-311/.semver/PR-311 [2023-05-08T20:59:02.602Z] 0.0.0 [Pipeline] } [2023-05-08T20:59:02.626Z] $ docker exec --env ******** --env ******** 51e1e11b31f2e74e13b213055155c03ff19b924fb9a00b74b63b7b5ec688c6a8 ssh-agent -k [2023-05-08T20:59:02.726Z] unset SSH_AUTH_SOCK; [2023-05-08T20:59:02.726Z] unset SSH_AGENT_PID; [2023-05-08T20:59:02.726Z] echo Agent pid 75 killed; [2023-05-08T20:59:02.734Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-05-08T20:59:03.174Z] + git semver [Pipeline] } [2023-05-08T20:59:03.459Z] $ docker stop --time=1 51e1e11b31f2e74e13b213055155c03ff19b924fb9a00b74b63b7b5ec688c6a8 [2023-05-08T20:59:04.752Z] $ docker rm -f --volumes 51e1e11b31f2e74e13b213055155c03ff19b924fb9a00b74b63b7b5ec688c6a8 [Pipeline] // withDockerContainer [Pipeline] sh [2023-05-08T20:59:05.158Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2023-05-08T20:59:05.443Z] Stashed 1 file(s) [Pipeline] echo [2023-05-08T20:59:05.461Z] [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-05-08T20:59:06.086Z] provisioning config files... [2023-05-08T20:59:06.100Z] copy managed file [device-rest-go-settings] to file:/w/workspace/gexfoundry_device-rest-go_PR-311@tmp/config17663253010304527994tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-05-08T20:59:06.457Z] ---> docker-login.sh [2023-05-08T20:59:06.457Z] nexus3.edgexfoundry.org:10001 [2023-05-08T20:59:06.457Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-08T20:59:06.457Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-08T20:59:06.457Z] Configure a credential helper to remove this warning. See [2023-05-08T20:59:06.457Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-08T20:59:06.457Z] [2023-05-08T20:59:06.457Z] Login Succeeded [2023-05-08T20:59:06.457Z] nexus3.edgexfoundry.org:10002 [2023-05-08T20:59:06.457Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-08T20:59:06.457Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-08T20:59:06.457Z] Configure a credential helper to remove this warning. See [2023-05-08T20:59:06.457Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-08T20:59:06.457Z] [2023-05-08T20:59:06.457Z] Login Succeeded [2023-05-08T20:59:06.457Z] nexus3.edgexfoundry.org:10003 [2023-05-08T20:59:06.718Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-08T20:59:06.718Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-08T20:59:06.718Z] Configure a credential helper to remove this warning. See [2023-05-08T20:59:06.718Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-08T20:59:06.718Z] [2023-05-08T20:59:06.718Z] Login Succeeded [2023-05-08T20:59:06.718Z] nexus3.edgexfoundry.org:10004 [2023-05-08T20:59:06.718Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-08T20:59:06.718Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-08T20:59:06.718Z] Configure a credential helper to remove this warning. See [2023-05-08T20:59:06.718Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-08T20:59:06.718Z] [2023-05-08T20:59:06.718Z] Login Succeeded [2023-05-08T20:59:06.718Z] docker.io [2023-05-08T20:59:06.975Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-08T20:59:06.976Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-08T20:59:06.976Z] Configure a credential helper to remove this warning. See [2023-05-08T20:59:06.976Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-08T20:59:06.976Z] [2023-05-08T20:59:06.976Z] Login Succeeded [2023-05-08T20:59:06.976Z] ---> docker-login.sh ends [Pipeline] } [2023-05-08T20:59:07.007Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-05-08T20:59:07.224Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-05-08T20:59:07.264Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-05-08T20:59:07.299Z] ========================================================= [2023-05-08T20:59:07.299Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine] [2023-05-08T20:59:07.299Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-08T20:59:07.796Z] + 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-05-08T20:59:07.796Z] Sending build context to Docker daemon 10.92MB [2023-05-08T20:59:07.796Z] Step 1/12 : ARG BASE=golang:1.20-alpine3.17 [2023-05-08T20:59:07.796Z] Step 2/12 : FROM ${BASE} AS builder [2023-05-08T20:59:07.796Z] 1.20-alpine: Pulling from edgex-devops/edgex-golang-base [2023-05-08T20:59:07.796Z] f56be85fc22e: Pulling fs layer [2023-05-08T20:59:07.796Z] 85791d961cd3: Pulling fs layer [2023-05-08T20:59:07.796Z] d694b5ae8c79: Pulling fs layer [2023-05-08T20:59:07.797Z] 9f32a84ed3da: Pulling fs layer [2023-05-08T20:59:07.797Z] 4d19c01a9841: Pulling fs layer [2023-05-08T20:59:07.797Z] 9325e15d5711: Pulling fs layer [2023-05-08T20:59:07.797Z] 556b6ee489ea: Pulling fs layer [2023-05-08T20:59:07.797Z] c5a4b2cf53e6: Pulling fs layer [2023-05-08T20:59:07.797Z] 9f32a84ed3da: Waiting [2023-05-08T20:59:07.797Z] 4d19c01a9841: Waiting [2023-05-08T20:59:07.797Z] 9325e15d5711: Waiting [2023-05-08T20:59:07.797Z] 556b6ee489ea: Waiting [2023-05-08T20:59:07.797Z] c5a4b2cf53e6: Waiting [2023-05-08T20:59:07.797Z] 85791d961cd3: Download complete [2023-05-08T20:59:08.055Z] 9f32a84ed3da: Verifying Checksum [2023-05-08T20:59:08.055Z] 9f32a84ed3da: Download complete [2023-05-08T20:59:08.055Z] 4d19c01a9841: Download complete [2023-05-08T20:59:08.055Z] f56be85fc22e: Verifying Checksum [2023-05-08T20:59:08.055Z] f56be85fc22e: Download complete [2023-05-08T20:59:08.055Z] 9325e15d5711: Verifying Checksum [2023-05-08T20:59:08.055Z] 9325e15d5711: Download complete [2023-05-08T20:59:08.055Z] f56be85fc22e: Pull complete [2023-05-08T20:59:08.315Z] 85791d961cd3: Pull complete [2023-05-08T20:59:08.574Z] c5a4b2cf53e6: Verifying Checksum [2023-05-08T20:59:08.574Z] c5a4b2cf53e6: Download complete [2023-05-08T20:59:08.574Z] d694b5ae8c79: Verifying Checksum [2023-05-08T20:59:08.574Z] d694b5ae8c79: Download complete [2023-05-08T20:59:08.834Z] 556b6ee489ea: Verifying Checksum [2023-05-08T20:59:08.834Z] 556b6ee489ea: Download complete [2023-05-08T20:59:12.126Z] d694b5ae8c79: Pull complete [2023-05-08T20:59:12.126Z] 9f32a84ed3da: Pull complete [2023-05-08T20:59:12.126Z] 4d19c01a9841: Pull complete [2023-05-08T20:59:12.126Z] 9325e15d5711: Pull complete [2023-05-08T20:59:14.655Z] 556b6ee489ea: Pull complete [2023-05-08T20:59:15.219Z] c5a4b2cf53e6: Pull complete [2023-05-08T20:59:15.219Z] Digest: sha256:cdb650785bd12602035d3ff87499385c169773a4d12d6eaf394b34464d3a0f2b [2023-05-08T20:59:15.219Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine [2023-05-08T20:59:15.219Z] ---> c4be618373d6 [2023-05-08T20:59:15.219Z] Step 3/12 : ARG ADD_BUILD_TAGS="" [2023-05-08T20:59:18.514Z] ---> Running in 02cebc55082a [2023-05-08T20:59:18.514Z] Removing intermediate container 02cebc55082a [2023-05-08T20:59:18.514Z] ---> 24d553e25b65 [2023-05-08T20:59:18.514Z] Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-05-08T20:59:18.514Z] ---> Running in 14f1036258c9 [2023-05-08T20:59:18.776Z] Removing intermediate container 14f1036258c9 [2023-05-08T20:59:18.776Z] ---> d7dbd279d21c [2023-05-08T20:59:18.776Z] Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client" [2023-05-08T20:59:18.776Z] ---> Running in 60c90e89875b [2023-05-08T20:59:18.776Z] Removing intermediate container 60c90e89875b [2023-05-08T20:59:18.776Z] ---> fdf4a5180c89 [2023-05-08T20:59:18.776Z] Step 6/12 : ARG ALPINE_PKG_EXTRA="" [2023-05-08T20:59:18.776Z] ---> Running in 32475a2b422d [2023-05-08T20:59:19.034Z] Removing intermediate container 32475a2b422d [2023-05-08T20:59:19.034Z] ---> cb21856464f5 [2023-05-08T20:59:19.034Z] Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-05-08T20:59:19.034Z] ---> Running in 3a379fdef482 [2023-05-08T20:59:19.326Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz [2023-05-08T20:59:19.586Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz [2023-05-08T20:59:19.844Z] (1/4) Installing openssh-keygen (9.1_p1-r2) [2023-05-08T20:59:19.844Z] (2/4) Installing libedit (20221030.3.1-r0) [2023-05-08T20:59:19.844Z] (3/4) Installing openssh-client-common (9.1_p1-r2) [2023-05-08T20:59:19.844Z] (4/4) Installing openssh-client-default (9.1_p1-r2) [2023-05-08T20:59:19.844Z] Executing busybox-1.35.0-r29.trigger [2023-05-08T20:59:19.844Z] OK: 269 MiB in 57 packages [2023-05-08T20:59:20.412Z] Removing intermediate container 3a379fdef482 [2023-05-08T20:59:20.412Z] ---> 3ef8dcb3c26a [2023-05-08T20:59:20.412Z] Step 8/12 : WORKDIR /device-rest-go [2023-05-08T20:59:20.412Z] ---> Running in 783deea61bde [2023-05-08T20:59:20.412Z] Removing intermediate container 783deea61bde [2023-05-08T20:59:20.412Z] ---> 8de778c62039 [2023-05-08T20:59:20.412Z] Step 9/12 : COPY go.mod vendor* ./ [2023-05-08T20:59:20.412Z] ---> cb910b4a1732 [2023-05-08T20:59:20.412Z] Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-05-08T20:59:20.672Z] ---> Running in 7ea2ebff6279 [2023-05-08T20:59:20.890Z] Still waiting to schedule task [2023-05-08T20:59:20.890Z] All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline [2023-05-08T20:59:59.409Z] Removing intermediate container 7ea2ebff6279 [2023-05-08T20:59:59.409Z] ---> 66e5062c0392 [2023-05-08T20:59:59.409Z] Step 11/12 : COPY . . [2023-05-08T20:59:59.409Z] ---> 805829bdebbb [2023-05-08T20:59:59.409Z] Step 12/12 : RUN $MAKE [2023-05-08T20:59:59.409Z] ---> Running in c7d4bafa64c3 [2023-05-08T20:59:59.409Z] noop [2023-05-08T20:59:59.409Z] Removing intermediate container c7d4bafa64c3 [2023-05-08T20:59:59.409Z] ---> 1883b4730087 [2023-05-08T20:59:59.409Z] Successfully built 1883b4730087 [2023-05-08T20:59:59.409Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-08T20:59:59.887Z] + docker inspect -f . ci-base-image-x86_64 [2023-05-08T20:59:59.887Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-05-08T21:00:00.040Z] prd-ubuntu20.04-docker-8c-8g-14551 does not seem to be running inside a container [2023-05-08T21:00:00.072Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-rest-go_PR-311 -v /w/workspace/gexfoundry_device-rest-go_PR-311:/w/workspace/gexfoundry_device-rest-go_PR-311:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-311@tmp:/w/workspace/gexfoundry_device-rest-go_PR-311@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 ******** ci-base-image-x86_64 cat [2023-05-08T21:00:00.479Z] $ docker top eff968945e4fec97833f61aeeef1d19d7e9f0bb8eb81654838479dd1327807a7 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-05-08T21:00:00.880Z] + go version [2023-05-08T21:00:00.880Z] go version go1.20.2 linux/amd64 [Pipeline] } [2023-05-08T21:00:00.913Z] $ docker stop --time=1 eff968945e4fec97833f61aeeef1d19d7e9f0bb8eb81654838479dd1327807a7 [2023-05-08T21:00:02.178Z] $ docker rm -f --volumes eff968945e4fec97833f61aeeef1d19d7e9f0bb8eb81654838479dd1327807a7 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-08T21:00:02.909Z] + docker inspect -f . ci-base-image-x86_64 [2023-05-08T21:00:02.909Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-05-08T21:00:03.798Z] prd-ubuntu20.04-docker-8c-8g-14551 does not seem to be running inside a container [2023-05-08T21:00:03.828Z] $ 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-311 -v /w/workspace/gexfoundry_device-rest-go_PR-311:/w/workspace/gexfoundry_device-rest-go_PR-311:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-311@tmp:/w/workspace/gexfoundry_device-rest-go_PR-311@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 ******** ci-base-image-x86_64 cat [2023-05-08T21:00:04.169Z] $ docker top 43f87a97249bdcbca2f39cd7956d7f046b3906ce67b1148f85e518827e7919b0 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-05-08T21:00:04.565Z] + git config --global --add safe.directory /w/workspace/gexfoundry_device-rest-go_PR-311 [Pipeline] fileExists [Pipeline] sh [2023-05-08T21:00:04.937Z] + make test [2023-05-08T21:00:04.937Z] go test ./... -coverprofile=coverage.out ./... [2023-05-08T21:00:10.208Z] ? github.com/edgexfoundry/device-rest-go [no test files] [2023-05-08T21:00:20.172Z] ? github.com/edgexfoundry/device-rest-go/cmd [no test files] [2023-05-08T21:00:20.172Z] ok github.com/edgexfoundry/device-rest-go/driver 0.016s coverage: 32.2% of statements [2023-05-08T21:00:26.730Z] go vet ./... [2023-05-08T21:00:30.913Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-05-08T21:00:30.913Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2023-05-08T21:00:30.913Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2023-05-08T21:00:30.967Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2023-05-08T21:00:31.056Z] $ docker stop --time=1 43f87a97249bdcbca2f39cd7956d7f046b3906ce67b1148f85e518827e7919b0 [2023-05-08T21:00:33.426Z] $ docker rm -f --volumes 43f87a97249bdcbca2f39cd7956d7f046b3906ce67b1148f85e518827e7919b0 [Pipeline] // withDockerContainer [Pipeline] sh [2023-05-08T21:00:34.006Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2023-05-08T21:00:34.072Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2023-05-08T21:00:34.828Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-05-08T21:00:35.138Z] + ls -al . [2023-05-08T21:00:35.138Z] total 184 [2023-05-08T21:00:35.138Z] drwxrwxr-x 9 jenkins jenkins 4096 May 8 21:00 . [2023-05-08T21:00:35.138Z] drwxrwxr-x 4 jenkins jenkins 4096 May 8 20:58 .. [2023-05-08T21:00:35.138Z] -rw-rw-r-- 1 jenkins jenkins 151 May 8 20:58 .dockerignore [2023-05-08T21:00:35.138Z] drwxrwxr-x 8 jenkins jenkins 4096 May 8 20:59 .git [2023-05-08T21:00:35.138Z] drwxrwxr-x 3 jenkins jenkins 4096 May 8 20:58 .github [2023-05-08T21:00:35.138Z] -rw-rw-r-- 1 jenkins jenkins 329 May 8 20:58 .gitignore [2023-05-08T21:00:35.138Z] -rw-rw-r-- 1 jenkins jenkins 41 May 8 20:58 .golangci.yml [2023-05-08T21:00:35.138Z] drwxr-xr-x 3 jenkins jenkins 4096 May 8 20:59 .semver [2023-05-08T21:00:35.138Z] -rw-rw-r-- 1 jenkins jenkins 9331 May 8 20:58 Attribution.txt [2023-05-08T21:00:35.138Z] -rw-rw-r-- 1 jenkins jenkins 13085 May 8 20:58 CHANGELOG.md [2023-05-08T21:00:35.138Z] -rw-rw-r-- 1 jenkins jenkins 1578 May 8 20:58 Dockerfile [2023-05-08T21:00:35.138Z] -rw-rw-r-- 1 jenkins jenkins 677 May 8 20:58 GOVERNANCE.md [2023-05-08T21:00:35.138Z] -rw-rw-r-- 1 jenkins jenkins 680 May 8 20:58 Jenkinsfile [2023-05-08T21:00:35.138Z] -rw-rw-r-- 1 jenkins jenkins 11340 May 8 20:58 LICENSE [2023-05-08T21:00:35.138Z] -rw-rw-r-- 1 jenkins jenkins 1779 May 8 20:58 Makefile [2023-05-08T21:00:35.138Z] -rw-rw-r-- 1 jenkins jenkins 620 May 8 20:58 OWNERS.md [2023-05-08T21:00:35.138Z] -rw-rw-r-- 1 jenkins jenkins 15321 May 8 20:58 README.md [2023-05-08T21:00:35.138Z] -rw-rw-r-- 1 jenkins jenkins 5 May 8 20:59 VERSION [2023-05-08T21:00:35.138Z] drwxrwxr-x 2 jenkins jenkins 4096 May 8 20:58 bin [2023-05-08T21:00:35.139Z] drwxrwxr-x 3 jenkins jenkins 4096 May 8 20:58 cmd [2023-05-08T21:00:35.139Z] -rw-r--r-- 1 jenkins jenkins 14663 May 8 21:00 coverage.out [2023-05-08T21:00:35.139Z] drwxrwxr-x 2 jenkins jenkins 4096 May 8 20:58 driver [2023-05-08T21:00:35.139Z] -rw-rw-r-- 1 jenkins jenkins 3402 May 8 20:58 go.mod [2023-05-08T21:00:35.139Z] -rw-rw-r-- 1 jenkins jenkins 31328 May 8 20:58 go.sum [2023-05-08T21:00:35.139Z] drwxrwxr-x 4 jenkins jenkins 4096 May 8 20:58 snap [2023-05-08T21:00:35.139Z] -rw-rw-r-- 1 jenkins jenkins 713 May 8 20:58 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-08T21:00:35.532Z] + 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=b80d114abd0b09022f30a7edfac24246445c8ce4 --label arch=amd64 --label version=0.0.0 . [2023-05-08T21:00:35.532Z] Sending build context to Docker daemon 10.93MB [2023-05-08T21:00:35.532Z] Step 1/25 : ARG BASE=golang:1.20-alpine3.17 [2023-05-08T21:00:35.532Z] Step 2/25 : FROM ${BASE} AS builder [2023-05-08T21:00:35.532Z] ---> 1883b4730087 [2023-05-08T21:00:35.532Z] Step 3/25 : ARG ADD_BUILD_TAGS="" [2023-05-08T21:00:35.532Z] ---> Running in 91f2d5045deb [2023-05-08T21:00:35.792Z] Removing intermediate container 91f2d5045deb [2023-05-08T21:00:35.792Z] ---> e25debc81b5c [2023-05-08T21:00:35.792Z] Step 4/25 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-05-08T21:00:35.792Z] ---> Running in dfa09623ee26 [2023-05-08T21:00:35.792Z] Removing intermediate container dfa09623ee26 [2023-05-08T21:00:35.792Z] ---> dc67fbbe5f3e [2023-05-08T21:00:35.792Z] Step 5/25 : ARG ALPINE_PKG_BASE="make git openssh-client" [2023-05-08T21:00:35.792Z] ---> Running in 7546120e9578 [2023-05-08T21:00:35.792Z] Removing intermediate container 7546120e9578 [2023-05-08T21:00:35.792Z] ---> 7620056896b9 [2023-05-08T21:00:35.792Z] Step 6/25 : ARG ALPINE_PKG_EXTRA="" [2023-05-08T21:00:35.792Z] ---> Running in cfbe5c67feb1 [2023-05-08T21:00:36.050Z] Removing intermediate container cfbe5c67feb1 [2023-05-08T21:00:36.050Z] ---> bbe1acbee2d1 [2023-05-08T21:00:36.050Z] Step 7/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-05-08T21:00:36.050Z] ---> Running in a7d700cbb8c6 [2023-05-08T21:00:36.309Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz [2023-05-08T21:00:36.567Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz [2023-05-08T21:00:36.567Z] OK: 269 MiB in 57 packages [2023-05-08T21:00:37.134Z] Removing intermediate container a7d700cbb8c6 [2023-05-08T21:00:37.134Z] ---> b82bf9299536 [2023-05-08T21:00:37.134Z] Step 8/25 : WORKDIR /device-rest-go [2023-05-08T21:00:37.134Z] ---> Running in 79542f6cd454 [2023-05-08T21:00:37.134Z] Removing intermediate container 79542f6cd454 [2023-05-08T21:00:37.134Z] ---> bcf75904b8cd [2023-05-08T21:00:37.134Z] Step 9/25 : COPY go.mod vendor* ./ [2023-05-08T21:00:37.134Z] ---> db6ae61b8d09 [2023-05-08T21:00:37.134Z] Step 10/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-05-08T21:00:37.665Z] ---> Running in 3786eb653fa4 [2023-05-08T21:00:38.232Z] Removing intermediate container 3786eb653fa4 [2023-05-08T21:00:38.232Z] ---> 0b6e521ce728 [2023-05-08T21:00:38.232Z] Step 11/25 : COPY . . [2023-05-08T21:00:38.491Z] ---> bffec8b25970 [2023-05-08T21:00:38.491Z] Step 12/25 : RUN $MAKE [2023-05-08T21:00:38.491Z] ---> Running in 91dbc6033f91 [2023-05-08T21:00:38.748Z] 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-05-08T21:00:58.588Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-14552 in /w/workspace/gexfoundry_device-rest-go_PR-311 [Pipeline] { [Pipeline] ws [2023-05-08T21:00:58.646Z] Running in /w/workspace/device-rest-go/1 [Pipeline] { [Pipeline] checkout [2023-05-08T21:00:58.723Z] The recommended git tool is: git [2023-05-08T21:01:01.089Z] Removing intermediate container 91dbc6033f91 [2023-05-08T21:01:01.089Z] ---> fd71805d3926 [2023-05-08T21:01:01.089Z] Step 13/25 : FROM alpine:3.17 [2023-05-08T21:01:01.089Z] 3.17: Pulling from library/alpine [2023-05-08T21:01:01.089Z] f56be85fc22e: Already exists [2023-05-08T21:01:01.089Z] Digest: sha256:124c7d2707904eea7431fffe91522a01e5a861a624ee31d03372cc1d138a3126 [2023-05-08T21:01:01.089Z] Status: Downloaded newer image for alpine:3.17 [2023-05-08T21:01:01.089Z] ---> 9ed4aefc74f6 [2023-05-08T21:01:01.089Z] Step 14/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' [2023-05-08T21:01:01.089Z] ---> Running in c52dd4ab0d0b [2023-05-08T21:01:01.089Z] Removing intermediate container c52dd4ab0d0b [2023-05-08T21:01:01.089Z] ---> 86248b631385 [2023-05-08T21:01:01.089Z] Step 15/25 : LABEL Name=device-rest-go Version=${VERSION} [2023-05-08T21:01:01.089Z] ---> Running in 55d060255273 [2023-05-08T21:01:01.347Z] Removing intermediate container 55d060255273 [2023-05-08T21:01:01.347Z] ---> cd47d63cf3ab [2023-05-08T21:01:01.347Z] Step 16/25 : RUN apk add --update --no-cache dumb-init [2023-05-08T21:01:01.916Z] ---> Running in ce05c29d5c3b [2023-05-08T21:01:03.292Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz [2023-05-08T21:01:03.292Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz [2023-05-08T21:01:03.550Z] (1/1) Installing dumb-init (1.2.5-r2) [2023-05-08T21:01:03.550Z] Executing busybox-1.35.0-r29.trigger [2023-05-08T21:01:03.550Z] OK: 7 MiB in 16 packages [2023-05-08T21:01:03.809Z] Removing intermediate container ce05c29d5c3b [2023-05-08T21:01:03.809Z] ---> 55b08e64ff38 [2023-05-08T21:01:03.809Z] Step 17/25 : COPY --from=builder /device-rest-go/cmd / [2023-05-08T21:01:04.747Z] ---> 9bc9c732b5e0 [2023-05-08T21:01:04.747Z] Step 18/25 : COPY --from=builder /device-rest-go/LICENSE / [2023-05-08T21:01:04.747Z] ---> a0510b215c59 [2023-05-08T21:01:04.747Z] Step 19/25 : COPY --from=builder /device-rest-go/Attribution.txt / [2023-05-08T21:01:04.747Z] ---> cd5986d0ad9c [2023-05-08T21:01:04.747Z] Step 20/25 : EXPOSE 59986 [2023-05-08T21:01:04.747Z] ---> Running in 4826da59efec [2023-05-08T21:01:05.007Z] Removing intermediate container 4826da59efec [2023-05-08T21:01:05.007Z] ---> fcb9841e4be8 [2023-05-08T21:01:05.007Z] Step 21/25 : ENTRYPOINT ["/device-rest"] [2023-05-08T21:01:05.007Z] ---> Running in 9f0f7ca4e47c [2023-05-08T21:01:05.007Z] Removing intermediate container 9f0f7ca4e47c [2023-05-08T21:01:05.007Z] ---> c599954b7c9b [2023-05-08T21:01:05.007Z] Step 22/25 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry"] [2023-05-08T21:01:05.007Z] ---> Running in ec165cc55132 [2023-05-08T21:01:05.007Z] Removing intermediate container ec165cc55132 [2023-05-08T21:01:05.007Z] ---> b9da7a67d59c [2023-05-08T21:01:05.007Z] Step 23/25 : LABEL arch=amd64 [2023-05-08T21:01:05.007Z] ---> Running in 64ee4c379aa9 [2023-05-08T21:01:05.276Z] Removing intermediate container 64ee4c379aa9 [2023-05-08T21:01:05.276Z] ---> a69926714527 [2023-05-08T21:01:05.276Z] Step 24/25 : LABEL git_sha=b80d114abd0b09022f30a7edfac24246445c8ce4 [2023-05-08T21:01:05.276Z] ---> Running in 49830abcb890 [2023-05-08T21:01:05.276Z] Removing intermediate container 49830abcb890 [2023-05-08T21:01:05.276Z] ---> 8fec3023ba65 [2023-05-08T21:01:05.276Z] Step 25/25 : LABEL version=0.0.0 [2023-05-08T21:01:05.276Z] ---> Running in 2115e92dc29a [2023-05-08T21:01:05.453Z] using credential edgex-jenkins-ssh [2023-05-08T21:01:05.469Z] Cloning the remote Git repository [2023-05-08T21:01:05.535Z] Removing intermediate container 2115e92dc29a [2023-05-08T21:01:05.535Z] ---> 88f53b0f7d38 [2023-05-08T21:01:05.535Z] [Warning] One or more build-args [ARCH] were not consumed [2023-05-08T21:01:05.535Z] Successfully built 88f53b0f7d38 [2023-05-08T21:01:05.535Z] 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 [2023-05-08T21:01:05.516Z] Cloning repository git@github.com:edgexfoundry/device-rest-go.git [2023-05-08T21:01:05.607Z] > git init /w/workspace/device-rest-go/1 # timeout=10 [2023-05-08T21:01:05.756Z] Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git [2023-05-08T21:01:05.757Z] > git --version # timeout=10 [2023-05-08T21:01:05.775Z] > git --version # 'git version 2.25.1' [2023-05-08T21:01:05.777Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-05-08T21:01:05.921Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-08T21:01:06.449Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-05-08T21:01:06.449Z] [2023-05-08T21:01:06.449Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-08T21:01:06.831Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-05-08T21:01:06.831Z] latest: Pulling from edgex-lftools-log-publisher [2023-05-08T21:01:06.831Z] 5eb5b503b376: Pulling fs layer [2023-05-08T21:01:06.831Z] 5c69ac0246d0: Pulling fs layer [2023-05-08T21:01:06.831Z] ec43610c2a17: Pulling fs layer [2023-05-08T21:01:06.831Z] 3a2ae6a8a46f: Pulling fs layer [2023-05-08T21:01:06.831Z] 33b1e0a273af: Pulling fs layer [2023-05-08T21:01:06.831Z] 5d3b04190fa2: Pulling fs layer [2023-05-08T21:01:06.831Z] 2f39f015ded8: Pulling fs layer [2023-05-08T21:01:06.831Z] 5d3b04190fa2: Waiting [2023-05-08T21:01:06.831Z] 3a2ae6a8a46f: Waiting [2023-05-08T21:01:06.831Z] 33b1e0a273af: Waiting [2023-05-08T21:01:06.831Z] 2f39f015ded8: Waiting [2023-05-08T21:01:06.831Z] 5c69ac0246d0: Download complete [2023-05-08T21:01:06.831Z] 3a2ae6a8a46f: Verifying Checksum [2023-05-08T21:01:06.831Z] 3a2ae6a8a46f: Download complete [2023-05-08T21:01:06.831Z] 33b1e0a273af: Verifying Checksum [2023-05-08T21:01:06.831Z] 33b1e0a273af: Download complete [2023-05-08T21:01:06.831Z] 5d3b04190fa2: Verifying Checksum [2023-05-08T21:01:06.831Z] 5d3b04190fa2: Download complete [2023-05-08T21:01:07.090Z] ec43610c2a17: Verifying Checksum [2023-05-08T21:01:07.090Z] ec43610c2a17: Download complete [2023-05-08T21:01:07.090Z] 5eb5b503b376: Verifying Checksum [2023-05-08T21:01:07.090Z] 5eb5b503b376: Download complete [2023-05-08T21:01:07.656Z] 2f39f015ded8: Verifying Checksum [2023-05-08T21:01:07.656Z] 2f39f015ded8: Download complete [2023-05-08T21:01:08.223Z] 5eb5b503b376: Pull complete [2023-05-08T21:01:08.484Z] 5c69ac0246d0: Pull complete [2023-05-08T21:01:08.749Z] ec43610c2a17: Pull complete [2023-05-08T21:01:07.743Z] > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 [2023-05-08T21:01:07.766Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-05-08T21:01:09.008Z] 3a2ae6a8a46f: Pull complete [2023-05-08T21:01:09.266Z] 33b1e0a273af: Pull complete [2023-05-08T21:01:09.266Z] 5d3b04190fa2: Pull complete [2023-05-08T21:01:09.452Z] Merging remotes/origin/main commit f04ad0eeb594cd3f8ad46f53b1443669e92ac7fc into PR head commit b80d114abd0b09022f30a7edfac24246445c8ce4 [2023-05-08T21:01:09.760Z] Merge succeeded, producing b80d114abd0b09022f30a7edfac24246445c8ce4 [2023-05-08T21:01:09.760Z] Checking out Revision b80d114abd0b09022f30a7edfac24246445c8ce4 (PR-311) [2023-05-08T21:01:10.295Z] Commit message: "build(deps): Bump github.com/edgexfoundry/device-sdk-go/v3" [2023-05-08T21:01:08.866Z] > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 [2023-05-08T21:01:08.905Z] Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git [2023-05-08T21:01:08.906Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-05-08T21:01:08.923Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/pull/311/head:refs/remotes/origin/PR-311 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2023-05-08T21:01:09.477Z] > git config core.sparsecheckout # timeout=10 [2023-05-08T21:01:09.553Z] > git checkout -f b80d114abd0b09022f30a7edfac24246445c8ce4 # timeout=10 [2023-05-08T21:01:09.646Z] > git remote # timeout=10 [2023-05-08T21:01:09.674Z] > git config --get remote.origin.url # timeout=10 [2023-05-08T21:01:09.699Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-05-08T21:01:09.714Z] > git merge f04ad0eeb594cd3f8ad46f53b1443669e92ac7fc # timeout=10 [2023-05-08T21:01:09.743Z] > git rev-parse HEAD^{commit} # timeout=10 [2023-05-08T21:01:09.772Z] > git config core.sparsecheckout # timeout=10 [2023-05-08T21:01:09.789Z] > git checkout -f b80d114abd0b09022f30a7edfac24246445c8ce4 # timeout=10 [2023-05-08T21:01:10.355Z] > git --version # timeout=10 [2023-05-08T21:01:10.366Z] > git --version # 'git version 2.25.1' [2023-05-08T21:01:10.383Z] fatal: bad object 4fc256d9079ed2258907e613f84b1b8da264a4bd [2023-05-08T21:01:10.803Z] [2023-05-08T21:01:10.803Z] GitHub has been notified of this commit’s build result [2023-05-08T21:01:10.803Z] [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-05-08T21:01:11.565Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2023-05-08T21:01:11.565Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-05-08T21:01:11.565Z] Dload Upload Total Spent Left Speed [2023-05-08T21:01:11.565Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 99617 0 --:--:-- --:--:-- --:--:-- 99617 [Pipeline] sh [2023-05-08T21:01:12.287Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2023-05-08T21:01:12.637Z] + sudo tee /etc/docker/daemon.new [2023-05-08T21:01:12.637Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2023-05-08T21:01:12.637Z] { [2023-05-08T21:01:12.637Z] "registry-mirrors": [ [2023-05-08T21:01:12.637Z] "https://nexus3.edgexfoundry.org:10001" [2023-05-08T21:01:12.637Z] ], [2023-05-08T21:01:12.637Z] "bip": "10.250.0.254/24", [2023-05-08T21:01:12.637Z] "hosts": [ [2023-05-08T21:01:12.637Z] "tcp://0.0.0.0:5555", [2023-05-08T21:01:12.637Z] "unix:///var/run/docker.sock" [2023-05-08T21:01:12.637Z] ], [2023-05-08T21:01:12.637Z] "mtu": 1458, [2023-05-08T21:01:12.637Z] "selinux-enabled": true, [2023-05-08T21:01:12.637Z] "seccomp-profile": "/etc/docker/seccomp.json" [2023-05-08T21:01:12.637Z] } [Pipeline] sh [2023-05-08T21:01:12.988Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2023-05-08T21:01:13.347Z] + sudo service docker restart [2023-05-08T21:01:13.451Z] 2f39f015ded8: Pull complete [2023-05-08T21:01:13.451Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2023-05-08T21:01:13.451Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-05-08T21:01:13.451Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-05-08T21:01:13.690Z] prd-ubuntu20.04-docker-8c-8g-14551 does not seem to be running inside a container [2023-05-08T21:01:13.723Z] $ 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-311 -v /w/workspace/gexfoundry_device-rest-go_PR-311:/w/workspace/gexfoundry_device-rest-go_PR-311:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-311@tmp:/w/workspace/gexfoundry_device-rest-go_PR-311@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2023-05-08T21:01:17.080Z] $ docker top a6cfd5c45b6b3a5843d50e0a375533d5ed9ceb466c041ade1e16b9c05f247728 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-05-08T21:01:17.562Z] ---> job-cost.sh [2023-05-08T21:01:17.563Z] lf-activate-venv: SKIPPING [2023-05-08T21:01:17.563Z] INFO: No Stack... [2023-05-08T21:01:18.132Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-05-08T21:01:18.393Z] INFO: Archiving Costs [Pipeline] sh [2023-05-08T21:01:18.714Z] + cat /w/workspace/gexfoundry_device-rest-go_PR-311/archives/cost.csv [2023-05-08T21:01:18.714Z] + cut -d, -f6 [Pipeline] lock [2023-05-08T21:01:18.758Z] Trying to acquire lock on [jenkins-edgexfoundry-device-rest-go-PR-311-1-stack-cost] [2023-05-08T21:01:18.764Z] Resource [jenkins-edgexfoundry-device-rest-go-PR-311-1-stack-cost] did not exist. Created. [2023-05-08T21:01:18.764Z] Lock acquired on [jenkins-edgexfoundry-device-rest-go-PR-311-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-05-08T21:01:19.175Z] + echo total: 0.2199999988079071 [Pipeline] stash [2023-05-08T21:01:19.235Z] Stashed 1 file(s) [Pipeline] } [2023-05-08T21:01:19.272Z] Lock released on resource [jenkins-edgexfoundry-device-rest-go-PR-311-1-stack-cost] [Pipeline] // lock [Pipeline] } [2023-05-08T21:01:19.361Z] $ docker stop --time=1 a6cfd5c45b6b3a5843d50e0a375533d5ed9ceb466c041ade1e16b9c05f247728 [2023-05-08T21:01:20.520Z] $ docker rm -f --volumes a6cfd5c45b6b3a5843d50e0a375533d5ed9ceb466c041ade1e16b9c05f247728 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-05-08T21:01:31.697Z] provisioning config files... [2023-05-08T21:01:31.729Z] copy managed file [device-rest-go-settings] to file:/w/workspace/device-rest-go/1@tmp/config4450008362712926952tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-05-08T21:01:32.127Z] ---> docker-login.sh [2023-05-08T21:01:32.127Z] nexus3.edgexfoundry.org:10001 [2023-05-08T21:01:32.717Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-08T21:01:32.717Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-08T21:01:32.717Z] Configure a credential helper to remove this warning. See [2023-05-08T21:01:32.717Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-08T21:01:32.717Z] [2023-05-08T21:01:32.717Z] Login Succeeded [2023-05-08T21:01:32.717Z] nexus3.edgexfoundry.org:10002 [2023-05-08T21:01:32.986Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-08T21:01:32.986Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-08T21:01:32.986Z] Configure a credential helper to remove this warning. See [2023-05-08T21:01:32.986Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-08T21:01:32.986Z] [2023-05-08T21:01:32.986Z] Login Succeeded [2023-05-08T21:01:33.255Z] nexus3.edgexfoundry.org:10003 [2023-05-08T21:01:33.255Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-08T21:01:33.525Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-08T21:01:33.526Z] Configure a credential helper to remove this warning. See [2023-05-08T21:01:33.526Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-08T21:01:33.526Z] [2023-05-08T21:01:33.526Z] Login Succeeded [2023-05-08T21:01:33.526Z] nexus3.edgexfoundry.org:10004 [2023-05-08T21:01:33.798Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-08T21:01:33.798Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-08T21:01:33.798Z] Configure a credential helper to remove this warning. See [2023-05-08T21:01:33.798Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-08T21:01:33.798Z] [2023-05-08T21:01:33.798Z] Login Succeeded [2023-05-08T21:01:33.798Z] docker.io [2023-05-08T21:01:34.066Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-08T21:01:34.333Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-08T21:01:34.333Z] Configure a credential helper to remove this warning. See [2023-05-08T21:01:34.333Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-08T21:01:34.333Z] [2023-05-08T21:01:34.333Z] Login Succeeded [2023-05-08T21:01:34.333Z] ---> docker-login.sh ends [Pipeline] } [2023-05-08T21:01:34.357Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-05-08T21:01:34.749Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-05-08T21:01:34.794Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-05-08T21:01:34.840Z] ========================================================= [2023-05-08T21:01:34.840Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine] [2023-05-08T21:01:34.840Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-08T21:01:35.423Z] + 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-05-08T21:01:35.424Z] Sending build context to Docker daemon 139.3kB [2023-05-08T21:01:35.424Z] Step 1/12 : ARG BASE=golang:1.20-alpine3.17 [2023-05-08T21:01:35.424Z] Step 2/12 : FROM ${BASE} AS builder [2023-05-08T21:01:35.727Z] 1.20-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2023-05-08T21:01:35.727Z] c41833b44d91: Pulling fs layer [2023-05-08T21:01:35.727Z] ed15518f5707: Pulling fs layer [2023-05-08T21:01:35.727Z] feae8fd75edb: Pulling fs layer [2023-05-08T21:01:35.727Z] 242c74f7c9fa: Pulling fs layer [2023-05-08T21:01:35.727Z] 3cdef696dda3: Pulling fs layer [2023-05-08T21:01:35.727Z] 2ced38df9373: Pulling fs layer [2023-05-08T21:01:35.727Z] 58f1dce35555: Pulling fs layer [2023-05-08T21:01:35.727Z] 242c74f7c9fa: Waiting [2023-05-08T21:01:35.727Z] 3cdef696dda3: Waiting [2023-05-08T21:01:35.727Z] 2ced38df9373: Waiting [2023-05-08T21:01:35.727Z] 58f1dce35555: Waiting [2023-05-08T21:01:35.727Z] ed15518f5707: Verifying Checksum [2023-05-08T21:01:35.727Z] ed15518f5707: Download complete [2023-05-08T21:01:35.727Z] 242c74f7c9fa: Verifying Checksum [2023-05-08T21:01:35.727Z] 242c74f7c9fa: Download complete [2023-05-08T21:01:35.727Z] 3cdef696dda3: Verifying Checksum [2023-05-08T21:01:35.727Z] 3cdef696dda3: Download complete [2023-05-08T21:01:36.006Z] c41833b44d91: Verifying Checksum [2023-05-08T21:01:36.006Z] c41833b44d91: Download complete [2023-05-08T21:01:36.976Z] c41833b44d91: Pull complete [2023-05-08T21:01:37.249Z] 58f1dce35555: Verifying Checksum [2023-05-08T21:01:37.249Z] 58f1dce35555: Download complete [2023-05-08T21:01:37.527Z] ed15518f5707: Pull complete [2023-05-08T21:01:38.492Z] feae8fd75edb: Verifying Checksum [2023-05-08T21:01:38.492Z] feae8fd75edb: Download complete [2023-05-08T21:01:38.492Z] 2ced38df9373: Verifying Checksum [2023-05-08T21:01:38.492Z] 2ced38df9373: Download complete [2023-05-08T21:01:48.597Z] feae8fd75edb: Pull complete [2023-05-08T21:01:48.866Z] 242c74f7c9fa: Pull complete [2023-05-08T21:01:48.866Z] 3cdef696dda3: Pull complete [2023-05-08T21:01:57.106Z] 2ced38df9373: Pull complete [2023-05-08T21:01:59.070Z] 58f1dce35555: Pull complete [2023-05-08T21:01:59.070Z] Digest: sha256:3b55595e96c696ae732e8cb20cde5b1ff7282a1fe1423a8de67617af8d15ea1e [2023-05-08T21:01:59.070Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine [2023-05-08T21:01:59.070Z] ---> fadd8f120f05 [2023-05-08T21:01:59.070Z] Step 3/12 : ARG ADD_BUILD_TAGS="" [2023-05-08T21:02:01.032Z] ---> Running in 794f5318f1f3 [2023-05-08T21:02:01.032Z] Removing intermediate container 794f5318f1f3 [2023-05-08T21:02:01.032Z] ---> f12af39d16de [2023-05-08T21:02:01.032Z] Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-05-08T21:02:01.032Z] ---> Running in 0901a5282c52 [2023-05-08T21:02:01.302Z] Removing intermediate container 0901a5282c52 [2023-05-08T21:02:01.302Z] ---> 60e38cc4de94 [2023-05-08T21:02:01.302Z] Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client" [2023-05-08T21:02:01.302Z] ---> Running in cc550e2cf250 [2023-05-08T21:02:01.572Z] Removing intermediate container cc550e2cf250 [2023-05-08T21:02:01.572Z] ---> b30f2afb79cd [2023-05-08T21:02:01.572Z] Step 6/12 : ARG ALPINE_PKG_EXTRA="" [2023-05-08T21:02:01.840Z] ---> Running in 5b5ee2e4029d [2023-05-08T21:02:02.108Z] Removing intermediate container 5b5ee2e4029d [2023-05-08T21:02:02.108Z] ---> 5c4899abd669 [2023-05-08T21:02:02.108Z] Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-05-08T21:02:02.108Z] ---> Running in 8e3d1092862e [2023-05-08T21:02:03.074Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz [2023-05-08T21:02:03.664Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz [2023-05-08T21:02:04.630Z] (1/4) Installing openssh-keygen (9.1_p1-r2) [2023-05-08T21:02:04.630Z] (2/4) Installing libedit (20221030.3.1-r0) [2023-05-08T21:02:04.630Z] (3/4) Installing openssh-client-common (9.1_p1-r2) [2023-05-08T21:02:04.630Z] (4/4) Installing openssh-client-default (9.1_p1-r2) [2023-05-08T21:02:04.630Z] Executing busybox-1.35.0-r29.trigger [2023-05-08T21:02:04.901Z] OK: 268 MiB in 57 packages [2023-05-08T21:02:05.865Z] Removing intermediate container 8e3d1092862e [2023-05-08T21:02:05.865Z] ---> cb1d4c542f4f [2023-05-08T21:02:05.865Z] Step 8/12 : WORKDIR /device-rest-go [2023-05-08T21:02:05.865Z] ---> Running in 07ea0eb008f7 [2023-05-08T21:02:06.135Z] Removing intermediate container 07ea0eb008f7 [2023-05-08T21:02:06.135Z] ---> dd7aec4802f4 [2023-05-08T21:02:06.135Z] Step 9/12 : COPY go.mod vendor* ./ [2023-05-08T21:02:06.722Z] ---> 7b07c4e02949 [2023-05-08T21:02:06.722Z] Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-05-08T21:02:06.722Z] ---> Running in 5e47c2b21a5e [2023-05-08T21:03:14.648Z] Removing intermediate container 5e47c2b21a5e [2023-05-08T21:03:14.648Z] ---> 553efb6bdd93 [2023-05-08T21:03:14.648Z] Step 11/12 : COPY . . [2023-05-08T21:03:14.648Z] ---> 2c1038e82cd9 [2023-05-08T21:03:14.648Z] Step 12/12 : RUN $MAKE [2023-05-08T21:03:14.648Z] ---> Running in defabce30889 [2023-05-08T21:03:14.648Z] noop [2023-05-08T21:03:14.648Z] Removing intermediate container defabce30889 [2023-05-08T21:03:14.648Z] ---> 05d213030e14 [2023-05-08T21:03:14.648Z] Successfully built 05d213030e14 [2023-05-08T21:03:14.648Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-08T21:03:15.153Z] + docker inspect -f . ci-base-image-arm64 [2023-05-08T21:03:15.153Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-05-08T21:03:15.453Z] prd-ubuntu20.04-docker-arm64-4c-16g-14552 does not seem to be running inside a container [2023-05-08T21:03:15.528Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-rest-go/1 -v /w/workspace/device-rest-go/1:/w/workspace/device-rest-go/1:rw,z -v /w/workspace/device-rest-go/1@tmp:/w/workspace/device-rest-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2023-05-08T21:03:18.481Z] $ docker top 4eb85f4f8a9cbf6eaff53ba20a587d3485b16146e98026dd5dd6d1d8b18c9ccd -eo pid,comm [Pipeline] { [Pipeline] sh [2023-05-08T21:03:19.345Z] + go version [2023-05-08T21:03:19.345Z] go version go1.20.2 linux/arm64 [Pipeline] } [2023-05-08T21:03:19.386Z] $ docker stop --time=1 4eb85f4f8a9cbf6eaff53ba20a587d3485b16146e98026dd5dd6d1d8b18c9ccd [2023-05-08T21:03:20.983Z] $ docker rm -f --volumes 4eb85f4f8a9cbf6eaff53ba20a587d3485b16146e98026dd5dd6d1d8b18c9ccd [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-08T21:03:21.874Z] + docker inspect -f . ci-base-image-arm64 [2023-05-08T21:03:21.874Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-05-08T21:03:22.130Z] prd-ubuntu20.04-docker-arm64-4c-16g-14552 does not seem to be running inside a container [2023-05-08T21:03:22.202Z] $ 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/1 -v /w/workspace/device-rest-go/1:/w/workspace/device-rest-go/1:rw,z -v /w/workspace/device-rest-go/1@tmp:/w/workspace/device-rest-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2023-05-08T21:03:23.322Z] $ docker top f03f731d4669df1f0d680be42b2048634e4a4b2fbb87ea59ff8b81181355a155 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-05-08T21:03:23.864Z] + git config --global --add safe.directory /w/workspace/device-rest-go/1 [Pipeline] fileExists [Pipeline] sh [2023-05-08T21:03:24.259Z] + make test [2023-05-08T21:03:24.259Z] go test ./... -coverprofile=coverage.out ./... [2023-05-08T21:03:56.657Z] ? github.com/edgexfoundry/device-rest-go [no test files] [2023-05-08T21:06:03.349Z] ? github.com/edgexfoundry/device-rest-go/cmd [no test files] [2023-05-08T21:06:03.349Z] ok github.com/edgexfoundry/device-rest-go/driver 0.114s coverage: 32.2% of statements [2023-05-08T21:06:03.349Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2023-05-08T21:06:03.349Z] go vet ./... [2023-05-08T21:06:25.429Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-05-08T21:06:25.429Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2023-05-08T21:06:25.429Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2023-05-08T21:06:25.476Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2023-05-08T21:06:25.518Z] $ docker stop --time=1 f03f731d4669df1f0d680be42b2048634e4a4b2fbb87ea59ff8b81181355a155 [2023-05-08T21:06:27.435Z] $ docker rm -f --volumes f03f731d4669df1f0d680be42b2048634e4a4b2fbb87ea59ff8b81181355a155 [Pipeline] // withDockerContainer [Pipeline] sh [2023-05-08T21:06:28.669Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2023-05-08T21:06:28.707Z] Warning: overwriting stash ‘coverage-report’ [2023-05-08T21:06:29.200Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-05-08T21:06:29.832Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-05-08T21:06:30.186Z] + ls -al . [2023-05-08T21:06:30.186Z] total 180 [2023-05-08T21:06:30.186Z] drwxrwxr-x 8 jenkins jenkins 4096 May 8 21:03 . [2023-05-08T21:06:30.186Z] drwxrwxr-x 4 jenkins jenkins 4096 May 8 21:01 .. [2023-05-08T21:06:30.186Z] -rw-rw-r-- 1 jenkins jenkins 151 May 8 21:01 .dockerignore [2023-05-08T21:06:30.186Z] drwxrwxr-x 8 jenkins jenkins 4096 May 8 21:01 .git [2023-05-08T21:06:30.186Z] drwxrwxr-x 3 jenkins jenkins 4096 May 8 21:01 .github [2023-05-08T21:06:30.186Z] -rw-rw-r-- 1 jenkins jenkins 329 May 8 21:01 .gitignore [2023-05-08T21:06:30.186Z] -rw-rw-r-- 1 jenkins jenkins 41 May 8 21:01 .golangci.yml [2023-05-08T21:06:30.186Z] -rw-rw-r-- 1 jenkins jenkins 9331 May 8 21:01 Attribution.txt [2023-05-08T21:06:30.186Z] -rw-rw-r-- 1 jenkins jenkins 13085 May 8 21:01 CHANGELOG.md [2023-05-08T21:06:30.186Z] -rw-rw-r-- 1 jenkins jenkins 1578 May 8 21:01 Dockerfile [2023-05-08T21:06:30.186Z] -rw-rw-r-- 1 jenkins jenkins 677 May 8 21:01 GOVERNANCE.md [2023-05-08T21:06:30.186Z] -rw-rw-r-- 1 jenkins jenkins 680 May 8 21:01 Jenkinsfile [2023-05-08T21:06:30.186Z] -rw-rw-r-- 1 jenkins jenkins 11340 May 8 21:01 LICENSE [2023-05-08T21:06:30.186Z] -rw-rw-r-- 1 jenkins jenkins 1779 May 8 21:01 Makefile [2023-05-08T21:06:30.186Z] -rw-rw-r-- 1 jenkins jenkins 620 May 8 21:01 OWNERS.md [2023-05-08T21:06:30.186Z] -rw-rw-r-- 1 jenkins jenkins 15321 May 8 21:01 README.md [2023-05-08T21:06:30.186Z] -rw-rw-r-- 1 jenkins jenkins 5 May 8 20:59 VERSION [2023-05-08T21:06:30.187Z] drwxrwxr-x 2 jenkins jenkins 4096 May 8 21:01 bin [2023-05-08T21:06:30.187Z] drwxrwxr-x 3 jenkins jenkins 4096 May 8 21:01 cmd [2023-05-08T21:06:30.187Z] -rw-r--r-- 1 jenkins jenkins 14663 May 8 21:05 coverage.out [2023-05-08T21:06:30.187Z] drwxrwxr-x 2 jenkins jenkins 4096 May 8 21:01 driver [2023-05-08T21:06:30.187Z] -rw-rw-r-- 1 jenkins jenkins 3402 May 8 21:01 go.mod [2023-05-08T21:06:30.187Z] -rw-rw-r-- 1 jenkins jenkins 31328 May 8 21:01 go.sum [2023-05-08T21:06:30.187Z] drwxrwxr-x 4 jenkins jenkins 4096 May 8 21:01 snap [2023-05-08T21:06:30.187Z] -rw-rw-r-- 1 jenkins jenkins 713 May 8 21:01 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-08T21:06:30.613Z] + 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=b80d114abd0b09022f30a7edfac24246445c8ce4 --label arch=arm64 --label version=0.0.0 . [2023-05-08T21:06:30.613Z] Sending build context to Docker daemon 154.6kB [2023-05-08T21:06:30.884Z] Step 1/25 : ARG BASE=golang:1.20-alpine3.17 [2023-05-08T21:06:30.884Z] Step 2/25 : FROM ${BASE} AS builder [2023-05-08T21:06:30.884Z] ---> 05d213030e14 [2023-05-08T21:06:30.884Z] Step 3/25 : ARG ADD_BUILD_TAGS="" [2023-05-08T21:06:30.884Z] ---> Running in 371062b93254 [2023-05-08T21:06:31.153Z] Removing intermediate container 371062b93254 [2023-05-08T21:06:31.153Z] ---> 9cfa7ce96b07 [2023-05-08T21:06:31.153Z] Step 4/25 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-05-08T21:06:31.423Z] ---> Running in 5f25127608e6 [2023-05-08T21:06:31.693Z] Removing intermediate container 5f25127608e6 [2023-05-08T21:06:31.693Z] ---> f40d54b8889c [2023-05-08T21:06:31.693Z] Step 5/25 : ARG ALPINE_PKG_BASE="make git openssh-client" [2023-05-08T21:06:31.693Z] ---> Running in f39acffdc2da [2023-05-08T21:06:31.962Z] Removing intermediate container f39acffdc2da [2023-05-08T21:06:31.962Z] ---> e890f85435d0 [2023-05-08T21:06:31.962Z] Step 6/25 : ARG ALPINE_PKG_EXTRA="" [2023-05-08T21:06:32.232Z] ---> Running in ef9dffa0408b [2023-05-08T21:06:32.505Z] Removing intermediate container ef9dffa0408b [2023-05-08T21:06:32.505Z] ---> 451d6949b4f5 [2023-05-08T21:06:32.505Z] Step 7/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-05-08T21:06:32.505Z] ---> Running in 74c1ad1e101c [2023-05-08T21:06:33.470Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz [2023-05-08T21:06:34.057Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz [2023-05-08T21:06:35.472Z] OK: 268 MiB in 57 packages [2023-05-08T21:06:36.065Z] Removing intermediate container 74c1ad1e101c [2023-05-08T21:06:36.065Z] ---> e61d5867747b [2023-05-08T21:06:36.065Z] Step 8/25 : WORKDIR /device-rest-go [2023-05-08T21:06:36.333Z] ---> Running in 93082507f070 [2023-05-08T21:06:36.604Z] Removing intermediate container 93082507f070 [2023-05-08T21:06:36.604Z] ---> a6f80cff5cff [2023-05-08T21:06:36.604Z] Step 9/25 : COPY go.mod vendor* ./ [2023-05-08T21:06:37.198Z] ---> 1932441f87d3 [2023-05-08T21:06:37.198Z] Step 10/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-05-08T21:06:37.198Z] ---> Running in e8e3ada9c38a [2023-05-08T21:06:41.468Z] Removing intermediate container e8e3ada9c38a [2023-05-08T21:06:41.468Z] ---> 0a108f06d03b [2023-05-08T21:06:41.468Z] Step 11/25 : COPY . . [2023-05-08T21:06:41.738Z] ---> 4bca22d8a75b [2023-05-08T21:06:41.738Z] Step 12/25 : RUN $MAKE [2023-05-08T21:06:41.738Z] ---> Running in 48807af67a32 [2023-05-08T21:06:42.700Z] 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-05-08T21:09:04.430Z] Removing intermediate container 48807af67a32 [2023-05-08T21:09:04.430Z] ---> 4f381c39f297 [2023-05-08T21:09:04.430Z] Step 13/25 : FROM alpine:3.17 [2023-05-08T21:09:04.430Z] 3.17: Pulling from library/alpine [2023-05-08T21:09:04.430Z] c41833b44d91: Already exists [2023-05-08T21:09:04.430Z] Digest: sha256:124c7d2707904eea7431fffe91522a01e5a861a624ee31d03372cc1d138a3126 [2023-05-08T21:09:04.430Z] Status: Downloaded newer image for alpine:3.17 [2023-05-08T21:09:04.430Z] ---> 51e60588ff2c [2023-05-08T21:09:04.430Z] Step 14/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' [2023-05-08T21:09:04.430Z] ---> Running in 1cb883366d05 [2023-05-08T21:09:04.430Z] Removing intermediate container 1cb883366d05 [2023-05-08T21:09:04.430Z] ---> a8861a5cfa8b [2023-05-08T21:09:04.430Z] Step 15/25 : LABEL Name=device-rest-go Version=${VERSION} [2023-05-08T21:09:04.430Z] ---> Running in 40751fc26e20 [2023-05-08T21:09:04.430Z] Removing intermediate container 40751fc26e20 [2023-05-08T21:09:04.430Z] ---> 8a12a3af9d61 [2023-05-08T21:09:04.430Z] Step 16/25 : RUN apk add --update --no-cache dumb-init [2023-05-08T21:09:04.430Z] ---> Running in cc9456445b1f [2023-05-08T21:09:04.430Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz [2023-05-08T21:09:04.430Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz [2023-05-08T21:09:04.430Z] (1/1) Installing dumb-init (1.2.5-r2) [2023-05-08T21:09:04.430Z] Executing busybox-1.35.0-r29.trigger [2023-05-08T21:09:04.430Z] OK: 8 MiB in 16 packages [2023-05-08T21:09:04.430Z] Removing intermediate container cc9456445b1f [2023-05-08T21:09:04.430Z] ---> 5042edf68233 [2023-05-08T21:09:04.430Z] Step 17/25 : COPY --from=builder /device-rest-go/cmd / [2023-05-08T21:09:04.430Z] ---> 2b2e080a5a4d [2023-05-08T21:09:04.430Z] Step 18/25 : COPY --from=builder /device-rest-go/LICENSE / [2023-05-08T21:09:04.430Z] ---> d55aadc2d7d6 [2023-05-08T21:09:04.430Z] Step 19/25 : COPY --from=builder /device-rest-go/Attribution.txt / [2023-05-08T21:09:04.430Z] ---> d847786ea87e [2023-05-08T21:09:04.430Z] Step 20/25 : EXPOSE 59986 [2023-05-08T21:09:04.430Z] ---> Running in be26d2cc0879 [2023-05-08T21:09:04.430Z] Removing intermediate container be26d2cc0879 [2023-05-08T21:09:04.430Z] ---> 7d3dd0d1e6dd [2023-05-08T21:09:04.430Z] Step 21/25 : ENTRYPOINT ["/device-rest"] [2023-05-08T21:09:04.430Z] ---> Running in 144719cb0bea [2023-05-08T21:09:04.430Z] Removing intermediate container 144719cb0bea [2023-05-08T21:09:04.430Z] ---> 1c3eac4fa5bd [2023-05-08T21:09:04.430Z] Step 22/25 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry"] [2023-05-08T21:09:04.430Z] ---> Running in 6b1b6f35e900 [2023-05-08T21:09:04.430Z] Removing intermediate container 6b1b6f35e900 [2023-05-08T21:09:04.430Z] ---> 056d82b6f413 [2023-05-08T21:09:04.430Z] Step 23/25 : LABEL arch=arm64 [2023-05-08T21:09:04.430Z] ---> Running in 45c24670f677 [2023-05-08T21:09:04.430Z] Removing intermediate container 45c24670f677 [2023-05-08T21:09:04.430Z] ---> 6e7c41efb106 [2023-05-08T21:09:04.430Z] Step 24/25 : LABEL git_sha=b80d114abd0b09022f30a7edfac24246445c8ce4 [2023-05-08T21:09:04.430Z] ---> Running in 2dc04e0dce4c [2023-05-08T21:09:04.430Z] Removing intermediate container 2dc04e0dce4c [2023-05-08T21:09:04.430Z] ---> 36d30269e86e [2023-05-08T21:09:04.430Z] Step 25/25 : LABEL version=0.0.0 [2023-05-08T21:09:04.430Z] ---> Running in b9d4f88c0078 [2023-05-08T21:09:04.430Z] Removing intermediate container b9d4f88c0078 [2023-05-08T21:09:04.430Z] ---> 0ffdda970b1e [2023-05-08T21:09:04.430Z] [Warning] One or more build-args [ARCH] were not consumed [2023-05-08T21:09:04.430Z] Successfully built 0ffdda970b1e [2023-05-08T21:09:04.430Z] 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-05-08T21:09:05.285Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-05-08T21:09:05.285Z] [2023-05-08T21:09:05.285Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-08T21:09:05.703Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-05-08T21:09:05.703Z] arm64: Pulling from edgex-lftools-log-publisher [2023-05-08T21:09:05.703Z] 8998bd30e6a1: Pulling fs layer [2023-05-08T21:09:05.703Z] 04944245beec: Pulling fs layer [2023-05-08T21:09:05.703Z] 699f458cf7ca: Pulling fs layer [2023-05-08T21:09:05.703Z] 765212b225bb: Pulling fs layer [2023-05-08T21:09:05.703Z] f23df028b6ca: Pulling fs layer [2023-05-08T21:09:05.703Z] d65c8cfc05b1: Pulling fs layer [2023-05-08T21:09:05.703Z] 2437ff75d9bd: Pulling fs layer [2023-05-08T21:09:05.703Z] f23df028b6ca: Waiting [2023-05-08T21:09:05.703Z] d65c8cfc05b1: Waiting [2023-05-08T21:09:05.703Z] 2437ff75d9bd: Waiting [2023-05-08T21:09:05.703Z] 765212b225bb: Waiting [2023-05-08T21:09:05.973Z] 04944245beec: Verifying Checksum [2023-05-08T21:09:05.973Z] 04944245beec: Download complete [2023-05-08T21:09:05.973Z] 765212b225bb: Verifying Checksum [2023-05-08T21:09:05.973Z] 765212b225bb: Download complete [2023-05-08T21:09:05.973Z] f23df028b6ca: Verifying Checksum [2023-05-08T21:09:05.973Z] f23df028b6ca: Download complete [2023-05-08T21:09:05.973Z] d65c8cfc05b1: Verifying Checksum [2023-05-08T21:09:05.973Z] d65c8cfc05b1: Download complete [2023-05-08T21:09:06.246Z] 699f458cf7ca: Verifying Checksum [2023-05-08T21:09:06.246Z] 699f458cf7ca: Download complete [2023-05-08T21:09:06.515Z] 8998bd30e6a1: Verifying Checksum [2023-05-08T21:09:06.515Z] 8998bd30e6a1: Download complete [2023-05-08T21:09:09.111Z] 2437ff75d9bd: Verifying Checksum [2023-05-08T21:09:09.111Z] 2437ff75d9bd: Download complete [2023-05-08T21:09:10.523Z] 8998bd30e6a1: Pull complete [2023-05-08T21:09:11.107Z] 04944245beec: Pull complete [2023-05-08T21:09:12.521Z] 699f458cf7ca: Pull complete [2023-05-08T21:09:12.521Z] 765212b225bb: Pull complete [2023-05-08T21:09:13.494Z] f23df028b6ca: Pull complete [2023-05-08T21:09:13.494Z] d65c8cfc05b1: Pull complete [2023-05-08T21:09:28.712Z] 2437ff75d9bd: Pull complete [2023-05-08T21:09:28.712Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2023-05-08T21:09:28.712Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-05-08T21:09:28.712Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-05-08T21:09:29.047Z] prd-ubuntu20.04-docker-arm64-4c-16g-14552 does not seem to be running inside a container [2023-05-08T21:09:29.145Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/device-rest-go/1 -v /w/workspace/device-rest-go/1:/w/workspace/device-rest-go/1:rw,z -v /w/workspace/device-rest-go/1@tmp:/w/workspace/device-rest-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat [2023-05-08T21:09:31.873Z] $ docker top d9a3656e9e6cb6b3df761e978fbd46e5035d805a5ebf466810b642c97b9a3682 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-05-08T21:09:32.819Z] ---> job-cost.sh [2023-05-08T21:09:32.819Z] lf-activate-venv: SKIPPING [2023-05-08T21:09:32.819Z] INFO: No Stack... [2023-05-08T21:09:33.400Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2023-05-08T21:09:33.985Z] INFO: Archiving Costs [Pipeline] sh [2023-05-08T21:09:34.656Z] + cut -d, -f6 [2023-05-08T21:09:34.656Z] + cat /w/workspace/device-rest-go/1/archives/cost.csv [Pipeline] lock [2023-05-08T21:09:34.756Z] Trying to acquire lock on [jenkins-edgexfoundry-device-rest-go-PR-311-1-stack-cost] [2023-05-08T21:09:34.761Z] Resource [jenkins-edgexfoundry-device-rest-go-PR-311-1-stack-cost] did not exist. Created. [2023-05-08T21:09:34.761Z] Lock acquired on [jenkins-edgexfoundry-device-rest-go-PR-311-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-05-08T21:09:35.505Z] /w/workspace/device-rest-go/1@tmp/durable-bd7e7c62/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2023-05-08T21:09:36.187Z] + echo total: 0.10999999940395355 [Pipeline] stash [2023-05-08T21:09:36.225Z] Warning: overwriting stash ‘stack-cost’ [2023-05-08T21:09:36.271Z] Stashed 1 file(s) [Pipeline] } [2023-05-08T21:09:36.286Z] Lock released on resource [jenkins-edgexfoundry-device-rest-go-PR-311-1-stack-cost] [Pipeline] // lock [Pipeline] } [2023-05-08T21:09:36.372Z] $ docker stop --time=1 d9a3656e9e6cb6b3df761e978fbd46e5035d805a5ebf466810b642c97b9a3682 [2023-05-08T21:09:37.889Z] $ docker rm -f --volumes d9a3656e9e6cb6b3df761e978fbd46e5035d805a5ebf466810b642c97b9a3682 [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-05-08T21:09:39.020Z] provisioning config files... [2023-05-08T21:09:39.028Z] copy managed file [device-rest-go-codecov-token] to file:/w/workspace/gexfoundry_device-rest-go_PR-311@tmp/config13627038623694687942tmp [Pipeline] { [Pipeline] sh [2023-05-08T21:09:39.373Z] + set +x [2023-05-08T21:09:39.373Z] + + curl -s https://codecov.io/bash [2023-05-08T21:09:39.373Z] bash -s -- [2023-05-08T21:09:39.373Z] [2023-05-08T21:09:39.373Z] _____ _ [2023-05-08T21:09:39.373Z] / ____| | | [2023-05-08T21:09:39.373Z] | | ___ __| | ___ ___ _____ __ [2023-05-08T21:09:39.373Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2023-05-08T21:09:39.373Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2023-05-08T21:09:39.373Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2023-05-08T21:09:39.373Z] Bash-1.0.6 [2023-05-08T21:09:39.373Z] [2023-05-08T21:09:39.373Z] [2023-05-08T21:09:39.373Z] ==> git version 2.25.1 found [2023-05-08T21:09:39.373Z] ==> 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-05-08T21:09:39.373Z] Release-Date: 2020-01-08 [2023-05-08T21:09:39.373Z] 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-05-08T21:09:39.373Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2023-05-08T21:09:39.373Z] ==> Jenkins CI detected. [2023-05-08T21:09:39.373Z] current dir:  /w/workspace/gexfoundry_device-rest-go_PR-311 [2023-05-08T21:09:39.373Z] project root: . [2023-05-08T21:09:39.373Z] --> token set from env [2023-05-08T21:09:39.373Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2023-05-08T21:09:39.373Z] ==> Running gcov in . (disable via -X gcov) [2023-05-08T21:09:39.373Z] ==> Python coveragepy not found [2023-05-08T21:09:39.373Z] ==> Searching for coverage reports in: [2023-05-08T21:09:39.373Z] + . [2023-05-08T21:09:39.373Z] -> Found 1 reports [2023-05-08T21:09:39.373Z] ==> Detecting git/mercurial file structure [2023-05-08T21:09:39.373Z] ==> Reading reports [2023-05-08T21:09:39.373Z] + ./coverage.out bytes=14663 [2023-05-08T21:09:39.373Z] ==> Appending adjustments [2023-05-08T21:09:39.373Z] https://docs.codecov.io/docs/fixing-reports [2023-05-08T21:09:39.633Z] + Found adjustments [2023-05-08T21:09:39.633Z] ==> Gzipping contents [2023-05-08T21:09:39.633Z] 4.0K /tmp/codecov.OQhA9i.gz [2023-05-08T21:09:39.633Z] ==> Uploading reports [2023-05-08T21:09:39.633Z] url: https://codecov.io [2023-05-08T21:09:39.633Z] query: branch=PR-311&commit=b80d114abd0b09022f30a7edfac24246445c8ce4&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-rest-go%2Fjob%2FPR-311%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-rest-go&service=jenkins&flags=&pr=311&job=&cmd_args= [2023-05-08T21:09:39.633Z] -> Pinging Codecov [2023-05-08T21:09:39.633Z] https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=c51feb23-73ac-4f49-b3d1-d26df23137db&branch=PR-311&commit=b80d114abd0b09022f30a7edfac24246445c8ce4&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-rest-go%2Fjob%2FPR-311%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-rest-go&service=jenkins&flags=&pr=311&job=&cmd_args= [2023-05-08T21:09:39.633Z] -> Uploading to [2023-05-08T21:09:39.633Z] https://storage.googleapis.com/codecov/v4/raw/2023-05-08/4E5D53B4F1F92C436F7061BF334D961C/b80d114abd0b09022f30a7edfac24246445c8ce4/6199bccc-f710-4770-b29a-e8298201bd6d.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20230508%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20230508T210939Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=0dd6f8cb130deec3b2a833b4ab5e2deb323c2214cc6eb0530f7c1db90698c9dd [2023-05-08T21:09:39.633Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-05-08T21:09:39.633Z] Dload Upload Total Spent Left Speed [2023-05-08T21:09:40.200Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 2510 0 0 100 2510 0 8366 --:--:-- --:--:-- --:--:-- 8338 100 2510 0 0 100 2510 0 8366 --:--:-- --:--:-- --:--:-- 8338 [2023-05-08T21:09:40.200Z] -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-rest-go/commit/b80d114abd0b09022f30a7edfac24246445c8ce4 [Pipeline] } [2023-05-08T21:09:40.226Z] 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-05-08T21:09:42.135Z] + [ -d /w/workspace/gexfoundry_device-rest-go_PR-311/archives ] [2023-05-08T21:09:42.135Z] + ls -al /w/workspace/gexfoundry_device-rest-go_PR-311/archives [2023-05-08T21:09:42.135Z] total 16 [2023-05-08T21:09:42.135Z] drwxr-xr-x 3 root root 4096 May 8 21:01 . [2023-05-08T21:09:42.135Z] drwxrwxr-x 10 jenkins jenkins 4096 May 8 21:01 .. [2023-05-08T21:09:42.135Z] drwxr-xr-x 2 root root 4096 May 8 21:01 cost [2023-05-08T21:09:42.135Z] -rw-r--r-- 1 root root 86 May 8 21:01 cost.csv [2023-05-08T21:09:42.135Z] + sudo chown -R jenkins:jenkins /w/workspace/gexfoundry_device-rest-go_PR-311/archives [2023-05-08T21:09:42.135Z] + ls -al /w/workspace/gexfoundry_device-rest-go_PR-311/archives [2023-05-08T21:09:42.135Z] total 16 [2023-05-08T21:09:42.135Z] drwxr-xr-x 3 jenkins jenkins 4096 May 8 21:01 . [2023-05-08T21:09:42.135Z] drwxrwxr-x 10 jenkins jenkins 4096 May 8 21:01 .. [2023-05-08T21:09:42.135Z] drwxr-xr-x 2 jenkins jenkins 4096 May 8 21:01 cost [2023-05-08T21:09:42.135Z] -rw-r--r-- 1 jenkins jenkins 86 May 8 21:01 cost.csv [Pipeline] libraryResource [Pipeline] sh [2023-05-08T21:09:42.455Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2023-05-08T21:09:43.345Z] ---> package-listing.sh [2023-05-08T21:09:43.345Z] ++ tr '[:upper:]' '[:lower:]' [2023-05-08T21:09:43.345Z] ++ facter osfamily [2023-05-08T21:09:43.603Z] + OS_FAMILY=debian [2023-05-08T21:09:43.603Z] + workspace=/w/workspace/gexfoundry_device-rest-go_PR-311 [2023-05-08T21:09:43.603Z] + START_PACKAGES=/tmp/packages_start.txt [2023-05-08T21:09:43.603Z] + END_PACKAGES=/tmp/packages_end.txt [2023-05-08T21:09:43.603Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2023-05-08T21:09:43.603Z] + PACKAGES=/tmp/packages_start.txt [2023-05-08T21:09:43.603Z] + '[' /w/workspace/gexfoundry_device-rest-go_PR-311 ']' [2023-05-08T21:09:43.603Z] + PACKAGES=/tmp/packages_end.txt [2023-05-08T21:09:43.603Z] + case "${OS_FAMILY}" in [2023-05-08T21:09:43.603Z] + dpkg -l [2023-05-08T21:09:43.603Z] + grep '^ii' [2023-05-08T21:09:43.603Z] + '[' -f /tmp/packages_start.txt ']' [2023-05-08T21:09:43.603Z] + '[' -f /tmp/packages_end.txt ']' [2023-05-08T21:09:43.603Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2023-05-08T21:09:43.603Z] + '[' /w/workspace/gexfoundry_device-rest-go_PR-311 ']' [2023-05-08T21:09:43.603Z] + mkdir -p /w/workspace/gexfoundry_device-rest-go_PR-311/archives/ [2023-05-08T21:09:43.603Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_device-rest-go_PR-311/archives/ [Pipeline] echo [2023-05-08T21:09:43.635Z] 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-311/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2023-05-08T21:09:43.926Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-08T21:09:44.556Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-05-08T21:09:44.556Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-05-08T21:09:44.709Z] prd-ubuntu20.04-docker-8c-8g-14551 does not seem to be running inside a container [2023-05-08T21:09:44.736Z] $ 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-311/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-311 -v /w/workspace/gexfoundry_device-rest-go_PR-311:/w/workspace/gexfoundry_device-rest-go_PR-311:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-311@tmp:/w/workspace/gexfoundry_device-rest-go_PR-311@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2023-05-08T21:09:44.927Z] $ docker top 3123df89da777538c64955f23bb97e72e52d837e78e113412975997acc1b4d90 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-05-08T21:09:45.325Z] + touch /tmp/pre-build-complete [Pipeline] sh [2023-05-08T21:09:45.631Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2023-05-08T21:09:45.944Z] + ls /var/log/sa-host [2023-05-08T21:09:45.944Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-05-08T21:09:46.189Z] provisioning config files... [2023-05-08T21:09:46.197Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-rest-go_PR-311@tmp/config5340805446023567361tmp [Pipeline] { [Pipeline] echo [2023-05-08T21:09:46.252Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2023-05-08T21:09:46.563Z] ---> create-netrc.sh [Pipeline] } [2023-05-08T21:09:46.590Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2023-05-08T21:09:46.994Z] ---> python-tools-install.sh [Pipeline] echo [2023-05-08T21:09:47.038Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2023-05-08T21:09:47.354Z] ---> sudo-logs.sh [2023-05-08T21:09:47.354Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2023-05-08T21:09:47.440Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2023-05-08T21:09:47.754Z] ---> job-cost.sh [2023-05-08T21:09:47.754Z] lf-activate-venv: SKIPPING [2023-05-08T21:09:47.754Z] DEBUG: total: 0.2199999988079071 [2023-05-08T21:09:47.754Z] INFO: Retrieving Stack Cost... [2023-05-08T21:09:48.013Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-05-08T21:09:48.582Z] INFO: Archiving Costs [Pipeline] echo [2023-05-08T21:09:48.620Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2023-05-08T21:09:48.933Z] ---> logs-deploy.sh [2023-05-08T21:09:48.933Z] lf-activate-venv: SKIPPING [2023-05-08T21:09:48.933Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-rest-go/PR-311/1 [2023-05-08T21:09:48.933Z] INFO: archiving workspace using pattern(s): [2023-05-08T21:09:49.872Z] Archives upload complete. [2023-05-08T21:09:50.132Z] INFO: archiving logs to Nexus