Pull request #438 opened Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from c9c3a531994621ba379367712c9abc1db165b003+f37031385f16eefedf40f271103157f893ed69f0 (af10829bcdbdec759d338bae24398b38a0fd0b8e) 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-ssh14042080001665480726.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-ssh16909811702766605627.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-438/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-438/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh4735368880331083939.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-438/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh17015560723583753527.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-ssh16539959432269707174.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-438/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-438/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh3294922827505585247.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-9137 in /w/workspace/foundry_device-virtual-go_PR-438 [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-438 # 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/438/head:refs/remotes/origin/PR-438 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit f37031385f16eefedf40f271103157f893ed69f0 into PR head commit c9c3a531994621ba379367712c9abc1db165b003 Merge succeeded, producing c9c3a531994621ba379367712c9abc1db165b003 Checking out Revision c9c3a531994621ba379367712c9abc1db165b003 (PR-438) Commit message: "build(deps): Bump github.com/edgexfoundry/device-sdk-go/v3" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.25.1' fatal: bad object e143027787c0ac28563f7e92b6cefc600d3b7107 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 11:15:26 Timeout set to expire in 6 hr 0 min [Pipeline] { > git config core.sparsecheckout # timeout=10 > git checkout -f c9c3a531994621ba379367712c9abc1db165b003 # 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 f37031385f16eefedf40f271103157f893ed69f0 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f c9c3a531994621ba379367712c9abc1db165b003 # timeout=10 [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 11:15:26 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 11:15:26 ========================================================= 11:15:26 EdgeX Global Pipelines Version Info 11:15:26 ========================================================= [Pipeline] libraryResource [Pipeline] sh 11:15:27 ------------------- 11:15:27 stable info: 11:15:27 ------------------- 11:15:27 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 11:15:27 Commit SHA: e143027787c0ac28563f7e92b6cefc600d3b7107 11:15:27 Message: update stable to v1.0.254 11:15:28 ------------------- 11:15:28 experimental info: 11:15:28 ------------------- 11:15:28 Commited By: **** collab-it+edgex@linuxfoundation.org 11:15:28 Commit SHA: e143027787c0ac28563f7e92b6cefc600d3b7107 11:15:28 Message: update experimental to v1.0.254 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 11:15:28 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-virtual-go-settings [Pipeline] echo 11:15:28 [edgeXSetupEnvironment]: set envvar PROJECT = device-virtual-go [Pipeline] echo 11:15:28 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 11:15:28 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 11:15:28 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 11:15:28 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.21 [Pipeline] echo 11:15:28 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 11:15:28 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 11:15:28 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 11:15:28 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 11:15:28 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 11:15:28 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-virtual [Pipeline] echo 11:15:28 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 11:15:28 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 11:15:28 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 11:15:29 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 11:15:29 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 11:15:29 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 11:15:29 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 11:15:29 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 11:15:29 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 11:15:29 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 11:15:29 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 11:15:29 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 11:15:29 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 11:15:29 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 11:15:29 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 11:15:29 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-438 [Pipeline] echo 11:15:29 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-438 [Pipeline] echo 11:15:29 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-438 [Pipeline] echo 11:15:29 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = c9c3a531994621ba379367712c9abc1db165b003 [Pipeline] echo 11:15:29 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = c9c3a53 [Pipeline] echo 11:15:29 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 11:15:29 provisioning config files... 11:15:29 copy managed file [device-virtual-go-settings] to file:/w/workspace/foundry_device-virtual-go_PR-438@tmp/config15286669772365614466tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 11:15:30 ---> docker-login.sh 11:15:30 nexus3.edgexfoundry.org:10001 11:15:30 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 11:15:30 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 11:15:30 Configure a credential helper to remove this warning. See 11:15:30 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 11:15:30 11:15:30 Login Succeeded 11:15:30 nexus3.edgexfoundry.org:10002 11:15:30 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 11:15:30 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 11:15:30 Configure a credential helper to remove this warning. See 11:15:30 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 11:15:30 11:15:30 Login Succeeded 11:15:30 nexus3.edgexfoundry.org:10003 11:15:30 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 11:15:30 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 11:15:30 Configure a credential helper to remove this warning. See 11:15:30 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 11:15:30 11:15:30 Login Succeeded 11:15:30 nexus3.edgexfoundry.org:10004 11:15:30 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 11:15:30 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 11:15:30 Configure a credential helper to remove this warning. See 11:15:30 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 11:15:30 11:15:30 Login Succeeded 11:15:30 docker.io 11:15:30 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 11:15:31 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 11:15:31 Configure a credential helper to remove this warning. See 11:15:31 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 11:15:31 11:15:31 Login Succeeded 11:15:31 ---> docker-login.sh ends [Pipeline] } 11:15:31 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 11:15:31 + git rev-list -1 --merges c9c3a531994621ba379367712c9abc1db165b003~1..c9c3a531994621ba379367712c9abc1db165b003 [Pipeline] echo 11:15:31 -----------> git rev-list -1 --merges c9c3a531994621ba379367712c9abc1db165b003~1..c9c3a531994621ba379367712c9abc1db165b003 c9c3a531994621ba379367712c9abc1db165b003 [false] [Pipeline] sh 11:15:32 + git log --format=format:%s -1 c9c3a531994621ba379367712c9abc1db165b003 [Pipeline] echo 11:15:32 ========================================================= 11:15:32 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 11:15:32 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 11:15:32 + git log --format=format:%s -1 c9c3a531994621ba379367712c9abc1db165b003 [Pipeline] echo 11:15:32 [semverPrep] GIT_COMMIT: c9c3a531994621ba379367712c9abc1db165b003, Commit Message: build(deps): Bump github.com/edgexfoundry/device-sdk-go/v3 [Pipeline] echo 11:15:32 [semverPrep] This is not a build commit. [Pipeline] sh 11:15:33 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 11:15:33 + grep -v github /etc/ssh/ssh_known_hosts 11:15:33 + [ -e /tmp/ssh_known_hosts ] 11:15:33 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 11:15:33 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 11:15:33 + sudo tee -a /etc/ssh/ssh_known_hosts 11:15:33 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 11:15:33 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 11:15:33 11:15:33 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 11:15:34 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 11:15:34 0.1.4: Pulling from edgex-devops/py-git-semver 11:15:34 b85a868b505f: Pulling fs layer 11:15:34 e2be974225ed: Pulling fs layer 11:15:34 339a4e72a1f5: Pulling fs layer 11:15:34 988bab9f4d93: Pulling fs layer 11:15:34 1469e6f7b9e6: Pulling fs layer 11:15:34 eaf3925da568: Pulling fs layer 11:15:34 bab4dde63d76: Pulling fs layer 11:15:34 bde34c3a00c8: Pulling fs layer 11:15:34 b352a97aabf1: Pulling fs layer 11:15:34 4872d77fe225: Pulling fs layer 11:15:34 5851b861e8e6: Pulling fs layer 11:15:34 bab4dde63d76: Waiting 11:15:34 bde34c3a00c8: Waiting 11:15:34 eaf3925da568: Waiting 11:15:34 b352a97aabf1: Waiting 11:15:34 988bab9f4d93: Waiting 11:15:34 1469e6f7b9e6: Waiting 11:15:34 4872d77fe225: Waiting 11:15:34 e2be974225ed: Verifying Checksum 11:15:34 e2be974225ed: Download complete 11:15:34 988bab9f4d93: Verifying Checksum 11:15:34 988bab9f4d93: Download complete 11:15:34 1469e6f7b9e6: Verifying Checksum 11:15:34 1469e6f7b9e6: Download complete 11:15:34 339a4e72a1f5: Verifying Checksum 11:15:34 339a4e72a1f5: Download complete 11:15:34 eaf3925da568: Verifying Checksum 11:15:34 eaf3925da568: Download complete 11:15:34 bde34c3a00c8: Download complete 11:15:34 b352a97aabf1: Download complete 11:15:34 4872d77fe225: Verifying Checksum 11:15:34 4872d77fe225: Download complete 11:15:34 5851b861e8e6: Verifying Checksum 11:15:34 5851b861e8e6: Download complete 11:15:34 b85a868b505f: Verifying Checksum 11:15:34 b85a868b505f: Download complete 11:15:34 bab4dde63d76: Verifying Checksum 11:15:34 bab4dde63d76: Download complete 11:15:35 b85a868b505f: Pull complete 11:15:35 e2be974225ed: Pull complete 11:15:36 339a4e72a1f5: Pull complete 11:15:36 988bab9f4d93: Pull complete 11:15:36 1469e6f7b9e6: Pull complete 11:15:36 eaf3925da568: Pull complete 11:15:38 bab4dde63d76: Pull complete 11:15:38 bde34c3a00c8: Pull complete 11:15:38 b352a97aabf1: Pull complete 11:15:38 4872d77fe225: Pull complete 11:15:38 5851b861e8e6: Pull complete 11:15:38 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 11:15:38 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 11:15:38 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 11:15:38 prd-ubuntu20.04-docker-8c-8g-9137 does not seem to be running inside a container 11:15:38 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/foundry_device-virtual-go_PR-438 -v /w/workspace/foundry_device-virtual-go_PR-438:/w/workspace/foundry_device-virtual-go_PR-438:rw,z -v /w/workspace/foundry_device-virtual-go_PR-438@tmp:/w/workspace/foundry_device-virtual-go_PR-438@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:15:42 $ docker top 3f26b51130adb7d1f90f994602a88bad4925ebe95abd1b226d8aaa87fdd8671c -eo pid,comm 11:15:42 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:15:42 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 11:15:42 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 11:15:42 [ssh-agent] Looking for ssh-agent implementation... 11:15:42 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 11:15:42 $ docker exec 3f26b51130adb7d1f90f994602a88bad4925ebe95abd1b226d8aaa87fdd8671c ssh-agent 11:15:42 SSH_AUTH_SOCK=/tmp/ssh-3vYzmaYcnFHW/agent.33 11:15:42 SSH_AGENT_PID=39 11:15:42 Running ssh-add (command line suppressed) 11:15:42 Identity added: /w/workspace/foundry_device-virtual-go_PR-438@tmp/private_key_15344039390256723173.key (/w/workspace/foundry_device-virtual-go_PR-438@tmp/private_key_15344039390256723173.key) 11:15:42 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 11:15:43 + git tag --points-at HEAD [Pipeline] } 11:15:43 $ docker exec --env ******** --env ******** 3f26b51130adb7d1f90f994602a88bad4925ebe95abd1b226d8aaa87fdd8671c ssh-agent -k 11:15:43 unset SSH_AUTH_SOCK; 11:15:43 unset SSH_AGENT_PID; 11:15:43 echo Agent pid 39 killed; 11:15:43 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 11:15:43 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 11:15:43 [ssh-agent] Looking for ssh-agent implementation... 11:15:43 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 11:15:43 $ docker exec 3f26b51130adb7d1f90f994602a88bad4925ebe95abd1b226d8aaa87fdd8671c ssh-agent 11:15:43 SSH_AUTH_SOCK=/tmp/ssh-9TSWtsiUVe4s/agent.71 11:15:43 SSH_AGENT_PID=77 11:15:43 Running ssh-add (command line suppressed) 11:15:43 Identity added: /w/workspace/foundry_device-virtual-go_PR-438@tmp/private_key_12613381788206386558.key (/w/workspace/foundry_device-virtual-go_PR-438@tmp/private_key_12613381788206386558.key) 11:15:43 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 11:15:44 + git semver init 11:15:44 2023-10-12 11:15:44,290 [run_init] DEBUG init version:0.0.0 force:False 11:15:44 2023-10-12 11:15:44,291 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/foundry_device-virtual-go_PR-438/.semver 11:15:44 2023-10-12 11:15:44,292 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-virtual-go.git /w/workspace/foundry_device-virtual-go_PR-438/.semver 11:15:44 2023-10-12 11:15:44,292 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-virtual-go.git', '/w/workspace/foundry_device-virtual-go_PR-438/.semver'], cwd=/w/workspace/foundry_device-virtual-go_PR-438, universal_newlines=False, shell=None, istream=None) 11:15:45 2023-10-12 11:15:45,667 [append_file] DEBUG append to file:/w/workspace/foundry_device-virtual-go_PR-438/.git/info/exclude 11:15:45 2023-10-12 11:15:45,668 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/foundry_device-virtual-go_PR-438/.semver/PR-438 with force:False 11:15:45 2023-10-12 11:15:45,668 [write_file] DEBUG write to file:/w/workspace/foundry_device-virtual-go_PR-438/.semver/PR-438 11:15:45 2023-10-12 11:15:45,672 [execute] INFO git cat-file --batch-check 11:15:45 2023-10-12 11:15:45,672 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/foundry_device-virtual-go_PR-438/.semver, universal_newlines=False, shell=None, istream=) 11:15:45 2023-10-12 11:15:45,678 [execute] INFO git cat-file --batch 11:15:45 2023-10-12 11:15:45,678 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/foundry_device-virtual-go_PR-438/.semver, universal_newlines=False, shell=None, istream=) 11:15:45 2023-10-12 11:15:45,682 [read_version] DEBUG read version from /w/workspace/foundry_device-virtual-go_PR-438/.semver/PR-438 11:15:45 0.0.0 [Pipeline] } 11:15:45 $ docker exec --env ******** --env ******** 3f26b51130adb7d1f90f994602a88bad4925ebe95abd1b226d8aaa87fdd8671c ssh-agent -k 11:15:45 unset SSH_AUTH_SOCK; 11:15:45 unset SSH_AGENT_PID; 11:15:45 echo Agent pid 77 killed; 11:15:45 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 11:15:46 + git semver [Pipeline] } 11:15:46 $ docker stop --time=1 3f26b51130adb7d1f90f994602a88bad4925ebe95abd1b226d8aaa87fdd8671c 11:15:47 $ docker rm -f --volumes 3f26b51130adb7d1f90f994602a88bad4925ebe95abd1b226d8aaa87fdd8671c [Pipeline] // withDockerContainer [Pipeline] sh 11:15:48 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 11:15:48 Stashed 1 file(s) [Pipeline] echo 11:15:48 [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:15:49 provisioning config files... 11:15:49 copy managed file [device-virtual-go-settings] to file:/w/workspace/foundry_device-virtual-go_PR-438@tmp/config9366339229375528921tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 11:15:49 ---> docker-login.sh 11:15:49 nexus3.edgexfoundry.org:10001 11:15:49 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 11:15:49 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 11:15:49 Configure a credential helper to remove this warning. See 11:15:49 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 11:15:49 11:15:49 Login Succeeded 11:15:49 nexus3.edgexfoundry.org:10002 11:15:49 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 11:15:49 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 11:15:49 Configure a credential helper to remove this warning. See 11:15:49 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 11:15:49 11:15:49 Login Succeeded 11:15:49 nexus3.edgexfoundry.org:10003 11:15:49 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 11:15:49 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 11:15:49 Configure a credential helper to remove this warning. See 11:15:49 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 11:15:49 11:15:49 Login Succeeded 11:15:49 nexus3.edgexfoundry.org:10004 11:15:49 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 11:15:49 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 11:15:49 Configure a credential helper to remove this warning. See 11:15:49 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 11:15:49 11:15:49 Login Succeeded 11:15:49 docker.io 11:15:50 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 11:15:50 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 11:15:50 Configure a credential helper to remove this warning. See 11:15:50 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 11:15:50 11:15:50 Login Succeeded 11:15:50 ---> docker-login.sh ends [Pipeline] } 11:15:50 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 11:15:50 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 11:15:50 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 11:15:50 ========================================================= 11:15:50 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine] 11:15:50 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 11:15:50 + 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:15:50 Sending build context to Docker daemon 23.68MB 11:15:50 Step 1/12 : ARG BASE=golang:1.21-alpine3.18 11:15:50 Step 2/12 : FROM ${BASE} AS builder 11:15:51 1.21-alpine: Pulling from edgex-devops/edgex-golang-base 11:15:51 7264a8db6415: Pulling fs layer 11:15:51 c4d48a809fc2: Pulling fs layer 11:15:51 4f1c88b9dad5: Pulling fs layer 11:15:51 ad3a456e5733: Pulling fs layer 11:15:51 33e27b845d1e: Pulling fs layer 11:15:51 c68163c4e522: Pulling fs layer 11:15:51 50da416c3ac9: Pulling fs layer 11:15:51 ad3a456e5733: Waiting 11:15:51 33e27b845d1e: Waiting 11:15:51 23d2d4c4bb30: Pulling fs layer 11:15:51 50da416c3ac9: Waiting 11:15:51 23d2d4c4bb30: Waiting 11:15:51 c4d48a809fc2: Download complete 11:15:51 ad3a456e5733: Verifying Checksum 11:15:51 ad3a456e5733: Download complete 11:15:51 33e27b845d1e: Verifying Checksum 11:15:51 33e27b845d1e: Download complete 11:15:51 7264a8db6415: Verifying Checksum 11:15:51 7264a8db6415: Download complete 11:15:51 c68163c4e522: Verifying Checksum 11:15:51 c68163c4e522: Download complete 11:15:51 7264a8db6415: Pull complete 11:15:51 23d2d4c4bb30: Verifying Checksum 11:15:51 23d2d4c4bb30: Download complete 11:15:51 c4d48a809fc2: Pull complete 11:15:51 4f1c88b9dad5: Download complete 11:15:52 50da416c3ac9: Verifying Checksum 11:15:52 50da416c3ac9: Download complete 11:15:54 4f1c88b9dad5: Pull complete 11:15:54 ad3a456e5733: Pull complete 11:15:55 33e27b845d1e: Pull complete 11:15:55 c68163c4e522: Pull complete 11:15:57 50da416c3ac9: Pull complete 11:15:57 23d2d4c4bb30: Pull complete 11:15:57 Digest: sha256:869f8081a9cc57a47d9be3c92245bb8518e7edea9beab93563b77b0fbed5fa8c 11:15:57 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine 11:15:57 ---> 0786185ac409 11:15:57 Step 3/12 : ARG ALPINE_PKG_BASE="make git openssh-client" 11:16:02 ---> Running in 93299343dabd 11:16:02 Removing intermediate container 93299343dabd 11:16:02 ---> a2e516480f89 11:16:02 Step 4/12 : ARG ALPINE_PKG_EXTRA="" 11:16:02 ---> Running in 2033ffea08f7 11:16:02 Removing intermediate container 2033ffea08f7 11:16:02 ---> a14499823e18 11:16:02 Step 5/12 : ARG ADD_BUILD_TAGS="" 11:16:02 ---> Running in 482f41caa472 11:16:02 Removing intermediate container 482f41caa472 11:16:02 ---> 352fdd25bbbb 11:16:02 Step 6/12 : WORKDIR /device-virtual-go 11:16:02 ---> Running in 49360c8b630b 11:16:02 Removing intermediate container 49360c8b630b 11:16:02 ---> f2b5ce4c0d34 11:16:02 Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 11:16:02 ---> Running in fdc66be25524 11:16:02 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 11:16:03 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 11:16:03 (1/4) Installing openssh-keygen (9.3_p2-r0) 11:16:03 (2/4) Installing libedit (20221030.3.1-r1) 11:16:03 (3/4) Installing openssh-client-common (9.3_p2-r0) 11:16:03 (4/4) Installing openssh-client-default (9.3_p2-r0) 11:16:03 Executing busybox-1.36.1-r2.trigger 11:16:03 OK: 268 MiB in 56 packages 11:16:03 Removing intermediate container fdc66be25524 11:16:03 ---> 1792b4d741b1 11:16:03 Step 8/12 : COPY go.mod vendor* ./ 11:16:04 Still waiting to schedule task 11:16:04 All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline 11:16:04 ---> 68e8c752f54f 11:16:04 Step 9/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 11:16:04 ---> Running in cd218c8d84f0 11:17:00 Removing intermediate container cd218c8d84f0 11:17:00 ---> 965041a582e9 11:17:00 Step 10/12 : COPY . . 11:17:00 ---> df5ac92eed54 11:17:00 Step 11/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 11:17:00 ---> Running in cacdf6dc1da2 11:17:00 Removing intermediate container cacdf6dc1da2 11:17:00 ---> 06160f8ab62f 11:17:00 Step 12/12 : RUN $MAKE 11:17:00 ---> Running in 36e9b2ddea5e 11:17:00 noop 11:17:00 Removing intermediate container 36e9b2ddea5e 11:17:00 ---> 967013b9c040 11:17:00 Successfully built 967013b9c040 11:17:00 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 11:17:00 + docker inspect -f . ci-base-image-x86_64 11:17:00 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 11:17:01 prd-ubuntu20.04-docker-8c-8g-9137 does not seem to be running inside a container 11:17:01 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/foundry_device-virtual-go_PR-438 -v /w/workspace/foundry_device-virtual-go_PR-438:/w/workspace/foundry_device-virtual-go_PR-438:rw,z -v /w/workspace/foundry_device-virtual-go_PR-438@tmp:/w/workspace/foundry_device-virtual-go_PR-438@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:17:01 $ docker top b0af40768cbf98d6d7967b433017b4d9225b0bb6f199b7d1386e845856571771 -eo pid,comm [Pipeline] { [Pipeline] sh 11:17:01 + go version 11:17:01 go version go1.21.0 linux/amd64 [Pipeline] } 11:17:01 $ docker stop --time=1 b0af40768cbf98d6d7967b433017b4d9225b0bb6f199b7d1386e845856571771 11:17:03 $ docker rm -f --volumes b0af40768cbf98d6d7967b433017b4d9225b0bb6f199b7d1386e845856571771 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 11:17:03 + docker inspect -f . ci-base-image-x86_64 11:17:03 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 11:17:04 prd-ubuntu20.04-docker-8c-8g-9137 does not seem to be running inside a container 11:17:04 $ 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-438 -v /w/workspace/foundry_device-virtual-go_PR-438:/w/workspace/foundry_device-virtual-go_PR-438:rw,z -v /w/workspace/foundry_device-virtual-go_PR-438@tmp:/w/workspace/foundry_device-virtual-go_PR-438@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:17:04 $ docker top 62062bf68e61874eff8198737fcf7bb91aef6b94343e4083e77c67f9293505f7 -eo pid,comm [Pipeline] { [Pipeline] sh 11:17:04 + git config --global --add safe.directory /w/workspace/foundry_device-virtual-go_PR-438 [Pipeline] fileExists [Pipeline] sh 11:17:05 + make test 11:17:05 go test ./... -coverprofile=coverage.out 11:17:06 ? github.com/edgexfoundry/device-virtual-go [no test files] 11:17:16 ? github.com/edgexfoundry/device-virtual-go/cmd [no test files] 11:17:16 ok github.com/edgexfoundry/device-virtual-go/internal/driver 0.018s coverage: 58.6% of statements 11:17:23 go vet ./... 11:17:26 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 11:17:26 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 11:17:26 ./bin/test-attribution-txt.sh [Pipeline] echo 11:17:26 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 11:17:26 $ docker stop --time=1 62062bf68e61874eff8198737fcf7bb91aef6b94343e4083e77c67f9293505f7 11:17:30 $ docker rm -f --volumes 62062bf68e61874eff8198737fcf7bb91aef6b94343e4083e77c67f9293505f7 [Pipeline] // withDockerContainer [Pipeline] sh 11:17:30 + sudo chown -R jenkins:jenkins . [Pipeline] stash 11:17:30 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 11:17:31 + sudo chown -R jenkins:jenkins . [Pipeline] sh 11:17:31 + ls -al . 11:17:31 total 204 11:17:31 drwxrwxr-x 9 jenkins jenkins 4096 Oct 12 11:17 . 11:17:31 drwxrwxr-x 4 jenkins jenkins 4096 Oct 12 11:15 .. 11:17:31 drwxrwxr-x 8 jenkins jenkins 4096 Oct 12 11:17 .git 11:17:31 drwxrwxr-x 3 jenkins jenkins 4096 Oct 12 11:15 .github 11:17:31 -rw-rw-r-- 1 jenkins jenkins 337 Oct 12 11:15 .gitignore 11:17:31 -rw-rw-r-- 1 jenkins jenkins 41 Oct 12 11:15 .golangci.yml 11:17:31 drwxr-xr-x 3 jenkins jenkins 4096 Oct 12 11:15 .semver 11:17:31 -rw-rw-r-- 1 jenkins jenkins 9708 Oct 12 11:15 Attribution.txt 11:17:31 -rw-rw-r-- 1 jenkins jenkins 14372 Oct 12 11:15 CHANGELOG.md 11:17:31 -rw-rw-r-- 1 jenkins jenkins 1646 Oct 12 11:15 Dockerfile 11:17:31 -rw-rw-r-- 1 jenkins jenkins 677 Oct 12 11:15 GOVERNANCE.md 11:17:31 -rw-rw-r-- 1 jenkins jenkins 660 Oct 12 11:15 Jenkinsfile 11:17:31 -rw-rw-r-- 1 jenkins jenkins 11340 Oct 12 11:15 LICENSE 11:17:31 -rw-rw-r-- 1 jenkins jenkins 1947 Oct 12 11:15 Makefile 11:17:31 -rw-rw-r-- 1 jenkins jenkins 623 Oct 12 11:15 OWNERS.md 11:17:31 -rw-rw-r-- 1 jenkins jenkins 4111 Oct 12 11:15 README.md 11:17:31 -rw-rw-r-- 1 jenkins jenkins 5 Oct 12 11:15 VERSION 11:17:31 drwxrwxr-x 2 jenkins jenkins 4096 Oct 12 11:15 bin 11:17:31 drwxrwxr-x 3 jenkins jenkins 4096 Oct 12 11:15 cmd 11:17:31 -rw-r--r-- 1 jenkins jenkins 43063 Oct 12 11:17 coverage.out 11:17:31 -rw-rw-r-- 1 jenkins jenkins 3638 Oct 12 11:15 go.mod 11:17:31 -rw-rw-r-- 1 jenkins jenkins 35021 Oct 12 11:15 go.sum 11:17:31 drwxrwxr-x 3 jenkins jenkins 4096 Oct 12 11:15 internal 11:17:31 drwxrwxr-x 4 jenkins jenkins 4096 Oct 12 11:15 snap 11:17:31 -rw-rw-r-- 1 jenkins jenkins 235 Oct 12 11:15 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 11:17:32 + 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=c9c3a531994621ba379367712c9abc1db165b003 --label arch=amd64 --label version=0.0.0 . 11:17:32 Sending build context to Docker daemon 23.72MB 11:17:32 Step 1/25 : ARG BASE=golang:1.21-alpine3.18 11:17:32 Step 2/25 : FROM ${BASE} AS builder 11:17:32 ---> 967013b9c040 11:17:32 Step 3/25 : ARG ALPINE_PKG_BASE="make git openssh-client" 11:17:32 ---> Running in c07ee8163938 11:17:32 Removing intermediate container c07ee8163938 11:17:32 ---> 1fdeacc24e4e 11:17:32 Step 4/25 : ARG ALPINE_PKG_EXTRA="" 11:17:32 ---> Running in ed940e8dcf68 11:17:32 Removing intermediate container ed940e8dcf68 11:17:32 ---> 7a1251568fc6 11:17:32 Step 5/25 : ARG ADD_BUILD_TAGS="" 11:17:32 ---> Running in 5258523edfba 11:17:32 Removing intermediate container 5258523edfba 11:17:32 ---> 51ef9a7ea722 11:17:32 Step 6/25 : WORKDIR /device-virtual-go 11:17:32 ---> Running in 2535ad038475 11:17:32 Removing intermediate container 2535ad038475 11:17:32 ---> b5b793f7ef39 11:17:32 Step 7/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 11:17:32 ---> Running in c22a3cfc5d9d 11:17:33 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 11:17:33 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 11:17:33 OK: 268 MiB in 56 packages 11:17:33 Removing intermediate container c22a3cfc5d9d 11:17:33 ---> 425018f83716 11:17:33 Step 8/25 : COPY go.mod vendor* ./ 11:17:33 ---> 188b27ac41fb 11:17:33 Step 9/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 11:17:33 ---> Running in c3ec4a101b7f 11:17:34 Removing intermediate container c3ec4a101b7f 11:17:34 ---> 4e7045b27dee 11:17:34 Step 10/25 : COPY . . 11:17:35 ---> 01486b46edb7 11:17:35 Step 11/25 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 11:17:35 ---> Running in 99f5958e2a9f 11:17:35 Removing intermediate container 99f5958e2a9f 11:17:35 ---> d9843e153626 11:17:35 Step 12/25 : RUN $MAKE 11:17:35 ---> Running in 564b0130f931 11:17:35 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.34" -trimpath -mod=readonly -o cmd/device-virtual ./cmd 11:17:42 Running on prd-ubuntu20.04-docker-arm64-4c-16g-9138 in /w/workspace/foundry_device-virtual-go_PR-438 [Pipeline] { [Pipeline] ws 11:17:42 Running in /w/workspace/device-virtual-go/1 [Pipeline] { [Pipeline] checkout 11:17:42 The recommended git tool is: git 11:17:47 using credential edgex-jenkins-ssh 11:17:47 Cloning the remote Git repository 11:17:47 Cloning repository git@github.com:edgexfoundry/device-virtual-go.git 11:17:47 > git init /w/workspace/device-virtual-go/1 # timeout=10 11:17:47 Fetching upstream changes from git@github.com:edgexfoundry/device-virtual-go.git 11:17:47 > git --version # timeout=10 11:17:47 > git --version # 'git version 2.25.1' 11:17:47 using GIT_SSH to set credentials SSH Credentials for GitHub 11:17:47 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-virtual-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 11:17:49 > git config remote.origin.url git@github.com:edgexfoundry/device-virtual-go.git # timeout=10 11:17:49 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 11:17:50 > git config remote.origin.url git@github.com:edgexfoundry/device-virtual-go.git # timeout=10 11:17:50 Fetching upstream changes from git@github.com:edgexfoundry/device-virtual-go.git 11:17:50 using GIT_SSH to set credentials SSH Credentials for GitHub 11:17:50 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-virtual-go.git +refs/pull/438/head:refs/remotes/origin/PR-438 +refs/heads/main:refs/remotes/origin/main # timeout=10 11:17:51 Merging remotes/origin/main commit f37031385f16eefedf40f271103157f893ed69f0 into PR head commit c9c3a531994621ba379367712c9abc1db165b003 11:17:51 Merge succeeded, producing c9c3a531994621ba379367712c9abc1db165b003 11:17:51 Checking out Revision c9c3a531994621ba379367712c9abc1db165b003 (PR-438) 11:17:51 Commit message: "build(deps): Bump github.com/edgexfoundry/device-sdk-go/v3" 11:17:52 > git --version # timeout=10 11:17:52 > git --version # 'git version 2.25.1' 11:17:52 fatal: bad object e143027787c0ac28563f7e92b6cefc600d3b7107 11:17:51 > git config core.sparsecheckout # timeout=10 11:17:51 > git checkout -f c9c3a531994621ba379367712c9abc1db165b003 # timeout=10 11:17:51 > git remote # timeout=10 11:17:51 > git config --get remote.origin.url # timeout=10 11:17:51 using GIT_SSH to set credentials SSH Credentials for GitHub 11:17:51 > git merge f37031385f16eefedf40f271103157f893ed69f0 # timeout=10 11:17:51 > git rev-parse HEAD^{commit} # timeout=10 11:17:51 > git config core.sparsecheckout # timeout=10 11:17:51 > git checkout -f c9c3a531994621ba379367712c9abc1db165b003 # timeout=10 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 11:17:53 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 11:17:53 % Total % Received % Xferd Average Speed Time Time Time Current 11:17:53 Dload Upload Total Spent Left Speed 11:17:53 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 99617 0 --:--:-- --:--:-- --:--:-- 98844 100 12751 100 12751 0 0 98844 0 --:--:-- --:--:-- --:--:-- 98084 [Pipeline] sh 11:17:53 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 11:17:54 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 11:17:54 + sudo tee /etc/docker/daemon.new 11:17:54 { 11:17:54 "registry-mirrors": [ 11:17:54 "https://nexus3.edgexfoundry.org:10001" 11:17:54 ], 11:17:54 "bip": "10.250.0.254/24", 11:17:54 "hosts": [ 11:17:54 "tcp://0.0.0.0:5555", 11:17:54 "unix:///var/run/docker.sock" 11:17:54 ], 11:17:54 "mtu": 1458, 11:17:54 "selinux-enabled": true, 11:17:54 "seccomp-profile": "/etc/docker/seccomp.json" 11:17:54 } [Pipeline] sh 11:17:54 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 11:17:54 + sudo service docker restart 11:17:57 Removing intermediate container 564b0130f931 11:17:57 ---> d1365283daee 11:17:57 Step 13/25 : FROM alpine:3.18 11:17:57 3.18: Pulling from library/alpine 11:17:57 96526aa774ef: Pulling fs layer 11:17:57 96526aa774ef: Verifying Checksum 11:17:57 96526aa774ef: Download complete 11:17:57 96526aa774ef: Pull complete 11:17:57 Digest: sha256:eece025e432126ce23f223450a0326fbebde39cdf496a85d8c016293fc851978 11:17:57 Status: Downloaded newer image for alpine:3.18 11:17:57 ---> 8ca4688f4f35 11:17:57 Step 14/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2021: IOTech' 11:17:57 ---> Running in 4257a3c2a58f 11:17:57 Removing intermediate container 4257a3c2a58f 11:17:57 ---> 32be0156ef38 11:17:57 Step 15/25 : RUN apk add --update --no-cache dumb-init 11:17:57 ---> Running in f68dd239a43f 11:17:57 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 11:17:57 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 11:17:57 (1/1) Installing dumb-init (1.2.5-r2) 11:17:57 Executing busybox-1.36.1-r2.trigger 11:17:57 OK: 7 MiB in 16 packages 11:17:57 Removing intermediate container f68dd239a43f 11:17:57 ---> 8e806a527d2e 11:17:57 Step 16/25 : WORKDIR / 11:17:57 ---> Running in 392b162aaac8 11:17:57 Removing intermediate container 392b162aaac8 11:17:57 ---> 9fd29ef9bdcc 11:17:57 Step 17/25 : COPY --from=builder /device-virtual-go/Attribution.txt / 11:17:57 ---> 15b9746797e8 11:17:57 Step 18/25 : COPY --from=builder /device-virtual-go/LICENSE / 11:17:57 ---> ea26830e1fdc 11:17:57 Step 19/25 : COPY --from=builder /device-virtual-go/cmd / 11:17:58 ---> 251ea3036165 11:17:58 Step 20/25 : EXPOSE 59900 11:17:58 ---> Running in 757cd1f931f5 11:17:58 Removing intermediate container 757cd1f931f5 11:17:58 ---> 7e742b14640a 11:17:58 Step 21/25 : ENTRYPOINT ["/device-virtual"] 11:17:58 ---> Running in 0b66ed8dcfbd 11:17:58 Removing intermediate container 0b66ed8dcfbd 11:17:58 ---> 5f7362144ef5 11:17:58 Step 22/25 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry"] 11:17:58 ---> Running in 3df909fc84f1 11:17:58 Removing intermediate container 3df909fc84f1 11:17:58 ---> 71d935b2fd07 11:17:58 Step 23/25 : LABEL arch=amd64 11:17:58 ---> Running in 51615d5d705f 11:17:58 Removing intermediate container 51615d5d705f 11:17:58 ---> 97dae9270f71 11:17:58 Step 24/25 : LABEL git_sha=c9c3a531994621ba379367712c9abc1db165b003 11:17:58 ---> Running in 66efe82d1806 11:17:58 Removing intermediate container 66efe82d1806 11:17:58 ---> 4bb081ee9593 11:17:58 Step 25/25 : LABEL version=0.0.0 11:17:58 ---> Running in 735754a425da 11:17:58 Removing intermediate container 735754a425da 11:17:58 ---> bff958019c88 11:17:58 [Warning] One or more build-args [ARCH] were not consumed 11:17:58 Successfully built bff958019c88 11:17:58 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:17:59 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 11:17:59 11:17:59 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 11:17:59 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 11:17:59 latest: Pulling from edgex-lftools-log-publisher 11:17:59 5eb5b503b376: Pulling fs layer 11:17:59 5c69ac0246d0: Pulling fs layer 11:17:59 ec43610c2a17: Pulling fs layer 11:17:59 3a2ae6a8a46f: Pulling fs layer 11:17:59 33b1e0a273af: Pulling fs layer 11:17:59 5d3b04190fa2: Pulling fs layer 11:17:59 2f39f015ded8: Pulling fs layer 11:17:59 5d3b04190fa2: Waiting 11:17:59 3a2ae6a8a46f: Waiting 11:17:59 33b1e0a273af: Waiting 11:17:59 2f39f015ded8: Waiting 11:17:59 5c69ac0246d0: Download complete 11:17:59 3a2ae6a8a46f: Download complete 11:17:59 33b1e0a273af: Verifying Checksum 11:17:59 33b1e0a273af: Download complete 11:17:59 5d3b04190fa2: Verifying Checksum 11:17:59 5d3b04190fa2: Download complete 11:17:59 ec43610c2a17: Verifying Checksum 11:17:59 ec43610c2a17: Download complete 11:18:00 5eb5b503b376: Verifying Checksum 11:18:00 5eb5b503b376: Download complete 11:18:00 2f39f015ded8: Verifying Checksum 11:18:00 2f39f015ded8: Download complete 11:18:01 5eb5b503b376: Pull complete 11:18:01 5c69ac0246d0: Pull complete 11:18:01 ec43610c2a17: Pull complete 11:18:02 3a2ae6a8a46f: Pull complete 11:18:02 33b1e0a273af: Pull complete 11:18:02 5d3b04190fa2: Pull complete 11:18:06 2f39f015ded8: Pull complete 11:18:06 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 11:18:06 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 11:18:06 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 11:18:06 prd-ubuntu20.04-docker-8c-8g-9137 does not seem to be running inside a container 11:18:06 $ 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-438 -v /w/workspace/foundry_device-virtual-go_PR-438:/w/workspace/foundry_device-virtual-go_PR-438:rw,z -v /w/workspace/foundry_device-virtual-go_PR-438@tmp:/w/workspace/foundry_device-virtual-go_PR-438@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:18:11 $ docker top 235c1a54c1d049965bb4c5667a1d886725afe59759a65a5dfbc744f21ebeb55a -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 11:18:12 ---> job-cost.sh 11:18:12 lf-activate-venv: SKIPPING 11:18:12 INFO: No Stack... 11:18:12 INFO: Retrieving Pricing Info for: v3-standard-8 11:18:13 INFO: Archiving Costs [Pipeline] sh [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 11:18:13 provisioning config files... 11:18:13 copy managed file [device-virtual-go-settings] to file:/w/workspace/device-virtual-go/1@tmp/config14277279864324369799tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 11:18:13 + cat /w/workspace/foundry_device-virtual-go_PR-438/archives/cost.csv 11:18:13 + cut -d, -f6 [Pipeline] lock 11:18:13 Trying to acquire lock on [jenkins-edgexfoundry-device-virtual-go-PR-438-1-stack-cost] 11:18:13 Resource [jenkins-edgexfoundry-device-virtual-go-PR-438-1-stack-cost] did not exist. Created. 11:18:13 Lock acquired on [jenkins-edgexfoundry-device-virtual-go-PR-438-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 11:18:13 ---> docker-login.sh 11:18:13 nexus3.edgexfoundry.org:10001 11:18:13 + echo total: 0.2199999988079071 [Pipeline] stash 11:18:13 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 11:18:14 Stashed 1 file(s) [Pipeline] } 11:18:14 Lock released on resource [jenkins-edgexfoundry-device-virtual-go-PR-438-1-stack-cost] [Pipeline] // lock [Pipeline] } 11:18:14 $ docker stop --time=1 235c1a54c1d049965bb4c5667a1d886725afe59759a65a5dfbc744f21ebeb55a 11:18:14 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 11:18:14 Configure a credential helper to remove this warning. See 11:18:14 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 11:18:14 11:18:14 Login Succeeded 11:18:14 nexus3.edgexfoundry.org:10002 11:18:14 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 11:18:14 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 11:18:14 Configure a credential helper to remove this warning. See 11:18:14 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 11:18:14 11:18:14 Login Succeeded 11:18:14 nexus3.edgexfoundry.org:10003 11:18:14 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 11:18:15 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 11:18:15 Configure a credential helper to remove this warning. See 11:18:15 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 11:18:15 11:18:15 Login Succeeded 11:18:15 nexus3.edgexfoundry.org:10004 11:18:15 $ docker rm -f --volumes 235c1a54c1d049965bb4c5667a1d886725afe59759a65a5dfbc744f21ebeb55a 11:18:15 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 11:18:15 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 11:18:15 Configure a credential helper to remove this warning. See 11:18:15 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 11:18:15 11:18:15 Login Succeeded 11:18:15 docker.io [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv 11:18:15 WARNING! Using --password via the CLI is insecure. Use --password-stdin. [Pipeline] } [Pipeline] // stage [Pipeline] } 11:18:15 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 11:18:15 Configure a credential helper to remove this warning. See 11:18:15 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 11:18:15 11:18:15 Login Succeeded 11:18:15 ---> docker-login.sh ends [Pipeline] } 11:18:15 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 11:18:16 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 11:18:16 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 11:18:16 ========================================================= 11:18:16 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine] 11:18:16 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 11:18:16 + 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:18:17 Sending build context to Docker daemon 11.98MB 11:18:17 Step 1/12 : ARG BASE=golang:1.21-alpine3.18 11:18:17 Step 2/12 : FROM ${BASE} AS builder 11:18:17 1.21-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 11:18:17 9fda8d8052c6: Pulling fs layer 11:18:17 5d54e960e981: Pulling fs layer 11:18:17 c4a7e357bf2a: Pulling fs layer 11:18:17 f0e02332f6b5: Pulling fs layer 11:18:17 cefa15bbcfad: Pulling fs layer 11:18:17 17808c966233: Pulling fs layer 11:18:17 f4c1fc716caa: Pulling fs layer 11:18:17 cefa15bbcfad: Waiting 11:18:17 17808c966233: Waiting 11:18:17 f4c1fc716caa: Waiting 11:18:17 f0e02332f6b5: Waiting 11:18:17 5d54e960e981: Verifying Checksum 11:18:17 5d54e960e981: Download complete 11:18:17 f0e02332f6b5: Verifying Checksum 11:18:17 f0e02332f6b5: Download complete 11:18:17 cefa15bbcfad: Verifying Checksum 11:18:17 cefa15bbcfad: Download complete 11:18:17 9fda8d8052c6: Verifying Checksum 11:18:17 9fda8d8052c6: Download complete 11:18:17 f4c1fc716caa: Verifying Checksum 11:18:17 f4c1fc716caa: Download complete 11:18:18 9fda8d8052c6: Pull complete 11:18:19 5d54e960e981: Pull complete 11:18:19 c4a7e357bf2a: Verifying Checksum 11:18:19 c4a7e357bf2a: Download complete 11:18:20 17808c966233: Verifying Checksum 11:18:20 17808c966233: Download complete 11:18:32 c4a7e357bf2a: Pull complete 11:18:32 f0e02332f6b5: Pull complete 11:18:32 cefa15bbcfad: Pull complete 11:18:41 17808c966233: Pull complete 11:18:42 f4c1fc716caa: Pull complete 11:18:42 Digest: sha256:f9b5da702465edd0a2564459334de068a24595700ad6c8d0b85b07445f0b3000 11:18:42 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine 11:18:42 ---> ea914061e18c 11:18:42 Step 3/12 : ARG ALPINE_PKG_BASE="make git openssh-client" 11:18:44 ---> Running in 9dece29e9aba 11:18:44 Removing intermediate container 9dece29e9aba 11:18:44 ---> 1533dbc3f70f 11:18:44 Step 4/12 : ARG ALPINE_PKG_EXTRA="" 11:18:44 ---> Running in 5106a277505b 11:18:45 Removing intermediate container 5106a277505b 11:18:45 ---> 4ca4a77881b6 11:18:45 Step 5/12 : ARG ADD_BUILD_TAGS="" 11:18:45 ---> Running in 51ce1ff7255e 11:18:45 Removing intermediate container 51ce1ff7255e 11:18:45 ---> d8781ef00327 11:18:45 Step 6/12 : WORKDIR /device-virtual-go 11:18:45 ---> Running in 1b4cebf185a3 11:18:45 Removing intermediate container 1b4cebf185a3 11:18:45 ---> 0e05074d8cd8 11:18:45 Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 11:18:45 ---> Running in 4d20240f74f9 11:18:46 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 11:18:47 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 11:18:48 (1/4) Installing openssh-keygen (9.3_p2-r0) 11:18:48 (2/4) Installing libedit (20221030.3.1-r1) 11:18:48 (3/4) Installing openssh-client-common (9.3_p2-r0) 11:18:48 (4/4) Installing openssh-client-default (9.3_p2-r0) 11:18:48 Executing busybox-1.36.1-r2.trigger 11:18:48 OK: 270 MiB in 56 packages 11:18:49 Removing intermediate container 4d20240f74f9 11:18:49 ---> c80bfca94f09 11:18:49 Step 8/12 : COPY go.mod vendor* ./ 11:18:52 ---> b901b9b4f5de 11:18:52 Step 9/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 11:18:52 ---> Running in 9c1eb05e8a14 11:20:29 Removing intermediate container 9c1eb05e8a14 11:20:29 ---> 0a5ef9d94a3f 11:20:29 Step 10/12 : COPY . . 11:20:29 ---> 66e39ffb456f 11:20:29 Step 11/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 11:20:29 ---> Running in a49d21a0ea74 11:20:29 Removing intermediate container a49d21a0ea74 11:20:29 ---> ae9ed5f5e1ac 11:20:29 Step 12/12 : RUN $MAKE 11:20:29 ---> Running in 29c1b20ee51e 11:20:29 noop 11:20:29 Removing intermediate container 29c1b20ee51e 11:20:29 ---> b37d8ecb408e 11:20:29 Successfully built b37d8ecb408e 11:20:29 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 11:20:29 + docker inspect -f . ci-base-image-arm64 11:20:29 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 11:20:30 prd-ubuntu20.04-docker-arm64-4c-16g-9138 does not seem to be running inside a container 11:20:30 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-virtual-go/1 -v /w/workspace/device-virtual-go/1:/w/workspace/device-virtual-go/1:rw,z -v /w/workspace/device-virtual-go/1@tmp:/w/workspace/device-virtual-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 11:20:31 $ docker top 023f5d48eb9a3cea4cc35aed1328d5c3249b3dd4057f70c96ac1f0c56c33b62b -eo pid,comm [Pipeline] { [Pipeline] sh 11:20:32 + go version 11:20:32 go version go1.21.0 linux/arm64 [Pipeline] } 11:20:32 $ docker stop --time=1 023f5d48eb9a3cea4cc35aed1328d5c3249b3dd4057f70c96ac1f0c56c33b62b 11:20:34 $ docker rm -f --volumes 023f5d48eb9a3cea4cc35aed1328d5c3249b3dd4057f70c96ac1f0c56c33b62b [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 11:20:34 + docker inspect -f . ci-base-image-arm64 11:20:34 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 11:20:35 prd-ubuntu20.04-docker-arm64-4c-16g-9138 does not seem to be running inside a container 11:20:35 $ 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:20:36 $ docker top a99db8f7b22a75ff2b123e8dcc275e92caf4f20c14aa2491ac6c2a1d26ed20e1 -eo pid,comm [Pipeline] { [Pipeline] sh 11:20:36 + git config --global --add safe.directory /w/workspace/device-virtual-go/1 [Pipeline] fileExists [Pipeline] sh 11:20:38 + make test 11:20:38 go test ./... -coverprofile=coverage.out 11:20:45 ? github.com/edgexfoundry/device-virtual-go [no test files] 11:22:06 ? github.com/edgexfoundry/device-virtual-go/cmd [no test files] 11:22:06 ok github.com/edgexfoundry/device-virtual-go/internal/driver 0.070s coverage: 58.4% of statements 11:22:07 WARNING: Linting skipped (not on x86_64 or linter not installed) 11:22:07 go vet ./... 11:22:29 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 11:22:29 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 11:22:29 ./bin/test-attribution-txt.sh [Pipeline] echo 11:22:30 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 11:22:30 $ docker stop --time=1 a99db8f7b22a75ff2b123e8dcc275e92caf4f20c14aa2491ac6c2a1d26ed20e1 11:22:31 $ docker rm -f --volumes a99db8f7b22a75ff2b123e8dcc275e92caf4f20c14aa2491ac6c2a1d26ed20e1 [Pipeline] // withDockerContainer [Pipeline] sh 11:22:33 + sudo chown -R jenkins:jenkins . [Pipeline] stash 11:22:33 Warning: overwriting stash ‘coverage-report’ 11:22:33 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 11:22:34 + sudo chown -R jenkins:jenkins . [Pipeline] sh 11:22:34 + ls -al . 11:22:34 total 200 11:22:34 drwxrwxr-x 8 jenkins jenkins 4096 Oct 12 11:20 . 11:22:34 drwxrwxr-x 4 jenkins jenkins 4096 Oct 12 11:17 .. 11:22:34 drwxrwxr-x 8 jenkins jenkins 4096 Oct 12 11:17 .git 11:22:34 drwxrwxr-x 3 jenkins jenkins 4096 Oct 12 11:17 .github 11:22:34 -rw-rw-r-- 1 jenkins jenkins 337 Oct 12 11:17 .gitignore 11:22:34 -rw-rw-r-- 1 jenkins jenkins 41 Oct 12 11:17 .golangci.yml 11:22:34 -rw-rw-r-- 1 jenkins jenkins 9708 Oct 12 11:17 Attribution.txt 11:22:34 -rw-rw-r-- 1 jenkins jenkins 14372 Oct 12 11:17 CHANGELOG.md 11:22:34 -rw-rw-r-- 1 jenkins jenkins 1646 Oct 12 11:17 Dockerfile 11:22:34 -rw-rw-r-- 1 jenkins jenkins 677 Oct 12 11:17 GOVERNANCE.md 11:22:34 -rw-rw-r-- 1 jenkins jenkins 660 Oct 12 11:17 Jenkinsfile 11:22:34 -rw-rw-r-- 1 jenkins jenkins 11340 Oct 12 11:17 LICENSE 11:22:34 -rw-rw-r-- 1 jenkins jenkins 1947 Oct 12 11:17 Makefile 11:22:34 -rw-rw-r-- 1 jenkins jenkins 623 Oct 12 11:17 OWNERS.md 11:22:34 -rw-rw-r-- 1 jenkins jenkins 4111 Oct 12 11:17 README.md 11:22:34 -rw-rw-r-- 1 jenkins jenkins 5 Oct 12 11:15 VERSION 11:22:34 drwxrwxr-x 2 jenkins jenkins 4096 Oct 12 11:17 bin 11:22:34 drwxrwxr-x 3 jenkins jenkins 4096 Oct 12 11:17 cmd 11:22:34 -rw-r--r-- 1 jenkins jenkins 43063 Oct 12 11:22 coverage.out 11:22:34 -rw-rw-r-- 1 jenkins jenkins 3638 Oct 12 11:17 go.mod 11:22:34 -rw-rw-r-- 1 jenkins jenkins 35021 Oct 12 11:17 go.sum 11:22:34 drwxrwxr-x 3 jenkins jenkins 4096 Oct 12 11:17 internal 11:22:34 drwxrwxr-x 4 jenkins jenkins 4096 Oct 12 11:17 snap 11:22:34 -rw-rw-r-- 1 jenkins jenkins 235 Oct 12 11:17 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 11:22:34 + 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=c9c3a531994621ba379367712c9abc1db165b003 --label arch=arm64 --label version=0.0.0 . 11:22:35 Sending build context to Docker daemon 12.02MB 11:22:35 Step 1/25 : ARG BASE=golang:1.21-alpine3.18 11:22:35 Step 2/25 : FROM ${BASE} AS builder 11:22:35 ---> b37d8ecb408e 11:22:35 Step 3/25 : ARG ALPINE_PKG_BASE="make git openssh-client" 11:22:35 ---> Running in d86cbd591130 11:22:35 Removing intermediate container d86cbd591130 11:22:35 ---> db9bb62eaf3c 11:22:35 Step 4/25 : ARG ALPINE_PKG_EXTRA="" 11:22:35 ---> Running in 03931d5008f2 11:22:35 Removing intermediate container 03931d5008f2 11:22:35 ---> d43e5ea6410e 11:22:35 Step 5/25 : ARG ADD_BUILD_TAGS="" 11:22:36 ---> Running in 9ceeff7dd601 11:22:36 Removing intermediate container 9ceeff7dd601 11:22:36 ---> 9f770b0ab049 11:22:36 Step 6/25 : WORKDIR /device-virtual-go 11:22:36 ---> Running in d0ef921ff864 11:22:36 Removing intermediate container d0ef921ff864 11:22:36 ---> c8bba02cae6a 11:22:36 Step 7/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 11:22:36 ---> Running in e89a51a32c5b 11:22:37 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 11:22:38 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 11:22:39 OK: 270 MiB in 56 packages 11:22:39 Removing intermediate container e89a51a32c5b 11:22:39 ---> 602d58242c83 11:22:39 Step 8/25 : COPY go.mod vendor* ./ 11:22:43 ---> cd6b24d0d6b1 11:22:43 Step 9/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 11:22:43 ---> Running in aa575a80fae2 11:22:45 Removing intermediate container aa575a80fae2 11:22:45 ---> 417f7c70529d 11:22:45 Step 10/25 : COPY . . 11:22:46 ---> c1d36fa0b0cf 11:22:46 Step 11/25 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 11:22:46 ---> Running in bddada99fc00 11:22:46 Removing intermediate container bddada99fc00 11:22:46 ---> 6e30f5c9a8ae 11:22:46 Step 12/25 : RUN $MAKE 11:22:46 ---> Running in c6a997bc01ab 11:22:47 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.34" -trimpath -mod=readonly -o cmd/device-virtual ./cmd 11:24:24 Removing intermediate container c6a997bc01ab 11:24:24 ---> ff2a1013f33f 11:24:24 Step 13/25 : FROM alpine:3.18 11:24:25 3.18: Pulling from library/alpine 11:24:25 579b34f0a95b: Pulling fs layer 11:24:25 579b34f0a95b: Verifying Checksum 11:24:25 579b34f0a95b: Download complete 11:24:26 579b34f0a95b: Pull complete 11:24:26 Digest: sha256:eece025e432126ce23f223450a0326fbebde39cdf496a85d8c016293fc851978 11:24:26 Status: Downloaded newer image for alpine:3.18 11:24:26 ---> 3cc203321400 11:24:26 Step 14/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2021: IOTech' 11:24:26 ---> Running in 4b5e780f55ec 11:24:26 Removing intermediate container 4b5e780f55ec 11:24:26 ---> 83830758846f 11:24:26 Step 15/25 : RUN apk add --update --no-cache dumb-init 11:24:26 ---> Running in fbdc06fe7a5b 11:24:27 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 11:24:27 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 11:24:28 (1/1) Installing dumb-init (1.2.5-r2) 11:24:28 Executing busybox-1.36.1-r2.trigger 11:24:28 OK: 8 MiB in 16 packages 11:24:30 Removing intermediate container fbdc06fe7a5b 11:24:30 ---> f11d075f6aa9 11:24:30 Step 16/25 : WORKDIR / 11:24:30 ---> Running in 6af05bac266b 11:24:30 Removing intermediate container 6af05bac266b 11:24:30 ---> b672b2dedc9c 11:24:30 Step 17/25 : COPY --from=builder /device-virtual-go/Attribution.txt / 11:24:31 ---> c52c8bef85ab 11:24:31 Step 18/25 : COPY --from=builder /device-virtual-go/LICENSE / 11:24:31 ---> 27830f311efd 11:24:31 Step 19/25 : COPY --from=builder /device-virtual-go/cmd / 11:24:32 ---> 146badc94e66 11:24:32 Step 20/25 : EXPOSE 59900 11:24:33 ---> Running in ad9581366ea5 11:24:33 Removing intermediate container ad9581366ea5 11:24:33 ---> f854e2781c60 11:24:33 Step 21/25 : ENTRYPOINT ["/device-virtual"] 11:24:33 ---> Running in cbb1e003aaa3 11:24:33 Removing intermediate container cbb1e003aaa3 11:24:33 ---> a501bf2859dc 11:24:33 Step 22/25 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry"] 11:24:33 ---> Running in 787b9856b635 11:24:33 Removing intermediate container 787b9856b635 11:24:33 ---> aba0afc3db3b 11:24:33 Step 23/25 : LABEL arch=arm64 11:24:34 ---> Running in 3843e66f37a3 11:24:34 Removing intermediate container 3843e66f37a3 11:24:34 ---> 83a901fd69ca 11:24:34 Step 24/25 : LABEL git_sha=c9c3a531994621ba379367712c9abc1db165b003 11:24:34 ---> Running in 15f9b4da8d7a 11:24:34 Removing intermediate container 15f9b4da8d7a 11:24:34 ---> 916d162d992c 11:24:34 Step 25/25 : LABEL version=0.0.0 11:24:34 ---> Running in b5813a8090a2 11:24:34 Removing intermediate container b5813a8090a2 11:24:34 ---> aa899bf404f3 11:24:34 [Warning] One or more build-args [ARCH] were not consumed 11:24:34 Successfully built aa899bf404f3 11:24:34 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:24:35 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 11:24:35 11:24:35 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 11:24:36 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 11:24:36 arm64: Pulling from edgex-lftools-log-publisher 11:24:36 8998bd30e6a1: Pulling fs layer 11:24:36 04944245beec: Pulling fs layer 11:24:36 699f458cf7ca: Pulling fs layer 11:24:36 765212b225bb: Pulling fs layer 11:24:36 f23df028b6ca: Pulling fs layer 11:24:36 d65c8cfc05b1: Pulling fs layer 11:24:36 2437ff75d9bd: Pulling fs layer 11:24:36 765212b225bb: Waiting 11:24:36 f23df028b6ca: Waiting 11:24:36 d65c8cfc05b1: Waiting 11:24:36 2437ff75d9bd: Waiting 11:24:36 04944245beec: Verifying Checksum 11:24:36 04944245beec: Download complete 11:24:36 765212b225bb: Verifying Checksum 11:24:36 765212b225bb: Download complete 11:24:36 f23df028b6ca: Verifying Checksum 11:24:36 f23df028b6ca: Download complete 11:24:36 d65c8cfc05b1: Verifying Checksum 11:24:36 d65c8cfc05b1: Download complete 11:24:36 699f458cf7ca: Verifying Checksum 11:24:36 699f458cf7ca: Download complete 11:24:36 8998bd30e6a1: Verifying Checksum 11:24:36 8998bd30e6a1: Download complete 11:24:39 2437ff75d9bd: Download complete 11:24:41 8998bd30e6a1: Pull complete 11:24:41 04944245beec: Pull complete 11:24:43 699f458cf7ca: Pull complete 11:24:43 765212b225bb: Pull complete 11:24:44 f23df028b6ca: Pull complete 11:24:44 d65c8cfc05b1: Pull complete 11:25:02 2437ff75d9bd: Pull complete 11:25:02 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 11:25:02 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 11:25:02 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 11:25:02 prd-ubuntu20.04-docker-arm64-4c-16g-9138 does not seem to be running inside a container 11:25:03 $ 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:25:05 $ docker top 33425d03f202b7326f92cece9ac954326aa6e3bb9763c1d81ead166c232a206a -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 11:25:06 ---> job-cost.sh 11:25:06 lf-activate-venv: SKIPPING 11:25:06 INFO: No Stack... 11:25:06 INFO: Retrieving Pricing Info for: v3-standard-4 11:25:07 INFO: Archiving Costs [Pipeline] sh 11:25:08 + + catcut /w/workspace/device-virtual-go/1/archives/cost.csv -d, 11:25:08 -f6 [Pipeline] lock 11:25:08 Trying to acquire lock on [jenkins-edgexfoundry-device-virtual-go-PR-438-1-stack-cost] 11:25:08 Resource [jenkins-edgexfoundry-device-virtual-go-PR-438-1-stack-cost] did not exist. Created. 11:25:08 Lock acquired on [jenkins-edgexfoundry-device-virtual-go-PR-438-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 11:25:08 /w/workspace/device-virtual-go/1@tmp/durable-2fccb46f/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 11:25:09 + echo total: 0.10999999940395355 [Pipeline] stash 11:25:09 Warning: overwriting stash ‘stack-cost’ 11:25:09 Stashed 1 file(s) [Pipeline] } 11:25:09 Lock released on resource [jenkins-edgexfoundry-device-virtual-go-PR-438-1-stack-cost] [Pipeline] // lock [Pipeline] } 11:25:09 $ docker stop --time=1 33425d03f202b7326f92cece9ac954326aa6e3bb9763c1d81ead166c232a206a 11:25:12 $ docker rm -f --volumes 33425d03f202b7326f92cece9ac954326aa6e3bb9763c1d81ead166c232a206a [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:25:13 provisioning config files... 11:25:13 copy managed file [device-virtual-go-codecov-token] to file:/w/workspace/foundry_device-virtual-go_PR-438@tmp/config9432629615649964379tmp [Pipeline] { [Pipeline] sh 11:25:13 + set +x 11:25:13 + bash -s -- 11:25:13 + curl -s https://codecov.io/bash 11:25:13 11:25:13 _____ _ 11:25:13 / ____| | | 11:25:13 | | ___ __| | ___ ___ _____ __ 11:25:13 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 11:25:13 | |___| (_) | (_| | __/ (_| (_) \ V / 11:25:13 \_____\___/ \__,_|\___|\___\___/ \_/ 11:25:13 Bash-1.0.6 11:25:13 11:25:13 11:25:13 ==> git version 2.25.1 found 11:25:13 ==> 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:25:13 Release-Date: 2020-01-08 11:25:13 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:25:13 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 11:25:13 ==> Jenkins CI detected. 11:25:13 current dir:  /w/workspace/foundry_device-virtual-go_PR-438 11:25:13 project root: . 11:25:13 --> token set from env 11:25:13 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 11:25:13 ==> Running gcov in . (disable via -X gcov) 11:25:13 ==> Python coveragepy not found 11:25:13 ==> Searching for coverage reports in: 11:25:13 + . 11:25:13 -> Found 1 reports 11:25:13 ==> Detecting git/mercurial file structure 11:25:13 ==> Reading reports 11:25:13 + ./coverage.out bytes=43063 11:25:13 ==> Appending adjustments 11:25:13 https://docs.codecov.io/docs/fixing-reports 11:25:13 + Found adjustments 11:25:13 ==> Gzipping contents 11:25:13 8.0K /tmp/codecov.PH88iP.gz 11:25:13 ==> Uploading reports 11:25:13 url: https://codecov.io 11:25:13 query: branch=PR-438&commit=c9c3a531994621ba379367712c9abc1db165b003&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-virtual-go%2Fjob%2FPR-438%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-virtual-go&service=jenkins&flags=&pr=438&job=&cmd_args= 11:25:13 -> Pinging Codecov 11:25:13 https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=a35e349c-7876-4d48-9269-e9fc36774240&branch=PR-438&commit=c9c3a531994621ba379367712c9abc1db165b003&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-virtual-go%2Fjob%2FPR-438%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-virtual-go&service=jenkins&flags=&pr=438&job=&cmd_args= 11:25:14 -> Uploading to 11:25:14 https://storage.googleapis.com/codecov/v4/raw/2023-10-12/5E52B4B073DB2E39498172D8E973AA87/c9c3a531994621ba379367712c9abc1db165b003/3061c5c4-5cc7-4bbd-808d-6bcf43a69fda.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20231012%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20231012T112513Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=cdb2af205ee63a911c83394eed28b374b77ca6dc19bec5e0e4ae7fbb9d72c792 11:25:14 % Total % Received % Xferd Average Speed Time Time Time Current 11:25:14 Dload Upload Total Spent Left Speed 11:25:14 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 5184 0 0 100 5184 0 18919 --:--:-- --:--:-- --:--:-- 18919 11:25:14 -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-virtual-go/commit/c9c3a531994621ba379367712c9abc1db165b003 [Pipeline] } 11:25:14 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:25:16 + [ -d /w/workspace/foundry_device-virtual-go_PR-438/archives ] 11:25:16 + ls -al /w/workspace/foundry_device-virtual-go_PR-438/archives 11:25:16 total 16 11:25:16 drwxr-xr-x 3 root root 4096 Oct 12 11:18 . 11:25:16 drwxrwxr-x 10 jenkins jenkins 4096 Oct 12 11:18 .. 11:25:16 drwxr-xr-x 2 root root 4096 Oct 12 11:18 cost 11:25:16 -rw-r--r-- 1 root root 89 Oct 12 11:18 cost.csv 11:25:16 + sudo chown -R jenkins:jenkins /w/workspace/foundry_device-virtual-go_PR-438/archives 11:25:16 + ls -al /w/workspace/foundry_device-virtual-go_PR-438/archives 11:25:16 total 16 11:25:16 drwxr-xr-x 3 jenkins jenkins 4096 Oct 12 11:18 . 11:25:16 drwxrwxr-x 10 jenkins jenkins 4096 Oct 12 11:18 .. 11:25:16 drwxr-xr-x 2 jenkins jenkins 4096 Oct 12 11:18 cost 11:25:16 -rw-r--r-- 1 jenkins jenkins 89 Oct 12 11:18 cost.csv [Pipeline] libraryResource [Pipeline] sh 11:25:16 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 11:25:17 ---> package-listing.sh 11:25:17 ++ facter osfamily 11:25:17 ++ tr '[:upper:]' '[:lower:]' 11:25:17 + OS_FAMILY=debian 11:25:17 + workspace=/w/workspace/foundry_device-virtual-go_PR-438 11:25:17 + START_PACKAGES=/tmp/packages_start.txt 11:25:17 + END_PACKAGES=/tmp/packages_end.txt 11:25:17 + DIFF_PACKAGES=/tmp/packages_diff.txt 11:25:17 + PACKAGES=/tmp/packages_start.txt 11:25:17 + '[' /w/workspace/foundry_device-virtual-go_PR-438 ']' 11:25:17 + PACKAGES=/tmp/packages_end.txt 11:25:17 + case "${OS_FAMILY}" in 11:25:17 + dpkg -l 11:25:17 + grep '^ii' 11:25:17 + '[' -f /tmp/packages_start.txt ']' 11:25:17 + '[' -f /tmp/packages_end.txt ']' 11:25:17 + diff /tmp/packages_start.txt /tmp/packages_end.txt 11:25:17 + '[' /w/workspace/foundry_device-virtual-go_PR-438 ']' 11:25:17 + mkdir -p /w/workspace/foundry_device-virtual-go_PR-438/archives/ 11:25:17 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/foundry_device-virtual-go_PR-438/archives/ [Pipeline] echo 11:25:17 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-438/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 11:25:18 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 11:25:18 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 11:25:18 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 11:25:18 prd-ubuntu20.04-docker-8c-8g-9137 does not seem to be running inside a container 11:25:19 $ 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-438/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-438 -v /w/workspace/foundry_device-virtual-go_PR-438:/w/workspace/foundry_device-virtual-go_PR-438:rw,z -v /w/workspace/foundry_device-virtual-go_PR-438@tmp:/w/workspace/foundry_device-virtual-go_PR-438@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:25:19 $ docker top 06e720c7d9bea3fc0d528715b410a0ee5fc4e8fe893ce357208a948495dc753b -eo pid,comm [Pipeline] { [Pipeline] sh 11:25:19 + touch /tmp/pre-build-complete [Pipeline] sh 11:25:19 + mkdir -p /var/log/sysstat [Pipeline] sh 11:25:20 + ls /var/log/sa-host 11:25:20 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 11:25:20 provisioning config files... 11:25:20 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/foundry_device-virtual-go_PR-438@tmp/config15548156874744058021tmp [Pipeline] { [Pipeline] echo 11:25:20 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 11:25:20 ---> create-netrc.sh [Pipeline] } 11:25:20 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 11:25:21 ---> python-tools-install.sh [Pipeline] echo 11:25:21 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 11:25:21 ---> sudo-logs.sh 11:25:21 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 11:25:21 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 11:25:21 ---> job-cost.sh 11:25:21 lf-activate-venv: SKIPPING 11:25:21 DEBUG: total: 0.2199999988079071 11:25:21 INFO: Retrieving Stack Cost... 11:25:22 INFO: Retrieving Pricing Info for: v3-standard-8 11:25:22 INFO: Archiving Costs [Pipeline] echo 11:25:22 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 11:25:23 ---> logs-deploy.sh 11:25:23 lf-activate-venv: SKIPPING 11:25:23 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-virtual-go/PR-438/1 11:25:23 INFO: archiving workspace using pattern(s): 11:25:24 Archives upload complete. 11:25:24 INFO: archiving logs to Nexus