Pull request #318 event Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 6879e16c9873b7ee47a0ce6feb41051dd9546c53+47b604616574ded3ba804dffb2a679ce0d70252d (da5f7f46d461c20771fdb7ec607697eeff07b0c6) 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-ssh13375099595745765829.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 4fc256d9079ed2258907e613f84b1b8da264a4bd Resolving tag commit... (remote references may be a lightweight tag or an annotated tag) > git rev-parse --resolve-git-dir /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f/.git # timeout=10 Setting origin to git@github.com:edgexfoundry/edgex-global-pipelines.git > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching origin... Fetching upstream changes from origin > git --version # timeout=10 > git --version # 'git version 2.16.6' > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f@tmp/jenkins-gitclient-ssh5964084645568708875.key > git fetch --tags --progress -- origin +refs/heads/*:refs/remotes/origin/* # timeout=10 > git rev-parse refs/tags/stable^{commit} # timeout=10 Resolved tag stable revision 4fc256d9079ed2258907e613f84b1b8da264a4bd The recommended git tool is: git using credential edgex-jenkins-ssh > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-rest-go/branches/PR-318/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-318/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh16263995094132018750.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 4fc256d9079ed2258907e613f84b1b8da264a4bd (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 4fc256d9079ed2258907e613f84b1b8da264a4bd # timeout=10 Commit message: "Merge pull request #430 from ernestojeda/release-lock" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 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-ssh711784910172516340.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-318/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-318/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh16954353860356367990.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision 65355178549468b165f8106641c96c3190b1d843 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 65355178549468b165f8106641c96c3190b1d843 # timeout=10 Commit message: "Fix: Add S3 URL in href to ship logs" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-rest-go] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[ubuntu20.04-docker-8c-8g, ubuntu20.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-rest-go-settings PROJECT: device-rest-go USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.20 USE_ALPINE: true DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-rest DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: false SWAGGER_API_FOLDERS: openapi/v1 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org SNYK_DEBUG: false [Pipeline] node Still waiting to schedule task Waiting for next available executor on ‘ubuntu20.04-docker-8c-8g’ Running on prd-ubuntu20.04-docker-8c-8g-15789 in /w/workspace/gexfoundry_device-rest-go_PR-318 [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-318 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git > git --version # timeout=10 > git --version # 'git version 2.25.1' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/pull/318/head:refs/remotes/origin/PR-318 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit 47b604616574ded3ba804dffb2a679ce0d70252d into PR head commit 6879e16c9873b7ee47a0ce6feb41051dd9546c53 Merge succeeded, producing 6879e16c9873b7ee47a0ce6feb41051dd9546c53 Checking out Revision 6879e16c9873b7ee47a0ce6feb41051dd9546c53 (PR-318) Commit message: "build(deps): Bump github.com/spf13/cast from 1.5.0 to 1.5.1" First time build. Skipping changelog. [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2023-05-16T22:21:20.542Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2023-05-16T22:21:20.606Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2023-05-16T22:21:20.630Z] ========================================================= [2023-05-16T22:21:20.630Z] EdgeX Global Pipelines Version Info [2023-05-16T22:21:20.630Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh > git config core.sparsecheckout # timeout=10 > git checkout -f 6879e16c9873b7ee47a0ce6feb41051dd9546c53 # 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 47b604616574ded3ba804dffb2a679ce0d70252d # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 6879e16c9873b7ee47a0ce6feb41051dd9546c53 # timeout=10 > git rev-list --no-walk d77b7000d1580bcb21c45df50801c805a9283008 # timeout=10 [2023-05-16T22:21:21.339Z] ------------------- [2023-05-16T22:21:21.339Z] stable info: [2023-05-16T22:21:21.339Z] ------------------- [2023-05-16T22:21:21.339Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2023-05-16T22:21:21.339Z] Commit SHA: 4fc256d9079ed2258907e613f84b1b8da264a4bd [2023-05-16T22:21:21.339Z] Message: update stable to v1.0.249 [2023-05-16T22:21:21.910Z] ------------------- [2023-05-16T22:21:21.910Z] experimental info: [2023-05-16T22:21:21.910Z] ------------------- [2023-05-16T22:21:21.910Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2023-05-16T22:21:21.910Z] Commit SHA: 4fc256d9079ed2258907e613f84b1b8da264a4bd [2023-05-16T22:21:21.910Z] Message: update experimental to v1.0.249 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2023-05-16T22:21:22.084Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-rest-go-settings [Pipeline] echo [2023-05-16T22:21:22.098Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-rest-go [Pipeline] echo [2023-05-16T22:21:22.118Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2023-05-16T22:21:22.135Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2023-05-16T22:21:22.150Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2023-05-16T22:21:22.167Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.20 [Pipeline] echo [2023-05-16T22:21:22.183Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2023-05-16T22:21:22.202Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2023-05-16T22:21:22.222Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2023-05-16T22:21:22.238Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2023-05-16T22:21:22.252Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2023-05-16T22:21:22.265Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-rest [Pipeline] echo [2023-05-16T22:21:22.274Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2023-05-16T22:21:22.283Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2023-05-16T22:21:22.301Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2023-05-16T22:21:22.315Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2023-05-16T22:21:22.325Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2023-05-16T22:21:22.335Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2023-05-16T22:21:22.343Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2023-05-16T22:21:22.352Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2023-05-16T22:21:22.362Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2023-05-16T22:21:22.372Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2023-05-16T22:21:22.391Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2023-05-16T22:21:22.405Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2023-05-16T22:21:22.419Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2023-05-16T22:21:22.431Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2023-05-16T22:21:22.447Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2023-05-16T22:21:22.458Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-318 [Pipeline] echo [2023-05-16T22:21:22.470Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-318 [Pipeline] echo [2023-05-16T22:21:22.487Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-318 [Pipeline] echo [2023-05-16T22:21:22.502Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 6879e16c9873b7ee47a0ce6feb41051dd9546c53 [Pipeline] echo [2023-05-16T22:21:22.513Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 6879e16 [Pipeline] echo [2023-05-16T22:21:22.532Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-05-16T22:21:22.576Z] provisioning config files... [2023-05-16T22:21:22.590Z] copy managed file [device-rest-go-settings] to file:/w/workspace/gexfoundry_device-rest-go_PR-318@tmp/config7401009878670648153tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-05-16T22:21:22.893Z] ---> docker-login.sh [2023-05-16T22:21:22.893Z] nexus3.edgexfoundry.org:10001 [2023-05-16T22:21:23.153Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-16T22:21:23.153Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-16T22:21:23.153Z] Configure a credential helper to remove this warning. See [2023-05-16T22:21:23.153Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-16T22:21:23.153Z] [2023-05-16T22:21:23.153Z] Login Succeeded [2023-05-16T22:21:23.153Z] nexus3.edgexfoundry.org:10002 [2023-05-16T22:21:23.153Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-16T22:21:23.153Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-16T22:21:23.153Z] Configure a credential helper to remove this warning. See [2023-05-16T22:21:23.153Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-16T22:21:23.153Z] [2023-05-16T22:21:23.153Z] Login Succeeded [2023-05-16T22:21:23.153Z] nexus3.edgexfoundry.org:10003 [2023-05-16T22:21:23.413Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-16T22:21:23.413Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-16T22:21:23.414Z] Configure a credential helper to remove this warning. See [2023-05-16T22:21:23.414Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-16T22:21:23.414Z] [2023-05-16T22:21:23.414Z] Login Succeeded [2023-05-16T22:21:23.414Z] nexus3.edgexfoundry.org:10004 [2023-05-16T22:21:23.414Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-16T22:21:23.414Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-16T22:21:23.414Z] Configure a credential helper to remove this warning. See [2023-05-16T22:21:23.414Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-16T22:21:23.414Z] [2023-05-16T22:21:23.414Z] Login Succeeded [2023-05-16T22:21:23.414Z] docker.io [2023-05-16T22:21:23.414Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-16T22:21:23.674Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-16T22:21:23.674Z] Configure a credential helper to remove this warning. See [2023-05-16T22:21:23.674Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-16T22:21:23.674Z] [2023-05-16T22:21:23.674Z] Login Succeeded [2023-05-16T22:21:23.674Z] ---> docker-login.sh ends [Pipeline] } [2023-05-16T22:21:23.686Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2023-05-16T22:21:24.071Z] + git rev-list -1 --merges 6879e16c9873b7ee47a0ce6feb41051dd9546c53~1..6879e16c9873b7ee47a0ce6feb41051dd9546c53 [Pipeline] echo [2023-05-16T22:21:24.114Z] -----------> git rev-list -1 --merges 6879e16c9873b7ee47a0ce6feb41051dd9546c53~1..6879e16c9873b7ee47a0ce6feb41051dd9546c53 6879e16c9873b7ee47a0ce6feb41051dd9546c53 [false] [Pipeline] sh [2023-05-16T22:21:24.400Z] + git log --format=format:%s -1 6879e16c9873b7ee47a0ce6feb41051dd9546c53 [Pipeline] echo [2023-05-16T22:21:24.431Z] ========================================================= [2023-05-16T22:21:24.431Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2023-05-16T22:21:24.431Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-05-16T22:21:24.757Z] + git log --format=format:%s -1 6879e16c9873b7ee47a0ce6feb41051dd9546c53 [Pipeline] echo [2023-05-16T22:21:24.767Z] [semverPrep] GIT_COMMIT: 6879e16c9873b7ee47a0ce6feb41051dd9546c53, Commit Message: build(deps): Bump github.com/spf13/cast from 1.5.0 to 1.5.1 [Pipeline] echo [2023-05-16T22:21:24.778Z] [semverPrep] This is not a build commit. [Pipeline] sh [2023-05-16T22:21:25.128Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-05-16T22:21:25.128Z] + grep -v github /etc/ssh/ssh_known_hosts [2023-05-16T22:21:25.128Z] + [ -e /tmp/ssh_known_hosts ] [2023-05-16T22:21:25.128Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2023-05-16T22:21:25.128Z] + echo+ github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2023-05-16T22:21:25.128Z] sudo tee -a /etc/ssh/ssh_known_hosts [2023-05-16T22:21:25.128Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-16T22:21:25.484Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-05-16T22:21:25.484Z] [2023-05-16T22:21:25.484Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-16T22:21:25.795Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-05-16T22:21:25.795Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2023-05-16T22:21:25.795Z] b85a868b505f: Pulling fs layer [2023-05-16T22:21:25.795Z] e2be974225ed: Pulling fs layer [2023-05-16T22:21:25.795Z] 339a4e72a1f5: Pulling fs layer [2023-05-16T22:21:25.795Z] 988bab9f4d93: Pulling fs layer [2023-05-16T22:21:25.795Z] 1469e6f7b9e6: Pulling fs layer [2023-05-16T22:21:25.795Z] eaf3925da568: Pulling fs layer [2023-05-16T22:21:25.795Z] bab4dde63d76: Pulling fs layer [2023-05-16T22:21:25.795Z] bde34c3a00c8: Pulling fs layer [2023-05-16T22:21:25.795Z] b352a97aabf1: Pulling fs layer [2023-05-16T22:21:25.795Z] 4872d77fe225: Pulling fs layer [2023-05-16T22:21:25.795Z] 5851b861e8e6: Pulling fs layer [2023-05-16T22:21:25.795Z] bab4dde63d76: Waiting [2023-05-16T22:21:25.795Z] 4872d77fe225: Waiting [2023-05-16T22:21:25.795Z] b352a97aabf1: Waiting [2023-05-16T22:21:25.795Z] bde34c3a00c8: Waiting [2023-05-16T22:21:25.795Z] 1469e6f7b9e6: Waiting [2023-05-16T22:21:25.795Z] eaf3925da568: Waiting [2023-05-16T22:21:25.795Z] 5851b861e8e6: Waiting [2023-05-16T22:21:25.795Z] 988bab9f4d93: Waiting [2023-05-16T22:21:25.795Z] e2be974225ed: Verifying Checksum [2023-05-16T22:21:25.795Z] e2be974225ed: Download complete [2023-05-16T22:21:25.795Z] 988bab9f4d93: Verifying Checksum [2023-05-16T22:21:25.795Z] 988bab9f4d93: Download complete [2023-05-16T22:21:25.795Z] 1469e6f7b9e6: Verifying Checksum [2023-05-16T22:21:25.795Z] 1469e6f7b9e6: Download complete [2023-05-16T22:21:26.069Z] eaf3925da568: Verifying Checksum [2023-05-16T22:21:26.069Z] eaf3925da568: Download complete [2023-05-16T22:21:26.069Z] 339a4e72a1f5: Verifying Checksum [2023-05-16T22:21:26.069Z] 339a4e72a1f5: Download complete [2023-05-16T22:21:26.069Z] bde34c3a00c8: Download complete [2023-05-16T22:21:26.069Z] b352a97aabf1: Verifying Checksum [2023-05-16T22:21:26.069Z] b352a97aabf1: Download complete [2023-05-16T22:21:26.069Z] 4872d77fe225: Download complete [2023-05-16T22:21:26.069Z] 5851b861e8e6: Verifying Checksum [2023-05-16T22:21:26.069Z] 5851b861e8e6: Download complete [2023-05-16T22:21:26.069Z] b85a868b505f: Verifying Checksum [2023-05-16T22:21:26.069Z] b85a868b505f: Download complete [2023-05-16T22:21:26.335Z] bab4dde63d76: Verifying Checksum [2023-05-16T22:21:26.335Z] bab4dde63d76: Download complete [2023-05-16T22:21:27.285Z] b85a868b505f: Pull complete [2023-05-16T22:21:27.285Z] e2be974225ed: Pull complete [2023-05-16T22:21:27.855Z] 339a4e72a1f5: Pull complete [2023-05-16T22:21:27.855Z] 988bab9f4d93: Pull complete [2023-05-16T22:21:28.116Z] 1469e6f7b9e6: Pull complete [2023-05-16T22:21:28.116Z] eaf3925da568: Pull complete [2023-05-16T22:21:30.022Z] bab4dde63d76: Pull complete [2023-05-16T22:21:30.022Z] bde34c3a00c8: Pull complete [2023-05-16T22:21:30.022Z] b352a97aabf1: Pull complete [2023-05-16T22:21:30.022Z] 4872d77fe225: Pull complete [2023-05-16T22:21:30.281Z] 5851b861e8e6: Pull complete [2023-05-16T22:21:30.281Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2023-05-16T22:21:30.281Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-05-16T22:21:30.281Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-05-16T22:21:30.378Z] prd-ubuntu20.04-docker-8c-8g-15789 does not seem to be running inside a container [2023-05-16T22:21:30.417Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-rest-go_PR-318 -v /w/workspace/gexfoundry_device-rest-go_PR-318:/w/workspace/gexfoundry_device-rest-go_PR-318:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-318@tmp:/w/workspace/gexfoundry_device-rest-go_PR-318@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2023-05-16T22:21:32.650Z] $ docker top 3a4dcb4c6843ba8cef2efa5ed65c8a0fab50c4b477d916d0d0bb2d836074ad69 -eo pid,comm [2023-05-16T22:21:32.707Z] ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). [2023-05-16T22:21:32.707Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-05-16T22:21:32.747Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-05-16T22:21:32.747Z] [ssh-agent] Looking for ssh-agent implementation... [2023-05-16T22:21:32.852Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-05-16T22:21:32.858Z] $ docker exec 3a4dcb4c6843ba8cef2efa5ed65c8a0fab50c4b477d916d0d0bb2d836074ad69 ssh-agent [2023-05-16T22:21:32.975Z] SSH_AUTH_SOCK=/tmp/ssh-iJaEMKHDteCl/agent.33 [2023-05-16T22:21:32.975Z] SSH_AGENT_PID=40 [2023-05-16T22:21:32.983Z] Running ssh-add (command line suppressed) [2023-05-16T22:21:33.087Z] Identity added: /w/workspace/gexfoundry_device-rest-go_PR-318@tmp/private_key_14119725146619788976.key (/w/workspace/gexfoundry_device-rest-go_PR-318@tmp/private_key_14119725146619788976.key) [2023-05-16T22:21:33.097Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-05-16T22:21:33.388Z] + git tag --points-at HEAD [Pipeline] } [2023-05-16T22:21:33.404Z] $ docker exec --env ******** --env ******** 3a4dcb4c6843ba8cef2efa5ed65c8a0fab50c4b477d916d0d0bb2d836074ad69 ssh-agent -k [2023-05-16T22:21:33.511Z] unset SSH_AUTH_SOCK; [2023-05-16T22:21:33.511Z] unset SSH_AGENT_PID; [2023-05-16T22:21:33.511Z] echo Agent pid 40 killed; [2023-05-16T22:21:33.519Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2023-05-16T22:21:33.547Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-05-16T22:21:33.547Z] [ssh-agent] Looking for ssh-agent implementation... [2023-05-16T22:21:33.653Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-05-16T22:21:33.659Z] $ docker exec 3a4dcb4c6843ba8cef2efa5ed65c8a0fab50c4b477d916d0d0bb2d836074ad69 ssh-agent [2023-05-16T22:21:33.771Z] SSH_AUTH_SOCK=/tmp/ssh-uGKap8xObZ49/agent.73 [2023-05-16T22:21:33.771Z] SSH_AGENT_PID=80 [2023-05-16T22:21:33.776Z] Running ssh-add (command line suppressed) [2023-05-16T22:21:33.879Z] Identity added: /w/workspace/gexfoundry_device-rest-go_PR-318@tmp/private_key_7528206800331655522.key (/w/workspace/gexfoundry_device-rest-go_PR-318@tmp/private_key_7528206800331655522.key) [2023-05-16T22:21:33.892Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-05-16T22:21:34.182Z] + git semver init [2023-05-16T22:21:34.442Z] 2023-05-16 22:21:34,355 [run_init] DEBUG init version:0.0.0 force:False [2023-05-16T22:21:34.442Z] 2023-05-16 22:21:34,356 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/gexfoundry_device-rest-go_PR-318/.semver [2023-05-16T22:21:34.442Z] 2023-05-16 22:21:34,356 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-rest-go.git /w/workspace/gexfoundry_device-rest-go_PR-318/.semver [2023-05-16T22:21:34.442Z] 2023-05-16 22:21:34,357 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-rest-go.git', '/w/workspace/gexfoundry_device-rest-go_PR-318/.semver'], cwd=/w/workspace/gexfoundry_device-rest-go_PR-318, universal_newlines=False, shell=None, istream=None) [2023-05-16T22:21:35.380Z] 2023-05-16 22:21:35,300 [append_file] DEBUG append to file:/w/workspace/gexfoundry_device-rest-go_PR-318/.git/info/exclude [2023-05-16T22:21:35.380Z] 2023-05-16 22:21:35,301 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/gexfoundry_device-rest-go_PR-318/.semver/PR-318 with force:False [2023-05-16T22:21:35.380Z] 2023-05-16 22:21:35,301 [write_file] DEBUG write to file:/w/workspace/gexfoundry_device-rest-go_PR-318/.semver/PR-318 [2023-05-16T22:21:35.380Z] 2023-05-16 22:21:35,305 [execute] INFO git cat-file --batch-check [2023-05-16T22:21:35.380Z] 2023-05-16 22:21:35,305 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/gexfoundry_device-rest-go_PR-318/.semver, universal_newlines=False, shell=None, istream=) [2023-05-16T22:21:35.381Z] 2023-05-16 22:21:35,312 [execute] INFO git cat-file --batch [2023-05-16T22:21:35.381Z] 2023-05-16 22:21:35,312 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/gexfoundry_device-rest-go_PR-318/.semver, universal_newlines=False, shell=None, istream=) [2023-05-16T22:21:35.381Z] 2023-05-16 22:21:35,317 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-rest-go_PR-318/.semver/PR-318 [2023-05-16T22:21:35.381Z] 0.0.0 [Pipeline] } [2023-05-16T22:21:35.395Z] $ docker exec --env ******** --env ******** 3a4dcb4c6843ba8cef2efa5ed65c8a0fab50c4b477d916d0d0bb2d836074ad69 ssh-agent -k [2023-05-16T22:21:35.498Z] unset SSH_AUTH_SOCK; [2023-05-16T22:21:35.499Z] unset SSH_AGENT_PID; [2023-05-16T22:21:35.499Z] echo Agent pid 80 killed; [2023-05-16T22:21:35.505Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-05-16T22:21:35.805Z] + git semver [Pipeline] } [2023-05-16T22:21:36.085Z] $ docker stop --time=1 3a4dcb4c6843ba8cef2efa5ed65c8a0fab50c4b477d916d0d0bb2d836074ad69 [2023-05-16T22:21:37.378Z] $ docker rm -f --volumes 3a4dcb4c6843ba8cef2efa5ed65c8a0fab50c4b477d916d0d0bb2d836074ad69 [Pipeline] // withDockerContainer [Pipeline] sh [2023-05-16T22:21:37.710Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2023-05-16T22:21:37.924Z] Stashed 1 file(s) [Pipeline] echo [2023-05-16T22:21:37.928Z] [edgeXSemver]: initialized semver on version 0.0.0 [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] parallel [Pipeline] { (Branch: amd64) [Pipeline] { (Branch: arm64) [Pipeline] stage [Pipeline] { (amd64) [Pipeline] stage [Pipeline] { (arm64) [Pipeline] withEnv [Pipeline] { [Pipeline] node [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-05-16T22:21:38.069Z] provisioning config files... [2023-05-16T22:21:38.078Z] copy managed file [device-rest-go-settings] to file:/w/workspace/gexfoundry_device-rest-go_PR-318@tmp/config10457025314084988129tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-05-16T22:21:38.378Z] ---> docker-login.sh [2023-05-16T22:21:38.378Z] nexus3.edgexfoundry.org:10001 [2023-05-16T22:21:38.378Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-16T22:21:38.379Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-16T22:21:38.379Z] Configure a credential helper to remove this warning. See [2023-05-16T22:21:38.379Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-16T22:21:38.379Z] [2023-05-16T22:21:38.379Z] Login Succeeded [2023-05-16T22:21:38.379Z] nexus3.edgexfoundry.org:10002 [2023-05-16T22:21:38.379Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-16T22:21:38.379Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-16T22:21:38.379Z] Configure a credential helper to remove this warning. See [2023-05-16T22:21:38.379Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-16T22:21:38.379Z] [2023-05-16T22:21:38.379Z] Login Succeeded [2023-05-16T22:21:38.379Z] nexus3.edgexfoundry.org:10003 [2023-05-16T22:21:38.639Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-16T22:21:38.639Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-16T22:21:38.639Z] Configure a credential helper to remove this warning. See [2023-05-16T22:21:38.639Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-16T22:21:38.639Z] [2023-05-16T22:21:38.639Z] Login Succeeded [2023-05-16T22:21:38.639Z] nexus3.edgexfoundry.org:10004 [2023-05-16T22:21:38.639Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-16T22:21:38.639Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-16T22:21:38.639Z] Configure a credential helper to remove this warning. See [2023-05-16T22:21:38.639Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-16T22:21:38.639Z] [2023-05-16T22:21:38.639Z] Login Succeeded [2023-05-16T22:21:38.639Z] docker.io [2023-05-16T22:21:38.639Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-16T22:21:38.899Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-16T22:21:38.899Z] Configure a credential helper to remove this warning. See [2023-05-16T22:21:38.899Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-16T22:21:38.899Z] [2023-05-16T22:21:38.899Z] Login Succeeded [2023-05-16T22:21:38.899Z] ---> docker-login.sh ends [Pipeline] } [2023-05-16T22:21:38.906Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-05-16T22:21:38.967Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-05-16T22:21:38.978Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-05-16T22:21:38.985Z] ========================================================= [2023-05-16T22:21:38.985Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine] [2023-05-16T22:21:38.985Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-16T22:21:39.297Z] + docker build -t ci-base-image-x86_64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine --build-arg MAKE=echo noop --target=builder . [2023-05-16T22:21:39.297Z] Sending build context to Docker daemon 10.93MB [2023-05-16T22:21:39.297Z] Step 1/12 : ARG BASE=golang:1.20-alpine3.17 [2023-05-16T22:21:39.297Z] Step 2/12 : FROM ${BASE} AS builder [2023-05-16T22:21:39.297Z] 1.20-alpine: Pulling from edgex-devops/edgex-golang-base [2023-05-16T22:21:39.297Z] f56be85fc22e: Pulling fs layer [2023-05-16T22:21:39.297Z] 85791d961cd3: Pulling fs layer [2023-05-16T22:21:39.297Z] d694b5ae8c79: Pulling fs layer [2023-05-16T22:21:39.297Z] 9f32a84ed3da: Pulling fs layer [2023-05-16T22:21:39.297Z] 4d19c01a9841: Pulling fs layer [2023-05-16T22:21:39.297Z] 9325e15d5711: Pulling fs layer [2023-05-16T22:21:39.297Z] 556b6ee489ea: Pulling fs layer [2023-05-16T22:21:39.297Z] c5a4b2cf53e6: Pulling fs layer [2023-05-16T22:21:39.297Z] 9f32a84ed3da: Waiting [2023-05-16T22:21:39.297Z] c5a4b2cf53e6: Waiting [2023-05-16T22:21:39.297Z] 4d19c01a9841: Waiting [2023-05-16T22:21:39.297Z] 85791d961cd3: Download complete [2023-05-16T22:21:39.297Z] 9f32a84ed3da: Verifying Checksum [2023-05-16T22:21:39.297Z] 9f32a84ed3da: Download complete [2023-05-16T22:21:41.019Z] 4d19c01a9841: Download complete [2023-05-16T22:21:41.019Z] f56be85fc22e: Verifying Checksum [2023-05-16T22:21:41.019Z] f56be85fc22e: Download complete [2023-05-16T22:21:41.019Z] 9325e15d5711: Verifying Checksum [2023-05-16T22:21:41.019Z] 9325e15d5711: Download complete [2023-05-16T22:21:41.019Z] f56be85fc22e: Pull complete [2023-05-16T22:21:41.281Z] 85791d961cd3: Pull complete [2023-05-16T22:21:41.542Z] c5a4b2cf53e6: Verifying Checksum [2023-05-16T22:21:41.542Z] c5a4b2cf53e6: Download complete [2023-05-16T22:21:41.542Z] d694b5ae8c79: Verifying Checksum [2023-05-16T22:21:41.542Z] d694b5ae8c79: Download complete [2023-05-16T22:21:41.801Z] 556b6ee489ea: Verifying Checksum [2023-05-16T22:21:41.801Z] 556b6ee489ea: Download complete [2023-05-16T22:21:45.096Z] d694b5ae8c79: Pull complete [2023-05-16T22:21:45.096Z] 9f32a84ed3da: Pull complete [2023-05-16T22:21:45.096Z] 4d19c01a9841: Pull complete [2023-05-16T22:21:45.096Z] 9325e15d5711: Pull complete [2023-05-16T22:21:47.643Z] 556b6ee489ea: Pull complete [2023-05-16T22:21:48.212Z] c5a4b2cf53e6: Pull complete [2023-05-16T22:21:48.212Z] Digest: sha256:cdb650785bd12602035d3ff87499385c169773a4d12d6eaf394b34464d3a0f2b [2023-05-16T22:21:48.212Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine [2023-05-16T22:21:48.212Z] ---> c4be618373d6 [2023-05-16T22:21:48.212Z] Step 3/12 : ARG ADD_BUILD_TAGS="" [2023-05-16T22:21:50.750Z] ---> Running in b6e67ae298aa [2023-05-16T22:21:50.750Z] Removing intermediate container b6e67ae298aa [2023-05-16T22:21:50.750Z] ---> ecaf92cd74ba [2023-05-16T22:21:50.750Z] Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-05-16T22:21:51.008Z] ---> Running in ee3b1bbbaa33 [2023-05-16T22:21:51.008Z] Removing intermediate container ee3b1bbbaa33 [2023-05-16T22:21:51.008Z] ---> 54186f30b7cf [2023-05-16T22:21:51.008Z] Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client" [2023-05-16T22:21:51.008Z] ---> Running in 1bf996d411fe [2023-05-16T22:21:51.008Z] Removing intermediate container 1bf996d411fe [2023-05-16T22:21:51.008Z] ---> f46803dcdba2 [2023-05-16T22:21:51.008Z] Step 6/12 : ARG ALPINE_PKG_EXTRA="" [2023-05-16T22:21:51.269Z] ---> Running in 9bb00691a4ee [2023-05-16T22:21:51.269Z] Removing intermediate container 9bb00691a4ee [2023-05-16T22:21:51.269Z] ---> 747d40e413c0 [2023-05-16T22:21:51.269Z] Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-05-16T22:21:51.269Z] ---> Running in b313293878a2 [2023-05-16T22:21:51.528Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz [2023-05-16T22:21:51.787Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz [2023-05-16T22:21:51.787Z] (1/4) Installing openssh-keygen (9.1_p1-r3) [2023-05-16T22:21:51.787Z] (2/4) Installing libedit (20221030.3.1-r0) [2023-05-16T22:21:51.787Z] (3/4) Installing openssh-client-common (9.1_p1-r3) [2023-05-16T22:21:51.787Z] (4/4) Installing openssh-client-default (9.1_p1-r3) [2023-05-16T22:21:51.787Z] Executing busybox-1.35.0-r29.trigger [2023-05-16T22:21:51.787Z] OK: 269 MiB in 57 packages [2023-05-16T22:21:52.355Z] Removing intermediate container b313293878a2 [2023-05-16T22:21:52.355Z] ---> 3c13ab864c0e [2023-05-16T22:21:52.355Z] Step 8/12 : WORKDIR /device-rest-go [2023-05-16T22:21:52.355Z] ---> Running in b989d114284f [2023-05-16T22:21:52.355Z] Removing intermediate container b989d114284f [2023-05-16T22:21:52.355Z] ---> 98c4562dd160 [2023-05-16T22:21:52.355Z] Step 9/12 : COPY go.mod vendor* ./ [2023-05-16T22:21:52.613Z] ---> b951212fa0a5 [2023-05-16T22:21:52.613Z] Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-05-16T22:21:52.613Z] ---> Running in 5379eba3cd49 [2023-05-16T22:21:53.039Z] Still waiting to schedule task [2023-05-16T22:21:53.039Z] Waiting for next available executor on ‘prd-ubuntu20.04-docker-arm64-4c-16g-15786’ [2023-05-16T22:22:19.188Z] Removing intermediate container 5379eba3cd49 [2023-05-16T22:22:19.188Z] ---> b62b0bbe06c6 [2023-05-16T22:22:19.188Z] Step 11/12 : COPY . . [2023-05-16T22:22:19.188Z] ---> ab16cba55acd [2023-05-16T22:22:19.188Z] Step 12/12 : RUN $MAKE [2023-05-16T22:22:19.188Z] ---> Running in d94ea0254785 [2023-05-16T22:22:19.188Z] noop [2023-05-16T22:22:19.188Z] Removing intermediate container d94ea0254785 [2023-05-16T22:22:19.188Z] ---> a6160e32ad53 [2023-05-16T22:22:19.188Z] Successfully built a6160e32ad53 [2023-05-16T22:22:19.188Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-16T22:22:19.497Z] + docker inspect -f . ci-base-image-x86_64 [2023-05-16T22:22:19.497Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-05-16T22:22:19.567Z] prd-ubuntu20.04-docker-8c-8g-15789 does not seem to be running inside a container [2023-05-16T22:22:19.600Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-rest-go_PR-318 -v /w/workspace/gexfoundry_device-rest-go_PR-318:/w/workspace/gexfoundry_device-rest-go_PR-318:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-318@tmp:/w/workspace/gexfoundry_device-rest-go_PR-318@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2023-05-16T22:22:19.907Z] $ docker top 08e972f58d2a80f82191e9293ec2e9d4535fc1f046ee523e0b210edba6947571 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-05-16T22:22:20.246Z] + go version [2023-05-16T22:22:20.246Z] go version go1.20.2 linux/amd64 [Pipeline] } [2023-05-16T22:22:20.260Z] $ docker stop --time=1 08e972f58d2a80f82191e9293ec2e9d4535fc1f046ee523e0b210edba6947571 [2023-05-16T22:22:21.504Z] $ docker rm -f --volumes 08e972f58d2a80f82191e9293ec2e9d4535fc1f046ee523e0b210edba6947571 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-16T22:22:21.922Z] + docker inspect -f . ci-base-image-x86_64 [2023-05-16T22:22:21.922Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-05-16T22:22:21.995Z] prd-ubuntu20.04-docker-8c-8g-15789 does not seem to be running inside a container [2023-05-16T22:22:22.030Z] $ 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-318 -v /w/workspace/gexfoundry_device-rest-go_PR-318:/w/workspace/gexfoundry_device-rest-go_PR-318:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-318@tmp:/w/workspace/gexfoundry_device-rest-go_PR-318@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2023-05-16T22:22:22.373Z] $ docker top a02591557ecce4e3aa3240231a036902815b1351a4a64dc2ad4fc6a0d76c22ef -eo pid,comm [Pipeline] { [Pipeline] sh [2023-05-16T22:22:22.721Z] + git config --global --add safe.directory /w/workspace/gexfoundry_device-rest-go_PR-318 [Pipeline] fileExists [Pipeline] sh [2023-05-16T22:22:23.019Z] + make test [2023-05-16T22:22:23.019Z] go test ./... -coverprofile=coverage.out ./... [2023-05-16T22:22:28.292Z] ? github.com/edgexfoundry/device-rest-go [no test files] [2023-05-16T22:22:38.262Z] ? github.com/edgexfoundry/device-rest-go/cmd [no test files] [2023-05-16T22:22:38.262Z] ok github.com/edgexfoundry/device-rest-go/driver 0.012s coverage: 32.2% of statements [2023-05-16T22:22:44.828Z] go vet ./... [2023-05-16T22:22:49.012Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-05-16T22:22:49.012Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2023-05-16T22:22:49.012Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2023-05-16T22:22:49.025Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2023-05-16T22:22:49.040Z] $ docker stop --time=1 a02591557ecce4e3aa3240231a036902815b1351a4a64dc2ad4fc6a0d76c22ef [2023-05-16T22:22:51.970Z] $ docker rm -f --volumes a02591557ecce4e3aa3240231a036902815b1351a4a64dc2ad4fc6a0d76c22ef [Pipeline] // withDockerContainer [Pipeline] sh [2023-05-16T22:22:52.447Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2023-05-16T22:22:52.485Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2023-05-16T22:22:52.998Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-05-16T22:22:53.382Z] + ls -al . [2023-05-16T22:22:53.382Z] total 184 [2023-05-16T22:22:53.382Z] drwxrwxr-x 9 jenkins jenkins 4096 May 16 22:22 . [2023-05-16T22:22:53.382Z] drwxrwxr-x 4 jenkins jenkins 4096 May 16 22:21 .. [2023-05-16T22:22:53.382Z] -rw-rw-r-- 1 jenkins jenkins 151 May 16 22:21 .dockerignore [2023-05-16T22:22:53.382Z] drwxrwxr-x 8 jenkins jenkins 4096 May 16 22:21 .git [2023-05-16T22:22:53.382Z] drwxrwxr-x 3 jenkins jenkins 4096 May 16 22:21 .github [2023-05-16T22:22:53.382Z] -rw-rw-r-- 1 jenkins jenkins 329 May 16 22:21 .gitignore [2023-05-16T22:22:53.382Z] -rw-rw-r-- 1 jenkins jenkins 41 May 16 22:21 .golangci.yml [2023-05-16T22:22:53.382Z] drwxr-xr-x 3 jenkins jenkins 4096 May 16 22:21 .semver [2023-05-16T22:22:53.382Z] -rw-rw-r-- 1 jenkins jenkins 9331 May 16 22:21 Attribution.txt [2023-05-16T22:22:53.382Z] -rw-rw-r-- 1 jenkins jenkins 13085 May 16 22:21 CHANGELOG.md [2023-05-16T22:22:53.382Z] -rw-rw-r-- 1 jenkins jenkins 1578 May 16 22:21 Dockerfile [2023-05-16T22:22:53.382Z] -rw-rw-r-- 1 jenkins jenkins 677 May 16 22:21 GOVERNANCE.md [2023-05-16T22:22:53.382Z] -rw-rw-r-- 1 jenkins jenkins 680 May 16 22:21 Jenkinsfile [2023-05-16T22:22:53.382Z] -rw-rw-r-- 1 jenkins jenkins 11340 May 16 22:21 LICENSE [2023-05-16T22:22:53.382Z] -rw-rw-r-- 1 jenkins jenkins 1779 May 16 22:21 Makefile [2023-05-16T22:22:53.382Z] -rw-rw-r-- 1 jenkins jenkins 620 May 16 22:21 OWNERS.md [2023-05-16T22:22:53.382Z] -rw-rw-r-- 1 jenkins jenkins 15827 May 16 22:21 README.md [2023-05-16T22:22:53.382Z] -rw-rw-r-- 1 jenkins jenkins 5 May 16 22:21 VERSION [2023-05-16T22:22:53.382Z] drwxrwxr-x 2 jenkins jenkins 4096 May 16 22:21 bin [2023-05-16T22:22:53.382Z] drwxrwxr-x 3 jenkins jenkins 4096 May 16 22:21 cmd [2023-05-16T22:22:53.382Z] -rw-r--r-- 1 jenkins jenkins 14663 May 16 22:22 coverage.out [2023-05-16T22:22:53.382Z] drwxrwxr-x 2 jenkins jenkins 4096 May 16 22:21 driver [2023-05-16T22:22:53.382Z] -rw-rw-r-- 1 jenkins jenkins 3402 May 16 22:21 go.mod [2023-05-16T22:22:53.382Z] -rw-rw-r-- 1 jenkins jenkins 31328 May 16 22:21 go.sum [2023-05-16T22:22:53.382Z] drwxrwxr-x 4 jenkins jenkins 4096 May 16 22:21 snap [2023-05-16T22:22:53.382Z] -rw-rw-r-- 1 jenkins jenkins 713 May 16 22:21 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-16T22:22:53.709Z] + 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=6879e16c9873b7ee47a0ce6feb41051dd9546c53 --label arch=amd64 --label version=0.0.0 . [2023-05-16T22:22:53.709Z] Sending build context to Docker daemon 10.95MB [2023-05-16T22:22:53.709Z] Step 1/25 : ARG BASE=golang:1.20-alpine3.17 [2023-05-16T22:22:53.709Z] Step 2/25 : FROM ${BASE} AS builder [2023-05-16T22:22:53.709Z] ---> a6160e32ad53 [2023-05-16T22:22:53.709Z] Step 3/25 : ARG ADD_BUILD_TAGS="" [2023-05-16T22:22:53.709Z] ---> Running in 4edc1147d537 [2023-05-16T22:22:53.970Z] Removing intermediate container 4edc1147d537 [2023-05-16T22:22:53.970Z] ---> 16c565229855 [2023-05-16T22:22:53.970Z] Step 4/25 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-05-16T22:22:53.970Z] ---> Running in 1c36c312c68e [2023-05-16T22:22:53.970Z] Removing intermediate container 1c36c312c68e [2023-05-16T22:22:53.970Z] ---> a6e8ff97dee7 [2023-05-16T22:22:53.970Z] Step 5/25 : ARG ALPINE_PKG_BASE="make git openssh-client" [2023-05-16T22:22:53.970Z] ---> Running in 30115476029e [2023-05-16T22:22:53.970Z] Removing intermediate container 30115476029e [2023-05-16T22:22:53.970Z] ---> 3ace0600a630 [2023-05-16T22:22:53.970Z] Step 6/25 : ARG ALPINE_PKG_EXTRA="" [2023-05-16T22:22:54.229Z] ---> Running in 01a82983eb28 [2023-05-16T22:22:54.229Z] Removing intermediate container 01a82983eb28 [2023-05-16T22:22:54.230Z] ---> d21217278e69 [2023-05-16T22:22:54.230Z] Step 7/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-05-16T22:22:54.230Z] ---> Running in c8a37509d008 [2023-05-16T22:22:54.488Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz [2023-05-16T22:22:54.488Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz [2023-05-16T22:22:54.747Z] OK: 269 MiB in 57 packages [2023-05-16T22:22:55.007Z] Removing intermediate container c8a37509d008 [2023-05-16T22:22:55.007Z] ---> f56699639c4b [2023-05-16T22:22:55.007Z] Step 8/25 : WORKDIR /device-rest-go [2023-05-16T22:22:55.007Z] ---> Running in 7ed015ea6a1e [2023-05-16T22:22:55.267Z] Removing intermediate container 7ed015ea6a1e [2023-05-16T22:22:55.267Z] ---> 4a990547fd29 [2023-05-16T22:22:55.267Z] Step 9/25 : COPY go.mod vendor* ./ [2023-05-16T22:22:55.267Z] ---> bde0688dc7bd [2023-05-16T22:22:55.267Z] Step 10/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-05-16T22:22:55.267Z] ---> Running in 70d908a8bd66 [2023-05-16T22:22:56.220Z] Removing intermediate container 70d908a8bd66 [2023-05-16T22:22:56.220Z] ---> ce7040562dc6 [2023-05-16T22:22:56.220Z] Step 11/25 : COPY . . [2023-05-16T22:22:56.480Z] ---> 4d8d0b39e7c2 [2023-05-16T22:22:56.480Z] Step 12/25 : RUN $MAKE [2023-05-16T22:22:56.480Z] ---> Running in 722e655d3936 [2023-05-16T22:22:56.737Z] CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-rest-go.Version=0.0.0" -trimpath -mod=readonly -o cmd/device-rest ./cmd [2023-05-16T22:23:18.672Z] Removing intermediate container 722e655d3936 [2023-05-16T22:23:18.672Z] ---> 810cbac10c87 [2023-05-16T22:23:18.672Z] Step 13/25 : FROM alpine:3.17 [2023-05-16T22:23:18.672Z] 3.17: Pulling from library/alpine [2023-05-16T22:23:18.672Z] f56be85fc22e: Already exists [2023-05-16T22:23:18.672Z] Digest: sha256:124c7d2707904eea7431fffe91522a01e5a861a624ee31d03372cc1d138a3126 [2023-05-16T22:23:18.672Z] Status: Downloaded newer image for alpine:3.17 [2023-05-16T22:23:18.672Z] ---> 9ed4aefc74f6 [2023-05-16T22:23:18.672Z] Step 14/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' [2023-05-16T22:23:18.672Z] ---> Running in a99532f840d9 [2023-05-16T22:23:18.672Z] Removing intermediate container a99532f840d9 [2023-05-16T22:23:18.672Z] ---> a61a8059d398 [2023-05-16T22:23:18.672Z] Step 15/25 : LABEL Name=device-rest-go Version=${VERSION} [2023-05-16T22:23:18.672Z] ---> Running in 88bee505253a [2023-05-16T22:23:18.672Z] Removing intermediate container 88bee505253a [2023-05-16T22:23:18.672Z] ---> 4e5846e4aee8 [2023-05-16T22:23:18.672Z] Step 16/25 : RUN apk add --update --no-cache dumb-init [2023-05-16T22:23:18.672Z] ---> Running in a60789baa211 [2023-05-16T22:23:18.672Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz [2023-05-16T22:23:18.672Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz [2023-05-16T22:23:18.672Z] (1/1) Installing dumb-init (1.2.5-r2) [2023-05-16T22:23:18.672Z] Executing busybox-1.35.0-r29.trigger [2023-05-16T22:23:18.672Z] OK: 7 MiB in 16 packages [2023-05-16T22:23:18.672Z] Removing intermediate container a60789baa211 [2023-05-16T22:23:18.672Z] ---> e5461eea69e7 [2023-05-16T22:23:18.672Z] Step 17/25 : COPY --from=builder /device-rest-go/cmd / [2023-05-16T22:23:18.672Z] ---> 0beccc0e0735 [2023-05-16T22:23:18.672Z] Step 18/25 : COPY --from=builder /device-rest-go/LICENSE / [2023-05-16T22:23:18.672Z] ---> 012ae1b79b6d [2023-05-16T22:23:18.672Z] Step 19/25 : COPY --from=builder /device-rest-go/Attribution.txt / [2023-05-16T22:23:18.672Z] ---> a9423100bb77 [2023-05-16T22:23:18.672Z] Step 20/25 : EXPOSE 59986 [2023-05-16T22:23:18.672Z] ---> Running in a97610e33cde [2023-05-16T22:23:18.672Z] Removing intermediate container a97610e33cde [2023-05-16T22:23:18.672Z] ---> 4b212f3b25a7 [2023-05-16T22:23:18.672Z] Step 21/25 : ENTRYPOINT ["/device-rest"] [2023-05-16T22:23:18.672Z] ---> Running in f4feccecf390 [2023-05-16T22:23:18.672Z] Removing intermediate container f4feccecf390 [2023-05-16T22:23:18.672Z] ---> 398c8fabf155 [2023-05-16T22:23:18.672Z] Step 22/25 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry"] [2023-05-16T22:23:18.672Z] ---> Running in fdf1b7123c2b [2023-05-16T22:23:18.934Z] Removing intermediate container fdf1b7123c2b [2023-05-16T22:23:18.934Z] ---> dfc7dbe8cb67 [2023-05-16T22:23:18.934Z] Step 23/25 : LABEL arch=amd64 [2023-05-16T22:23:18.934Z] ---> Running in 1101cbcd4aad [2023-05-16T22:23:18.934Z] Removing intermediate container 1101cbcd4aad [2023-05-16T22:23:18.934Z] ---> dd80cf12fa02 [2023-05-16T22:23:18.934Z] Step 24/25 : LABEL git_sha=6879e16c9873b7ee47a0ce6feb41051dd9546c53 [2023-05-16T22:23:18.934Z] ---> Running in abd97b964699 [2023-05-16T22:23:18.934Z] Removing intermediate container abd97b964699 [2023-05-16T22:23:18.934Z] ---> d153082384c1 [2023-05-16T22:23:18.934Z] Step 25/25 : LABEL version=0.0.0 [2023-05-16T22:23:18.934Z] ---> Running in 893108a1f6d9 [2023-05-16T22:23:19.193Z] Removing intermediate container 893108a1f6d9 [2023-05-16T22:23:19.193Z] ---> 8ba57c395ee5 [2023-05-16T22:23:19.193Z] [Warning] One or more build-args [ARCH] were not consumed [2023-05-16T22:23:19.193Z] Successfully built 8ba57c395ee5 [2023-05-16T22:23:19.193Z] 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-05-16T22:23:19.670Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-05-16T22:23:19.671Z] [2023-05-16T22:23:19.671Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-16T22:23:19.971Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-05-16T22:23:19.971Z] latest: Pulling from edgex-lftools-log-publisher [2023-05-16T22:23:19.971Z] 5eb5b503b376: Pulling fs layer [2023-05-16T22:23:19.971Z] 5c69ac0246d0: Pulling fs layer [2023-05-16T22:23:19.971Z] ec43610c2a17: Pulling fs layer [2023-05-16T22:23:19.971Z] 3a2ae6a8a46f: Pulling fs layer [2023-05-16T22:23:19.971Z] 33b1e0a273af: Pulling fs layer [2023-05-16T22:23:19.971Z] 5d3b04190fa2: Pulling fs layer [2023-05-16T22:23:19.971Z] 2f39f015ded8: Pulling fs layer [2023-05-16T22:23:19.971Z] 5d3b04190fa2: Waiting [2023-05-16T22:23:19.971Z] 33b1e0a273af: Waiting [2023-05-16T22:23:19.971Z] 2f39f015ded8: Waiting [2023-05-16T22:23:19.971Z] 3a2ae6a8a46f: Waiting [2023-05-16T22:23:19.971Z] 5c69ac0246d0: Download complete [2023-05-16T22:23:19.971Z] 3a2ae6a8a46f: Verifying Checksum [2023-05-16T22:23:19.971Z] 3a2ae6a8a46f: Download complete [2023-05-16T22:23:19.971Z] 33b1e0a273af: Verifying Checksum [2023-05-16T22:23:19.971Z] 33b1e0a273af: Download complete [2023-05-16T22:23:20.230Z] 5d3b04190fa2: Verifying Checksum [2023-05-16T22:23:20.230Z] 5d3b04190fa2: Download complete [2023-05-16T22:23:20.230Z] ec43610c2a17: Verifying Checksum [2023-05-16T22:23:20.230Z] ec43610c2a17: Download complete [2023-05-16T22:23:20.230Z] 5eb5b503b376: Verifying Checksum [2023-05-16T22:23:20.230Z] 5eb5b503b376: Download complete [2023-05-16T22:23:20.797Z] 2f39f015ded8: Download complete [2023-05-16T22:23:21.366Z] 5eb5b503b376: Pull complete [2023-05-16T22:23:21.624Z] 5c69ac0246d0: Pull complete [2023-05-16T22:23:22.193Z] ec43610c2a17: Pull complete [2023-05-16T22:23:22.193Z] 3a2ae6a8a46f: Pull complete [2023-05-16T22:23:22.452Z] 33b1e0a273af: Pull complete [2023-05-16T22:23:22.452Z] 5d3b04190fa2: Pull complete [2023-05-16T22:23:27.723Z] 2f39f015ded8: Pull complete [2023-05-16T22:23:27.723Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2023-05-16T22:23:27.723Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-05-16T22:23:27.723Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-05-16T22:23:27.802Z] prd-ubuntu20.04-docker-8c-8g-15789 does not seem to be running inside a container [2023-05-16T22:23:27.838Z] $ 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-318 -v /w/workspace/gexfoundry_device-rest-go_PR-318:/w/workspace/gexfoundry_device-rest-go_PR-318:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-318@tmp:/w/workspace/gexfoundry_device-rest-go_PR-318@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-05-16T22:23:31.490Z] $ docker top d064b404d057bbade979effae637a8cc52badb162220a9a4d0977f4d51512800 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-05-16T22:23:31.871Z] ---> job-cost.sh [2023-05-16T22:23:31.872Z] lf-activate-venv: SKIPPING [2023-05-16T22:23:31.872Z] INFO: No Stack... [2023-05-16T22:23:32.132Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-05-16T22:23:32.392Z] INFO: Archiving Costs [Pipeline] sh [2023-05-16T22:23:32.683Z] + cat /w/workspace/gexfoundry_device-rest-go_PR-318/archives/cost.csv [2023-05-16T22:23:32.683Z] + cut -d, -f6 [Pipeline] lock [2023-05-16T22:23:32.697Z] Trying to acquire lock on [jenkins-edgexfoundry-device-rest-go-PR-318-4-stack-cost] [2023-05-16T22:23:32.704Z] Resource [jenkins-edgexfoundry-device-rest-go-PR-318-4-stack-cost] did not exist. Created. [2023-05-16T22:23:32.705Z] Lock acquired on [jenkins-edgexfoundry-device-rest-go-PR-318-4-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-05-16T22:23:33.008Z] + echo total: 0.2199999988079071 [Pipeline] stash [2023-05-16T22:23:33.031Z] Stashed 1 file(s) [Pipeline] } [2023-05-16T22:23:33.037Z] Lock released on resource [jenkins-edgexfoundry-device-rest-go-PR-318-4-stack-cost] [Pipeline] // lock [Pipeline] } [2023-05-16T22:23:33.058Z] $ docker stop --time=1 d064b404d057bbade979effae637a8cc52badb162220a9a4d0977f4d51512800 [2023-05-16T22:23:34.221Z] $ docker rm -f --volumes d064b404d057bbade979effae637a8cc52badb162220a9a4d0977f4d51512800 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2023-05-16T22:24:27.962Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-15792 in /w/workspace/gexfoundry_device-rest-go_PR-318 [Pipeline] { [Pipeline] ws [2023-05-16T22:24:27.980Z] Running in /w/workspace/device-rest-go/4 [Pipeline] { [Pipeline] checkout [2023-05-16T22:24:28.030Z] The recommended git tool is: git [2023-05-16T22:24:35.060Z] using credential edgex-jenkins-ssh [2023-05-16T22:24:35.076Z] Cloning the remote Git repository [2023-05-16T22:24:35.142Z] Cloning repository git@github.com:edgexfoundry/device-rest-go.git [2023-05-16T22:24:35.276Z] > git init /w/workspace/device-rest-go/4 # timeout=10 [2023-05-16T22:24:35.483Z] Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git [2023-05-16T22:24:35.485Z] > git --version # timeout=10 [2023-05-16T22:24:35.520Z] > git --version # 'git version 2.25.1' [2023-05-16T22:24:35.524Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-05-16T22:24:35.726Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-05-16T22:24:37.713Z] > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 [2023-05-16T22:24:37.743Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-05-16T22:24:39.487Z] Merging remotes/origin/main commit 47b604616574ded3ba804dffb2a679ce0d70252d into PR head commit 6879e16c9873b7ee47a0ce6feb41051dd9546c53 [2023-05-16T22:24:39.815Z] Merge succeeded, producing 6879e16c9873b7ee47a0ce6feb41051dd9546c53 [2023-05-16T22:24:39.815Z] Checking out Revision 6879e16c9873b7ee47a0ce6feb41051dd9546c53 (PR-318) [2023-05-16T22:24:38.870Z] > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 [2023-05-16T22:24:38.928Z] Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git [2023-05-16T22:24:38.929Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-05-16T22:24:38.956Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/pull/318/head:refs/remotes/origin/PR-318 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2023-05-16T22:24:39.512Z] > git config core.sparsecheckout # timeout=10 [2023-05-16T22:24:39.588Z] > git checkout -f 6879e16c9873b7ee47a0ce6feb41051dd9546c53 # timeout=10 [2023-05-16T22:24:39.689Z] > git remote # timeout=10 [2023-05-16T22:24:39.714Z] > git config --get remote.origin.url # timeout=10 [2023-05-16T22:24:39.743Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-05-16T22:24:39.761Z] > git merge 47b604616574ded3ba804dffb2a679ce0d70252d # timeout=10 [2023-05-16T22:24:39.796Z] > git rev-parse HEAD^{commit} # timeout=10 [2023-05-16T22:24:39.825Z] > git config core.sparsecheckout # timeout=10 [2023-05-16T22:24:39.849Z] > git checkout -f 6879e16c9873b7ee47a0ce6feb41051dd9546c53 # timeout=10 [2023-05-16T22:24:40.448Z] Commit message: "build(deps): Bump github.com/spf13/cast from 1.5.0 to 1.5.1" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-05-16T22:24:41.373Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2023-05-16T22:24:41.373Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-05-16T22:24:41.373Z] Dload Upload Total Spent Left Speed [2023-05-16T22:24:41.373Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 200k 0 --:--:-- --:--:-- --:--:-- 200k [Pipeline] sh [2023-05-16T22:24:42.024Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2023-05-16T22:24:42.370Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2023-05-16T22:24:42.370Z] + sudo tee /etc/docker/daemon.new [2023-05-16T22:24:42.370Z] { [2023-05-16T22:24:42.370Z] "registry-mirrors": [ [2023-05-16T22:24:42.370Z] "https://nexus3.edgexfoundry.org:10001" [2023-05-16T22:24:42.370Z] ], [2023-05-16T22:24:42.370Z] "bip": "10.250.0.254/24", [2023-05-16T22:24:42.370Z] "hosts": [ [2023-05-16T22:24:42.370Z] "tcp://0.0.0.0:5555", [2023-05-16T22:24:42.370Z] "unix:///var/run/docker.sock" [2023-05-16T22:24:42.370Z] ], [2023-05-16T22:24:42.370Z] "mtu": 1458, [2023-05-16T22:24:42.370Z] "selinux-enabled": true, [2023-05-16T22:24:42.370Z] "seccomp-profile": "/etc/docker/seccomp.json" [2023-05-16T22:24:42.370Z] } [Pipeline] sh [2023-05-16T22:24:42.705Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2023-05-16T22:24:43.037Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-05-16T22:25:01.357Z] provisioning config files... [2023-05-16T22:25:01.394Z] copy managed file [device-rest-go-settings] to file:/w/workspace/device-rest-go/4@tmp/config17501639891644061529tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-05-16T22:25:01.791Z] ---> docker-login.sh [2023-05-16T22:25:01.791Z] nexus3.edgexfoundry.org:10001 [2023-05-16T22:25:02.392Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-16T22:25:02.392Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-16T22:25:02.392Z] Configure a credential helper to remove this warning. See [2023-05-16T22:25:02.392Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-16T22:25:02.392Z] [2023-05-16T22:25:02.392Z] Login Succeeded [2023-05-16T22:25:02.392Z] nexus3.edgexfoundry.org:10002 [2023-05-16T22:25:02.664Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-16T22:25:02.938Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-16T22:25:02.938Z] Configure a credential helper to remove this warning. See [2023-05-16T22:25:02.938Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-16T22:25:02.938Z] [2023-05-16T22:25:02.938Z] Login Succeeded [2023-05-16T22:25:02.938Z] nexus3.edgexfoundry.org:10003 [2023-05-16T22:25:03.213Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-16T22:25:03.213Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-16T22:25:03.213Z] Configure a credential helper to remove this warning. See [2023-05-16T22:25:03.213Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-16T22:25:03.213Z] [2023-05-16T22:25:03.213Z] Login Succeeded [2023-05-16T22:25:03.213Z] nexus3.edgexfoundry.org:10004 [2023-05-16T22:25:03.493Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-16T22:25:03.770Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-16T22:25:03.770Z] Configure a credential helper to remove this warning. See [2023-05-16T22:25:03.770Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-16T22:25:03.770Z] [2023-05-16T22:25:03.770Z] Login Succeeded [2023-05-16T22:25:03.770Z] docker.io [2023-05-16T22:25:04.041Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-16T22:25:04.315Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-16T22:25:04.315Z] Configure a credential helper to remove this warning. See [2023-05-16T22:25:04.315Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-16T22:25:04.315Z] [2023-05-16T22:25:04.315Z] Login Succeeded [2023-05-16T22:25:04.315Z] ---> docker-login.sh ends [Pipeline] } [2023-05-16T22:25:04.333Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-05-16T22:25:04.669Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-05-16T22:25:04.683Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-05-16T22:25:04.694Z] ========================================================= [2023-05-16T22:25:04.694Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine] [2023-05-16T22:25:04.694Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-16T22:25:05.043Z] + docker build -t ci-base-image-arm64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine --build-arg MAKE=echo noop --target=builder . [2023-05-16T22:25:05.043Z] Sending build context to Docker daemon 139.3kB [2023-05-16T22:25:05.319Z] Step 1/12 : ARG BASE=golang:1.20-alpine3.17 [2023-05-16T22:25:05.319Z] Step 2/12 : FROM ${BASE} AS builder [2023-05-16T22:25:05.319Z] 1.20-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2023-05-16T22:25:05.601Z] c41833b44d91: Pulling fs layer [2023-05-16T22:25:05.601Z] ed15518f5707: Pulling fs layer [2023-05-16T22:25:05.601Z] feae8fd75edb: Pulling fs layer [2023-05-16T22:25:05.601Z] 242c74f7c9fa: Pulling fs layer [2023-05-16T22:25:05.601Z] 3cdef696dda3: Pulling fs layer [2023-05-16T22:25:05.601Z] 2ced38df9373: Pulling fs layer [2023-05-16T22:25:05.601Z] 58f1dce35555: Pulling fs layer [2023-05-16T22:25:05.601Z] 242c74f7c9fa: Waiting [2023-05-16T22:25:05.601Z] 3cdef696dda3: Waiting [2023-05-16T22:25:05.601Z] 2ced38df9373: Waiting [2023-05-16T22:25:05.601Z] 58f1dce35555: Waiting [2023-05-16T22:25:05.601Z] ed15518f5707: Verifying Checksum [2023-05-16T22:25:05.601Z] ed15518f5707: Download complete [2023-05-16T22:25:05.601Z] 242c74f7c9fa: Verifying Checksum [2023-05-16T22:25:05.601Z] 242c74f7c9fa: Download complete [2023-05-16T22:25:05.601Z] 3cdef696dda3: Verifying Checksum [2023-05-16T22:25:05.601Z] 3cdef696dda3: Download complete [2023-05-16T22:25:05.601Z] c41833b44d91: Verifying Checksum [2023-05-16T22:25:05.601Z] c41833b44d91: Download complete [2023-05-16T22:25:06.579Z] c41833b44d91: Pull complete [2023-05-16T22:25:07.293Z] 58f1dce35555: Verifying Checksum [2023-05-16T22:25:07.293Z] 58f1dce35555: Download complete [2023-05-16T22:25:07.293Z] ed15518f5707: Pull complete [2023-05-16T22:25:08.311Z] feae8fd75edb: Verifying Checksum [2023-05-16T22:25:08.311Z] feae8fd75edb: Download complete [2023-05-16T22:25:08.594Z] 2ced38df9373: Verifying Checksum [2023-05-16T22:25:08.594Z] 2ced38df9373: Download complete [2023-05-16T22:25:20.957Z] feae8fd75edb: Pull complete [2023-05-16T22:25:20.957Z] 242c74f7c9fa: Pull complete [2023-05-16T22:25:20.957Z] 3cdef696dda3: Pull complete [2023-05-16T22:25:27.631Z] 2ced38df9373: Pull complete [2023-05-16T22:25:29.053Z] 58f1dce35555: Pull complete [2023-05-16T22:25:29.053Z] Digest: sha256:3b55595e96c696ae732e8cb20cde5b1ff7282a1fe1423a8de67617af8d15ea1e [2023-05-16T22:25:29.053Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine [2023-05-16T22:25:29.053Z] ---> fadd8f120f05 [2023-05-16T22:25:29.053Z] Step 3/12 : ARG ADD_BUILD_TAGS="" [2023-05-16T22:25:31.020Z] ---> Running in dcb8c00eb48f [2023-05-16T22:25:31.632Z] Removing intermediate container dcb8c00eb48f [2023-05-16T22:25:31.632Z] ---> fd21786d51fe [2023-05-16T22:25:31.632Z] Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-05-16T22:25:31.632Z] ---> Running in 571d4bcf3771 [2023-05-16T22:25:31.903Z] Removing intermediate container 571d4bcf3771 [2023-05-16T22:25:31.903Z] ---> 111c630c436f [2023-05-16T22:25:31.903Z] Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client" [2023-05-16T22:25:31.903Z] ---> Running in 86912c3e2c64 [2023-05-16T22:25:32.514Z] Removing intermediate container 86912c3e2c64 [2023-05-16T22:25:32.514Z] ---> ecf967315e0b [2023-05-16T22:25:32.514Z] Step 6/12 : ARG ALPINE_PKG_EXTRA="" [2023-05-16T22:25:32.514Z] ---> Running in d10f617bc517 [2023-05-16T22:25:32.790Z] Removing intermediate container d10f617bc517 [2023-05-16T22:25:32.790Z] ---> a3d162df87ed [2023-05-16T22:25:32.790Z] Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-05-16T22:25:32.790Z] ---> Running in 102c76359b8e [2023-05-16T22:25:34.221Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz [2023-05-16T22:25:34.807Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz [2023-05-16T22:25:36.222Z] (1/4) Installing openssh-keygen (9.1_p1-r3) [2023-05-16T22:25:36.222Z] (2/4) Installing libedit (20221030.3.1-r0) [2023-05-16T22:25:36.222Z] (3/4) Installing openssh-client-common (9.1_p1-r3) [2023-05-16T22:25:36.222Z] (4/4) Installing openssh-client-default (9.1_p1-r3) [2023-05-16T22:25:36.222Z] Executing busybox-1.35.0-r29.trigger [2023-05-16T22:25:36.222Z] OK: 268 MiB in 57 packages [2023-05-16T22:25:38.824Z] Removing intermediate container 102c76359b8e [2023-05-16T22:25:38.824Z] ---> 22bb76e570cb [2023-05-16T22:25:38.824Z] Step 8/12 : WORKDIR /device-rest-go [2023-05-16T22:25:38.824Z] ---> Running in 7e3f676fe57f [2023-05-16T22:25:38.824Z] Removing intermediate container 7e3f676fe57f [2023-05-16T22:25:38.824Z] ---> 0d5704ee638b [2023-05-16T22:25:38.824Z] Step 9/12 : COPY go.mod vendor* ./ [2023-05-16T22:25:39.434Z] ---> 491f38660b7c [2023-05-16T22:25:39.434Z] Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-05-16T22:25:39.434Z] ---> Running in a3e050edc453 [2023-05-16T22:26:47.367Z] Removing intermediate container a3e050edc453 [2023-05-16T22:26:47.367Z] ---> 4f1493dfc265 [2023-05-16T22:26:47.367Z] Step 11/12 : COPY . . [2023-05-16T22:26:47.971Z] ---> 8ea61c9975d9 [2023-05-16T22:26:47.971Z] Step 12/12 : RUN $MAKE [2023-05-16T22:26:47.971Z] ---> Running in b5c448b09213 [2023-05-16T22:26:48.952Z] noop [2023-05-16T22:26:49.941Z] Removing intermediate container b5c448b09213 [2023-05-16T22:26:49.941Z] ---> adadd97c7fe9 [2023-05-16T22:26:49.941Z] Successfully built adadd97c7fe9 [2023-05-16T22:26:49.941Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-16T22:26:50.291Z] + docker inspect -f . ci-base-image-arm64 [2023-05-16T22:26:50.291Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-05-16T22:26:50.510Z] prd-ubuntu20.04-docker-arm64-4c-16g-15792 does not seem to be running inside a container [2023-05-16T22:26:50.584Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-rest-go/4 -v /w/workspace/device-rest-go/4:/w/workspace/device-rest-go/4:rw,z -v /w/workspace/device-rest-go/4@tmp:/w/workspace/device-rest-go/4@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2023-05-16T22:26:51.821Z] $ docker top cac793ccc54c8718fb9684fc601a86386233b329e95c3411d2b4e9281877a531 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-05-16T22:26:52.662Z] + go version [2023-05-16T22:26:52.662Z] go version go1.20.2 linux/arm64 [Pipeline] } [2023-05-16T22:26:52.686Z] $ docker stop --time=1 cac793ccc54c8718fb9684fc601a86386233b329e95c3411d2b4e9281877a531 [2023-05-16T22:26:54.312Z] $ docker rm -f --volumes cac793ccc54c8718fb9684fc601a86386233b329e95c3411d2b4e9281877a531 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-16T22:26:54.870Z] + docker inspect -f . ci-base-image-arm64 [2023-05-16T22:26:54.870Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-05-16T22:26:55.063Z] prd-ubuntu20.04-docker-arm64-4c-16g-15792 does not seem to be running inside a container [2023-05-16T22:26:55.141Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/device-rest-go/4 -v /w/workspace/device-rest-go/4:/w/workspace/device-rest-go/4:rw,z -v /w/workspace/device-rest-go/4@tmp:/w/workspace/device-rest-go/4@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2023-05-16T22:26:56.497Z] $ docker top 3b5ec4b4a3ec98dc73449e5043def921193f6b24d8e31774a7d2039c2776ad4b -eo pid,comm [Pipeline] { [Pipeline] sh [2023-05-16T22:26:57.359Z] + git config --global --add safe.directory /w/workspace/device-rest-go/4 [Pipeline] fileExists [Pipeline] sh [2023-05-16T22:26:58.039Z] + make test [2023-05-16T22:26:58.039Z] go test ./... -coverprofile=coverage.out ./... [2023-05-16T22:27:36.980Z] ? github.com/edgexfoundry/device-rest-go [no test files] [2023-05-16T22:29:43.730Z] ? github.com/edgexfoundry/device-rest-go/cmd [no test files] [2023-05-16T22:29:47.998Z] ok github.com/edgexfoundry/device-rest-go/driver 0.068s coverage: 32.2% of statements [2023-05-16T22:29:48.271Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2023-05-16T22:29:48.271Z] go vet ./... [2023-05-16T22:30:20.551Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-05-16T22:30:20.551Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2023-05-16T22:30:20.551Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2023-05-16T22:30:20.573Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2023-05-16T22:30:20.594Z] $ docker stop --time=1 3b5ec4b4a3ec98dc73449e5043def921193f6b24d8e31774a7d2039c2776ad4b [2023-05-16T22:30:22.433Z] $ docker rm -f --volumes 3b5ec4b4a3ec98dc73449e5043def921193f6b24d8e31774a7d2039c2776ad4b [Pipeline] // withDockerContainer [Pipeline] sh [2023-05-16T22:30:23.654Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2023-05-16T22:30:23.670Z] Warning: overwriting stash ‘coverage-report’ [2023-05-16T22:30:24.191Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-05-16T22:30:24.588Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-05-16T22:30:24.911Z] + ls -al . [2023-05-16T22:30:24.911Z] total 180 [2023-05-16T22:30:24.911Z] drwxrwxr-x 8 jenkins jenkins 4096 May 16 22:27 . [2023-05-16T22:30:24.911Z] drwxrwxr-x 4 jenkins jenkins 4096 May 16 22:24 .. [2023-05-16T22:30:24.911Z] -rw-rw-r-- 1 jenkins jenkins 151 May 16 22:24 .dockerignore [2023-05-16T22:30:24.911Z] drwxrwxr-x 8 jenkins jenkins 4096 May 16 22:24 .git [2023-05-16T22:30:24.911Z] drwxrwxr-x 3 jenkins jenkins 4096 May 16 22:24 .github [2023-05-16T22:30:24.911Z] -rw-rw-r-- 1 jenkins jenkins 329 May 16 22:24 .gitignore [2023-05-16T22:30:24.911Z] -rw-rw-r-- 1 jenkins jenkins 41 May 16 22:24 .golangci.yml [2023-05-16T22:30:24.911Z] -rw-rw-r-- 1 jenkins jenkins 9331 May 16 22:24 Attribution.txt [2023-05-16T22:30:24.911Z] -rw-rw-r-- 1 jenkins jenkins 13085 May 16 22:24 CHANGELOG.md [2023-05-16T22:30:24.911Z] -rw-rw-r-- 1 jenkins jenkins 1578 May 16 22:24 Dockerfile [2023-05-16T22:30:24.911Z] -rw-rw-r-- 1 jenkins jenkins 677 May 16 22:24 GOVERNANCE.md [2023-05-16T22:30:24.911Z] -rw-rw-r-- 1 jenkins jenkins 680 May 16 22:24 Jenkinsfile [2023-05-16T22:30:24.911Z] -rw-rw-r-- 1 jenkins jenkins 11340 May 16 22:24 LICENSE [2023-05-16T22:30:24.911Z] -rw-rw-r-- 1 jenkins jenkins 1779 May 16 22:24 Makefile [2023-05-16T22:30:24.911Z] -rw-rw-r-- 1 jenkins jenkins 620 May 16 22:24 OWNERS.md [2023-05-16T22:30:24.911Z] -rw-rw-r-- 1 jenkins jenkins 15827 May 16 22:24 README.md [2023-05-16T22:30:24.911Z] -rw-rw-r-- 1 jenkins jenkins 5 May 16 22:21 VERSION [2023-05-16T22:30:24.911Z] drwxrwxr-x 2 jenkins jenkins 4096 May 16 22:24 bin [2023-05-16T22:30:24.911Z] drwxrwxr-x 3 jenkins jenkins 4096 May 16 22:24 cmd [2023-05-16T22:30:24.911Z] -rw-r--r-- 1 jenkins jenkins 14663 May 16 22:29 coverage.out [2023-05-16T22:30:24.911Z] drwxrwxr-x 2 jenkins jenkins 4096 May 16 22:24 driver [2023-05-16T22:30:24.911Z] -rw-rw-r-- 1 jenkins jenkins 3402 May 16 22:24 go.mod [2023-05-16T22:30:24.911Z] -rw-rw-r-- 1 jenkins jenkins 31328 May 16 22:24 go.sum [2023-05-16T22:30:24.911Z] drwxrwxr-x 4 jenkins jenkins 4096 May 16 22:24 snap [2023-05-16T22:30:24.911Z] -rw-rw-r-- 1 jenkins jenkins 713 May 16 22:24 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-16T22:30:25.257Z] + 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=6879e16c9873b7ee47a0ce6feb41051dd9546c53 --label arch=arm64 --label version=0.0.0 . [2023-05-16T22:30:25.257Z] Sending build context to Docker daemon 154.6kB [2023-05-16T22:30:25.527Z] Step 1/25 : ARG BASE=golang:1.20-alpine3.17 [2023-05-16T22:30:25.527Z] Step 2/25 : FROM ${BASE} AS builder [2023-05-16T22:30:25.527Z] ---> adadd97c7fe9 [2023-05-16T22:30:25.527Z] Step 3/25 : ARG ADD_BUILD_TAGS="" [2023-05-16T22:30:25.527Z] ---> Running in 65374ef4eb61 [2023-05-16T22:30:25.799Z] Removing intermediate container 65374ef4eb61 [2023-05-16T22:30:25.799Z] ---> ac80efbc96e9 [2023-05-16T22:30:25.799Z] Step 4/25 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-05-16T22:30:26.069Z] ---> Running in 353de271ab8d [2023-05-16T22:30:26.339Z] Removing intermediate container 353de271ab8d [2023-05-16T22:30:26.339Z] ---> 9c070e090df3 [2023-05-16T22:30:26.339Z] Step 5/25 : ARG ALPINE_PKG_BASE="make git openssh-client" [2023-05-16T22:30:26.339Z] ---> Running in 4978770175da [2023-05-16T22:30:26.609Z] Removing intermediate container 4978770175da [2023-05-16T22:30:26.609Z] ---> 7a8ac39db774 [2023-05-16T22:30:26.609Z] Step 6/25 : ARG ALPINE_PKG_EXTRA="" [2023-05-16T22:30:26.878Z] ---> Running in 9cf7453869df [2023-05-16T22:30:27.166Z] Removing intermediate container 9cf7453869df [2023-05-16T22:30:27.166Z] ---> bcbfb2fac6f6 [2023-05-16T22:30:27.166Z] Step 7/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-05-16T22:30:27.166Z] ---> Running in 1f61a8801c7c [2023-05-16T22:30:28.132Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz [2023-05-16T22:30:29.098Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz [2023-05-16T22:30:30.069Z] OK: 268 MiB in 57 packages [2023-05-16T22:30:31.044Z] Removing intermediate container 1f61a8801c7c [2023-05-16T22:30:31.044Z] ---> c289de86a5e2 [2023-05-16T22:30:31.044Z] Step 8/25 : WORKDIR /device-rest-go [2023-05-16T22:30:31.044Z] ---> Running in 5d1dcd92bf1d [2023-05-16T22:30:31.632Z] Removing intermediate container 5d1dcd92bf1d [2023-05-16T22:30:31.632Z] ---> e8c7789b5e7b [2023-05-16T22:30:31.632Z] Step 9/25 : COPY go.mod vendor* ./ [2023-05-16T22:30:32.221Z] ---> 2f2d7314f456 [2023-05-16T22:30:32.221Z] Step 10/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-05-16T22:30:32.221Z] ---> Running in a2feb5327e79 [2023-05-16T22:30:34.819Z] Removing intermediate container a2feb5327e79 [2023-05-16T22:30:34.819Z] ---> 69fc7e4c8db6 [2023-05-16T22:30:34.819Z] Step 11/25 : COPY . . [2023-05-16T22:30:35.417Z] ---> 641f3bf9f570 [2023-05-16T22:30:35.417Z] Step 12/25 : RUN $MAKE [2023-05-16T22:30:35.417Z] ---> Running in ac574641d9c4 [2023-05-16T22:30:36.839Z] CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-rest-go.Version=0.0.0" -trimpath -mod=readonly -o cmd/device-rest ./cmd [2023-05-16T22:32:58.527Z] Removing intermediate container ac574641d9c4 [2023-05-16T22:32:58.527Z] ---> 27043fe3c7d8 [2023-05-16T22:32:58.527Z] Step 13/25 : FROM alpine:3.17 [2023-05-16T22:32:58.527Z] 3.17: Pulling from library/alpine [2023-05-16T22:32:58.527Z] c41833b44d91: Already exists [2023-05-16T22:32:58.527Z] Digest: sha256:124c7d2707904eea7431fffe91522a01e5a861a624ee31d03372cc1d138a3126 [2023-05-16T22:32:58.527Z] Status: Downloaded newer image for alpine:3.17 [2023-05-16T22:32:58.527Z] ---> 51e60588ff2c [2023-05-16T22:32:58.527Z] Step 14/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' [2023-05-16T22:32:58.527Z] ---> Running in e8b5c5df722d [2023-05-16T22:32:58.527Z] Removing intermediate container e8b5c5df722d [2023-05-16T22:32:58.527Z] ---> c79550153411 [2023-05-16T22:32:58.528Z] Step 15/25 : LABEL Name=device-rest-go Version=${VERSION} [2023-05-16T22:32:58.528Z] ---> Running in f501db52e6a9 [2023-05-16T22:32:58.528Z] Removing intermediate container f501db52e6a9 [2023-05-16T22:32:58.528Z] ---> d1f6734f0331 [2023-05-16T22:32:58.528Z] Step 16/25 : RUN apk add --update --no-cache dumb-init [2023-05-16T22:32:58.528Z] ---> Running in 4ae6fc021f63 [2023-05-16T22:32:58.528Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz [2023-05-16T22:32:58.528Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz [2023-05-16T22:32:58.528Z] (1/1) Installing dumb-init (1.2.5-r2) [2023-05-16T22:32:58.528Z] Executing busybox-1.35.0-r29.trigger [2023-05-16T22:32:58.528Z] OK: 8 MiB in 16 packages [2023-05-16T22:32:58.528Z] Removing intermediate container 4ae6fc021f63 [2023-05-16T22:32:58.528Z] ---> 5cd65c213d12 [2023-05-16T22:32:58.528Z] Step 17/25 : COPY --from=builder /device-rest-go/cmd / [2023-05-16T22:32:58.528Z] ---> 2830bb5931a5 [2023-05-16T22:32:58.528Z] Step 18/25 : COPY --from=builder /device-rest-go/LICENSE / [2023-05-16T22:32:58.528Z] ---> f4eb39972f26 [2023-05-16T22:32:58.528Z] Step 19/25 : COPY --from=builder /device-rest-go/Attribution.txt / [2023-05-16T22:32:58.528Z] ---> 51f3efb8852e [2023-05-16T22:32:58.528Z] Step 20/25 : EXPOSE 59986 [2023-05-16T22:32:58.528Z] ---> Running in c9ea1b51c6d3 [2023-05-16T22:32:58.528Z] Removing intermediate container c9ea1b51c6d3 [2023-05-16T22:32:58.528Z] ---> 8f7186a6b5b6 [2023-05-16T22:32:58.528Z] Step 21/25 : ENTRYPOINT ["/device-rest"] [2023-05-16T22:32:58.528Z] ---> Running in 630b60cfe2d1 [2023-05-16T22:32:58.528Z] Removing intermediate container 630b60cfe2d1 [2023-05-16T22:32:58.528Z] ---> 9b9d01f066e3 [2023-05-16T22:32:58.528Z] Step 22/25 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry"] [2023-05-16T22:32:58.528Z] ---> Running in 5b6e2fedcec6 [2023-05-16T22:32:58.528Z] Removing intermediate container 5b6e2fedcec6 [2023-05-16T22:32:58.528Z] ---> c70adbe3e571 [2023-05-16T22:32:58.528Z] Step 23/25 : LABEL arch=arm64 [2023-05-16T22:32:58.528Z] ---> Running in 2390bbab9709 [2023-05-16T22:32:58.528Z] Removing intermediate container 2390bbab9709 [2023-05-16T22:32:58.528Z] ---> bf25430ff38a [2023-05-16T22:32:58.528Z] Step 24/25 : LABEL git_sha=6879e16c9873b7ee47a0ce6feb41051dd9546c53 [2023-05-16T22:32:58.528Z] ---> Running in c583ff75b4b9 [2023-05-16T22:32:58.528Z] Removing intermediate container c583ff75b4b9 [2023-05-16T22:32:58.528Z] ---> a22549113a4d [2023-05-16T22:32:58.528Z] Step 25/25 : LABEL version=0.0.0 [2023-05-16T22:32:58.528Z] ---> Running in 73b40746f70d [2023-05-16T22:32:58.528Z] Removing intermediate container 73b40746f70d [2023-05-16T22:32:58.528Z] ---> 6cf7fab7221d [2023-05-16T22:32:58.528Z] [Warning] One or more build-args [ARCH] were not consumed [2023-05-16T22:32:58.528Z] Successfully built 6cf7fab7221d [2023-05-16T22:32:58.528Z] Successfully tagged device-rest-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-16T22:32:58.976Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-05-16T22:32:58.976Z] [2023-05-16T22:32:58.976Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-16T22:32:59.306Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-05-16T22:32:59.307Z] arm64: Pulling from edgex-lftools-log-publisher [2023-05-16T22:32:59.307Z] 8998bd30e6a1: Pulling fs layer [2023-05-16T22:32:59.307Z] 04944245beec: Pulling fs layer [2023-05-16T22:32:59.307Z] 699f458cf7ca: Pulling fs layer [2023-05-16T22:32:59.307Z] 765212b225bb: Pulling fs layer [2023-05-16T22:32:59.307Z] f23df028b6ca: Pulling fs layer [2023-05-16T22:32:59.307Z] d65c8cfc05b1: Pulling fs layer [2023-05-16T22:32:59.307Z] 2437ff75d9bd: Pulling fs layer [2023-05-16T22:32:59.307Z] 765212b225bb: Waiting [2023-05-16T22:32:59.307Z] f23df028b6ca: Waiting [2023-05-16T22:32:59.307Z] d65c8cfc05b1: Waiting [2023-05-16T22:32:59.307Z] 2437ff75d9bd: Waiting [2023-05-16T22:32:59.580Z] 04944245beec: Verifying Checksum [2023-05-16T22:32:59.580Z] 04944245beec: Download complete [2023-05-16T22:32:59.580Z] 765212b225bb: Verifying Checksum [2023-05-16T22:32:59.580Z] 765212b225bb: Download complete [2023-05-16T22:32:59.580Z] f23df028b6ca: Verifying Checksum [2023-05-16T22:32:59.580Z] f23df028b6ca: Download complete [2023-05-16T22:32:59.580Z] d65c8cfc05b1: Verifying Checksum [2023-05-16T22:32:59.580Z] d65c8cfc05b1: Download complete [2023-05-16T22:32:59.580Z] 699f458cf7ca: Verifying Checksum [2023-05-16T22:32:59.580Z] 699f458cf7ca: Download complete [2023-05-16T22:33:00.166Z] 8998bd30e6a1: Verifying Checksum [2023-05-16T22:33:00.166Z] 8998bd30e6a1: Download complete [2023-05-16T22:33:02.261Z] 2437ff75d9bd: Verifying Checksum [2023-05-16T22:33:02.261Z] 2437ff75d9bd: Download complete [2023-05-16T22:33:04.286Z] 8998bd30e6a1: Pull complete [2023-05-16T22:33:04.892Z] 04944245beec: Pull complete [2023-05-16T22:33:06.333Z] 699f458cf7ca: Pull complete [2023-05-16T22:33:06.333Z] 765212b225bb: Pull complete [2023-05-16T22:33:07.299Z] f23df028b6ca: Pull complete [2023-05-16T22:33:07.299Z] d65c8cfc05b1: Pull complete [2023-05-16T22:33:22.311Z] 2437ff75d9bd: Pull complete [2023-05-16T22:33:22.311Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2023-05-16T22:33:22.311Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-05-16T22:33:22.311Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-05-16T22:33:22.517Z] prd-ubuntu20.04-docker-arm64-4c-16g-15792 does not seem to be running inside a container [2023-05-16T22:33:22.593Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/device-rest-go/4 -v /w/workspace/device-rest-go/4:/w/workspace/device-rest-go/4:rw,z -v /w/workspace/device-rest-go/4@tmp:/w/workspace/device-rest-go/4@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat [2023-05-16T22:33:25.232Z] $ docker top 13bee5d2a2ac0c6d2439676e58a3cec34a89d0b44bfce7de8973ac49201ce069 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-05-16T22:33:25.734Z] ---> job-cost.sh [2023-05-16T22:33:26.002Z] lf-activate-venv: SKIPPING [2023-05-16T22:33:26.002Z] INFO: No Stack... [2023-05-16T22:33:26.269Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2023-05-16T22:33:27.229Z] INFO: Archiving Costs [Pipeline] sh [2023-05-16T22:33:27.553Z] + cat /w/workspace/device-rest-go/4/archives/cost.csv [2023-05-16T22:33:27.553Z] + cut -d, -f6 [Pipeline] lock [2023-05-16T22:33:27.892Z] Trying to acquire lock on [jenkins-edgexfoundry-device-rest-go-PR-318-4-stack-cost] [2023-05-16T22:33:27.898Z] Resource [jenkins-edgexfoundry-device-rest-go-PR-318-4-stack-cost] did not exist. Created. [2023-05-16T22:33:27.898Z] Lock acquired on [jenkins-edgexfoundry-device-rest-go-PR-318-4-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-05-16T22:33:28.235Z] /w/workspace/device-rest-go/4@tmp/durable-ac51b4fb/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2023-05-16T22:33:28.891Z] + echo total: 0.10999999940395355 [Pipeline] stash [2023-05-16T22:33:28.914Z] Warning: overwriting stash ‘stack-cost’ [2023-05-16T22:33:28.959Z] Stashed 1 file(s) [Pipeline] } [2023-05-16T22:33:28.968Z] Lock released on resource [jenkins-edgexfoundry-device-rest-go-PR-318-4-stack-cost] [Pipeline] // lock [Pipeline] } [2023-05-16T22:33:28.989Z] $ docker stop --time=1 13bee5d2a2ac0c6d2439676e58a3cec34a89d0b44bfce7de8973ac49201ce069 [2023-05-16T22:33:30.459Z] $ docker rm -f --volumes 13bee5d2a2ac0c6d2439676e58a3cec34a89d0b44bfce7de8973ac49201ce069 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) [Pipeline] unstash [Pipeline] configFileProvider [2023-05-16T22:33:30.840Z] provisioning config files... [2023-05-16T22:33:30.848Z] copy managed file [device-rest-go-codecov-token] to file:/w/workspace/gexfoundry_device-rest-go_PR-318@tmp/config11813044635683450150tmp [Pipeline] { [Pipeline] sh [2023-05-16T22:33:31.142Z] + set +x [2023-05-16T22:33:31.142Z] + curl -s https://codecov.io/bash [2023-05-16T22:33:31.142Z] + bash -s -- [2023-05-16T22:33:31.142Z] [2023-05-16T22:33:31.142Z] _____ _ [2023-05-16T22:33:31.142Z] / ____| | | [2023-05-16T22:33:31.142Z] | | ___ __| | ___ ___ _____ __ [2023-05-16T22:33:31.142Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2023-05-16T22:33:31.142Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2023-05-16T22:33:31.142Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2023-05-16T22:33:31.142Z] Bash-1.0.6 [2023-05-16T22:33:31.142Z] [2023-05-16T22:33:31.142Z] [2023-05-16T22:33:31.142Z] ==> git version 2.25.1 found [2023-05-16T22:33:31.142Z] ==> curl 7.68.0 (x86_64-pc-linux-gnu) libcurl/7.68.0 OpenSSL/1.1.1f zlib/1.2.11 brotli/1.0.7 libidn2/2.2.0 libpsl/0.21.0 (+libidn2/2.2.0) libssh/0.9.3/openssl/zlib nghttp2/1.40.0 librtmp/2.3 [2023-05-16T22:33:31.142Z] Release-Date: 2020-01-08 [2023-05-16T22:33:31.142Z] Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp [2023-05-16T22:33:31.142Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2023-05-16T22:33:31.142Z] ==> Jenkins CI detected. [2023-05-16T22:33:31.142Z] current dir:  /w/workspace/gexfoundry_device-rest-go_PR-318 [2023-05-16T22:33:31.142Z] project root: . [2023-05-16T22:33:31.142Z] --> token set from env [2023-05-16T22:33:31.142Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2023-05-16T22:33:31.142Z] ==> Running gcov in . (disable via -X gcov) [2023-05-16T22:33:31.142Z] ==> Python coveragepy not found [2023-05-16T22:33:31.142Z] ==> Searching for coverage reports in: [2023-05-16T22:33:31.142Z] + . [2023-05-16T22:33:31.142Z] -> Found 1 reports [2023-05-16T22:33:31.142Z] ==> Detecting git/mercurial file structure [2023-05-16T22:33:31.142Z] ==> Reading reports [2023-05-16T22:33:31.142Z] + ./coverage.out bytes=14663 [2023-05-16T22:33:31.142Z] ==> Appending adjustments [2023-05-16T22:33:31.142Z] https://docs.codecov.io/docs/fixing-reports [2023-05-16T22:33:31.402Z] + Found adjustments [2023-05-16T22:33:31.402Z] ==> Gzipping contents [2023-05-16T22:33:31.402Z] 4.0K /tmp/codecov.4nIKQI.gz [2023-05-16T22:33:31.402Z] ==> Uploading reports [2023-05-16T22:33:31.402Z] url: https://codecov.io [2023-05-16T22:33:31.402Z] query: branch=PR-318&commit=6879e16c9873b7ee47a0ce6feb41051dd9546c53&build=4&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-rest-go%2Fjob%2FPR-318%2F4%2F&name=&tag=&slug=edgexfoundry%2Fdevice-rest-go&service=jenkins&flags=&pr=318&job=&cmd_args= [2023-05-16T22:33:31.402Z] -> Pinging Codecov [2023-05-16T22:33:31.402Z] https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=c51feb23-73ac-4f49-b3d1-d26df23137db&branch=PR-318&commit=6879e16c9873b7ee47a0ce6feb41051dd9546c53&build=4&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-rest-go%2Fjob%2FPR-318%2F4%2F&name=&tag=&slug=edgexfoundry%2Fdevice-rest-go&service=jenkins&flags=&pr=318&job=&cmd_args= [2023-05-16T22:33:31.402Z] -> Uploading to [2023-05-16T22:33:31.402Z] https://storage.googleapis.com/codecov/v4/raw/2023-05-16/4E5D53B4F1F92C436F7061BF334D961C/6879e16c9873b7ee47a0ce6feb41051dd9546c53/4f246376-db1e-4127-930d-59235dabc51f.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20230516%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20230516T223331Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=226b1e702aa779fbd9b6358ca13d333c77044565dd462b71f262c8c8f6739b62 [2023-05-16T22:33:31.402Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-05-16T22:33:31.402Z] Dload Upload Total Spent Left Speed [2023-05-16T22:33:31.662Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 2510 0 0 100 2510 0 13072 --:--:-- --:--:-- --:--:-- 13005 100 2510 0 0 100 2510 0 13072 --:--:-- --:--:-- --:--:-- 13005 [2023-05-16T22:33:31.662Z] -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-rest-go/commit/6879e16c9873b7ee47a0ce6feb41051dd9546c53 [Pipeline] } [2023-05-16T22:33:31.670Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) Stage "Snyk Dependency Scan" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) Stage "Semver" skipped due to when conditional [Pipeline] stage [Pipeline] { (Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] sh [2023-05-16T22:33:32.431Z] + [ -d /w/workspace/gexfoundry_device-rest-go_PR-318/archives ] [2023-05-16T22:33:32.431Z] + ls -al /w/workspace/gexfoundry_device-rest-go_PR-318/archives [2023-05-16T22:33:32.431Z] total 16 [2023-05-16T22:33:32.431Z] drwxr-xr-x 3 root root 4096 May 16 22:23 . [2023-05-16T22:33:32.431Z] drwxrwxr-x 10 jenkins jenkins 4096 May 16 22:23 .. [2023-05-16T22:33:32.431Z] drwxr-xr-x 2 root root 4096 May 16 22:23 cost [2023-05-16T22:33:32.431Z] -rw-r--r-- 1 root root 86 May 16 22:23 cost.csv [2023-05-16T22:33:32.431Z] + sudo chown -R jenkins:jenkins /w/workspace/gexfoundry_device-rest-go_PR-318/archives [2023-05-16T22:33:32.431Z] + ls -al /w/workspace/gexfoundry_device-rest-go_PR-318/archives [2023-05-16T22:33:32.431Z] total 16 [2023-05-16T22:33:32.431Z] drwxr-xr-x 3 jenkins jenkins 4096 May 16 22:23 . [2023-05-16T22:33:32.431Z] drwxrwxr-x 10 jenkins jenkins 4096 May 16 22:23 .. [2023-05-16T22:33:32.431Z] drwxr-xr-x 2 jenkins jenkins 4096 May 16 22:23 cost [2023-05-16T22:33:32.431Z] -rw-r--r-- 1 jenkins jenkins 86 May 16 22:23 cost.csv [Pipeline] libraryResource [Pipeline] sh [2023-05-16T22:33:32.720Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2023-05-16T22:33:33.580Z] ---> package-listing.sh [2023-05-16T22:33:33.580Z] ++ facter osfamily [2023-05-16T22:33:33.580Z] ++ tr '[:upper:]' '[:lower:]' [2023-05-16T22:33:33.580Z] + OS_FAMILY=debian [2023-05-16T22:33:33.580Z] + workspace=/w/workspace/gexfoundry_device-rest-go_PR-318 [2023-05-16T22:33:33.580Z] + START_PACKAGES=/tmp/packages_start.txt [2023-05-16T22:33:33.580Z] + END_PACKAGES=/tmp/packages_end.txt [2023-05-16T22:33:33.580Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2023-05-16T22:33:33.580Z] + PACKAGES=/tmp/packages_start.txt [2023-05-16T22:33:33.580Z] + '[' /w/workspace/gexfoundry_device-rest-go_PR-318 ']' [2023-05-16T22:33:33.580Z] + PACKAGES=/tmp/packages_end.txt [2023-05-16T22:33:33.580Z] + case "${OS_FAMILY}" in [2023-05-16T22:33:33.839Z] + dpkg -l [2023-05-16T22:33:33.839Z] + grep '^ii' [2023-05-16T22:33:33.839Z] + '[' -f /tmp/packages_start.txt ']' [2023-05-16T22:33:33.839Z] + '[' -f /tmp/packages_end.txt ']' [2023-05-16T22:33:33.839Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2023-05-16T22:33:33.839Z] + '[' /w/workspace/gexfoundry_device-rest-go_PR-318 ']' [2023-05-16T22:33:33.839Z] + mkdir -p /w/workspace/gexfoundry_device-rest-go_PR-318/archives/ [2023-05-16T22:33:33.839Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_device-rest-go_PR-318/archives/ [Pipeline] echo [2023-05-16T22:33:33.850Z] 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-318/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2023-05-16T22:33:34.126Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-16T22:33:34.680Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-05-16T22:33:34.680Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-05-16T22:33:34.746Z] prd-ubuntu20.04-docker-8c-8g-15789 does not seem to be running inside a container [2023-05-16T22:33:34.780Z] $ 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-318/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-318 -v /w/workspace/gexfoundry_device-rest-go_PR-318:/w/workspace/gexfoundry_device-rest-go_PR-318:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-318@tmp:/w/workspace/gexfoundry_device-rest-go_PR-318@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2023-05-16T22:33:34.963Z] $ docker top edeb2fe0d22842bb24475c1fdacc5ee4d2abc9fe96bb6b325ac9cd1ab1c21dfe -eo pid,comm [Pipeline] { [Pipeline] sh [2023-05-16T22:33:35.298Z] + touch /tmp/pre-build-complete [Pipeline] sh [2023-05-16T22:33:35.582Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2023-05-16T22:33:35.867Z] + ls /var/log/sa-host [2023-05-16T22:33:35.867Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-05-16T22:33:35.929Z] provisioning config files... [2023-05-16T22:33:35.936Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-rest-go_PR-318@tmp/config13114643503344124266tmp [Pipeline] { [Pipeline] echo [2023-05-16T22:33:35.949Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2023-05-16T22:33:36.233Z] ---> create-netrc.sh [Pipeline] } [2023-05-16T22:33:36.240Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2023-05-16T22:33:36.555Z] ---> python-tools-install.sh [Pipeline] echo [2023-05-16T22:33:36.563Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2023-05-16T22:33:36.847Z] ---> sudo-logs.sh [2023-05-16T22:33:36.847Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2023-05-16T22:33:36.880Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2023-05-16T22:33:37.165Z] ---> job-cost.sh [2023-05-16T22:33:37.166Z] lf-activate-venv: SKIPPING [2023-05-16T22:33:37.166Z] DEBUG: total: 0.2199999988079071 [2023-05-16T22:33:37.166Z] INFO: Retrieving Stack Cost... [2023-05-16T22:33:37.425Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-05-16T22:33:37.685Z] INFO: Archiving Costs [Pipeline] echo [2023-05-16T22:33:37.696Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2023-05-16T22:33:37.980Z] ---> logs-deploy.sh [2023-05-16T22:33:37.980Z] lf-activate-venv: SKIPPING [2023-05-16T22:33:37.980Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-rest-go/PR-318/4 [2023-05-16T22:33:37.980Z] INFO: archiving workspace using pattern(s): [2023-05-16T22:33:38.919Z] Archives upload complete. [2023-05-16T22:33:38.919Z] INFO: archiving logs to Nexus