Branch indexing Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from e0fabda8af675933305fd9e419603ed10b7693eb+2ded8c8301fa9285dc80bb471c5f0972abc0b73a (ae8a5a9ac5790eb488685c0e027b6427bcf166ee) 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-ssh10250492197887014697.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 66200e8eedfc470904d6b329e562ec5b45423d6a Resolving tag commit... (remote references may be a lightweight tag or an annotated tag) > git rev-parse --resolve-git-dir /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f/.git # timeout=10 Setting origin to git@github.com:edgexfoundry/edgex-global-pipelines.git > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching origin... Fetching upstream changes from origin > git --version # timeout=10 > git --version # 'git version 2.16.6' > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f@tmp/jenkins-gitclient-ssh10220607719908571180.key > git fetch --tags --progress -- origin +refs/heads/*:refs/remotes/origin/* # timeout=10 > git rev-parse refs/tags/stable^{commit} # timeout=10 Resolved tag stable revision 66200e8eedfc470904d6b329e562ec5b45423d6a The recommended git tool is: git using credential edgex-jenkins-ssh > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-rest-go/branches/PR-268/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82/.git # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching with tags Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-rest-go/branches/PR-268/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh5796609004067691377.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 66200e8eedfc470904d6b329e562ec5b45423d6a (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 66200e8eedfc470904d6b329e562ec5b45423d6a # timeout=10 Commit message: "feat: add capability to use golang 1.20 (#427)" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:edgexfoundry/edgex-global-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. Loading library lf-pipelines@master Attempting to resolve master from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /tmp/jenkins-gitclient-ssh7912358301142159647.key > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision 65355178549468b165f8106641c96c3190b1d843 The recommended git tool is: NONE using credential edgex-jenkins-ssh > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-rest-go/branches/PR-268/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e/.git # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 Fetching without tags Fetching upstream changes from git@github.com:lfit/releng-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-rest-go/branches/PR-268/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh10015609069677783142.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision 65355178549468b165f8106641c96c3190b1d843 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 65355178549468b165f8106641c96c3190b1d843 # timeout=10 Commit message: "Fix: Add S3 URL in href to ship logs" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-rest-go] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[ubuntu20.04-docker-8c-8g, ubuntu20.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-rest-go-settings PROJECT: device-rest-go USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.20 USE_ALPINE: true DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-rest DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: false SWAGGER_API_FOLDERS: openapi/v1 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org SNYK_DEBUG: false [Pipeline] node Still waiting to schedule task Waiting for next available executor on ‘ubuntu20.04-docker-8c-8g’ Running on prd-ubuntu20.04-docker-8c-8g-2447 in /w/workspace/gexfoundry_device-rest-go_PR-268 [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-268 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git > git --version # timeout=10 > git --version # 'git version 2.25.1' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/pull/268/head:refs/remotes/origin/PR-268 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit 2ded8c8301fa9285dc80bb471c5f0972abc0b73a into PR head commit e0fabda8af675933305fd9e419603ed10b7693eb Merge succeeded, producing 146abaa2fb209c357d3246bb7827ca682096beab Checking out Revision 146abaa2fb209c357d3246bb7827ca682096beab (PR-268) > git config core.sparsecheckout # timeout=10 > git checkout -f e0fabda8af675933305fd9e419603ed10b7693eb # timeout=10 > git remote # timeout=10 > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub > git merge 2ded8c8301fa9285dc80bb471c5f0972abc0b73a # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 146abaa2fb209c357d3246bb7827ca682096beab # timeout=10 Commit message: "Merge commit '2ded8c8301fa9285dc80bb471c5f0972abc0b73a' into HEAD" > git rev-list --no-walk e0fabda8af675933305fd9e419603ed10b7693eb # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2023-03-16T15:08:27.494Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2023-03-16T15:08:27.542Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2023-03-16T15:08:27.555Z] ========================================================= [2023-03-16T15:08:27.555Z] EdgeX Global Pipelines Version Info [2023-03-16T15:08:27.555Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2023-03-16T15:08:28.263Z] ------------------- [2023-03-16T15:08:28.263Z] stable info: [2023-03-16T15:08:28.263Z] ------------------- [2023-03-16T15:08:28.263Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2023-03-16T15:08:28.263Z] Commit SHA: 66200e8eedfc470904d6b329e562ec5b45423d6a [2023-03-16T15:08:28.263Z] Message: update stable to v1.0.245 [2023-03-16T15:08:28.832Z] ------------------- [2023-03-16T15:08:28.832Z] experimental info: [2023-03-16T15:08:28.832Z] ------------------- [2023-03-16T15:08:28.832Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2023-03-16T15:08:28.832Z] Commit SHA: eb5041bb0874f6b7cdca3e6793e1ef87c0289dce [2023-03-16T15:08:28.833Z] Message: update experimental to v1.0.246 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2023-03-16T15:08:28.995Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-rest-go-settings [Pipeline] echo [2023-03-16T15:08:29.009Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-rest-go [Pipeline] echo [2023-03-16T15:08:29.020Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2023-03-16T15:08:29.032Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2023-03-16T15:08:29.047Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2023-03-16T15:08:29.057Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.20 [Pipeline] echo [2023-03-16T15:08:29.068Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2023-03-16T15:08:29.081Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2023-03-16T15:08:29.091Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2023-03-16T15:08:29.102Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2023-03-16T15:08:29.113Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2023-03-16T15:08:29.126Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-rest [Pipeline] echo [2023-03-16T15:08:29.142Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2023-03-16T15:08:29.158Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2023-03-16T15:08:29.167Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2023-03-16T15:08:29.180Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2023-03-16T15:08:29.195Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2023-03-16T15:08:29.211Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2023-03-16T15:08:29.229Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2023-03-16T15:08:29.246Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2023-03-16T15:08:29.259Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2023-03-16T15:08:29.269Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2023-03-16T15:08:29.280Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2023-03-16T15:08:29.291Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2023-03-16T15:08:29.304Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2023-03-16T15:08:29.315Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2023-03-16T15:08:29.326Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2023-03-16T15:08:29.337Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-268 [Pipeline] echo [2023-03-16T15:08:29.351Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-268 [Pipeline] echo [2023-03-16T15:08:29.362Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-268 [Pipeline] echo [2023-03-16T15:08:29.373Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 146abaa2fb209c357d3246bb7827ca682096beab [Pipeline] echo [2023-03-16T15:08:29.384Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 146abaa [Pipeline] echo [2023-03-16T15:08:29.399Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-03-16T15:08:29.448Z] provisioning config files... [2023-03-16T15:08:29.462Z] copy managed file [device-rest-go-settings] to file:/w/workspace/gexfoundry_device-rest-go_PR-268@tmp/config7834395957395076481tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-03-16T15:08:29.758Z] ---> docker-login.sh [2023-03-16T15:08:29.759Z] nexus3.edgexfoundry.org:10001 [2023-03-16T15:08:30.019Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-16T15:08:30.279Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-16T15:08:30.280Z] Configure a credential helper to remove this warning. See [2023-03-16T15:08:30.280Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-16T15:08:30.280Z] [2023-03-16T15:08:30.280Z] Login Succeeded [2023-03-16T15:08:30.280Z] nexus3.edgexfoundry.org:10002 [2023-03-16T15:08:30.280Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-16T15:08:30.280Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-16T15:08:30.280Z] Configure a credential helper to remove this warning. See [2023-03-16T15:08:30.280Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-16T15:08:30.280Z] [2023-03-16T15:08:30.280Z] Login Succeeded [2023-03-16T15:08:30.280Z] nexus3.edgexfoundry.org:10003 [2023-03-16T15:08:30.280Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-16T15:08:30.541Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-16T15:08:30.541Z] Configure a credential helper to remove this warning. See [2023-03-16T15:08:30.541Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-16T15:08:30.541Z] [2023-03-16T15:08:30.541Z] Login Succeeded [2023-03-16T15:08:30.541Z] nexus3.edgexfoundry.org:10004 [2023-03-16T15:08:30.541Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-16T15:08:30.541Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-16T15:08:30.541Z] Configure a credential helper to remove this warning. See [2023-03-16T15:08:30.541Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-16T15:08:30.541Z] [2023-03-16T15:08:30.541Z] Login Succeeded [2023-03-16T15:08:30.541Z] docker.io [2023-03-16T15:08:30.541Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-16T15:08:30.802Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-16T15:08:30.802Z] Configure a credential helper to remove this warning. See [2023-03-16T15:08:30.802Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-16T15:08:30.802Z] [2023-03-16T15:08:30.802Z] Login Succeeded [2023-03-16T15:08:30.802Z] ---> docker-login.sh ends [Pipeline] } [2023-03-16T15:08:30.811Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2023-03-16T15:08:31.188Z] + git rev-list -1 --merges 146abaa2fb209c357d3246bb7827ca682096beab~1..146abaa2fb209c357d3246bb7827ca682096beab [Pipeline] echo [2023-03-16T15:08:31.232Z] -----------> git rev-list -1 --merges 146abaa2fb209c357d3246bb7827ca682096beab~1..146abaa2fb209c357d3246bb7827ca682096beab 146abaa2fb209c357d3246bb7827ca682096beab [2023-03-16T15:08:31.232Z] 146abaa2fb209c357d3246bb7827ca682096beab [false] [Pipeline] sh [2023-03-16T15:08:31.522Z] + git log --format=format:%s -1 146abaa2fb209c357d3246bb7827ca682096beab [Pipeline] echo [2023-03-16T15:08:31.539Z] ========================================================= [2023-03-16T15:08:31.539Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2023-03-16T15:08:31.539Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-03-16T15:08:31.885Z] + git log --format=format:%s -1 146abaa2fb209c357d3246bb7827ca682096beab [Pipeline] echo [2023-03-16T15:08:31.896Z] [semverPrep] GIT_COMMIT: 146abaa2fb209c357d3246bb7827ca682096beab, Commit Message: Merge commit '2ded8c8301fa9285dc80bb471c5f0972abc0b73a' into HEAD [Pipeline] echo [2023-03-16T15:08:31.907Z] [semverPrep] This is not a build commit. [Pipeline] sh [2023-03-16T15:08:32.278Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-03-16T15:08:32.278Z] + grep -v github /etc/ssh/ssh_known_hosts [2023-03-16T15:08:32.278Z] + [ -e /tmp/ssh_known_hosts ] [2023-03-16T15:08:32.278Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2023-03-16T15:08:32.278Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2023-03-16T15:08:32.278Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2023-03-16T15:08:32.278Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-16T15:08:32.687Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-03-16T15:08:32.687Z] [2023-03-16T15:08:32.687Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-16T15:08:33.028Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-03-16T15:08:33.028Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2023-03-16T15:08:33.028Z] b85a868b505f: Pulling fs layer [2023-03-16T15:08:33.028Z] e2be974225ed: Pulling fs layer [2023-03-16T15:08:33.028Z] 339a4e72a1f5: Pulling fs layer [2023-03-16T15:08:33.028Z] 988bab9f4d93: Pulling fs layer [2023-03-16T15:08:33.028Z] 1469e6f7b9e6: Pulling fs layer [2023-03-16T15:08:33.028Z] eaf3925da568: Pulling fs layer [2023-03-16T15:08:33.028Z] bab4dde63d76: Pulling fs layer [2023-03-16T15:08:33.028Z] bde34c3a00c8: Pulling fs layer [2023-03-16T15:08:33.028Z] b352a97aabf1: Pulling fs layer [2023-03-16T15:08:33.028Z] 4872d77fe225: Pulling fs layer [2023-03-16T15:08:33.028Z] 5851b861e8e6: Pulling fs layer [2023-03-16T15:08:33.028Z] bde34c3a00c8: Waiting [2023-03-16T15:08:33.028Z] 988bab9f4d93: Waiting [2023-03-16T15:08:33.028Z] 1469e6f7b9e6: Waiting [2023-03-16T15:08:33.028Z] eaf3925da568: Waiting [2023-03-16T15:08:33.028Z] b352a97aabf1: Waiting [2023-03-16T15:08:33.028Z] bab4dde63d76: Waiting [2023-03-16T15:08:33.028Z] 4872d77fe225: Waiting [2023-03-16T15:08:33.028Z] 5851b861e8e6: Waiting [2023-03-16T15:08:33.028Z] e2be974225ed: Verifying Checksum [2023-03-16T15:08:33.028Z] e2be974225ed: Download complete [2023-03-16T15:08:33.028Z] 988bab9f4d93: Download complete [2023-03-16T15:08:33.292Z] 1469e6f7b9e6: Verifying Checksum [2023-03-16T15:08:33.292Z] 1469e6f7b9e6: Download complete [2023-03-16T15:08:33.292Z] eaf3925da568: Verifying Checksum [2023-03-16T15:08:33.292Z] eaf3925da568: Download complete [2023-03-16T15:08:33.292Z] 339a4e72a1f5: Verifying Checksum [2023-03-16T15:08:33.292Z] 339a4e72a1f5: Download complete [2023-03-16T15:08:33.292Z] bde34c3a00c8: Download complete [2023-03-16T15:08:33.292Z] b352a97aabf1: Verifying Checksum [2023-03-16T15:08:33.292Z] b352a97aabf1: Download complete [2023-03-16T15:08:33.292Z] 4872d77fe225: Download complete [2023-03-16T15:08:33.292Z] 5851b861e8e6: Download complete [2023-03-16T15:08:33.292Z] b85a868b505f: Verifying Checksum [2023-03-16T15:08:33.292Z] b85a868b505f: Download complete [2023-03-16T15:08:33.550Z] bab4dde63d76: Verifying Checksum [2023-03-16T15:08:33.550Z] bab4dde63d76: Download complete [2023-03-16T15:08:34.485Z] b85a868b505f: Pull complete [2023-03-16T15:08:34.485Z] e2be974225ed: Pull complete [2023-03-16T15:08:35.051Z] 339a4e72a1f5: Pull complete [2023-03-16T15:08:35.051Z] 988bab9f4d93: Pull complete [2023-03-16T15:08:35.310Z] 1469e6f7b9e6: Pull complete [2023-03-16T15:08:35.310Z] eaf3925da568: Pull complete [2023-03-16T15:08:37.210Z] bab4dde63d76: Pull complete [2023-03-16T15:08:37.210Z] bde34c3a00c8: Pull complete [2023-03-16T15:08:37.210Z] b352a97aabf1: Pull complete [2023-03-16T15:08:37.210Z] 4872d77fe225: Pull complete [2023-03-16T15:08:37.210Z] 5851b861e8e6: Pull complete [2023-03-16T15:08:37.210Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2023-03-16T15:08:37.210Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-03-16T15:08:37.210Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-16T15:08:37.294Z] prd-ubuntu20.04-docker-8c-8g-2447 does not seem to be running inside a container [2023-03-16T15:08:37.324Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-rest-go_PR-268 -v /w/workspace/gexfoundry_device-rest-go_PR-268:/w/workspace/gexfoundry_device-rest-go_PR-268:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-268@tmp:/w/workspace/gexfoundry_device-rest-go_PR-268@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-devops/py-git-semver:0.1.4 cat [2023-03-16T15:08:38.560Z] $ docker top 6986c0401297b2f3fa5e3490efef768598db2537c1fb4739920ef4e2ede96f76 -eo pid,comm [2023-03-16T15:08:38.610Z] ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). [2023-03-16T15:08:38.610Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-03-16T15:08:38.650Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-03-16T15:08:38.650Z] [ssh-agent] Looking for ssh-agent implementation... [2023-03-16T15:08:38.748Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-03-16T15:08:38.754Z] $ docker exec 6986c0401297b2f3fa5e3490efef768598db2537c1fb4739920ef4e2ede96f76 ssh-agent [2023-03-16T15:08:38.859Z] SSH_AUTH_SOCK=/tmp/ssh-MfQ05q9DlN4M/agent.33 [2023-03-16T15:08:38.859Z] SSH_AGENT_PID=39 [2023-03-16T15:08:38.864Z] Running ssh-add (command line suppressed) [2023-03-16T15:08:38.969Z] Identity added: /w/workspace/gexfoundry_device-rest-go_PR-268@tmp/private_key_4893073560075578796.key (/w/workspace/gexfoundry_device-rest-go_PR-268@tmp/private_key_4893073560075578796.key) [2023-03-16T15:08:38.977Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-03-16T15:08:39.261Z] + git tag --points-at HEAD [Pipeline] } [2023-03-16T15:08:39.281Z] $ docker exec --env ******** --env ******** 6986c0401297b2f3fa5e3490efef768598db2537c1fb4739920ef4e2ede96f76 ssh-agent -k [2023-03-16T15:08:39.371Z] unset SSH_AUTH_SOCK; [2023-03-16T15:08:39.372Z] unset SSH_AGENT_PID; [2023-03-16T15:08:39.372Z] echo Agent pid 39 killed; [2023-03-16T15:08:39.377Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2023-03-16T15:08:39.402Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-03-16T15:08:39.402Z] [ssh-agent] Looking for ssh-agent implementation... [2023-03-16T15:08:39.517Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-03-16T15:08:39.522Z] $ docker exec 6986c0401297b2f3fa5e3490efef768598db2537c1fb4739920ef4e2ede96f76 ssh-agent [2023-03-16T15:08:39.612Z] SSH_AUTH_SOCK=/tmp/ssh-zrEX9umQuJzJ/agent.71 [2023-03-16T15:08:39.612Z] SSH_AGENT_PID=77 [2023-03-16T15:08:39.616Z] Running ssh-add (command line suppressed) [2023-03-16T15:08:39.722Z] Identity added: /w/workspace/gexfoundry_device-rest-go_PR-268@tmp/private_key_15958533170433547475.key (/w/workspace/gexfoundry_device-rest-go_PR-268@tmp/private_key_15958533170433547475.key) [2023-03-16T15:08:39.732Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-03-16T15:08:40.024Z] + git semver init [2023-03-16T15:08:40.289Z] 2023-03-16 15:08:40,196 [run_init] DEBUG init version:0.0.0 force:False [2023-03-16T15:08:40.289Z] 2023-03-16 15:08:40,197 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/gexfoundry_device-rest-go_PR-268/.semver [2023-03-16T15:08:40.289Z] 2023-03-16 15:08:40,197 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-rest-go.git /w/workspace/gexfoundry_device-rest-go_PR-268/.semver [2023-03-16T15:08:40.289Z] 2023-03-16 15:08:40,197 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-rest-go.git', '/w/workspace/gexfoundry_device-rest-go_PR-268/.semver'], cwd=/w/workspace/gexfoundry_device-rest-go_PR-268, universal_newlines=False, shell=None, istream=None) [2023-03-16T15:08:41.226Z] 2023-03-16 15:08:41,201 [append_file] DEBUG append to file:/w/workspace/gexfoundry_device-rest-go_PR-268/.git/info/exclude [2023-03-16T15:08:41.226Z] 2023-03-16 15:08:41,201 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/gexfoundry_device-rest-go_PR-268/.semver/PR-268 with force:False [2023-03-16T15:08:41.226Z] 2023-03-16 15:08:41,202 [write_file] DEBUG write to file:/w/workspace/gexfoundry_device-rest-go_PR-268/.semver/PR-268 [2023-03-16T15:08:41.226Z] 2023-03-16 15:08:41,205 [execute] INFO git cat-file --batch-check [2023-03-16T15:08:41.226Z] 2023-03-16 15:08:41,206 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/gexfoundry_device-rest-go_PR-268/.semver, universal_newlines=False, shell=None, istream=) [2023-03-16T15:08:41.226Z] 2023-03-16 15:08:41,212 [execute] INFO git cat-file --batch [2023-03-16T15:08:41.226Z] 2023-03-16 15:08:41,212 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/gexfoundry_device-rest-go_PR-268/.semver, universal_newlines=False, shell=None, istream=) [2023-03-16T15:08:41.226Z] 2023-03-16 15:08:41,217 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-rest-go_PR-268/.semver/PR-268 [2023-03-16T15:08:41.226Z] 0.0.0 [Pipeline] } [2023-03-16T15:08:41.504Z] $ docker exec --env ******** --env ******** 6986c0401297b2f3fa5e3490efef768598db2537c1fb4739920ef4e2ede96f76 ssh-agent -k [2023-03-16T15:08:41.609Z] unset SSH_AUTH_SOCK; [2023-03-16T15:08:41.609Z] unset SSH_AGENT_PID; [2023-03-16T15:08:41.610Z] echo Agent pid 77 killed; [2023-03-16T15:08:41.624Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-03-16T15:08:41.923Z] + git semver [Pipeline] } [2023-03-16T15:08:42.218Z] $ docker stop --time=1 6986c0401297b2f3fa5e3490efef768598db2537c1fb4739920ef4e2ede96f76 [2023-03-16T15:08:43.524Z] $ docker rm -f --volumes 6986c0401297b2f3fa5e3490efef768598db2537c1fb4739920ef4e2ede96f76 [Pipeline] // withDockerContainer [Pipeline] sh [2023-03-16T15:08:43.855Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2023-03-16T15:08:44.130Z] Stashed 1 file(s) [Pipeline] echo [2023-03-16T15:08:44.133Z] [edgeXSemver]: initialized semver on version 0.0.0 [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] parallel [Pipeline] { (Branch: amd64) [Pipeline] { (Branch: arm64) [Pipeline] stage [Pipeline] { (amd64) [Pipeline] stage [Pipeline] { (arm64) [Pipeline] withEnv [Pipeline] { [Pipeline] node [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-03-16T15:08:44.271Z] provisioning config files... [2023-03-16T15:08:44.280Z] copy managed file [device-rest-go-settings] to file:/w/workspace/gexfoundry_device-rest-go_PR-268@tmp/config5942478356630905477tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-03-16T15:08:44.632Z] ---> docker-login.sh [2023-03-16T15:08:44.632Z] nexus3.edgexfoundry.org:10001 [2023-03-16T15:08:44.632Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-16T15:08:44.632Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-16T15:08:44.632Z] Configure a credential helper to remove this warning. See [2023-03-16T15:08:44.632Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-16T15:08:44.632Z] [2023-03-16T15:08:44.632Z] Login Succeeded [2023-03-16T15:08:44.632Z] nexus3.edgexfoundry.org:10002 [2023-03-16T15:08:44.632Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-16T15:08:44.906Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-16T15:08:44.906Z] Configure a credential helper to remove this warning. See [2023-03-16T15:08:44.906Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-16T15:08:44.906Z] [2023-03-16T15:08:44.906Z] Login Succeeded [2023-03-16T15:08:44.906Z] nexus3.edgexfoundry.org:10003 [2023-03-16T15:08:44.906Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-16T15:08:44.906Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-16T15:08:44.906Z] Configure a credential helper to remove this warning. See [2023-03-16T15:08:44.906Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-16T15:08:44.906Z] [2023-03-16T15:08:44.906Z] Login Succeeded [2023-03-16T15:08:44.906Z] nexus3.edgexfoundry.org:10004 [2023-03-16T15:08:44.906Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-16T15:08:45.177Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-16T15:08:45.177Z] Configure a credential helper to remove this warning. See [2023-03-16T15:08:45.177Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-16T15:08:45.177Z] [2023-03-16T15:08:45.177Z] Login Succeeded [2023-03-16T15:08:45.177Z] docker.io [2023-03-16T15:08:45.177Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-16T15:08:45.460Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-16T15:08:45.460Z] Configure a credential helper to remove this warning. See [2023-03-16T15:08:45.460Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-16T15:08:45.460Z] [2023-03-16T15:08:45.460Z] Login Succeeded [2023-03-16T15:08:45.460Z] ---> docker-login.sh ends [Pipeline] } [2023-03-16T15:08:45.471Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-03-16T15:08:45.534Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-03-16T15:08:45.551Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-03-16T15:08:45.563Z] ========================================================= [2023-03-16T15:08:45.563Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine] [2023-03-16T15:08:45.563Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-16T15:08:45.892Z] + docker build -t ci-base-image-x86_64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine --build-arg MAKE=echo noop --target=builder . [2023-03-16T15:08:45.892Z] Sending build context to Docker daemon 10.87MB [2023-03-16T15:08:45.892Z] Step 1/12 : ARG BASE=golang:1.20-alpine3.17 [2023-03-16T15:08:45.892Z] Step 2/12 : FROM ${BASE} AS builder [2023-03-16T15:08:45.892Z] 1.20-alpine: Pulling from edgex-devops/edgex-golang-base [2023-03-16T15:08:45.892Z] 63b65145d645: Pulling fs layer [2023-03-16T15:08:45.892Z] a2d21d5440eb: Pulling fs layer [2023-03-16T15:08:45.892Z] 935e6c44a52c: Pulling fs layer [2023-03-16T15:08:45.892Z] 94cc34f8dd06: Pulling fs layer [2023-03-16T15:08:45.892Z] 30dea6a524f1: Pulling fs layer [2023-03-16T15:08:45.892Z] a2aff8979fd8: Pulling fs layer [2023-03-16T15:08:45.892Z] 6808be2612f2: Pulling fs layer [2023-03-16T15:08:45.892Z] f25807f1079a: Pulling fs layer [2023-03-16T15:08:45.892Z] a2aff8979fd8: Waiting [2023-03-16T15:08:45.892Z] 6808be2612f2: Waiting [2023-03-16T15:08:45.892Z] f25807f1079a: Waiting [2023-03-16T15:08:45.892Z] 94cc34f8dd06: Waiting [2023-03-16T15:08:45.892Z] a2d21d5440eb: Download complete [2023-03-16T15:08:46.166Z] 94cc34f8dd06: Verifying Checksum [2023-03-16T15:08:46.166Z] 94cc34f8dd06: Download complete [2023-03-16T15:08:46.166Z] 63b65145d645: Verifying Checksum [2023-03-16T15:08:46.166Z] 63b65145d645: Download complete [2023-03-16T15:08:46.166Z] a2aff8979fd8: Verifying Checksum [2023-03-16T15:08:46.166Z] a2aff8979fd8: Download complete [2023-03-16T15:08:46.166Z] 63b65145d645: Pull complete [2023-03-16T15:08:46.448Z] a2d21d5440eb: Pull complete [2023-03-16T15:08:47.052Z] 935e6c44a52c: Verifying Checksum [2023-03-16T15:08:47.052Z] 935e6c44a52c: Download complete [2023-03-16T15:08:47.052Z] f25807f1079a: Verifying Checksum [2023-03-16T15:08:47.052Z] f25807f1079a: Download complete [2023-03-16T15:08:47.658Z] 6808be2612f2: Verifying Checksum [2023-03-16T15:08:47.658Z] 6808be2612f2: Download complete [2023-03-16T15:08:50.248Z] 935e6c44a52c: Pull complete [2023-03-16T15:08:50.507Z] 94cc34f8dd06: Pull complete [2023-03-16T15:08:50.507Z] 30dea6a524f1: Pull complete [2023-03-16T15:08:50.507Z] a2aff8979fd8: Pull complete [2023-03-16T15:08:53.117Z] 6808be2612f2: Pull complete [2023-03-16T15:08:53.394Z] f25807f1079a: Pull complete [2023-03-16T15:08:53.394Z] Digest: sha256:106942793af8b5907f587008084bb0888cadbc76d86ebd37d4d3227fb0f1e438 [2023-03-16T15:08:53.394Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine [2023-03-16T15:08:53.394Z] ---> 3b553350e43f [2023-03-16T15:08:53.394Z] Step 3/12 : ARG ADD_BUILD_TAGS="" [2023-03-16T15:08:55.368Z] ---> Running in 1d03dfafb6ba [2023-03-16T15:08:55.368Z] Removing intermediate container 1d03dfafb6ba [2023-03-16T15:08:55.368Z] ---> 7d7b0c476df2 [2023-03-16T15:08:55.368Z] Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-03-16T15:08:55.368Z] ---> Running in f8af613d872f [2023-03-16T15:08:55.368Z] Removing intermediate container f8af613d872f [2023-03-16T15:08:55.368Z] ---> a14c1c228a10 [2023-03-16T15:08:55.368Z] Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client" [2023-03-16T15:08:55.368Z] ---> Running in 5b98e79f10a2 [2023-03-16T15:08:55.641Z] Removing intermediate container 5b98e79f10a2 [2023-03-16T15:08:55.641Z] ---> c93175e76e09 [2023-03-16T15:08:55.641Z] Step 6/12 : ARG ALPINE_PKG_EXTRA="" [2023-03-16T15:08:55.641Z] ---> Running in a265a0f75663 [2023-03-16T15:08:55.641Z] Removing intermediate container a265a0f75663 [2023-03-16T15:08:55.641Z] ---> a65570dcb294 [2023-03-16T15:08:55.641Z] Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-03-16T15:08:55.641Z] ---> Running in ffd62fe8dad9 [2023-03-16T15:08:55.928Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz [2023-03-16T15:08:56.216Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz [2023-03-16T15:08:56.799Z] (1/4) Installing openssh-keygen (9.1_p1-r2) [2023-03-16T15:08:56.799Z] (2/4) Installing libedit (20221030.3.1-r0) [2023-03-16T15:08:56.799Z] (3/4) Installing openssh-client-common (9.1_p1-r2) [2023-03-16T15:08:56.799Z] (4/4) Installing openssh-client-default (9.1_p1-r2) [2023-03-16T15:08:56.799Z] Executing busybox-1.35.0-r29.trigger [2023-03-16T15:08:56.799Z] OK: 269 MiB in 57 packages [2023-03-16T15:08:57.060Z] Removing intermediate container ffd62fe8dad9 [2023-03-16T15:08:57.060Z] ---> 3cd97ca53008 [2023-03-16T15:08:57.060Z] Step 8/12 : WORKDIR /device-rest-go [2023-03-16T15:08:57.060Z] ---> Running in cb7602eb6b35 [2023-03-16T15:08:57.060Z] Removing intermediate container cb7602eb6b35 [2023-03-16T15:08:57.060Z] ---> 3e82ba74f78a [2023-03-16T15:08:57.060Z] Step 9/12 : COPY go.mod vendor* ./ [2023-03-16T15:08:57.320Z] ---> 96c24105c3d9 [2023-03-16T15:08:57.320Z] Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-03-16T15:08:57.320Z] ---> Running in 3989876a5d99 [2023-03-16T15:08:59.222Z] Still waiting to schedule task [2023-03-16T15:08:59.223Z] Waiting for next available executor on ‘ubuntu20.04-docker-arm64-4c-16g’ [2023-03-16T15:10:33.885Z] Removing intermediate container 3989876a5d99 [2023-03-16T15:10:33.885Z] ---> 26b933fd0d78 [2023-03-16T15:10:33.885Z] Step 11/12 : COPY . . [2023-03-16T15:10:33.885Z] ---> 202289015fee [2023-03-16T15:10:33.885Z] Step 12/12 : RUN $MAKE [2023-03-16T15:10:33.885Z] ---> Running in f4bf16c53fbe [2023-03-16T15:10:33.885Z] noop [2023-03-16T15:10:33.885Z] Removing intermediate container f4bf16c53fbe [2023-03-16T15:10:33.885Z] ---> f8e0708b550b [2023-03-16T15:10:33.885Z] Successfully built f8e0708b550b [2023-03-16T15:10:33.885Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-16T15:10:34.191Z] + docker inspect -f . ci-base-image-x86_64 [2023-03-16T15:10:34.191Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-16T15:10:34.267Z] prd-ubuntu20.04-docker-8c-8g-2447 does not seem to be running inside a container [2023-03-16T15:10:34.293Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-rest-go_PR-268 -v /w/workspace/gexfoundry_device-rest-go_PR-268:/w/workspace/gexfoundry_device-rest-go_PR-268:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-268@tmp:/w/workspace/gexfoundry_device-rest-go_PR-268@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2023-03-16T15:10:34.618Z] $ docker top aef3985cbbaf5352274f652b0815d636cb59e2f7c5c430222e94b6a27b2e245b -eo pid,comm [Pipeline] { [Pipeline] sh [2023-03-16T15:10:34.955Z] + go version [2023-03-16T15:10:34.955Z] go version go1.20.2 linux/amd64 [Pipeline] } [2023-03-16T15:10:34.967Z] $ docker stop --time=1 aef3985cbbaf5352274f652b0815d636cb59e2f7c5c430222e94b6a27b2e245b [2023-03-16T15:10:36.190Z] $ docker rm -f --volumes aef3985cbbaf5352274f652b0815d636cb59e2f7c5c430222e94b6a27b2e245b [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-16T15:10:36.594Z] + docker inspect -f . ci-base-image-x86_64 [2023-03-16T15:10:36.594Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-16T15:10:36.663Z] prd-ubuntu20.04-docker-8c-8g-2447 does not seem to be running inside a container [2023-03-16T15:10:36.699Z] $ 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-268 -v /w/workspace/gexfoundry_device-rest-go_PR-268:/w/workspace/gexfoundry_device-rest-go_PR-268:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-268@tmp:/w/workspace/gexfoundry_device-rest-go_PR-268@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2023-03-16T15:10:37.033Z] $ docker top d4d22c183f3dc8287503b95cf72251141fe52a6d25cafe0ad99e7b952da27332 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-03-16T15:10:37.368Z] + git config --global --add safe.directory /w/workspace/gexfoundry_device-rest-go_PR-268 [Pipeline] fileExists [Pipeline] sh [2023-03-16T15:10:37.660Z] + make test [2023-03-16T15:10:37.660Z] go test ./... -coverprofile=coverage.out ./... [2023-03-16T15:10:42.926Z] ? github.com/edgexfoundry/device-rest-go [no test files] [2023-03-16T15:10:52.895Z] ? github.com/edgexfoundry/device-rest-go/cmd [no test files] [2023-03-16T15:10:52.895Z] ok github.com/edgexfoundry/device-rest-go/driver 0.012s coverage: 33.1% of statements [2023-03-16T15:10:59.451Z] go vet ./... [2023-03-16T15:11:03.643Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-03-16T15:11:03.643Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2023-03-16T15:11:03.643Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2023-03-16T15:11:03.656Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2023-03-16T15:11:03.670Z] $ docker stop --time=1 d4d22c183f3dc8287503b95cf72251141fe52a6d25cafe0ad99e7b952da27332 [2023-03-16T15:11:05.680Z] $ docker rm -f --volumes d4d22c183f3dc8287503b95cf72251141fe52a6d25cafe0ad99e7b952da27332 [Pipeline] // withDockerContainer [Pipeline] sh [2023-03-16T15:11:06.139Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2023-03-16T15:11:06.183Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2023-03-16T15:11:06.691Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-03-16T15:11:06.976Z] + ls -al . [2023-03-16T15:11:06.976Z] total 184 [2023-03-16T15:11:06.976Z] drwxrwxr-x 9 jenkins jenkins 4096 Mar 16 15:10 . [2023-03-16T15:11:06.976Z] drwxrwxr-x 4 jenkins jenkins 4096 Mar 16 15:08 .. [2023-03-16T15:11:06.976Z] -rw-rw-r-- 1 jenkins jenkins 151 Mar 16 15:08 .dockerignore [2023-03-16T15:11:06.976Z] drwxrwxr-x 8 jenkins jenkins 4096 Mar 16 15:08 .git [2023-03-16T15:11:06.976Z] drwxrwxr-x 3 jenkins jenkins 4096 Mar 16 15:08 .github [2023-03-16T15:11:06.976Z] -rw-rw-r-- 1 jenkins jenkins 329 Mar 16 15:08 .gitignore [2023-03-16T15:11:06.976Z] -rw-rw-r-- 1 jenkins jenkins 41 Mar 16 15:08 .golangci.yml [2023-03-16T15:11:06.976Z] drwxr-xr-x 3 jenkins jenkins 4096 Mar 16 15:08 .semver [2023-03-16T15:11:06.976Z] -rw-rw-r-- 1 jenkins jenkins 9321 Mar 16 15:08 Attribution.txt [2023-03-16T15:11:06.976Z] -rw-rw-r-- 1 jenkins jenkins 13085 Mar 16 15:08 CHANGELOG.md [2023-03-16T15:11:06.976Z] -rw-rw-r-- 1 jenkins jenkins 1578 Mar 16 15:08 Dockerfile [2023-03-16T15:11:06.976Z] -rw-rw-r-- 1 jenkins jenkins 677 Mar 16 15:08 GOVERNANCE.md [2023-03-16T15:11:06.976Z] -rw-rw-r-- 1 jenkins jenkins 680 Mar 16 15:08 Jenkinsfile [2023-03-16T15:11:06.976Z] -rw-rw-r-- 1 jenkins jenkins 11340 Mar 16 15:08 LICENSE [2023-03-16T15:11:06.976Z] -rw-rw-r-- 1 jenkins jenkins 1779 Mar 16 15:08 Makefile [2023-03-16T15:11:06.976Z] -rw-rw-r-- 1 jenkins jenkins 620 Mar 16 15:08 OWNERS.md [2023-03-16T15:11:06.976Z] -rw-rw-r-- 1 jenkins jenkins 15447 Mar 16 15:08 README.md [2023-03-16T15:11:06.976Z] -rw-rw-r-- 1 jenkins jenkins 5 Mar 16 15:08 VERSION [2023-03-16T15:11:06.976Z] drwxrwxr-x 2 jenkins jenkins 4096 Mar 16 15:08 bin [2023-03-16T15:11:06.976Z] drwxrwxr-x 3 jenkins jenkins 4096 Mar 16 15:08 cmd [2023-03-16T15:11:06.976Z] -rw-r--r-- 1 jenkins jenkins 14200 Mar 16 15:10 coverage.out [2023-03-16T15:11:06.976Z] drwxrwxr-x 2 jenkins jenkins 4096 Mar 16 15:08 driver [2023-03-16T15:11:06.976Z] -rw-rw-r-- 1 jenkins jenkins 3446 Mar 16 15:08 go.mod [2023-03-16T15:11:06.976Z] -rw-rw-r-- 1 jenkins jenkins 31299 Mar 16 15:08 go.sum [2023-03-16T15:11:06.976Z] drwxrwxr-x 4 jenkins jenkins 4096 Mar 16 15:08 snap [2023-03-16T15:11:06.976Z] -rw-rw-r-- 1 jenkins jenkins 713 Mar 16 15:08 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-16T15:11:07.290Z] + 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=146abaa2fb209c357d3246bb7827ca682096beab --label arch=amd64 --label version=0.0.0 . [2023-03-16T15:11:07.290Z] Sending build context to Docker daemon 10.89MB [2023-03-16T15:11:07.290Z] Step 1/25 : ARG BASE=golang:1.20-alpine3.17 [2023-03-16T15:11:07.290Z] Step 2/25 : FROM ${BASE} AS builder [2023-03-16T15:11:07.290Z] ---> f8e0708b550b [2023-03-16T15:11:07.290Z] Step 3/25 : ARG ADD_BUILD_TAGS="" [2023-03-16T15:11:07.549Z] ---> Running in c51aa693a54f [2023-03-16T15:11:07.549Z] Removing intermediate container c51aa693a54f [2023-03-16T15:11:07.549Z] ---> a5d5ba3a6a1e [2023-03-16T15:11:07.549Z] Step 4/25 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-03-16T15:11:07.549Z] ---> Running in e6f5fed9a275 [2023-03-16T15:11:07.549Z] Removing intermediate container e6f5fed9a275 [2023-03-16T15:11:07.549Z] ---> ac5bb7ac52cb [2023-03-16T15:11:07.549Z] Step 5/25 : ARG ALPINE_PKG_BASE="make git openssh-client" [2023-03-16T15:11:07.549Z] ---> Running in f13ef698f657 [2023-03-16T15:11:07.808Z] Removing intermediate container f13ef698f657 [2023-03-16T15:11:07.808Z] ---> bca095686828 [2023-03-16T15:11:07.808Z] Step 6/25 : ARG ALPINE_PKG_EXTRA="" [2023-03-16T15:11:07.808Z] ---> Running in da0e8fa66e80 [2023-03-16T15:11:07.808Z] Removing intermediate container da0e8fa66e80 [2023-03-16T15:11:07.808Z] ---> 22f488f80c0f [2023-03-16T15:11:07.808Z] Step 7/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-03-16T15:11:07.808Z] ---> Running in 0032536a416d [2023-03-16T15:11:08.066Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz [2023-03-16T15:11:08.324Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz [2023-03-16T15:11:08.582Z] OK: 269 MiB in 57 packages [2023-03-16T15:11:08.840Z] Removing intermediate container 0032536a416d [2023-03-16T15:11:08.840Z] ---> 4864a8467141 [2023-03-16T15:11:08.840Z] Step 8/25 : WORKDIR /device-rest-go [2023-03-16T15:11:08.840Z] ---> Running in 2f9298b06434 [2023-03-16T15:11:08.840Z] Removing intermediate container 2f9298b06434 [2023-03-16T15:11:08.840Z] ---> 39c2379b138c [2023-03-16T15:11:08.840Z] Step 9/25 : COPY go.mod vendor* ./ [2023-03-16T15:11:09.098Z] ---> b6a836833f79 [2023-03-16T15:11:09.098Z] Step 10/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-03-16T15:11:09.098Z] ---> Running in 1d2c49479f97 [2023-03-16T15:11:10.046Z] Removing intermediate container 1d2c49479f97 [2023-03-16T15:11:10.046Z] ---> ea24bcd26d8b [2023-03-16T15:11:10.046Z] Step 11/25 : COPY . . [2023-03-16T15:11:10.305Z] ---> 46f842b723be [2023-03-16T15:11:10.305Z] Step 12/25 : RUN $MAKE [2023-03-16T15:11:10.305Z] ---> Running in 4e7f9162f054 [2023-03-16T15:11:10.562Z] CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-rest-go.Version=0.0.0" -trimpath -mod=readonly -o cmd/device-rest ./cmd [2023-03-16T15:11:32.485Z] Removing intermediate container 4e7f9162f054 [2023-03-16T15:11:32.485Z] ---> 518866ad8574 [2023-03-16T15:11:32.485Z] Step 13/25 : FROM alpine:3.17 [2023-03-16T15:11:32.485Z] 3.17: Pulling from library/alpine [2023-03-16T15:11:32.485Z] 63b65145d645: Already exists [2023-03-16T15:11:32.485Z] Digest: sha256:ff6bdca1701f3a8a67e328815ff2346b0e4067d32ec36b7992c1fdc001dc8517 [2023-03-16T15:11:32.485Z] Status: Downloaded newer image for alpine:3.17 [2023-03-16T15:11:32.485Z] ---> b2aa39c304c2 [2023-03-16T15:11:32.485Z] Step 14/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' [2023-03-16T15:11:32.485Z] ---> Running in 10226434b562 [2023-03-16T15:11:32.485Z] Removing intermediate container 10226434b562 [2023-03-16T15:11:32.485Z] ---> 3fb4f09c6b22 [2023-03-16T15:11:32.486Z] Step 15/25 : LABEL Name=device-rest-go Version=${VERSION} [2023-03-16T15:11:32.486Z] ---> Running in 870ab3cd0dd3 [2023-03-16T15:11:32.486Z] Removing intermediate container 870ab3cd0dd3 [2023-03-16T15:11:32.486Z] ---> 793c9258ab9f [2023-03-16T15:11:32.486Z] Step 16/25 : RUN apk add --update --no-cache dumb-init [2023-03-16T15:11:32.486Z] ---> Running in 753012c21475 [2023-03-16T15:11:32.486Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz [2023-03-16T15:11:32.486Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz [2023-03-16T15:11:32.486Z] (1/1) Installing dumb-init (1.2.5-r2) [2023-03-16T15:11:32.486Z] Executing busybox-1.35.0-r29.trigger [2023-03-16T15:11:32.486Z] OK: 7 MiB in 16 packages [2023-03-16T15:11:32.486Z] Removing intermediate container 753012c21475 [2023-03-16T15:11:32.486Z] ---> aa64d425f00f [2023-03-16T15:11:32.486Z] Step 17/25 : COPY --from=builder /device-rest-go/cmd / [2023-03-16T15:11:32.744Z] ---> d986d0c3c618 [2023-03-16T15:11:32.744Z] Step 18/25 : COPY --from=builder /device-rest-go/LICENSE / [2023-03-16T15:11:32.744Z] ---> 5510e2ac1743 [2023-03-16T15:11:32.744Z] Step 19/25 : COPY --from=builder /device-rest-go/Attribution.txt / [2023-03-16T15:11:33.004Z] ---> 12bc29c54b93 [2023-03-16T15:11:33.004Z] Step 20/25 : EXPOSE 59986 [2023-03-16T15:11:33.004Z] ---> Running in 9540dfdc5a3c [2023-03-16T15:11:33.004Z] Removing intermediate container 9540dfdc5a3c [2023-03-16T15:11:33.004Z] ---> 00051620be9c [2023-03-16T15:11:33.004Z] Step 21/25 : ENTRYPOINT ["/device-rest"] [2023-03-16T15:11:33.004Z] ---> Running in d3285d8b27a8 [2023-03-16T15:11:33.263Z] Removing intermediate container d3285d8b27a8 [2023-03-16T15:11:33.263Z] ---> 2e44c45efe6b [2023-03-16T15:11:33.263Z] Step 22/25 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry"] [2023-03-16T15:11:33.263Z] ---> Running in 2c0f7298bf21 [2023-03-16T15:11:33.263Z] Removing intermediate container 2c0f7298bf21 [2023-03-16T15:11:33.263Z] ---> 0b39316bf687 [2023-03-16T15:11:33.263Z] Step 23/25 : LABEL arch=amd64 [2023-03-16T15:11:33.263Z] ---> Running in a2d7be61d9f8 [2023-03-16T15:11:33.263Z] Removing intermediate container a2d7be61d9f8 [2023-03-16T15:11:33.263Z] ---> a87275a140af [2023-03-16T15:11:33.263Z] Step 24/25 : LABEL git_sha=146abaa2fb209c357d3246bb7827ca682096beab [2023-03-16T15:11:33.263Z] ---> Running in 238cb5bbefda [2023-03-16T15:11:33.522Z] Removing intermediate container 238cb5bbefda [2023-03-16T15:11:33.522Z] ---> aeebee021e32 [2023-03-16T15:11:33.522Z] Step 25/25 : LABEL version=0.0.0 [2023-03-16T15:11:33.522Z] ---> Running in aeb7cf1bc3a9 [2023-03-16T15:11:33.522Z] Removing intermediate container aeb7cf1bc3a9 [2023-03-16T15:11:33.522Z] ---> 624e02582c5f [2023-03-16T15:11:33.522Z] [Warning] One or more build-args [ARCH] were not consumed [2023-03-16T15:11:33.522Z] Successfully built 624e02582c5f [2023-03-16T15:11:33.522Z] Successfully tagged device-rest:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-16T15:11:34.052Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-03-16T15:11:34.052Z] [2023-03-16T15:11:34.052Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-16T15:11:34.347Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-03-16T15:11:34.347Z] latest: Pulling from edgex-lftools-log-publisher [2023-03-16T15:11:34.347Z] 5eb5b503b376: Pulling fs layer [2023-03-16T15:11:34.347Z] 5c69ac0246d0: Pulling fs layer [2023-03-16T15:11:34.347Z] ec43610c2a17: Pulling fs layer [2023-03-16T15:11:34.347Z] 3a2ae6a8a46f: Pulling fs layer [2023-03-16T15:11:34.347Z] 33b1e0a273af: Pulling fs layer [2023-03-16T15:11:34.347Z] 5d3b04190fa2: Pulling fs layer [2023-03-16T15:11:34.347Z] 2f39f015ded8: Pulling fs layer [2023-03-16T15:11:34.347Z] 3a2ae6a8a46f: Waiting [2023-03-16T15:11:34.347Z] 33b1e0a273af: Waiting [2023-03-16T15:11:34.347Z] 2f39f015ded8: Waiting [2023-03-16T15:11:34.347Z] 5d3b04190fa2: Waiting [2023-03-16T15:11:34.347Z] 5c69ac0246d0: Download complete [2023-03-16T15:11:34.347Z] 3a2ae6a8a46f: Verifying Checksum [2023-03-16T15:11:34.347Z] 3a2ae6a8a46f: Download complete [2023-03-16T15:11:34.605Z] 33b1e0a273af: Verifying Checksum [2023-03-16T15:11:34.605Z] 33b1e0a273af: Download complete [2023-03-16T15:11:34.605Z] 5d3b04190fa2: Verifying Checksum [2023-03-16T15:11:34.605Z] 5d3b04190fa2: Download complete [2023-03-16T15:11:34.605Z] ec43610c2a17: Verifying Checksum [2023-03-16T15:11:34.605Z] ec43610c2a17: Download complete [2023-03-16T15:11:34.605Z] 5eb5b503b376: Verifying Checksum [2023-03-16T15:11:34.605Z] 5eb5b503b376: Download complete [2023-03-16T15:11:35.171Z] 2f39f015ded8: Download complete [2023-03-16T15:11:35.736Z] 5eb5b503b376: Pull complete [2023-03-16T15:11:35.994Z] 5c69ac0246d0: Pull complete [2023-03-16T15:11:36.252Z] ec43610c2a17: Pull complete [2023-03-16T15:11:36.252Z] 3a2ae6a8a46f: Pull complete [2023-03-16T15:11:36.511Z] 33b1e0a273af: Pull complete [2023-03-16T15:11:36.770Z] 5d3b04190fa2: Pull complete [2023-03-16T15:11:40.952Z] 2f39f015ded8: Pull complete [2023-03-16T15:11:40.952Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2023-03-16T15:11:40.952Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-03-16T15:11:40.952Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-16T15:11:41.026Z] prd-ubuntu20.04-docker-8c-8g-2447 does not seem to be running inside a container [2023-03-16T15:11:41.055Z] $ 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-268 -v /w/workspace/gexfoundry_device-rest-go_PR-268:/w/workspace/gexfoundry_device-rest-go_PR-268:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-268@tmp:/w/workspace/gexfoundry_device-rest-go_PR-268@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2023-03-16T15:11:44.420Z] $ docker top bb8a43e18a7430d7914ea284a3c7bbb76ef8ffaebb4d0decf7f83b492d2ee02f -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-03-16T15:11:44.776Z] ---> job-cost.sh [2023-03-16T15:11:44.776Z] lf-activate-venv: SKIPPING [2023-03-16T15:11:44.776Z] INFO: No Stack... [2023-03-16T15:11:45.349Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-03-16T15:11:45.609Z] INFO: Archiving Costs [Pipeline] sh [2023-03-16T15:11:45.896Z] + cat /w/workspace/gexfoundry_device-rest-go_PR-268/archives/cost.csv [2023-03-16T15:11:45.896Z] + cut -d, -f6 [Pipeline] lock [2023-03-16T15:11:45.908Z] Trying to acquire lock on [jenkins-edgexfoundry-device-rest-go-PR-268-2-stack-cost] [2023-03-16T15:11:45.915Z] Resource [jenkins-edgexfoundry-device-rest-go-PR-268-2-stack-cost] did not exist. Created. [2023-03-16T15:11:45.915Z] Lock acquired on [jenkins-edgexfoundry-device-rest-go-PR-268-2-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-03-16T15:11:46.210Z] + echo total: 0.2199999988079071 [Pipeline] stash [2023-03-16T15:11:46.235Z] Stashed 1 file(s) [Pipeline] } [2023-03-16T15:11:46.240Z] Lock released on resource [jenkins-edgexfoundry-device-rest-go-PR-268-2-stack-cost] [Pipeline] // lock [Pipeline] } [2023-03-16T15:11:46.259Z] $ docker stop --time=1 bb8a43e18a7430d7914ea284a3c7bbb76ef8ffaebb4d0decf7f83b492d2ee02f [2023-03-16T15:11:47.433Z] $ docker rm -f --volumes bb8a43e18a7430d7914ea284a3c7bbb76ef8ffaebb4d0decf7f83b492d2ee02f [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2023-03-16T15:12:01.456Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-2449 in /w/workspace/gexfoundry_device-rest-go_PR-268 [Pipeline] { [Pipeline] ws [2023-03-16T15:12:01.469Z] Running in /w/workspace/device-rest-go/2 [Pipeline] { [Pipeline] checkout [2023-03-16T15:12:01.522Z] The recommended git tool is: git [2023-03-16T15:12:09.074Z] using credential edgex-jenkins-ssh [2023-03-16T15:12:09.093Z] Cloning the remote Git repository [2023-03-16T15:12:09.154Z] Cloning repository git@github.com:edgexfoundry/device-rest-go.git [2023-03-16T15:12:09.274Z] > git init /w/workspace/device-rest-go/2 # timeout=10 [2023-03-16T15:12:09.442Z] Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git [2023-03-16T15:12:09.443Z] > git --version # timeout=10 [2023-03-16T15:12:09.469Z] > git --version # 'git version 2.25.1' [2023-03-16T15:12:09.473Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-03-16T15:12:09.744Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-03-16T15:12:11.860Z] > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 [2023-03-16T15:12:11.889Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-03-16T15:12:13.061Z] > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 [2023-03-16T15:12:13.118Z] Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git [2023-03-16T15:12:13.119Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-03-16T15:12:13.137Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/pull/268/head:refs/remotes/origin/PR-268 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2023-03-16T15:12:13.685Z] Merging remotes/origin/main commit 2ded8c8301fa9285dc80bb471c5f0972abc0b73a into PR head commit e0fabda8af675933305fd9e419603ed10b7693eb [2023-03-16T15:12:14.036Z] Merge succeeded, producing 63f743c142be54cb1b7391022f052324b44ad989 [2023-03-16T15:12:14.037Z] Checking out Revision 63f743c142be54cb1b7391022f052324b44ad989 (PR-268) [2023-03-16T15:12:13.712Z] > git config core.sparsecheckout # timeout=10 [2023-03-16T15:12:13.801Z] > git checkout -f e0fabda8af675933305fd9e419603ed10b7693eb # timeout=10 [2023-03-16T15:12:13.896Z] > git remote # timeout=10 [2023-03-16T15:12:13.923Z] > git config --get remote.origin.url # timeout=10 [2023-03-16T15:12:13.940Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-03-16T15:12:13.955Z] > git merge 2ded8c8301fa9285dc80bb471c5f0972abc0b73a # timeout=10 [2023-03-16T15:12:14.016Z] > git rev-parse HEAD^{commit} # timeout=10 [2023-03-16T15:12:14.050Z] > git config core.sparsecheckout # timeout=10 [2023-03-16T15:12:14.070Z] > git checkout -f 63f743c142be54cb1b7391022f052324b44ad989 # timeout=10 [2023-03-16T15:12:17.747Z] Commit message: "Merge commit '2ded8c8301fa9285dc80bb471c5f0972abc0b73a' into HEAD" [2023-03-16T15:12:17.762Z] > git rev-list --no-walk e0fabda8af675933305fd9e419603ed10b7693eb # timeout=10 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-03-16T15:12:18.905Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2023-03-16T15:12:18.905Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-03-16T15:12:18.905Z] Dload Upload Total Spent Left Speed [2023-03-16T15:12:18.905Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 86741 0 --:--:-- --:--:-- --:--:-- 87335 [Pipeline] sh [2023-03-16T15:12:19.543Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2023-03-16T15:12:19.873Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2023-03-16T15:12:19.873Z] + sudo tee /etc/docker/daemon.new [2023-03-16T15:12:19.873Z] { [2023-03-16T15:12:19.873Z] "registry-mirrors": [ [2023-03-16T15:12:19.873Z] "https://nexus3.edgexfoundry.org:10001" [2023-03-16T15:12:19.873Z] ], [2023-03-16T15:12:19.873Z] "bip": "10.250.0.254/24", [2023-03-16T15:12:19.873Z] "hosts": [ [2023-03-16T15:12:19.873Z] "tcp://0.0.0.0:5555", [2023-03-16T15:12:19.873Z] "unix:///var/run/docker.sock" [2023-03-16T15:12:19.873Z] ], [2023-03-16T15:12:19.873Z] "mtu": 1458, [2023-03-16T15:12:19.873Z] "selinux-enabled": true, [2023-03-16T15:12:19.873Z] "seccomp-profile": "/etc/docker/seccomp.json" [2023-03-16T15:12:19.873Z] } [Pipeline] sh [2023-03-16T15:12:20.214Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2023-03-16T15:12:20.544Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-03-16T15:12:38.895Z] provisioning config files... [2023-03-16T15:12:38.925Z] copy managed file [device-rest-go-settings] to file:/w/workspace/device-rest-go/2@tmp/config15022985925547708262tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-03-16T15:12:39.286Z] ---> docker-login.sh [2023-03-16T15:12:39.286Z] nexus3.edgexfoundry.org:10001 [2023-03-16T15:12:39.879Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-16T15:12:40.150Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-16T15:12:40.150Z] Configure a credential helper to remove this warning. See [2023-03-16T15:12:40.150Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-16T15:12:40.150Z] [2023-03-16T15:12:40.150Z] Login Succeeded [2023-03-16T15:12:40.150Z] nexus3.edgexfoundry.org:10002 [2023-03-16T15:12:40.422Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-16T15:12:40.422Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-16T15:12:40.422Z] Configure a credential helper to remove this warning. See [2023-03-16T15:12:40.422Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-16T15:12:40.422Z] [2023-03-16T15:12:40.422Z] Login Succeeded [2023-03-16T15:12:40.422Z] nexus3.edgexfoundry.org:10003 [2023-03-16T15:12:40.694Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-16T15:12:40.967Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-16T15:12:40.967Z] Configure a credential helper to remove this warning. See [2023-03-16T15:12:40.967Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-16T15:12:40.967Z] [2023-03-16T15:12:40.967Z] Login Succeeded [2023-03-16T15:12:40.967Z] nexus3.edgexfoundry.org:10004 [2023-03-16T15:12:41.241Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-16T15:12:41.241Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-16T15:12:41.241Z] Configure a credential helper to remove this warning. See [2023-03-16T15:12:41.241Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-16T15:12:41.241Z] [2023-03-16T15:12:41.241Z] Login Succeeded [2023-03-16T15:12:41.241Z] docker.io [2023-03-16T15:12:41.515Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-16T15:12:41.787Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-16T15:12:41.787Z] Configure a credential helper to remove this warning. See [2023-03-16T15:12:41.787Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-16T15:12:41.787Z] [2023-03-16T15:12:41.787Z] Login Succeeded [2023-03-16T15:12:41.787Z] ---> docker-login.sh ends [Pipeline] } [2023-03-16T15:12:41.805Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-03-16T15:12:42.107Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-03-16T15:12:42.125Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-03-16T15:12:42.138Z] ========================================================= [2023-03-16T15:12:42.138Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine] [2023-03-16T15:12:42.138Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-16T15:12:42.499Z] + docker build -t ci-base-image-arm64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine --build-arg MAKE=echo noop --target=builder . [2023-03-16T15:12:42.499Z] Sending build context to Docker daemon 138.8kB [2023-03-16T15:12:42.770Z] Step 1/12 : ARG BASE=golang:1.20-alpine3.17 [2023-03-16T15:12:42.770Z] Step 2/12 : FROM ${BASE} AS builder [2023-03-16T15:12:44.739Z] 1.20-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2023-03-16T15:12:44.739Z] af6eaf76a39c: Pulling fs layer [2023-03-16T15:12:44.739Z] 55522c791124: Pulling fs layer [2023-03-16T15:12:44.739Z] ce5c4a1c91eb: Pulling fs layer [2023-03-16T15:12:44.739Z] 169dfbe0d373: Pulling fs layer [2023-03-16T15:12:44.739Z] e1ff8fa3b103: Pulling fs layer [2023-03-16T15:12:44.739Z] 52ebb69f0ebf: Pulling fs layer [2023-03-16T15:12:44.739Z] 5abe8eddf0d5: Pulling fs layer [2023-03-16T15:12:44.739Z] 169dfbe0d373: Waiting [2023-03-16T15:12:44.739Z] e1ff8fa3b103: Waiting [2023-03-16T15:12:44.739Z] 52ebb69f0ebf: Waiting [2023-03-16T15:12:44.739Z] 55522c791124: Download complete [2023-03-16T15:12:44.739Z] af6eaf76a39c: Download complete [2023-03-16T15:12:44.739Z] 169dfbe0d373: Verifying Checksum [2023-03-16T15:12:44.739Z] 169dfbe0d373: Download complete [2023-03-16T15:12:44.739Z] e1ff8fa3b103: Verifying Checksum [2023-03-16T15:12:44.739Z] e1ff8fa3b103: Download complete [2023-03-16T15:12:45.745Z] af6eaf76a39c: Pull complete [2023-03-16T15:12:45.745Z] 5abe8eddf0d5: Verifying Checksum [2023-03-16T15:12:45.745Z] 5abe8eddf0d5: Download complete [2023-03-16T15:12:46.339Z] 55522c791124: Pull complete [2023-03-16T15:12:47.318Z] ce5c4a1c91eb: Verifying Checksum [2023-03-16T15:12:47.318Z] ce5c4a1c91eb: Download complete [2023-03-16T15:12:47.318Z] 52ebb69f0ebf: Verifying Checksum [2023-03-16T15:12:47.318Z] 52ebb69f0ebf: Download complete [2023-03-16T15:12:59.682Z] ce5c4a1c91eb: Pull complete [2023-03-16T15:12:59.682Z] 169dfbe0d373: Pull complete [2023-03-16T15:12:59.682Z] e1ff8fa3b103: Pull complete [2023-03-16T15:13:06.374Z] 52ebb69f0ebf: Pull complete [2023-03-16T15:13:09.733Z] 5abe8eddf0d5: Pull complete [2023-03-16T15:13:09.733Z] Digest: sha256:978cc1420e451f27bd88fdeece3ad01a9109ec773b62f165dfc696fd516b3d8f [2023-03-16T15:13:10.005Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine [2023-03-16T15:13:10.005Z] ---> 6cb57ee374ae [2023-03-16T15:13:10.005Z] Step 3/12 : ARG ADD_BUILD_TAGS="" [2023-03-16T15:13:11.982Z] ---> Running in 4abd13c1aa74 [2023-03-16T15:13:11.982Z] Removing intermediate container 4abd13c1aa74 [2023-03-16T15:13:11.982Z] ---> 89e1bf466728 [2023-03-16T15:13:11.982Z] Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-03-16T15:13:12.259Z] ---> Running in fa2a73bf5e99 [2023-03-16T15:13:12.529Z] Removing intermediate container fa2a73bf5e99 [2023-03-16T15:13:12.529Z] ---> beabd70a154c [2023-03-16T15:13:12.529Z] Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client" [2023-03-16T15:13:12.529Z] ---> Running in 6eba73f5a5c1 [2023-03-16T15:13:12.799Z] Removing intermediate container 6eba73f5a5c1 [2023-03-16T15:13:12.799Z] ---> 818ed16c56b2 [2023-03-16T15:13:12.799Z] Step 6/12 : ARG ALPINE_PKG_EXTRA="" [2023-03-16T15:13:13.073Z] ---> Running in 3ef992765908 [2023-03-16T15:13:13.349Z] Removing intermediate container 3ef992765908 [2023-03-16T15:13:13.349Z] ---> ff748ebc0e97 [2023-03-16T15:13:13.350Z] Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-03-16T15:13:13.350Z] ---> Running in 992a95681cc0 [2023-03-16T15:13:14.779Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz [2023-03-16T15:13:15.368Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz [2023-03-16T15:13:16.789Z] (1/4) Installing openssh-keygen (9.1_p1-r2) [2023-03-16T15:13:16.789Z] (2/4) Installing libedit (20221030.3.1-r0) [2023-03-16T15:13:16.789Z] (3/4) Installing openssh-client-common (9.1_p1-r2) [2023-03-16T15:13:16.789Z] (4/4) Installing openssh-client-default (9.1_p1-r2) [2023-03-16T15:13:16.789Z] Executing busybox-1.35.0-r29.trigger [2023-03-16T15:13:16.789Z] OK: 268 MiB in 57 packages [2023-03-16T15:13:18.211Z] Removing intermediate container 992a95681cc0 [2023-03-16T15:13:18.211Z] ---> 1afa5f6c2b2f [2023-03-16T15:13:18.211Z] Step 8/12 : WORKDIR /device-rest-go [2023-03-16T15:13:18.211Z] ---> Running in 6e53172366cd [2023-03-16T15:13:18.483Z] Removing intermediate container 6e53172366cd [2023-03-16T15:13:18.483Z] ---> d8dcd5a15903 [2023-03-16T15:13:18.483Z] Step 9/12 : COPY go.mod vendor* ./ [2023-03-16T15:13:19.082Z] ---> 4f81030f3cb1 [2023-03-16T15:13:19.082Z] Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-03-16T15:13:19.082Z] ---> Running in 473d9909fb26 [2023-03-16T15:14:27.042Z] Removing intermediate container 473d9909fb26 [2023-03-16T15:14:27.042Z] ---> a5fe69abe399 [2023-03-16T15:14:27.042Z] Step 11/12 : COPY . . [2023-03-16T15:14:27.042Z] ---> 763bba9523ed [2023-03-16T15:14:27.042Z] Step 12/12 : RUN $MAKE [2023-03-16T15:14:27.043Z] ---> Running in 707693b5b9cd [2023-03-16T15:14:27.043Z] noop [2023-03-16T15:14:27.043Z] Removing intermediate container 707693b5b9cd [2023-03-16T15:14:27.043Z] ---> 21cd721e76d6 [2023-03-16T15:14:27.043Z] Successfully built 21cd721e76d6 [2023-03-16T15:14:27.043Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-16T15:14:27.391Z] + docker inspect -f . ci-base-image-arm64 [2023-03-16T15:14:27.391Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-16T15:14:27.621Z] prd-ubuntu20.04-docker-arm64-4c-16g-2449 does not seem to be running inside a container [2023-03-16T15:14:27.712Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-rest-go/2 -v /w/workspace/device-rest-go/2:/w/workspace/device-rest-go/2:rw,z -v /w/workspace/device-rest-go/2@tmp:/w/workspace/device-rest-go/2@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2023-03-16T15:14:29.098Z] $ docker top 6d8680022d26456f89f81f1812b5b03052485681faf6df368d6310ee9c775358 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-03-16T15:14:29.955Z] + go version [2023-03-16T15:14:29.955Z] go version go1.20.2 linux/arm64 [Pipeline] } [2023-03-16T15:14:29.987Z] $ docker stop --time=1 6d8680022d26456f89f81f1812b5b03052485681faf6df368d6310ee9c775358 [2023-03-16T15:14:32.025Z] $ docker rm -f --volumes 6d8680022d26456f89f81f1812b5b03052485681faf6df368d6310ee9c775358 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-16T15:14:32.583Z] + docker inspect -f . ci-base-image-arm64 [2023-03-16T15:14:32.583Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-16T15:14:32.783Z] prd-ubuntu20.04-docker-arm64-4c-16g-2449 does not seem to be running inside a container [2023-03-16T15:14:32.871Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/device-rest-go/2 -v /w/workspace/device-rest-go/2:/w/workspace/device-rest-go/2:rw,z -v /w/workspace/device-rest-go/2@tmp:/w/workspace/device-rest-go/2@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2023-03-16T15:14:34.148Z] $ docker top dc10657e5e8bab3eb45b9f77d6212230db9f576d04009eeef2e88d79a52b3aba -eo pid,comm [Pipeline] { [Pipeline] sh [2023-03-16T15:14:35.008Z] + git config --global --add safe.directory /w/workspace/device-rest-go/2 [Pipeline] fileExists [Pipeline] sh [2023-03-16T15:14:35.659Z] + make test [2023-03-16T15:14:35.659Z] go test ./... -coverprofile=coverage.out ./... [2023-03-16T15:15:14.643Z] ? github.com/edgexfoundry/device-rest-go [no test files] [2023-03-16T15:17:36.364Z] ? github.com/edgexfoundry/device-rest-go/cmd [no test files] [2023-03-16T15:17:36.364Z] ok github.com/edgexfoundry/device-rest-go/driver 0.060s coverage: 33.1% of statements [2023-03-16T15:17:36.364Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2023-03-16T15:17:36.364Z] go vet ./... [2023-03-16T15:18:03.059Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-03-16T15:18:03.059Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2023-03-16T15:18:03.059Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2023-03-16T15:18:03.078Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2023-03-16T15:18:03.106Z] $ docker stop --time=1 dc10657e5e8bab3eb45b9f77d6212230db9f576d04009eeef2e88d79a52b3aba [2023-03-16T15:18:04.940Z] $ docker rm -f --volumes dc10657e5e8bab3eb45b9f77d6212230db9f576d04009eeef2e88d79a52b3aba [Pipeline] // withDockerContainer [Pipeline] sh [2023-03-16T15:18:06.130Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2023-03-16T15:18:06.151Z] Warning: overwriting stash ‘coverage-report’ [2023-03-16T15:18:06.687Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-03-16T15:18:07.083Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-03-16T15:18:07.404Z] + ls -al . [2023-03-16T15:18:07.404Z] total 180 [2023-03-16T15:18:07.404Z] drwxrwxr-x 8 jenkins jenkins 4096 Mar 16 15:14 . [2023-03-16T15:18:07.404Z] drwxrwxr-x 4 jenkins jenkins 4096 Mar 16 15:12 .. [2023-03-16T15:18:07.404Z] -rw-rw-r-- 1 jenkins jenkins 151 Mar 16 15:12 .dockerignore [2023-03-16T15:18:07.404Z] drwxrwxr-x 8 jenkins jenkins 4096 Mar 16 15:12 .git [2023-03-16T15:18:07.404Z] drwxrwxr-x 3 jenkins jenkins 4096 Mar 16 15:12 .github [2023-03-16T15:18:07.404Z] -rw-rw-r-- 1 jenkins jenkins 329 Mar 16 15:12 .gitignore [2023-03-16T15:18:07.404Z] -rw-rw-r-- 1 jenkins jenkins 41 Mar 16 15:12 .golangci.yml [2023-03-16T15:18:07.404Z] -rw-rw-r-- 1 jenkins jenkins 9321 Mar 16 15:12 Attribution.txt [2023-03-16T15:18:07.404Z] -rw-rw-r-- 1 jenkins jenkins 13085 Mar 16 15:12 CHANGELOG.md [2023-03-16T15:18:07.404Z] -rw-rw-r-- 1 jenkins jenkins 1578 Mar 16 15:12 Dockerfile [2023-03-16T15:18:07.404Z] -rw-rw-r-- 1 jenkins jenkins 677 Mar 16 15:12 GOVERNANCE.md [2023-03-16T15:18:07.404Z] -rw-rw-r-- 1 jenkins jenkins 680 Mar 16 15:12 Jenkinsfile [2023-03-16T15:18:07.404Z] -rw-rw-r-- 1 jenkins jenkins 11340 Mar 16 15:12 LICENSE [2023-03-16T15:18:07.404Z] -rw-rw-r-- 1 jenkins jenkins 1779 Mar 16 15:12 Makefile [2023-03-16T15:18:07.404Z] -rw-rw-r-- 1 jenkins jenkins 620 Mar 16 15:12 OWNERS.md [2023-03-16T15:18:07.404Z] -rw-rw-r-- 1 jenkins jenkins 15447 Mar 16 15:12 README.md [2023-03-16T15:18:07.404Z] -rw-rw-r-- 1 jenkins jenkins 5 Mar 16 15:08 VERSION [2023-03-16T15:18:07.404Z] drwxrwxr-x 2 jenkins jenkins 4096 Mar 16 15:12 bin [2023-03-16T15:18:07.404Z] drwxrwxr-x 3 jenkins jenkins 4096 Mar 16 15:12 cmd [2023-03-16T15:18:07.405Z] -rw-r--r-- 1 jenkins jenkins 14200 Mar 16 15:17 coverage.out [2023-03-16T15:18:07.405Z] drwxrwxr-x 2 jenkins jenkins 4096 Mar 16 15:12 driver [2023-03-16T15:18:07.405Z] -rw-rw-r-- 1 jenkins jenkins 3446 Mar 16 15:12 go.mod [2023-03-16T15:18:07.405Z] -rw-rw-r-- 1 jenkins jenkins 31299 Mar 16 15:12 go.sum [2023-03-16T15:18:07.405Z] drwxrwxr-x 4 jenkins jenkins 4096 Mar 16 15:12 snap [2023-03-16T15:18:07.405Z] -rw-rw-r-- 1 jenkins jenkins 713 Mar 16 15:12 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-16T15:18:07.754Z] + 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=63f743c142be54cb1b7391022f052324b44ad989 --label arch=arm64 --label version=0.0.0 . [2023-03-16T15:18:07.754Z] Sending build context to Docker daemon 153.6kB [2023-03-16T15:18:08.029Z] Step 1/25 : ARG BASE=golang:1.20-alpine3.17 [2023-03-16T15:18:08.029Z] Step 2/25 : FROM ${BASE} AS builder [2023-03-16T15:18:08.029Z] ---> 21cd721e76d6 [2023-03-16T15:18:08.029Z] Step 3/25 : ARG ADD_BUILD_TAGS="" [2023-03-16T15:18:08.029Z] ---> Running in 15040de3e33d [2023-03-16T15:18:08.320Z] Removing intermediate container 15040de3e33d [2023-03-16T15:18:08.320Z] ---> 23e3e1ac72ab [2023-03-16T15:18:08.320Z] Step 4/25 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-03-16T15:18:08.593Z] ---> Running in 2909b9fe3e02 [2023-03-16T15:18:08.863Z] Removing intermediate container 2909b9fe3e02 [2023-03-16T15:18:08.863Z] ---> 8736ecadc0d0 [2023-03-16T15:18:08.863Z] Step 5/25 : ARG ALPINE_PKG_BASE="make git openssh-client" [2023-03-16T15:18:08.863Z] ---> Running in aee62f23460c [2023-03-16T15:18:09.131Z] Removing intermediate container aee62f23460c [2023-03-16T15:18:09.131Z] ---> c3413ed2a42d [2023-03-16T15:18:09.131Z] Step 6/25 : ARG ALPINE_PKG_EXTRA="" [2023-03-16T15:18:09.399Z] ---> Running in 534af1fd0cd1 [2023-03-16T15:18:09.670Z] Removing intermediate container 534af1fd0cd1 [2023-03-16T15:18:09.670Z] ---> d488bf2416d5 [2023-03-16T15:18:09.670Z] Step 7/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-03-16T15:18:09.670Z] ---> Running in f8dacfb2ee8d [2023-03-16T15:18:11.085Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz [2023-03-16T15:18:11.352Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz [2023-03-16T15:18:12.767Z] OK: 268 MiB in 57 packages [2023-03-16T15:18:13.733Z] Removing intermediate container f8dacfb2ee8d [2023-03-16T15:18:13.733Z] ---> 94926f43378d [2023-03-16T15:18:13.733Z] Step 8/25 : WORKDIR /device-rest-go [2023-03-16T15:18:13.733Z] ---> Running in eb08cd3e1da4 [2023-03-16T15:18:14.003Z] Removing intermediate container eb08cd3e1da4 [2023-03-16T15:18:14.003Z] ---> 4decc835bda9 [2023-03-16T15:18:14.003Z] Step 9/25 : COPY go.mod vendor* ./ [2023-03-16T15:18:14.590Z] ---> c9d0bccfbbd3 [2023-03-16T15:18:14.590Z] Step 10/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-03-16T15:18:14.590Z] ---> Running in f3baca9f346c [2023-03-16T15:18:17.951Z] Removing intermediate container f3baca9f346c [2023-03-16T15:18:17.952Z] ---> 8f9b3255a1c1 [2023-03-16T15:18:17.952Z] Step 11/25 : COPY . . [2023-03-16T15:18:17.952Z] ---> 537210500ca9 [2023-03-16T15:18:17.952Z] Step 12/25 : RUN $MAKE [2023-03-16T15:18:18.222Z] ---> Running in 481b66b8fd8e [2023-03-16T15:18:19.189Z] CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-rest-go.Version=0.0.0" -trimpath -mod=readonly -o cmd/device-rest ./cmd [2023-03-16T15:20:40.902Z] Removing intermediate container 481b66b8fd8e [2023-03-16T15:20:40.902Z] ---> 6301996274d0 [2023-03-16T15:20:40.902Z] Step 13/25 : FROM alpine:3.17 [2023-03-16T15:20:40.902Z] 3.17: Pulling from library/alpine [2023-03-16T15:20:40.902Z] af6eaf76a39c: Already exists [2023-03-16T15:20:40.902Z] Digest: sha256:ff6bdca1701f3a8a67e328815ff2346b0e4067d32ec36b7992c1fdc001dc8517 [2023-03-16T15:20:40.902Z] Status: Downloaded newer image for alpine:3.17 [2023-03-16T15:20:40.902Z] ---> d74e625d9115 [2023-03-16T15:20:40.902Z] Step 14/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' [2023-03-16T15:20:40.902Z] ---> Running in 2abd5e4562e8 [2023-03-16T15:20:40.902Z] Removing intermediate container 2abd5e4562e8 [2023-03-16T15:20:40.902Z] ---> ebbf9e0c5b11 [2023-03-16T15:20:40.902Z] Step 15/25 : LABEL Name=device-rest-go Version=${VERSION} [2023-03-16T15:20:40.902Z] ---> Running in 6f1343ae4499 [2023-03-16T15:20:40.902Z] Removing intermediate container 6f1343ae4499 [2023-03-16T15:20:40.902Z] ---> 8cfabb3429ee [2023-03-16T15:20:40.902Z] Step 16/25 : RUN apk add --update --no-cache dumb-init [2023-03-16T15:20:40.902Z] ---> Running in 1361d6cb815e [2023-03-16T15:20:40.902Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz [2023-03-16T15:20:41.483Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz [2023-03-16T15:20:42.443Z] (1/1) Installing dumb-init (1.2.5-r2) [2023-03-16T15:20:42.443Z] Executing busybox-1.35.0-r29.trigger [2023-03-16T15:20:42.443Z] OK: 8 MiB in 16 packages [2023-03-16T15:20:43.403Z] Removing intermediate container 1361d6cb815e [2023-03-16T15:20:43.403Z] ---> 039871494439 [2023-03-16T15:20:43.403Z] Step 17/25 : COPY --from=builder /device-rest-go/cmd / [2023-03-16T15:20:44.812Z] ---> ec07d37dadc3 [2023-03-16T15:20:44.812Z] Step 18/25 : COPY --from=builder /device-rest-go/LICENSE / [2023-03-16T15:20:45.088Z] ---> dc2a7d097f44 [2023-03-16T15:20:45.088Z] Step 19/25 : COPY --from=builder /device-rest-go/Attribution.txt / [2023-03-16T15:20:45.670Z] ---> 95cefe159116 [2023-03-16T15:20:45.670Z] Step 20/25 : EXPOSE 59986 [2023-03-16T15:20:45.670Z] ---> Running in 4fdc7b333421 [2023-03-16T15:20:45.936Z] Removing intermediate container 4fdc7b333421 [2023-03-16T15:20:45.936Z] ---> 07246fd9c0a9 [2023-03-16T15:20:45.936Z] Step 21/25 : ENTRYPOINT ["/device-rest"] [2023-03-16T15:20:46.204Z] ---> Running in 9daabbc5ad91 [2023-03-16T15:20:46.470Z] Removing intermediate container 9daabbc5ad91 [2023-03-16T15:20:46.470Z] ---> 99801d57d94a [2023-03-16T15:20:46.470Z] Step 22/25 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry"] [2023-03-16T15:20:47.061Z] ---> Running in 464077cacd97 [2023-03-16T15:20:47.327Z] Removing intermediate container 464077cacd97 [2023-03-16T15:20:47.327Z] ---> 2d30e038c6a9 [2023-03-16T15:20:47.327Z] Step 23/25 : LABEL arch=arm64 [2023-03-16T15:20:47.327Z] ---> Running in 8ab8cabf0e1a [2023-03-16T15:20:47.595Z] Removing intermediate container 8ab8cabf0e1a [2023-03-16T15:20:47.595Z] ---> 4d9ad2b39be7 [2023-03-16T15:20:47.595Z] Step 24/25 : LABEL git_sha=63f743c142be54cb1b7391022f052324b44ad989 [2023-03-16T15:20:47.863Z] ---> Running in 8ed2b7c616b6 [2023-03-16T15:20:48.131Z] Removing intermediate container 8ed2b7c616b6 [2023-03-16T15:20:48.131Z] ---> 74e2f6d125c2 [2023-03-16T15:20:48.131Z] Step 25/25 : LABEL version=0.0.0 [2023-03-16T15:20:48.131Z] ---> Running in dacde5cc798b [2023-03-16T15:20:48.399Z] Removing intermediate container dacde5cc798b [2023-03-16T15:20:48.399Z] ---> af89e4d13ffe [2023-03-16T15:20:48.399Z] [Warning] One or more build-args [ARCH] were not consumed [2023-03-16T15:20:48.399Z] Successfully built af89e4d13ffe [2023-03-16T15:20:48.399Z] Successfully tagged device-rest-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-16T15:20:48.846Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-03-16T15:20:48.846Z] [2023-03-16T15:20:48.846Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-16T15:20:49.180Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-03-16T15:20:49.180Z] arm64: Pulling from edgex-lftools-log-publisher [2023-03-16T15:20:49.180Z] 8998bd30e6a1: Pulling fs layer [2023-03-16T15:20:49.180Z] 04944245beec: Pulling fs layer [2023-03-16T15:20:49.180Z] 699f458cf7ca: Pulling fs layer [2023-03-16T15:20:49.180Z] 765212b225bb: Pulling fs layer [2023-03-16T15:20:49.180Z] f23df028b6ca: Pulling fs layer [2023-03-16T15:20:49.180Z] d65c8cfc05b1: Pulling fs layer [2023-03-16T15:20:49.180Z] 2437ff75d9bd: Pulling fs layer [2023-03-16T15:20:49.180Z] f23df028b6ca: Waiting [2023-03-16T15:20:49.180Z] d65c8cfc05b1: Waiting [2023-03-16T15:20:49.180Z] 765212b225bb: Waiting [2023-03-16T15:20:49.180Z] 2437ff75d9bd: Waiting [2023-03-16T15:20:49.449Z] 04944245beec: Verifying Checksum [2023-03-16T15:20:49.449Z] 04944245beec: Download complete [2023-03-16T15:20:49.449Z] 765212b225bb: Verifying Checksum [2023-03-16T15:20:49.449Z] 765212b225bb: Download complete [2023-03-16T15:20:49.449Z] f23df028b6ca: Verifying Checksum [2023-03-16T15:20:49.449Z] f23df028b6ca: Download complete [2023-03-16T15:20:49.449Z] d65c8cfc05b1: Verifying Checksum [2023-03-16T15:20:49.449Z] d65c8cfc05b1: Download complete [2023-03-16T15:20:49.449Z] 699f458cf7ca: Verifying Checksum [2023-03-16T15:20:49.449Z] 699f458cf7ca: Download complete [2023-03-16T15:20:50.040Z] 8998bd30e6a1: Download complete [2023-03-16T15:20:51.995Z] 2437ff75d9bd: Verifying Checksum [2023-03-16T15:20:51.995Z] 2437ff75d9bd: Download complete [2023-03-16T15:20:53.958Z] 8998bd30e6a1: Pull complete [2023-03-16T15:20:54.226Z] 04944245beec: Pull complete [2023-03-16T15:20:55.642Z] 699f458cf7ca: Pull complete [2023-03-16T15:20:55.642Z] 765212b225bb: Pull complete [2023-03-16T15:20:56.690Z] f23df028b6ca: Pull complete [2023-03-16T15:20:56.969Z] d65c8cfc05b1: Pull complete [2023-03-16T15:21:12.027Z] 2437ff75d9bd: Pull complete [2023-03-16T15:21:12.027Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2023-03-16T15:21:12.027Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-03-16T15:21:12.027Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-16T15:21:12.240Z] prd-ubuntu20.04-docker-arm64-4c-16g-2449 does not seem to be running inside a container [2023-03-16T15:21:12.330Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/device-rest-go/2 -v /w/workspace/device-rest-go/2:/w/workspace/device-rest-go/2:rw,z -v /w/workspace/device-rest-go/2@tmp:/w/workspace/device-rest-go/2@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat [2023-03-16T15:21:15.440Z] $ docker top e862d0f3fc4a895041e25b5ef07754bca62f1f212e785222536357ceb9e1e442 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-03-16T15:21:16.281Z] ---> job-cost.sh [2023-03-16T15:21:16.281Z] lf-activate-venv: SKIPPING [2023-03-16T15:21:16.281Z] INFO: No Stack... [2023-03-16T15:21:16.863Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2023-03-16T15:21:17.446Z] INFO: Archiving Costs [Pipeline] sh [2023-03-16T15:21:18.086Z] + cat /w/workspace/device-rest-go/2/archives/cost.csv [2023-03-16T15:21:18.086Z] + cut -d, -f6 [Pipeline] lock [2023-03-16T15:21:18.152Z] Trying to acquire lock on [jenkins-edgexfoundry-device-rest-go-PR-268-2-stack-cost] [2023-03-16T15:21:18.157Z] Resource [jenkins-edgexfoundry-device-rest-go-PR-268-2-stack-cost] did not exist. Created. [2023-03-16T15:21:18.157Z] Lock acquired on [jenkins-edgexfoundry-device-rest-go-PR-268-2-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-03-16T15:21:18.818Z] /w/workspace/device-rest-go/2@tmp/durable-dbda2287/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2023-03-16T15:21:19.474Z] + echo total: 0.10999999940395355 [Pipeline] stash [2023-03-16T15:21:19.498Z] Warning: overwriting stash ‘stack-cost’ [2023-03-16T15:21:19.548Z] Stashed 1 file(s) [Pipeline] } [2023-03-16T15:21:19.555Z] Lock released on resource [jenkins-edgexfoundry-device-rest-go-PR-268-2-stack-cost] [Pipeline] // lock [Pipeline] } [2023-03-16T15:21:19.584Z] $ docker stop --time=1 e862d0f3fc4a895041e25b5ef07754bca62f1f212e785222536357ceb9e1e442 [2023-03-16T15:21:21.110Z] $ docker rm -f --volumes e862d0f3fc4a895041e25b5ef07754bca62f1f212e785222536357ceb9e1e442 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) [Pipeline] unstash [Pipeline] configFileProvider [2023-03-16T15:21:21.440Z] provisioning config files... [2023-03-16T15:21:21.447Z] copy managed file [device-rest-go-codecov-token] to file:/w/workspace/gexfoundry_device-rest-go_PR-268@tmp/config3800296287905889811tmp [Pipeline] { [Pipeline] sh [2023-03-16T15:21:21.740Z] + set +x [2023-03-16T15:21:21.740Z] + bash -s -- [2023-03-16T15:21:21.740Z] + curl -s https://codecov.io/bash [2023-03-16T15:21:21.740Z] [2023-03-16T15:21:21.740Z] _____ _ [2023-03-16T15:21:21.740Z] / ____| | | [2023-03-16T15:21:21.740Z] | | ___ __| | ___ ___ _____ __ [2023-03-16T15:21:21.740Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2023-03-16T15:21:21.740Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2023-03-16T15:21:21.740Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2023-03-16T15:21:21.740Z] Bash-1.0.6 [2023-03-16T15:21:21.740Z] [2023-03-16T15:21:21.740Z] [2023-03-16T15:21:21.740Z] ==> git version 2.25.1 found [2023-03-16T15:21:21.740Z] ==> curl 7.68.0 (x86_64-pc-linux-gnu) libcurl/7.68.0 OpenSSL/1.1.1f zlib/1.2.11 brotli/1.0.7 libidn2/2.2.0 libpsl/0.21.0 (+libidn2/2.2.0) libssh/0.9.3/openssl/zlib nghttp2/1.40.0 librtmp/2.3 [2023-03-16T15:21:21.740Z] Release-Date: 2020-01-08 [2023-03-16T15:21:21.740Z] Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp [2023-03-16T15:21:21.740Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2023-03-16T15:21:21.740Z] ==> Jenkins CI detected. [2023-03-16T15:21:21.740Z] current dir:  /w/workspace/gexfoundry_device-rest-go_PR-268 [2023-03-16T15:21:21.740Z] project root: . [2023-03-16T15:21:21.740Z] --> token set from env [2023-03-16T15:21:21.740Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2023-03-16T15:21:21.740Z] ==> Running gcov in . (disable via -X gcov) [2023-03-16T15:21:21.740Z] ==> Python coveragepy not found [2023-03-16T15:21:21.740Z] ==> Searching for coverage reports in: [2023-03-16T15:21:21.740Z] + . [2023-03-16T15:21:21.740Z] -> Found 1 reports [2023-03-16T15:21:21.740Z] ==> Detecting git/mercurial file structure [2023-03-16T15:21:21.740Z] ==> Reading reports [2023-03-16T15:21:21.740Z] + ./coverage.out bytes=14200 [2023-03-16T15:21:21.740Z] ==> Appending adjustments [2023-03-16T15:21:21.740Z] https://docs.codecov.io/docs/fixing-reports [2023-03-16T15:21:21.999Z] + Found adjustments [2023-03-16T15:21:21.999Z] ==> Gzipping contents [2023-03-16T15:21:21.999Z] 4.0K /tmp/codecov.bacULh.gz [2023-03-16T15:21:21.999Z] ==> Uploading reports [2023-03-16T15:21:21.999Z] url: https://codecov.io [2023-03-16T15:21:21.999Z] query: branch=PR-268&commit=146abaa2fb209c357d3246bb7827ca682096beab&build=2&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-rest-go%2Fjob%2FPR-268%2F2%2F&name=&tag=&slug=edgexfoundry%2Fdevice-rest-go&service=jenkins&flags=&pr=268&job=&cmd_args= [2023-03-16T15:21:21.999Z] -> Pinging Codecov [2023-03-16T15:21:21.999Z] https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=c51feb23-73ac-4f49-b3d1-d26df23137db&branch=PR-268&commit=146abaa2fb209c357d3246bb7827ca682096beab&build=2&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-rest-go%2Fjob%2FPR-268%2F2%2F&name=&tag=&slug=edgexfoundry%2Fdevice-rest-go&service=jenkins&flags=&pr=268&job=&cmd_args= [2023-03-16T15:21:21.999Z] -> Uploading to [2023-03-16T15:21:21.999Z] https://storage.googleapis.com/codecov/v4/raw/2023-03-16/4E5D53B4F1F92C436F7061BF334D961C/146abaa2fb209c357d3246bb7827ca682096beab/d9e83aec-8645-44de-a8c2-f32a882afaf5.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20230316%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20230316T152121Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=8640e1b921c676b294cff7b9c0a9613283701f7fa67068925616daeaa79f5a66 [2023-03-16T15:21:21.999Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-03-16T15:21:21.999Z] Dload Upload Total Spent Left Speed [2023-03-16T15:21:22.257Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 2465 0 0 100 2465 0 10625 --:--:-- --:--:-- --:--:-- 10579 [2023-03-16T15:21:22.257Z] -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-rest-go/commit/146abaa2fb209c357d3246bb7827ca682096beab [Pipeline] } [2023-03-16T15:21:22.264Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) Stage "Snyk Dependency Scan" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) Stage "Semver" skipped due to when conditional [Pipeline] stage [Pipeline] { (Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] sh [2023-03-16T15:21:22.899Z] + [ -d /w/workspace/gexfoundry_device-rest-go_PR-268/archives ] [2023-03-16T15:21:22.899Z] + ls -al /w/workspace/gexfoundry_device-rest-go_PR-268/archives [2023-03-16T15:21:22.899Z] total 16 [2023-03-16T15:21:22.899Z] drwxr-xr-x 3 root root 4096 Mar 16 15:11 . [2023-03-16T15:21:22.899Z] drwxrwxr-x 10 jenkins jenkins 4096 Mar 16 15:11 .. [2023-03-16T15:21:22.899Z] drwxr-xr-x 2 root root 4096 Mar 16 15:11 cost [2023-03-16T15:21:22.899Z] -rw-r--r-- 1 root root 86 Mar 16 15:11 cost.csv [2023-03-16T15:21:22.899Z] + sudo chown -R jenkins:jenkins /w/workspace/gexfoundry_device-rest-go_PR-268/archives [2023-03-16T15:21:22.899Z] + ls -al /w/workspace/gexfoundry_device-rest-go_PR-268/archives [2023-03-16T15:21:22.899Z] total 16 [2023-03-16T15:21:22.899Z] drwxr-xr-x 3 jenkins jenkins 4096 Mar 16 15:11 . [2023-03-16T15:21:22.899Z] drwxrwxr-x 10 jenkins jenkins 4096 Mar 16 15:11 .. [2023-03-16T15:21:22.899Z] drwxr-xr-x 2 jenkins jenkins 4096 Mar 16 15:11 cost [2023-03-16T15:21:22.899Z] -rw-r--r-- 1 jenkins jenkins 86 Mar 16 15:11 cost.csv [Pipeline] libraryResource [Pipeline] sh [2023-03-16T15:21:23.192Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2023-03-16T15:21:24.047Z] ---> package-listing.sh [2023-03-16T15:21:24.047Z] ++ facter osfamily [2023-03-16T15:21:24.047Z] ++ tr '[:upper:]' '[:lower:]' [2023-03-16T15:21:24.306Z] + OS_FAMILY=debian [2023-03-16T15:21:24.306Z] + workspace=/w/workspace/gexfoundry_device-rest-go_PR-268 [2023-03-16T15:21:24.306Z] + START_PACKAGES=/tmp/packages_start.txt [2023-03-16T15:21:24.306Z] + END_PACKAGES=/tmp/packages_end.txt [2023-03-16T15:21:24.306Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2023-03-16T15:21:24.306Z] + PACKAGES=/tmp/packages_start.txt [2023-03-16T15:21:24.306Z] + '[' /w/workspace/gexfoundry_device-rest-go_PR-268 ']' [2023-03-16T15:21:24.306Z] + PACKAGES=/tmp/packages_end.txt [2023-03-16T15:21:24.306Z] + case "${OS_FAMILY}" in [2023-03-16T15:21:24.306Z] + dpkg -l [2023-03-16T15:21:24.306Z] + grep '^ii' [2023-03-16T15:21:24.306Z] + '[' -f /tmp/packages_start.txt ']' [2023-03-16T15:21:24.306Z] + '[' -f /tmp/packages_end.txt ']' [2023-03-16T15:21:24.306Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2023-03-16T15:21:24.306Z] + '[' /w/workspace/gexfoundry_device-rest-go_PR-268 ']' [2023-03-16T15:21:24.306Z] + mkdir -p /w/workspace/gexfoundry_device-rest-go_PR-268/archives/ [2023-03-16T15:21:24.306Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_device-rest-go_PR-268/archives/ [Pipeline] echo [2023-03-16T15:21:24.319Z] 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-268/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2023-03-16T15:21:24.594Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-16T15:21:25.153Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-03-16T15:21:25.153Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-16T15:21:25.221Z] prd-ubuntu20.04-docker-8c-8g-2447 does not seem to be running inside a container [2023-03-16T15:21:25.257Z] $ 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-268/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-268 -v /w/workspace/gexfoundry_device-rest-go_PR-268:/w/workspace/gexfoundry_device-rest-go_PR-268:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-268@tmp:/w/workspace/gexfoundry_device-rest-go_PR-268@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2023-03-16T15:21:25.468Z] $ docker top ce9e91e533dae765486d4470cc1eb3cfa3312ffddcf5b0bf85dd1b7c3477f483 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-03-16T15:21:25.805Z] + touch /tmp/pre-build-complete [Pipeline] sh [2023-03-16T15:21:26.090Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2023-03-16T15:21:26.377Z] + ls /var/log/sa-host [2023-03-16T15:21:26.377Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-03-16T15:21:26.444Z] provisioning config files... [2023-03-16T15:21:26.452Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-rest-go_PR-268@tmp/config5900565753712638360tmp [Pipeline] { [Pipeline] echo [2023-03-16T15:21:26.467Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2023-03-16T15:21:26.749Z] ---> create-netrc.sh [Pipeline] } [2023-03-16T15:21:26.755Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2023-03-16T15:21:27.067Z] ---> python-tools-install.sh [Pipeline] echo [2023-03-16T15:21:27.075Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2023-03-16T15:21:27.357Z] ---> sudo-logs.sh [2023-03-16T15:21:27.357Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2023-03-16T15:21:27.388Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2023-03-16T15:21:27.670Z] ---> job-cost.sh [2023-03-16T15:21:27.670Z] lf-activate-venv: SKIPPING [2023-03-16T15:21:27.670Z] DEBUG: total: 0.2199999988079071 [2023-03-16T15:21:27.670Z] INFO: Retrieving Stack Cost... [2023-03-16T15:21:27.928Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-03-16T15:21:28.495Z] INFO: Archiving Costs [Pipeline] echo [2023-03-16T15:21:28.507Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2023-03-16T15:21:28.788Z] ---> logs-deploy.sh [2023-03-16T15:21:28.788Z] lf-activate-venv: SKIPPING [2023-03-16T15:21:28.788Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-rest-go/PR-268/2 [2023-03-16T15:21:28.788Z] INFO: archiving workspace using pattern(s): [2023-03-16T15:21:29.723Z] Archives upload complete. [2023-03-16T15:21:29.723Z] INFO: archiving logs to Nexus