Pull request #436 opened Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from a50d2f36104ea53a6a5e95396f12dec983aaad3c+8b8e1bf2b9e06380082507a2409f4790e8b740fe (284f9d9414e51d5fa9aac825ccec47825b59ff5b) 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-ssh13923193242261317538.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision e143027787c0ac28563f7e92b6cefc600d3b7107 Resolving tag commit... (remote references may be a lightweight tag or an annotated tag) > git rev-parse --resolve-git-dir /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f/.git # timeout=10 Setting origin to git@github.com:edgexfoundry/edgex-global-pipelines.git > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching origin... Fetching upstream changes from origin > git --version # timeout=10 > git --version # 'git version 2.16.6' > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f@tmp/jenkins-gitclient-ssh4793165847151387192.key > git fetch --tags --progress -- origin +refs/heads/*:refs/remotes/origin/* # timeout=10 > git rev-parse refs/tags/stable^{commit} # timeout=10 Resolved tag stable revision e143027787c0ac28563f7e92b6cefc600d3b7107 The recommended git tool is: git using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning with configured refspecs honoured and with tags Cloning repository git@github.com:edgexfoundry/edgex-global-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/device-virtual-go/branches/PR-436/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-436/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh2763937338414621358.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-436/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh5803925664151456873.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision e143027787c0ac28563f7e92b6cefc600d3b7107 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f e143027787c0ac28563f7e92b6cefc600d3b7107 # timeout=10 Commit message: "Merge pull request #442 from ernestojeda/golang-1.21" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 > git --version # timeout=10 > git --version # 'git version 2.16.6' Excluding src/test/ from checkout of git git@github.com:edgexfoundry/edgex-global-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. Loading library lf-pipelines@master Attempting to resolve master from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /tmp/jenkins-gitclient-ssh11322619664047420216.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-436/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-436/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh13417169770625813479.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 Avoid second fetch Checking out Revision 65355178549468b165f8106641c96c3190b1d843 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 65355178549468b165f8106641c96c3190b1d843 # timeout=10 Commit message: "Fix: Add S3 URL in href to ship logs" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 > git --version # timeout=10 > git --version # 'git version 2.16.6' fatal: bad object e143027787c0ac28563f7e92b6cefc600d3b7107 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-virtual-go] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[ubuntu20.04-docker-8c-8g, ubuntu20.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-virtual-go-settings PROJECT: device-virtual-go USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.21 USE_ALPINE: true DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-virtual DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: false SWAGGER_API_FOLDERS: openapi/v1 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org SNYK_DEBUG: false [Pipeline] node Still waiting to schedule task All nodes of label ‘ubuntu20.04-docker-8c-8g’ are offline Running on prd-ubuntu20.04-docker-8c-8g-8468 in /w/workspace/foundry_device-virtual-go_PR-436 [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-436 # 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/436/head:refs/remotes/origin/PR-436 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit 8b8e1bf2b9e06380082507a2409f4790e8b740fe into PR head commit a50d2f36104ea53a6a5e95396f12dec983aaad3c Merge succeeded, producing a50d2f36104ea53a6a5e95396f12dec983aaad3c Checking out Revision a50d2f36104ea53a6a5e95396f12dec983aaad3c (PR-436) Commit message: "build(deps): Bump github.com/edgexfoundry/device-sdk-go/v3" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.25.1' fatal: bad object e143027787c0ac28563f7e92b6cefc600d3b7107 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { > git config core.sparsecheckout # timeout=10 > git checkout -f a50d2f36104ea53a6a5e95396f12dec983aaad3c # 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 8b8e1bf2b9e06380082507a2409f4790e8b740fe # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f a50d2f36104ea53a6a5e95396f12dec983aaad3c # timeout=10 [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 11:09:53 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 11:09:53 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 11:09:53 ========================================================= 11:09:53 EdgeX Global Pipelines Version Info 11:09:53 ========================================================= [Pipeline] libraryResource [Pipeline] sh 11:09:54 ------------------- 11:09:54 stable info: 11:09:54 ------------------- 11:09:54 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 11:09:54 Commit SHA: e143027787c0ac28563f7e92b6cefc600d3b7107 11:09:54 Message: update stable to v1.0.254 11:09:54 ------------------- 11:09:54 experimental info: 11:09:54 ------------------- 11:09:54 Commited By: **** collab-it+edgex@linuxfoundation.org 11:09:54 Commit SHA: e143027787c0ac28563f7e92b6cefc600d3b7107 11:09:54 Message: update experimental to v1.0.254 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 11:09:55 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-virtual-go-settings [Pipeline] echo 11:09:55 [edgeXSetupEnvironment]: set envvar PROJECT = device-virtual-go [Pipeline] echo 11:09:55 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 11:09:55 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 11:09:55 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 11:09:55 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.21 [Pipeline] echo 11:09:55 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 11:09:55 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 11:09:55 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 11:09:55 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 11:09:55 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 11:09:55 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-virtual [Pipeline] echo 11:09:55 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 11:09:55 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 11:09:55 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 11:09:55 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 11:09:55 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 11:09:55 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 11:09:56 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 11:09:56 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 11:09:56 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 11:09:56 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 11:09:56 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 11:09:56 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 11:09:56 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 11:09:56 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 11:09:56 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 11:09:56 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-436 [Pipeline] echo 11:09:56 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-436 [Pipeline] echo 11:09:56 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-436 [Pipeline] echo 11:09:56 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = a50d2f36104ea53a6a5e95396f12dec983aaad3c [Pipeline] echo 11:09:56 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = a50d2f3 [Pipeline] echo 11:09:56 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 11:09:56 provisioning config files... 11:09:56 copy managed file [device-virtual-go-settings] to file:/w/workspace/foundry_device-virtual-go_PR-436@tmp/config8953572304741266493tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 11:09:57 ---> docker-login.sh 11:09:57 nexus3.edgexfoundry.org:10001 11:09:57 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 11:09:57 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 11:09:57 Configure a credential helper to remove this warning. See 11:09:57 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 11:09:57 11:09:57 Login Succeeded 11:09:57 nexus3.edgexfoundry.org:10002 11:09:57 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 11:09:57 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 11:09:57 Configure a credential helper to remove this warning. See 11:09:57 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 11:09:57 11:09:57 Login Succeeded 11:09:57 nexus3.edgexfoundry.org:10003 11:09:57 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 11:09:57 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 11:09:57 Configure a credential helper to remove this warning. See 11:09:57 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 11:09:57 11:09:57 Login Succeeded 11:09:57 nexus3.edgexfoundry.org:10004 11:09:58 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 11:09:58 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 11:09:58 Configure a credential helper to remove this warning. See 11:09:58 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 11:09:58 11:09:58 Login Succeeded 11:09:58 docker.io 11:09:58 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 11:09:58 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 11:09:58 Configure a credential helper to remove this warning. See 11:09:58 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 11:09:58 11:09:58 Login Succeeded 11:09:58 ---> docker-login.sh ends [Pipeline] } 11:09:58 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 11:09:59 + git rev-list -1 --merges a50d2f36104ea53a6a5e95396f12dec983aaad3c~1..a50d2f36104ea53a6a5e95396f12dec983aaad3c [Pipeline] echo 11:09:59 -----------> git rev-list -1 --merges a50d2f36104ea53a6a5e95396f12dec983aaad3c~1..a50d2f36104ea53a6a5e95396f12dec983aaad3c a50d2f36104ea53a6a5e95396f12dec983aaad3c [false] [Pipeline] sh 11:10:00 + git log --format=format:%s -1 a50d2f36104ea53a6a5e95396f12dec983aaad3c [Pipeline] echo 11:10:00 ========================================================= 11:10:00 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 11:10:00 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 11:10:00 + git log --format=format:%s -1 a50d2f36104ea53a6a5e95396f12dec983aaad3c [Pipeline] echo 11:10:00 [semverPrep] GIT_COMMIT: a50d2f36104ea53a6a5e95396f12dec983aaad3c, Commit Message: build(deps): Bump github.com/edgexfoundry/device-sdk-go/v3 [Pipeline] echo 11:10:00 [semverPrep] This is not a build commit. [Pipeline] sh 11:10:00 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 11:10:00 + grep -v github /etc/ssh/ssh_known_hosts 11:10:00 + [ -e /tmp/ssh_known_hosts ] 11:10:00 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 11:10:00 + + echosudo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= tee 11:10:00 -a /etc/ssh/ssh_known_hosts 11:10:00 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 11:10:01 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 11:10:01 11:10:01 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 11:10:01 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 11:10:02 0.1.4: Pulling from edgex-devops/py-git-semver 11:10:02 b85a868b505f: Pulling fs layer 11:10:02 e2be974225ed: Pulling fs layer 11:10:02 339a4e72a1f5: Pulling fs layer 11:10:02 988bab9f4d93: Pulling fs layer 11:10:02 1469e6f7b9e6: Pulling fs layer 11:10:02 eaf3925da568: Pulling fs layer 11:10:02 bab4dde63d76: Pulling fs layer 11:10:02 bde34c3a00c8: Pulling fs layer 11:10:02 b352a97aabf1: Pulling fs layer 11:10:02 4872d77fe225: Pulling fs layer 11:10:02 5851b861e8e6: Pulling fs layer 11:10:02 988bab9f4d93: Waiting 11:10:02 bab4dde63d76: Waiting 11:10:02 4872d77fe225: Waiting 11:10:02 bde34c3a00c8: Waiting 11:10:02 5851b861e8e6: Waiting 11:10:02 1469e6f7b9e6: Waiting 11:10:02 b352a97aabf1: Waiting 11:10:02 eaf3925da568: Waiting 11:10:02 e2be974225ed: Verifying Checksum 11:10:02 e2be974225ed: Download complete 11:10:02 988bab9f4d93: Verifying Checksum 11:10:02 988bab9f4d93: Download complete 11:10:02 339a4e72a1f5: Verifying Checksum 11:10:02 339a4e72a1f5: Download complete 11:10:02 eaf3925da568: Verifying Checksum 11:10:02 eaf3925da568: Download complete 11:10:02 1469e6f7b9e6: Verifying Checksum 11:10:02 1469e6f7b9e6: Download complete 11:10:02 bde34c3a00c8: Download complete 11:10:02 b352a97aabf1: Verifying Checksum 11:10:02 b352a97aabf1: Download complete 11:10:02 4872d77fe225: Verifying Checksum 11:10:02 4872d77fe225: Download complete 11:10:02 5851b861e8e6: Verifying Checksum 11:10:02 5851b861e8e6: Download complete 11:10:02 b85a868b505f: Verifying Checksum 11:10:02 b85a868b505f: Download complete 11:10:02 bab4dde63d76: Verifying Checksum 11:10:02 bab4dde63d76: Download complete 11:10:03 b85a868b505f: Pull complete 11:10:04 e2be974225ed: Pull complete 11:10:04 339a4e72a1f5: Pull complete 11:10:05 988bab9f4d93: Pull complete 11:10:05 1469e6f7b9e6: Pull complete 11:10:05 eaf3925da568: Pull complete 11:10:08 bab4dde63d76: Pull complete 11:10:08 bde34c3a00c8: Pull complete 11:10:08 b352a97aabf1: Pull complete 11:10:09 4872d77fe225: Pull complete 11:10:09 5851b861e8e6: Pull complete 11:10:09 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 11:10:09 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 11:10:09 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 11:10:10 prd-ubuntu20.04-docker-8c-8g-8468 does not seem to be running inside a container 11:10:10 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/foundry_device-virtual-go_PR-436 -v /w/workspace/foundry_device-virtual-go_PR-436:/w/workspace/foundry_device-virtual-go_PR-436:rw,z -v /w/workspace/foundry_device-virtual-go_PR-436@tmp:/w/workspace/foundry_device-virtual-go_PR-436@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 ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 11:10:14 $ docker top 996d0a8810f912f1740d8b3f338d8d81c6b16ba249a3eadbdfa056301bc69745 -eo pid,comm 11:10:14 ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). 11:10:14 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 11:10:15 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 11:10:15 [ssh-agent] Looking for ssh-agent implementation... 11:10:15 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 11:10:15 $ docker exec 996d0a8810f912f1740d8b3f338d8d81c6b16ba249a3eadbdfa056301bc69745 ssh-agent 11:10:15 SSH_AUTH_SOCK=/tmp/ssh-Bexgs5SslFSu/agent.32 11:10:15 SSH_AGENT_PID=38 11:10:15 Running ssh-add (command line suppressed) 11:10:15 Identity added: /w/workspace/foundry_device-virtual-go_PR-436@tmp/private_key_4037568776172171545.key (/w/workspace/foundry_device-virtual-go_PR-436@tmp/private_key_4037568776172171545.key) 11:10:15 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 11:10:15 + git tag --points-at HEAD [Pipeline] } 11:10:15 $ docker exec --env ******** --env ******** 996d0a8810f912f1740d8b3f338d8d81c6b16ba249a3eadbdfa056301bc69745 ssh-agent -k 11:10:15 unset SSH_AUTH_SOCK; 11:10:15 unset SSH_AGENT_PID; 11:10:15 echo Agent pid 38 killed; 11:10:15 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 11:10:16 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 11:10:16 [ssh-agent] Looking for ssh-agent implementation... 11:10:16 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 11:10:16 $ docker exec 996d0a8810f912f1740d8b3f338d8d81c6b16ba249a3eadbdfa056301bc69745 ssh-agent 11:10:16 SSH_AUTH_SOCK=/tmp/ssh-LOKAboCGhS7E/agent.70 11:10:16 SSH_AGENT_PID=76 11:10:16 Running ssh-add (command line suppressed) 11:10:16 Identity added: /w/workspace/foundry_device-virtual-go_PR-436@tmp/private_key_14189319127249695769.key (/w/workspace/foundry_device-virtual-go_PR-436@tmp/private_key_14189319127249695769.key) 11:10:16 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 11:10:16 + git semver init 11:10:16 2023-10-04 11:10:16,900 [run_init] DEBUG init version:0.0.0 force:False 11:10:16 2023-10-04 11:10:16,901 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/foundry_device-virtual-go_PR-436/.semver 11:10:16 2023-10-04 11:10:16,901 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-virtual-go.git /w/workspace/foundry_device-virtual-go_PR-436/.semver 11:10:16 2023-10-04 11:10:16,902 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-virtual-go.git', '/w/workspace/foundry_device-virtual-go_PR-436/.semver'], cwd=/w/workspace/foundry_device-virtual-go_PR-436, universal_newlines=False, shell=None, istream=None) 11:10:18 2023-10-04 11:10:18,103 [append_file] DEBUG append to file:/w/workspace/foundry_device-virtual-go_PR-436/.git/info/exclude 11:10:18 2023-10-04 11:10:18,104 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/foundry_device-virtual-go_PR-436/.semver/PR-436 with force:False 11:10:18 2023-10-04 11:10:18,104 [write_file] DEBUG write to file:/w/workspace/foundry_device-virtual-go_PR-436/.semver/PR-436 11:10:18 2023-10-04 11:10:18,109 [execute] INFO git cat-file --batch-check 11:10:18 2023-10-04 11:10:18,109 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/foundry_device-virtual-go_PR-436/.semver, universal_newlines=False, shell=None, istream=) 11:10:18 2023-10-04 11:10:18,115 [execute] INFO git cat-file --batch 11:10:18 2023-10-04 11:10:18,116 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/foundry_device-virtual-go_PR-436/.semver, universal_newlines=False, shell=None, istream=) 11:10:18 2023-10-04 11:10:18,121 [read_version] DEBUG read version from /w/workspace/foundry_device-virtual-go_PR-436/.semver/PR-436 11:10:18 0.0.0 [Pipeline] } 11:10:18 $ docker exec --env ******** --env ******** 996d0a8810f912f1740d8b3f338d8d81c6b16ba249a3eadbdfa056301bc69745 ssh-agent -k 11:10:18 unset SSH_AUTH_SOCK; 11:10:18 unset SSH_AGENT_PID; 11:10:18 echo Agent pid 76 killed; 11:10:18 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 11:10:18 + git semver [Pipeline] } 11:10:19 $ docker stop --time=1 996d0a8810f912f1740d8b3f338d8d81c6b16ba249a3eadbdfa056301bc69745 11:10:20 $ docker rm -f --volumes 996d0a8810f912f1740d8b3f338d8d81c6b16ba249a3eadbdfa056301bc69745 [Pipeline] // withDockerContainer [Pipeline] sh 11:10:20 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 11:10:21 Stashed 1 file(s) [Pipeline] echo 11:10:21 [edgeXSemver]: initialized semver on version 0.0.0 [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] parallel [Pipeline] { (Branch: amd64) [Pipeline] { (Branch: arm64) [Pipeline] stage [Pipeline] { (amd64) [Pipeline] stage [Pipeline] { (arm64) [Pipeline] withEnv [Pipeline] { [Pipeline] node [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 11:10:21 provisioning config files... 11:10:21 copy managed file [device-virtual-go-settings] to file:/w/workspace/foundry_device-virtual-go_PR-436@tmp/config8763239677180241510tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 11:10:22 ---> docker-login.sh 11:10:22 nexus3.edgexfoundry.org:10001 11:10:22 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 11:10:22 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 11:10:22 Configure a credential helper to remove this warning. See 11:10:22 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 11:10:22 11:10:22 Login Succeeded 11:10:22 nexus3.edgexfoundry.org:10002 11:10:22 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 11:10:22 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 11:10:22 Configure a credential helper to remove this warning. See 11:10:22 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 11:10:22 11:10:22 Login Succeeded 11:10:22 nexus3.edgexfoundry.org:10003 11:10:22 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 11:10:22 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 11:10:22 Configure a credential helper to remove this warning. See 11:10:22 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 11:10:22 11:10:22 Login Succeeded 11:10:22 nexus3.edgexfoundry.org:10004 11:10:22 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 11:10:22 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 11:10:22 Configure a credential helper to remove this warning. See 11:10:22 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 11:10:22 11:10:22 Login Succeeded 11:10:22 docker.io 11:10:22 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 11:10:23 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 11:10:23 Configure a credential helper to remove this warning. See 11:10:23 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 11:10:23 11:10:23 Login Succeeded 11:10:23 ---> docker-login.sh ends [Pipeline] } 11:10:23 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 11:10:23 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 11:10:23 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 11:10:23 ========================================================= 11:10:23 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine] 11:10:23 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 11:10:24 + docker build -t ci-base-image-x86_64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine --build-arg MAKE=echo noop --target=builder . 11:10:24 Sending build context to Docker daemon 23.67MB 11:10:24 Step 1/12 : ARG BASE=golang:1.21-alpine3.18 11:10:24 Step 2/12 : FROM ${BASE} AS builder 11:10:24 1.21-alpine: Pulling from edgex-devops/edgex-golang-base 11:10:24 7264a8db6415: Pulling fs layer 11:10:24 c4d48a809fc2: Pulling fs layer 11:10:24 4f1c88b9dad5: Pulling fs layer 11:10:24 ad3a456e5733: Pulling fs layer 11:10:24 33e27b845d1e: Pulling fs layer 11:10:24 c68163c4e522: Pulling fs layer 11:10:24 50da416c3ac9: Pulling fs layer 11:10:24 23d2d4c4bb30: Pulling fs layer 11:10:24 50da416c3ac9: Waiting 11:10:24 23d2d4c4bb30: Waiting 11:10:24 ad3a456e5733: Waiting 11:10:24 33e27b845d1e: Waiting 11:10:24 c68163c4e522: Waiting 11:10:24 ad3a456e5733: Download complete 11:10:24 33e27b845d1e: Verifying Checksum 11:10:24 33e27b845d1e: Download complete 11:10:24 7264a8db6415: Verifying Checksum 11:10:24 7264a8db6415: Download complete 11:10:24 c68163c4e522: Verifying Checksum 11:10:24 c68163c4e522: Download complete 11:10:24 7264a8db6415: Pull complete 11:10:24 23d2d4c4bb30: Verifying Checksum 11:10:24 23d2d4c4bb30: Download complete 11:10:24 c4d48a809fc2: Pull complete 11:10:25 4f1c88b9dad5: Verifying Checksum 11:10:25 4f1c88b9dad5: Download complete 11:10:25 50da416c3ac9: Verifying Checksum 11:10:25 50da416c3ac9: Download complete 11:10:27 4f1c88b9dad5: Pull complete 11:10:27 ad3a456e5733: Pull complete 11:10:28 33e27b845d1e: Pull complete 11:10:28 c68163c4e522: Pull complete 11:10:30 50da416c3ac9: Pull complete 11:10:31 23d2d4c4bb30: Pull complete 11:10:31 Digest: sha256:869f8081a9cc57a47d9be3c92245bb8518e7edea9beab93563b77b0fbed5fa8c 11:10:31 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine 11:10:31 ---> 0786185ac409 11:10:31 Step 3/12 : ARG ALPINE_PKG_BASE="make git openssh-client" 11:10:36 Still waiting to schedule task 11:10:36 All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline 11:10:36 ---> Running in 198d5dc1a80e 11:10:37 Removing intermediate container 198d5dc1a80e 11:10:37 ---> d922fb04f650 11:10:37 Step 4/12 : ARG ALPINE_PKG_EXTRA="" 11:10:37 ---> Running in a201e3e36934 11:10:37 Removing intermediate container a201e3e36934 11:10:37 ---> ffc2b66e79f0 11:10:37 Step 5/12 : ARG ADD_BUILD_TAGS="" 11:10:37 ---> Running in a4d0bf6649d9 11:10:37 Removing intermediate container a4d0bf6649d9 11:10:37 ---> 50372b44605e 11:10:37 Step 6/12 : WORKDIR /device-virtual-go 11:10:37 ---> Running in 202dbae245e8 11:10:37 Removing intermediate container 202dbae245e8 11:10:37 ---> 30a735b94e43 11:10:37 Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 11:10:37 ---> Running in 4ca3c261dc52 11:10:38 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 11:10:38 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 11:10:38 (1/4) Installing openssh-keygen (9.3_p2-r0) 11:10:38 (2/4) Installing libedit (20221030.3.1-r1) 11:10:38 (3/4) Installing openssh-client-common (9.3_p2-r0) 11:10:38 (4/4) Installing openssh-client-default (9.3_p2-r0) 11:10:38 Executing busybox-1.36.1-r2.trigger 11:10:38 OK: 268 MiB in 56 packages 11:10:39 Removing intermediate container 4ca3c261dc52 11:10:39 ---> 375aadbe6002 11:10:39 Step 8/12 : COPY go.mod vendor* ./ 11:10:39 ---> 9228b9caa140 11:10:39 Step 9/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 11:10:39 ---> Running in 049978c8b598 11:11:37 Removing intermediate container 049978c8b598 11:11:37 ---> 7a5b0f8c4e9e 11:11:37 Step 10/12 : COPY . . 11:11:37 ---> 2220393a330e 11:11:37 Step 11/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 11:11:37 ---> Running in 32a930dcc63f 11:11:37 Removing intermediate container 32a930dcc63f 11:11:37 ---> b1255898b5dc 11:11:37 Step 12/12 : RUN $MAKE 11:11:37 ---> Running in b1c840d9352c 11:11:37 noop 11:11:37 Removing intermediate container b1c840d9352c 11:11:37 ---> 82497d8ba147 11:11:37 Successfully built 82497d8ba147 11:11:37 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 11:11:38 + docker inspect -f . ci-base-image-x86_64 11:11:38 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 11:11:38 prd-ubuntu20.04-docker-8c-8g-8468 does not seem to be running inside a container 11:11:38 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/foundry_device-virtual-go_PR-436 -v /w/workspace/foundry_device-virtual-go_PR-436:/w/workspace/foundry_device-virtual-go_PR-436:rw,z -v /w/workspace/foundry_device-virtual-go_PR-436@tmp:/w/workspace/foundry_device-virtual-go_PR-436@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-x86_64 cat 11:11:38 $ docker top 615612b17b192cdf7c01cbd720bc50469d908f23ef38d073370573067cf8916f -eo pid,comm [Pipeline] { [Pipeline] sh 11:11:39 + go version 11:11:39 go version go1.21.0 linux/amd64 [Pipeline] } 11:11:39 $ docker stop --time=1 615612b17b192cdf7c01cbd720bc50469d908f23ef38d073370573067cf8916f 11:11:40 $ docker rm -f --volumes 615612b17b192cdf7c01cbd720bc50469d908f23ef38d073370573067cf8916f [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 11:11:41 + docker inspect -f . ci-base-image-x86_64 11:11:41 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 11:11:41 prd-ubuntu20.04-docker-8c-8g-8468 does not seem to be running inside a container 11:11:41 $ 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-436 -v /w/workspace/foundry_device-virtual-go_PR-436:/w/workspace/foundry_device-virtual-go_PR-436:rw,z -v /w/workspace/foundry_device-virtual-go_PR-436@tmp:/w/workspace/foundry_device-virtual-go_PR-436@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-x86_64 cat 11:11:41 $ docker top 0df3e9eba26d17771f8efde198b78ecd2371c49ca53f0c3f9758cc7dd67039ce -eo pid,comm [Pipeline] { [Pipeline] sh 11:11:42 + git config --global --add safe.directory /w/workspace/foundry_device-virtual-go_PR-436 [Pipeline] fileExists [Pipeline] sh 11:11:42 + make test 11:11:42 go test ./... -coverprofile=coverage.out 11:11:44 ? github.com/edgexfoundry/device-virtual-go [no test files] 11:11:54 ? github.com/edgexfoundry/device-virtual-go/cmd [no test files] 11:11:54 ok github.com/edgexfoundry/device-virtual-go/internal/driver 0.018s coverage: 58.6% of statements 11:11:59 go vet ./... 11:12:02 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 11:12:02 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 11:12:02 ./bin/test-attribution-txt.sh [Pipeline] echo 11:12:02 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 11:12:02 $ docker stop --time=1 0df3e9eba26d17771f8efde198b78ecd2371c49ca53f0c3f9758cc7dd67039ce 11:12:05 $ docker rm -f --volumes 0df3e9eba26d17771f8efde198b78ecd2371c49ca53f0c3f9758cc7dd67039ce [Pipeline] // withDockerContainer [Pipeline] sh 11:12:05 + sudo chown -R jenkins:jenkins . [Pipeline] stash 11:12:06 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 11:12:06 + sudo chown -R jenkins:jenkins . [Pipeline] sh 11:12:07 + ls -al . 11:12:07 total 204 11:12:07 drwxrwxr-x 9 jenkins jenkins 4096 Oct 4 11:11 . 11:12:07 drwxrwxr-x 4 jenkins jenkins 4096 Oct 4 11:09 .. 11:12:07 drwxrwxr-x 8 jenkins jenkins 4096 Oct 4 11:11 .git 11:12:07 drwxrwxr-x 3 jenkins jenkins 4096 Oct 4 11:09 .github 11:12:07 -rw-rw-r-- 1 jenkins jenkins 337 Oct 4 11:09 .gitignore 11:12:07 -rw-rw-r-- 1 jenkins jenkins 41 Oct 4 11:09 .golangci.yml 11:12:07 drwxr-xr-x 3 jenkins jenkins 4096 Oct 4 11:10 .semver 11:12:07 -rw-rw-r-- 1 jenkins jenkins 9708 Oct 4 11:09 Attribution.txt 11:12:07 -rw-rw-r-- 1 jenkins jenkins 14372 Oct 4 11:09 CHANGELOG.md 11:12:07 -rw-rw-r-- 1 jenkins jenkins 1646 Oct 4 11:09 Dockerfile 11:12:07 -rw-rw-r-- 1 jenkins jenkins 677 Oct 4 11:09 GOVERNANCE.md 11:12:07 -rw-rw-r-- 1 jenkins jenkins 660 Oct 4 11:09 Jenkinsfile 11:12:07 -rw-rw-r-- 1 jenkins jenkins 11340 Oct 4 11:09 LICENSE 11:12:07 -rw-rw-r-- 1 jenkins jenkins 1947 Oct 4 11:09 Makefile 11:12:07 -rw-rw-r-- 1 jenkins jenkins 623 Oct 4 11:09 OWNERS.md 11:12:07 -rw-rw-r-- 1 jenkins jenkins 4111 Oct 4 11:09 README.md 11:12:07 -rw-rw-r-- 1 jenkins jenkins 5 Oct 4 11:10 VERSION 11:12:07 drwxrwxr-x 2 jenkins jenkins 4096 Oct 4 11:09 bin 11:12:07 drwxrwxr-x 3 jenkins jenkins 4096 Oct 4 11:09 cmd 11:12:07 -rw-r--r-- 1 jenkins jenkins 43063 Oct 4 11:11 coverage.out 11:12:07 -rw-rw-r-- 1 jenkins jenkins 3637 Oct 4 11:09 go.mod 11:12:07 -rw-rw-r-- 1 jenkins jenkins 35019 Oct 4 11:09 go.sum 11:12:07 drwxrwxr-x 3 jenkins jenkins 4096 Oct 4 11:09 internal 11:12:07 drwxrwxr-x 4 jenkins jenkins 4096 Oct 4 11:09 snap 11:12:07 -rw-rw-r-- 1 jenkins jenkins 235 Oct 4 11:09 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 11:12:07 + 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=a50d2f36104ea53a6a5e95396f12dec983aaad3c --label arch=amd64 --label version=0.0.0 . 11:12:07 Sending build context to Docker daemon 23.71MB 11:12:07 Step 1/25 : ARG BASE=golang:1.21-alpine3.18 11:12:07 Step 2/25 : FROM ${BASE} AS builder 11:12:07 ---> 82497d8ba147 11:12:07 Step 3/25 : ARG ALPINE_PKG_BASE="make git openssh-client" 11:12:07 ---> Running in eb926564b875 11:12:07 Removing intermediate container eb926564b875 11:12:07 ---> b0187c4fd1c5 11:12:07 Step 4/25 : ARG ALPINE_PKG_EXTRA="" 11:12:08 ---> Running in 590da94ff51d 11:12:08 Removing intermediate container 590da94ff51d 11:12:08 ---> 8b1ef96305e2 11:12:08 Step 5/25 : ARG ADD_BUILD_TAGS="" 11:12:08 ---> Running in c7f28400b5b0 11:12:08 Removing intermediate container c7f28400b5b0 11:12:08 ---> b61a0285960a 11:12:08 Step 6/25 : WORKDIR /device-virtual-go 11:12:08 ---> Running in 9f4a162f908b 11:12:08 Removing intermediate container 9f4a162f908b 11:12:08 ---> 230c888e8db1 11:12:08 Step 7/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 11:12:08 ---> Running in 8a76e2dcbb7c 11:12:08 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 11:12:08 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 11:12:08 OK: 268 MiB in 56 packages 11:12:09 Removing intermediate container 8a76e2dcbb7c 11:12:09 ---> f421614ba332 11:12:09 Step 8/25 : COPY go.mod vendor* ./ 11:12:09 ---> 85f8440dc276 11:12:09 Step 9/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 11:12:09 ---> Running in 0a375274e709 11:12:10 Removing intermediate container 0a375274e709 11:12:10 ---> 9a9bd81d1cee 11:12:10 Step 10/25 : COPY . . 11:12:10 ---> 975df32d3baf 11:12:10 Step 11/25 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 11:12:10 ---> Running in 892fe315aef9 11:12:10 Removing intermediate container 892fe315aef9 11:12:10 ---> d3b98ff47925 11:12:10 Step 12/25 : RUN $MAKE 11:12:10 ---> Running in 5aa79dfc74aa 11:12:10 CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-virtual-go.Version=0.0.0 -X github.com/edgexfoundry/device-sdk-go/v3/internal/common.SDKVersion=v3.1.0-dev.33" -trimpath -mod=readonly -o cmd/device-virtual ./cmd 11:12:23 Running on prd-ubuntu20.04-docker-arm64-4c-16g-8469 in /w/workspace/foundry_device-virtual-go_PR-436 [Pipeline] { [Pipeline] ws 11:12:23 Running in /w/workspace/device-virtual-go/1 [Pipeline] { [Pipeline] checkout 11:12:23 The recommended git tool is: git 11:12:29 using credential edgex-jenkins-ssh 11:12:29 Cloning the remote Git repository 11:12:29 Cloning repository git@github.com:edgexfoundry/device-virtual-go.git 11:12:29 > git init /w/workspace/device-virtual-go/1 # timeout=10 11:12:29 Fetching upstream changes from git@github.com:edgexfoundry/device-virtual-go.git 11:12:29 > git --version # timeout=10 11:12:29 > git --version # 'git version 2.25.1' 11:12:29 using GIT_SSH to set credentials SSH Credentials for GitHub 11:12:30 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-virtual-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 11:12:32 > git config remote.origin.url git@github.com:edgexfoundry/device-virtual-go.git # timeout=10 11:12:32 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 11:12:32 Removing intermediate container 5aa79dfc74aa 11:12:32 ---> 4de6a1bce133 11:12:32 Step 13/25 : FROM alpine:3.18 11:12:32 3.18: Pulling from library/alpine 11:12:32 96526aa774ef: Pulling fs layer 11:12:32 96526aa774ef: Verifying Checksum 11:12:32 96526aa774ef: Download complete 11:12:33 96526aa774ef: Pull complete 11:12:33 Digest: sha256:eece025e432126ce23f223450a0326fbebde39cdf496a85d8c016293fc851978 11:12:33 Status: Downloaded newer image for alpine:3.18 11:12:33 ---> 8ca4688f4f35 11:12:33 Step 14/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2021: IOTech' 11:12:33 > git config remote.origin.url git@github.com:edgexfoundry/device-virtual-go.git # timeout=10 11:12:33 Fetching upstream changes from git@github.com:edgexfoundry/device-virtual-go.git 11:12:33 using GIT_SSH to set credentials SSH Credentials for GitHub 11:12:33 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-virtual-go.git +refs/pull/436/head:refs/remotes/origin/PR-436 +refs/heads/main:refs/remotes/origin/main # timeout=10 11:12:33 Merging remotes/origin/main commit 8b8e1bf2b9e06380082507a2409f4790e8b740fe into PR head commit a50d2f36104ea53a6a5e95396f12dec983aaad3c 11:12:33 ---> Running in 2bee529f9d26 11:12:34 Merge succeeded, producing a50d2f36104ea53a6a5e95396f12dec983aaad3c 11:12:34 Checking out Revision a50d2f36104ea53a6a5e95396f12dec983aaad3c (PR-436) 11:12:34 Removing intermediate container 2bee529f9d26 11:12:34 ---> da571692053c 11:12:34 Step 15/25 : RUN apk add --update --no-cache dumb-init 11:12:34 Commit message: "build(deps): Bump github.com/edgexfoundry/device-sdk-go/v3" 11:12:34 > git --version # timeout=10 11:12:34 > git --version # 'git version 2.25.1' 11:12:34 fatal: bad object e143027787c0ac28563f7e92b6cefc600d3b7107 11:12:34 ---> Running in 22f33c096271 [Pipeline] withEnv [Pipeline] { 11:12:33 > git config core.sparsecheckout # timeout=10 11:12:33 > git checkout -f a50d2f36104ea53a6a5e95396f12dec983aaad3c # timeout=10 11:12:33 > git remote # timeout=10 11:12:34 > git config --get remote.origin.url # timeout=10 11:12:34 using GIT_SSH to set credentials SSH Credentials for GitHub 11:12:34 > git merge 8b8e1bf2b9e06380082507a2409f4790e8b740fe # timeout=10 11:12:34 > git rev-parse HEAD^{commit} # timeout=10 11:12:34 > git config core.sparsecheckout # timeout=10 11:12:34 > git checkout -f a50d2f36104ea53a6a5e95396f12dec983aaad3c # timeout=10 [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 11:12:35 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 11:12:35 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 11:12:35 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 11:12:35 % Total % Received % Xferd Average Speed Time Time Time Current 11:12:35 Dload Upload Total Spent Left Speed 11:12:35 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 97 12751 97 12393 0 0 93180 0 --:--:-- --:--:-- --:--:-- 93180 100 12751 100 12751 0 0 95156 0 --:--:-- --:--:-- --:--:-- 94451 11:12:35 (1/1) Installing dumb-init (1.2.5-r2) 11:12:35 Executing busybox-1.36.1-r2.trigger 11:12:35 OK: 7 MiB in 16 packages [Pipeline] sh 11:12:36 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 11:12:36 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 11:12:36 + sudo tee /etc/docker/daemon.new 11:12:36 { 11:12:36 "registry-mirrors": [ 11:12:36 "https://nexus3.edgexfoundry.org:10001" 11:12:36 ], 11:12:36 "bip": "10.250.0.254/24", 11:12:36 "hosts": [ 11:12:36 "tcp://0.0.0.0:5555", 11:12:36 "unix:///var/run/docker.sock" 11:12:36 ], 11:12:36 "mtu": 1458, 11:12:36 "selinux-enabled": true, 11:12:36 "seccomp-profile": "/etc/docker/seccomp.json" 11:12:36 } [Pipeline] sh 11:12:37 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 11:12:37 Removing intermediate container 22f33c096271 11:12:37 ---> 2dba32ded64e 11:12:37 Step 16/25 : WORKDIR / 11:12:37 + sudo service docker restart 11:12:37 ---> Running in 3a601f811275 11:12:38 Removing intermediate container 3a601f811275 11:12:38 ---> fa808a26031e 11:12:38 Step 17/25 : COPY --from=builder /device-virtual-go/Attribution.txt / 11:12:39 ---> bb0736e3219c 11:12:39 Step 18/25 : COPY --from=builder /device-virtual-go/LICENSE / 11:12:40 ---> 070a6af1be9f 11:12:40 Step 19/25 : COPY --from=builder /device-virtual-go/cmd / 11:12:42 ---> f2411b11c4fe 11:12:42 Step 20/25 : EXPOSE 59900 11:12:42 ---> Running in 9efa9cb9b981 11:12:43 Removing intermediate container 9efa9cb9b981 11:12:43 ---> f1afb506b2ec 11:12:43 Step 21/25 : ENTRYPOINT ["/device-virtual"] 11:12:43 ---> Running in 4fff369ecd80 11:12:43 Removing intermediate container 4fff369ecd80 11:12:43 ---> 58344e7f798f 11:12:43 Step 22/25 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry"] 11:12:44 ---> Running in 5af61fa9b503 11:12:44 Removing intermediate container 5af61fa9b503 11:12:44 ---> a7b878a4579c 11:12:44 Step 23/25 : LABEL arch=amd64 11:12:44 ---> Running in 7566d85d81f3 11:12:44 Removing intermediate container 7566d85d81f3 11:12:44 ---> c83c76386363 11:12:44 Step 24/25 : LABEL git_sha=a50d2f36104ea53a6a5e95396f12dec983aaad3c 11:12:45 ---> Running in 2b739b74cab3 11:12:45 Removing intermediate container 2b739b74cab3 11:12:45 ---> 72af248d36e3 11:12:45 Step 25/25 : LABEL version=0.0.0 11:12:46 ---> Running in 7852a4068ade 11:12:46 Removing intermediate container 7852a4068ade 11:12:46 ---> f1dc4f598acd 11:12:46 [Warning] One or more build-args [ARCH] were not consumed 11:12:46 Successfully built f1dc4f598acd 11:12:46 Successfully tagged device-virtual:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 11:12:47 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 11:12:47 11:12:47 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 11:12:47 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 11:12:47 latest: Pulling from edgex-lftools-log-publisher 11:12:47 5eb5b503b376: Pulling fs layer 11:12:47 5c69ac0246d0: Pulling fs layer 11:12:47 ec43610c2a17: Pulling fs layer 11:12:47 3a2ae6a8a46f: Pulling fs layer 11:12:47 33b1e0a273af: Pulling fs layer 11:12:47 5d3b04190fa2: Pulling fs layer 11:12:47 2f39f015ded8: Pulling fs layer 11:12:47 3a2ae6a8a46f: Waiting 11:12:47 5d3b04190fa2: Waiting 11:12:47 33b1e0a273af: Waiting 11:12:47 2f39f015ded8: Waiting 11:12:47 5c69ac0246d0: Verifying Checksum 11:12:47 5c69ac0246d0: Download complete 11:12:47 3a2ae6a8a46f: Download complete 11:12:47 ec43610c2a17: Verifying Checksum 11:12:47 ec43610c2a17: Download complete 11:12:47 5d3b04190fa2: Verifying Checksum 11:12:47 5d3b04190fa2: Download complete 11:12:47 33b1e0a273af: Verifying Checksum 11:12:47 33b1e0a273af: Download complete 11:12:47 5eb5b503b376: Verifying Checksum 11:12:47 5eb5b503b376: Download complete 11:12:48 2f39f015ded8: Verifying Checksum 11:12:48 2f39f015ded8: Download complete 11:12:49 5eb5b503b376: Pull complete 11:12:49 5c69ac0246d0: Pull complete 11:12:49 ec43610c2a17: Pull complete 11:12:49 3a2ae6a8a46f: Pull complete 11:12:49 33b1e0a273af: Pull complete 11:12:50 5d3b04190fa2: Pull complete 11:12:54 2f39f015ded8: Pull complete 11:12:54 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 11:12:54 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 11:12:54 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 11:12:54 prd-ubuntu20.04-docker-8c-8g-8468 does not seem to be running inside a container 11:12:54 $ 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-436 -v /w/workspace/foundry_device-virtual-go_PR-436:/w/workspace/foundry_device-virtual-go_PR-436:rw,z -v /w/workspace/foundry_device-virtual-go_PR-436@tmp:/w/workspace/foundry_device-virtual-go_PR-436@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:latest cat 11:12:59 $ docker top fa44ec1df9ffdc0d58d9a39464c9a8f2769eb4dcc05cd4e9ba5ca095126777d5 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [Pipeline] configFileProvider 11:13:00 provisioning config files... 11:13:00 copy managed file [device-virtual-go-settings] to file:/w/workspace/device-virtual-go/1@tmp/config14725635712826822347tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 11:13:00 ---> job-cost.sh 11:13:00 lf-activate-venv: SKIPPING 11:13:00 INFO: No Stack... 11:13:00 ---> docker-login.sh 11:13:00 nexus3.edgexfoundry.org:10001 11:13:00 INFO: Retrieving Pricing Info for: v3-standard-8 11:13:00 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 11:13:01 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 11:13:01 Configure a credential helper to remove this warning. See 11:13:01 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 11:13:01 11:13:01 Login Succeeded 11:13:01 nexus3.edgexfoundry.org:10002 11:13:01 INFO: Archiving Costs [Pipeline] sh 11:13:01 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 11:13:01 + cat /w/workspace/foundry_device-virtual-go_PR-436/archives/cost.csv 11:13:01 + cut -d, -f6 [Pipeline] lock 11:13:01 Trying to acquire lock on [jenkins-edgexfoundry-device-virtual-go-PR-436-1-stack-cost] 11:13:01 Resource [jenkins-edgexfoundry-device-virtual-go-PR-436-1-stack-cost] did not exist. Created. 11:13:01 Lock acquired on [jenkins-edgexfoundry-device-virtual-go-PR-436-1-stack-cost] [Pipeline] { [Pipeline] unstash 11:13:01 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 11:13:01 Configure a credential helper to remove this warning. See 11:13:01 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 11:13:01 11:13:01 Login Succeeded 11:13:01 nexus3.edgexfoundry.org:10003 [Pipeline] sh 11:13:02 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 11:13:02 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 11:13:02 Configure a credential helper to remove this warning. See 11:13:02 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 11:13:02 11:13:02 Login Succeeded 11:13:02 nexus3.edgexfoundry.org:10004 11:13:02 + echo total: 0.2199999988079071 [Pipeline] stash 11:13:02 Stashed 1 file(s) [Pipeline] } 11:13:02 Lock released on resource [jenkins-edgexfoundry-device-virtual-go-PR-436-1-stack-cost] [Pipeline] // lock [Pipeline] } 11:13:02 $ docker stop --time=1 fa44ec1df9ffdc0d58d9a39464c9a8f2769eb4dcc05cd4e9ba5ca095126777d5 11:13:02 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 11:13:02 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 11:13:02 Configure a credential helper to remove this warning. See 11:13:02 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 11:13:02 11:13:02 Login Succeeded 11:13:02 docker.io 11:13:02 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 11:13:03 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 11:13:03 Configure a credential helper to remove this warning. See 11:13:03 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 11:13:03 11:13:03 Login Succeeded 11:13:03 ---> docker-login.sh ends 11:13:03 $ docker rm -f --volumes fa44ec1df9ffdc0d58d9a39464c9a8f2769eb4dcc05cd4e9ba5ca095126777d5 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] } 11:13:03 Deleting 1 temporary files [Pipeline] // script [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] echo 11:13:04 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 11:13:04 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 11:13:04 ========================================================= 11:13:04 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine] 11:13:04 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 11:13:04 + docker build -t ci-base-image-arm64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine --build-arg MAKE=echo noop --target=builder . 11:13:05 Sending build context to Docker daemon 11.98MB 11:13:05 Step 1/12 : ARG BASE=golang:1.21-alpine3.18 11:13:05 Step 2/12 : FROM ${BASE} AS builder 11:13:05 1.21-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 11:13:05 9fda8d8052c6: Pulling fs layer 11:13:05 5d54e960e981: Pulling fs layer 11:13:05 c4a7e357bf2a: Pulling fs layer 11:13:05 f0e02332f6b5: Pulling fs layer 11:13:05 cefa15bbcfad: Pulling fs layer 11:13:05 17808c966233: Pulling fs layer 11:13:05 f4c1fc716caa: Pulling fs layer 11:13:05 cefa15bbcfad: Waiting 11:13:05 17808c966233: Waiting 11:13:05 f4c1fc716caa: Waiting 11:13:05 f0e02332f6b5: Waiting 11:13:05 5d54e960e981: Verifying Checksum 11:13:05 5d54e960e981: Download complete 11:13:05 f0e02332f6b5: Verifying Checksum 11:13:05 f0e02332f6b5: Download complete 11:13:05 cefa15bbcfad: Verifying Checksum 11:13:05 cefa15bbcfad: Download complete 11:13:05 9fda8d8052c6: Verifying Checksum 11:13:05 9fda8d8052c6: Download complete 11:13:05 f4c1fc716caa: Verifying Checksum 11:13:05 f4c1fc716caa: Download complete 11:13:07 c4a7e357bf2a: Verifying Checksum 11:13:07 c4a7e357bf2a: Download complete 11:13:08 17808c966233: Verifying Checksum 11:13:08 17808c966233: Download complete 11:13:10 9fda8d8052c6: Pull complete 11:13:10 5d54e960e981: Pull complete 11:13:22 c4a7e357bf2a: Pull complete 11:13:22 f0e02332f6b5: Pull complete 11:13:22 cefa15bbcfad: Pull complete 11:13:27 17808c966233: Pull complete 11:13:29 f4c1fc716caa: Pull complete 11:13:29 Digest: sha256:f9b5da702465edd0a2564459334de068a24595700ad6c8d0b85b07445f0b3000 11:13:29 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine 11:13:29 ---> ea914061e18c 11:13:29 Step 3/12 : ARG ALPINE_PKG_BASE="make git openssh-client" 11:13:31 ---> Running in a44612f9b6c9 11:13:31 Removing intermediate container a44612f9b6c9 11:13:31 ---> 1114672f3853 11:13:31 Step 4/12 : ARG ALPINE_PKG_EXTRA="" 11:13:31 ---> Running in e3b7affa8e20 11:13:31 Removing intermediate container e3b7affa8e20 11:13:31 ---> 9f547957ca77 11:13:31 Step 5/12 : ARG ADD_BUILD_TAGS="" 11:13:31 ---> Running in b23201861f7d 11:13:32 Removing intermediate container b23201861f7d 11:13:32 ---> c85e3a129b9c 11:13:32 Step 6/12 : WORKDIR /device-virtual-go 11:13:32 ---> Running in 9ab6769c1eab 11:13:32 Removing intermediate container 9ab6769c1eab 11:13:32 ---> 7dbbf57ee2e8 11:13:32 Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 11:13:32 ---> Running in 017ffb9f57cd 11:13:33 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 11:13:34 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 11:13:35 (1/4) Installing openssh-keygen (9.3_p2-r0) 11:13:35 (2/4) Installing libedit (20221030.3.1-r1) 11:13:35 (3/4) Installing openssh-client-common (9.3_p2-r0) 11:13:35 (4/4) Installing openssh-client-default (9.3_p2-r0) 11:13:35 Executing busybox-1.36.1-r2.trigger 11:13:35 OK: 270 MiB in 56 packages 11:13:37 Removing intermediate container 017ffb9f57cd 11:13:37 ---> a7e3f2fcac68 11:13:37 Step 8/12 : COPY go.mod vendor* ./ 11:13:38 ---> 8e86bf2a339f 11:13:38 Step 9/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 11:13:38 ---> Running in f06b47193d4b 11:14:46 Removing intermediate container f06b47193d4b 11:14:46 ---> 8e62dc8ab1be 11:14:46 Step 10/12 : COPY . . 11:14:47 ---> 99babf829d03 11:14:47 Step 11/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 11:14:47 ---> Running in c15853691aa3 11:14:47 Removing intermediate container c15853691aa3 11:14:47 ---> 6b9f6bd0d697 11:14:47 Step 12/12 : RUN $MAKE 11:14:47 ---> Running in a557f2f19da1 11:14:48 noop 11:14:49 Removing intermediate container a557f2f19da1 11:14:49 ---> dfbc157a9da3 11:14:49 Successfully built dfbc157a9da3 11:14:49 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 11:14:49 + docker inspect -f . ci-base-image-arm64 11:14:49 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 11:14:49 prd-ubuntu20.04-docker-arm64-4c-16g-8469 does not seem to be running inside a container 11:14:50 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-virtual-go/1 -v /w/workspace/device-virtual-go/1:/w/workspace/device-virtual-go/1:rw,z -v /w/workspace/device-virtual-go/1@tmp:/w/workspace/device-virtual-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 11:14:51 $ docker top f2abc9688a8cba7c71836f170220aca728f385d3d5b52237ee87ad90e711b9d8 -eo pid,comm [Pipeline] { [Pipeline] sh 11:14:52 + go version 11:14:52 go version go1.21.0 linux/arm64 [Pipeline] } 11:14:52 $ docker stop --time=1 f2abc9688a8cba7c71836f170220aca728f385d3d5b52237ee87ad90e711b9d8 11:14:53 $ docker rm -f --volumes f2abc9688a8cba7c71836f170220aca728f385d3d5b52237ee87ad90e711b9d8 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 11:14:54 + docker inspect -f . ci-base-image-arm64 11:14:54 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 11:14:55 prd-ubuntu20.04-docker-arm64-4c-16g-8469 does not seem to be running inside a container 11:14:55 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/device-virtual-go/1 -v /w/workspace/device-virtual-go/1:/w/workspace/device-virtual-go/1:rw,z -v /w/workspace/device-virtual-go/1@tmp:/w/workspace/device-virtual-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 11:14:56 $ docker top 0252e2ee9725bd3a9f30f1cd317608e5c4f63656b96d1d0e4fc27af03634017f -eo pid,comm [Pipeline] { [Pipeline] sh 11:14:57 + git config --global --add safe.directory /w/workspace/device-virtual-go/1 [Pipeline] fileExists [Pipeline] sh 11:14:57 + make test 11:14:57 go test ./... -coverprofile=coverage.out 11:15:02 ? github.com/edgexfoundry/device-virtual-go [no test files] 11:16:38 ? github.com/edgexfoundry/device-virtual-go/cmd [no test files] 11:16:38 ok github.com/edgexfoundry/device-virtual-go/internal/driver 0.071s coverage: 58.4% of statements 11:16:38 WARNING: Linting skipped (not on x86_64 or linter not installed) 11:16:38 go vet ./... 11:17:00 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 11:17:00 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 11:17:00 ./bin/test-attribution-txt.sh [Pipeline] echo 11:17:01 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 11:17:01 $ docker stop --time=1 0252e2ee9725bd3a9f30f1cd317608e5c4f63656b96d1d0e4fc27af03634017f 11:17:03 $ docker rm -f --volumes 0252e2ee9725bd3a9f30f1cd317608e5c4f63656b96d1d0e4fc27af03634017f [Pipeline] // withDockerContainer [Pipeline] sh 11:17:04 + sudo chown -R jenkins:jenkins . [Pipeline] stash 11:17:04 Warning: overwriting stash ‘coverage-report’ 11:17:05 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 11:17:05 + sudo chown -R jenkins:jenkins . [Pipeline] sh 11:17:06 + ls -al . 11:17:06 total 200 11:17:06 drwxrwxr-x 8 jenkins jenkins 4096 Oct 4 11:15 . 11:17:06 drwxrwxr-x 4 jenkins jenkins 4096 Oct 4 11:12 .. 11:17:06 drwxrwxr-x 8 jenkins jenkins 4096 Oct 4 11:12 .git 11:17:06 drwxrwxr-x 3 jenkins jenkins 4096 Oct 4 11:12 .github 11:17:06 -rw-rw-r-- 1 jenkins jenkins 337 Oct 4 11:12 .gitignore 11:17:06 -rw-rw-r-- 1 jenkins jenkins 41 Oct 4 11:12 .golangci.yml 11:17:06 -rw-rw-r-- 1 jenkins jenkins 9708 Oct 4 11:12 Attribution.txt 11:17:06 -rw-rw-r-- 1 jenkins jenkins 14372 Oct 4 11:12 CHANGELOG.md 11:17:06 -rw-rw-r-- 1 jenkins jenkins 1646 Oct 4 11:12 Dockerfile 11:17:06 -rw-rw-r-- 1 jenkins jenkins 677 Oct 4 11:12 GOVERNANCE.md 11:17:06 -rw-rw-r-- 1 jenkins jenkins 660 Oct 4 11:12 Jenkinsfile 11:17:06 -rw-rw-r-- 1 jenkins jenkins 11340 Oct 4 11:12 LICENSE 11:17:06 -rw-rw-r-- 1 jenkins jenkins 1947 Oct 4 11:12 Makefile 11:17:06 -rw-rw-r-- 1 jenkins jenkins 623 Oct 4 11:12 OWNERS.md 11:17:06 -rw-rw-r-- 1 jenkins jenkins 4111 Oct 4 11:12 README.md 11:17:06 -rw-rw-r-- 1 jenkins jenkins 5 Oct 4 11:10 VERSION 11:17:06 drwxrwxr-x 2 jenkins jenkins 4096 Oct 4 11:12 bin 11:17:06 drwxrwxr-x 3 jenkins jenkins 4096 Oct 4 11:12 cmd 11:17:06 -rw-r--r-- 1 jenkins jenkins 43063 Oct 4 11:16 coverage.out 11:17:06 -rw-rw-r-- 1 jenkins jenkins 3637 Oct 4 11:12 go.mod 11:17:06 -rw-rw-r-- 1 jenkins jenkins 35019 Oct 4 11:12 go.sum 11:17:06 drwxrwxr-x 3 jenkins jenkins 4096 Oct 4 11:12 internal 11:17:06 drwxrwxr-x 4 jenkins jenkins 4096 Oct 4 11:12 snap 11:17:06 -rw-rw-r-- 1 jenkins jenkins 235 Oct 4 11:12 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 11:17:06 + 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=a50d2f36104ea53a6a5e95396f12dec983aaad3c --label arch=arm64 --label version=0.0.0 . 11:17:06 Sending build context to Docker daemon 12.02MB 11:17:07 Step 1/25 : ARG BASE=golang:1.21-alpine3.18 11:17:07 Step 2/25 : FROM ${BASE} AS builder 11:17:07 ---> dfbc157a9da3 11:17:07 Step 3/25 : ARG ALPINE_PKG_BASE="make git openssh-client" 11:17:07 ---> Running in 5bb4e51fb528 11:17:07 Removing intermediate container 5bb4e51fb528 11:17:07 ---> a6c926ac663f 11:17:07 Step 4/25 : ARG ALPINE_PKG_EXTRA="" 11:17:07 ---> Running in 7fb3638b9c8f 11:17:07 Removing intermediate container 7fb3638b9c8f 11:17:07 ---> 730246ca4479 11:17:07 Step 5/25 : ARG ADD_BUILD_TAGS="" 11:17:07 ---> Running in 6e74d93b2632 11:17:08 Removing intermediate container 6e74d93b2632 11:17:08 ---> a0d5e5f1a8a5 11:17:08 Step 6/25 : WORKDIR /device-virtual-go 11:17:08 ---> Running in 9d2d87a8740b 11:17:08 Removing intermediate container 9d2d87a8740b 11:17:08 ---> e7ea4994131f 11:17:08 Step 7/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 11:17:08 ---> Running in b64786391cd3 11:17:09 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 11:17:10 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 11:17:11 OK: 270 MiB in 56 packages 11:17:12 Removing intermediate container b64786391cd3 11:17:12 ---> ad703b87a387 11:17:12 Step 8/25 : COPY go.mod vendor* ./ 11:17:13 ---> 91d362225eef 11:17:13 Step 9/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 11:17:13 ---> Running in ff2001e168cf 11:17:17 Removing intermediate container ff2001e168cf 11:17:17 ---> 65aac9a27b80 11:17:17 Step 10/25 : COPY . . 11:17:17 ---> 2e112cc89ec1 11:17:17 Step 11/25 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 11:17:17 ---> Running in 473627ea7243 11:17:18 Removing intermediate container 473627ea7243 11:17:18 ---> 85acec4a944c 11:17:18 Step 12/25 : RUN $MAKE 11:17:18 ---> Running in 546efa5d394d 11:17:19 CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-virtual-go.Version=0.0.0 -X github.com/edgexfoundry/device-sdk-go/v3/internal/common.SDKVersion=v3.1.0-dev.33" -trimpath -mod=readonly -o cmd/device-virtual ./cmd 11:19:26 Removing intermediate container 546efa5d394d 11:19:26 ---> 96cca171fc03 11:19:26 Step 13/25 : FROM alpine:3.18 11:19:26 3.18: Pulling from library/alpine 11:19:26 579b34f0a95b: Pulling fs layer 11:19:26 579b34f0a95b: Verifying Checksum 11:19:26 579b34f0a95b: Download complete 11:19:26 579b34f0a95b: Pull complete 11:19:26 Digest: sha256:eece025e432126ce23f223450a0326fbebde39cdf496a85d8c016293fc851978 11:19:26 Status: Downloaded newer image for alpine:3.18 11:19:26 ---> 3cc203321400 11:19:26 Step 14/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2021: IOTech' 11:19:26 ---> Running in 96ddac470058 11:19:26 Removing intermediate container 96ddac470058 11:19:26 ---> ae924a9ffaf5 11:19:26 Step 15/25 : RUN apk add --update --no-cache dumb-init 11:19:26 ---> Running in 5740103269b1 11:19:26 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 11:19:26 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 11:19:26 (1/1) Installing dumb-init (1.2.5-r2) 11:19:26 Executing busybox-1.36.1-r2.trigger 11:19:26 OK: 8 MiB in 16 packages 11:19:26 Removing intermediate container 5740103269b1 11:19:26 ---> 7d566e5df91d 11:19:26 Step 16/25 : WORKDIR / 11:19:26 ---> Running in fa84cbb4d1e7 11:19:26 Removing intermediate container fa84cbb4d1e7 11:19:26 ---> dda9febdec61 11:19:26 Step 17/25 : COPY --from=builder /device-virtual-go/Attribution.txt / 11:19:28 ---> dd9896ab8a75 11:19:28 Step 18/25 : COPY --from=builder /device-virtual-go/LICENSE / 11:19:28 ---> f02fac63b535 11:19:28 Step 19/25 : COPY --from=builder /device-virtual-go/cmd / 11:19:29 ---> f9c27e44eb00 11:19:29 Step 20/25 : EXPOSE 59900 11:19:30 ---> Running in 436933fe2655 11:19:30 Removing intermediate container 436933fe2655 11:19:30 ---> 1b1a41db7475 11:19:30 Step 21/25 : ENTRYPOINT ["/device-virtual"] 11:19:30 ---> Running in f496b9820a5e 11:19:30 Removing intermediate container f496b9820a5e 11:19:30 ---> 984a00381d71 11:19:30 Step 22/25 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry"] 11:19:30 ---> Running in 50dc3ae1f735 11:19:31 Removing intermediate container 50dc3ae1f735 11:19:31 ---> 683080b3468b 11:19:31 Step 23/25 : LABEL arch=arm64 11:19:31 ---> Running in d9ca9b999f8b 11:19:31 Removing intermediate container d9ca9b999f8b 11:19:31 ---> 4b8a27b84411 11:19:31 Step 24/25 : LABEL git_sha=a50d2f36104ea53a6a5e95396f12dec983aaad3c 11:19:31 ---> Running in 33313130b978 11:19:32 Removing intermediate container 33313130b978 11:19:32 ---> 929253c0bb0e 11:19:32 Step 25/25 : LABEL version=0.0.0 11:19:32 ---> Running in a5e88e036371 11:19:32 Removing intermediate container a5e88e036371 11:19:32 ---> c46c34625906 11:19:32 [Warning] One or more build-args [ARCH] were not consumed 11:19:32 Successfully built c46c34625906 11:19:32 Successfully tagged device-virtual-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 11:19:33 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 11:19:33 11:19:33 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 11:19:33 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 11:19:33 arm64: Pulling from edgex-lftools-log-publisher 11:19:33 8998bd30e6a1: Pulling fs layer 11:19:33 04944245beec: Pulling fs layer 11:19:33 699f458cf7ca: Pulling fs layer 11:19:33 765212b225bb: Pulling fs layer 11:19:33 f23df028b6ca: Pulling fs layer 11:19:33 d65c8cfc05b1: Pulling fs layer 11:19:33 2437ff75d9bd: Pulling fs layer 11:19:33 765212b225bb: Waiting 11:19:33 f23df028b6ca: Waiting 11:19:33 d65c8cfc05b1: Waiting 11:19:33 2437ff75d9bd: Waiting 11:19:33 04944245beec: Verifying Checksum 11:19:33 04944245beec: Download complete 11:19:33 765212b225bb: Verifying Checksum 11:19:33 765212b225bb: Download complete 11:19:33 f23df028b6ca: Verifying Checksum 11:19:33 f23df028b6ca: Download complete 11:19:33 d65c8cfc05b1: Verifying Checksum 11:19:33 d65c8cfc05b1: Download complete 11:19:34 699f458cf7ca: Verifying Checksum 11:19:34 699f458cf7ca: Download complete 11:19:34 8998bd30e6a1: Verifying Checksum 11:19:34 8998bd30e6a1: Download complete 11:19:36 2437ff75d9bd: Verifying Checksum 11:19:36 2437ff75d9bd: Download complete 11:19:38 8998bd30e6a1: Pull complete 11:19:38 04944245beec: Pull complete 11:19:41 699f458cf7ca: Pull complete 11:19:42 765212b225bb: Pull complete 11:19:43 f23df028b6ca: Pull complete 11:19:43 d65c8cfc05b1: Pull complete 11:19:58 2437ff75d9bd: Pull complete 11:19:58 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 11:19:58 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 11:19:58 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 11:19:58 prd-ubuntu20.04-docker-arm64-4c-16g-8469 does not seem to be running inside a container 11:19:58 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/device-virtual-go/1 -v /w/workspace/device-virtual-go/1:/w/workspace/device-virtual-go/1:rw,z -v /w/workspace/device-virtual-go/1@tmp:/w/workspace/device-virtual-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat 11:20:01 $ docker top 3d2688b20dd809c0ee430ee57a16d2751eaf09c360c960bd1776f2969232de75 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 11:20:02 ---> job-cost.sh 11:20:02 lf-activate-venv: SKIPPING 11:20:02 INFO: No Stack... 11:20:02 INFO: Retrieving Pricing Info for: v3-standard-4 11:20:03 INFO: Archiving Costs [Pipeline] sh 11:20:04 + cat /w/workspace/device-virtual-go/1/archives/cost.csv 11:20:04 + cut -d, -f6 [Pipeline] lock 11:20:04 Trying to acquire lock on [jenkins-edgexfoundry-device-virtual-go-PR-436-1-stack-cost] 11:20:04 Resource [jenkins-edgexfoundry-device-virtual-go-PR-436-1-stack-cost] did not exist. Created. 11:20:04 Lock acquired on [jenkins-edgexfoundry-device-virtual-go-PR-436-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 11:20:04 /w/workspace/device-virtual-go/1@tmp/durable-78a5271c/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 11:20:05 + echo total: 0.10999999940395355 [Pipeline] stash 11:20:05 Warning: overwriting stash ‘stack-cost’ 11:20:05 Stashed 1 file(s) [Pipeline] } 11:20:05 Lock released on resource [jenkins-edgexfoundry-device-virtual-go-PR-436-1-stack-cost] [Pipeline] // lock [Pipeline] } 11:20:05 $ docker stop --time=1 3d2688b20dd809c0ee430ee57a16d2751eaf09c360c960bd1776f2969232de75 11:20:08 $ docker rm -f --volumes 3d2688b20dd809c0ee430ee57a16d2751eaf09c360c960bd1776f2969232de75 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) [Pipeline] unstash [Pipeline] configFileProvider 11:20:09 provisioning config files... 11:20:09 copy managed file [device-virtual-go-codecov-token] to file:/w/workspace/foundry_device-virtual-go_PR-436@tmp/config12900941114315093992tmp [Pipeline] { [Pipeline] sh 11:20:09 + set +x 11:20:09 + curl -s https://codecov.io/bash 11:20:09 + bash -s -- 11:20:09 11:20:09 _____ _ 11:20:09 / ____| | | 11:20:09 | | ___ __| | ___ ___ _____ __ 11:20:09 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 11:20:09 | |___| (_) | (_| | __/ (_| (_) \ V / 11:20:09 \_____\___/ \__,_|\___|\___\___/ \_/ 11:20:09 Bash-1.0.6 11:20:09 11:20:09 11:20:09 ==> git version 2.25.1 found 11:20:09 ==> curl 7.68.0 (x86_64-pc-linux-gnu) libcurl/7.68.0 OpenSSL/1.1.1f zlib/1.2.11 brotli/1.0.7 libidn2/2.2.0 libpsl/0.21.0 (+libidn2/2.2.0) libssh/0.9.3/openssl/zlib nghttp2/1.40.0 librtmp/2.3 11:20:09 Release-Date: 2020-01-08 11:20:09 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 11:20:09 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 11:20:09 ==> Jenkins CI detected. 11:20:09 current dir:  /w/workspace/foundry_device-virtual-go_PR-436 11:20:09 project root: . 11:20:09 --> token set from env 11:20:09 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 11:20:09 ==> Running gcov in . (disable via -X gcov) 11:20:09 ==> Python coveragepy not found 11:20:09 ==> Searching for coverage reports in: 11:20:09 + . 11:20:09 -> Found 1 reports 11:20:09 ==> Detecting git/mercurial file structure 11:20:09 ==> Reading reports 11:20:09 + ./coverage.out bytes=43063 11:20:09 ==> Appending adjustments 11:20:09 https://docs.codecov.io/docs/fixing-reports 11:20:09 + Found adjustments 11:20:09 ==> Gzipping contents 11:20:09 8.0K /tmp/codecov.gETBDs.gz 11:20:09 ==> Uploading reports 11:20:09 url: https://codecov.io 11:20:09 query: branch=PR-436&commit=a50d2f36104ea53a6a5e95396f12dec983aaad3c&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-virtual-go%2Fjob%2FPR-436%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-virtual-go&service=jenkins&flags=&pr=436&job=&cmd_args= 11:20:09 -> Pinging Codecov 11:20:09 https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=a35e349c-7876-4d48-9269-e9fc36774240&branch=PR-436&commit=a50d2f36104ea53a6a5e95396f12dec983aaad3c&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-virtual-go%2Fjob%2FPR-436%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-virtual-go&service=jenkins&flags=&pr=436&job=&cmd_args= 11:20:10 -> Uploading to 11:20:10 https://storage.googleapis.com/codecov/v4/raw/2023-10-04/5E52B4B073DB2E39498172D8E973AA87/a50d2f36104ea53a6a5e95396f12dec983aaad3c/15e9000e-f0f4-46c5-b777-ca10b70a713d.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20231004%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20231004T112009Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=a03cd432360b6b0806c04aa5c1141e8737f17d5914318b0b62098f1a3b8fabda 11:20:10 % Total % Received % Xferd Average Speed Time Time Time Current 11:20:10 Dload Upload Total Spent Left Speed 11:20:10 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 5184 0 0 100 5184 0 19200 --:--:-- --:--:-- --:--:-- 19200 11:20:10 -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-virtual-go/commit/a50d2f36104ea53a6a5e95396f12dec983aaad3c [Pipeline] } 11:20:10 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) Stage "Snyk Dependency Scan" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) Stage "Semver" skipped due to when conditional [Pipeline] stage [Pipeline] { (Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] sh 11:20:12 + [ -d /w/workspace/foundry_device-virtual-go_PR-436/archives ] 11:20:12 + ls -al /w/workspace/foundry_device-virtual-go_PR-436/archives 11:20:12 total 16 11:20:12 drwxr-xr-x 3 root root 4096 Oct 4 11:13 . 11:20:12 drwxrwxr-x 10 jenkins jenkins 4096 Oct 4 11:13 .. 11:20:12 drwxr-xr-x 2 root root 4096 Oct 4 11:13 cost 11:20:12 -rw-r--r-- 1 root root 89 Oct 4 11:13 cost.csv 11:20:12 + sudo chown -R jenkins:jenkins /w/workspace/foundry_device-virtual-go_PR-436/archives 11:20:12 + ls -al /w/workspace/foundry_device-virtual-go_PR-436/archives 11:20:12 total 16 11:20:12 drwxr-xr-x 3 jenkins jenkins 4096 Oct 4 11:13 . 11:20:12 drwxrwxr-x 10 jenkins jenkins 4096 Oct 4 11:13 .. 11:20:12 drwxr-xr-x 2 jenkins jenkins 4096 Oct 4 11:13 cost 11:20:12 -rw-r--r-- 1 jenkins jenkins 89 Oct 4 11:13 cost.csv [Pipeline] libraryResource [Pipeline] sh 11:20:12 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 11:20:13 ---> package-listing.sh 11:20:13 ++ facter osfamily 11:20:13 ++ tr '[:upper:]' '[:lower:]' 11:20:13 + OS_FAMILY=debian 11:20:13 + workspace=/w/workspace/foundry_device-virtual-go_PR-436 11:20:13 + START_PACKAGES=/tmp/packages_start.txt 11:20:13 + END_PACKAGES=/tmp/packages_end.txt 11:20:13 + DIFF_PACKAGES=/tmp/packages_diff.txt 11:20:13 + PACKAGES=/tmp/packages_start.txt 11:20:13 + '[' /w/workspace/foundry_device-virtual-go_PR-436 ']' 11:20:13 + PACKAGES=/tmp/packages_end.txt 11:20:13 + case "${OS_FAMILY}" in 11:20:13 + dpkg -l 11:20:13 + grep '^ii' 11:20:13 + '[' -f /tmp/packages_start.txt ']' 11:20:13 + '[' -f /tmp/packages_end.txt ']' 11:20:13 + diff /tmp/packages_start.txt /tmp/packages_end.txt 11:20:13 + '[' /w/workspace/foundry_device-virtual-go_PR-436 ']' 11:20:13 + mkdir -p /w/workspace/foundry_device-virtual-go_PR-436/archives/ 11:20:13 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/foundry_device-virtual-go_PR-436/archives/ [Pipeline] echo 11:20:13 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-436/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 11:20:14 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 11:20:14 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 11:20:14 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 11:20:14 prd-ubuntu20.04-docker-8c-8g-8468 does not seem to be running inside a container 11:20:14 $ 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-436/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-436 -v /w/workspace/foundry_device-virtual-go_PR-436:/w/workspace/foundry_device-virtual-go_PR-436:rw,z -v /w/workspace/foundry_device-virtual-go_PR-436@tmp:/w/workspace/foundry_device-virtual-go_PR-436@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 11:20:15 $ docker top 53863190f0cd332f40cf096d1b0393053157348ed3b597d50d51508cd2d037ab -eo pid,comm [Pipeline] { [Pipeline] sh 11:20:15 + touch /tmp/pre-build-complete [Pipeline] sh 11:20:15 + mkdir -p /var/log/sysstat [Pipeline] sh 11:20:16 + ls /var/log/sa-host 11:20:16 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 11:20:16 provisioning config files... 11:20:16 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/foundry_device-virtual-go_PR-436@tmp/config13418168452829425590tmp [Pipeline] { [Pipeline] echo 11:20:16 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 11:20:16 ---> create-netrc.sh [Pipeline] } 11:20:16 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 11:20:17 ---> python-tools-install.sh [Pipeline] echo 11:20:17 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 11:20:17 ---> sudo-logs.sh 11:20:17 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 11:20:17 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 11:20:18 ---> job-cost.sh 11:20:18 lf-activate-venv: SKIPPING 11:20:18 DEBUG: total: 0.2199999988079071 11:20:18 INFO: Retrieving Stack Cost... 11:20:18 INFO: Retrieving Pricing Info for: v3-standard-8 11:20:18 INFO: Archiving Costs [Pipeline] echo 11:20:18 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 11:20:19 ---> logs-deploy.sh 11:20:19 lf-activate-venv: SKIPPING 11:20:19 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-virtual-go/PR-436/1 11:20:19 INFO: archiving workspace using pattern(s): 11:20:20 Archives upload complete. 11:20:20 INFO: archiving logs to Nexus