Pull request #401 opened Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 58f25e79d2b6358b9efe8a6c2db37bf44cd84193+75585deb70bc80a1f521499c22e56c4d6cf5dcfe (ed7aaae4309adf2440a9238488682c65db1ea50d) 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-ssh7760889582017275551.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 4fc256d9079ed2258907e613f84b1b8da264a4bd Resolving tag commit... (remote references may be a lightweight tag or an annotated tag) > git rev-parse --resolve-git-dir /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f/.git # timeout=10 Setting origin to git@github.com:edgexfoundry/edgex-global-pipelines.git > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching origin... Fetching upstream changes from origin > git --version # timeout=10 > git --version # 'git version 2.16.6' > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f@tmp/jenkins-gitclient-ssh488588206809220361.key > git fetch --tags --progress -- origin +refs/heads/*:refs/remotes/origin/* # timeout=10 > git rev-parse refs/tags/stable^{commit} # timeout=10 Resolved tag stable revision 4fc256d9079ed2258907e613f84b1b8da264a4bd The recommended git tool is: git using credential edgex-jenkins-ssh 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-401/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-401/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh6622673991809973074.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-401/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh16688899818340159402.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 4fc256d9079ed2258907e613f84b1b8da264a4bd (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 4fc256d9079ed2258907e613f84b1b8da264a4bd # timeout=10 Commit message: "Merge pull request #430 from ernestojeda/release-lock" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 > 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-ssh11111780234013383785.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-401/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-401/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh9561150881373932117.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 4fc256d9079ed2258907e613f84b1b8da264a4bd 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.20 USE_ALPINE: true DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-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-14668 in /w/workspace/foundry_device-virtual-go_PR-401 [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-401 # 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/401/head:refs/remotes/origin/PR-401 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit 75585deb70bc80a1f521499c22e56c4d6cf5dcfe into PR head commit 58f25e79d2b6358b9efe8a6c2db37bf44cd84193 Merge succeeded, producing 58f25e79d2b6358b9efe8a6c2db37bf44cd84193 Checking out Revision 58f25e79d2b6358b9efe8a6c2db37bf44cd84193 (PR-401) 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 4fc256d9079ed2258907e613f84b1b8da264a4bd > git config core.sparsecheckout # timeout=10 > git checkout -f 58f25e79d2b6358b9efe8a6c2db37bf44cd84193 # 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 75585deb70bc80a1f521499c22e56c4d6cf5dcfe # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 58f25e79d2b6358b9efe8a6c2db37bf44cd84193 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 12:44:03 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 12:44:03 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 12:44:03 ========================================================= 12:44:03 EdgeX Global Pipelines Version Info 12:44:03 ========================================================= [Pipeline] libraryResource [Pipeline] sh 12:44:04 ------------------- 12:44:04 stable info: 12:44:04 ------------------- 12:44:04 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 12:44:04 Commit SHA: 4fc256d9079ed2258907e613f84b1b8da264a4bd 12:44:04 Message: update stable to v1.0.249 12:44:04 ------------------- 12:44:04 experimental info: 12:44:04 ------------------- 12:44:04 Commited By: **** collab-it+edgex@linuxfoundation.org 12:44:04 Commit SHA: 4fc256d9079ed2258907e613f84b1b8da264a4bd 12:44:04 Message: update experimental to v1.0.249 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 12:44:05 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-virtual-go-settings [Pipeline] echo 12:44:05 [edgeXSetupEnvironment]: set envvar PROJECT = device-virtual-go [Pipeline] echo 12:44:05 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 12:44:05 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 12:44:05 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 12:44:05 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.20 [Pipeline] echo 12:44:05 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 12:44:05 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 12:44:05 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 12:44:05 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 12:44:05 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 12:44:05 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-virtual [Pipeline] echo 12:44:05 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 12:44:05 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 12:44:05 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 12:44:05 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 12:44:05 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 12:44:05 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 12:44:05 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 12:44:05 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 12:44:05 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 12:44:05 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 12:44:05 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 12:44:06 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 12:44:06 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 12:44:06 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 12:44:06 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 12:44:06 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-401 [Pipeline] echo 12:44:06 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-401 [Pipeline] echo 12:44:06 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-401 [Pipeline] echo 12:44:06 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 58f25e79d2b6358b9efe8a6c2db37bf44cd84193 [Pipeline] echo 12:44:06 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 58f25e7 [Pipeline] echo 12:44:06 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 12:44:06 provisioning config files... 12:44:06 copy managed file [device-virtual-go-settings] to file:/w/workspace/foundry_device-virtual-go_PR-401@tmp/config2349407248602883566tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 12:44:06 ---> docker-login.sh 12:44:06 nexus3.edgexfoundry.org:10001 12:44:07 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 12:44:07 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 12:44:07 Configure a credential helper to remove this warning. See 12:44:07 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 12:44:07 12:44:07 Login Succeeded 12:44:07 nexus3.edgexfoundry.org:10002 12:44:07 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 12:44:07 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 12:44:07 Configure a credential helper to remove this warning. See 12:44:07 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 12:44:07 12:44:07 Login Succeeded 12:44:07 nexus3.edgexfoundry.org:10003 12:44:07 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 12:44:07 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 12:44:07 Configure a credential helper to remove this warning. See 12:44:07 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 12:44:07 12:44:07 Login Succeeded 12:44:07 nexus3.edgexfoundry.org:10004 12:44:07 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 12:44:07 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 12:44:07 Configure a credential helper to remove this warning. See 12:44:07 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 12:44:07 12:44:07 Login Succeeded 12:44:07 docker.io 12:44:07 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 12:44:07 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 12:44:07 Configure a credential helper to remove this warning. See 12:44:07 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 12:44:07 12:44:07 Login Succeeded 12:44:07 ---> docker-login.sh ends [Pipeline] } 12:44:07 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 12:44:08 + git rev-list -1 --merges 58f25e79d2b6358b9efe8a6c2db37bf44cd84193~1..58f25e79d2b6358b9efe8a6c2db37bf44cd84193 [Pipeline] echo 12:44:08 -----------> git rev-list -1 --merges 58f25e79d2b6358b9efe8a6c2db37bf44cd84193~1..58f25e79d2b6358b9efe8a6c2db37bf44cd84193 58f25e79d2b6358b9efe8a6c2db37bf44cd84193 [false] [Pipeline] sh 12:44:09 + git log --format=format:%s -1 58f25e79d2b6358b9efe8a6c2db37bf44cd84193 [Pipeline] echo 12:44:09 ========================================================= 12:44:09 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 12:44:09 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 12:44:09 + git log --format=format:%s -1 58f25e79d2b6358b9efe8a6c2db37bf44cd84193 [Pipeline] echo 12:44:09 [semverPrep] GIT_COMMIT: 58f25e79d2b6358b9efe8a6c2db37bf44cd84193, Commit Message: build(deps): Bump github.com/edgexfoundry/device-sdk-go/v3 [Pipeline] echo 12:44:09 [semverPrep] This is not a build commit. [Pipeline] sh 12:44:10 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 12:44:10 + grep -v github /etc/ssh/ssh_known_hosts 12:44:10 + [ -e /tmp/ssh_known_hosts ] 12:44:10 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 12:44:10 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 12:44:10 + sudo tee -a /etc/ssh/ssh_known_hosts 12:44:10 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 12:44:10 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 12:44:10 12:44:10 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 12:44:10 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 12:44:10 0.1.4: Pulling from edgex-devops/py-git-semver 12:44:10 b85a868b505f: Pulling fs layer 12:44:10 e2be974225ed: Pulling fs layer 12:44:10 339a4e72a1f5: Pulling fs layer 12:44:10 988bab9f4d93: Pulling fs layer 12:44:10 1469e6f7b9e6: Pulling fs layer 12:44:10 eaf3925da568: Pulling fs layer 12:44:10 bab4dde63d76: Pulling fs layer 12:44:10 bde34c3a00c8: Pulling fs layer 12:44:10 b352a97aabf1: Pulling fs layer 12:44:10 4872d77fe225: Pulling fs layer 12:44:10 5851b861e8e6: Pulling fs layer 12:44:10 b352a97aabf1: Waiting 12:44:10 4872d77fe225: Waiting 12:44:10 5851b861e8e6: Waiting 12:44:10 1469e6f7b9e6: Waiting 12:44:10 bde34c3a00c8: Waiting 12:44:10 bab4dde63d76: Waiting 12:44:10 eaf3925da568: Waiting 12:44:10 e2be974225ed: Verifying Checksum 12:44:10 e2be974225ed: Download complete 12:44:10 988bab9f4d93: Verifying Checksum 12:44:10 988bab9f4d93: Download complete 12:44:11 339a4e72a1f5: Verifying Checksum 12:44:11 339a4e72a1f5: Download complete 12:44:11 1469e6f7b9e6: Verifying Checksum 12:44:11 1469e6f7b9e6: Download complete 12:44:11 eaf3925da568: Download complete 12:44:11 bde34c3a00c8: Download complete 12:44:11 b352a97aabf1: Verifying Checksum 12:44:11 b352a97aabf1: Download complete 12:44:11 4872d77fe225: Verifying Checksum 12:44:11 4872d77fe225: Download complete 12:44:11 5851b861e8e6: Verifying Checksum 12:44:11 5851b861e8e6: Download complete 12:44:11 b85a868b505f: Download complete 12:44:11 bab4dde63d76: Verifying Checksum 12:44:11 bab4dde63d76: Download complete 12:44:12 b85a868b505f: Pull complete 12:44:12 e2be974225ed: Pull complete 12:44:13 339a4e72a1f5: Pull complete 12:44:13 988bab9f4d93: Pull complete 12:44:13 1469e6f7b9e6: Pull complete 12:44:13 eaf3925da568: Pull complete 12:44:14 bab4dde63d76: Pull complete 12:44:14 bde34c3a00c8: Pull complete 12:44:14 b352a97aabf1: Pull complete 12:44:14 4872d77fe225: Pull complete 12:44:15 5851b861e8e6: Pull complete 12:44:15 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 12:44:15 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 12:44:15 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 12:44:15 prd-ubuntu20.04-docker-8c-8g-14668 does not seem to be running inside a container 12:44:15 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/foundry_device-virtual-go_PR-401 -v /w/workspace/foundry_device-virtual-go_PR-401:/w/workspace/foundry_device-virtual-go_PR-401:rw,z -v /w/workspace/foundry_device-virtual-go_PR-401@tmp:/w/workspace/foundry_device-virtual-go_PR-401@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 12:44:17 $ docker top a1c5a2e61a8e1cbe684c373ce2d6dadf2719b7bb96dd86d204d2468d7b94488c -eo pid,comm 12:44:17 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). 12:44:17 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 12:44:18 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 12:44:18 [ssh-agent] Looking for ssh-agent implementation... 12:44:18 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 12:44:18 $ docker exec a1c5a2e61a8e1cbe684c373ce2d6dadf2719b7bb96dd86d204d2468d7b94488c ssh-agent 12:44:18 SSH_AUTH_SOCK=/tmp/ssh-O4qmRwmhTNRL/agent.32 12:44:18 SSH_AGENT_PID=38 12:44:18 Running ssh-add (command line suppressed) 12:44:18 Identity added: /w/workspace/foundry_device-virtual-go_PR-401@tmp/private_key_9368117955938649713.key (/w/workspace/foundry_device-virtual-go_PR-401@tmp/private_key_9368117955938649713.key) 12:44:18 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 12:44:18 + git tag --points-at HEAD [Pipeline] } 12:44:18 $ docker exec --env ******** --env ******** a1c5a2e61a8e1cbe684c373ce2d6dadf2719b7bb96dd86d204d2468d7b94488c ssh-agent -k 12:44:18 unset SSH_AUTH_SOCK; 12:44:18 unset SSH_AGENT_PID; 12:44:18 echo Agent pid 38 killed; 12:44:18 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 12:44:18 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 12:44:18 [ssh-agent] Looking for ssh-agent implementation... 12:44:19 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 12:44:19 $ docker exec a1c5a2e61a8e1cbe684c373ce2d6dadf2719b7bb96dd86d204d2468d7b94488c ssh-agent 12:44:19 SSH_AUTH_SOCK=/tmp/ssh-I6NEHh9pGCvP/agent.72 12:44:19 SSH_AGENT_PID=79 12:44:19 Running ssh-add (command line suppressed) 12:44:19 Identity added: /w/workspace/foundry_device-virtual-go_PR-401@tmp/private_key_4175857732986979596.key (/w/workspace/foundry_device-virtual-go_PR-401@tmp/private_key_4175857732986979596.key) 12:44:19 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 12:44:19 + git semver init 12:44:19 2023-05-09 12:44:19,830 [run_init] DEBUG init version:0.0.0 force:False 12:44:19 2023-05-09 12:44:19,832 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/foundry_device-virtual-go_PR-401/.semver 12:44:19 2023-05-09 12:44:19,833 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-virtual-go.git /w/workspace/foundry_device-virtual-go_PR-401/.semver 12:44:19 2023-05-09 12:44:19,833 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-virtual-go.git', '/w/workspace/foundry_device-virtual-go_PR-401/.semver'], cwd=/w/workspace/foundry_device-virtual-go_PR-401, universal_newlines=False, shell=None, istream=None) 12:44:20 2023-05-09 12:44:20,828 [append_file] DEBUG append to file:/w/workspace/foundry_device-virtual-go_PR-401/.git/info/exclude 12:44:20 2023-05-09 12:44:20,828 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/foundry_device-virtual-go_PR-401/.semver/PR-401 with force:False 12:44:20 2023-05-09 12:44:20,829 [write_file] DEBUG write to file:/w/workspace/foundry_device-virtual-go_PR-401/.semver/PR-401 12:44:20 2023-05-09 12:44:20,833 [execute] INFO git cat-file --batch-check 12:44:20 2023-05-09 12:44:20,833 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/foundry_device-virtual-go_PR-401/.semver, universal_newlines=False, shell=None, istream=) 12:44:20 2023-05-09 12:44:20,839 [execute] INFO git cat-file --batch 12:44:20 2023-05-09 12:44:20,839 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/foundry_device-virtual-go_PR-401/.semver, universal_newlines=False, shell=None, istream=) 12:44:20 2023-05-09 12:44:20,844 [read_version] DEBUG read version from /w/workspace/foundry_device-virtual-go_PR-401/.semver/PR-401 12:44:20 0.0.0 [Pipeline] } 12:44:21 $ docker exec --env ******** --env ******** a1c5a2e61a8e1cbe684c373ce2d6dadf2719b7bb96dd86d204d2468d7b94488c ssh-agent -k 12:44:21 unset SSH_AUTH_SOCK; 12:44:21 unset SSH_AGENT_PID; 12:44:21 echo Agent pid 79 killed; 12:44:21 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 12:44:21 + git semver [Pipeline] } 12:44:21 $ docker stop --time=1 a1c5a2e61a8e1cbe684c373ce2d6dadf2719b7bb96dd86d204d2468d7b94488c 12:44:23 $ docker rm -f --volumes a1c5a2e61a8e1cbe684c373ce2d6dadf2719b7bb96dd86d204d2468d7b94488c [Pipeline] // withDockerContainer [Pipeline] sh 12:44:23 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 12:44:23 Stashed 1 file(s) [Pipeline] echo 12:44:23 [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 12:44:24 provisioning config files... 12:44:24 copy managed file [device-virtual-go-settings] to file:/w/workspace/foundry_device-virtual-go_PR-401@tmp/config8972999645432709156tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 12:44:24 ---> docker-login.sh 12:44:24 nexus3.edgexfoundry.org:10001 12:44:24 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 12:44:24 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 12:44:24 Configure a credential helper to remove this warning. See 12:44:24 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 12:44:24 12:44:24 Login Succeeded 12:44:24 nexus3.edgexfoundry.org:10002 12:44:24 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 12:44:24 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 12:44:24 Configure a credential helper to remove this warning. See 12:44:24 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 12:44:24 12:44:24 Login Succeeded 12:44:24 nexus3.edgexfoundry.org:10003 12:44:25 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 12:44:25 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 12:44:25 Configure a credential helper to remove this warning. See 12:44:25 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 12:44:25 12:44:25 Login Succeeded 12:44:25 nexus3.edgexfoundry.org:10004 12:44:25 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 12:44:25 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 12:44:25 Configure a credential helper to remove this warning. See 12:44:25 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 12:44:25 12:44:25 Login Succeeded 12:44:25 docker.io 12:44:25 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 12:44:25 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 12:44:25 Configure a credential helper to remove this warning. See 12:44:25 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 12:44:25 12:44:25 Login Succeeded 12:44:25 ---> docker-login.sh ends [Pipeline] } 12:44:25 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 12:44:25 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 12:44:25 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 12:44:25 ========================================================= 12:44:25 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine] 12:44:25 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 12:44:26 + docker build -t ci-base-image-x86_64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine --build-arg MAKE=echo noop --target=builder . 12:44:26 Sending build context to Docker daemon 23.63MB 12:44:26 Step 1/12 : ARG BASE=golang:1.20-alpine3.17 12:44:26 Step 2/12 : FROM ${BASE} AS builder 12:44:26 1.20-alpine: Pulling from edgex-devops/edgex-golang-base 12:44:26 f56be85fc22e: Pulling fs layer 12:44:26 85791d961cd3: Pulling fs layer 12:44:26 d694b5ae8c79: Pulling fs layer 12:44:26 9f32a84ed3da: Pulling fs layer 12:44:26 4d19c01a9841: Pulling fs layer 12:44:26 9325e15d5711: Pulling fs layer 12:44:26 556b6ee489ea: Pulling fs layer 12:44:26 c5a4b2cf53e6: Pulling fs layer 12:44:26 c5a4b2cf53e6: Waiting 12:44:26 4d19c01a9841: Waiting 12:44:26 556b6ee489ea: Waiting 12:44:26 9325e15d5711: Waiting 12:44:26 9f32a84ed3da: Waiting 12:44:26 9f32a84ed3da: Verifying Checksum 12:44:26 9f32a84ed3da: Download complete 12:44:26 4d19c01a9841: Verifying Checksum 12:44:26 4d19c01a9841: Download complete 12:44:26 f56be85fc22e: Verifying Checksum 12:44:26 f56be85fc22e: Download complete 12:44:26 9325e15d5711: Verifying Checksum 12:44:26 9325e15d5711: Download complete 12:44:26 f56be85fc22e: Pull complete 12:44:26 85791d961cd3: Pull complete 12:44:27 c5a4b2cf53e6: Download complete 12:44:27 d694b5ae8c79: Verifying Checksum 12:44:27 d694b5ae8c79: Download complete 12:44:27 556b6ee489ea: Verifying Checksum 12:44:27 556b6ee489ea: Download complete 12:44:30 d694b5ae8c79: Pull complete 12:44:30 9f32a84ed3da: Pull complete 12:44:30 4d19c01a9841: Pull complete 12:44:30 9325e15d5711: Pull complete 12:44:32 556b6ee489ea: Pull complete 12:44:33 c5a4b2cf53e6: Pull complete 12:44:33 Digest: sha256:cdb650785bd12602035d3ff87499385c169773a4d12d6eaf394b34464d3a0f2b 12:44:33 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine 12:44:33 ---> c4be618373d6 12:44:33 Step 3/12 : ARG ALPINE_PKG_BASE="make git openssh-client" 12:44:36 ---> Running in 3d46bad92daa 12:44:36 Removing intermediate container 3d46bad92daa 12:44:36 ---> e17abc3798b8 12:44:36 Step 4/12 : ARG ALPINE_PKG_EXTRA="" 12:44:36 ---> Running in 7f179902a670 12:44:36 Removing intermediate container 7f179902a670 12:44:36 ---> 4374f236af53 12:44:36 Step 5/12 : ARG ADD_BUILD_TAGS="" 12:44:36 ---> Running in b12458f62ba3 12:44:36 Removing intermediate container b12458f62ba3 12:44:36 ---> 048c043458ba 12:44:36 Step 6/12 : WORKDIR /device-virtual-go 12:44:36 ---> Running in 57bd88c4ff35 12:44:37 Removing intermediate container 57bd88c4ff35 12:44:37 ---> 022a79bd1b5c 12:44:37 Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 12:44:37 ---> Running in d980c8e37966 12:44:37 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 12:44:37 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 12:44:37 (1/4) Installing openssh-keygen (9.1_p1-r2) 12:44:37 (2/4) Installing libedit (20221030.3.1-r0) 12:44:37 (3/4) Installing openssh-client-common (9.1_p1-r2) 12:44:37 (4/4) Installing openssh-client-default (9.1_p1-r2) 12:44:37 Executing busybox-1.35.0-r29.trigger 12:44:38 OK: 269 MiB in 57 packages 12:44:38 Removing intermediate container d980c8e37966 12:44:38 ---> a0e86a29a90f 12:44:38 Step 8/12 : COPY go.mod vendor* ./ 12:44:38 ---> ee217a98c095 12:44:38 Step 9/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 12:44:38 ---> Running in 6159248c6141 12:44:39 Still waiting to schedule task 12:44:39 All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline 12:45:25 Removing intermediate container 6159248c6141 12:45:25 ---> 50ca41e59e8d 12:45:25 Step 10/12 : COPY . . 12:45:25 ---> 8990d6df35a3 12:45:25 Step 11/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 12:45:25 ---> Running in 638b0d12d95c 12:45:25 Removing intermediate container 638b0d12d95c 12:45:25 ---> 4bb282e8e166 12:45:25 Step 12/12 : RUN $MAKE 12:45:25 ---> Running in 6871aaabb5c4 12:45:26 noop 12:45:26 Removing intermediate container 6871aaabb5c4 12:45:26 ---> 6461d6a732d5 12:45:26 Successfully built 6461d6a732d5 12:45:26 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 12:45:26 + docker inspect -f . ci-base-image-x86_64 12:45:26 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 12:45:26 prd-ubuntu20.04-docker-8c-8g-14668 does not seem to be running inside a container 12:45:26 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/foundry_device-virtual-go_PR-401 -v /w/workspace/foundry_device-virtual-go_PR-401:/w/workspace/foundry_device-virtual-go_PR-401:rw,z -v /w/workspace/foundry_device-virtual-go_PR-401@tmp:/w/workspace/foundry_device-virtual-go_PR-401@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 12:45:27 $ docker top 150ff66286ec6bb081887906c16dafc0bf40eedf6d5eebb5e19169d06165287f -eo pid,comm [Pipeline] { [Pipeline] sh 12:45:27 + go version 12:45:27 go version go1.20.2 linux/amd64 [Pipeline] } 12:45:27 $ docker stop --time=1 150ff66286ec6bb081887906c16dafc0bf40eedf6d5eebb5e19169d06165287f 12:45:28 $ docker rm -f --volumes 150ff66286ec6bb081887906c16dafc0bf40eedf6d5eebb5e19169d06165287f [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 12:45:29 + docker inspect -f . ci-base-image-x86_64 12:45:29 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 12:45:29 prd-ubuntu20.04-docker-8c-8g-14668 does not seem to be running inside a container 12:45:29 $ 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-401 -v /w/workspace/foundry_device-virtual-go_PR-401:/w/workspace/foundry_device-virtual-go_PR-401:rw,z -v /w/workspace/foundry_device-virtual-go_PR-401@tmp:/w/workspace/foundry_device-virtual-go_PR-401@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 12:45:30 $ docker top 65c85f9ecbb898e994b9d19c7c575869b8ead816e7215787d40fe79cab1cc5e7 -eo pid,comm [Pipeline] { [Pipeline] sh 12:45:30 + git config --global --add safe.directory /w/workspace/foundry_device-virtual-go_PR-401 [Pipeline] fileExists [Pipeline] sh 12:45:31 + make test 12:45:31 go test ./... -coverprofile=coverage.out 12:45:35 ? github.com/edgexfoundry/device-virtual-go [no test files] 12:45:45 ? github.com/edgexfoundry/device-virtual-go/cmd [no test files] 12:45:45 ok github.com/edgexfoundry/device-virtual-go/internal/driver 0.021s coverage: 58.6% of statements 12:45:49 go vet ./... 12:45:53 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 12:45:53 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 12:45:53 ./bin/test-attribution-txt.sh [Pipeline] echo 12:45:53 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 12:45:53 $ docker stop --time=1 65c85f9ecbb898e994b9d19c7c575869b8ead816e7215787d40fe79cab1cc5e7 12:45:56 $ docker rm -f --volumes 65c85f9ecbb898e994b9d19c7c575869b8ead816e7215787d40fe79cab1cc5e7 [Pipeline] // withDockerContainer [Pipeline] sh 12:45:56 + sudo chown -R jenkins:jenkins . [Pipeline] stash 12:45:56 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 12:45:57 + sudo chown -R jenkins:jenkins . [Pipeline] sh 12:45:57 + ls -al . 12:45:57 total 192 12:45:57 drwxrwxr-x 9 jenkins jenkins 4096 May 9 12:45 . 12:45:57 drwxrwxr-x 4 jenkins jenkins 4096 May 9 12:44 .. 12:45:57 drwxrwxr-x 8 jenkins jenkins 4096 May 9 12:44 .git 12:45:57 drwxrwxr-x 3 jenkins jenkins 4096 May 9 12:44 .github 12:45:57 -rw-rw-r-- 1 jenkins jenkins 337 May 9 12:44 .gitignore 12:45:57 -rw-rw-r-- 1 jenkins jenkins 41 May 9 12:44 .golangci.yml 12:45:57 drwxr-xr-x 3 jenkins jenkins 4096 May 9 12:44 .semver 12:45:57 -rw-rw-r-- 1 jenkins jenkins 8652 May 9 12:44 Attribution.txt 12:45:57 -rw-rw-r-- 1 jenkins jenkins 11367 May 9 12:44 CHANGELOG.md 12:45:57 -rw-rw-r-- 1 jenkins jenkins 1646 May 9 12:44 Dockerfile 12:45:57 -rw-rw-r-- 1 jenkins jenkins 677 May 9 12:44 GOVERNANCE.md 12:45:57 -rw-rw-r-- 1 jenkins jenkins 660 May 9 12:44 Jenkinsfile 12:45:57 -rw-rw-r-- 1 jenkins jenkins 11340 May 9 12:44 LICENSE 12:45:57 -rw-rw-r-- 1 jenkins jenkins 1696 May 9 12:44 Makefile 12:45:57 -rw-rw-r-- 1 jenkins jenkins 623 May 9 12:44 OWNERS.md 12:45:57 -rw-rw-r-- 1 jenkins jenkins 3578 May 9 12:44 README.md 12:45:57 -rw-rw-r-- 1 jenkins jenkins 5 May 9 12:44 VERSION 12:45:57 drwxrwxr-x 2 jenkins jenkins 4096 May 9 12:44 bin 12:45:57 drwxrwxr-x 3 jenkins jenkins 4096 May 9 12:44 cmd 12:45:57 -rw-r--r-- 1 jenkins jenkins 43063 May 9 12:45 coverage.out 12:45:57 -rw-rw-r-- 1 jenkins jenkins 3209 May 9 12:44 go.mod 12:45:57 -rw-rw-r-- 1 jenkins jenkins 30994 May 9 12:44 go.sum 12:45:57 drwxrwxr-x 3 jenkins jenkins 4096 May 9 12:44 internal 12:45:57 drwxrwxr-x 4 jenkins jenkins 4096 May 9 12:44 snap 12:45:57 -rw-rw-r-- 1 jenkins jenkins 235 May 9 12:44 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 12:45:58 + 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=58f25e79d2b6358b9efe8a6c2db37bf44cd84193 --label arch=amd64 --label version=0.0.0 . 12:45:58 Sending build context to Docker daemon 23.67MB 12:45:58 Step 1/25 : ARG BASE=golang:1.20-alpine3.17 12:45:58 Step 2/25 : FROM ${BASE} AS builder 12:45:58 ---> 6461d6a732d5 12:45:58 Step 3/25 : ARG ALPINE_PKG_BASE="make git openssh-client" 12:45:58 ---> Running in 2caa6f220353 12:45:58 Removing intermediate container 2caa6f220353 12:45:58 ---> bd120eaa6d30 12:45:58 Step 4/25 : ARG ALPINE_PKG_EXTRA="" 12:45:58 ---> Running in 9b1d29f31f81 12:45:58 Removing intermediate container 9b1d29f31f81 12:45:58 ---> b1e86e19a4c1 12:45:58 Step 5/25 : ARG ADD_BUILD_TAGS="" 12:45:58 ---> Running in 3cc6f7a29355 12:45:58 Removing intermediate container 3cc6f7a29355 12:45:58 ---> c6a39b9151ec 12:45:58 Step 6/25 : WORKDIR /device-virtual-go 12:45:58 ---> Running in cc2ae30a85d6 12:45:58 Removing intermediate container cc2ae30a85d6 12:45:58 ---> a6713d650627 12:45:58 Step 7/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 12:45:58 ---> Running in 5d79912fc2b8 12:45:59 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 12:45:59 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 12:45:59 OK: 269 MiB in 57 packages 12:45:59 Removing intermediate container 5d79912fc2b8 12:45:59 ---> fd91aafb2d19 12:45:59 Step 8/25 : COPY go.mod vendor* ./ 12:45:59 ---> 751972462bde 12:45:59 Step 9/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 12:45:59 ---> Running in 69d2e01f1690 12:46:00 Removing intermediate container 69d2e01f1690 12:46:00 ---> 86e9b6bb310e 12:46:00 Step 10/25 : COPY . . 12:46:01 ---> 7418931007d3 12:46:01 Step 11/25 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 12:46:01 ---> Running in 9632977da54c 12:46:01 Removing intermediate container 9632977da54c 12:46:01 ---> 6eac5eee46d2 12:46:01 Step 12/25 : RUN $MAKE 12:46:01 ---> Running in 80a7f7bdd461 12:46:01 CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-virtual-go.Version=0.0.0" -trimpath -mod=readonly -o cmd/device-virtual ./cmd 12:46:10 Running on prd-ubuntu20.04-docker-arm64-4c-16g-14669 in /w/workspace/foundry_device-virtual-go_PR-401 [Pipeline] { [Pipeline] ws 12:46:10 Running in /w/workspace/device-virtual-go/1 [Pipeline] { [Pipeline] checkout 12:46:10 The recommended git tool is: git 12:46:15 using credential edgex-jenkins-ssh 12:46:15 Cloning the remote Git repository 12:46:15 Cloning repository git@github.com:edgexfoundry/device-virtual-go.git 12:46:15 > git init /w/workspace/device-virtual-go/1 # timeout=10 12:46:15 Fetching upstream changes from git@github.com:edgexfoundry/device-virtual-go.git 12:46:15 > git --version # timeout=10 12:46:15 > git --version # 'git version 2.25.1' 12:46:15 using GIT_SSH to set credentials SSH Credentials for GitHub 12:46:15 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-virtual-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 12:46:19 Removing intermediate container 80a7f7bdd461 12:46:19 ---> 3e5e01cd82ae 12:46:19 Step 13/25 : FROM alpine:3.17 12:46:19 3.17: Pulling from library/alpine 12:46:19 f56be85fc22e: Already exists 12:46:19 Digest: sha256:124c7d2707904eea7431fffe91522a01e5a861a624ee31d03372cc1d138a3126 12:46:19 Status: Downloaded newer image for alpine:3.17 12:46:19 ---> 9ed4aefc74f6 12:46:19 Step 14/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2021: IOTech' 12:46:19 ---> Running in b4b9c5c76631 12:46:19 Removing intermediate container b4b9c5c76631 12:46:19 ---> d58ca3879087 12:46:19 Step 15/25 : RUN apk add --update --no-cache dumb-init 12:46:19 ---> Running in 324ea3a386dc 12:46:19 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 12:46:19 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 12:46:19 (1/1) Installing dumb-init (1.2.5-r2) 12:46:19 Executing busybox-1.35.0-r29.trigger 12:46:19 OK: 7 MiB in 16 packages 12:46:19 Removing intermediate container 324ea3a386dc 12:46:19 ---> abee6aba3481 12:46:19 Step 16/25 : WORKDIR / 12:46:19 ---> Running in 5ecb07a749cc 12:46:19 Removing intermediate container 5ecb07a749cc 12:46:19 ---> 657c29268069 12:46:19 Step 17/25 : COPY --from=builder /device-virtual-go/Attribution.txt / 12:46:19 ---> 380290b811c0 12:46:19 Step 18/25 : COPY --from=builder /device-virtual-go/LICENSE / 12:46:19 ---> cd0aa0851274 12:46:19 Step 19/25 : COPY --from=builder /device-virtual-go/cmd / 12:46:20 > git config remote.origin.url git@github.com:edgexfoundry/device-virtual-go.git # timeout=10 12:46:20 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 12:46:20 ---> a494a88c7626 12:46:20 Step 20/25 : EXPOSE 59900 12:46:20 ---> Running in d573446e1829 12:46:20 Removing intermediate container d573446e1829 12:46:20 ---> 2caaf724b855 12:46:20 Step 21/25 : ENTRYPOINT ["/device-virtual"] 12:46:20 ---> Running in 56dd1f5e1667 12:46:20 Removing intermediate container 56dd1f5e1667 12:46:20 ---> 1971e5d027ef 12:46:20 Step 22/25 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry"] 12:46:20 ---> Running in 74b8967068b5 12:46:20 Removing intermediate container 74b8967068b5 12:46:20 ---> bf0cad419ee0 12:46:20 Step 23/25 : LABEL arch=amd64 12:46:20 ---> Running in 42dfad1c845d 12:46:20 Removing intermediate container 42dfad1c845d 12:46:20 ---> caff5574d4a5 12:46:20 Step 24/25 : LABEL git_sha=58f25e79d2b6358b9efe8a6c2db37bf44cd84193 12:46:20 ---> Running in 316c6e663542 12:46:21 Removing intermediate container 316c6e663542 12:46:21 ---> 432b1b50e5d7 12:46:21 Step 25/25 : LABEL version=0.0.0 12:46:21 ---> Running in cb09df04a4f9 12:46:21 Removing intermediate container cb09df04a4f9 12:46:21 ---> c8789b43bc78 12:46:21 [Warning] One or more build-args [ARCH] were not consumed 12:46:21 Successfully built c8789b43bc78 12:46:21 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] { 12:46:21 Merging remotes/origin/main commit 75585deb70bc80a1f521499c22e56c4d6cf5dcfe into PR head commit 58f25e79d2b6358b9efe8a6c2db37bf44cd84193 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 12:46:21 > git config remote.origin.url git@github.com:edgexfoundry/device-virtual-go.git # timeout=10 12:46:21 Fetching upstream changes from git@github.com:edgexfoundry/device-virtual-go.git 12:46:21 using GIT_SSH to set credentials SSH Credentials for GitHub 12:46:21 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-virtual-go.git +refs/pull/401/head:refs/remotes/origin/PR-401 +refs/heads/main:refs/remotes/origin/main # timeout=10 12:46:21 > git config core.sparsecheckout # timeout=10 12:46:21 > git checkout -f 58f25e79d2b6358b9efe8a6c2db37bf44cd84193 # timeout=10 12:46:21 > git remote # timeout=10 12:46:21 Merge succeeded, producing 58f25e79d2b6358b9efe8a6c2db37bf44cd84193 12:46:21 Checking out Revision 58f25e79d2b6358b9efe8a6c2db37bf44cd84193 (PR-401) 12:46:21 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 12:46:21 12:46:21 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 12:46:22 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 12:46:22 latest: Pulling from edgex-lftools-log-publisher 12:46:22 5eb5b503b376: Pulling fs layer 12:46:22 5c69ac0246d0: Pulling fs layer 12:46:22 ec43610c2a17: Pulling fs layer 12:46:22 3a2ae6a8a46f: Pulling fs layer 12:46:22 33b1e0a273af: Pulling fs layer 12:46:22 5d3b04190fa2: Pulling fs layer 12:46:22 2f39f015ded8: Pulling fs layer 12:46:22 33b1e0a273af: Waiting 12:46:22 5d3b04190fa2: Waiting 12:46:22 2f39f015ded8: Waiting 12:46:22 3a2ae6a8a46f: Waiting 12:46:22 5c69ac0246d0: Download complete 12:46:22 3a2ae6a8a46f: Verifying Checksum 12:46:22 3a2ae6a8a46f: Download complete 12:46:22 ec43610c2a17: Verifying Checksum 12:46:22 33b1e0a273af: Verifying Checksum 12:46:22 ec43610c2a17: Download complete 12:46:22 33b1e0a273af: Download complete 12:46:22 5d3b04190fa2: Verifying Checksum 12:46:22 5d3b04190fa2: Download complete 12:46:22 Commit message: "build(deps): Bump github.com/edgexfoundry/device-sdk-go/v3" 12:46:22 > git --version # timeout=10 12:46:22 > git --version # 'git version 2.25.1' 12:46:22 fatal: bad object 4fc256d9079ed2258907e613f84b1b8da264a4bd 12:46:22 5eb5b503b376: Verifying Checksum 12:46:22 5eb5b503b376: Download complete 12:46:22 12:46:22 GitHub has been notified of this commit’s build result 12:46:22 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) 12:46:23 2f39f015ded8: Download complete [Pipeline] script [Pipeline] { [Pipeline] sh 12:46:21 > git config --get remote.origin.url # timeout=10 12:46:21 using GIT_SSH to set credentials SSH Credentials for GitHub 12:46:21 > git merge 75585deb70bc80a1f521499c22e56c4d6cf5dcfe # timeout=10 12:46:21 > git rev-parse HEAD^{commit} # timeout=10 12:46:21 > git config core.sparsecheckout # timeout=10 12:46:21 > git checkout -f 58f25e79d2b6358b9efe8a6c2db37bf44cd84193 # timeout=10 12:46:23 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 12:46:23 % Total % Received % Xferd Average Speed Time Time Time Current 12:46:23 Dload Upload Total Spent Left Speed 12:46:23 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 98k 0 --:--:-- --:--:-- --:--:-- 98k 12:46:23 5eb5b503b376: Pull complete 12:46:23 5c69ac0246d0: Pull complete [Pipeline] sh 12:46:24 ec43610c2a17: Pull complete 12:46:24 3a2ae6a8a46f: Pull complete 12:46:24 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 12:46:24 33b1e0a273af: Pull complete 12:46:24 5d3b04190fa2: Pull complete 12:46:24 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 12:46:24 + sudo tee /etc/docker/daemon.new 12:46:24 { 12:46:24 "registry-mirrors": [ 12:46:24 "https://nexus3.edgexfoundry.org:10001" 12:46:24 ], 12:46:24 "bip": "10.250.0.254/24", 12:46:24 "hosts": [ 12:46:24 "tcp://0.0.0.0:5555", 12:46:24 "unix:///var/run/docker.sock" 12:46:24 ], 12:46:24 "mtu": 1458, 12:46:24 "selinux-enabled": true, 12:46:24 "seccomp-profile": "/etc/docker/seccomp.json" 12:46:24 } [Pipeline] sh 12:46:24 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 12:46:25 + sudo service docker restart 12:46:28 2f39f015ded8: Pull complete 12:46:28 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 12:46:28 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 12:46:28 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 12:46:28 prd-ubuntu20.04-docker-8c-8g-14668 does not seem to be running inside a container 12:46:28 $ 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-401 -v /w/workspace/foundry_device-virtual-go_PR-401:/w/workspace/foundry_device-virtual-go_PR-401:rw,z -v /w/workspace/foundry_device-virtual-go_PR-401@tmp:/w/workspace/foundry_device-virtual-go_PR-401@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 12:46:31 $ docker top c5fd4859662fd4a74b8ed53cb2692b5992ac6b21f84ab0470cf4868104f4386f -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 12:46:32 ---> job-cost.sh 12:46:32 lf-activate-venv: SKIPPING 12:46:32 INFO: No Stack... 12:46:32 INFO: Retrieving Pricing Info for: v3-standard-8 12:46:32 INFO: Archiving Costs [Pipeline] sh 12:46:33 + cat /w/workspace/foundry_device-virtual-go_PR-401/archives/cost.csv 12:46:33 + cut -d, -f6 [Pipeline] lock 12:46:33 Trying to acquire lock on [jenkins-edgexfoundry-device-virtual-go-PR-401-1-stack-cost] 12:46:33 Resource [jenkins-edgexfoundry-device-virtual-go-PR-401-1-stack-cost] did not exist. Created. 12:46:33 Lock acquired on [jenkins-edgexfoundry-device-virtual-go-PR-401-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 12:46:33 + echo total: 0.2199999988079071 [Pipeline] stash 12:46:33 Stashed 1 file(s) [Pipeline] } 12:46:33 Lock released on resource [jenkins-edgexfoundry-device-virtual-go-PR-401-1-stack-cost] [Pipeline] // lock [Pipeline] } 12:46:33 $ docker stop --time=1 c5fd4859662fd4a74b8ed53cb2692b5992ac6b21f84ab0470cf4868104f4386f 12:46:34 $ docker rm -f --volumes c5fd4859662fd4a74b8ed53cb2692b5992ac6b21f84ab0470cf4868104f4386f [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 12:46:43 provisioning config files... 12:46:43 copy managed file [device-virtual-go-settings] to file:/w/workspace/device-virtual-go/1@tmp/config6807266744100005816tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 12:46:44 ---> docker-login.sh 12:46:44 nexus3.edgexfoundry.org:10001 12:46:44 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 12:46:44 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 12:46:44 Configure a credential helper to remove this warning. See 12:46:44 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 12:46:44 12:46:44 Login Succeeded 12:46:44 nexus3.edgexfoundry.org:10002 12:46:44 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 12:46:44 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 12:46:44 Configure a credential helper to remove this warning. See 12:46:44 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 12:46:44 12:46:44 Login Succeeded 12:46:44 nexus3.edgexfoundry.org:10003 12:46:45 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 12:46:45 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 12:46:45 Configure a credential helper to remove this warning. See 12:46:45 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 12:46:45 12:46:45 Login Succeeded 12:46:45 nexus3.edgexfoundry.org:10004 12:46:45 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 12:46:45 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 12:46:45 Configure a credential helper to remove this warning. See 12:46:45 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 12:46:45 12:46:45 Login Succeeded 12:46:45 docker.io 12:46:45 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 12:46:46 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 12:46:46 Configure a credential helper to remove this warning. See 12:46:46 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 12:46:46 12:46:46 Login Succeeded 12:46:46 ---> docker-login.sh ends [Pipeline] } 12:46:46 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 12:46:46 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 12:46:46 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 12:46:46 ========================================================= 12:46:46 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine] 12:46:46 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 12:46:47 + docker build -t ci-base-image-arm64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine --build-arg MAKE=echo noop --target=builder . 12:46:47 Sending build context to Docker daemon 11.98MB 12:46:47 Step 1/12 : ARG BASE=golang:1.20-alpine3.17 12:46:47 Step 2/12 : FROM ${BASE} AS builder 12:46:47 1.20-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 12:46:47 c41833b44d91: Pulling fs layer 12:46:47 ed15518f5707: Pulling fs layer 12:46:47 feae8fd75edb: Pulling fs layer 12:46:47 242c74f7c9fa: Pulling fs layer 12:46:47 3cdef696dda3: Pulling fs layer 12:46:47 2ced38df9373: Pulling fs layer 12:46:47 58f1dce35555: Pulling fs layer 12:46:47 3cdef696dda3: Waiting 12:46:47 2ced38df9373: Waiting 12:46:47 58f1dce35555: Waiting 12:46:47 242c74f7c9fa: Waiting 12:46:47 ed15518f5707: Verifying Checksum 12:46:47 ed15518f5707: Download complete 12:46:47 242c74f7c9fa: Verifying Checksum 12:46:47 242c74f7c9fa: Download complete 12:46:47 3cdef696dda3: Verifying Checksum 12:46:47 3cdef696dda3: Download complete 12:46:47 c41833b44d91: Verifying Checksum 12:46:49 c41833b44d91: Pull complete 12:46:49 58f1dce35555: Verifying Checksum 12:46:49 58f1dce35555: Download complete 12:46:49 ed15518f5707: Pull complete 12:46:50 feae8fd75edb: Download complete 12:46:50 2ced38df9373: Verifying Checksum 12:46:50 2ced38df9373: Download complete 12:47:02 feae8fd75edb: Pull complete 12:47:02 242c74f7c9fa: Pull complete 12:47:02 3cdef696dda3: Pull complete 12:47:09 2ced38df9373: Pull complete 12:47:13 58f1dce35555: Pull complete 12:47:14 Digest: sha256:3b55595e96c696ae732e8cb20cde5b1ff7282a1fe1423a8de67617af8d15ea1e 12:47:14 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine 12:47:14 ---> fadd8f120f05 12:47:14 Step 3/12 : ARG ALPINE_PKG_BASE="make git openssh-client" 12:47:16 ---> Running in 8f49588bf88a 12:47:16 Removing intermediate container 8f49588bf88a 12:47:16 ---> 3a2d62237c02 12:47:16 Step 4/12 : ARG ALPINE_PKG_EXTRA="" 12:47:16 ---> Running in 3942e38404ed 12:47:16 Removing intermediate container 3942e38404ed 12:47:16 ---> f19c1bad4f64 12:47:16 Step 5/12 : ARG ADD_BUILD_TAGS="" 12:47:16 ---> Running in 1a89f6b04e06 12:47:16 Removing intermediate container 1a89f6b04e06 12:47:16 ---> 356c5fc8c2a6 12:47:16 Step 6/12 : WORKDIR /device-virtual-go 12:47:16 ---> Running in 87c18afea9b3 12:47:17 Removing intermediate container 87c18afea9b3 12:47:17 ---> 9c6ffbed5ac5 12:47:17 Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 12:47:17 ---> Running in 864a5bd35adf 12:47:18 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 12:47:18 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 12:47:19 (1/4) Installing openssh-keygen (9.1_p1-r2) 12:47:19 (2/4) Installing libedit (20221030.3.1-r0) 12:47:19 (3/4) Installing openssh-client-common (9.1_p1-r2) 12:47:19 (4/4) Installing openssh-client-default (9.1_p1-r2) 12:47:20 Executing busybox-1.35.0-r29.trigger 12:47:20 OK: 268 MiB in 57 packages 12:47:20 Removing intermediate container 864a5bd35adf 12:47:20 ---> bf243b2acae2 12:47:20 Step 8/12 : COPY go.mod vendor* ./ 12:47:21 ---> 4416658348b6 12:47:21 Step 9/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 12:47:21 ---> Running in 63579d9c3909 12:48:29 Removing intermediate container 63579d9c3909 12:48:29 ---> b9db2903c6d8 12:48:29 Step 10/12 : COPY . . 12:48:29 ---> 4ac9d5f9491f 12:48:29 Step 11/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 12:48:29 ---> Running in 7047914baaac 12:48:29 Removing intermediate container 7047914baaac 12:48:29 ---> cf3bfdb40c02 12:48:29 Step 12/12 : RUN $MAKE 12:48:29 ---> Running in f22d3cd29af1 12:48:29 noop 12:48:29 Removing intermediate container f22d3cd29af1 12:48:29 ---> 7404991bca9d 12:48:29 Successfully built 7404991bca9d 12:48:29 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 12:48:30 + docker inspect -f . ci-base-image-arm64 12:48:30 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 12:48:30 prd-ubuntu20.04-docker-arm64-4c-16g-14669 does not seem to be running inside a container 12:48:30 $ 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 12:48:31 $ docker top 2e039415534dfc7cb4a3e1445e08cf9293f216c7e43f2d07404d5f22c1b15da6 -eo pid,comm [Pipeline] { [Pipeline] sh 12:48:32 + go version 12:48:32 go version go1.20.2 linux/arm64 [Pipeline] } 12:48:32 $ docker stop --time=1 2e039415534dfc7cb4a3e1445e08cf9293f216c7e43f2d07404d5f22c1b15da6 12:48:36 $ docker rm -f --volumes 2e039415534dfc7cb4a3e1445e08cf9293f216c7e43f2d07404d5f22c1b15da6 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 12:48:37 + docker inspect -f . ci-base-image-arm64 12:48:37 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 12:48:38 prd-ubuntu20.04-docker-arm64-4c-16g-14669 does not seem to be running inside a container 12:48:38 $ 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 12:48:39 $ docker top 990b86c47244a5221cffe87caa8f31c76b5058433180fa000575d5f69c737c06 -eo pid,comm [Pipeline] { [Pipeline] sh 12:48:40 + git config --global --add safe.directory /w/workspace/device-virtual-go/1 [Pipeline] fileExists [Pipeline] sh 12:48:41 + make test 12:48:41 go test ./... -coverprofile=coverage.out 12:49:13 ? github.com/edgexfoundry/device-virtual-go [no test files] 12:51:04 ? github.com/edgexfoundry/device-virtual-go/cmd [no test files] 12:51:04 ok github.com/edgexfoundry/device-virtual-go/internal/driver 0.107s coverage: 58.4% of statements 12:51:04 WARNING: Linting skipped (not on x86_64 or linter not installed) 12:51:04 go vet ./... 12:51:31 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 12:51:31 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 12:51:31 ./bin/test-attribution-txt.sh [Pipeline] echo 12:51:31 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 12:51:31 $ docker stop --time=1 990b86c47244a5221cffe87caa8f31c76b5058433180fa000575d5f69c737c06 12:51:33 $ docker rm -f --volumes 990b86c47244a5221cffe87caa8f31c76b5058433180fa000575d5f69c737c06 [Pipeline] // withDockerContainer [Pipeline] sh 12:51:34 + sudo chown -R jenkins:jenkins . [Pipeline] stash 12:51:34 Warning: overwriting stash ‘coverage-report’ 12:51:35 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 12:51:35 + sudo chown -R jenkins:jenkins . [Pipeline] sh 12:51:36 + ls -al . 12:51:36 total 188 12:51:36 drwxrwxr-x 8 jenkins jenkins 4096 May 9 12:48 . 12:51:36 drwxrwxr-x 4 jenkins jenkins 4096 May 9 12:46 .. 12:51:36 drwxrwxr-x 8 jenkins jenkins 4096 May 9 12:46 .git 12:51:36 drwxrwxr-x 3 jenkins jenkins 4096 May 9 12:46 .github 12:51:36 -rw-rw-r-- 1 jenkins jenkins 337 May 9 12:46 .gitignore 12:51:36 -rw-rw-r-- 1 jenkins jenkins 41 May 9 12:46 .golangci.yml 12:51:36 -rw-rw-r-- 1 jenkins jenkins 8652 May 9 12:46 Attribution.txt 12:51:36 -rw-rw-r-- 1 jenkins jenkins 11367 May 9 12:46 CHANGELOG.md 12:51:36 -rw-rw-r-- 1 jenkins jenkins 1646 May 9 12:46 Dockerfile 12:51:36 -rw-rw-r-- 1 jenkins jenkins 677 May 9 12:46 GOVERNANCE.md 12:51:36 -rw-rw-r-- 1 jenkins jenkins 660 May 9 12:46 Jenkinsfile 12:51:36 -rw-rw-r-- 1 jenkins jenkins 11340 May 9 12:46 LICENSE 12:51:36 -rw-rw-r-- 1 jenkins jenkins 1696 May 9 12:46 Makefile 12:51:36 -rw-rw-r-- 1 jenkins jenkins 623 May 9 12:46 OWNERS.md 12:51:36 -rw-rw-r-- 1 jenkins jenkins 3578 May 9 12:46 README.md 12:51:36 -rw-rw-r-- 1 jenkins jenkins 5 May 9 12:44 VERSION 12:51:36 drwxrwxr-x 2 jenkins jenkins 4096 May 9 12:46 bin 12:51:36 drwxrwxr-x 3 jenkins jenkins 4096 May 9 12:46 cmd 12:51:36 -rw-r--r-- 1 jenkins jenkins 43063 May 9 12:51 coverage.out 12:51:36 -rw-rw-r-- 1 jenkins jenkins 3209 May 9 12:46 go.mod 12:51:36 -rw-rw-r-- 1 jenkins jenkins 30994 May 9 12:46 go.sum 12:51:36 drwxrwxr-x 3 jenkins jenkins 4096 May 9 12:46 internal 12:51:36 drwxrwxr-x 4 jenkins jenkins 4096 May 9 12:46 snap 12:51:36 -rw-rw-r-- 1 jenkins jenkins 235 May 9 12:46 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 12:51:36 + 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=58f25e79d2b6358b9efe8a6c2db37bf44cd84193 --label arch=arm64 --label version=0.0.0 . 12:51:36 Sending build context to Docker daemon 12.02MB 12:51:37 Step 1/25 : ARG BASE=golang:1.20-alpine3.17 12:51:37 Step 2/25 : FROM ${BASE} AS builder 12:51:37 ---> 7404991bca9d 12:51:37 Step 3/25 : ARG ALPINE_PKG_BASE="make git openssh-client" 12:51:37 ---> Running in b672678b36c1 12:51:37 Removing intermediate container b672678b36c1 12:51:37 ---> f066bdc885c5 12:51:37 Step 4/25 : ARG ALPINE_PKG_EXTRA="" 12:51:37 ---> Running in be0904b7dcbe 12:51:37 Removing intermediate container be0904b7dcbe 12:51:37 ---> 398dad6b6006 12:51:37 Step 5/25 : ARG ADD_BUILD_TAGS="" 12:51:37 ---> Running in b0c269b4bea6 12:51:38 Removing intermediate container b0c269b4bea6 12:51:38 ---> 2954d2b1cf1c 12:51:38 Step 6/25 : WORKDIR /device-virtual-go 12:51:38 ---> Running in 30dce43b3f49 12:51:38 Removing intermediate container 30dce43b3f49 12:51:38 ---> d7663f90f24f 12:51:38 Step 7/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 12:51:38 ---> Running in 85203fe98bd7 12:51:39 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 12:51:40 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 12:51:41 OK: 268 MiB in 57 packages 12:51:41 Removing intermediate container 85203fe98bd7 12:51:41 ---> 98ba3664b7b0 12:51:41 Step 8/25 : COPY go.mod vendor* ./ 12:51:42 ---> a6b91602b13d 12:51:42 Step 9/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 12:51:42 ---> Running in c2318604395d 12:51:45 Removing intermediate container c2318604395d 12:51:45 ---> 819bbe48719c 12:51:45 Step 10/25 : COPY . . 12:51:46 ---> 811929c6a449 12:51:46 Step 11/25 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 12:51:46 ---> Running in 62a8a726dde3 12:51:46 Removing intermediate container 62a8a726dde3 12:51:46 ---> 82c5864ffa91 12:51:46 Step 12/25 : RUN $MAKE 12:51:46 ---> Running in 50194c561e52 12:51:47 CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-virtual-go.Version=0.0.0" -trimpath -mod=readonly -o cmd/device-virtual ./cmd 12:53:54 Removing intermediate container 50194c561e52 12:53:54 ---> 575e74bc90db 12:53:54 Step 13/25 : FROM alpine:3.17 12:53:54 3.17: Pulling from library/alpine 12:53:54 c41833b44d91: Already exists 12:53:54 Digest: sha256:124c7d2707904eea7431fffe91522a01e5a861a624ee31d03372cc1d138a3126 12:53:54 Status: Downloaded newer image for alpine:3.17 12:53:54 ---> 51e60588ff2c 12:53:54 Step 14/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2021: IOTech' 12:53:54 ---> Running in fba0bd62de14 12:53:54 Removing intermediate container fba0bd62de14 12:53:54 ---> bbecd4dea92b 12:53:54 Step 15/25 : RUN apk add --update --no-cache dumb-init 12:53:54 ---> Running in 6b9da11f3beb 12:53:54 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 12:53:54 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 12:53:54 (1/1) Installing dumb-init (1.2.5-r2) 12:53:54 Executing busybox-1.35.0-r29.trigger 12:53:54 OK: 8 MiB in 16 packages 12:53:54 Removing intermediate container 6b9da11f3beb 12:53:54 ---> 9e8218d5afab 12:53:54 Step 16/25 : WORKDIR / 12:53:54 ---> Running in 4566a1b34cb3 12:53:54 Removing intermediate container 4566a1b34cb3 12:53:54 ---> 8ea7f819f5a7 12:53:54 Step 17/25 : COPY --from=builder /device-virtual-go/Attribution.txt / 12:53:54 ---> afd95d90a6bb 12:53:54 Step 18/25 : COPY --from=builder /device-virtual-go/LICENSE / 12:53:54 ---> c927693e6c1d 12:53:54 Step 19/25 : COPY --from=builder /device-virtual-go/cmd / 12:53:56 ---> a6139f496910 12:53:56 Step 20/25 : EXPOSE 59900 12:53:56 ---> Running in a269e52c11f0 12:53:56 Removing intermediate container a269e52c11f0 12:53:56 ---> f606044c2873 12:53:56 Step 21/25 : ENTRYPOINT ["/device-virtual"] 12:53:56 ---> Running in 3b09e122f9c5 12:53:56 Removing intermediate container 3b09e122f9c5 12:53:56 ---> 96111769cf49 12:53:56 Step 22/25 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry"] 12:53:57 ---> Running in 8fc9c3950d36 12:53:57 Removing intermediate container 8fc9c3950d36 12:53:57 ---> f2a3a5c2e597 12:53:57 Step 23/25 : LABEL arch=arm64 12:53:57 ---> Running in 9a7e329ec401 12:53:57 Removing intermediate container 9a7e329ec401 12:53:57 ---> 583a01c9af30 12:53:57 Step 24/25 : LABEL git_sha=58f25e79d2b6358b9efe8a6c2db37bf44cd84193 12:53:57 ---> Running in 69c6b5819811 12:53:58 Removing intermediate container 69c6b5819811 12:53:58 ---> b494e937e648 12:53:58 Step 25/25 : LABEL version=0.0.0 12:53:58 ---> Running in d30058af1488 12:53:58 Removing intermediate container d30058af1488 12:53:58 ---> 4c25cdf1efef 12:53:58 [Warning] One or more build-args [ARCH] were not consumed 12:53:58 Successfully built 4c25cdf1efef 12:53:58 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 12:53:59 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 12:53:59 12:53:59 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 12:53:59 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 12:54:00 arm64: Pulling from edgex-lftools-log-publisher 12:54:00 8998bd30e6a1: Pulling fs layer 12:54:00 04944245beec: Pulling fs layer 12:54:00 699f458cf7ca: Pulling fs layer 12:54:00 765212b225bb: Pulling fs layer 12:54:00 f23df028b6ca: Pulling fs layer 12:54:00 d65c8cfc05b1: Pulling fs layer 12:54:00 2437ff75d9bd: Pulling fs layer 12:54:00 765212b225bb: Waiting 12:54:00 f23df028b6ca: Waiting 12:54:00 d65c8cfc05b1: Waiting 12:54:00 2437ff75d9bd: Waiting 12:54:00 04944245beec: Verifying Checksum 12:54:00 04944245beec: Download complete 12:54:00 765212b225bb: Verifying Checksum 12:54:00 765212b225bb: Download complete 12:54:00 f23df028b6ca: Verifying Checksum 12:54:00 f23df028b6ca: Download complete 12:54:00 d65c8cfc05b1: Verifying Checksum 12:54:00 d65c8cfc05b1: Download complete 12:54:00 699f458cf7ca: Verifying Checksum 12:54:00 699f458cf7ca: Download complete 12:54:00 8998bd30e6a1: Verifying Checksum 12:54:00 8998bd30e6a1: Download complete 12:54:03 2437ff75d9bd: Verifying Checksum 12:54:03 2437ff75d9bd: Download complete 12:54:05 8998bd30e6a1: Pull complete 12:54:05 04944245beec: Pull complete 12:54:06 699f458cf7ca: Pull complete 12:54:06 765212b225bb: Pull complete 12:54:07 f23df028b6ca: Pull complete 12:54:07 d65c8cfc05b1: Pull complete 12:54:26 2437ff75d9bd: Pull complete 12:54:26 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 12:54:26 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 12:54:26 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 12:54:26 prd-ubuntu20.04-docker-arm64-4c-16g-14669 does not seem to be running inside a container 12:54:26 $ 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 12:54:29 $ docker top 46e90502124a153d5ba4cdd9c94007b3bdb1daec9157405085ba44843bfb2814 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 12:54:30 ---> job-cost.sh 12:54:30 lf-activate-venv: SKIPPING 12:54:30 INFO: No Stack... 12:54:30 INFO: Retrieving Pricing Info for: v3-standard-4 12:54:31 INFO: Archiving Costs [Pipeline] sh 12:54:31 + cat /w/workspace/device-virtual-go/1/archives/cost.csv 12:54:31 + cut -d, -f6 [Pipeline] lock 12:54:32 Trying to acquire lock on [jenkins-edgexfoundry-device-virtual-go-PR-401-1-stack-cost] 12:54:32 Resource [jenkins-edgexfoundry-device-virtual-go-PR-401-1-stack-cost] did not exist. Created. 12:54:32 Lock acquired on [jenkins-edgexfoundry-device-virtual-go-PR-401-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 12:54:32 /w/workspace/device-virtual-go/1@tmp/durable-d0a3f45b/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 12:54:33 + echo total: 0.10999999940395355 [Pipeline] stash 12:54:33 Warning: overwriting stash ‘stack-cost’ 12:54:33 Stashed 1 file(s) [Pipeline] } 12:54:33 Lock released on resource [jenkins-edgexfoundry-device-virtual-go-PR-401-1-stack-cost] [Pipeline] // lock [Pipeline] } 12:54:33 $ docker stop --time=1 46e90502124a153d5ba4cdd9c94007b3bdb1daec9157405085ba44843bfb2814 12:54:35 $ docker rm -f --volumes 46e90502124a153d5ba4cdd9c94007b3bdb1daec9157405085ba44843bfb2814 [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 12:54:36 provisioning config files... 12:54:36 copy managed file [device-virtual-go-codecov-token] to file:/w/workspace/foundry_device-virtual-go_PR-401@tmp/config8622516280873259509tmp [Pipeline] { [Pipeline] sh 12:54:36 + set +x 12:54:36 + curl -s https://codecov.io/bash 12:54:36 + bash -s -- 12:54:36 12:54:36 _____ _ 12:54:36 / ____| | | 12:54:36 | | ___ __| | ___ ___ _____ __ 12:54:36 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 12:54:36 | |___| (_) | (_| | __/ (_| (_) \ V / 12:54:36 \_____\___/ \__,_|\___|\___\___/ \_/ 12:54:36 Bash-1.0.6 12:54:36 12:54:36 12:54:36 ==> git version 2.25.1 found 12:54:36 ==> 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 12:54:36 Release-Date: 2020-01-08 12:54:36 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 12:54:36 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 12:54:36 ==> Jenkins CI detected. 12:54:36 current dir:  /w/workspace/foundry_device-virtual-go_PR-401 12:54:36 project root: . 12:54:36 --> token set from env 12:54:36 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 12:54:36 ==> Running gcov in . (disable via -X gcov) 12:54:36 ==> Python coveragepy not found 12:54:36 ==> Searching for coverage reports in: 12:54:36 + . 12:54:36 -> Found 1 reports 12:54:36 ==> Detecting git/mercurial file structure 12:54:36 ==> Reading reports 12:54:36 + ./coverage.out bytes=43063 12:54:36 ==> Appending adjustments 12:54:36 https://docs.codecov.io/docs/fixing-reports 12:54:36 + Found adjustments 12:54:36 ==> Gzipping contents 12:54:36 8.0K /tmp/codecov.krDsw7.gz 12:54:36 ==> Uploading reports 12:54:36 url: https://codecov.io 12:54:36 query: branch=PR-401&commit=58f25e79d2b6358b9efe8a6c2db37bf44cd84193&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-virtual-go%2Fjob%2FPR-401%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-virtual-go&service=jenkins&flags=&pr=401&job=&cmd_args= 12:54:36 -> Pinging Codecov 12:54:36 https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=a35e349c-7876-4d48-9269-e9fc36774240&branch=PR-401&commit=58f25e79d2b6358b9efe8a6c2db37bf44cd84193&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-virtual-go%2Fjob%2FPR-401%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-virtual-go&service=jenkins&flags=&pr=401&job=&cmd_args= 12:54:36 -> Uploading to 12:54:36 https://storage.googleapis.com/codecov/v4/raw/2023-05-09/5E52B4B073DB2E39498172D8E973AA87/58f25e79d2b6358b9efe8a6c2db37bf44cd84193/9ab0669e-3d2b-4696-a860-1fa0ce39f914.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20230509%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20230509T125436Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=7a3d514981df8d6b03233bd775af41a6f20817348ce20f139481b4dcfd7cd4e7 12:54:36 % Total % Received % Xferd Average Speed Time Time Time Current 12:54:36 Dload Upload Total Spent Left Speed 12:54:37 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 5184 0 0 100 5184 0 24923 --:--:-- --:--:-- --:--:-- 24923 12:54:37 -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-virtual-go/commit/58f25e79d2b6358b9efe8a6c2db37bf44cd84193 [Pipeline] } 12:54:37 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 12:54:39 + [ -d /w/workspace/foundry_device-virtual-go_PR-401/archives ] 12:54:39 + ls -al /w/workspace/foundry_device-virtual-go_PR-401/archives 12:54:39 total 16 12:54:39 drwxr-xr-x 3 root root 4096 May 9 12:46 . 12:54:39 drwxrwxr-x 10 jenkins jenkins 4096 May 9 12:46 .. 12:54:39 drwxr-xr-x 2 root root 4096 May 9 12:46 cost 12:54:39 -rw-r--r-- 1 root root 89 May 9 12:46 cost.csv 12:54:39 + sudo chown -R jenkins:jenkins /w/workspace/foundry_device-virtual-go_PR-401/archives 12:54:39 + ls -al /w/workspace/foundry_device-virtual-go_PR-401/archives 12:54:39 total 16 12:54:39 drwxr-xr-x 3 jenkins jenkins 4096 May 9 12:46 . 12:54:39 drwxrwxr-x 10 jenkins jenkins 4096 May 9 12:46 .. 12:54:39 drwxr-xr-x 2 jenkins jenkins 4096 May 9 12:46 cost 12:54:39 -rw-r--r-- 1 jenkins jenkins 89 May 9 12:46 cost.csv [Pipeline] libraryResource [Pipeline] sh 12:54:39 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 12:54:40 ---> package-listing.sh 12:54:40 ++ facter osfamily 12:54:40 ++ tr '[:upper:]' '[:lower:]' 12:54:40 + OS_FAMILY=debian 12:54:40 + workspace=/w/workspace/foundry_device-virtual-go_PR-401 12:54:40 + START_PACKAGES=/tmp/packages_start.txt 12:54:40 + END_PACKAGES=/tmp/packages_end.txt 12:54:40 + DIFF_PACKAGES=/tmp/packages_diff.txt 12:54:40 + PACKAGES=/tmp/packages_start.txt 12:54:40 + '[' /w/workspace/foundry_device-virtual-go_PR-401 ']' 12:54:40 + PACKAGES=/tmp/packages_end.txt 12:54:40 + case "${OS_FAMILY}" in 12:54:40 + grep '^ii' 12:54:40 + dpkg -l 12:54:40 + '[' -f /tmp/packages_start.txt ']' 12:54:40 + '[' -f /tmp/packages_end.txt ']' 12:54:40 + diff /tmp/packages_start.txt /tmp/packages_end.txt 12:54:40 + '[' /w/workspace/foundry_device-virtual-go_PR-401 ']' 12:54:40 + mkdir -p /w/workspace/foundry_device-virtual-go_PR-401/archives/ 12:54:40 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/foundry_device-virtual-go_PR-401/archives/ [Pipeline] echo 12:54:40 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-401/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 12:54:40 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 12:54:41 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 12:54:41 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 12:54:41 prd-ubuntu20.04-docker-8c-8g-14668 does not seem to be running inside a container 12:54:41 $ 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-401/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-401 -v /w/workspace/foundry_device-virtual-go_PR-401:/w/workspace/foundry_device-virtual-go_PR-401:rw,z -v /w/workspace/foundry_device-virtual-go_PR-401@tmp:/w/workspace/foundry_device-virtual-go_PR-401@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 12:54:41 $ docker top f9b420445bca0e25f25f06d2de01f11a67ad19198a37432020f2fb99ddcf33db -eo pid,comm [Pipeline] { [Pipeline] sh 12:54:42 + touch /tmp/pre-build-complete [Pipeline] sh 12:54:42 + mkdir -p /var/log/sysstat [Pipeline] sh 12:54:42 + ls /var/log/sa-host 12:54:42 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 12:54:43 provisioning config files... 12:54:43 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/foundry_device-virtual-go_PR-401@tmp/config18428583267555594481tmp [Pipeline] { [Pipeline] echo 12:54:43 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 12:54:43 ---> create-netrc.sh [Pipeline] } 12:54:43 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 12:54:43 ---> python-tools-install.sh [Pipeline] echo 12:54:43 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 12:54:44 ---> sudo-logs.sh 12:54:44 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 12:54:44 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 12:54:44 ---> job-cost.sh 12:54:44 lf-activate-venv: SKIPPING 12:54:44 DEBUG: total: 0.2199999988079071 12:54:44 INFO: Retrieving Stack Cost... 12:54:45 INFO: Retrieving Pricing Info for: v3-standard-8 12:54:45 INFO: Archiving Costs [Pipeline] echo 12:54:45 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 12:54:45 ---> logs-deploy.sh 12:54:45 lf-activate-venv: SKIPPING 12:54:45 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-virtual-go/PR-401/1 12:54:45 INFO: archiving workspace using pattern(s): 12:54:46 Archives upload complete. 12:54:46 INFO: archiving logs to Nexus