Pull request #432 opened Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 8d64545ab26be931b1b0a18d1d068cae15b5ee52+a79f7bfda672890f5a827a453c16a6ee5e560f4d (e5b623aa17e42d0b8a8ba06cf6fb033dbb641fa2) 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-ssh7122138210502252518.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision e143027787c0ac28563f7e92b6cefc600d3b7107 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-ssh17532790805527545781.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 e143027787c0ac28563f7e92b6cefc600d3b7107 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-432/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-432/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh7817009921366051202.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-432/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh8280251178995478885.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision e143027787c0ac28563f7e92b6cefc600d3b7107 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f e143027787c0ac28563f7e92b6cefc600d3b7107 # timeout=10 Commit message: "Merge pull request #442 from ernestojeda/golang-1.21" > 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-ssh4282542573774926995.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-432/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-432/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh652631320090671601.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 e143027787c0ac28563f7e92b6cefc600d3b7107 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 All nodes of label ‘ubuntu20.04-docker-8c-8g’ are offline Running on prd-ubuntu20.04-docker-8c-8g-7559 in /w/workspace/foundry_device-virtual-go_PR-432 [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-432 # 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/432/head:refs/remotes/origin/PR-432 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit a79f7bfda672890f5a827a453c16a6ee5e560f4d into PR head commit 8d64545ab26be931b1b0a18d1d068cae15b5ee52 Merge succeeded, producing 8d64545ab26be931b1b0a18d1d068cae15b5ee52 Checking out Revision 8d64545ab26be931b1b0a18d1d068cae15b5ee52 (PR-432) Commit message: "build(deps): Bump github.com/edgexfoundry/device-sdk-go/v3" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.25.1' fatal: bad object e143027787c0ac28563f7e92b6cefc600d3b7107 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 11:32:59 Timeout set to expire in 6 hr 0 min [Pipeline] { > git config core.sparsecheckout # timeout=10 > git checkout -f 8d64545ab26be931b1b0a18d1d068cae15b5ee52 # 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 a79f7bfda672890f5a827a453c16a6ee5e560f4d # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 8d64545ab26be931b1b0a18d1d068cae15b5ee52 # timeout=10 [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 11:32:59 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 11:32:59 ========================================================= 11:32:59 EdgeX Global Pipelines Version Info 11:32:59 ========================================================= [Pipeline] libraryResource [Pipeline] sh 11:33:00 ------------------- 11:33:00 stable info: 11:33:00 ------------------- 11:33:00 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 11:33:00 Commit SHA: e143027787c0ac28563f7e92b6cefc600d3b7107 11:33:00 Message: update stable to v1.0.254 11:33:00 ------------------- 11:33:00 experimental info: 11:33:00 ------------------- 11:33:00 Commited By: **** collab-it+edgex@linuxfoundation.org 11:33:00 Commit SHA: e143027787c0ac28563f7e92b6cefc600d3b7107 11:33:00 Message: update experimental to v1.0.254 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 11:33:01 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-virtual-go-settings [Pipeline] echo 11:33:01 [edgeXSetupEnvironment]: set envvar PROJECT = device-virtual-go [Pipeline] echo 11:33:01 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 11:33:01 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 11:33:01 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 11:33:01 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.21 [Pipeline] echo 11:33:01 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 11:33:01 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 11:33:01 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 11:33:01 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 11:33:01 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 11:33:01 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-virtual [Pipeline] echo 11:33:01 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 11:33:01 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 11:33:01 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 11:33:01 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 11:33:01 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 11:33:01 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 11:33:01 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 11:33:01 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 11:33:01 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 11:33:01 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 11:33:01 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 11:33:01 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 11:33:01 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 11:33:02 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 11:33:02 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 11:33:02 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-432 [Pipeline] echo 11:33:02 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-432 [Pipeline] echo 11:33:02 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-432 [Pipeline] echo 11:33:02 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 8d64545ab26be931b1b0a18d1d068cae15b5ee52 [Pipeline] echo 11:33:02 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 8d64545 [Pipeline] echo 11:33:02 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 11:33:02 provisioning config files... 11:33:02 copy managed file [device-virtual-go-settings] to file:/w/workspace/foundry_device-virtual-go_PR-432@tmp/config2285478748332916949tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 11:33:02 ---> docker-login.sh 11:33:02 nexus3.edgexfoundry.org:10001 11:33:03 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 11:33:03 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 11:33:03 Configure a credential helper to remove this warning. See 11:33:03 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 11:33:03 11:33:03 Login Succeeded 11:33:03 nexus3.edgexfoundry.org:10002 11:33:03 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 11:33:03 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 11:33:03 Configure a credential helper to remove this warning. See 11:33:03 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 11:33:03 11:33:03 Login Succeeded 11:33:03 nexus3.edgexfoundry.org:10003 11:33:03 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 11:33:03 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 11:33:03 Configure a credential helper to remove this warning. See 11:33:03 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 11:33:03 11:33:03 Login Succeeded 11:33:03 nexus3.edgexfoundry.org:10004 11:33:03 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 11:33:03 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 11:33:03 Configure a credential helper to remove this warning. See 11:33:03 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 11:33:03 11:33:03 Login Succeeded 11:33:03 docker.io 11:33:03 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 11:33:03 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 11:33:03 Configure a credential helper to remove this warning. See 11:33:03 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 11:33:03 11:33:03 Login Succeeded 11:33:03 ---> docker-login.sh ends [Pipeline] } 11:33:03 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 11:33:04 + git rev-list -1 --merges 8d64545ab26be931b1b0a18d1d068cae15b5ee52~1..8d64545ab26be931b1b0a18d1d068cae15b5ee52 [Pipeline] echo 11:33:04 -----------> git rev-list -1 --merges 8d64545ab26be931b1b0a18d1d068cae15b5ee52~1..8d64545ab26be931b1b0a18d1d068cae15b5ee52 8d64545ab26be931b1b0a18d1d068cae15b5ee52 [false] [Pipeline] sh 11:33:04 + git log --format=format:%s -1 8d64545ab26be931b1b0a18d1d068cae15b5ee52 [Pipeline] echo 11:33:05 ========================================================= 11:33:05 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 11:33:05 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 11:33:05 + git log --format=format:%s -1 8d64545ab26be931b1b0a18d1d068cae15b5ee52 [Pipeline] echo 11:33:05 [semverPrep] GIT_COMMIT: 8d64545ab26be931b1b0a18d1d068cae15b5ee52, Commit Message: build(deps): Bump github.com/edgexfoundry/device-sdk-go/v3 [Pipeline] echo 11:33:05 [semverPrep] This is not a build commit. [Pipeline] sh 11:33:05 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 11:33:05 + grep -v github /etc/ssh/ssh_known_hosts 11:33:05 + [ -e /tmp/ssh_known_hosts ] 11:33:05 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 11:33:05 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 11:33:05 + sudo tee -a /etc/ssh/ssh_known_hosts 11:33:05 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 11:33:06 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 11:33:06 11:33:06 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 11:33:06 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 11:33:06 0.1.4: Pulling from edgex-devops/py-git-semver 11:33:06 b85a868b505f: Pulling fs layer 11:33:06 e2be974225ed: Pulling fs layer 11:33:06 339a4e72a1f5: Pulling fs layer 11:33:06 988bab9f4d93: Pulling fs layer 11:33:06 1469e6f7b9e6: Pulling fs layer 11:33:06 eaf3925da568: Pulling fs layer 11:33:06 bab4dde63d76: Pulling fs layer 11:33:06 bde34c3a00c8: Pulling fs layer 11:33:06 b352a97aabf1: Pulling fs layer 11:33:06 4872d77fe225: Pulling fs layer 11:33:06 5851b861e8e6: Pulling fs layer 11:33:06 bde34c3a00c8: Waiting 11:33:06 b352a97aabf1: Waiting 11:33:06 1469e6f7b9e6: Waiting 11:33:06 bab4dde63d76: Waiting 11:33:06 4872d77fe225: Waiting 11:33:06 5851b861e8e6: Waiting 11:33:06 988bab9f4d93: Waiting 11:33:06 e2be974225ed: Download complete 11:33:06 988bab9f4d93: Download complete 11:33:07 1469e6f7b9e6: Verifying Checksum 11:33:07 1469e6f7b9e6: Download complete 11:33:07 eaf3925da568: Verifying Checksum 11:33:07 eaf3925da568: Download complete 11:33:07 339a4e72a1f5: Verifying Checksum 11:33:07 339a4e72a1f5: Download complete 11:33:07 bde34c3a00c8: Download complete 11:33:07 4872d77fe225: Verifying Checksum 11:33:07 4872d77fe225: Download complete 11:33:07 5851b861e8e6: Verifying Checksum 11:33:07 5851b861e8e6: Download complete 11:33:07 b85a868b505f: Verifying Checksum 11:33:07 b85a868b505f: Download complete 11:33:07 bab4dde63d76: Verifying Checksum 11:33:07 bab4dde63d76: Download complete 11:33:08 b85a868b505f: Pull complete 11:33:08 e2be974225ed: Pull complete 11:33:09 339a4e72a1f5: Pull complete 11:33:09 988bab9f4d93: Pull complete 11:33:09 1469e6f7b9e6: Pull complete 11:33:09 eaf3925da568: Pull complete 11:33:11 bab4dde63d76: Pull complete 11:33:11 bde34c3a00c8: Pull complete 11:33:11 b352a97aabf1: Pull complete 11:33:11 4872d77fe225: Pull complete 11:33:11 5851b861e8e6: Pull complete 11:33:11 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 11:33:11 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 11:33:11 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 11:33:11 prd-ubuntu20.04-docker-8c-8g-7559 does not seem to be running inside a container 11:33:11 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/foundry_device-virtual-go_PR-432 -v /w/workspace/foundry_device-virtual-go_PR-432:/w/workspace/foundry_device-virtual-go_PR-432:rw,z -v /w/workspace/foundry_device-virtual-go_PR-432@tmp:/w/workspace/foundry_device-virtual-go_PR-432@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 ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 11:33:15 $ docker top 9bc9a9924ebb201f9eafa870fa1baa90ef08a303f082a63dec507a1e8e41cb98 -eo pid,comm 11:33:15 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). 11:33:15 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 11:33:15 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 11:33:15 [ssh-agent] Looking for ssh-agent implementation... 11:33:15 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 11:33:15 $ docker exec 9bc9a9924ebb201f9eafa870fa1baa90ef08a303f082a63dec507a1e8e41cb98 ssh-agent 11:33:15 SSH_AUTH_SOCK=/tmp/ssh-s7uaPlTeZZdU/agent.31 11:33:15 SSH_AGENT_PID=38 11:33:15 Running ssh-add (command line suppressed) 11:33:15 Identity added: /w/workspace/foundry_device-virtual-go_PR-432@tmp/private_key_6287662140637784113.key (/w/workspace/foundry_device-virtual-go_PR-432@tmp/private_key_6287662140637784113.key) 11:33:15 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 11:33:16 + git tag --points-at HEAD [Pipeline] } 11:33:16 $ docker exec --env ******** --env ******** 9bc9a9924ebb201f9eafa870fa1baa90ef08a303f082a63dec507a1e8e41cb98 ssh-agent -k 11:33:16 unset SSH_AUTH_SOCK; 11:33:16 unset SSH_AGENT_PID; 11:33:16 echo Agent pid 38 killed; 11:33:16 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 11:33:16 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 11:33:16 [ssh-agent] Looking for ssh-agent implementation... 11:33:16 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 11:33:16 $ docker exec 9bc9a9924ebb201f9eafa870fa1baa90ef08a303f082a63dec507a1e8e41cb98 ssh-agent 11:33:16 SSH_AUTH_SOCK=/tmp/ssh-yda5XwxQsLCv/agent.70 11:33:16 SSH_AGENT_PID=76 11:33:16 Running ssh-add (command line suppressed) 11:33:16 Identity added: /w/workspace/foundry_device-virtual-go_PR-432@tmp/private_key_10906540995887794653.key (/w/workspace/foundry_device-virtual-go_PR-432@tmp/private_key_10906540995887794653.key) 11:33:16 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 11:33:17 + git semver init 11:33:17 2023-09-21 11:33:17,376 [run_init] DEBUG init version:0.0.0 force:False 11:33:17 2023-09-21 11:33:17,377 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/foundry_device-virtual-go_PR-432/.semver 11:33:17 2023-09-21 11:33:17,378 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-virtual-go.git /w/workspace/foundry_device-virtual-go_PR-432/.semver 11:33:17 2023-09-21 11:33:17,378 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-virtual-go.git', '/w/workspace/foundry_device-virtual-go_PR-432/.semver'], cwd=/w/workspace/foundry_device-virtual-go_PR-432, universal_newlines=False, shell=None, istream=None) 11:33:18 2023-09-21 11:33:18,407 [append_file] DEBUG append to file:/w/workspace/foundry_device-virtual-go_PR-432/.git/info/exclude 11:33:18 2023-09-21 11:33:18,408 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/foundry_device-virtual-go_PR-432/.semver/PR-432 with force:False 11:33:18 2023-09-21 11:33:18,408 [write_file] DEBUG write to file:/w/workspace/foundry_device-virtual-go_PR-432/.semver/PR-432 11:33:18 2023-09-21 11:33:18,413 [execute] INFO git cat-file --batch-check 11:33:18 2023-09-21 11:33:18,414 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/foundry_device-virtual-go_PR-432/.semver, universal_newlines=False, shell=None, istream=) 11:33:18 2023-09-21 11:33:18,420 [execute] INFO git cat-file --batch 11:33:18 2023-09-21 11:33:18,420 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/foundry_device-virtual-go_PR-432/.semver, universal_newlines=False, shell=None, istream=) 11:33:18 2023-09-21 11:33:18,425 [read_version] DEBUG read version from /w/workspace/foundry_device-virtual-go_PR-432/.semver/PR-432 11:33:18 0.0.0 [Pipeline] } 11:33:18 $ docker exec --env ******** --env ******** 9bc9a9924ebb201f9eafa870fa1baa90ef08a303f082a63dec507a1e8e41cb98 ssh-agent -k 11:33:18 unset SSH_AUTH_SOCK; 11:33:18 unset SSH_AGENT_PID; 11:33:18 echo Agent pid 76 killed; 11:33:18 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 11:33:19 + git semver [Pipeline] } 11:33:19 $ docker stop --time=1 9bc9a9924ebb201f9eafa870fa1baa90ef08a303f082a63dec507a1e8e41cb98 11:33:20 $ docker rm -f --volumes 9bc9a9924ebb201f9eafa870fa1baa90ef08a303f082a63dec507a1e8e41cb98 [Pipeline] // withDockerContainer [Pipeline] sh 11:33:21 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 11:33:21 Stashed 1 file(s) [Pipeline] echo 11:33:21 [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 11:33:22 provisioning config files... 11:33:22 copy managed file [device-virtual-go-settings] to file:/w/workspace/foundry_device-virtual-go_PR-432@tmp/config10947901762111811289tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 11:33:22 ---> docker-login.sh 11:33:22 nexus3.edgexfoundry.org:10001 11:33:22 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 11:33:22 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 11:33:22 Configure a credential helper to remove this warning. See 11:33:22 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 11:33:22 11:33:22 Login Succeeded 11:33:22 nexus3.edgexfoundry.org:10002 11:33:22 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 11:33:22 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 11:33:22 Configure a credential helper to remove this warning. See 11:33:22 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 11:33:22 11:33:22 Login Succeeded 11:33:22 nexus3.edgexfoundry.org:10003 11:33:22 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 11:33:22 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 11:33:22 Configure a credential helper to remove this warning. See 11:33:22 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 11:33:22 11:33:22 Login Succeeded 11:33:22 nexus3.edgexfoundry.org:10004 11:33:22 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 11:33:22 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 11:33:22 Configure a credential helper to remove this warning. See 11:33:22 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 11:33:22 11:33:22 Login Succeeded 11:33:22 docker.io 11:33:23 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 11:33:23 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 11:33:23 Configure a credential helper to remove this warning. See 11:33:23 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 11:33:23 11:33:23 Login Succeeded 11:33:23 ---> docker-login.sh ends [Pipeline] } 11:33:23 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 11:33:23 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 11:33:23 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 11:33:23 ========================================================= 11:33:23 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine] 11:33:23 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 11:33:23 + 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 . 11:33:23 Sending build context to Docker daemon 23.65MB 11:33:23 Step 1/12 : ARG BASE=golang:1.21-alpine3.18 11:33:23 Step 2/12 : FROM ${BASE} AS builder 11:33:24 1.21-alpine: Pulling from edgex-devops/edgex-golang-base 11:33:24 7264a8db6415: Pulling fs layer 11:33:24 c4d48a809fc2: Pulling fs layer 11:33:24 4f1c88b9dad5: Pulling fs layer 11:33:24 ad3a456e5733: Pulling fs layer 11:33:24 33e27b845d1e: Pulling fs layer 11:33:24 c68163c4e522: Pulling fs layer 11:33:24 50da416c3ac9: Pulling fs layer 11:33:24 23d2d4c4bb30: Pulling fs layer 11:33:24 33e27b845d1e: Waiting 11:33:24 23d2d4c4bb30: Waiting 11:33:24 50da416c3ac9: Waiting 11:33:24 c68163c4e522: Waiting 11:33:24 c4d48a809fc2: Verifying Checksum 11:33:24 c4d48a809fc2: Download complete 11:33:24 ad3a456e5733: Verifying Checksum 11:33:24 ad3a456e5733: Download complete 11:33:24 33e27b845d1e: Verifying Checksum 11:33:24 33e27b845d1e: Download complete 11:33:24 7264a8db6415: Verifying Checksum 11:33:24 7264a8db6415: Download complete 11:33:24 c68163c4e522: Verifying Checksum 11:33:24 c68163c4e522: Download complete 11:33:24 7264a8db6415: Pull complete 11:33:24 c4d48a809fc2: Pull complete 11:33:24 23d2d4c4bb30: Verifying Checksum 11:33:24 23d2d4c4bb30: Download complete 11:33:24 4f1c88b9dad5: Verifying Checksum 11:33:24 4f1c88b9dad5: Download complete 11:33:24 50da416c3ac9: Verifying Checksum 11:33:24 50da416c3ac9: Download complete 11:33:28 4f1c88b9dad5: Pull complete 11:33:28 ad3a456e5733: Pull complete 11:33:28 33e27b845d1e: Pull complete 11:33:28 c68163c4e522: Pull complete 11:33:31 50da416c3ac9: Pull complete 11:33:31 23d2d4c4bb30: Pull complete 11:33:31 Digest: sha256:869f8081a9cc57a47d9be3c92245bb8518e7edea9beab93563b77b0fbed5fa8c 11:33:31 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine 11:33:31 ---> 0786185ac409 11:33:31 Step 3/12 : ARG ALPINE_PKG_BASE="make git openssh-client" 11:33:36 Still waiting to schedule task 11:33:36 All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline 11:33:39 ---> Running in 94136f1b0313 11:33:39 Removing intermediate container 94136f1b0313 11:33:39 ---> 3652c24201f9 11:33:39 Step 4/12 : ARG ALPINE_PKG_EXTRA="" 11:33:39 ---> Running in 4c6b4e456b8c 11:33:39 Removing intermediate container 4c6b4e456b8c 11:33:39 ---> bb7237d50a3b 11:33:39 Step 5/12 : ARG ADD_BUILD_TAGS="" 11:33:39 ---> Running in 7782f24f1082 11:33:39 Removing intermediate container 7782f24f1082 11:33:39 ---> ecdaa77bb233 11:33:39 Step 6/12 : WORKDIR /device-virtual-go 11:33:39 ---> Running in da1e0741499d 11:33:39 Removing intermediate container da1e0741499d 11:33:39 ---> 6a57a6d9e2dd 11:33:39 Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 11:33:39 ---> Running in f56f12cef7ae 11:33:39 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 11:33:39 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 11:33:39 (1/4) Installing openssh-keygen (9.3_p2-r0) 11:33:39 (2/4) Installing libedit (20221030.3.1-r1) 11:33:39 (3/4) Installing openssh-client-common (9.3_p2-r0) 11:33:39 (4/4) Installing openssh-client-default (9.3_p2-r0) 11:33:39 Executing busybox-1.36.1-r2.trigger 11:33:39 OK: 268 MiB in 56 packages 11:33:40 Removing intermediate container f56f12cef7ae 11:33:40 ---> f5d1667ccd45 11:33:40 Step 8/12 : COPY go.mod vendor* ./ 11:33:40 ---> 48fd78045714 11:33:40 Step 9/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 11:33:40 ---> Running in e5e062d5a7fb 11:34:48 Removing intermediate container e5e062d5a7fb 11:34:48 ---> 9e436913c8de 11:34:48 Step 10/12 : COPY . . 11:34:48 ---> 999a45687485 11:34:48 Step 11/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 11:34:48 ---> Running in 42014f3559d2 11:34:48 Removing intermediate container 42014f3559d2 11:34:48 ---> 3780898f0192 11:34:48 Step 12/12 : RUN $MAKE 11:34:48 ---> Running in 3e631a70ee22 11:34:48 noop 11:34:48 Removing intermediate container 3e631a70ee22 11:34:48 ---> a25341a57e54 11:34:48 Successfully built a25341a57e54 11:34:48 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 11:34:48 + docker inspect -f . ci-base-image-x86_64 11:34:48 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 11:34:48 prd-ubuntu20.04-docker-8c-8g-7559 does not seem to be running inside a container 11:34:48 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/foundry_device-virtual-go_PR-432 -v /w/workspace/foundry_device-virtual-go_PR-432:/w/workspace/foundry_device-virtual-go_PR-432:rw,z -v /w/workspace/foundry_device-virtual-go_PR-432@tmp:/w/workspace/foundry_device-virtual-go_PR-432@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 ******** ci-base-image-x86_64 cat 11:34:48 $ docker top e33be186f0e9a9f9dcd838466657298b8e14452c6d662b5580e0b43baa78067a -eo pid,comm [Pipeline] { [Pipeline] sh 11:34:49 + go version 11:34:49 go version go1.21.0 linux/amd64 [Pipeline] } 11:34:49 $ docker stop --time=1 e33be186f0e9a9f9dcd838466657298b8e14452c6d662b5580e0b43baa78067a 11:34:50 $ docker rm -f --volumes e33be186f0e9a9f9dcd838466657298b8e14452c6d662b5580e0b43baa78067a [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 11:34:51 + docker inspect -f . ci-base-image-x86_64 11:34:51 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 11:34:51 prd-ubuntu20.04-docker-8c-8g-7559 does not seem to be running inside a container 11:34:51 $ 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-432 -v /w/workspace/foundry_device-virtual-go_PR-432:/w/workspace/foundry_device-virtual-go_PR-432:rw,z -v /w/workspace/foundry_device-virtual-go_PR-432@tmp:/w/workspace/foundry_device-virtual-go_PR-432@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 ******** ci-base-image-x86_64 cat 11:34:51 $ docker top df9f5b92c0b5cc3ad473e22a0fae471a3a39f3d644b151894fb575dfb438590f -eo pid,comm [Pipeline] { [Pipeline] sh 11:34:52 + git config --global --add safe.directory /w/workspace/foundry_device-virtual-go_PR-432 [Pipeline] fileExists [Pipeline] sh 11:34:52 + make test 11:34:52 go test ./... -coverprofile=coverage.out 11:34:54 ? github.com/edgexfoundry/device-virtual-go [no test files] 11:35:04 ? github.com/edgexfoundry/device-virtual-go/cmd [no test files] 11:35:04 ok github.com/edgexfoundry/device-virtual-go/internal/driver 0.017s coverage: 58.6% of statements 11:35:05 Running on prd-ubuntu20.04-docker-arm64-4c-16g-7560 in /w/workspace/foundry_device-virtual-go_PR-432 [Pipeline] { [Pipeline] ws 11:35:05 Running in /w/workspace/device-virtual-go/1 [Pipeline] { [Pipeline] checkout 11:35:05 The recommended git tool is: git 11:35:10 using credential edgex-jenkins-ssh 11:35:10 Cloning the remote Git repository 11:35:10 go vet ./... 11:35:10 Cloning repository git@github.com:edgexfoundry/device-virtual-go.git 11:35:10 > git init /w/workspace/device-virtual-go/1 # timeout=10 11:35:10 Fetching upstream changes from git@github.com:edgexfoundry/device-virtual-go.git 11:35:10 > git --version # timeout=10 11:35:10 > git --version # 'git version 2.25.1' 11:35:10 using GIT_SSH to set credentials SSH Credentials for GitHub 11:35:10 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-virtual-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 11:35:13 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 11:35:13 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 11:35:13 ./bin/test-attribution-txt.sh 11:35:12 > git config remote.origin.url git@github.com:edgexfoundry/device-virtual-go.git # timeout=10 11:35:12 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 11:35:13 > git config remote.origin.url git@github.com:edgexfoundry/device-virtual-go.git # timeout=10 11:35:13 Fetching upstream changes from git@github.com:edgexfoundry/device-virtual-go.git 11:35:13 using GIT_SSH to set credentials SSH Credentials for GitHub 11:35:13 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-virtual-go.git +refs/pull/432/head:refs/remotes/origin/PR-432 +refs/heads/main:refs/remotes/origin/main # timeout=10 [Pipeline] echo 11:35:14 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 11:35:14 $ docker stop --time=1 df9f5b92c0b5cc3ad473e22a0fae471a3a39f3d644b151894fb575dfb438590f 11:35:14 Merging remotes/origin/main commit a79f7bfda672890f5a827a453c16a6ee5e560f4d into PR head commit 8d64545ab26be931b1b0a18d1d068cae15b5ee52 11:35:14 Merge succeeded, producing 8d64545ab26be931b1b0a18d1d068cae15b5ee52 11:35:14 Checking out Revision 8d64545ab26be931b1b0a18d1d068cae15b5ee52 (PR-432) 11:35:15 Commit message: "build(deps): Bump github.com/edgexfoundry/device-sdk-go/v3" 11:35:15 > git --version # timeout=10 11:35:15 > git --version # 'git version 2.25.1' 11:35:15 fatal: bad object e143027787c0ac28563f7e92b6cefc600d3b7107 11:35:14 > git config core.sparsecheckout # timeout=10 11:35:14 > git checkout -f 8d64545ab26be931b1b0a18d1d068cae15b5ee52 # timeout=10 11:35:14 > git remote # timeout=10 11:35:14 > git config --get remote.origin.url # timeout=10 11:35:14 using GIT_SSH to set credentials SSH Credentials for GitHub 11:35:14 > git merge a79f7bfda672890f5a827a453c16a6ee5e560f4d # timeout=10 11:35:14 > git rev-parse HEAD^{commit} # timeout=10 11:35:14 > git config core.sparsecheckout # timeout=10 11:35:14 > git checkout -f 8d64545ab26be931b1b0a18d1d068cae15b5ee52 # timeout=10 11:35:18 $ docker rm -f --volumes df9f5b92c0b5cc3ad473e22a0fae471a3a39f3d644b151894fb575dfb438590f [Pipeline] // withDockerContainer [Pipeline] sh [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 11:35:18 + sudo chown -R jenkins:jenkins . [Pipeline] stash 11:35:19 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) 11:35:19 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 11:35:19 % Total % Received % Xferd Average Speed Time Time Time Current 11:35:19 Dload Upload Total Spent Left Speed 11:35:19 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 105k 0 --:--:-- --:--:-- --:--:-- 106k [Pipeline] sh [Pipeline] sh 11:35:19 + sudo chown -R jenkins:jenkins . [Pipeline] sh 11:35:20 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 11:35:20 + ls -al . 11:35:20 total 204 11:35:20 drwxrwxr-x 9 jenkins jenkins 4096 Sep 21 11:34 . 11:35:20 drwxrwxr-x 4 jenkins jenkins 4096 Sep 21 11:32 .. 11:35:20 drwxrwxr-x 8 jenkins jenkins 4096 Sep 21 11:35 .git 11:35:20 drwxrwxr-x 3 jenkins jenkins 4096 Sep 21 11:32 .github 11:35:20 -rw-rw-r-- 1 jenkins jenkins 337 Sep 21 11:32 .gitignore 11:35:20 -rw-rw-r-- 1 jenkins jenkins 41 Sep 21 11:32 .golangci.yml 11:35:20 drwxr-xr-x 3 jenkins jenkins 4096 Sep 21 11:33 .semver 11:35:20 -rw-rw-r-- 1 jenkins jenkins 9708 Sep 21 11:32 Attribution.txt 11:35:20 -rw-rw-r-- 1 jenkins jenkins 14372 Sep 21 11:32 CHANGELOG.md 11:35:20 -rw-rw-r-- 1 jenkins jenkins 1646 Sep 21 11:32 Dockerfile 11:35:20 -rw-rw-r-- 1 jenkins jenkins 677 Sep 21 11:32 GOVERNANCE.md 11:35:20 -rw-rw-r-- 1 jenkins jenkins 660 Sep 21 11:32 Jenkinsfile 11:35:20 -rw-rw-r-- 1 jenkins jenkins 11340 Sep 21 11:32 LICENSE 11:35:20 -rw-rw-r-- 1 jenkins jenkins 1947 Sep 21 11:32 Makefile 11:35:20 -rw-rw-r-- 1 jenkins jenkins 623 Sep 21 11:32 OWNERS.md 11:35:20 -rw-rw-r-- 1 jenkins jenkins 4111 Sep 21 11:32 README.md 11:35:20 -rw-rw-r-- 1 jenkins jenkins 5 Sep 21 11:33 VERSION 11:35:20 drwxrwxr-x 2 jenkins jenkins 4096 Sep 21 11:32 bin 11:35:20 drwxrwxr-x 3 jenkins jenkins 4096 Sep 21 11:32 cmd 11:35:20 -rw-r--r-- 1 jenkins jenkins 43063 Sep 21 11:35 coverage.out 11:35:20 -rw-rw-r-- 1 jenkins jenkins 3637 Sep 21 11:32 go.mod 11:35:20 -rw-rw-r-- 1 jenkins jenkins 35019 Sep 21 11:32 go.sum 11:35:20 drwxrwxr-x 3 jenkins jenkins 4096 Sep 21 11:32 internal 11:35:20 drwxrwxr-x 4 jenkins jenkins 4096 Sep 21 11:32 snap 11:35:20 -rw-rw-r-- 1 jenkins jenkins 235 Sep 21 11:32 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 11:35:20 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 11:35:20 + sudo tee /etc/docker/daemon.new 11:35:20 { 11:35:20 "registry-mirrors": [ 11:35:20 "https://nexus3.edgexfoundry.org:10001" 11:35:20 ], 11:35:20 "bip": "10.250.0.254/24", 11:35:20 "hosts": [ 11:35:20 "tcp://0.0.0.0:5555", 11:35:20 "unix:///var/run/docker.sock" 11:35:20 ], 11:35:20 "mtu": 1458, 11:35:20 "selinux-enabled": true, 11:35:20 "seccomp-profile": "/etc/docker/seccomp.json" 11:35:20 } [Pipeline] sh 11:35:20 + 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=8d64545ab26be931b1b0a18d1d068cae15b5ee52 --label arch=amd64 --label version=0.0.0 . 11:35:20 Sending build context to Docker daemon 23.7MB 11:35:20 Step 1/25 : ARG BASE=golang:1.21-alpine3.18 11:35:20 Step 2/25 : FROM ${BASE} AS builder 11:35:20 ---> a25341a57e54 11:35:20 Step 3/25 : ARG ALPINE_PKG_BASE="make git openssh-client" 11:35:20 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 11:35:21 + sudo service docker restart 11:35:21 ---> Running in 9a7576ce7611 11:35:21 Removing intermediate container 9a7576ce7611 11:35:21 ---> 33272b8cb801 11:35:21 Step 4/25 : ARG ALPINE_PKG_EXTRA="" 11:35:21 ---> Running in 5cbc5aebfb0e 11:35:21 Removing intermediate container 5cbc5aebfb0e 11:35:21 ---> 01437615d457 11:35:21 Step 5/25 : ARG ADD_BUILD_TAGS="" 11:35:21 ---> Running in 5d6b1cf757c8 11:35:21 Removing intermediate container 5d6b1cf757c8 11:35:21 ---> 52563d8e0454 11:35:21 Step 6/25 : WORKDIR /device-virtual-go 11:35:21 ---> Running in 1008e139e5bb 11:35:21 Removing intermediate container 1008e139e5bb 11:35:21 ---> 7992f97305a6 11:35:21 Step 7/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 11:35:21 ---> Running in b71e95632a00 11:35:21 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 11:35:21 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 11:35:21 OK: 268 MiB in 56 packages 11:35:22 Removing intermediate container b71e95632a00 11:35:22 ---> 6ce9517cdd5a 11:35:22 Step 8/25 : COPY go.mod vendor* ./ 11:35:22 ---> 8089cd3f70bf 11:35:22 Step 9/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 11:35:22 ---> Running in 1163d7d47911 11:35:23 Removing intermediate container 1163d7d47911 11:35:23 ---> 1e4ab6ae46d2 11:35:23 Step 10/25 : COPY . . 11:35:24 ---> 79cf9b02e186 11:35:24 Step 11/25 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 11:35:24 ---> Running in fb371b0922d7 11:35:24 Removing intermediate container fb371b0922d7 11:35:24 ---> 6273ce121314 11:35:24 Step 12/25 : RUN $MAKE 11:35:24 ---> Running in 72a47461c414 11:35:24 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-dev.29" -trimpath -mod=readonly -o cmd/device-virtual ./cmd [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 11:35:39 provisioning config files... 11:35:39 copy managed file [device-virtual-go-settings] to file:/w/workspace/device-virtual-go/1@tmp/config5307063195461812432tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 11:35:39 ---> docker-login.sh 11:35:39 nexus3.edgexfoundry.org:10001 11:35:40 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 11:35:40 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 11:35:40 Configure a credential helper to remove this warning. See 11:35:40 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 11:35:40 11:35:40 Login Succeeded 11:35:40 nexus3.edgexfoundry.org:10002 11:35:40 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 11:35:40 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 11:35:40 Configure a credential helper to remove this warning. See 11:35:40 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 11:35:40 11:35:40 Login Succeeded 11:35:40 nexus3.edgexfoundry.org:10003 11:35:40 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 11:35:41 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 11:35:41 Configure a credential helper to remove this warning. See 11:35:41 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 11:35:41 11:35:41 Login Succeeded 11:35:41 nexus3.edgexfoundry.org:10004 11:35:41 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 11:35:41 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 11:35:41 Configure a credential helper to remove this warning. See 11:35:41 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 11:35:41 11:35:41 Login Succeeded 11:35:41 docker.io 11:35:41 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 11:35:41 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 11:35:41 Configure a credential helper to remove this warning. See 11:35:41 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 11:35:41 11:35:41 Login Succeeded 11:35:41 ---> docker-login.sh ends [Pipeline] } 11:35:42 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 11:35:42 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 11:35:42 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 11:35:42 ========================================================= 11:35:42 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine] 11:35:42 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 11:35: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 . 11:35:43 Sending build context to Docker daemon 11.96MB 11:35:44 Step 1/12 : ARG BASE=golang:1.21-alpine3.18 11:35:44 Step 2/12 : FROM ${BASE} AS builder 11:35:44 1.21-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 11:35:44 9fda8d8052c6: Pulling fs layer 11:35:44 5d54e960e981: Pulling fs layer 11:35:44 c4a7e357bf2a: Pulling fs layer 11:35:44 f0e02332f6b5: Pulling fs layer 11:35:44 cefa15bbcfad: Pulling fs layer 11:35:44 17808c966233: Pulling fs layer 11:35:44 f4c1fc716caa: Pulling fs layer 11:35:44 f0e02332f6b5: Waiting 11:35:44 cefa15bbcfad: Waiting 11:35:44 17808c966233: Waiting 11:35:44 f4c1fc716caa: Waiting 11:35:44 5d54e960e981: Verifying Checksum 11:35:44 5d54e960e981: Download complete 11:35:44 f0e02332f6b5: Verifying Checksum 11:35:44 f0e02332f6b5: Download complete 11:35:44 cefa15bbcfad: Verifying Checksum 11:35:44 9fda8d8052c6: Verifying Checksum 11:35:44 9fda8d8052c6: Download complete 11:35:44 f4c1fc716caa: Verifying Checksum 11:35:44 f4c1fc716caa: Download complete 11:35:45 9fda8d8052c6: Pull complete 11:35:45 5d54e960e981: Pull complete 11:35:46 c4a7e357bf2a: Verifying Checksum 11:35:46 c4a7e357bf2a: Download complete 11:35:46 Removing intermediate container 72a47461c414 11:35:46 ---> 0e5bd6334981 11:35:46 Step 13/25 : FROM alpine:3.18 11:35:46 3.18: Pulling from library/alpine 11:35:46 7264a8db6415: Already exists 11:35:46 Digest: sha256:7144f7bab3d4c2648d7e59409f15ec52a18006a128c733fcff20d3a4a54ba44a 11:35:46 Status: Downloaded newer image for alpine:3.18 11:35:46 ---> 7e01a0d0a1dc 11:35:46 Step 14/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2021: IOTech' 11:35:46 ---> Running in 12bfc3fc71ce 11:35:46 Removing intermediate container 12bfc3fc71ce 11:35:46 ---> 67ccb5c79095 11:35:46 Step 15/25 : RUN apk add --update --no-cache dumb-init 11:35:46 ---> Running in caeed7b1cbfa 11:35:46 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 11:35:46 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 11:35:46 (1/1) Installing dumb-init (1.2.5-r2) 11:35:46 Executing busybox-1.36.1-r2.trigger 11:35:46 OK: 7 MiB in 16 packages 11:35:46 Removing intermediate container caeed7b1cbfa 11:35:46 ---> db312e52f2fb 11:35:46 Step 16/25 : WORKDIR / 11:35:46 ---> Running in 0fab09cb31dd 11:35:46 Removing intermediate container 0fab09cb31dd 11:35:46 ---> 04db33d61535 11:35:46 Step 17/25 : COPY --from=builder /device-virtual-go/Attribution.txt / 11:35:46 ---> 22a3119c09a5 11:35:46 Step 18/25 : COPY --from=builder /device-virtual-go/LICENSE / 11:35:46 ---> feb3f5eff772 11:35:46 Step 19/25 : COPY --from=builder /device-virtual-go/cmd / 11:35:47 17808c966233: Verifying Checksum 11:35:47 17808c966233: Download complete 11:35:47 ---> d1d1909bec51 11:35:47 Step 20/25 : EXPOSE 59900 11:35:47 ---> Running in 4ade3e46f3a2 11:35:47 Removing intermediate container 4ade3e46f3a2 11:35:47 ---> 718afdb15429 11:35:47 Step 21/25 : ENTRYPOINT ["/device-virtual"] 11:35:47 ---> Running in 511b5b0bf740 11:35:47 Removing intermediate container 511b5b0bf740 11:35:47 ---> 16883a270e7f 11:35:47 Step 22/25 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry"] 11:35:47 ---> Running in 474def219dbc 11:35:47 Removing intermediate container 474def219dbc 11:35:47 ---> 32fc90907f2e 11:35:47 Step 23/25 : LABEL arch=amd64 11:35:47 ---> Running in ef107c7fd64a 11:35:47 Removing intermediate container ef107c7fd64a 11:35:47 ---> ea53193a20a1 11:35:47 Step 24/25 : LABEL git_sha=8d64545ab26be931b1b0a18d1d068cae15b5ee52 11:35:47 ---> Running in 3c104077c802 11:35:47 Removing intermediate container 3c104077c802 11:35:47 ---> 159a26cf8ee2 11:35:47 Step 25/25 : LABEL version=0.0.0 11:35:47 ---> Running in 120bfc26471c 11:35:47 Removing intermediate container 120bfc26471c 11:35:47 ---> 1a1aa2571c41 11:35:47 [Warning] One or more build-args [ARCH] were not consumed 11:35:47 Successfully built 1a1aa2571c41 11:35:47 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 11:35:48 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 11:35:48 11:35:48 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 11:35:48 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 11:35:48 latest: Pulling from edgex-lftools-log-publisher 11:35:48 5eb5b503b376: Pulling fs layer 11:35:48 5c69ac0246d0: Pulling fs layer 11:35:48 ec43610c2a17: Pulling fs layer 11:35:48 3a2ae6a8a46f: Pulling fs layer 11:35:48 33b1e0a273af: Pulling fs layer 11:35:48 5d3b04190fa2: Pulling fs layer 11:35:48 2f39f015ded8: Pulling fs layer 11:35:48 3a2ae6a8a46f: Waiting 11:35:48 33b1e0a273af: Waiting 11:35:48 5d3b04190fa2: Waiting 11:35:48 2f39f015ded8: Waiting 11:35:48 5c69ac0246d0: Verifying Checksum 11:35:48 5c69ac0246d0: Download complete 11:35:48 3a2ae6a8a46f: Verifying Checksum 11:35:48 3a2ae6a8a46f: Download complete 11:35:48 33b1e0a273af: Verifying Checksum 11:35:48 33b1e0a273af: Download complete 11:35:49 5d3b04190fa2: Verifying Checksum 11:35:49 5d3b04190fa2: Download complete 11:35:49 ec43610c2a17: Verifying Checksum 11:35:49 ec43610c2a17: Download complete 11:35:49 5eb5b503b376: Download complete 11:35:50 2f39f015ded8: Download complete 11:35:50 5eb5b503b376: Pull complete 11:35:50 5c69ac0246d0: Pull complete 11:35:50 ec43610c2a17: Pull complete 11:35:50 3a2ae6a8a46f: Pull complete 11:35:51 33b1e0a273af: Pull complete 11:35:51 5d3b04190fa2: Pull complete 11:35:55 2f39f015ded8: Pull complete 11:35:55 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 11:35:55 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 11:35:55 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 11:35:55 prd-ubuntu20.04-docker-8c-8g-7559 does not seem to be running inside a container 11:35:55 $ 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-432 -v /w/workspace/foundry_device-virtual-go_PR-432:/w/workspace/foundry_device-virtual-go_PR-432:rw,z -v /w/workspace/foundry_device-virtual-go_PR-432@tmp:/w/workspace/foundry_device-virtual-go_PR-432@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 11:35:59 c4a7e357bf2a: Pull complete 11:35:59 f0e02332f6b5: Pull complete 11:35:59 cefa15bbcfad: Pull complete 11:36:01 $ docker top 7ee0b490d18b7f3a2b666669e556561cf0ed76dc52da729641f507faa063b5c1 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 11:36:02 ---> job-cost.sh 11:36:02 lf-activate-venv: SKIPPING 11:36:02 INFO: No Stack... 11:36:02 INFO: Retrieving Pricing Info for: v3-standard-8 11:36:02 INFO: Archiving Costs [Pipeline] sh 11:36:03 + cat /w/workspace/foundry_device-virtual-go_PR-432/archives/cost.csv 11:36:03 + cut -d, -f6 [Pipeline] lock 11:36:03 Trying to acquire lock on [jenkins-edgexfoundry-device-virtual-go-PR-432-1-stack-cost] 11:36:03 Resource [jenkins-edgexfoundry-device-virtual-go-PR-432-1-stack-cost] did not exist. Created. 11:36:03 Lock acquired on [jenkins-edgexfoundry-device-virtual-go-PR-432-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 11:36:03 + echo total: 0.2199999988079071 [Pipeline] stash 11:36:03 Stashed 1 file(s) [Pipeline] } 11:36:03 Lock released on resource [jenkins-edgexfoundry-device-virtual-go-PR-432-1-stack-cost] [Pipeline] // lock [Pipeline] } 11:36:03 $ docker stop --time=1 7ee0b490d18b7f3a2b666669e556561cf0ed76dc52da729641f507faa063b5c1 11:36:04 17808c966233: Pull complete 11:36:05 $ docker rm -f --volumes 7ee0b490d18b7f3a2b666669e556561cf0ed76dc52da729641f507faa063b5c1 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 11:36:05 f4c1fc716caa: Pull complete 11:36:05 Digest: sha256:f9b5da702465edd0a2564459334de068a24595700ad6c8d0b85b07445f0b3000 11:36:05 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine 11:36:05 ---> ea914061e18c 11:36:05 Step 3/12 : ARG ALPINE_PKG_BASE="make git openssh-client" 11:36:07 ---> Running in 059ca43f6710 11:36:07 Removing intermediate container 059ca43f6710 11:36:07 ---> 592ddbd0086c 11:36:07 Step 4/12 : ARG ALPINE_PKG_EXTRA="" 11:36:07 ---> Running in 1c8375f05d0e 11:36:08 Removing intermediate container 1c8375f05d0e 11:36:08 ---> 5e35ea67a5fb 11:36:08 Step 5/12 : ARG ADD_BUILD_TAGS="" 11:36:08 ---> Running in e3bc07ab86ae 11:36:08 Removing intermediate container e3bc07ab86ae 11:36:08 ---> f77a933f7192 11:36:08 Step 6/12 : WORKDIR /device-virtual-go 11:36:08 ---> Running in 0dee8e339020 11:36:08 Removing intermediate container 0dee8e339020 11:36:08 ---> 67adb1754aa9 11:36:08 Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 11:36:08 ---> Running in e1a33539d772 11:36:09 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 11:36:10 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 11:36:11 (1/4) Installing openssh-keygen (9.3_p2-r0) 11:36:11 (2/4) Installing libedit (20221030.3.1-r1) 11:36:11 (3/4) Installing openssh-client-common (9.3_p2-r0) 11:36:11 (4/4) Installing openssh-client-default (9.3_p2-r0) 11:36:11 Executing busybox-1.36.1-r2.trigger 11:36:11 OK: 270 MiB in 56 packages 11:36:12 Removing intermediate container e1a33539d772 11:36:12 ---> b9cc0172b1dc 11:36:12 Step 8/12 : COPY go.mod vendor* ./ 11:36:12 ---> f097f6d81cf7 11:36:12 Step 9/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 11:36:12 ---> Running in 875ee038fc7d 11:37:20 Removing intermediate container 875ee038fc7d 11:37:20 ---> 020c6884a047 11:37:20 Step 10/12 : COPY . . 11:37:20 ---> e611d39204c8 11:37:20 Step 11/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 11:37:20 ---> Running in d1f8e6872df2 11:37:20 Removing intermediate container d1f8e6872df2 11:37:20 ---> 4ec5b38df319 11:37:20 Step 12/12 : RUN $MAKE 11:37:20 ---> Running in 88bf9f6a32cc 11:37:21 noop 11:37:22 Removing intermediate container 88bf9f6a32cc 11:37:22 ---> 7fd4ec6b2acc 11:37:22 Successfully built 7fd4ec6b2acc 11:37:22 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 11:37:22 + docker inspect -f . ci-base-image-arm64 11:37:22 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 11:37:23 prd-ubuntu20.04-docker-arm64-4c-16g-7560 does not seem to be running inside a container 11:37:23 $ 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 ******** ci-base-image-arm64 cat 11:37:24 $ docker top 754d2e496a90888193772c403ea01c6eb12055c6510ed6fefd87c629cc39062b -eo pid,comm [Pipeline] { [Pipeline] sh 11:37:25 + go version 11:37:25 go version go1.21.0 linux/arm64 [Pipeline] } 11:37:25 $ docker stop --time=1 754d2e496a90888193772c403ea01c6eb12055c6510ed6fefd87c629cc39062b 11:37:26 $ docker rm -f --volumes 754d2e496a90888193772c403ea01c6eb12055c6510ed6fefd87c629cc39062b [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 11:37:27 + docker inspect -f . ci-base-image-arm64 11:37:27 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 11:37:27 prd-ubuntu20.04-docker-arm64-4c-16g-7560 does not seem to be running inside a container 11:37:27 $ 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 ******** ci-base-image-arm64 cat 11:37:29 $ docker top 1d72190645ff4b8562d653b97662e91dc0f5b6a3105e3cdf5dc2e8838e5a8374 -eo pid,comm [Pipeline] { [Pipeline] sh 11:37:29 + git config --global --add safe.directory /w/workspace/device-virtual-go/1 [Pipeline] fileExists [Pipeline] sh 11:37:30 + make test 11:37:30 go test ./... -coverprofile=coverage.out 11:37:34 ? github.com/edgexfoundry/device-virtual-go [no test files] 11:38:56 ? github.com/edgexfoundry/device-virtual-go/cmd [no test files] 11:38:56 ok github.com/edgexfoundry/device-virtual-go/internal/driver 0.065s coverage: 58.4% of statements 11:38:57 WARNING: Linting skipped (not on x86_64 or linter not installed) 11:38:57 go vet ./... 11:39:19 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 11:39:19 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 11:39:19 ./bin/test-attribution-txt.sh [Pipeline] echo 11:39:19 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 11:39:19 $ docker stop --time=1 1d72190645ff4b8562d653b97662e91dc0f5b6a3105e3cdf5dc2e8838e5a8374 11:39:21 $ docker rm -f --volumes 1d72190645ff4b8562d653b97662e91dc0f5b6a3105e3cdf5dc2e8838e5a8374 [Pipeline] // withDockerContainer [Pipeline] sh 11:39:22 + sudo chown -R jenkins:jenkins . [Pipeline] stash 11:39:22 Warning: overwriting stash ‘coverage-report’ 11:39:22 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 11:39:23 + sudo chown -R jenkins:jenkins . [Pipeline] sh 11:39:23 + ls -al . 11:39:23 total 200 11:39:23 drwxrwxr-x 8 jenkins jenkins 4096 Sep 21 11:37 . 11:39:23 drwxrwxr-x 4 jenkins jenkins 4096 Sep 21 11:35 .. 11:39:23 drwxrwxr-x 8 jenkins jenkins 4096 Sep 21 11:35 .git 11:39:23 drwxrwxr-x 3 jenkins jenkins 4096 Sep 21 11:35 .github 11:39:23 -rw-rw-r-- 1 jenkins jenkins 337 Sep 21 11:35 .gitignore 11:39:23 -rw-rw-r-- 1 jenkins jenkins 41 Sep 21 11:35 .golangci.yml 11:39:23 -rw-rw-r-- 1 jenkins jenkins 9708 Sep 21 11:35 Attribution.txt 11:39:23 -rw-rw-r-- 1 jenkins jenkins 14372 Sep 21 11:35 CHANGELOG.md 11:39:23 -rw-rw-r-- 1 jenkins jenkins 1646 Sep 21 11:35 Dockerfile 11:39:23 -rw-rw-r-- 1 jenkins jenkins 677 Sep 21 11:35 GOVERNANCE.md 11:39:23 -rw-rw-r-- 1 jenkins jenkins 660 Sep 21 11:35 Jenkinsfile 11:39:23 -rw-rw-r-- 1 jenkins jenkins 11340 Sep 21 11:35 LICENSE 11:39:23 -rw-rw-r-- 1 jenkins jenkins 1947 Sep 21 11:35 Makefile 11:39:23 -rw-rw-r-- 1 jenkins jenkins 623 Sep 21 11:35 OWNERS.md 11:39:23 -rw-rw-r-- 1 jenkins jenkins 4111 Sep 21 11:35 README.md 11:39:23 -rw-rw-r-- 1 jenkins jenkins 5 Sep 21 11:33 VERSION 11:39:23 drwxrwxr-x 2 jenkins jenkins 4096 Sep 21 11:35 bin 11:39:23 drwxrwxr-x 3 jenkins jenkins 4096 Sep 21 11:35 cmd 11:39:23 -rw-r--r-- 1 jenkins jenkins 43063 Sep 21 11:38 coverage.out 11:39:23 -rw-rw-r-- 1 jenkins jenkins 3637 Sep 21 11:35 go.mod 11:39:23 -rw-rw-r-- 1 jenkins jenkins 35019 Sep 21 11:35 go.sum 11:39:23 drwxrwxr-x 3 jenkins jenkins 4096 Sep 21 11:35 internal 11:39:23 drwxrwxr-x 4 jenkins jenkins 4096 Sep 21 11:35 snap 11:39:23 -rw-rw-r-- 1 jenkins jenkins 235 Sep 21 11:35 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 11:39:24 + 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=8d64545ab26be931b1b0a18d1d068cae15b5ee52 --label arch=arm64 --label version=0.0.0 . 11:39:24 Sending build context to Docker daemon 12MB 11:39:24 Step 1/25 : ARG BASE=golang:1.21-alpine3.18 11:39:24 Step 2/25 : FROM ${BASE} AS builder 11:39:24 ---> 7fd4ec6b2acc 11:39:24 Step 3/25 : ARG ALPINE_PKG_BASE="make git openssh-client" 11:39:24 ---> Running in 0fd2d9274d4e 11:39:25 Removing intermediate container 0fd2d9274d4e 11:39:25 ---> 11bc4a29e30a 11:39:25 Step 4/25 : ARG ALPINE_PKG_EXTRA="" 11:39:25 ---> Running in dd61b8657641 11:39:25 Removing intermediate container dd61b8657641 11:39:25 ---> e4da6fad0c32 11:39:25 Step 5/25 : ARG ADD_BUILD_TAGS="" 11:39:25 ---> Running in f73499508fd1 11:39:26 Removing intermediate container f73499508fd1 11:39:26 ---> 5e335fec8ec1 11:39:26 Step 6/25 : WORKDIR /device-virtual-go 11:39:26 ---> Running in b4e1769dd6d7 11:39:26 Removing intermediate container b4e1769dd6d7 11:39:26 ---> fac256167b67 11:39:26 Step 7/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 11:39:26 ---> Running in 84e06f3a27ee 11:39:27 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 11:39:27 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 11:39:29 OK: 270 MiB in 56 packages 11:39:31 Removing intermediate container 84e06f3a27ee 11:39:31 ---> e050badb91bb 11:39:31 Step 8/25 : COPY go.mod vendor* ./ 11:39:31 ---> cd64a2da8c2f 11:39:31 Step 9/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 11:39:31 ---> Running in e2af94cc5b4e 11:39:34 Removing intermediate container e2af94cc5b4e 11:39:34 ---> beb79f2075e6 11:39:34 Step 10/25 : COPY . . 11:39:36 ---> 0771ccc2414f 11:39:36 Step 11/25 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 11:39:36 ---> Running in fc330d1d6873 11:39:37 Removing intermediate container fc330d1d6873 11:39:37 ---> 91a70a53e25d 11:39:37 Step 12/25 : RUN $MAKE 11:39:37 ---> Running in 979f31852179 11:39:39 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-dev.29" -trimpath -mod=readonly -o cmd/device-virtual ./cmd 11:41:31 Removing intermediate container 979f31852179 11:41:31 ---> b8742f9b2174 11:41:31 Step 13/25 : FROM alpine:3.18 11:41:31 3.18: Pulling from library/alpine 11:41:31 9fda8d8052c6: Already exists 11:41:31 Digest: sha256:7144f7bab3d4c2648d7e59409f15ec52a18006a128c733fcff20d3a4a54ba44a 11:41:31 Status: Downloaded newer image for alpine:3.18 11:41:31 ---> f6648c04cd6c 11:41:31 Step 14/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2021: IOTech' 11:41:31 ---> Running in b227bb8a4e73 11:41:31 Removing intermediate container b227bb8a4e73 11:41:31 ---> b76000580050 11:41:31 Step 15/25 : RUN apk add --update --no-cache dumb-init 11:41:31 ---> Running in 25fdac2b8ca4 11:41:31 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 11:41:31 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 11:41:31 (1/1) Installing dumb-init (1.2.5-r2) 11:41:31 Executing busybox-1.36.1-r2.trigger 11:41:31 OK: 8 MiB in 16 packages 11:41:31 Removing intermediate container 25fdac2b8ca4 11:41:31 ---> 24d49151e7fd 11:41:31 Step 16/25 : WORKDIR / 11:41:31 ---> Running in 96986b4010fc 11:41:31 Removing intermediate container 96986b4010fc 11:41:31 ---> a1a73a2b5205 11:41:31 Step 17/25 : COPY --from=builder /device-virtual-go/Attribution.txt / 11:41:31 ---> 73b66141a547 11:41:31 Step 18/25 : COPY --from=builder /device-virtual-go/LICENSE / 11:41:31 ---> a366a1051083 11:41:31 Step 19/25 : COPY --from=builder /device-virtual-go/cmd / 11:41:31 ---> 86373f0e59b0 11:41:31 Step 20/25 : EXPOSE 59900 11:41:31 ---> Running in 4efdddd63d90 11:41:31 Removing intermediate container 4efdddd63d90 11:41:31 ---> 705a4b91f04a 11:41:31 Step 21/25 : ENTRYPOINT ["/device-virtual"] 11:41:31 ---> Running in 0b262e984a28 11:41:31 Removing intermediate container 0b262e984a28 11:41:31 ---> a1e5e0163fa4 11:41:31 Step 22/25 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry"] 11:41:31 ---> Running in 149ec25f60da 11:41:31 Removing intermediate container 149ec25f60da 11:41:31 ---> 29a682f5e2b5 11:41:31 Step 23/25 : LABEL arch=arm64 11:41:31 ---> Running in aa92be042711 11:41:31 Removing intermediate container aa92be042711 11:41:31 ---> 3cc708e25fda 11:41:31 Step 24/25 : LABEL git_sha=8d64545ab26be931b1b0a18d1d068cae15b5ee52 11:41:31 ---> Running in 1c56fbcc98d5 11:41:31 Removing intermediate container 1c56fbcc98d5 11:41:31 ---> f9b18e818cec 11:41:31 Step 25/25 : LABEL version=0.0.0 11:41:31 ---> Running in 69652c4e4960 11:41:31 Removing intermediate container 69652c4e4960 11:41:31 ---> 2f468d7989cf 11:41:31 [Warning] One or more build-args [ARCH] were not consumed 11:41:31 Successfully built 2f468d7989cf 11:41:31 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 11:41:32 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 11:41:32 11:41:32 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 11:41:32 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 11:41:32 arm64: Pulling from edgex-lftools-log-publisher 11:41:32 8998bd30e6a1: Pulling fs layer 11:41:32 04944245beec: Pulling fs layer 11:41:32 699f458cf7ca: Pulling fs layer 11:41:32 765212b225bb: Pulling fs layer 11:41:32 f23df028b6ca: Pulling fs layer 11:41:32 d65c8cfc05b1: Pulling fs layer 11:41:32 2437ff75d9bd: Pulling fs layer 11:41:32 765212b225bb: Waiting 11:41:32 f23df028b6ca: Waiting 11:41:32 d65c8cfc05b1: Waiting 11:41:32 2437ff75d9bd: Waiting 11:41:32 04944245beec: Verifying Checksum 11:41:32 04944245beec: Download complete 11:41:32 765212b225bb: Verifying Checksum 11:41:32 765212b225bb: Download complete 11:41:32 f23df028b6ca: Verifying Checksum 11:41:32 f23df028b6ca: Download complete 11:41:32 d65c8cfc05b1: Verifying Checksum 11:41:32 d65c8cfc05b1: Download complete 11:41:32 699f458cf7ca: Verifying Checksum 11:41:32 699f458cf7ca: Download complete 11:41:33 8998bd30e6a1: Download complete 11:41:35 2437ff75d9bd: Verifying Checksum 11:41:35 2437ff75d9bd: Download complete 11:41:37 8998bd30e6a1: Pull complete 11:41:37 04944245beec: Pull complete 11:41:39 699f458cf7ca: Pull complete 11:41:39 765212b225bb: Pull complete 11:41:40 f23df028b6ca: Pull complete 11:41:40 d65c8cfc05b1: Pull complete 11:41:55 2437ff75d9bd: Pull complete 11:41:55 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 11:41:55 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 11:41:55 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 11:41:55 prd-ubuntu20.04-docker-arm64-4c-16g-7560 does not seem to be running inside a container 11:41:55 $ 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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat 11:41:58 $ docker top aad0440914ac995395296abcb3c134fa1652795fd7b59ba71dd1e5fd4f7d1d01 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 11:41:58 ---> job-cost.sh 11:41:58 lf-activate-venv: SKIPPING 11:41:58 INFO: No Stack... 11:41:59 INFO: Retrieving Pricing Info for: v3-standard-4 11:42:00 INFO: Archiving Costs [Pipeline] sh 11:42:00 + cat /w/workspace/device-virtual-go/1/archives/cost.csv 11:42:00 + cut -d, -f6 [Pipeline] lock 11:42:00 Trying to acquire lock on [jenkins-edgexfoundry-device-virtual-go-PR-432-1-stack-cost] 11:42:00 Resource [jenkins-edgexfoundry-device-virtual-go-PR-432-1-stack-cost] did not exist. Created. 11:42:00 Lock acquired on [jenkins-edgexfoundry-device-virtual-go-PR-432-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 11:42:01 /w/workspace/device-virtual-go/1@tmp/durable-c8634da1/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 11:42:01 + echo total: 0.10999999940395355 [Pipeline] stash 11:42:01 Warning: overwriting stash ‘stack-cost’ 11:42:02 Stashed 1 file(s) [Pipeline] } 11:42:02 Lock released on resource [jenkins-edgexfoundry-device-virtual-go-PR-432-1-stack-cost] [Pipeline] // lock [Pipeline] } 11:42:02 $ docker stop --time=1 aad0440914ac995395296abcb3c134fa1652795fd7b59ba71dd1e5fd4f7d1d01 11:42:03 $ docker rm -f --volumes aad0440914ac995395296abcb3c134fa1652795fd7b59ba71dd1e5fd4f7d1d01 [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 11:42:04 provisioning config files... 11:42:04 copy managed file [device-virtual-go-codecov-token] to file:/w/workspace/foundry_device-virtual-go_PR-432@tmp/config9053613803461336213tmp [Pipeline] { [Pipeline] sh 11:42:04 + set +x 11:42:04 + curl -s https://codecov.io/bash 11:42:04 + bash -s -- 11:42:04 11:42:04 _____ _ 11:42:04 / ____| | | 11:42:04 | | ___ __| | ___ ___ _____ __ 11:42:04 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 11:42:04 | |___| (_) | (_| | __/ (_| (_) \ V / 11:42:04 \_____\___/ \__,_|\___|\___\___/ \_/ 11:42:04 Bash-1.0.6 11:42:04 11:42:04 11:42:05 ==> git version 2.25.1 found 11:42:05 ==> 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 11:42:05 Release-Date: 2020-01-08 11:42:05 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 11:42:05 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 11:42:05 ==> Jenkins CI detected. 11:42:05 current dir:  /w/workspace/foundry_device-virtual-go_PR-432 11:42:05 project root: . 11:42:05 --> token set from env 11:42:05 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 11:42:05 ==> Running gcov in . (disable via -X gcov) 11:42:05 ==> Python coveragepy not found 11:42:05 ==> Searching for coverage reports in: 11:42:05 + . 11:42:05 -> Found 1 reports 11:42:05 ==> Detecting git/mercurial file structure 11:42:05 ==> Reading reports 11:42:05 + ./coverage.out bytes=43063 11:42:05 ==> Appending adjustments 11:42:05 https://docs.codecov.io/docs/fixing-reports 11:42:05 + Found adjustments 11:42:05 ==> Gzipping contents 11:42:05 8.0K /tmp/codecov.Ps8bms.gz 11:42:05 ==> Uploading reports 11:42:05 url: https://codecov.io 11:42:05 query: branch=PR-432&commit=8d64545ab26be931b1b0a18d1d068cae15b5ee52&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-virtual-go%2Fjob%2FPR-432%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-virtual-go&service=jenkins&flags=&pr=432&job=&cmd_args= 11:42:05 -> Pinging Codecov 11:42:05 https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=a35e349c-7876-4d48-9269-e9fc36774240&branch=PR-432&commit=8d64545ab26be931b1b0a18d1d068cae15b5ee52&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-virtual-go%2Fjob%2FPR-432%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-virtual-go&service=jenkins&flags=&pr=432&job=&cmd_args= 11:42:05 -> Uploading to 11:42:05 https://storage.googleapis.com/codecov/v4/raw/2023-09-21/5E52B4B073DB2E39498172D8E973AA87/8d64545ab26be931b1b0a18d1d068cae15b5ee52/72ea950b-b802-4a2e-b045-ab56e5e5d6a4.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20230921%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20230921T114205Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=d962afcd889dc9d4f6b8cdaf098d7c4cdc25e9e729742be5d2f9584026afff9f 11:42:05 % Total % Received % Xferd Average Speed Time Time Time Current 11:42:05 Dload Upload Total Spent Left Speed 11:42:05 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 5184 0 0 100 5184 0 25043 --:--:-- --:--:-- --:--:-- 25043 11:42:05 -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-virtual-go/commit/8d64545ab26be931b1b0a18d1d068cae15b5ee52 [Pipeline] } 11:42:05 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 11:42:07 + [ -d /w/workspace/foundry_device-virtual-go_PR-432/archives ] 11:42:07 + ls -al /w/workspace/foundry_device-virtual-go_PR-432/archives 11:42:07 total 16 11:42:07 drwxr-xr-x 3 root root 4096 Sep 21 11:36 . 11:42:07 drwxrwxr-x 10 jenkins jenkins 4096 Sep 21 11:36 .. 11:42:07 drwxr-xr-x 2 root root 4096 Sep 21 11:36 cost 11:42:07 -rw-r--r-- 1 root root 89 Sep 21 11:36 cost.csv 11:42:07 + sudo chown -R jenkins:jenkins /w/workspace/foundry_device-virtual-go_PR-432/archives 11:42:07 + ls -al /w/workspace/foundry_device-virtual-go_PR-432/archives 11:42:07 total 16 11:42:07 drwxr-xr-x 3 jenkins jenkins 4096 Sep 21 11:36 . 11:42:07 drwxrwxr-x 10 jenkins jenkins 4096 Sep 21 11:36 .. 11:42:07 drwxr-xr-x 2 jenkins jenkins 4096 Sep 21 11:36 cost 11:42:07 -rw-r--r-- 1 jenkins jenkins 89 Sep 21 11:36 cost.csv [Pipeline] libraryResource [Pipeline] sh 11:42:07 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 11:42:08 ---> package-listing.sh 11:42:08 ++ facter osfamily 11:42:08 ++ tr '[:upper:]' '[:lower:]' 11:42:08 + OS_FAMILY=debian 11:42:08 + workspace=/w/workspace/foundry_device-virtual-go_PR-432 11:42:08 + START_PACKAGES=/tmp/packages_start.txt 11:42:08 + END_PACKAGES=/tmp/packages_end.txt 11:42:08 + DIFF_PACKAGES=/tmp/packages_diff.txt 11:42:08 + PACKAGES=/tmp/packages_start.txt 11:42:08 + '[' /w/workspace/foundry_device-virtual-go_PR-432 ']' 11:42:08 + PACKAGES=/tmp/packages_end.txt 11:42:08 + case "${OS_FAMILY}" in 11:42:08 + dpkg -l 11:42:08 + grep '^ii' 11:42:08 + '[' -f /tmp/packages_start.txt ']' 11:42:08 + '[' -f /tmp/packages_end.txt ']' 11:42:08 + diff /tmp/packages_start.txt /tmp/packages_end.txt 11:42:08 + '[' /w/workspace/foundry_device-virtual-go_PR-432 ']' 11:42:08 + mkdir -p /w/workspace/foundry_device-virtual-go_PR-432/archives/ 11:42:08 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/foundry_device-virtual-go_PR-432/archives/ [Pipeline] echo 11:42:08 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-432/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 11:42:09 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 11:42:09 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 11:42:09 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 11:42:10 prd-ubuntu20.04-docker-8c-8g-7559 does not seem to be running inside a container 11:42:10 $ 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-432/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-432 -v /w/workspace/foundry_device-virtual-go_PR-432:/w/workspace/foundry_device-virtual-go_PR-432:rw,z -v /w/workspace/foundry_device-virtual-go_PR-432@tmp:/w/workspace/foundry_device-virtual-go_PR-432@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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 11:42:10 $ docker top 5c2951940e78049342cfaf3d0a24b074c32cc09449cd806bb4e5675f5daeb3fe -eo pid,comm [Pipeline] { [Pipeline] sh 11:42:10 + touch /tmp/pre-build-complete [Pipeline] sh 11:42:10 + mkdir -p /var/log/sysstat [Pipeline] sh 11:42:11 + ls /var/log/sa-host 11:42:11 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 11:42:11 provisioning config files... 11:42:11 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/foundry_device-virtual-go_PR-432@tmp/config11307254506874664296tmp [Pipeline] { [Pipeline] echo 11:42:11 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 11:42:11 ---> create-netrc.sh [Pipeline] } 11:42:11 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 11:42:12 ---> python-tools-install.sh [Pipeline] echo 11:42:12 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 11:42:12 ---> sudo-logs.sh 11:42:12 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 11:42:12 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 11:42:13 ---> job-cost.sh 11:42:13 lf-activate-venv: SKIPPING 11:42:13 DEBUG: total: 0.2199999988079071 11:42:13 INFO: Retrieving Stack Cost... 11:42:13 INFO: Retrieving Pricing Info for: v3-standard-8 11:42:13 INFO: Archiving Costs [Pipeline] echo 11:42:13 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 11:42:14 ---> logs-deploy.sh 11:42:14 lf-activate-venv: SKIPPING 11:42:14 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-virtual-go/PR-432/1 11:42:14 INFO: archiving workspace using pattern(s): 11:42:15 Archives upload complete. 11:42:15 INFO: archiving logs to Nexus