Branch indexing Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from db9efb490de7778646f037f9e3397b71150b5e7b+d6c3e216c08ed71da48c9c499bb0b6c9a0701dd9 (2f89eabc1ead2d3bfff60eba8f5e7317e3299b61) 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-ssh9333175151165735653.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 8d11186b4ecddd371e5d69e8bc5262dee0d7f4a1 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-ssh7023018418388815370.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 8d11186b4ecddd371e5d69e8bc5262dee0d7f4a1 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-297/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-297/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh3459724666568724396.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 8d11186b4ecddd371e5d69e8bc5262dee0d7f4a1 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 8d11186b4ecddd371e5d69e8bc5262dee0d7f4a1 # timeout=10 Commit message: "fix: bug with isLTS relying on env.GIT_BRANCH inside cd-management repo (#429)" > 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-ssh15854435513635359796.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-297/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-297/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh244278045145862345.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 ‘prd-ubuntu20.04-docker-8c-8g-10837’ Running on prd-ubuntu20.04-docker-8c-8g-10840 in /w/workspace/gexfoundry_device-rest-go_PR-297 [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-297 # 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 Merging remotes/origin/main commit d6c3e216c08ed71da48c9c499bb0b6c9a0701dd9 into PR head commit db9efb490de7778646f037f9e3397b71150b5e7b Merge succeeded, producing 522741b4d7c581134c1b14f65ebc95c0caa49787 Checking out Revision 522741b4d7c581134c1b14f65ebc95c0caa49787 (PR-297) > 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/297/head:refs/remotes/origin/PR-297 +refs/heads/main:refs/remotes/origin/main # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f db9efb490de7778646f037f9e3397b71150b5e7b # 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 d6c3e216c08ed71da48c9c499bb0b6c9a0701dd9 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 522741b4d7c581134c1b14f65ebc95c0caa49787 # timeout=10 Commit message: "Merge commit 'd6c3e216c08ed71da48c9c499bb0b6c9a0701dd9' into HEAD" > git rev-list --no-walk db9efb490de7778646f037f9e3397b71150b5e7b # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2023-04-25T15:09:27.051Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2023-04-25T15:09:27.096Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2023-04-25T15:09:27.117Z] ========================================================= [2023-04-25T15:09:27.118Z] EdgeX Global Pipelines Version Info [2023-04-25T15:09:27.118Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2023-04-25T15:09:27.838Z] ------------------- [2023-04-25T15:09:27.838Z] stable info: [2023-04-25T15:09:27.838Z] ------------------- [2023-04-25T15:09:27.838Z] Commited By: Bill Mahoney bill.mahoney@intel.com [2023-04-25T15:09:27.838Z] Commit SHA: 8d11186b4ecddd371e5d69e8bc5262dee0d7f4a1 [2023-04-25T15:09:27.838Z] Message: update stable to v1.0.248 [2023-04-25T15:09:28.408Z] ------------------- [2023-04-25T15:09:28.408Z] experimental info: [2023-04-25T15:09:28.408Z] ------------------- [2023-04-25T15:09:28.408Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2023-04-25T15:09:28.408Z] Commit SHA: 8d11186b4ecddd371e5d69e8bc5262dee0d7f4a1 [2023-04-25T15:09:28.408Z] Message: update experimental to v1.0.248 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2023-04-25T15:09:28.578Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-rest-go-settings [Pipeline] echo [2023-04-25T15:09:28.594Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-rest-go [Pipeline] echo [2023-04-25T15:09:28.603Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2023-04-25T15:09:28.614Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2023-04-25T15:09:28.626Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2023-04-25T15:09:28.637Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.20 [Pipeline] echo [2023-04-25T15:09:28.648Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2023-04-25T15:09:28.660Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2023-04-25T15:09:28.671Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2023-04-25T15:09:28.683Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2023-04-25T15:09:28.695Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2023-04-25T15:09:28.708Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-rest [Pipeline] echo [2023-04-25T15:09:28.724Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2023-04-25T15:09:28.734Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2023-04-25T15:09:28.747Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2023-04-25T15:09:28.760Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2023-04-25T15:09:28.772Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2023-04-25T15:09:28.787Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2023-04-25T15:09:28.800Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2023-04-25T15:09:28.810Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2023-04-25T15:09:28.826Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2023-04-25T15:09:28.844Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2023-04-25T15:09:28.863Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2023-04-25T15:09:28.882Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2023-04-25T15:09:28.899Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2023-04-25T15:09:28.918Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2023-04-25T15:09:28.937Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2023-04-25T15:09:28.953Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-297 [Pipeline] echo [2023-04-25T15:09:28.964Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-297 [Pipeline] echo [2023-04-25T15:09:28.977Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-297 [Pipeline] echo [2023-04-25T15:09:28.990Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 522741b4d7c581134c1b14f65ebc95c0caa49787 [Pipeline] echo [2023-04-25T15:09:29.000Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 522741b [Pipeline] echo [2023-04-25T15:09:29.012Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-04-25T15:09:29.057Z] provisioning config files... [2023-04-25T15:09:29.100Z] copy managed file [device-rest-go-settings] to file:/w/workspace/gexfoundry_device-rest-go_PR-297@tmp/config10659646666358919393tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-04-25T15:09:29.423Z] ---> docker-login.sh [2023-04-25T15:09:29.423Z] nexus3.edgexfoundry.org:10001 [2023-04-25T15:09:29.423Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-04-25T15:09:29.683Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-04-25T15:09:29.683Z] Configure a credential helper to remove this warning. See [2023-04-25T15:09:29.683Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-04-25T15:09:29.683Z] [2023-04-25T15:09:29.683Z] Login Succeeded [2023-04-25T15:09:29.683Z] nexus3.edgexfoundry.org:10002 [2023-04-25T15:09:29.683Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-04-25T15:09:29.944Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-04-25T15:09:29.944Z] Configure a credential helper to remove this warning. See [2023-04-25T15:09:29.944Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-04-25T15:09:29.944Z] [2023-04-25T15:09:29.944Z] Login Succeeded [2023-04-25T15:09:29.944Z] nexus3.edgexfoundry.org:10003 [2023-04-25T15:09:29.944Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-04-25T15:09:29.944Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-04-25T15:09:29.944Z] Configure a credential helper to remove this warning. See [2023-04-25T15:09:29.944Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-04-25T15:09:29.944Z] [2023-04-25T15:09:29.944Z] Login Succeeded [2023-04-25T15:09:29.944Z] nexus3.edgexfoundry.org:10004 [2023-04-25T15:09:29.944Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-04-25T15:09:29.944Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-04-25T15:09:29.944Z] Configure a credential helper to remove this warning. See [2023-04-25T15:09:29.944Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-04-25T15:09:29.944Z] [2023-04-25T15:09:30.207Z] Login Succeeded [2023-04-25T15:09:30.207Z] docker.io [2023-04-25T15:09:30.207Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-04-25T15:09:30.468Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-04-25T15:09:30.468Z] Configure a credential helper to remove this warning. See [2023-04-25T15:09:30.468Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-04-25T15:09:30.468Z] [2023-04-25T15:09:30.468Z] Login Succeeded [2023-04-25T15:09:30.468Z] ---> docker-login.sh ends [Pipeline] } [2023-04-25T15:09:30.476Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2023-04-25T15:09:30.826Z] + git rev-list -1 --merges 522741b4d7c581134c1b14f65ebc95c0caa49787~1..522741b4d7c581134c1b14f65ebc95c0caa49787 [Pipeline] echo [2023-04-25T15:09:30.870Z] -----------> git rev-list -1 --merges 522741b4d7c581134c1b14f65ebc95c0caa49787~1..522741b4d7c581134c1b14f65ebc95c0caa49787 522741b4d7c581134c1b14f65ebc95c0caa49787 [2023-04-25T15:09:30.870Z] 522741b4d7c581134c1b14f65ebc95c0caa49787 [false] [Pipeline] sh [2023-04-25T15:09:31.157Z] + git log --format=format:%s -1 522741b4d7c581134c1b14f65ebc95c0caa49787 [Pipeline] echo [2023-04-25T15:09:31.172Z] ========================================================= [2023-04-25T15:09:31.172Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2023-04-25T15:09:31.172Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-04-25T15:09:31.490Z] + git log --format=format:%s -1 522741b4d7c581134c1b14f65ebc95c0caa49787 [Pipeline] echo [2023-04-25T15:09:31.502Z] [semverPrep] GIT_COMMIT: 522741b4d7c581134c1b14f65ebc95c0caa49787, Commit Message: Merge commit 'd6c3e216c08ed71da48c9c499bb0b6c9a0701dd9' into HEAD [Pipeline] echo [2023-04-25T15:09:31.511Z] [semverPrep] This is not a build commit. [Pipeline] sh [2023-04-25T15:09:31.856Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-04-25T15:09:31.856Z] + grep -v github /etc/ssh/ssh_known_hosts [2023-04-25T15:09:31.856Z] + [ -e /tmp/ssh_known_hosts ] [2023-04-25T15:09:31.856Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2023-04-25T15:09:31.856Z] + + echosudo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= tee [2023-04-25T15:09:31.856Z] -a /etc/ssh/ssh_known_hosts [2023-04-25T15:09:31.856Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-04-25T15:09:32.207Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-04-25T15:09:32.207Z] [2023-04-25T15:09:32.207Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-04-25T15:09:32.514Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-04-25T15:09:32.515Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2023-04-25T15:09:32.515Z] b85a868b505f: Pulling fs layer [2023-04-25T15:09:32.515Z] e2be974225ed: Pulling fs layer [2023-04-25T15:09:32.515Z] 339a4e72a1f5: Pulling fs layer [2023-04-25T15:09:32.515Z] 988bab9f4d93: Pulling fs layer [2023-04-25T15:09:32.515Z] 1469e6f7b9e6: Pulling fs layer [2023-04-25T15:09:32.515Z] eaf3925da568: Pulling fs layer [2023-04-25T15:09:32.515Z] bab4dde63d76: Pulling fs layer [2023-04-25T15:09:32.515Z] bde34c3a00c8: Pulling fs layer [2023-04-25T15:09:32.515Z] b352a97aabf1: Pulling fs layer [2023-04-25T15:09:32.515Z] 4872d77fe225: Pulling fs layer [2023-04-25T15:09:32.515Z] 5851b861e8e6: Pulling fs layer [2023-04-25T15:09:32.515Z] b352a97aabf1: Waiting [2023-04-25T15:09:32.515Z] 5851b861e8e6: Waiting [2023-04-25T15:09:32.515Z] 988bab9f4d93: Waiting [2023-04-25T15:09:32.515Z] 1469e6f7b9e6: Waiting [2023-04-25T15:09:32.515Z] eaf3925da568: Waiting [2023-04-25T15:09:32.515Z] bab4dde63d76: Waiting [2023-04-25T15:09:32.515Z] bde34c3a00c8: Waiting [2023-04-25T15:09:32.515Z] 4872d77fe225: Waiting [2023-04-25T15:09:32.515Z] e2be974225ed: Download complete [2023-04-25T15:09:32.515Z] 988bab9f4d93: Verifying Checksum [2023-04-25T15:09:32.515Z] 988bab9f4d93: Download complete [2023-04-25T15:09:32.515Z] 1469e6f7b9e6: Verifying Checksum [2023-04-25T15:09:32.515Z] 1469e6f7b9e6: Download complete [2023-04-25T15:09:32.773Z] eaf3925da568: Download complete [2023-04-25T15:09:32.773Z] 339a4e72a1f5: Verifying Checksum [2023-04-25T15:09:32.773Z] 339a4e72a1f5: Download complete [2023-04-25T15:09:32.773Z] bde34c3a00c8: Download complete [2023-04-25T15:09:32.773Z] b352a97aabf1: Download complete [2023-04-25T15:09:32.773Z] 4872d77fe225: Verifying Checksum [2023-04-25T15:09:32.773Z] 4872d77fe225: Download complete [2023-04-25T15:09:32.773Z] 5851b861e8e6: Download complete [2023-04-25T15:09:32.773Z] b85a868b505f: Download complete [2023-04-25T15:09:33.032Z] bab4dde63d76: Verifying Checksum [2023-04-25T15:09:33.032Z] bab4dde63d76: Download complete [2023-04-25T15:09:33.967Z] b85a868b505f: Pull complete [2023-04-25T15:09:34.227Z] e2be974225ed: Pull complete [2023-04-25T15:09:34.796Z] 339a4e72a1f5: Pull complete [2023-04-25T15:09:34.796Z] 988bab9f4d93: Pull complete [2023-04-25T15:09:35.060Z] 1469e6f7b9e6: Pull complete [2023-04-25T15:09:35.060Z] eaf3925da568: Pull complete [2023-04-25T15:09:36.975Z] bab4dde63d76: Pull complete [2023-04-25T15:09:36.975Z] bde34c3a00c8: Pull complete [2023-04-25T15:09:37.236Z] b352a97aabf1: Pull complete [2023-04-25T15:09:37.236Z] 4872d77fe225: Pull complete [2023-04-25T15:09:37.236Z] 5851b861e8e6: Pull complete [2023-04-25T15:09:37.495Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2023-04-25T15:09:37.495Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-04-25T15:09:37.495Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-04-25T15:09:37.596Z] prd-ubuntu20.04-docker-8c-8g-10840 does not seem to be running inside a container [2023-04-25T15:09:37.635Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-rest-go_PR-297 -v /w/workspace/gexfoundry_device-rest-go_PR-297:/w/workspace/gexfoundry_device-rest-go_PR-297:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-297@tmp:/w/workspace/gexfoundry_device-rest-go_PR-297@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2023-04-25T15:09:40.081Z] $ docker top c737d42204e57df8266c2cb59bd47913fe361e1fe8f505db6819319072c05624 -eo pid,comm [2023-04-25T15:09:40.144Z] 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-04-25T15:09:40.144Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-04-25T15:09:40.180Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-04-25T15:09:40.180Z] [ssh-agent] Looking for ssh-agent implementation... [2023-04-25T15:09:40.301Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-04-25T15:09:40.308Z] $ docker exec c737d42204e57df8266c2cb59bd47913fe361e1fe8f505db6819319072c05624 ssh-agent [2023-04-25T15:09:40.423Z] SSH_AUTH_SOCK=/tmp/ssh-qQt715wqCZNT/agent.33 [2023-04-25T15:09:40.423Z] SSH_AGENT_PID=39 [2023-04-25T15:09:40.430Z] Running ssh-add (command line suppressed) [2023-04-25T15:09:40.545Z] Identity added: /w/workspace/gexfoundry_device-rest-go_PR-297@tmp/private_key_9403374630153015293.key (/w/workspace/gexfoundry_device-rest-go_PR-297@tmp/private_key_9403374630153015293.key) [2023-04-25T15:09:40.562Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-04-25T15:09:40.852Z] + git tag --points-at HEAD [Pipeline] } [2023-04-25T15:09:40.873Z] $ docker exec --env ******** --env ******** c737d42204e57df8266c2cb59bd47913fe361e1fe8f505db6819319072c05624 ssh-agent -k [2023-04-25T15:09:40.993Z] unset SSH_AUTH_SOCK; [2023-04-25T15:09:40.993Z] unset SSH_AGENT_PID; [2023-04-25T15:09:40.993Z] echo Agent pid 39 killed; [2023-04-25T15:09:41.000Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2023-04-25T15:09:41.024Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-04-25T15:09:41.024Z] [ssh-agent] Looking for ssh-agent implementation... [2023-04-25T15:09:41.152Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-04-25T15:09:41.158Z] $ docker exec c737d42204e57df8266c2cb59bd47913fe361e1fe8f505db6819319072c05624 ssh-agent [2023-04-25T15:09:41.278Z] SSH_AUTH_SOCK=/tmp/ssh-iYGKG3ugqRGj/agent.71 [2023-04-25T15:09:41.278Z] SSH_AGENT_PID=77 [2023-04-25T15:09:41.283Z] Running ssh-add (command line suppressed) [2023-04-25T15:09:41.390Z] Identity added: /w/workspace/gexfoundry_device-rest-go_PR-297@tmp/private_key_2508606498031205040.key (/w/workspace/gexfoundry_device-rest-go_PR-297@tmp/private_key_2508606498031205040.key) [2023-04-25T15:09:41.401Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-04-25T15:09:41.688Z] + git semver init [2023-04-25T15:09:41.948Z] 2023-04-25 15:09:41,890 [run_init] DEBUG init version:0.0.0 force:False [2023-04-25T15:09:41.948Z] 2023-04-25 15:09:41,891 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/gexfoundry_device-rest-go_PR-297/.semver [2023-04-25T15:09:41.948Z] 2023-04-25 15:09:41,892 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-rest-go.git /w/workspace/gexfoundry_device-rest-go_PR-297/.semver [2023-04-25T15:09:41.948Z] 2023-04-25 15:09:41,892 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-rest-go.git', '/w/workspace/gexfoundry_device-rest-go_PR-297/.semver'], cwd=/w/workspace/gexfoundry_device-rest-go_PR-297, universal_newlines=False, shell=None, istream=None) [2023-04-25T15:09:43.328Z] 2023-04-25 15:09:42,903 [append_file] DEBUG append to file:/w/workspace/gexfoundry_device-rest-go_PR-297/.git/info/exclude [2023-04-25T15:09:43.328Z] 2023-04-25 15:09:42,903 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/gexfoundry_device-rest-go_PR-297/.semver/PR-297 with force:False [2023-04-25T15:09:43.328Z] 2023-04-25 15:09:42,903 [write_file] DEBUG write to file:/w/workspace/gexfoundry_device-rest-go_PR-297/.semver/PR-297 [2023-04-25T15:09:43.328Z] 2023-04-25 15:09:42,906 [execute] INFO git cat-file --batch-check [2023-04-25T15:09:43.328Z] 2023-04-25 15:09:42,907 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/gexfoundry_device-rest-go_PR-297/.semver, universal_newlines=False, shell=None, istream=) [2023-04-25T15:09:43.328Z] 2023-04-25 15:09:42,913 [execute] INFO git cat-file --batch [2023-04-25T15:09:43.328Z] 2023-04-25 15:09:42,914 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/gexfoundry_device-rest-go_PR-297/.semver, universal_newlines=False, shell=None, istream=) [2023-04-25T15:09:43.328Z] 2023-04-25 15:09:42,919 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-rest-go_PR-297/.semver/PR-297 [2023-04-25T15:09:43.328Z] 0.0.0 [Pipeline] } [2023-04-25T15:09:43.341Z] $ docker exec --env ******** --env ******** c737d42204e57df8266c2cb59bd47913fe361e1fe8f505db6819319072c05624 ssh-agent -k [2023-04-25T15:09:43.438Z] unset SSH_AUTH_SOCK; [2023-04-25T15:09:43.438Z] unset SSH_AGENT_PID; [2023-04-25T15:09:43.438Z] echo Agent pid 77 killed; [2023-04-25T15:09:43.444Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-04-25T15:09:43.756Z] + git semver [Pipeline] } [2023-04-25T15:09:44.033Z] $ docker stop --time=1 c737d42204e57df8266c2cb59bd47913fe361e1fe8f505db6819319072c05624 [2023-04-25T15:09:45.321Z] $ docker rm -f --volumes c737d42204e57df8266c2cb59bd47913fe361e1fe8f505db6819319072c05624 [Pipeline] // withDockerContainer [Pipeline] sh [2023-04-25T15:09:45.665Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2023-04-25T15:09:45.905Z] Stashed 1 file(s) [Pipeline] echo [2023-04-25T15:09:45.908Z] [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-04-25T15:09:46.070Z] provisioning config files... [2023-04-25T15:09:46.079Z] copy managed file [device-rest-go-settings] to file:/w/workspace/gexfoundry_device-rest-go_PR-297@tmp/config12899690981971396860tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-04-25T15:09:46.378Z] ---> docker-login.sh [2023-04-25T15:09:46.378Z] nexus3.edgexfoundry.org:10001 [2023-04-25T15:09:46.378Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-04-25T15:09:46.378Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-04-25T15:09:46.378Z] Configure a credential helper to remove this warning. See [2023-04-25T15:09:46.378Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-04-25T15:09:46.378Z] [2023-04-25T15:09:46.378Z] Login Succeeded [2023-04-25T15:09:46.378Z] nexus3.edgexfoundry.org:10002 [2023-04-25T15:09:46.378Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-04-25T15:09:46.378Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-04-25T15:09:46.378Z] Configure a credential helper to remove this warning. See [2023-04-25T15:09:46.378Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-04-25T15:09:46.378Z] [2023-04-25T15:09:46.378Z] Login Succeeded [2023-04-25T15:09:46.378Z] nexus3.edgexfoundry.org:10003 [2023-04-25T15:09:46.639Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-04-25T15:09:46.639Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-04-25T15:09:46.639Z] Configure a credential helper to remove this warning. See [2023-04-25T15:09:46.639Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-04-25T15:09:46.639Z] [2023-04-25T15:09:46.639Z] Login Succeeded [2023-04-25T15:09:46.639Z] nexus3.edgexfoundry.org:10004 [2023-04-25T15:09:46.639Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-04-25T15:09:46.639Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-04-25T15:09:46.639Z] Configure a credential helper to remove this warning. See [2023-04-25T15:09:46.639Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-04-25T15:09:46.639Z] [2023-04-25T15:09:46.639Z] Login Succeeded [2023-04-25T15:09:46.639Z] docker.io [2023-04-25T15:09:46.899Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-04-25T15:09:46.900Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-04-25T15:09:46.900Z] Configure a credential helper to remove this warning. See [2023-04-25T15:09:46.900Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-04-25T15:09:46.900Z] [2023-04-25T15:09:46.900Z] Login Succeeded [2023-04-25T15:09:46.900Z] ---> docker-login.sh ends [Pipeline] } [2023-04-25T15:09:46.909Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-04-25T15:09:46.977Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-04-25T15:09:46.994Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-04-25T15:09:47.007Z] ========================================================= [2023-04-25T15:09:47.007Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine] [2023-04-25T15:09:47.007Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-04-25T15:09:47.323Z] + 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-04-25T15:09:47.323Z] Sending build context to Docker daemon 10.91MB [2023-04-25T15:09:47.323Z] Step 1/12 : ARG BASE=golang:1.20-alpine3.17 [2023-04-25T15:09:47.323Z] Step 2/12 : FROM ${BASE} AS builder [2023-04-25T15:09:47.323Z] 1.20-alpine: Pulling from edgex-devops/edgex-golang-base [2023-04-25T15:09:47.323Z] f56be85fc22e: Pulling fs layer [2023-04-25T15:09:47.323Z] 85791d961cd3: Pulling fs layer [2023-04-25T15:09:47.323Z] d694b5ae8c79: Pulling fs layer [2023-04-25T15:09:47.323Z] 9f32a84ed3da: Pulling fs layer [2023-04-25T15:09:47.323Z] 4d19c01a9841: Pulling fs layer [2023-04-25T15:09:47.323Z] 9325e15d5711: Pulling fs layer [2023-04-25T15:09:47.323Z] 556b6ee489ea: Pulling fs layer [2023-04-25T15:09:47.323Z] c5a4b2cf53e6: Pulling fs layer [2023-04-25T15:09:47.323Z] 9f32a84ed3da: Waiting [2023-04-25T15:09:47.323Z] 4d19c01a9841: Waiting [2023-04-25T15:09:47.323Z] 9325e15d5711: Waiting [2023-04-25T15:09:47.323Z] 556b6ee489ea: Waiting [2023-04-25T15:09:47.323Z] c5a4b2cf53e6: Waiting [2023-04-25T15:09:47.323Z] 85791d961cd3: Download complete [2023-04-25T15:09:47.323Z] 9f32a84ed3da: Verifying Checksum [2023-04-25T15:09:47.323Z] 9f32a84ed3da: Download complete [2023-04-25T15:09:47.585Z] 4d19c01a9841: Download complete [2023-04-25T15:09:47.585Z] f56be85fc22e: Verifying Checksum [2023-04-25T15:09:47.585Z] f56be85fc22e: Download complete [2023-04-25T15:09:47.585Z] 9325e15d5711: Verifying Checksum [2023-04-25T15:09:47.585Z] 9325e15d5711: Download complete [2023-04-25T15:09:47.585Z] f56be85fc22e: Pull complete [2023-04-25T15:09:47.852Z] 85791d961cd3: Pull complete [2023-04-25T15:09:48.117Z] c5a4b2cf53e6: Verifying Checksum [2023-04-25T15:09:48.117Z] c5a4b2cf53e6: Download complete [2023-04-25T15:09:48.117Z] d694b5ae8c79: Verifying Checksum [2023-04-25T15:09:48.117Z] d694b5ae8c79: Download complete [2023-04-25T15:09:48.376Z] 556b6ee489ea: Verifying Checksum [2023-04-25T15:09:48.376Z] 556b6ee489ea: Download complete [2023-04-25T15:09:51.660Z] d694b5ae8c79: Pull complete [2023-04-25T15:09:51.660Z] 9f32a84ed3da: Pull complete [2023-04-25T15:09:51.917Z] 4d19c01a9841: Pull complete [2023-04-25T15:09:51.917Z] 9325e15d5711: Pull complete [2023-04-25T15:09:55.211Z] 556b6ee489ea: Pull complete [2023-04-25T15:09:55.781Z] c5a4b2cf53e6: Pull complete [2023-04-25T15:09:55.781Z] Digest: sha256:cdb650785bd12602035d3ff87499385c169773a4d12d6eaf394b34464d3a0f2b [2023-04-25T15:09:55.781Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine [2023-04-25T15:09:55.781Z] ---> c4be618373d6 [2023-04-25T15:09:55.781Z] Step 3/12 : ARG ADD_BUILD_TAGS="" [2023-04-25T15:10:00.118Z] ---> Running in 0bc2685c682d [2023-04-25T15:10:00.118Z] Removing intermediate container 0bc2685c682d [2023-04-25T15:10:00.118Z] ---> 96e74555a7e0 [2023-04-25T15:10:00.118Z] Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-04-25T15:10:00.118Z] ---> Running in 44095452d26d [2023-04-25T15:10:00.118Z] Removing intermediate container 44095452d26d [2023-04-25T15:10:00.118Z] ---> 342753a02516 [2023-04-25T15:10:00.118Z] Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client" [2023-04-25T15:10:00.118Z] ---> Running in 29ed8dc8fe05 [2023-04-25T15:10:00.118Z] Removing intermediate container 29ed8dc8fe05 [2023-04-25T15:10:00.118Z] ---> ac44bea28691 [2023-04-25T15:10:00.118Z] Step 6/12 : ARG ALPINE_PKG_EXTRA="" [2023-04-25T15:10:00.118Z] ---> Running in cbac9f9e3afa [2023-04-25T15:10:00.118Z] Removing intermediate container cbac9f9e3afa [2023-04-25T15:10:00.118Z] ---> ab4054b57da3 [2023-04-25T15:10:00.118Z] Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-04-25T15:10:00.118Z] ---> Running in 41b52a66bef2 [2023-04-25T15:10:00.378Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz [2023-04-25T15:10:00.378Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz [2023-04-25T15:10:00.638Z] (1/4) Installing openssh-keygen (9.1_p1-r2) [2023-04-25T15:10:00.638Z] (2/4) Installing libedit (20221030.3.1-r0) [2023-04-25T15:10:00.638Z] (3/4) Installing openssh-client-common (9.1_p1-r2) [2023-04-25T15:10:00.638Z] (4/4) Installing openssh-client-default (9.1_p1-r2) [2023-04-25T15:10:00.638Z] Executing busybox-1.35.0-r29.trigger [2023-04-25T15:10:00.897Z] OK: 269 MiB in 57 packages [2023-04-25T15:10:01.020Z] Still waiting to schedule task [2023-04-25T15:10:01.021Z] Waiting for next available executor on ‘prd-ubuntu20.04-docker-arm64-4c-16g-10838’ [2023-04-25T15:10:01.157Z] Removing intermediate container 41b52a66bef2 [2023-04-25T15:10:01.157Z] ---> 8335eb5f5d9e [2023-04-25T15:10:01.157Z] Step 8/12 : WORKDIR /device-rest-go [2023-04-25T15:10:01.415Z] ---> Running in a62bdc3babcd [2023-04-25T15:10:01.415Z] Removing intermediate container a62bdc3babcd [2023-04-25T15:10:01.415Z] ---> 9982a8240b06 [2023-04-25T15:10:01.415Z] Step 9/12 : COPY go.mod vendor* ./ [2023-04-25T15:10:01.415Z] ---> 5c5402cd3501 [2023-04-25T15:10:01.415Z] Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-04-25T15:10:01.415Z] ---> Running in 1899c12a51b8 [2023-04-25T15:10:33.553Z] Removing intermediate container 1899c12a51b8 [2023-04-25T15:10:33.553Z] ---> 5ed348c45a67 [2023-04-25T15:10:33.553Z] Step 11/12 : COPY . . [2023-04-25T15:10:33.553Z] ---> c9d0b764c2f6 [2023-04-25T15:10:33.553Z] Step 12/12 : RUN $MAKE [2023-04-25T15:10:33.553Z] ---> Running in 9f61601e7233 [2023-04-25T15:10:33.553Z] noop [2023-04-25T15:10:33.553Z] Removing intermediate container 9f61601e7233 [2023-04-25T15:10:33.553Z] ---> b4491c99fa60 [2023-04-25T15:10:33.553Z] Successfully built b4491c99fa60 [2023-04-25T15:10:33.553Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-04-25T15:10:33.858Z] + docker inspect -f . ci-base-image-x86_64 [2023-04-25T15:10:33.858Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-04-25T15:10:33.932Z] prd-ubuntu20.04-docker-8c-8g-10840 does not seem to be running inside a container [2023-04-25T15:10:33.966Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-rest-go_PR-297 -v /w/workspace/gexfoundry_device-rest-go_PR-297:/w/workspace/gexfoundry_device-rest-go_PR-297:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-297@tmp:/w/workspace/gexfoundry_device-rest-go_PR-297@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-x86_64 cat [2023-04-25T15:10:34.319Z] $ docker top 8176add937b52283d929bf61341f17a84176157221e6af97281868d6edb0d21d -eo pid,comm [Pipeline] { [Pipeline] sh [2023-04-25T15:10:34.661Z] + go version [2023-04-25T15:10:34.661Z] go version go1.20.2 linux/amd64 [Pipeline] } [2023-04-25T15:10:34.676Z] $ docker stop --time=1 8176add937b52283d929bf61341f17a84176157221e6af97281868d6edb0d21d [2023-04-25T15:10:35.949Z] $ docker rm -f --volumes 8176add937b52283d929bf61341f17a84176157221e6af97281868d6edb0d21d [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-04-25T15:10:36.388Z] + docker inspect -f . ci-base-image-x86_64 [2023-04-25T15:10:36.388Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-04-25T15:10:36.452Z] prd-ubuntu20.04-docker-8c-8g-10840 does not seem to be running inside a container [2023-04-25T15:10:36.481Z] $ 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-297 -v /w/workspace/gexfoundry_device-rest-go_PR-297:/w/workspace/gexfoundry_device-rest-go_PR-297:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-297@tmp:/w/workspace/gexfoundry_device-rest-go_PR-297@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-x86_64 cat [2023-04-25T15:10:36.827Z] $ docker top 20a90924c499a7f65b3c577629807b772a43baca2a9a8adbba507ade43bfae12 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-04-25T15:10:37.171Z] + git config --global --add safe.directory /w/workspace/gexfoundry_device-rest-go_PR-297 [Pipeline] fileExists [Pipeline] sh [2023-04-25T15:10:37.464Z] + make test [2023-04-25T15:10:37.464Z] go test ./... -coverprofile=coverage.out ./... [2023-04-25T15:10:42.727Z] ? github.com/edgexfoundry/device-rest-go [no test files] [2023-04-25T15:10:54.945Z] ? github.com/edgexfoundry/device-rest-go/cmd [no test files] [2023-04-25T15:10:54.945Z] ok github.com/edgexfoundry/device-rest-go/driver 0.011s coverage: 32.2% of statements [2023-04-25T15:11:00.206Z] go vet ./... [2023-04-25T15:11:04.394Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-04-25T15:11:04.394Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2023-04-25T15:11:04.394Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2023-04-25T15:11:04.406Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2023-04-25T15:11:04.421Z] $ docker stop --time=1 20a90924c499a7f65b3c577629807b772a43baca2a9a8adbba507ade43bfae12 [2023-04-25T15:11:07.377Z] $ docker rm -f --volumes 20a90924c499a7f65b3c577629807b772a43baca2a9a8adbba507ade43bfae12 [Pipeline] // withDockerContainer [Pipeline] sh [2023-04-25T15:11:07.863Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2023-04-25T15:11:07.925Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2023-04-25T15:11:08.523Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-04-25T15:11:08.811Z] + ls -al . [2023-04-25T15:11:08.811Z] total 184 [2023-04-25T15:11:08.811Z] drwxrwxr-x 9 jenkins jenkins 4096 Apr 25 15:10 . [2023-04-25T15:11:08.811Z] drwxrwxr-x 4 jenkins jenkins 4096 Apr 25 15:09 .. [2023-04-25T15:11:08.811Z] -rw-rw-r-- 1 jenkins jenkins 151 Apr 25 15:09 .dockerignore [2023-04-25T15:11:08.812Z] drwxrwxr-x 8 jenkins jenkins 4096 Apr 25 15:09 .git [2023-04-25T15:11:08.812Z] drwxrwxr-x 3 jenkins jenkins 4096 Apr 25 15:09 .github [2023-04-25T15:11:08.812Z] -rw-rw-r-- 1 jenkins jenkins 329 Apr 25 15:09 .gitignore [2023-04-25T15:11:08.812Z] -rw-rw-r-- 1 jenkins jenkins 41 Apr 25 15:09 .golangci.yml [2023-04-25T15:11:08.812Z] drwxr-xr-x 3 jenkins jenkins 4096 Apr 25 15:09 .semver [2023-04-25T15:11:08.812Z] -rw-rw-r-- 1 jenkins jenkins 9331 Apr 25 15:09 Attribution.txt [2023-04-25T15:11:08.812Z] -rw-rw-r-- 1 jenkins jenkins 13085 Apr 25 15:09 CHANGELOG.md [2023-04-25T15:11:08.812Z] -rw-rw-r-- 1 jenkins jenkins 1578 Apr 25 15:09 Dockerfile [2023-04-25T15:11:08.812Z] -rw-rw-r-- 1 jenkins jenkins 677 Apr 25 15:09 GOVERNANCE.md [2023-04-25T15:11:08.812Z] -rw-rw-r-- 1 jenkins jenkins 680 Apr 25 15:09 Jenkinsfile [2023-04-25T15:11:08.812Z] -rw-rw-r-- 1 jenkins jenkins 11340 Apr 25 15:09 LICENSE [2023-04-25T15:11:08.812Z] -rw-rw-r-- 1 jenkins jenkins 1779 Apr 25 15:09 Makefile [2023-04-25T15:11:08.812Z] -rw-rw-r-- 1 jenkins jenkins 620 Apr 25 15:09 OWNERS.md [2023-04-25T15:11:08.812Z] -rw-rw-r-- 1 jenkins jenkins 15321 Apr 25 15:09 README.md [2023-04-25T15:11:08.812Z] -rw-rw-r-- 1 jenkins jenkins 5 Apr 25 15:09 VERSION [2023-04-25T15:11:08.812Z] drwxrwxr-x 2 jenkins jenkins 4096 Apr 25 15:09 bin [2023-04-25T15:11:08.812Z] drwxrwxr-x 3 jenkins jenkins 4096 Apr 25 15:09 cmd [2023-04-25T15:11:08.812Z] -rw-r--r-- 1 jenkins jenkins 14663 Apr 25 15:10 coverage.out [2023-04-25T15:11:08.812Z] drwxrwxr-x 2 jenkins jenkins 4096 Apr 25 15:09 driver [2023-04-25T15:11:08.812Z] -rw-rw-r-- 1 jenkins jenkins 3402 Apr 25 15:09 go.mod [2023-04-25T15:11:08.812Z] -rw-rw-r-- 1 jenkins jenkins 31443 Apr 25 15:09 go.sum [2023-04-25T15:11:08.812Z] drwxrwxr-x 4 jenkins jenkins 4096 Apr 25 15:09 snap [2023-04-25T15:11:08.812Z] -rw-rw-r-- 1 jenkins jenkins 713 Apr 25 15:09 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-04-25T15:11:09.115Z] + 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=522741b4d7c581134c1b14f65ebc95c0caa49787 --label arch=amd64 --label version=0.0.0 . [2023-04-25T15:11:09.115Z] Sending build context to Docker daemon 10.92MB [2023-04-25T15:11:09.115Z] Step 1/25 : ARG BASE=golang:1.20-alpine3.17 [2023-04-25T15:11:09.115Z] Step 2/25 : FROM ${BASE} AS builder [2023-04-25T15:11:09.115Z] ---> b4491c99fa60 [2023-04-25T15:11:09.115Z] Step 3/25 : ARG ADD_BUILD_TAGS="" [2023-04-25T15:11:09.374Z] ---> Running in 519507eb9aa5 [2023-04-25T15:11:09.374Z] Removing intermediate container 519507eb9aa5 [2023-04-25T15:11:09.374Z] ---> b09c18397f44 [2023-04-25T15:11:09.374Z] Step 4/25 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-04-25T15:11:09.374Z] ---> Running in 1729abd3d27a [2023-04-25T15:11:09.374Z] Removing intermediate container 1729abd3d27a [2023-04-25T15:11:09.374Z] ---> 5313e78f6561 [2023-04-25T15:11:09.374Z] Step 5/25 : ARG ALPINE_PKG_BASE="make git openssh-client" [2023-04-25T15:11:09.374Z] ---> Running in 2bf45bc0ceb6 [2023-04-25T15:11:09.635Z] Removing intermediate container 2bf45bc0ceb6 [2023-04-25T15:11:09.635Z] ---> ce7b4d4a25fb [2023-04-25T15:11:09.635Z] Step 6/25 : ARG ALPINE_PKG_EXTRA="" [2023-04-25T15:11:09.635Z] ---> Running in def10f150fc6 [2023-04-25T15:11:09.635Z] Removing intermediate container def10f150fc6 [2023-04-25T15:11:09.635Z] ---> be5ec7f0c22f [2023-04-25T15:11:09.635Z] Step 7/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-04-25T15:11:09.635Z] ---> Running in 1368fd3662d9 [2023-04-25T15:11:09.894Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz [2023-04-25T15:11:10.157Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz [2023-04-25T15:11:10.416Z] OK: 269 MiB in 57 packages [2023-04-25T15:11:10.675Z] Removing intermediate container 1368fd3662d9 [2023-04-25T15:11:10.675Z] ---> f534dda96a18 [2023-04-25T15:11:10.675Z] Step 8/25 : WORKDIR /device-rest-go [2023-04-25T15:11:10.675Z] ---> Running in f48ad39b4f0a [2023-04-25T15:11:10.675Z] Removing intermediate container f48ad39b4f0a [2023-04-25T15:11:10.675Z] ---> 8111bb23c4f4 [2023-04-25T15:11:10.675Z] Step 9/25 : COPY go.mod vendor* ./ [2023-04-25T15:11:10.934Z] ---> cb4d6b8fb547 [2023-04-25T15:11:10.934Z] Step 10/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-04-25T15:11:10.934Z] ---> Running in b33c3c910dae [2023-04-25T15:11:11.907Z] Removing intermediate container b33c3c910dae [2023-04-25T15:11:11.907Z] ---> c70e9b0eddc7 [2023-04-25T15:11:11.907Z] Step 11/25 : COPY . . [2023-04-25T15:11:12.167Z] ---> 3101588d197f [2023-04-25T15:11:12.167Z] Step 12/25 : RUN $MAKE [2023-04-25T15:11:12.167Z] ---> Running in e9ed3bfba9c4 [2023-04-25T15:11:12.425Z] 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-04-25T15:11:34.411Z] Removing intermediate container e9ed3bfba9c4 [2023-04-25T15:11:34.411Z] ---> b1e2f7126ca2 [2023-04-25T15:11:34.411Z] Step 13/25 : FROM alpine:3.17 [2023-04-25T15:11:34.411Z] 3.17: Pulling from library/alpine [2023-04-25T15:11:34.411Z] f56be85fc22e: Already exists [2023-04-25T15:11:34.411Z] Digest: sha256:124c7d2707904eea7431fffe91522a01e5a861a624ee31d03372cc1d138a3126 [2023-04-25T15:11:34.411Z] Status: Downloaded newer image for alpine:3.17 [2023-04-25T15:11:34.411Z] ---> 9ed4aefc74f6 [2023-04-25T15:11:34.411Z] Step 14/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' [2023-04-25T15:11:34.411Z] ---> Running in 74b6ac35580a [2023-04-25T15:11:34.411Z] Removing intermediate container 74b6ac35580a [2023-04-25T15:11:34.411Z] ---> de0c46caf45c [2023-04-25T15:11:34.411Z] Step 15/25 : LABEL Name=device-rest-go Version=${VERSION} [2023-04-25T15:11:34.411Z] ---> Running in a1eb73266a54 [2023-04-25T15:11:34.411Z] Removing intermediate container a1eb73266a54 [2023-04-25T15:11:34.411Z] ---> c1d5388e490a [2023-04-25T15:11:34.411Z] Step 16/25 : RUN apk add --update --no-cache dumb-init [2023-04-25T15:11:34.411Z] ---> Running in 1d8eef837adc [2023-04-25T15:11:34.411Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz [2023-04-25T15:11:34.411Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz [2023-04-25T15:11:34.411Z] (1/1) Installing dumb-init (1.2.5-r2) [2023-04-25T15:11:34.411Z] Executing busybox-1.35.0-r29.trigger [2023-04-25T15:11:34.411Z] OK: 7 MiB in 16 packages [2023-04-25T15:11:34.669Z] Removing intermediate container 1d8eef837adc [2023-04-25T15:11:34.669Z] ---> f89c2884166f [2023-04-25T15:11:34.669Z] Step 17/25 : COPY --from=builder /device-rest-go/cmd / [2023-04-25T15:11:35.608Z] ---> 8845f1a1292c [2023-04-25T15:11:35.608Z] Step 18/25 : COPY --from=builder /device-rest-go/LICENSE / [2023-04-25T15:11:35.866Z] ---> aa8322521457 [2023-04-25T15:11:35.866Z] Step 19/25 : COPY --from=builder /device-rest-go/Attribution.txt / [2023-04-25T15:11:35.866Z] ---> 275a1d5c8c16 [2023-04-25T15:11:35.866Z] Step 20/25 : EXPOSE 59986 [2023-04-25T15:11:35.866Z] ---> Running in e99a03fd5435 [2023-04-25T15:11:36.126Z] Removing intermediate container e99a03fd5435 [2023-04-25T15:11:36.126Z] ---> 51c154578074 [2023-04-25T15:11:36.126Z] Step 21/25 : ENTRYPOINT ["/device-rest"] [2023-04-25T15:11:36.126Z] ---> Running in 7c849831264f [2023-04-25T15:11:36.126Z] Removing intermediate container 7c849831264f [2023-04-25T15:11:36.126Z] ---> c4e0f7212856 [2023-04-25T15:11:36.126Z] Step 22/25 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry"] [2023-04-25T15:11:36.126Z] ---> Running in 5f7db2905783 [2023-04-25T15:11:36.126Z] Removing intermediate container 5f7db2905783 [2023-04-25T15:11:36.126Z] ---> a4eba237a074 [2023-04-25T15:11:36.126Z] Step 23/25 : LABEL arch=amd64 [2023-04-25T15:11:36.126Z] ---> Running in 64f5ed05f570 [2023-04-25T15:11:36.385Z] Removing intermediate container 64f5ed05f570 [2023-04-25T15:11:36.385Z] ---> 60061a07406e [2023-04-25T15:11:36.385Z] Step 24/25 : LABEL git_sha=522741b4d7c581134c1b14f65ebc95c0caa49787 [2023-04-25T15:11:36.385Z] ---> Running in 3deae6dc5f2e [2023-04-25T15:11:36.385Z] Removing intermediate container 3deae6dc5f2e [2023-04-25T15:11:36.385Z] ---> 3a0d3e227934 [2023-04-25T15:11:36.385Z] Step 25/25 : LABEL version=0.0.0 [2023-04-25T15:11:36.385Z] ---> Running in 93d34a4e5d77 [2023-04-25T15:11:36.385Z] Removing intermediate container 93d34a4e5d77 [2023-04-25T15:11:36.385Z] ---> eb8e9aaa2266 [2023-04-25T15:11:36.385Z] [Warning] One or more build-args [ARCH] were not consumed [2023-04-25T15:11:36.385Z] Successfully built eb8e9aaa2266 [2023-04-25T15:11:36.385Z] 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-04-25T15:11:36.807Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-04-25T15:11:36.807Z] [2023-04-25T15:11:36.807Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-04-25T15:11:37.107Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-04-25T15:11:37.107Z] latest: Pulling from edgex-lftools-log-publisher [2023-04-25T15:11:37.107Z] 5eb5b503b376: Pulling fs layer [2023-04-25T15:11:37.107Z] 5c69ac0246d0: Pulling fs layer [2023-04-25T15:11:37.107Z] ec43610c2a17: Pulling fs layer [2023-04-25T15:11:37.107Z] 3a2ae6a8a46f: Pulling fs layer [2023-04-25T15:11:37.107Z] 33b1e0a273af: Pulling fs layer [2023-04-25T15:11:37.107Z] 5d3b04190fa2: Pulling fs layer [2023-04-25T15:11:37.107Z] 2f39f015ded8: Pulling fs layer [2023-04-25T15:11:37.107Z] 3a2ae6a8a46f: Waiting [2023-04-25T15:11:37.107Z] 33b1e0a273af: Waiting [2023-04-25T15:11:37.107Z] 5d3b04190fa2: Waiting [2023-04-25T15:11:37.107Z] 2f39f015ded8: Waiting [2023-04-25T15:11:37.107Z] 5c69ac0246d0: Verifying Checksum [2023-04-25T15:11:37.107Z] 5c69ac0246d0: Download complete [2023-04-25T15:11:37.107Z] 3a2ae6a8a46f: Verifying Checksum [2023-04-25T15:11:37.107Z] 3a2ae6a8a46f: Download complete [2023-04-25T15:11:37.107Z] 33b1e0a273af: Verifying Checksum [2023-04-25T15:11:37.107Z] 33b1e0a273af: Download complete [2023-04-25T15:11:37.107Z] 5d3b04190fa2: Verifying Checksum [2023-04-25T15:11:37.107Z] 5d3b04190fa2: Download complete [2023-04-25T15:11:37.107Z] ec43610c2a17: Verifying Checksum [2023-04-25T15:11:37.367Z] 5eb5b503b376: Verifying Checksum [2023-04-25T15:11:37.367Z] 5eb5b503b376: Download complete [2023-04-25T15:11:37.934Z] 2f39f015ded8: Download complete [2023-04-25T15:11:38.502Z] 5eb5b503b376: Pull complete [2023-04-25T15:11:38.761Z] 5c69ac0246d0: Pull complete [2023-04-25T15:11:39.328Z] ec43610c2a17: Pull complete [2023-04-25T15:11:39.328Z] 3a2ae6a8a46f: Pull complete [2023-04-25T15:11:39.586Z] 33b1e0a273af: Pull complete [2023-04-25T15:11:39.586Z] 5d3b04190fa2: Pull complete [2023-04-25T15:11:44.855Z] 2f39f015ded8: Pull complete [2023-04-25T15:11:44.855Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2023-04-25T15:11:44.855Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-04-25T15:11:44.855Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-04-25T15:11:44.930Z] prd-ubuntu20.04-docker-8c-8g-10840 does not seem to be running inside a container [2023-04-25T15:11:44.962Z] $ 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-297 -v /w/workspace/gexfoundry_device-rest-go_PR-297:/w/workspace/gexfoundry_device-rest-go_PR-297:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-297@tmp:/w/workspace/gexfoundry_device-rest-go_PR-297@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:latest cat [2023-04-25T15:11:48.765Z] $ docker top 20c5ffc55385d8b97cff508816907970c9808f78d6be52f26a23615da022615b -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-04-25T15:11:49.145Z] ---> job-cost.sh [2023-04-25T15:11:49.145Z] lf-activate-venv: SKIPPING [2023-04-25T15:11:49.145Z] INFO: No Stack... [2023-04-25T15:11:49.404Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-04-25T15:11:49.973Z] INFO: Archiving Costs [Pipeline] sh [2023-04-25T15:11:50.259Z] + cat /w/workspace/gexfoundry_device-rest-go_PR-297/archives/cost.csv [2023-04-25T15:11:50.259Z] + cut -d, -f6 [Pipeline] lock [2023-04-25T15:11:50.271Z] Trying to acquire lock on [jenkins-edgexfoundry-device-rest-go-PR-297-3-stack-cost] [2023-04-25T15:11:50.277Z] Resource [jenkins-edgexfoundry-device-rest-go-PR-297-3-stack-cost] did not exist. Created. [2023-04-25T15:11:50.277Z] Lock acquired on [jenkins-edgexfoundry-device-rest-go-PR-297-3-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-04-25T15:11:50.580Z] + echo total: 0.2199999988079071 [Pipeline] stash [2023-04-25T15:11:50.613Z] Stashed 1 file(s) [Pipeline] } [2023-04-25T15:11:50.619Z] Lock released on resource [jenkins-edgexfoundry-device-rest-go-PR-297-3-stack-cost] [Pipeline] // lock [Pipeline] } [2023-04-25T15:11:50.637Z] $ docker stop --time=1 20c5ffc55385d8b97cff508816907970c9808f78d6be52f26a23615da022615b [2023-04-25T15:11:51.807Z] $ docker rm -f --volumes 20c5ffc55385d8b97cff508816907970c9808f78d6be52f26a23615da022615b [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2023-04-25T15:12:49.670Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-10842 in /w/workspace/gexfoundry_device-rest-go_PR-297 [Pipeline] { [Pipeline] ws [2023-04-25T15:12:49.684Z] Running in /w/workspace/device-rest-go/3 [Pipeline] { [Pipeline] checkout [2023-04-25T15:12:49.747Z] The recommended git tool is: git [2023-04-25T15:12:59.755Z] using credential edgex-jenkins-ssh [2023-04-25T15:12:59.775Z] Cloning the remote Git repository [2023-04-25T15:12:59.834Z] Cloning repository git@github.com:edgexfoundry/device-rest-go.git [2023-04-25T15:12:59.954Z] > git init /w/workspace/device-rest-go/3 # timeout=10 [2023-04-25T15:13:00.205Z] Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git [2023-04-25T15:13:00.206Z] > git --version # timeout=10 [2023-04-25T15:13:00.246Z] > git --version # 'git version 2.25.1' [2023-04-25T15:13:00.249Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-04-25T15:13:00.461Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-04-25T15:13:05.810Z] > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 [2023-04-25T15:13:05.860Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-04-25T15:13:07.680Z] Merging remotes/origin/main commit d6c3e216c08ed71da48c9c499bb0b6c9a0701dd9 into PR head commit db9efb490de7778646f037f9e3397b71150b5e7b [2023-04-25T15:13:08.089Z] Merge succeeded, producing 5511ac92e2fcf5f245a8f21a8886f55307cd9ba8 [2023-04-25T15:13:08.090Z] Checking out Revision 5511ac92e2fcf5f245a8f21a8886f55307cd9ba8 (PR-297) [2023-04-25T15:13:07.011Z] > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 [2023-04-25T15:13:07.071Z] Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git [2023-04-25T15:13:07.072Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-04-25T15:13:07.096Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/pull/297/head:refs/remotes/origin/PR-297 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2023-04-25T15:13:07.703Z] > git config core.sparsecheckout # timeout=10 [2023-04-25T15:13:07.813Z] > git checkout -f db9efb490de7778646f037f9e3397b71150b5e7b # timeout=10 [2023-04-25T15:13:07.928Z] > git remote # timeout=10 [2023-04-25T15:13:07.969Z] > git config --get remote.origin.url # timeout=10 [2023-04-25T15:13:08.001Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-04-25T15:13:08.016Z] > git merge d6c3e216c08ed71da48c9c499bb0b6c9a0701dd9 # timeout=10 [2023-04-25T15:13:08.071Z] > git rev-parse HEAD^{commit} # timeout=10 [2023-04-25T15:13:08.102Z] > git config core.sparsecheckout # timeout=10 [2023-04-25T15:13:08.120Z] > git checkout -f 5511ac92e2fcf5f245a8f21a8886f55307cd9ba8 # timeout=10 [2023-04-25T15:13:11.647Z] Commit message: "Merge commit 'd6c3e216c08ed71da48c9c499bb0b6c9a0701dd9' into HEAD" [2023-04-25T15:13:11.660Z] > git rev-list --no-walk db9efb490de7778646f037f9e3397b71150b5e7b # timeout=10 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-04-25T15:13:12.798Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2023-04-25T15:13:12.798Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-04-25T15:13:12.798Z] Dload Upload Total Spent Left Speed [2023-04-25T15:13:12.798Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 73281 0 --:--:-- --:--:-- --:--:-- 73281 [Pipeline] sh [2023-04-25T15:13:13.461Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2023-04-25T15:13:13.799Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json+ [2023-04-25T15:13:13.799Z] sudo tee /etc/docker/daemon.new [2023-04-25T15:13:13.799Z] { [2023-04-25T15:13:13.799Z] "registry-mirrors": [ [2023-04-25T15:13:13.799Z] "https://nexus3.edgexfoundry.org:10001" [2023-04-25T15:13:13.799Z] ], [2023-04-25T15:13:13.799Z] "bip": "10.250.0.254/24", [2023-04-25T15:13:13.799Z] "hosts": [ [2023-04-25T15:13:13.799Z] "tcp://0.0.0.0:5555", [2023-04-25T15:13:13.799Z] "unix:///var/run/docker.sock" [2023-04-25T15:13:13.799Z] ], [2023-04-25T15:13:13.799Z] "mtu": 1458, [2023-04-25T15:13:13.799Z] "selinux-enabled": true, [2023-04-25T15:13:13.799Z] "seccomp-profile": "/etc/docker/seccomp.json" [2023-04-25T15:13:13.799Z] } [Pipeline] sh [2023-04-25T15:13:14.134Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2023-04-25T15:13:14.483Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-04-25T15:13:32.767Z] provisioning config files... [2023-04-25T15:13:32.801Z] copy managed file [device-rest-go-settings] to file:/w/workspace/device-rest-go/3@tmp/config6610800207100896435tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-04-25T15:13:33.173Z] ---> docker-login.sh [2023-04-25T15:13:33.173Z] nexus3.edgexfoundry.org:10001 [2023-04-25T15:13:33.761Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-04-25T15:13:33.761Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-04-25T15:13:33.761Z] Configure a credential helper to remove this warning. See [2023-04-25T15:13:33.761Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-04-25T15:13:33.761Z] [2023-04-25T15:13:33.761Z] Login Succeeded [2023-04-25T15:13:33.761Z] nexus3.edgexfoundry.org:10002 [2023-04-25T15:13:34.030Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-04-25T15:13:34.303Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-04-25T15:13:34.303Z] Configure a credential helper to remove this warning. See [2023-04-25T15:13:34.303Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-04-25T15:13:34.303Z] [2023-04-25T15:13:34.303Z] Login Succeeded [2023-04-25T15:13:34.303Z] nexus3.edgexfoundry.org:10003 [2023-04-25T15:13:34.576Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-04-25T15:13:34.576Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-04-25T15:13:34.576Z] Configure a credential helper to remove this warning. See [2023-04-25T15:13:34.576Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-04-25T15:13:34.576Z] [2023-04-25T15:13:34.576Z] Login Succeeded [2023-04-25T15:13:34.576Z] nexus3.edgexfoundry.org:10004 [2023-04-25T15:13:34.846Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-04-25T15:13:35.123Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-04-25T15:13:35.123Z] Configure a credential helper to remove this warning. See [2023-04-25T15:13:35.123Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-04-25T15:13:35.123Z] [2023-04-25T15:13:35.123Z] Login Succeeded [2023-04-25T15:13:35.123Z] docker.io [2023-04-25T15:13:35.393Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-04-25T15:13:35.663Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-04-25T15:13:35.663Z] Configure a credential helper to remove this warning. See [2023-04-25T15:13:35.663Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-04-25T15:13:35.663Z] [2023-04-25T15:13:35.663Z] Login Succeeded [2023-04-25T15:13:35.663Z] ---> docker-login.sh ends [Pipeline] } [2023-04-25T15:13:35.678Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-04-25T15:13:35.977Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-04-25T15:13:35.992Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-04-25T15:13:36.001Z] ========================================================= [2023-04-25T15:13:36.001Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine] [2023-04-25T15:13:36.001Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-04-25T15:13:36.356Z] + 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-04-25T15:13:36.356Z] Sending build context to Docker daemon 138.8kB [2023-04-25T15:13:36.624Z] Step 1/12 : ARG BASE=golang:1.20-alpine3.17 [2023-04-25T15:13:36.624Z] Step 2/12 : FROM ${BASE} AS builder [2023-04-25T15:13:36.903Z] 1.20-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2023-04-25T15:13:36.903Z] c41833b44d91: Pulling fs layer [2023-04-25T15:13:36.903Z] ed15518f5707: Pulling fs layer [2023-04-25T15:13:36.903Z] feae8fd75edb: Pulling fs layer [2023-04-25T15:13:36.903Z] 242c74f7c9fa: Pulling fs layer [2023-04-25T15:13:36.903Z] 3cdef696dda3: Pulling fs layer [2023-04-25T15:13:36.903Z] 2ced38df9373: Pulling fs layer [2023-04-25T15:13:36.903Z] 58f1dce35555: Pulling fs layer [2023-04-25T15:13:36.903Z] 242c74f7c9fa: Waiting [2023-04-25T15:13:36.903Z] 3cdef696dda3: Waiting [2023-04-25T15:13:36.903Z] 58f1dce35555: Waiting [2023-04-25T15:13:36.903Z] 2ced38df9373: Waiting [2023-04-25T15:13:36.903Z] ed15518f5707: Download complete [2023-04-25T15:13:36.903Z] 242c74f7c9fa: Verifying Checksum [2023-04-25T15:13:36.903Z] 242c74f7c9fa: Download complete [2023-04-25T15:13:36.903Z] 3cdef696dda3: Download complete [2023-04-25T15:13:36.903Z] c41833b44d91: Verifying Checksum [2023-04-25T15:13:38.350Z] c41833b44d91: Pull complete [2023-04-25T15:13:38.622Z] 58f1dce35555: Verifying Checksum [2023-04-25T15:13:38.622Z] 58f1dce35555: Download complete [2023-04-25T15:13:38.622Z] ed15518f5707: Pull complete [2023-04-25T15:13:39.599Z] 2ced38df9373: Verifying Checksum [2023-04-25T15:13:39.599Z] 2ced38df9373: Download complete [2023-04-25T15:13:39.599Z] feae8fd75edb: Verifying Checksum [2023-04-25T15:13:39.599Z] feae8fd75edb: Download complete [2023-04-25T15:13:49.739Z] feae8fd75edb: Pull complete [2023-04-25T15:13:50.011Z] 242c74f7c9fa: Pull complete [2023-04-25T15:13:50.281Z] 3cdef696dda3: Pull complete [2023-04-25T15:13:56.960Z] 2ced38df9373: Pull complete [2023-04-25T15:13:59.565Z] 58f1dce35555: Pull complete [2023-04-25T15:13:59.565Z] Digest: sha256:3b55595e96c696ae732e8cb20cde5b1ff7282a1fe1423a8de67617af8d15ea1e [2023-04-25T15:13:59.565Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine [2023-04-25T15:13:59.565Z] ---> fadd8f120f05 [2023-04-25T15:13:59.565Z] Step 3/12 : ARG ADD_BUILD_TAGS="" [2023-04-25T15:14:01.543Z] ---> Running in 2680e481b0fb [2023-04-25T15:14:01.811Z] Removing intermediate container 2680e481b0fb [2023-04-25T15:14:01.811Z] ---> 24bcf39d7143 [2023-04-25T15:14:01.811Z] Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-04-25T15:14:01.811Z] ---> Running in ac77df8fcc10 [2023-04-25T15:14:02.079Z] Removing intermediate container ac77df8fcc10 [2023-04-25T15:14:02.079Z] ---> 138928d36a16 [2023-04-25T15:14:02.079Z] Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client" [2023-04-25T15:14:02.079Z] ---> Running in 8d39e6274485 [2023-04-25T15:14:02.347Z] Removing intermediate container 8d39e6274485 [2023-04-25T15:14:02.347Z] ---> e363e5827685 [2023-04-25T15:14:02.347Z] Step 6/12 : ARG ALPINE_PKG_EXTRA="" [2023-04-25T15:14:02.614Z] ---> Running in ea8d6250b5d2 [2023-04-25T15:14:02.614Z] Removing intermediate container ea8d6250b5d2 [2023-04-25T15:14:02.614Z] ---> 391749895373 [2023-04-25T15:14:02.614Z] Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-04-25T15:14:02.881Z] ---> Running in a971cf5b3814 [2023-04-25T15:14:03.844Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz [2023-04-25T15:14:04.429Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz [2023-04-25T15:14:05.386Z] (1/4) Installing openssh-keygen (9.1_p1-r2) [2023-04-25T15:14:05.656Z] (2/4) Installing libedit (20221030.3.1-r0) [2023-04-25T15:14:05.656Z] (3/4) Installing openssh-client-common (9.1_p1-r2) [2023-04-25T15:14:05.656Z] (4/4) Installing openssh-client-default (9.1_p1-r2) [2023-04-25T15:14:05.656Z] Executing busybox-1.35.0-r29.trigger [2023-04-25T15:14:05.656Z] OK: 268 MiB in 57 packages [2023-04-25T15:14:06.624Z] Removing intermediate container a971cf5b3814 [2023-04-25T15:14:06.625Z] ---> 15a1c1b4887f [2023-04-25T15:14:06.625Z] Step 8/12 : WORKDIR /device-rest-go [2023-04-25T15:14:06.625Z] ---> Running in 1e1eeefd25f0 [2023-04-25T15:14:06.899Z] Removing intermediate container 1e1eeefd25f0 [2023-04-25T15:14:06.899Z] ---> b66c682072f7 [2023-04-25T15:14:06.899Z] Step 9/12 : COPY go.mod vendor* ./ [2023-04-25T15:14:07.488Z] ---> f2818c556d8b [2023-04-25T15:14:07.488Z] Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-04-25T15:14:07.488Z] ---> Running in 72c787ad4e1d [2023-04-25T15:15:15.397Z] Removing intermediate container 72c787ad4e1d [2023-04-25T15:15:15.397Z] ---> 8b62e7b4ef2a [2023-04-25T15:15:15.397Z] Step 11/12 : COPY . . [2023-04-25T15:15:15.397Z] ---> 3145241b1807 [2023-04-25T15:15:15.397Z] Step 12/12 : RUN $MAKE [2023-04-25T15:15:15.397Z] ---> Running in 577b192a1bdf [2023-04-25T15:15:15.397Z] noop [2023-04-25T15:15:15.397Z] Removing intermediate container 577b192a1bdf [2023-04-25T15:15:15.397Z] ---> 399f8067f197 [2023-04-25T15:15:15.397Z] Successfully built 399f8067f197 [2023-04-25T15:15:15.397Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-04-25T15:15:15.762Z] + docker inspect -f . ci-base-image-arm64 [2023-04-25T15:15:15.762Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-04-25T15:15:15.997Z] prd-ubuntu20.04-docker-arm64-4c-16g-10842 does not seem to be running inside a container [2023-04-25T15:15:16.078Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-rest-go/3 -v /w/workspace/device-rest-go/3:/w/workspace/device-rest-go/3:rw,z -v /w/workspace/device-rest-go/3@tmp:/w/workspace/device-rest-go/3@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-04-25T15:15:17.371Z] $ docker top 31598909c0a2b98fb242f304d745a875b162c3b9bff00deb2ecea7fc3a080761 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-04-25T15:15:18.231Z] + go version [2023-04-25T15:15:18.232Z] go version go1.20.2 linux/arm64 [Pipeline] } [2023-04-25T15:15:18.259Z] $ docker stop --time=1 31598909c0a2b98fb242f304d745a875b162c3b9bff00deb2ecea7fc3a080761 [2023-04-25T15:15:22.755Z] $ docker rm -f --volumes 31598909c0a2b98fb242f304d745a875b162c3b9bff00deb2ecea7fc3a080761 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-04-25T15:15:23.344Z] + docker inspect -f . ci-base-image-arm64 [2023-04-25T15:15:23.344Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-04-25T15:15:23.555Z] prd-ubuntu20.04-docker-arm64-4c-16g-10842 does not seem to be running inside a container [2023-04-25T15:15:23.637Z] $ 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/3 -v /w/workspace/device-rest-go/3:/w/workspace/device-rest-go/3:rw,z -v /w/workspace/device-rest-go/3@tmp:/w/workspace/device-rest-go/3@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-04-25T15:15:24.932Z] $ docker top 90d8dc328fb75b9d8ae236b048168298eb169e5cfd1bb4894e00091d7cfe4964 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-04-25T15:15:25.882Z] + git config --global --add safe.directory /w/workspace/device-rest-go/3 [Pipeline] fileExists [Pipeline] sh [2023-04-25T15:15:26.242Z] + make test [2023-04-25T15:15:26.528Z] go test ./... -coverprofile=coverage.out ./... [2023-04-25T15:16:05.466Z] ? github.com/edgexfoundry/device-rest-go [no test files] [2023-04-25T15:17:57.136Z] ? github.com/edgexfoundry/device-rest-go/cmd [no test files] [2023-04-25T15:17:57.136Z] ok github.com/edgexfoundry/device-rest-go/driver 0.063s coverage: 32.2% of statements [2023-04-25T15:17:57.136Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2023-04-25T15:17:57.136Z] go vet ./... [2023-04-25T15:18:19.217Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-04-25T15:18:19.217Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2023-04-25T15:18:19.217Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2023-04-25T15:18:19.512Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2023-04-25T15:18:19.528Z] $ docker stop --time=1 90d8dc328fb75b9d8ae236b048168298eb169e5cfd1bb4894e00091d7cfe4964 [2023-04-25T15:18:21.353Z] $ docker rm -f --volumes 90d8dc328fb75b9d8ae236b048168298eb169e5cfd1bb4894e00091d7cfe4964 [Pipeline] // withDockerContainer [Pipeline] sh [2023-04-25T15:18:22.489Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2023-04-25T15:18:22.514Z] Warning: overwriting stash ‘coverage-report’ [2023-04-25T15:18:22.976Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-04-25T15:18:23.371Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-04-25T15:18:23.690Z] + ls -al . [2023-04-25T15:18:23.690Z] total 180 [2023-04-25T15:18:23.690Z] drwxrwxr-x 8 jenkins jenkins 4096 Apr 25 15:15 . [2023-04-25T15:18:23.690Z] drwxrwxr-x 4 jenkins jenkins 4096 Apr 25 15:13 .. [2023-04-25T15:18:23.690Z] -rw-rw-r-- 1 jenkins jenkins 151 Apr 25 15:13 .dockerignore [2023-04-25T15:18:23.690Z] drwxrwxr-x 8 jenkins jenkins 4096 Apr 25 15:13 .git [2023-04-25T15:18:23.690Z] drwxrwxr-x 3 jenkins jenkins 4096 Apr 25 15:13 .github [2023-04-25T15:18:23.690Z] -rw-rw-r-- 1 jenkins jenkins 329 Apr 25 15:13 .gitignore [2023-04-25T15:18:23.690Z] -rw-rw-r-- 1 jenkins jenkins 41 Apr 25 15:13 .golangci.yml [2023-04-25T15:18:23.690Z] -rw-rw-r-- 1 jenkins jenkins 9331 Apr 25 15:13 Attribution.txt [2023-04-25T15:18:23.690Z] -rw-rw-r-- 1 jenkins jenkins 13085 Apr 25 15:13 CHANGELOG.md [2023-04-25T15:18:23.690Z] -rw-rw-r-- 1 jenkins jenkins 1578 Apr 25 15:13 Dockerfile [2023-04-25T15:18:23.690Z] -rw-rw-r-- 1 jenkins jenkins 677 Apr 25 15:13 GOVERNANCE.md [2023-04-25T15:18:23.690Z] -rw-rw-r-- 1 jenkins jenkins 680 Apr 25 15:13 Jenkinsfile [2023-04-25T15:18:23.690Z] -rw-rw-r-- 1 jenkins jenkins 11340 Apr 25 15:13 LICENSE [2023-04-25T15:18:23.690Z] -rw-rw-r-- 1 jenkins jenkins 1779 Apr 25 15:13 Makefile [2023-04-25T15:18:23.690Z] -rw-rw-r-- 1 jenkins jenkins 620 Apr 25 15:13 OWNERS.md [2023-04-25T15:18:23.690Z] -rw-rw-r-- 1 jenkins jenkins 15321 Apr 25 15:13 README.md [2023-04-25T15:18:23.690Z] -rw-rw-r-- 1 jenkins jenkins 5 Apr 25 15:09 VERSION [2023-04-25T15:18:23.690Z] drwxrwxr-x 2 jenkins jenkins 4096 Apr 25 15:13 bin [2023-04-25T15:18:23.690Z] drwxrwxr-x 3 jenkins jenkins 4096 Apr 25 15:13 cmd [2023-04-25T15:18:23.690Z] -rw-r--r-- 1 jenkins jenkins 14663 Apr 25 15:17 coverage.out [2023-04-25T15:18:23.690Z] drwxrwxr-x 2 jenkins jenkins 4096 Apr 25 15:13 driver [2023-04-25T15:18:23.690Z] -rw-rw-r-- 1 jenkins jenkins 3402 Apr 25 15:13 go.mod [2023-04-25T15:18:23.690Z] -rw-rw-r-- 1 jenkins jenkins 31443 Apr 25 15:13 go.sum [2023-04-25T15:18:23.690Z] drwxrwxr-x 4 jenkins jenkins 4096 Apr 25 15:13 snap [2023-04-25T15:18:23.690Z] -rw-rw-r-- 1 jenkins jenkins 713 Apr 25 15:13 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-04-25T15:18:24.026Z] + 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=5511ac92e2fcf5f245a8f21a8886f55307cd9ba8 --label arch=arm64 --label version=0.0.0 . [2023-04-25T15:18:24.026Z] Sending build context to Docker daemon 154.1kB [2023-04-25T15:18:24.294Z] Step 1/25 : ARG BASE=golang:1.20-alpine3.17 [2023-04-25T15:18:24.294Z] Step 2/25 : FROM ${BASE} AS builder [2023-04-25T15:18:24.294Z] ---> 399f8067f197 [2023-04-25T15:18:24.294Z] Step 3/25 : ARG ADD_BUILD_TAGS="" [2023-04-25T15:18:24.294Z] ---> Running in 86494c9524d3 [2023-04-25T15:18:24.563Z] Removing intermediate container 86494c9524d3 [2023-04-25T15:18:24.563Z] ---> f2af328295b5 [2023-04-25T15:18:24.563Z] Step 4/25 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-04-25T15:18:24.832Z] ---> Running in 5da70b61915d [2023-04-25T15:18:25.100Z] Removing intermediate container 5da70b61915d [2023-04-25T15:18:25.101Z] ---> 46a915751a4d [2023-04-25T15:18:25.101Z] Step 5/25 : ARG ALPINE_PKG_BASE="make git openssh-client" [2023-04-25T15:18:25.101Z] ---> Running in e23a3955d275 [2023-04-25T15:18:25.369Z] Removing intermediate container e23a3955d275 [2023-04-25T15:18:25.369Z] ---> 32846df82918 [2023-04-25T15:18:25.369Z] Step 6/25 : ARG ALPINE_PKG_EXTRA="" [2023-04-25T15:18:25.369Z] ---> Running in a3dfdd8421c4 [2023-04-25T15:18:25.637Z] Removing intermediate container a3dfdd8421c4 [2023-04-25T15:18:25.637Z] ---> a763f115e9b9 [2023-04-25T15:18:25.637Z] Step 7/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-04-25T15:18:25.907Z] ---> Running in cf908db611a8 [2023-04-25T15:18:26.870Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz [2023-04-25T15:18:27.459Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz [2023-04-25T15:18:28.872Z] OK: 268 MiB in 57 packages [2023-04-25T15:18:29.460Z] Removing intermediate container cf908db611a8 [2023-04-25T15:18:29.460Z] ---> f74ff7636929 [2023-04-25T15:18:29.460Z] Step 8/25 : WORKDIR /device-rest-go [2023-04-25T15:18:29.460Z] ---> Running in cf79edfec166 [2023-04-25T15:18:29.730Z] Removing intermediate container cf79edfec166 [2023-04-25T15:18:29.730Z] ---> 87d7e7a43fbd [2023-04-25T15:18:29.730Z] Step 9/25 : COPY go.mod vendor* ./ [2023-04-25T15:18:30.317Z] ---> 3a3730f0574d [2023-04-25T15:18:30.317Z] Step 10/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-04-25T15:18:30.317Z] ---> Running in a3359927aee7 [2023-04-25T15:18:32.900Z] Removing intermediate container a3359927aee7 [2023-04-25T15:18:32.900Z] ---> c91b418a3520 [2023-04-25T15:18:32.900Z] Step 11/25 : COPY . . [2023-04-25T15:18:33.489Z] ---> f0ba321187c9 [2023-04-25T15:18:33.489Z] Step 12/25 : RUN $MAKE [2023-04-25T15:18:33.489Z] ---> Running in 6ae422b1cbdc [2023-04-25T15:18:34.455Z] 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-04-25T15:20:56.163Z] Removing intermediate container 6ae422b1cbdc [2023-04-25T15:20:56.163Z] ---> 1c3214bddbc9 [2023-04-25T15:20:56.163Z] Step 13/25 : FROM alpine:3.17 [2023-04-25T15:20:56.163Z] 3.17: Pulling from library/alpine [2023-04-25T15:20:56.163Z] c41833b44d91: Already exists [2023-04-25T15:20:56.163Z] Digest: sha256:124c7d2707904eea7431fffe91522a01e5a861a624ee31d03372cc1d138a3126 [2023-04-25T15:20:56.163Z] Status: Downloaded newer image for alpine:3.17 [2023-04-25T15:20:56.163Z] ---> 51e60588ff2c [2023-04-25T15:20:56.163Z] Step 14/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' [2023-04-25T15:20:56.163Z] ---> Running in 6a666c6b9116 [2023-04-25T15:20:56.163Z] Removing intermediate container 6a666c6b9116 [2023-04-25T15:20:56.163Z] ---> e30a81d9f202 [2023-04-25T15:20:56.163Z] Step 15/25 : LABEL Name=device-rest-go Version=${VERSION} [2023-04-25T15:20:56.163Z] ---> Running in 348b7f648b03 [2023-04-25T15:20:56.163Z] Removing intermediate container 348b7f648b03 [2023-04-25T15:20:56.163Z] ---> d81f86e80cfb [2023-04-25T15:20:56.163Z] Step 16/25 : RUN apk add --update --no-cache dumb-init [2023-04-25T15:20:56.163Z] ---> Running in 7a1656d78b52 [2023-04-25T15:20:56.163Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz [2023-04-25T15:20:56.163Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz [2023-04-25T15:20:56.163Z] (1/1) Installing dumb-init (1.2.5-r2) [2023-04-25T15:20:56.163Z] Executing busybox-1.35.0-r29.trigger [2023-04-25T15:20:56.163Z] OK: 8 MiB in 16 packages [2023-04-25T15:20:56.163Z] Removing intermediate container 7a1656d78b52 [2023-04-25T15:20:56.163Z] ---> 9d7983264fd5 [2023-04-25T15:20:56.163Z] Step 17/25 : COPY --from=builder /device-rest-go/cmd / [2023-04-25T15:20:56.163Z] ---> 22723fa759c1 [2023-04-25T15:20:56.163Z] Step 18/25 : COPY --from=builder /device-rest-go/LICENSE / [2023-04-25T15:20:56.163Z] ---> 3ddf0e1ebadb [2023-04-25T15:20:56.163Z] Step 19/25 : COPY --from=builder /device-rest-go/Attribution.txt / [2023-04-25T15:20:56.163Z] ---> c669bf2142dc [2023-04-25T15:20:56.163Z] Step 20/25 : EXPOSE 59986 [2023-04-25T15:20:56.163Z] ---> Running in caccb75a207f [2023-04-25T15:20:56.163Z] Removing intermediate container caccb75a207f [2023-04-25T15:20:56.163Z] ---> aea3da35488c [2023-04-25T15:20:56.163Z] Step 21/25 : ENTRYPOINT ["/device-rest"] [2023-04-25T15:20:56.163Z] ---> Running in a7bca24eded6 [2023-04-25T15:20:56.163Z] Removing intermediate container a7bca24eded6 [2023-04-25T15:20:56.163Z] ---> 5f943b2434d1 [2023-04-25T15:20:56.163Z] Step 22/25 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry"] [2023-04-25T15:20:56.163Z] ---> Running in a3f54cfbf07e [2023-04-25T15:20:56.163Z] Removing intermediate container a3f54cfbf07e [2023-04-25T15:20:56.163Z] ---> 730d47deec09 [2023-04-25T15:20:56.163Z] Step 23/25 : LABEL arch=arm64 [2023-04-25T15:20:56.163Z] ---> Running in fb80beb9b59e [2023-04-25T15:20:56.163Z] Removing intermediate container fb80beb9b59e [2023-04-25T15:20:56.163Z] ---> 352f28ec56fe [2023-04-25T15:20:56.163Z] Step 24/25 : LABEL git_sha=5511ac92e2fcf5f245a8f21a8886f55307cd9ba8 [2023-04-25T15:20:56.163Z] ---> Running in 6ad16ec92c97 [2023-04-25T15:20:56.163Z] Removing intermediate container 6ad16ec92c97 [2023-04-25T15:20:56.163Z] ---> 8781bca874cb [2023-04-25T15:20:56.163Z] Step 25/25 : LABEL version=0.0.0 [2023-04-25T15:20:56.163Z] ---> Running in f525e4de2cc6 [2023-04-25T15:20:56.163Z] Removing intermediate container f525e4de2cc6 [2023-04-25T15:20:56.163Z] ---> e9e900d97082 [2023-04-25T15:20:56.163Z] [Warning] One or more build-args [ARCH] were not consumed [2023-04-25T15:20:56.163Z] Successfully built e9e900d97082 [2023-04-25T15:20:56.163Z] 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-04-25T15:20:56.600Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-04-25T15:20:56.600Z] [2023-04-25T15:20:56.600Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-04-25T15:20:56.961Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-04-25T15:20:56.961Z] arm64: Pulling from edgex-lftools-log-publisher [2023-04-25T15:20:56.961Z] 8998bd30e6a1: Pulling fs layer [2023-04-25T15:20:56.961Z] 04944245beec: Pulling fs layer [2023-04-25T15:20:56.961Z] 699f458cf7ca: Pulling fs layer [2023-04-25T15:20:56.961Z] 765212b225bb: Pulling fs layer [2023-04-25T15:20:56.961Z] f23df028b6ca: Pulling fs layer [2023-04-25T15:20:56.961Z] d65c8cfc05b1: Pulling fs layer [2023-04-25T15:20:56.961Z] 2437ff75d9bd: Pulling fs layer [2023-04-25T15:20:56.961Z] 765212b225bb: Waiting [2023-04-25T15:20:56.961Z] f23df028b6ca: Waiting [2023-04-25T15:20:56.961Z] d65c8cfc05b1: Waiting [2023-04-25T15:20:56.961Z] 2437ff75d9bd: Waiting [2023-04-25T15:20:57.229Z] 04944245beec: Verifying Checksum [2023-04-25T15:20:57.229Z] 04944245beec: Download complete [2023-04-25T15:20:57.229Z] 765212b225bb: Verifying Checksum [2023-04-25T15:20:57.229Z] 765212b225bb: Download complete [2023-04-25T15:20:57.229Z] f23df028b6ca: Verifying Checksum [2023-04-25T15:20:57.229Z] f23df028b6ca: Download complete [2023-04-25T15:20:57.229Z] d65c8cfc05b1: Verifying Checksum [2023-04-25T15:20:57.229Z] d65c8cfc05b1: Download complete [2023-04-25T15:20:57.229Z] 699f458cf7ca: Verifying Checksum [2023-04-25T15:20:57.229Z] 699f458cf7ca: Download complete [2023-04-25T15:20:57.817Z] 8998bd30e6a1: Verifying Checksum [2023-04-25T15:20:57.817Z] 8998bd30e6a1: Download complete [2023-04-25T15:20:59.757Z] 2437ff75d9bd: Verifying Checksum [2023-04-25T15:20:59.757Z] 2437ff75d9bd: Download complete [2023-04-25T15:21:01.699Z] 8998bd30e6a1: Pull complete [2023-04-25T15:21:01.966Z] 04944245beec: Pull complete [2023-04-25T15:21:03.372Z] 699f458cf7ca: Pull complete [2023-04-25T15:21:03.372Z] 765212b225bb: Pull complete [2023-04-25T15:21:03.957Z] f23df028b6ca: Pull complete [2023-04-25T15:21:04.223Z] d65c8cfc05b1: Pull complete [2023-04-25T15:21:19.212Z] 2437ff75d9bd: Pull complete [2023-04-25T15:21:19.212Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2023-04-25T15:21:19.212Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-04-25T15:21:19.212Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-04-25T15:21:19.414Z] prd-ubuntu20.04-docker-arm64-4c-16g-10842 does not seem to be running inside a container [2023-04-25T15:21:19.489Z] $ 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/3 -v /w/workspace/device-rest-go/3:/w/workspace/device-rest-go/3:rw,z -v /w/workspace/device-rest-go/3@tmp:/w/workspace/device-rest-go/3@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-04-25T15:21:22.237Z] $ docker top 7990bf7013d2ab385b0dd7f33b22b8dee637267a6879fb13a7ae7ea2404b86e5 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-04-25T15:21:23.067Z] ---> job-cost.sh [2023-04-25T15:21:23.067Z] lf-activate-venv: SKIPPING [2023-04-25T15:21:23.067Z] INFO: No Stack... [2023-04-25T15:21:23.334Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2023-04-25T15:21:24.294Z] INFO: Archiving Costs [Pipeline] sh [2023-04-25T15:21:24.930Z] + + cut -d, -f6cat [2023-04-25T15:21:24.930Z] /w/workspace/device-rest-go/3/archives/cost.csv [Pipeline] lock [2023-04-25T15:21:25.002Z] Trying to acquire lock on [jenkins-edgexfoundry-device-rest-go-PR-297-3-stack-cost] [2023-04-25T15:21:25.011Z] Resource [jenkins-edgexfoundry-device-rest-go-PR-297-3-stack-cost] did not exist. Created. [2023-04-25T15:21:25.011Z] Lock acquired on [jenkins-edgexfoundry-device-rest-go-PR-297-3-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-04-25T15:21:25.352Z] /w/workspace/device-rest-go/3@tmp/durable-a5938192/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2023-04-25T15:21:25.697Z] + echo total: 0.10999999940395355 [Pipeline] stash [2023-04-25T15:21:25.725Z] Warning: overwriting stash ‘stack-cost’ [2023-04-25T15:21:25.770Z] Stashed 1 file(s) [Pipeline] } [2023-04-25T15:21:25.777Z] Lock released on resource [jenkins-edgexfoundry-device-rest-go-PR-297-3-stack-cost] [Pipeline] // lock [Pipeline] } [2023-04-25T15:21:25.799Z] $ docker stop --time=1 7990bf7013d2ab385b0dd7f33b22b8dee637267a6879fb13a7ae7ea2404b86e5 [2023-04-25T15:21:27.309Z] $ docker rm -f --volumes 7990bf7013d2ab385b0dd7f33b22b8dee637267a6879fb13a7ae7ea2404b86e5 [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-04-25T15:21:27.681Z] provisioning config files... [2023-04-25T15:21:27.688Z] copy managed file [device-rest-go-codecov-token] to file:/w/workspace/gexfoundry_device-rest-go_PR-297@tmp/config3526159598972818362tmp [Pipeline] { [Pipeline] sh [2023-04-25T15:21:27.990Z] + set +x [2023-04-25T15:21:27.990Z] + + curl -s https://codecov.io/bashbash [2023-04-25T15:21:27.990Z] -s -- [2023-04-25T15:21:27.990Z] [2023-04-25T15:21:27.990Z] _____ _ [2023-04-25T15:21:27.990Z] / ____| | | [2023-04-25T15:21:27.990Z] | | ___ __| | ___ ___ _____ __ [2023-04-25T15:21:27.990Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2023-04-25T15:21:27.990Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2023-04-25T15:21:27.991Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2023-04-25T15:21:27.991Z] Bash-1.0.6 [2023-04-25T15:21:27.991Z] [2023-04-25T15:21:27.991Z] [2023-04-25T15:21:27.991Z] ==> git version 2.25.1 found [2023-04-25T15:21:27.991Z] ==> 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-04-25T15:21:27.991Z] Release-Date: 2020-01-08 [2023-04-25T15:21:27.991Z] 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-04-25T15:21:27.991Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2023-04-25T15:21:27.991Z] ==> Jenkins CI detected. [2023-04-25T15:21:27.991Z] current dir:  /w/workspace/gexfoundry_device-rest-go_PR-297 [2023-04-25T15:21:27.991Z] project root: . [2023-04-25T15:21:27.991Z] --> token set from env [2023-04-25T15:21:27.991Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2023-04-25T15:21:27.991Z] ==> Running gcov in . (disable via -X gcov) [2023-04-25T15:21:27.991Z] ==> Python coveragepy not found [2023-04-25T15:21:27.991Z] ==> Searching for coverage reports in: [2023-04-25T15:21:27.991Z] + . [2023-04-25T15:21:27.991Z] -> Found 1 reports [2023-04-25T15:21:27.991Z] ==> Detecting git/mercurial file structure [2023-04-25T15:21:27.991Z] ==> Reading reports [2023-04-25T15:21:27.991Z] + ./coverage.out bytes=14663 [2023-04-25T15:21:27.991Z] ==> Appending adjustments [2023-04-25T15:21:27.991Z] https://docs.codecov.io/docs/fixing-reports [2023-04-25T15:21:28.250Z] + Found adjustments [2023-04-25T15:21:28.250Z] ==> Gzipping contents [2023-04-25T15:21:28.250Z] 4.0K /tmp/codecov.kobbsn.gz [2023-04-25T15:21:28.250Z] ==> Uploading reports [2023-04-25T15:21:28.250Z] url: https://codecov.io [2023-04-25T15:21:28.250Z] query: branch=PR-297&commit=522741b4d7c581134c1b14f65ebc95c0caa49787&build=3&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-rest-go%2Fjob%2FPR-297%2F3%2F&name=&tag=&slug=edgexfoundry%2Fdevice-rest-go&service=jenkins&flags=&pr=297&job=&cmd_args= [2023-04-25T15:21:28.250Z] -> Pinging Codecov [2023-04-25T15:21:28.250Z] https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=c51feb23-73ac-4f49-b3d1-d26df23137db&branch=PR-297&commit=522741b4d7c581134c1b14f65ebc95c0caa49787&build=3&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-rest-go%2Fjob%2FPR-297%2F3%2F&name=&tag=&slug=edgexfoundry%2Fdevice-rest-go&service=jenkins&flags=&pr=297&job=&cmd_args= [2023-04-25T15:21:28.510Z] -> Uploading to [2023-04-25T15:21:28.510Z] https://storage.googleapis.com/codecov/v4/raw/2023-04-25/4E5D53B4F1F92C436F7061BF334D961C/522741b4d7c581134c1b14f65ebc95c0caa49787/4f4b01f8-b0e2-404b-9be4-aa5f584b30fe.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20230425%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20230425T152128Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=8e4fe961bf85e00ebdccd46774a22e03edaf6e5c8847d57b817289ac80b40777 [2023-04-25T15:21:28.510Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-04-25T15:21:28.510Z] Dload Upload Total Spent Left Speed [2023-04-25T15:21:28.769Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 2510 0 0 100 2510 0 9365 --:--:-- --:--:-- --:--:-- 9365 [2023-04-25T15:21:28.769Z] -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-rest-go/commit/522741b4d7c581134c1b14f65ebc95c0caa49787 [Pipeline] } [2023-04-25T15:21:28.776Z] 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-04-25T15:21:29.407Z] + [ -d /w/workspace/gexfoundry_device-rest-go_PR-297/archives ] [2023-04-25T15:21:29.407Z] + ls -al /w/workspace/gexfoundry_device-rest-go_PR-297/archives [2023-04-25T15:21:29.407Z] total 16 [2023-04-25T15:21:29.407Z] drwxr-xr-x 3 root root 4096 Apr 25 15:11 . [2023-04-25T15:21:29.407Z] drwxrwxr-x 10 jenkins jenkins 4096 Apr 25 15:11 .. [2023-04-25T15:21:29.407Z] drwxr-xr-x 2 root root 4096 Apr 25 15:11 cost [2023-04-25T15:21:29.407Z] -rw-r--r-- 1 root root 86 Apr 25 15:11 cost.csv [2023-04-25T15:21:29.407Z] + sudo chown -R jenkins:jenkins /w/workspace/gexfoundry_device-rest-go_PR-297/archives [2023-04-25T15:21:29.407Z] + ls -al /w/workspace/gexfoundry_device-rest-go_PR-297/archives [2023-04-25T15:21:29.407Z] total 16 [2023-04-25T15:21:29.407Z] drwxr-xr-x 3 jenkins jenkins 4096 Apr 25 15:11 . [2023-04-25T15:21:29.407Z] drwxrwxr-x 10 jenkins jenkins 4096 Apr 25 15:11 .. [2023-04-25T15:21:29.407Z] drwxr-xr-x 2 jenkins jenkins 4096 Apr 25 15:11 cost [2023-04-25T15:21:29.407Z] -rw-r--r-- 1 jenkins jenkins 86 Apr 25 15:11 cost.csv [Pipeline] libraryResource [Pipeline] sh [2023-04-25T15:21:29.699Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2023-04-25T15:21:30.558Z] ---> package-listing.sh [2023-04-25T15:21:30.558Z] ++ facter osfamily [2023-04-25T15:21:30.558Z] ++ tr '[:upper:]' '[:lower:]' [2023-04-25T15:21:30.818Z] + OS_FAMILY=debian [2023-04-25T15:21:30.818Z] + workspace=/w/workspace/gexfoundry_device-rest-go_PR-297 [2023-04-25T15:21:30.818Z] + START_PACKAGES=/tmp/packages_start.txt [2023-04-25T15:21:30.818Z] + END_PACKAGES=/tmp/packages_end.txt [2023-04-25T15:21:30.818Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2023-04-25T15:21:30.818Z] + PACKAGES=/tmp/packages_start.txt [2023-04-25T15:21:30.818Z] + '[' /w/workspace/gexfoundry_device-rest-go_PR-297 ']' [2023-04-25T15:21:30.818Z] + PACKAGES=/tmp/packages_end.txt [2023-04-25T15:21:30.818Z] + case "${OS_FAMILY}" in [2023-04-25T15:21:30.818Z] + dpkg -l [2023-04-25T15:21:30.818Z] + grep '^ii' [2023-04-25T15:21:30.818Z] + '[' -f /tmp/packages_start.txt ']' [2023-04-25T15:21:30.818Z] + '[' -f /tmp/packages_end.txt ']' [2023-04-25T15:21:30.818Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2023-04-25T15:21:30.818Z] + '[' /w/workspace/gexfoundry_device-rest-go_PR-297 ']' [2023-04-25T15:21:30.818Z] + mkdir -p /w/workspace/gexfoundry_device-rest-go_PR-297/archives/ [2023-04-25T15:21:30.818Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_device-rest-go_PR-297/archives/ [Pipeline] echo [2023-04-25T15:21:30.831Z] 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-297/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2023-04-25T15:21:31.116Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-04-25T15:21:31.682Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-04-25T15:21:31.682Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-04-25T15:21:31.755Z] prd-ubuntu20.04-docker-8c-8g-10840 does not seem to be running inside a container [2023-04-25T15:21:31.788Z] $ 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-297/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-297 -v /w/workspace/gexfoundry_device-rest-go_PR-297:/w/workspace/gexfoundry_device-rest-go_PR-297:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-297@tmp:/w/workspace/gexfoundry_device-rest-go_PR-297@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-04-25T15:21:31.990Z] $ docker top e5ffc5f5fb8ef845375b6cdaadc38fcea339058e14edc37cccb33bcdb5e226d3 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-04-25T15:21:32.338Z] + touch /tmp/pre-build-complete [Pipeline] sh [2023-04-25T15:21:32.628Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2023-04-25T15:21:32.914Z] + ls /var/log/sa-host [2023-04-25T15:21:32.914Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-04-25T15:21:32.978Z] provisioning config files... [2023-04-25T15:21:32.986Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-rest-go_PR-297@tmp/config18299846398830669839tmp [Pipeline] { [Pipeline] echo [2023-04-25T15:21:33.002Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2023-04-25T15:21:33.287Z] ---> create-netrc.sh [Pipeline] } [2023-04-25T15:21:33.294Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2023-04-25T15:21:33.624Z] ---> python-tools-install.sh [Pipeline] echo [2023-04-25T15:21:33.633Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2023-04-25T15:21:33.921Z] ---> sudo-logs.sh [2023-04-25T15:21:33.922Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2023-04-25T15:21:33.947Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2023-04-25T15:21:34.234Z] ---> job-cost.sh [2023-04-25T15:21:34.235Z] lf-activate-venv: SKIPPING [2023-04-25T15:21:34.235Z] DEBUG: total: 0.2199999988079071 [2023-04-25T15:21:34.235Z] INFO: Retrieving Stack Cost... [2023-04-25T15:21:34.494Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-04-25T15:21:35.061Z] INFO: Archiving Costs [Pipeline] echo [2023-04-25T15:21:35.070Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2023-04-25T15:21:35.356Z] ---> logs-deploy.sh [2023-04-25T15:21:35.356Z] lf-activate-venv: SKIPPING [2023-04-25T15:21:35.356Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-rest-go/PR-297/3 [2023-04-25T15:21:35.356Z] INFO: archiving workspace using pattern(s): [2023-04-25T15:21:36.298Z] Archives upload complete. [2023-04-25T15:21:36.557Z] INFO: archiving logs to Nexus