Pull request #450 opened Connecting to https://api.github.com using edgex-jenkins github personal access token Connecting to https://api.github.com to check permissions of obtain list of lenny-intel for edgexfoundry/device-virtual-go Obtained Jenkinsfile from 173252465490b9d9740a72c12effdbaa8705f49b+a3e36257f0c9f774ec81edf885f9fc4e99897b55 (4f88af5a05e279579253d08d5ecd19f457afe331) 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-ssh2435925118845715506.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 6375147a0d0ca7a67a13085e8428bd7204efc6d4 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-ssh18152022510336044900.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 6375147a0d0ca7a67a13085e8428bd7204efc6d4 The recommended git tool is: git using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning with configured refspecs honoured and with tags Cloning repository git@github.com:edgexfoundry/edgex-global-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/device-virtual-go/branches/PR-450/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-virtual-go/branches/PR-450/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh8345315231773492030.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching with tags Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-virtual-go/branches/PR-450/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh14473861634489007581.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 6375147a0d0ca7a67a13085e8428bd7204efc6d4 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 6375147a0d0ca7a67a13085e8428bd7204efc6d4 # timeout=10 Commit message: "Merge pull request #446 from ernestojeda/add-go-lts-image" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 > git --version # timeout=10 > git --version # 'git version 2.16.6' Excluding src/test/ from checkout of git git@github.com:edgexfoundry/edgex-global-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. Loading library lf-pipelines@master Attempting to resolve master from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /tmp/jenkins-gitclient-ssh3777378711504427707.key > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision 65355178549468b165f8106641c96c3190b1d843 The recommended git tool is: NONE using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning with configured refspecs honoured and without tags Cloning repository git@github.com:lfit/releng-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/device-virtual-go/branches/PR-450/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e # timeout=10 Fetching upstream changes from git@github.com:lfit/releng-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-virtual-go/branches/PR-450/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh12105607197627878580.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 Avoid second fetch Checking out Revision 65355178549468b165f8106641c96c3190b1d843 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 65355178549468b165f8106641c96c3190b1d843 # timeout=10 Commit message: "Fix: Add S3 URL in href to ship logs" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 > git --version # timeout=10 > git --version # 'git version 2.16.6' fatal: bad object 6375147a0d0ca7a67a13085e8428bd7204efc6d4 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-virtual-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-virtual-go-settings PROJECT: device-virtual-go USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.21 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-virtual DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: false SWAGGER_API_FOLDERS: openapi/v1 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org SNYK_DEBUG: false [Pipeline] node Still waiting to schedule task Waiting for next available executor on ‘prd-ubuntu20.04-docker-8c-8g-17529’ Running on prd-ubuntu20.04-docker-8c-8g-17531 in /w/workspace/foundry_device-virtual-go_PR-450 [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-virtual-go.git > git init /w/workspace/foundry_device-virtual-go_PR-450 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-virtual-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-virtual-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-virtual-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-virtual-go.git # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-virtual-go.git using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-virtual-go.git +refs/pull/450/head:refs/remotes/origin/PR-450 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit a3e36257f0c9f774ec81edf885f9fc4e99897b55 into PR head commit 173252465490b9d9740a72c12effdbaa8705f49b Merge succeeded, producing 173252465490b9d9740a72c12effdbaa8705f49b Checking out Revision 173252465490b9d9740a72c12effdbaa8705f49b (PR-450) > git config core.sparsecheckout # timeout=10 > git checkout -f 173252465490b9d9740a72c12effdbaa8705f49b # 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 a3e36257f0c9f774ec81edf885f9fc4e99897b55 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 173252465490b9d9740a72c12effdbaa8705f49b # timeout=10 Commit message: "fix: Address CVE in Alpine base image" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.25.1' fatal: bad object 6375147a0d0ca7a67a13085e8428bd7204efc6d4 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 20:10:55 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 20:10:55 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 20:10:55 ========================================================= 20:10:55 EdgeX Global Pipelines Version Info 20:10:55 ========================================================= [Pipeline] libraryResource [Pipeline] sh 20:10:57 ------------------- 20:10:57 stable info: 20:10:57 ------------------- 20:10:57 Commited By: ad_eojeda ad_eojeda@nswe-ubuntu01.amr.corp.intel.com 20:10:57 Commit SHA: 6375147a0d0ca7a67a13085e8428bd7204efc6d4 20:10:57 Message: update stable to v1.0.257 20:10:57 ------------------- 20:10:57 experimental info: 20:10:57 ------------------- 20:10:57 Commited By: **** collab-it+edgex@linuxfoundation.org 20:10:57 Commit SHA: 6375147a0d0ca7a67a13085e8428bd7204efc6d4 20:10:57 Message: update experimental to v1.0.257 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 20:10:57 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-virtual-go-settings [Pipeline] echo 20:10:57 [edgeXSetupEnvironment]: set envvar PROJECT = device-virtual-go [Pipeline] echo 20:10:57 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 20:10:57 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 20:10:58 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 20:10:58 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.21 [Pipeline] echo 20:10:58 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 20:10:58 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 20:10:58 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 20:10:58 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 20:10:58 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 20:10:58 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-virtual [Pipeline] echo 20:10:58 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 20:10:58 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 20:10:58 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 20:10:58 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 20:10:58 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 20:10:58 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 20:10:58 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 20:10:58 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 20:10:58 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 20:10:58 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 20:10:58 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 20:10:58 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 20:10:58 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 20:10:58 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 20:10:59 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 20:10:59 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-450 [Pipeline] echo 20:10:59 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-450 [Pipeline] echo 20:10:59 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-450 [Pipeline] echo 20:10:59 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 173252465490b9d9740a72c12effdbaa8705f49b [Pipeline] echo 20:10:59 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 1732524 [Pipeline] echo 20:10:59 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 20:10:59 provisioning config files... 20:10:59 copy managed file [device-virtual-go-settings] to file:/w/workspace/foundry_device-virtual-go_PR-450@tmp/config6657771802413472404tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 20:10:59 ---> docker-login.sh 20:10:59 nexus3.edgexfoundry.org:10001 20:11:00 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:11:00 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:11:00 Configure a credential helper to remove this warning. See 20:11:00 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:11:00 20:11:00 Login Succeeded 20:11:00 nexus3.edgexfoundry.org:10002 20:11:00 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:11:00 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:11:00 Configure a credential helper to remove this warning. See 20:11:00 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:11:00 20:11:00 Login Succeeded 20:11:00 nexus3.edgexfoundry.org:10003 20:11:00 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:11:00 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:11:00 Configure a credential helper to remove this warning. See 20:11:00 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:11:00 20:11:00 Login Succeeded 20:11:00 nexus3.edgexfoundry.org:10004 20:11:00 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:11:00 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:11:00 Configure a credential helper to remove this warning. See 20:11:00 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:11:00 20:11:00 Login Succeeded 20:11:00 docker.io 20:11:00 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:11:00 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:11:00 Configure a credential helper to remove this warning. See 20:11:00 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:11:00 20:11:00 Login Succeeded 20:11:00 ---> docker-login.sh ends [Pipeline] } 20:11:00 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 20:11:01 + git rev-list -1 --merges 173252465490b9d9740a72c12effdbaa8705f49b~1..173252465490b9d9740a72c12effdbaa8705f49b [Pipeline] echo 20:11:01 -----------> git rev-list -1 --merges 173252465490b9d9740a72c12effdbaa8705f49b~1..173252465490b9d9740a72c12effdbaa8705f49b 173252465490b9d9740a72c12effdbaa8705f49b [false] [Pipeline] sh 20:11:01 + git log --format=format:%s -1 173252465490b9d9740a72c12effdbaa8705f49b [Pipeline] echo 20:11:01 ========================================================= 20:11:01 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 20:11:01 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 20:11:02 + git log --format=format:%s -1 173252465490b9d9740a72c12effdbaa8705f49b [Pipeline] echo 20:11:02 [semverPrep] GIT_COMMIT: 173252465490b9d9740a72c12effdbaa8705f49b, Commit Message: fix: Address CVE in Alpine base image [Pipeline] echo 20:11:02 [semverPrep] This is not a build commit. [Pipeline] sh 20:11:02 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 20:11:02 + grep -v github /etc/ssh/ssh_known_hosts 20:11:02 + [ -e /tmp/ssh_known_hosts ] 20:11:02 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 20:11:02 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 20:11:02 + sudo tee -a /etc/ssh/ssh_known_hosts 20:11:02 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:11:03 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 20:11:03 20:11:03 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:11:03 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 20:11:03 0.1.4: Pulling from edgex-devops/py-git-semver 20:11:03 b85a868b505f: Pulling fs layer 20:11:03 e2be974225ed: Pulling fs layer 20:11:03 339a4e72a1f5: Pulling fs layer 20:11:03 988bab9f4d93: Pulling fs layer 20:11:03 1469e6f7b9e6: Pulling fs layer 20:11:03 eaf3925da568: Pulling fs layer 20:11:03 bab4dde63d76: Pulling fs layer 20:11:03 bde34c3a00c8: Pulling fs layer 20:11:03 b352a97aabf1: Pulling fs layer 20:11:03 4872d77fe225: Pulling fs layer 20:11:03 5851b861e8e6: Pulling fs layer 20:11:03 eaf3925da568: Waiting 20:11:03 bab4dde63d76: Waiting 20:11:03 4872d77fe225: Waiting 20:11:03 bde34c3a00c8: Waiting 20:11:03 5851b861e8e6: Waiting 20:11:03 b352a97aabf1: Waiting 20:11:03 988bab9f4d93: Waiting 20:11:03 1469e6f7b9e6: Waiting 20:11:03 e2be974225ed: Verifying Checksum 20:11:03 e2be974225ed: Download complete 20:11:03 988bab9f4d93: Verifying Checksum 20:11:03 988bab9f4d93: Download complete 20:11:03 339a4e72a1f5: Verifying Checksum 20:11:03 339a4e72a1f5: Download complete 20:11:03 eaf3925da568: Verifying Checksum 20:11:03 eaf3925da568: Download complete 20:11:03 1469e6f7b9e6: Verifying Checksum 20:11:03 1469e6f7b9e6: Download complete 20:11:03 bde34c3a00c8: Verifying Checksum 20:11:03 bde34c3a00c8: Download complete 20:11:03 b352a97aabf1: Verifying Checksum 20:11:03 b352a97aabf1: Download complete 20:11:03 4872d77fe225: Verifying Checksum 20:11:03 4872d77fe225: Download complete 20:11:03 5851b861e8e6: Download complete 20:11:03 b85a868b505f: Verifying Checksum 20:11:03 b85a868b505f: Download complete 20:11:04 bab4dde63d76: Download complete 20:11:05 b85a868b505f: Pull complete 20:11:05 e2be974225ed: Pull complete 20:11:05 339a4e72a1f5: Pull complete 20:11:05 988bab9f4d93: Pull complete 20:11:06 1469e6f7b9e6: Pull complete 20:11:06 eaf3925da568: Pull complete 20:11:07 bab4dde63d76: Pull complete 20:11:07 bde34c3a00c8: Pull complete 20:11:07 b352a97aabf1: Pull complete 20:11:08 4872d77fe225: Pull complete 20:11:08 5851b861e8e6: Pull complete 20:11:08 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 20:11:08 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 20:11:08 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 20:11:08 prd-ubuntu20.04-docker-8c-8g-17531 does not seem to be running inside a container 20:11:08 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/foundry_device-virtual-go_PR-450 -v /w/workspace/foundry_device-virtual-go_PR-450:/w/workspace/foundry_device-virtual-go_PR-450:rw,z -v /w/workspace/foundry_device-virtual-go_PR-450@tmp:/w/workspace/foundry_device-virtual-go_PR-450@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 20:11:12 $ docker top 44265065a3e230710cdd39e3edf438348ec4a6dc44fee0860de2323bec47960a -eo pid,comm 20:11:12 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). 20:11:12 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 20:11:12 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 20:11:12 [ssh-agent] Looking for ssh-agent implementation... 20:11:12 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 20:11:12 $ docker exec 44265065a3e230710cdd39e3edf438348ec4a6dc44fee0860de2323bec47960a ssh-agent 20:11:12 SSH_AUTH_SOCK=/tmp/ssh-ceZvBb98ZWsH/agent.31 20:11:12 SSH_AGENT_PID=37 20:11:12 Running ssh-add (command line suppressed) 20:11:12 Identity added: /w/workspace/foundry_device-virtual-go_PR-450@tmp/private_key_14923632718450667347.key (/w/workspace/foundry_device-virtual-go_PR-450@tmp/private_key_14923632718450667347.key) 20:11:12 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 20:11:13 + git tag --points-at HEAD [Pipeline] } 20:11:13 $ docker exec --env ******** --env ******** 44265065a3e230710cdd39e3edf438348ec4a6dc44fee0860de2323bec47960a ssh-agent -k 20:11:13 unset SSH_AUTH_SOCK; 20:11:13 unset SSH_AGENT_PID; 20:11:13 echo Agent pid 37 killed; 20:11:13 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 20:11:13 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 20:11:13 [ssh-agent] Looking for ssh-agent implementation... 20:11:13 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 20:11:13 $ docker exec 44265065a3e230710cdd39e3edf438348ec4a6dc44fee0860de2323bec47960a ssh-agent 20:11:13 SSH_AUTH_SOCK=/tmp/ssh-rUWvUzEQLLXG/agent.69 20:11:13 SSH_AGENT_PID=75 20:11:13 Running ssh-add (command line suppressed) 20:11:13 Identity added: /w/workspace/foundry_device-virtual-go_PR-450@tmp/private_key_16131533052391624680.key (/w/workspace/foundry_device-virtual-go_PR-450@tmp/private_key_16131533052391624680.key) 20:11:13 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 20:11:13 + git semver init 20:11:14 2023-11-14 20:11:14,072 [run_init] DEBUG init version:0.0.0 force:False 20:11:14 2023-11-14 20:11:14,072 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/foundry_device-virtual-go_PR-450/.semver 20:11:14 2023-11-14 20:11:14,073 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-virtual-go.git /w/workspace/foundry_device-virtual-go_PR-450/.semver 20:11:14 2023-11-14 20:11:14,073 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-virtual-go.git', '/w/workspace/foundry_device-virtual-go_PR-450/.semver'], cwd=/w/workspace/foundry_device-virtual-go_PR-450, universal_newlines=False, shell=None, istream=None) 20:11:15 2023-11-14 20:11:15,210 [append_file] DEBUG append to file:/w/workspace/foundry_device-virtual-go_PR-450/.git/info/exclude 20:11:15 2023-11-14 20:11:15,210 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/foundry_device-virtual-go_PR-450/.semver/PR-450 with force:False 20:11:15 2023-11-14 20:11:15,210 [write_file] DEBUG write to file:/w/workspace/foundry_device-virtual-go_PR-450/.semver/PR-450 20:11:15 2023-11-14 20:11:15,214 [execute] INFO git cat-file --batch-check 20:11:15 2023-11-14 20:11:15,215 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/foundry_device-virtual-go_PR-450/.semver, universal_newlines=False, shell=None, istream=) 20:11:15 2023-11-14 20:11:15,222 [execute] INFO git cat-file --batch 20:11:15 2023-11-14 20:11:15,222 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/foundry_device-virtual-go_PR-450/.semver, universal_newlines=False, shell=None, istream=) 20:11:15 2023-11-14 20:11:15,227 [read_version] DEBUG read version from /w/workspace/foundry_device-virtual-go_PR-450/.semver/PR-450 20:11:15 0.0.0 [Pipeline] } 20:11:15 $ docker exec --env ******** --env ******** 44265065a3e230710cdd39e3edf438348ec4a6dc44fee0860de2323bec47960a ssh-agent -k 20:11:15 unset SSH_AUTH_SOCK; 20:11:15 unset SSH_AGENT_PID; 20:11:15 echo Agent pid 75 killed; 20:11:15 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 20:11:16 + git semver [Pipeline] } 20:11:16 $ docker stop --time=1 44265065a3e230710cdd39e3edf438348ec4a6dc44fee0860de2323bec47960a 20:11:17 $ docker rm -f --volumes 44265065a3e230710cdd39e3edf438348ec4a6dc44fee0860de2323bec47960a [Pipeline] // withDockerContainer [Pipeline] sh 20:11:18 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 20:11:18 Stashed 1 file(s) [Pipeline] echo 20:11:18 [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 20:11:18 provisioning config files... 20:11:19 copy managed file [device-virtual-go-settings] to file:/w/workspace/foundry_device-virtual-go_PR-450@tmp/config9625211123336463072tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 20:11:19 ---> docker-login.sh 20:11:19 nexus3.edgexfoundry.org:10001 20:11:19 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:11:19 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:11:19 Configure a credential helper to remove this warning. See 20:11:19 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:11:19 20:11:19 Login Succeeded 20:11:19 nexus3.edgexfoundry.org:10002 20:11:19 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:11:19 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:11:19 Configure a credential helper to remove this warning. See 20:11:19 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:11:19 20:11:19 Login Succeeded 20:11:19 nexus3.edgexfoundry.org:10003 20:11:19 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:11:19 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:11:19 Configure a credential helper to remove this warning. See 20:11:19 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:11:19 20:11:19 Login Succeeded 20:11:19 nexus3.edgexfoundry.org:10004 20:11:19 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:11:19 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:11:19 Configure a credential helper to remove this warning. See 20:11:19 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:11:19 20:11:19 Login Succeeded 20:11:19 docker.io 20:11:19 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:11:19 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:11:19 Configure a credential helper to remove this warning. See 20:11:19 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:11:19 20:11:19 Login Succeeded 20:11:19 ---> docker-login.sh ends [Pipeline] } 20:11:19 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 20:11:20 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 20:11:20 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 20:11:20 ========================================================= 20:11:20 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine] 20:11:20 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:11:20 + docker build -t ci-base-image-x86_64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine --build-arg MAKE=echo noop --target=builder . 20:11:20 Sending build context to Docker daemon 23.7MB 20:11:20 Step 1/12 : ARG BASE=golang:1.21-alpine3.18 20:11:20 Step 2/12 : FROM ${BASE} AS builder 20:11:20 1.21-alpine: Pulling from edgex-devops/edgex-golang-base 20:11:20 7264a8db6415: Pulling fs layer 20:11:20 c4d48a809fc2: Pulling fs layer 20:11:20 4f1c88b9dad5: Pulling fs layer 20:11:20 ad3a456e5733: Pulling fs layer 20:11:20 69c7f0334f64: Pulling fs layer 20:11:20 1f1c1a5573a3: Pulling fs layer 20:11:20 ce7588e14bc9: Pulling fs layer 20:11:20 b5e4710f87ac: Pulling fs layer 20:11:20 1f1c1a5573a3: Waiting 20:11:20 ce7588e14bc9: Waiting 20:11:20 ad3a456e5733: Waiting 20:11:20 b5e4710f87ac: Waiting 20:11:20 69c7f0334f64: Waiting 20:11:20 c4d48a809fc2: Verifying Checksum 20:11:20 c4d48a809fc2: Download complete 20:11:20 ad3a456e5733: Verifying Checksum 20:11:20 ad3a456e5733: Download complete 20:11:20 69c7f0334f64: Verifying Checksum 20:11:20 69c7f0334f64: Download complete 20:11:20 7264a8db6415: Verifying Checksum 20:11:20 7264a8db6415: Download complete 20:11:20 1f1c1a5573a3: Verifying Checksum 20:11:20 1f1c1a5573a3: Download complete 20:11:21 7264a8db6415: Pull complete 20:11:21 c4d48a809fc2: Pull complete 20:11:21 b5e4710f87ac: Verifying Checksum 20:11:21 4f1c88b9dad5: Verifying Checksum 20:11:21 4f1c88b9dad5: Download complete 20:11:21 ce7588e14bc9: Download complete 20:11:25 4f1c88b9dad5: Pull complete 20:11:25 ad3a456e5733: Pull complete 20:11:25 69c7f0334f64: Pull complete 20:11:25 1f1c1a5573a3: Pull complete 20:11:27 ce7588e14bc9: Pull complete 20:11:28 b5e4710f87ac: Pull complete 20:11:28 Digest: sha256:f80dd7bb8fdf010369d5adb4058a62695265b22e897ca6aac7b42af84fdce50e 20:11:28 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine 20:11:28 ---> 88b5674ff536 20:11:28 Step 3/12 : ARG ALPINE_PKG_BASE="make git openssh-client" 20:11:33 Still waiting to schedule task 20:11:33 Waiting for next available executor on ‘prd-ubuntu20.04-docker-arm64-4c-16g-17530’ 20:11:34 ---> Running in 1929a9a7164d 20:11:34 Removing intermediate container 1929a9a7164d 20:11:34 ---> a70f99fa9ea3 20:11:34 Step 4/12 : ARG ALPINE_PKG_EXTRA="" 20:11:34 ---> Running in 31aa1471518d 20:11:35 Removing intermediate container 31aa1471518d 20:11:35 ---> 7cb3989a593d 20:11:35 Step 5/12 : ARG ADD_BUILD_TAGS="" 20:11:35 ---> Running in 23a2df18240e 20:11:35 Removing intermediate container 23a2df18240e 20:11:35 ---> 11da8e8ab1a9 20:11:35 Step 6/12 : WORKDIR /device-virtual-go 20:11:35 ---> Running in 8d35cb0afa0d 20:11:35 Removing intermediate container 8d35cb0afa0d 20:11:35 ---> 98b5f82a32e1 20:11:35 Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 20:11:35 ---> Running in 57642fb5e9b1 20:11:36 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 20:11:36 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 20:11:36 (1/4) Installing openssh-keygen (9.3_p2-r0) 20:11:36 (2/4) Installing libedit (20221030.3.1-r1) 20:11:36 (3/4) Installing openssh-client-common (9.3_p2-r0) 20:11:36 (4/4) Installing openssh-client-default (9.3_p2-r0) 20:11:36 Executing busybox-1.36.1-r5.trigger 20:11:36 OK: 268 MiB in 56 packages 20:11:37 Removing intermediate container 57642fb5e9b1 20:11:37 ---> f26a4dc3427c 20:11:37 Step 8/12 : COPY go.mod vendor* ./ 20:11:37 ---> 7106b26cabaf 20:11:37 Step 9/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 20:11:37 ---> Running in a1d83316180a 20:12:16 Removing intermediate container a1d83316180a 20:12:16 ---> 941bc5257708 20:12:16 Step 10/12 : COPY . . 20:12:17 ---> e5330b5d197a 20:12:17 Step 11/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 20:12:17 ---> Running in abecda770344 20:12:17 Removing intermediate container abecda770344 20:12:17 ---> 6bac133c3510 20:12:17 Step 12/12 : RUN $MAKE 20:12:17 ---> Running in 55e215a9305c 20:12:17 noop 20:12:17 Removing intermediate container 55e215a9305c 20:12:17 ---> 05047cf7f9a1 20:12:17 Successfully built 05047cf7f9a1 20:12:17 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:12:18 + docker inspect -f . ci-base-image-x86_64 20:12:18 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 20:12:18 prd-ubuntu20.04-docker-8c-8g-17531 does not seem to be running inside a container 20:12:18 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/foundry_device-virtual-go_PR-450 -v /w/workspace/foundry_device-virtual-go_PR-450:/w/workspace/foundry_device-virtual-go_PR-450:rw,z -v /w/workspace/foundry_device-virtual-go_PR-450@tmp:/w/workspace/foundry_device-virtual-go_PR-450@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 20:12:18 $ docker top c059338a571aa24a398bf2d49f95a34f22a0f52f4e1eb3282edee7ba08b767d9 -eo pid,comm [Pipeline] { [Pipeline] sh 20:12:19 + go version 20:12:19 go version go1.21.0 linux/amd64 [Pipeline] } 20:12:19 $ docker stop --time=1 c059338a571aa24a398bf2d49f95a34f22a0f52f4e1eb3282edee7ba08b767d9 20:12:20 $ docker rm -f --volumes c059338a571aa24a398bf2d49f95a34f22a0f52f4e1eb3282edee7ba08b767d9 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:12:21 + docker inspect -f . ci-base-image-x86_64 20:12:21 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 20:12:21 prd-ubuntu20.04-docker-8c-8g-17531 does not seem to be running inside a container 20:12:21 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/foundry_device-virtual-go_PR-450 -v /w/workspace/foundry_device-virtual-go_PR-450:/w/workspace/foundry_device-virtual-go_PR-450:rw,z -v /w/workspace/foundry_device-virtual-go_PR-450@tmp:/w/workspace/foundry_device-virtual-go_PR-450@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 20:12:21 $ docker top accb64d4b0d08e4447d1fb17a7847ada036ac06e4d30ac0e17520e7db2e9902a -eo pid,comm [Pipeline] { [Pipeline] sh 20:12:22 + git config --global --add safe.directory /w/workspace/foundry_device-virtual-go_PR-450 [Pipeline] fileExists [Pipeline] sh 20:12:22 + make test 20:12:22 go test ./... -coverprofile=coverage.out 20:12:24 ? github.com/edgexfoundry/device-virtual-go [no test files] 20:12:34 ? github.com/edgexfoundry/device-virtual-go/cmd [no test files] 20:12:34 ok github.com/edgexfoundry/device-virtual-go/internal/driver 0.020s coverage: 58.6% of statements 20:12:39 go vet ./... 20:12:42 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 20:12:42 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 20:12:42 ./bin/test-attribution-txt.sh [Pipeline] echo 20:12:42 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] } 20:12:42 $ docker stop --time=1 accb64d4b0d08e4447d1fb17a7847ada036ac06e4d30ac0e17520e7db2e9902a 20:12:47 $ docker rm -f --volumes accb64d4b0d08e4447d1fb17a7847ada036ac06e4d30ac0e17520e7db2e9902a [Pipeline] // withDockerContainer [Pipeline] sh 20:12:47 + sudo chown -R jenkins:jenkins . [Pipeline] stash 20:12:47 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 20:12:48 + sudo chown -R jenkins:jenkins . [Pipeline] sh 20:12:48 + ls -al . 20:12:48 total 200 20:12:48 drwxrwxr-x 8 jenkins jenkins 4096 Nov 14 20:12 . 20:12:48 drwxrwxr-x 4 jenkins jenkins 4096 Nov 14 20:10 .. 20:12:48 drwxrwxr-x 8 jenkins jenkins 4096 Nov 14 20:12 .git 20:12:48 drwxrwxr-x 3 jenkins jenkins 4096 Nov 14 20:10 .github 20:12:48 -rw-rw-r-- 1 jenkins jenkins 272 Nov 14 20:10 .gitignore 20:12:48 -rw-rw-r-- 1 jenkins jenkins 41 Nov 14 20:10 .golangci.yml 20:12:48 drwxr-xr-x 3 jenkins jenkins 4096 Nov 14 20:11 .semver 20:12:48 -rw-rw-r-- 1 jenkins jenkins 9708 Nov 14 20:10 Attribution.txt 20:12:48 -rw-rw-r-- 1 jenkins jenkins 15941 Nov 14 20:10 CHANGELOG.md 20:12:48 -rw-rw-r-- 1 jenkins jenkins 1755 Nov 14 20:10 Dockerfile 20:12:48 -rw-rw-r-- 1 jenkins jenkins 677 Nov 14 20:10 GOVERNANCE.md 20:12:48 -rw-rw-r-- 1 jenkins jenkins 660 Nov 14 20:10 Jenkinsfile 20:12:48 -rw-rw-r-- 1 jenkins jenkins 11340 Nov 14 20:10 LICENSE 20:12:48 -rw-rw-r-- 1 jenkins jenkins 1947 Nov 14 20:10 Makefile 20:12:48 -rw-rw-r-- 1 jenkins jenkins 623 Nov 14 20:10 OWNERS.md 20:12:48 -rw-rw-r-- 1 jenkins jenkins 4103 Nov 14 20:10 README.md 20:12:48 -rw-rw-r-- 1 jenkins jenkins 5 Nov 14 20:11 VERSION 20:12:48 drwxrwxr-x 2 jenkins jenkins 4096 Nov 14 20:10 bin 20:12:48 drwxrwxr-x 3 jenkins jenkins 4096 Nov 14 20:10 cmd 20:12:48 -rw-r--r-- 1 jenkins jenkins 43063 Nov 14 20:12 coverage.out 20:12:48 -rw-rw-r-- 1 jenkins jenkins 3591 Nov 14 20:10 go.mod 20:12:48 -rw-rw-r-- 1 jenkins jenkins 34396 Nov 14 20:10 go.sum 20:12:48 drwxrwxr-x 3 jenkins jenkins 4096 Nov 14 20:10 internal 20:12:48 -rw-rw-r-- 1 jenkins jenkins 235 Nov 14 20:10 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:12:49 + docker build -t device-virtual -f Dockerfile --build-arg BASE=ci-base-image-x86_64 --build-arg MAKE=make build --build-arg ARCH=amd64 --label git_sha=173252465490b9d9740a72c12effdbaa8705f49b --label arch=amd64 --label version=0.0.0 . 20:12:49 Sending build context to Docker daemon 23.74MB 20:12:49 Step 1/26 : ARG BASE=golang:1.21-alpine3.18 20:12:49 Step 2/26 : FROM ${BASE} AS builder 20:12:49 ---> 05047cf7f9a1 20:12:49 Step 3/26 : ARG ALPINE_PKG_BASE="make git openssh-client" 20:12:49 ---> Running in 15263913a24e 20:12:49 Removing intermediate container 15263913a24e 20:12:49 ---> 776bfe1c2eb6 20:12:49 Step 4/26 : ARG ALPINE_PKG_EXTRA="" 20:12:49 ---> Running in 7917b775549e 20:12:49 Removing intermediate container 7917b775549e 20:12:49 ---> fbf45c1697f7 20:12:49 Step 5/26 : ARG ADD_BUILD_TAGS="" 20:12:49 ---> Running in 5208724b033d 20:12:49 Removing intermediate container 5208724b033d 20:12:49 ---> 58e37203433c 20:12:49 Step 6/26 : WORKDIR /device-virtual-go 20:12:49 ---> Running in ed1f61461317 20:12:49 Removing intermediate container ed1f61461317 20:12:49 ---> 98b0d593485f 20:12:49 Step 7/26 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 20:12:49 ---> Running in cbe369e37e30 20:12:50 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 20:12:50 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 20:12:50 OK: 268 MiB in 56 packages 20:12:50 Removing intermediate container cbe369e37e30 20:12:50 ---> 815e17a07790 20:12:50 Step 8/26 : COPY go.mod vendor* ./ 20:12:51 ---> 77c5d3afe4c4 20:12:51 Step 9/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 20:12:51 ---> Running in 2ac185ba8822 20:12:52 Removing intermediate container 2ac185ba8822 20:12:52 ---> 6ab0c61f54c2 20:12:52 Step 10/26 : COPY . . 20:12:52 ---> 3ac2f71de434 20:12:52 Step 11/26 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 20:12:52 ---> Running in 1aa8966fbb9f 20:12:52 Removing intermediate container 1aa8966fbb9f 20:12:52 ---> 218ca385a86b 20:12:52 Step 12/26 : RUN $MAKE 20:12:52 ---> Running in 5469f5beea3e 20:12:52 CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-virtual-go.Version=0.0.0 -X github.com/edgexfoundry/device-sdk-go/v3/internal/common.SDKVersion=v3.1.0" -trimpath -mod=readonly -o cmd/device-virtual ./cmd 20:13:14 Removing intermediate container 5469f5beea3e 20:13:14 ---> 62923740439d 20:13:14 Step 13/26 : FROM alpine:3.18 20:13:14 3.18: Pulling from library/alpine 20:13:14 96526aa774ef: Pulling fs layer 20:13:14 96526aa774ef: Download complete 20:13:14 96526aa774ef: Pull complete 20:13:14 Digest: sha256:eece025e432126ce23f223450a0326fbebde39cdf496a85d8c016293fc851978 20:13:14 Status: Downloaded newer image for alpine:3.18 20:13:14 ---> 8ca4688f4f35 20:13:14 Step 14/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2021: IOTech' 20:13:14 ---> Running in eb623f9773c8 20:13:14 Removing intermediate container eb623f9773c8 20:13:14 ---> af19c488578f 20:13:14 Step 15/26 : RUN apk add --update --no-cache dumb-init 20:13:14 ---> Running in dfeaed6d5bae 20:13:14 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 20:13:14 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 20:13:14 (1/1) Installing dumb-init (1.2.5-r2) 20:13:14 Executing busybox-1.36.1-r2.trigger 20:13:14 OK: 7 MiB in 16 packages 20:13:14 Removing intermediate container dfeaed6d5bae 20:13:14 ---> e8797b2d6107 20:13:14 Step 16/26 : RUN apk --no-cache upgrade 20:13:14 ---> Running in 05537182d911 20:13:15 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 20:13:15 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 20:13:15 (1/7) Upgrading musl (1.2.4-r1 -> 1.2.4-r2) 20:13:15 (2/7) Upgrading busybox (1.36.1-r2 -> 1.36.1-r5) 20:13:15 Executing busybox-1.36.1-r5.post-upgrade 20:13:15 (3/7) Upgrading busybox-binsh (1.36.1-r2 -> 1.36.1-r5) 20:13:15 (4/7) Upgrading libcrypto3 (3.1.3-r0 -> 3.1.4-r1) 20:13:15 (5/7) Upgrading libssl3 (3.1.3-r0 -> 3.1.4-r1) 20:13:15 (6/7) Upgrading ssl_client (1.36.1-r2 -> 1.36.1-r5) 20:13:15 (7/7) Upgrading musl-utils (1.2.4-r1 -> 1.2.4-r2) 20:13:15 Executing busybox-1.36.1-r5.trigger 20:13:15 OK: 7 MiB in 16 packages 20:13:16 Removing intermediate container 05537182d911 20:13:16 ---> ec35d194f0b5 20:13:16 Step 17/26 : WORKDIR / 20:13:16 ---> Running in 1ea1de38270c 20:13:16 Removing intermediate container 1ea1de38270c 20:13:16 ---> 54667a56d7c2 20:13:16 Step 18/26 : COPY --from=builder /device-virtual-go/Attribution.txt / 20:13:16 ---> f84b8776061d 20:13:16 Step 19/26 : COPY --from=builder /device-virtual-go/LICENSE / 20:13:16 ---> 0e1050cf2fbf 20:13:16 Step 20/26 : COPY --from=builder /device-virtual-go/cmd / 20:13:17 ---> 404d6987c47b 20:13:17 Step 21/26 : EXPOSE 59900 20:13:17 ---> Running in 799047c4e749 20:13:17 Removing intermediate container 799047c4e749 20:13:17 ---> 574c86b3f5cd 20:13:17 Step 22/26 : ENTRYPOINT ["/device-virtual"] 20:13:17 ---> Running in 27a6464f365c 20:13:17 Removing intermediate container 27a6464f365c 20:13:17 ---> 40a83ad7afba 20:13:17 Step 23/26 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry"] 20:13:17 ---> Running in 1c50fa19e0e1 20:13:17 Removing intermediate container 1c50fa19e0e1 20:13:17 ---> d4300526f727 20:13:17 Step 24/26 : LABEL arch=amd64 20:13:18 ---> Running in a9e097718b5a 20:13:18 Removing intermediate container a9e097718b5a 20:13:18 ---> a4fc7cbac18b 20:13:18 Step 25/26 : LABEL git_sha=173252465490b9d9740a72c12effdbaa8705f49b 20:13:18 ---> Running in 2b799d4e0cf1 20:13:18 Removing intermediate container 2b799d4e0cf1 20:13:18 ---> 539fdd2d8e0f 20:13:18 Step 26/26 : LABEL version=0.0.0 20:13:18 ---> Running in f84e95ec1046 20:13:18 Removing intermediate container f84e95ec1046 20:13:18 ---> 25c1fee80626 20:13:18 [Warning] One or more build-args [ARCH] were not consumed 20:13:18 Successfully built 25c1fee80626 20:13:18 Successfully tagged device-virtual: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 20:13:19 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 20:13:19 20:13:19 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:13:19 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 20:13:19 latest: Pulling from edgex-lftools-log-publisher 20:13:19 5eb5b503b376: Pulling fs layer 20:13:19 5c69ac0246d0: Pulling fs layer 20:13:19 ec43610c2a17: Pulling fs layer 20:13:19 3a2ae6a8a46f: Pulling fs layer 20:13:19 33b1e0a273af: Pulling fs layer 20:13:19 5d3b04190fa2: Pulling fs layer 20:13:19 2f39f015ded8: Pulling fs layer 20:13:19 5d3b04190fa2: Waiting 20:13:19 2f39f015ded8: Waiting 20:13:19 3a2ae6a8a46f: Waiting 20:13:19 33b1e0a273af: Waiting 20:13:19 5c69ac0246d0: Verifying Checksum 20:13:19 5c69ac0246d0: Download complete 20:13:19 3a2ae6a8a46f: Verifying Checksum 20:13:19 3a2ae6a8a46f: Download complete 20:13:19 ec43610c2a17: Verifying Checksum 20:13:19 ec43610c2a17: Download complete 20:13:19 33b1e0a273af: Verifying Checksum 20:13:19 33b1e0a273af: Download complete 20:13:19 5d3b04190fa2: Verifying Checksum 20:13:19 5d3b04190fa2: Download complete 20:13:19 5eb5b503b376: Verifying Checksum 20:13:19 5eb5b503b376: Download complete 20:13:20 2f39f015ded8: Download complete 20:13:21 5eb5b503b376: Pull complete 20:13:21 5c69ac0246d0: Pull complete 20:13:21 ec43610c2a17: Pull complete 20:13:21 3a2ae6a8a46f: Pull complete 20:13:22 33b1e0a273af: Pull complete 20:13:22 5d3b04190fa2: Pull complete 20:13:26 2f39f015ded8: Pull complete 20:13:26 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 20:13:26 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 20:13:26 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 20:13:27 prd-ubuntu20.04-docker-8c-8g-17531 does not seem to be running inside a container 20:13:27 $ 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/foundry_device-virtual-go_PR-450 -v /w/workspace/foundry_device-virtual-go_PR-450:/w/workspace/foundry_device-virtual-go_PR-450:rw,z -v /w/workspace/foundry_device-virtual-go_PR-450@tmp:/w/workspace/foundry_device-virtual-go_PR-450@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 20:13:34 $ docker top 148c6fea8ba204368f948de69a84bf09edb77e07770c7ebe7bcc9b85b87a43ff -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 20:13:34 ---> job-cost.sh 20:13:34 lf-activate-venv: SKIPPING 20:13:34 INFO: No Stack... 20:13:34 INFO: Retrieving Pricing Info for: v3-standard-8 20:13:35 INFO: Archiving Costs [Pipeline] sh 20:13:35 + cat /w/workspace/foundry_device-virtual-go_PR-450/archives/cost.csv 20:13:35 + cut -d, -f6 [Pipeline] lock 20:13:35 Trying to acquire lock on [jenkins-edgexfoundry-device-virtual-go-PR-450-1-stack-cost] 20:13:35 Resource [jenkins-edgexfoundry-device-virtual-go-PR-450-1-stack-cost] did not exist. Created. 20:13:35 Lock acquired on [jenkins-edgexfoundry-device-virtual-go-PR-450-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 20:13:36 + echo total: 0.2199999988079071 [Pipeline] stash 20:13:36 Stashed 1 file(s) [Pipeline] } 20:13:36 Lock released on resource [jenkins-edgexfoundry-device-virtual-go-PR-450-1-stack-cost] [Pipeline] // lock [Pipeline] } 20:13:36 $ docker stop --time=1 148c6fea8ba204368f948de69a84bf09edb77e07770c7ebe7bcc9b85b87a43ff 20:13:37 $ docker rm -f --volumes 148c6fea8ba204368f948de69a84bf09edb77e07770c7ebe7bcc9b85b87a43ff [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 20:15:03 Running on prd-ubuntu20.04-docker-arm64-4c-16g-17532 in /w/workspace/foundry_device-virtual-go_PR-450 [Pipeline] { [Pipeline] ws 20:15:03 Running in /w/workspace/device-virtual-go/1 [Pipeline] { [Pipeline] checkout 20:15:03 The recommended git tool is: git 20:15:08 using credential edgex-jenkins-ssh 20:15:08 Cloning the remote Git repository 20:15:08 Cloning repository git@github.com:edgexfoundry/device-virtual-go.git 20:15:08 > git init /w/workspace/device-virtual-go/1 # timeout=10 20:15:09 Fetching upstream changes from git@github.com:edgexfoundry/device-virtual-go.git 20:15:09 > git --version # timeout=10 20:15:09 > git --version # 'git version 2.25.1' 20:15:09 using GIT_SSH to set credentials SSH Credentials for GitHub 20:15:09 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-virtual-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 20:15:11 > git config remote.origin.url git@github.com:edgexfoundry/device-virtual-go.git # timeout=10 20:15:11 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 20:15:12 > git config remote.origin.url git@github.com:edgexfoundry/device-virtual-go.git # timeout=10 20:15:13 Merging remotes/origin/main commit a3e36257f0c9f774ec81edf885f9fc4e99897b55 into PR head commit 173252465490b9d9740a72c12effdbaa8705f49b 20:15:13 Merge succeeded, producing 173252465490b9d9740a72c12effdbaa8705f49b 20:15:13 Checking out Revision 173252465490b9d9740a72c12effdbaa8705f49b (PR-450) 20:15:12 Fetching upstream changes from git@github.com:edgexfoundry/device-virtual-go.git 20:15:12 using GIT_SSH to set credentials SSH Credentials for GitHub 20:15:12 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-virtual-go.git +refs/pull/450/head:refs/remotes/origin/PR-450 +refs/heads/main:refs/remotes/origin/main # timeout=10 20:15:13 > git config core.sparsecheckout # timeout=10 20:15:13 > git checkout -f 173252465490b9d9740a72c12effdbaa8705f49b # timeout=10 20:15:13 > git remote # timeout=10 20:15:13 > git config --get remote.origin.url # timeout=10 20:15:13 using GIT_SSH to set credentials SSH Credentials for GitHub 20:15:13 > git merge a3e36257f0c9f774ec81edf885f9fc4e99897b55 # timeout=10 20:15:13 > git rev-parse HEAD^{commit} # timeout=10 20:15:13 > git config core.sparsecheckout # timeout=10 20:15:13 > git checkout -f 173252465490b9d9740a72c12effdbaa8705f49b # timeout=10 20:15:16 Commit message: "fix: Address CVE in Alpine base image" 20:15:17 > git --version # timeout=10 20:15:17 > git --version # 'git version 2.25.1' 20:15:17 fatal: bad object 6375147a0d0ca7a67a13085e8428bd7204efc6d4 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 20:15:18 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 20:15:18 % Total % Received % Xferd Average Speed Time Time Time Current 20:15:18 Dload Upload Total Spent Left Speed 20:15:18 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12682 100 12682 0 0 89943 0 --:--:-- --:--:-- --:--:-- 89943 [Pipeline] sh 20:15:19 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 20:15:19 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 20:15:19 + sudo tee /etc/docker/daemon.new 20:15:19 { 20:15:19 "registry-mirrors": [ 20:15:19 "https://nexus3.edgexfoundry.org:10001" 20:15:19 ], 20:15:19 "bip": "10.250.0.254/24", 20:15:19 "hosts": [ 20:15:19 "tcp://0.0.0.0:5555", 20:15:19 "unix:///var/run/docker.sock" 20:15:19 ], 20:15:19 "mtu": 1458, 20:15:19 "selinux-enabled": true, 20:15:19 "seccomp-profile": "/etc/docker/seccomp.json" 20:15:19 } [Pipeline] sh 20:15:19 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 20:15:20 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 20:15:38 provisioning config files... 20:15:38 copy managed file [device-virtual-go-settings] to file:/w/workspace/device-virtual-go/1@tmp/config9110806944543746899tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 20:15:38 ---> docker-login.sh 20:15:38 nexus3.edgexfoundry.org:10001 20:15:39 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:15:39 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:15:39 Configure a credential helper to remove this warning. See 20:15:39 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:15:39 20:15:39 Login Succeeded 20:15:39 nexus3.edgexfoundry.org:10002 20:15:39 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:15:39 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:15:39 Configure a credential helper to remove this warning. See 20:15:39 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:15:39 20:15:39 Login Succeeded 20:15:39 nexus3.edgexfoundry.org:10003 20:15:40 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:15:40 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:15:40 Configure a credential helper to remove this warning. See 20:15:40 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:15:40 20:15:40 Login Succeeded 20:15:40 nexus3.edgexfoundry.org:10004 20:15:40 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:15:40 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:15:40 Configure a credential helper to remove this warning. See 20:15:40 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:15:40 20:15:40 Login Succeeded 20:15:40 docker.io 20:15:41 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:15:41 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:15:41 Configure a credential helper to remove this warning. See 20:15:41 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:15:41 20:15:41 Login Succeeded 20:15:41 ---> docker-login.sh ends [Pipeline] } 20:15:41 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 20:15:41 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 20:15:41 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 20:15:41 ========================================================= 20:15:41 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine] 20:15:41 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:15:42 + docker build -t ci-base-image-arm64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine --build-arg MAKE=echo noop --target=builder . 20:15:42 Sending build context to Docker daemon 11.98MB 20:15:42 Step 1/12 : ARG BASE=golang:1.21-alpine3.18 20:15:42 Step 2/12 : FROM ${BASE} AS builder 20:15:42 1.21-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 20:15:42 9fda8d8052c6: Pulling fs layer 20:15:42 5d54e960e981: Pulling fs layer 20:15:42 c4a7e357bf2a: Pulling fs layer 20:15:42 f0e02332f6b5: Pulling fs layer 20:15:42 872ee5b61b7b: Pulling fs layer 20:15:42 0c6a40ed1a82: Pulling fs layer 20:15:42 94ae7d8d031c: Pulling fs layer 20:15:42 872ee5b61b7b: Waiting 20:15:42 0c6a40ed1a82: Waiting 20:15:42 94ae7d8d031c: Waiting 20:15:42 f0e02332f6b5: Waiting 20:15:42 5d54e960e981: Download complete 20:15:42 f0e02332f6b5: Verifying Checksum 20:15:42 f0e02332f6b5: Download complete 20:15:43 872ee5b61b7b: Verifying Checksum 20:15:43 872ee5b61b7b: Download complete 20:15:43 9fda8d8052c6: Download complete 20:15:43 94ae7d8d031c: Verifying Checksum 20:15:43 94ae7d8d031c: Download complete 20:15:44 c4a7e357bf2a: Verifying Checksum 20:15:44 c4a7e357bf2a: Download complete 20:15:45 0c6a40ed1a82: Verifying Checksum 20:15:45 0c6a40ed1a82: Download complete 20:15:47 9fda8d8052c6: Pull complete 20:15:48 5d54e960e981: Pull complete 20:16:03 c4a7e357bf2a: Pull complete 20:16:03 f0e02332f6b5: Pull complete 20:16:03 872ee5b61b7b: Pull complete 20:16:11 0c6a40ed1a82: Pull complete 20:16:12 94ae7d8d031c: Pull complete 20:16:12 Digest: sha256:bced28d2139e98291f6f5222245e06760ce829f55f75386c6c13bfabca1016f1 20:16:12 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine 20:16:12 ---> 86de565de09d 20:16:12 Step 3/12 : ARG ALPINE_PKG_BASE="make git openssh-client" 20:16:13 ---> Running in 880b8eb4028e 20:16:13 Removing intermediate container 880b8eb4028e 20:16:13 ---> 40fb8e281f12 20:16:13 Step 4/12 : ARG ALPINE_PKG_EXTRA="" 20:16:13 ---> Running in 5a1ad6b6a6e3 20:16:14 Removing intermediate container 5a1ad6b6a6e3 20:16:14 ---> 3239f79d6a8b 20:16:14 Step 5/12 : ARG ADD_BUILD_TAGS="" 20:16:14 ---> Running in 6935133efed8 20:16:14 Removing intermediate container 6935133efed8 20:16:14 ---> 779e32b93bfc 20:16:14 Step 6/12 : WORKDIR /device-virtual-go 20:16:14 ---> Running in f7c3da779f27 20:16:15 Removing intermediate container f7c3da779f27 20:16:15 ---> aa142f3dc4d6 20:16:15 Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 20:16:15 ---> Running in 6674ed72e47e 20:16:16 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 20:16:16 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 20:16:17 (1/4) Installing openssh-keygen (9.3_p2-r0) 20:16:17 (2/4) Installing libedit (20221030.3.1-r1) 20:16:17 (3/4) Installing openssh-client-common (9.3_p2-r0) 20:16:17 (4/4) Installing openssh-client-default (9.3_p2-r0) 20:16:17 Executing busybox-1.36.1-r5.trigger 20:16:18 OK: 271 MiB in 56 packages 20:16:19 Removing intermediate container 6674ed72e47e 20:16:19 ---> 2b3d42b4b5df 20:16:19 Step 8/12 : COPY go.mod vendor* ./ 20:16:19 ---> 1ac6d2dd0f4e 20:16:19 Step 9/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 20:16:19 ---> Running in ef69a8440bb1 20:17:41 Removing intermediate container ef69a8440bb1 20:17:41 ---> a3aeb6bab292 20:17:41 Step 10/12 : COPY . . 20:17:41 ---> 267ff3c8ef7f 20:17:41 Step 11/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 20:17:41 ---> Running in 0f0b30001d9a 20:17:41 Removing intermediate container 0f0b30001d9a 20:17:41 ---> 8340d53f5aea 20:17:41 Step 12/12 : RUN $MAKE 20:17:41 ---> Running in de8d528aaa23 20:17:41 noop 20:17:41 Removing intermediate container de8d528aaa23 20:17:41 ---> d106fa5b12c1 20:17:41 Successfully built d106fa5b12c1 20:17:41 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:17:41 + docker inspect -f . ci-base-image-arm64 20:17:41 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 20:17:41 prd-ubuntu20.04-docker-arm64-4c-16g-17532 does not seem to be running inside a container 20:17:42 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-virtual-go/1 -v /w/workspace/device-virtual-go/1:/w/workspace/device-virtual-go/1:rw,z -v /w/workspace/device-virtual-go/1@tmp:/w/workspace/device-virtual-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 20:17:43 $ docker top b9015bbb4663627b6e148068d7d239d6967d36c16c298f496879ad1bed07d300 -eo pid,comm [Pipeline] { [Pipeline] sh 20:17:44 + go version 20:17:44 go version go1.21.0 linux/arm64 [Pipeline] } 20:17:44 $ docker stop --time=1 b9015bbb4663627b6e148068d7d239d6967d36c16c298f496879ad1bed07d300 20:17:45 $ docker rm -f --volumes b9015bbb4663627b6e148068d7d239d6967d36c16c298f496879ad1bed07d300 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:17:46 + docker inspect -f . ci-base-image-arm64 20:17:46 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 20:17:47 prd-ubuntu20.04-docker-arm64-4c-16g-17532 does not seem to be running inside a container 20:17:47 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/device-virtual-go/1 -v /w/workspace/device-virtual-go/1:/w/workspace/device-virtual-go/1:rw,z -v /w/workspace/device-virtual-go/1@tmp:/w/workspace/device-virtual-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 20:17:48 $ docker top 108ecfbdb40b3c0c82e7855a6f3aa4f6cccfba3599a9b461e5ec5332452932ac -eo pid,comm [Pipeline] { [Pipeline] sh 20:17:48 + git config --global --add safe.directory /w/workspace/device-virtual-go/1 [Pipeline] fileExists [Pipeline] sh 20:17:49 + make test 20:17:49 go test ./... -coverprofile=coverage.out 20:17:54 ? github.com/edgexfoundry/device-virtual-go [no test files] 20:19:30 ? github.com/edgexfoundry/device-virtual-go/cmd [no test files] 20:19:30 ok github.com/edgexfoundry/device-virtual-go/internal/driver 0.071s coverage: 58.4% of statements 20:19:30 WARNING: Linting skipped (not on x86_64 or linter not installed) 20:19:30 go vet ./... 20:19:45 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 20:19:45 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 20:19:45 ./bin/test-attribution-txt.sh [Pipeline] echo 20:19:45 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] } 20:19:45 $ docker stop --time=1 108ecfbdb40b3c0c82e7855a6f3aa4f6cccfba3599a9b461e5ec5332452932ac 20:19:51 $ docker rm -f --volumes 108ecfbdb40b3c0c82e7855a6f3aa4f6cccfba3599a9b461e5ec5332452932ac [Pipeline] // withDockerContainer [Pipeline] sh 20:19:52 + sudo chown -R jenkins:jenkins . [Pipeline] stash 20:19:52 Warning: overwriting stash ‘coverage-report’ 20:19:53 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 20:19:53 + sudo chown -R jenkins:jenkins . [Pipeline] sh 20:19:54 + ls -al . 20:19:54 total 196 20:19:54 drwxrwxr-x 7 jenkins jenkins 4096 Nov 14 20:17 . 20:19:54 drwxrwxr-x 4 jenkins jenkins 4096 Nov 14 20:15 .. 20:19:54 drwxrwxr-x 8 jenkins jenkins 4096 Nov 14 20:15 .git 20:19:54 drwxrwxr-x 3 jenkins jenkins 4096 Nov 14 20:15 .github 20:19:54 -rw-rw-r-- 1 jenkins jenkins 272 Nov 14 20:15 .gitignore 20:19:54 -rw-rw-r-- 1 jenkins jenkins 41 Nov 14 20:15 .golangci.yml 20:19:54 -rw-rw-r-- 1 jenkins jenkins 9708 Nov 14 20:15 Attribution.txt 20:19:54 -rw-rw-r-- 1 jenkins jenkins 15941 Nov 14 20:15 CHANGELOG.md 20:19:54 -rw-rw-r-- 1 jenkins jenkins 1755 Nov 14 20:15 Dockerfile 20:19:54 -rw-rw-r-- 1 jenkins jenkins 677 Nov 14 20:15 GOVERNANCE.md 20:19:54 -rw-rw-r-- 1 jenkins jenkins 660 Nov 14 20:15 Jenkinsfile 20:19:54 -rw-rw-r-- 1 jenkins jenkins 11340 Nov 14 20:15 LICENSE 20:19:54 -rw-rw-r-- 1 jenkins jenkins 1947 Nov 14 20:15 Makefile 20:19:54 -rw-rw-r-- 1 jenkins jenkins 623 Nov 14 20:15 OWNERS.md 20:19:54 -rw-rw-r-- 1 jenkins jenkins 4103 Nov 14 20:15 README.md 20:19:54 -rw-rw-r-- 1 jenkins jenkins 5 Nov 14 20:11 VERSION 20:19:54 drwxrwxr-x 2 jenkins jenkins 4096 Nov 14 20:15 bin 20:19:54 drwxrwxr-x 3 jenkins jenkins 4096 Nov 14 20:15 cmd 20:19:54 -rw-r--r-- 1 jenkins jenkins 43063 Nov 14 20:19 coverage.out 20:19:54 -rw-rw-r-- 1 jenkins jenkins 3591 Nov 14 20:15 go.mod 20:19:54 -rw-rw-r-- 1 jenkins jenkins 34396 Nov 14 20:15 go.sum 20:19:54 drwxrwxr-x 3 jenkins jenkins 4096 Nov 14 20:15 internal 20:19:54 -rw-rw-r-- 1 jenkins jenkins 235 Nov 14 20:15 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:19:54 + docker build -t device-virtual-arm64 -f Dockerfile --build-arg BASE=ci-base-image-arm64 --build-arg MAKE=make build --build-arg ARCH=arm64 --label git_sha=173252465490b9d9740a72c12effdbaa8705f49b --label arch=arm64 --label version=0.0.0 . 20:19:56 Sending build context to Docker daemon 12.03MB 20:19:56 Step 1/26 : ARG BASE=golang:1.21-alpine3.18 20:19:56 Step 2/26 : FROM ${BASE} AS builder 20:19:56 ---> d106fa5b12c1 20:19:56 Step 3/26 : ARG ALPINE_PKG_BASE="make git openssh-client" 20:19:56 ---> Running in 7b1398e7ce6f 20:19:56 Removing intermediate container 7b1398e7ce6f 20:19:56 ---> 7ad0665f0d19 20:19:56 Step 4/26 : ARG ALPINE_PKG_EXTRA="" 20:19:56 ---> Running in b98312e19669 20:19:56 Removing intermediate container b98312e19669 20:19:56 ---> 3962a252fd7e 20:19:56 Step 5/26 : ARG ADD_BUILD_TAGS="" 20:19:56 ---> Running in 6a137896e7f0 20:19:57 Removing intermediate container 6a137896e7f0 20:19:57 ---> 8a206f6bebb9 20:19:57 Step 6/26 : WORKDIR /device-virtual-go 20:19:57 ---> Running in 5c7e48e331c0 20:19:59 Removing intermediate container 5c7e48e331c0 20:19:59 ---> 45ece6ec8f66 20:19:59 Step 7/26 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 20:19:59 ---> Running in 35de323c41fe 20:20:00 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 20:20:00 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 20:20:01 OK: 271 MiB in 56 packages 20:20:07 Removing intermediate container 35de323c41fe 20:20:07 ---> 78a4147dc756 20:20:07 Step 8/26 : COPY go.mod vendor* ./ 20:20:07 ---> b7739e34b884 20:20:07 Step 9/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 20:20:07 ---> Running in 62039a8f4df8 20:20:11 Removing intermediate container 62039a8f4df8 20:20:11 ---> 8947e87f2d72 20:20:11 Step 10/26 : COPY . . 20:20:11 ---> 14c5bf1f5425 20:20:11 Step 11/26 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 20:20:11 ---> Running in 8c1ac3098904 20:20:12 Removing intermediate container 8c1ac3098904 20:20:12 ---> 4e3abcab19a4 20:20:12 Step 12/26 : RUN $MAKE 20:20:12 ---> Running in 69b171d09129 20:20:13 CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-virtual-go.Version=0.0.0 -X github.com/edgexfoundry/device-sdk-go/v3/internal/common.SDKVersion=v3.1.0" -trimpath -mod=readonly -o cmd/device-virtual ./cmd 20:22:04 Removing intermediate container 69b171d09129 20:22:04 ---> 6b8a727af78e 20:22:04 Step 13/26 : FROM alpine:3.18 20:22:04 3.18: Pulling from library/alpine 20:22:04 579b34f0a95b: Pulling fs layer 20:22:04 579b34f0a95b: Download complete 20:22:04 579b34f0a95b: Pull complete 20:22:04 Digest: sha256:eece025e432126ce23f223450a0326fbebde39cdf496a85d8c016293fc851978 20:22:04 Status: Downloaded newer image for alpine:3.18 20:22:04 ---> 3cc203321400 20:22:04 Step 14/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2021: IOTech' 20:22:04 ---> Running in 694a21d3ad97 20:22:04 Removing intermediate container 694a21d3ad97 20:22:04 ---> 7e1478071010 20:22:04 Step 15/26 : RUN apk add --update --no-cache dumb-init 20:22:04 ---> Running in 2c3f199de4cc 20:22:04 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 20:22:04 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 20:22:04 (1/1) Installing dumb-init (1.2.5-r2) 20:22:04 Executing busybox-1.36.1-r2.trigger 20:22:04 OK: 8 MiB in 16 packages 20:22:04 Removing intermediate container 2c3f199de4cc 20:22:04 ---> a37b516f5990 20:22:04 Step 16/26 : RUN apk --no-cache upgrade 20:22:04 ---> Running in 3186bcd32e9f 20:22:04 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 20:22:04 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 20:22:04 (1/7) Upgrading musl (1.2.4-r1 -> 1.2.4-r2) 20:22:04 (2/7) Upgrading busybox (1.36.1-r2 -> 1.36.1-r5) 20:22:04 Executing busybox-1.36.1-r5.post-upgrade 20:22:04 (3/7) Upgrading busybox-binsh (1.36.1-r2 -> 1.36.1-r5) 20:22:04 (4/7) Upgrading libcrypto3 (3.1.3-r0 -> 3.1.4-r1) 20:22:04 (5/7) Upgrading libssl3 (3.1.3-r0 -> 3.1.4-r1) 20:22:04 (6/7) Upgrading ssl_client (1.36.1-r2 -> 1.36.1-r5) 20:22:04 (7/7) Upgrading musl-utils (1.2.4-r1 -> 1.2.4-r2) 20:22:04 Executing busybox-1.36.1-r5.trigger 20:22:04 OK: 8 MiB in 16 packages 20:22:04 Removing intermediate container 3186bcd32e9f 20:22:04 ---> 48c5d72574b8 20:22:04 Step 17/26 : WORKDIR / 20:22:04 ---> Running in 735bb21e0794 20:22:04 Removing intermediate container 735bb21e0794 20:22:04 ---> 20d0dc81474e 20:22:04 Step 18/26 : COPY --from=builder /device-virtual-go/Attribution.txt / 20:22:04 ---> f4242f6fb976 20:22:04 Step 19/26 : COPY --from=builder /device-virtual-go/LICENSE / 20:22:04 ---> 99aa74ed390e 20:22:04 Step 20/26 : COPY --from=builder /device-virtual-go/cmd / 20:22:04 ---> d64789dd65b6 20:22:04 Step 21/26 : EXPOSE 59900 20:22:04 ---> Running in 3dd22334237c 20:22:04 Removing intermediate container 3dd22334237c 20:22:04 ---> 35daf6b09783 20:22:04 Step 22/26 : ENTRYPOINT ["/device-virtual"] 20:22:04 ---> Running in 52e454eb5b88 20:22:04 Removing intermediate container 52e454eb5b88 20:22:04 ---> 70d78d997cd0 20:22:04 Step 23/26 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry"] 20:22:04 ---> Running in 6c9f3b8190ca 20:22:05 Removing intermediate container 6c9f3b8190ca 20:22:05 ---> a5821c46b7f8 20:22:05 Step 24/26 : LABEL arch=arm64 20:22:05 ---> Running in e0772bf72212 20:22:05 Removing intermediate container e0772bf72212 20:22:05 ---> 7a3f52624a6a 20:22:05 Step 25/26 : LABEL git_sha=173252465490b9d9740a72c12effdbaa8705f49b 20:22:05 ---> Running in 1233a435f943 20:22:05 Removing intermediate container 1233a435f943 20:22:05 ---> 3a81f0021c25 20:22:05 Step 26/26 : LABEL version=0.0.0 20:22:05 ---> Running in 4c83598c6950 20:22:06 Removing intermediate container 4c83598c6950 20:22:06 ---> 708e4f82ef3b 20:22:06 [Warning] One or more build-args [ARCH] were not consumed 20:22:06 Successfully built 708e4f82ef3b 20:22:06 Successfully tagged device-virtual-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 20:22:06 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 20:22:06 20:22:06 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:22:07 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 20:22:07 arm64: Pulling from edgex-lftools-log-publisher 20:22:07 8998bd30e6a1: Pulling fs layer 20:22:07 04944245beec: Pulling fs layer 20:22:07 699f458cf7ca: Pulling fs layer 20:22:07 765212b225bb: Pulling fs layer 20:22:07 f23df028b6ca: Pulling fs layer 20:22:07 d65c8cfc05b1: Pulling fs layer 20:22:07 2437ff75d9bd: Pulling fs layer 20:22:07 765212b225bb: Waiting 20:22:07 f23df028b6ca: Waiting 20:22:07 2437ff75d9bd: Waiting 20:22:07 d65c8cfc05b1: Waiting 20:22:07 04944245beec: Verifying Checksum 20:22:07 04944245beec: Download complete 20:22:07 765212b225bb: Download complete 20:22:07 f23df028b6ca: Verifying Checksum 20:22:07 f23df028b6ca: Download complete 20:22:07 d65c8cfc05b1: Verifying Checksum 20:22:07 d65c8cfc05b1: Download complete 20:22:07 699f458cf7ca: Verifying Checksum 20:22:07 699f458cf7ca: Download complete 20:22:08 8998bd30e6a1: Verifying Checksum 20:22:08 8998bd30e6a1: Download complete 20:22:12 8998bd30e6a1: Pull complete 20:22:12 04944245beec: Pull complete 20:22:13 2437ff75d9bd: Verifying Checksum 20:22:13 2437ff75d9bd: Download complete 20:22:14 699f458cf7ca: Pull complete 20:22:14 765212b225bb: Pull complete 20:22:15 f23df028b6ca: Pull complete 20:22:15 d65c8cfc05b1: Pull complete 20:22:33 2437ff75d9bd: Pull complete 20:22:33 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 20:22:33 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 20:22:33 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 20:22:33 prd-ubuntu20.04-docker-arm64-4c-16g-17532 does not seem to be running inside a container 20:22:33 $ 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-virtual-go/1 -v /w/workspace/device-virtual-go/1:/w/workspace/device-virtual-go/1:rw,z -v /w/workspace/device-virtual-go/1@tmp:/w/workspace/device-virtual-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat 20:22:36 $ docker top 9380831f4390796dcd001bc6efdd9d0673050dd8a026134e760e2d1e545a1f86 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 20:22:37 ---> job-cost.sh 20:22:37 lf-activate-venv: SKIPPING 20:22:37 INFO: No Stack... 20:22:38 INFO: Retrieving Pricing Info for: v3-standard-4 20:22:38 INFO: Archiving Costs [Pipeline] sh 20:22:39 + + cut -d,cat /w/workspace/device-virtual-go/1/archives/cost.csv -f6 20:22:39 [Pipeline] lock 20:22:39 Trying to acquire lock on [jenkins-edgexfoundry-device-virtual-go-PR-450-1-stack-cost] 20:22:39 Resource [jenkins-edgexfoundry-device-virtual-go-PR-450-1-stack-cost] did not exist. Created. 20:22:39 Lock acquired on [jenkins-edgexfoundry-device-virtual-go-PR-450-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 20:22:40 /w/workspace/device-virtual-go/1@tmp/durable-2f1728ea/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 20:22:40 + echo total: 0.10999999940395355 [Pipeline] stash 20:22:40 Warning: overwriting stash ‘stack-cost’ 20:22:40 Stashed 1 file(s) [Pipeline] } 20:22:40 Lock released on resource [jenkins-edgexfoundry-device-virtual-go-PR-450-1-stack-cost] [Pipeline] // lock [Pipeline] } 20:22:40 $ docker stop --time=1 9380831f4390796dcd001bc6efdd9d0673050dd8a026134e760e2d1e545a1f86 20:22:42 $ docker rm -f --volumes 9380831f4390796dcd001bc6efdd9d0673050dd8a026134e760e2d1e545a1f86 [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 20:22:43 provisioning config files... 20:22:43 copy managed file [device-virtual-go-codecov-token] to file:/w/workspace/foundry_device-virtual-go_PR-450@tmp/config17134838340771770849tmp [Pipeline] { [Pipeline] sh 20:22:43 + set +x 20:22:43 + curl -s https://codecov.io/bash 20:22:43 + bash -s -- 20:22:43 20:22:43 _____ _ 20:22:43 / ____| | | 20:22:43 | | ___ __| | ___ ___ _____ __ 20:22:43 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 20:22:43 | |___| (_) | (_| | __/ (_| (_) \ V / 20:22:43 \_____\___/ \__,_|\___|\___\___/ \_/ 20:22:43 Bash-1.0.6 20:22:43 20:22:43 20:22:43 ==> git version 2.25.1 found 20:22:43 ==> 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 20:22:43 Release-Date: 2020-01-08 20:22:43 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 20:22:43 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 20:22:43 ==> Jenkins CI detected. 20:22:43 current dir:  /w/workspace/foundry_device-virtual-go_PR-450 20:22:43 project root: . 20:22:43 --> token set from env 20:22:43 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 20:22:43 ==> Running gcov in . (disable via -X gcov) 20:22:43 ==> Python coveragepy not found 20:22:43 ==> Searching for coverage reports in: 20:22:43 + . 20:22:43 -> Found 1 reports 20:22:43 ==> Detecting git/mercurial file structure 20:22:43 ==> Reading reports 20:22:43 + ./coverage.out bytes=43063 20:22:43 ==> Appending adjustments 20:22:43 https://docs.codecov.io/docs/fixing-reports 20:22:43 + Found adjustments 20:22:43 ==> Gzipping contents 20:22:43 8.0K /tmp/codecov.WkUpai.gz 20:22:43 ==> Uploading reports 20:22:43 url: https://codecov.io 20:22:43 query: branch=PR-450&commit=173252465490b9d9740a72c12effdbaa8705f49b&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-virtual-go%2Fjob%2FPR-450%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-virtual-go&service=jenkins&flags=&pr=450&job=&cmd_args= 20:22:43 -> Pinging Codecov 20:22:43 https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=a35e349c-7876-4d48-9269-e9fc36774240&branch=PR-450&commit=173252465490b9d9740a72c12effdbaa8705f49b&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-virtual-go%2Fjob%2FPR-450%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-virtual-go&service=jenkins&flags=&pr=450&job=&cmd_args= 20:22:43 -> Uploading to 20:22:43 https://storage.googleapis.com/codecov/v4/raw/2023-11-14/5E52B4B073DB2E39498172D8E973AA87/173252465490b9d9740a72c12effdbaa8705f49b/e12e1f48-64eb-40a2-8820-f5bdec99b229.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20231114%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20231114T202243Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=aa211509e75624a1a765e26da3a6eead9ce71ec217343a665ed2284eeba8ab15 20:22:43 % Total % Received % Xferd Average Speed Time Time Time Current 20:22:43 Dload Upload Total Spent Left Speed 20:22:44 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 4998 0 0 100 4998 0 19912 --:--:-- --:--:-- --:--:-- 19912 20:22:44 -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-virtual-go/commit/173252465490b9d9740a72c12effdbaa8705f49b [Pipeline] } 20:22:44 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 20:22:46 + [ -d /w/workspace/foundry_device-virtual-go_PR-450/archives ] 20:22:46 + ls -al /w/workspace/foundry_device-virtual-go_PR-450/archives 20:22:46 total 16 20:22:46 drwxr-xr-x 3 root root 4096 Nov 14 20:13 . 20:22:46 drwxrwxr-x 9 jenkins jenkins 4096 Nov 14 20:13 .. 20:22:46 drwxr-xr-x 2 root root 4096 Nov 14 20:13 cost 20:22:46 -rw-r--r-- 1 root root 89 Nov 14 20:13 cost.csv 20:22:46 + sudo chown -R jenkins:jenkins /w/workspace/foundry_device-virtual-go_PR-450/archives 20:22:46 + ls -al /w/workspace/foundry_device-virtual-go_PR-450/archives 20:22:46 total 16 20:22:46 drwxr-xr-x 3 jenkins jenkins 4096 Nov 14 20:13 . 20:22:46 drwxrwxr-x 9 jenkins jenkins 4096 Nov 14 20:13 .. 20:22:46 drwxr-xr-x 2 jenkins jenkins 4096 Nov 14 20:13 cost 20:22:46 -rw-r--r-- 1 jenkins jenkins 89 Nov 14 20:13 cost.csv [Pipeline] libraryResource [Pipeline] sh 20:22:46 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 20:22:47 ---> package-listing.sh 20:22:47 ++ facter osfamily 20:22:47 ++ tr '[:upper:]' '[:lower:]' 20:22:47 + OS_FAMILY=debian 20:22:47 + workspace=/w/workspace/foundry_device-virtual-go_PR-450 20:22:47 + START_PACKAGES=/tmp/packages_start.txt 20:22:47 + END_PACKAGES=/tmp/packages_end.txt 20:22:47 + DIFF_PACKAGES=/tmp/packages_diff.txt 20:22:47 + PACKAGES=/tmp/packages_start.txt 20:22:47 + '[' /w/workspace/foundry_device-virtual-go_PR-450 ']' 20:22:47 + PACKAGES=/tmp/packages_end.txt 20:22:47 + case "${OS_FAMILY}" in 20:22:47 + dpkg -l 20:22:47 + grep '^ii' 20:22:47 + '[' -f /tmp/packages_start.txt ']' 20:22:47 + '[' -f /tmp/packages_end.txt ']' 20:22:47 + diff /tmp/packages_start.txt /tmp/packages_end.txt 20:22:47 + '[' /w/workspace/foundry_device-virtual-go_PR-450 ']' 20:22:47 + mkdir -p /w/workspace/foundry_device-virtual-go_PR-450/archives/ 20:22:47 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/foundry_device-virtual-go_PR-450/archives/ [Pipeline] echo 20:22:47 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/foundry_device-virtual-go_PR-450/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 20:22:47 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:22:48 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 20:22:48 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 20:22:48 prd-ubuntu20.04-docker-8c-8g-17531 does not seem to be running inside a container 20:22:48 $ 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/foundry_device-virtual-go_PR-450/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/foundry_device-virtual-go_PR-450 -v /w/workspace/foundry_device-virtual-go_PR-450:/w/workspace/foundry_device-virtual-go_PR-450:rw,z -v /w/workspace/foundry_device-virtual-go_PR-450@tmp:/w/workspace/foundry_device-virtual-go_PR-450@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 20:22:48 $ docker top fd50d81725de4bf1d0c3e3330cf75244650f4b6d901d9ef5d5a735adc114d596 -eo pid,comm [Pipeline] { [Pipeline] sh 20:22:49 + touch /tmp/pre-build-complete [Pipeline] sh 20:22:49 + mkdir -p /var/log/sysstat [Pipeline] sh 20:22:49 + ls /var/log/sa-host 20:22:49 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 20:22:50 provisioning config files... 20:22:50 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/foundry_device-virtual-go_PR-450@tmp/config12056521455184953888tmp [Pipeline] { [Pipeline] echo 20:22:50 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 20:22:50 ---> create-netrc.sh [Pipeline] } 20:22:50 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 20:22:50 ---> python-tools-install.sh [Pipeline] echo 20:22:50 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 20:22:51 ---> sudo-logs.sh 20:22:51 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 20:22:51 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 20:22:51 ---> job-cost.sh 20:22:51 lf-activate-venv: SKIPPING 20:22:51 DEBUG: total: 0.2199999988079071 20:22:51 INFO: Retrieving Stack Cost... 20:22:52 INFO: Retrieving Pricing Info for: v3-standard-8 20:22:52 INFO: Archiving Costs [Pipeline] echo 20:22:52 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 20:22:52 ---> logs-deploy.sh 20:22:52 lf-activate-venv: SKIPPING 20:22:52 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-virtual-go/PR-450/1 20:22:52 INFO: archiving workspace using pattern(s): 20:22:53 Archives upload complete. 20:22:53 INFO: archiving logs to Nexus