Pull request #354 updated Connecting to https://api.github.com using edgex-jenkins github personal access token Connecting to https://api.github.com to check permissions of obtain list of farshidtz for edgexfoundry/device-virtual-go Obtained Jenkinsfile from f4aa25c481686a6f2c13da3f17e831db9f91a5c8+1705bfbb6261e298477ee3ade5426f3d03c5e783 (2abada14efb22132363b9e4724455c3d20d19c42) 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-ssh6406439817160480039.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 66200e8eedfc470904d6b329e562ec5b45423d6a 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-ssh15821906396265542905.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 66200e8eedfc470904d6b329e562ec5b45423d6a The recommended git tool is: git using credential edgex-jenkins-ssh > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-virtual-go/branches/PR-354/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82/.git # timeout=10 Fetching changes from the remote Git repository > 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 > 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-354/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh9944603594301262847.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 66200e8eedfc470904d6b329e562ec5b45423d6a (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 66200e8eedfc470904d6b329e562ec5b45423d6a # timeout=10 Commit message: "feat: add capability to use golang 1.20 (#427)" > 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 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-ssh10895688255677425773.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 > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-virtual-go/branches/PR-354/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e/.git # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 Fetching without tags 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-354/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh10276717002232290403.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 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 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-virtual-go] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[ubuntu20.04-docker-8c-8g, ubuntu20.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-virtual-go-settings PROJECT: device-virtual-go USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.20 USE_ALPINE: true DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-virtual DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: false SWAGGER_API_FOLDERS: openapi/v1 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org SNYK_DEBUG: false [Pipeline] node Still waiting to schedule task Waiting for next available executor on ‘prd-ubuntu20.04-docker-8c-8g-384’ Running on prd-ubuntu20.04-docker-8c-8g-432 in /w/workspace/foundry_device-virtual-go_PR-354 [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-354 # 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/354/head:refs/remotes/origin/PR-354 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit 1705bfbb6261e298477ee3ade5426f3d03c5e783 into PR head commit f4aa25c481686a6f2c13da3f17e831db9f91a5c8 Merge succeeded, producing 764eb32c09e18a6d8e675ec4b9d5a3bd4c709264 Checking out Revision 764eb32c09e18a6d8e675ec4b9d5a3bd4c709264 (PR-354) > git config core.sparsecheckout # timeout=10 > git checkout -f f4aa25c481686a6f2c13da3f17e831db9f91a5c8 # 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 1705bfbb6261e298477ee3ade5426f3d03c5e783 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 764eb32c09e18a6d8e675ec4b9d5a3bd4c709264 # timeout=10 Commit message: "Merge commit '1705bfbb6261e298477ee3ade5426f3d03c5e783' into HEAD" First time build. Skipping changelog. [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 09:40:28 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 09:40:28 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 09:40:28 ========================================================= 09:40:28 EdgeX Global Pipelines Version Info 09:40:28 ========================================================= [Pipeline] libraryResource [Pipeline] sh 09:40:28 ------------------- 09:40:28 stable info: 09:40:28 ------------------- 09:40:28 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 09:40:28 Commit SHA: 66200e8eedfc470904d6b329e562ec5b45423d6a 09:40:28 Message: update stable to v1.0.245 > git rev-list --no-walk 91171111dd57ea4fc0aaa446ddbd6e411b2deece # timeout=10 09:40:29 ------------------- 09:40:29 experimental info: 09:40:29 ------------------- 09:40:29 Commited By: **** collab-it+edgex@linuxfoundation.org 09:40:29 Commit SHA: eb5041bb0874f6b7cdca3e6793e1ef87c0289dce 09:40:29 Message: update experimental to v1.0.246 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 09:40:29 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-virtual-go-settings [Pipeline] echo 09:40:29 [edgeXSetupEnvironment]: set envvar PROJECT = device-virtual-go [Pipeline] echo 09:40:29 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 09:40:29 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 09:40:29 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 09:40:29 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.20 [Pipeline] echo 09:40:29 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 09:40:29 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 09:40:29 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 09:40:29 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 09:40:29 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 09:40:29 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-virtual [Pipeline] echo 09:40:29 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 09:40:29 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 09:40:29 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 09:40:29 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 09:40:29 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 09:40:29 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 09:40:29 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 09:40:29 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 09:40:29 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 09:40:29 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 09:40:29 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 09:40:29 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 09:40:29 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 09:40:29 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 09:40:29 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 09:40:29 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-354 [Pipeline] echo 09:40:29 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-354 [Pipeline] echo 09:40:29 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-354 [Pipeline] echo 09:40:29 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 764eb32c09e18a6d8e675ec4b9d5a3bd4c709264 [Pipeline] echo 09:40:30 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 764eb32 [Pipeline] echo 09:40:30 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 09:40:30 provisioning config files... 09:40:30 copy managed file [device-virtual-go-settings] to file:/w/workspace/foundry_device-virtual-go_PR-354@tmp/config942099259896447940tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 09:40:30 ---> docker-login.sh 09:40:30 nexus3.edgexfoundry.org:10001 09:40:30 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:40:30 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 09:40:30 Configure a credential helper to remove this warning. See 09:40:30 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 09:40:30 09:40:30 Login Succeeded 09:40:30 nexus3.edgexfoundry.org:10002 09:40:30 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:40:30 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 09:40:30 Configure a credential helper to remove this warning. See 09:40:30 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 09:40:30 09:40:30 Login Succeeded 09:40:30 nexus3.edgexfoundry.org:10003 09:40:30 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:40:31 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 09:40:31 Configure a credential helper to remove this warning. See 09:40:31 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 09:40:31 09:40:31 Login Succeeded 09:40:31 nexus3.edgexfoundry.org:10004 09:40:31 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:40:31 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 09:40:31 Configure a credential helper to remove this warning. See 09:40:31 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 09:40:31 09:40:31 Login Succeeded 09:40:31 docker.io 09:40:31 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:40:31 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 09:40:31 Configure a credential helper to remove this warning. See 09:40:31 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 09:40:31 09:40:31 Login Succeeded 09:40:31 ---> docker-login.sh ends [Pipeline] } 09:40:31 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 09:40:31 + git rev-list -1 --merges 764eb32c09e18a6d8e675ec4b9d5a3bd4c709264~1..764eb32c09e18a6d8e675ec4b9d5a3bd4c709264 [Pipeline] echo 09:40:31 -----------> git rev-list -1 --merges 764eb32c09e18a6d8e675ec4b9d5a3bd4c709264~1..764eb32c09e18a6d8e675ec4b9d5a3bd4c709264 764eb32c09e18a6d8e675ec4b9d5a3bd4c709264 09:40:31 764eb32c09e18a6d8e675ec4b9d5a3bd4c709264 [false] [Pipeline] sh 09:40:32 + git log --format=format:%s -1 764eb32c09e18a6d8e675ec4b9d5a3bd4c709264 [Pipeline] echo 09:40:32 ========================================================= 09:40:32 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 09:40:32 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 09:40:32 + git log --format=format:%s -1 764eb32c09e18a6d8e675ec4b9d5a3bd4c709264 [Pipeline] echo 09:40:32 [semverPrep] GIT_COMMIT: 764eb32c09e18a6d8e675ec4b9d5a3bd4c709264, Commit Message: Merge commit '1705bfbb6261e298477ee3ade5426f3d03c5e783' into HEAD [Pipeline] echo 09:40:32 [semverPrep] This is not a build commit. [Pipeline] sh 09:40:32 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 09:40:32 + grep -v github /etc/ssh/ssh_known_hosts 09:40:32 + [ -e /tmp/ssh_known_hosts ] 09:40:32 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 09:40:32 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 09:40:32 + sudo tee -a /etc/ssh/ssh_known_hosts 09:40:32 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:40:33 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 09:40:33 09:40:33 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:40:33 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 09:40:33 0.1.4: Pulling from edgex-devops/py-git-semver 09:40:33 b85a868b505f: Pulling fs layer 09:40:33 e2be974225ed: Pulling fs layer 09:40:33 339a4e72a1f5: Pulling fs layer 09:40:33 988bab9f4d93: Pulling fs layer 09:40:33 1469e6f7b9e6: Pulling fs layer 09:40:33 eaf3925da568: Pulling fs layer 09:40:33 bab4dde63d76: Pulling fs layer 09:40:33 bde34c3a00c8: Pulling fs layer 09:40:33 b352a97aabf1: Pulling fs layer 09:40:33 4872d77fe225: Pulling fs layer 09:40:33 5851b861e8e6: Pulling fs layer 09:40:33 1469e6f7b9e6: Waiting 09:40:33 5851b861e8e6: Waiting 09:40:33 b352a97aabf1: Waiting 09:40:33 bde34c3a00c8: Waiting 09:40:33 eaf3925da568: Waiting 09:40:33 988bab9f4d93: Waiting 09:40:33 4872d77fe225: Waiting 09:40:33 bab4dde63d76: Waiting 09:40:33 e2be974225ed: Verifying Checksum 09:40:33 e2be974225ed: Download complete 09:40:33 988bab9f4d93: Download complete 09:40:33 1469e6f7b9e6: Verifying Checksum 09:40:33 1469e6f7b9e6: Download complete 09:40:33 eaf3925da568: Verifying Checksum 09:40:33 eaf3925da568: Download complete 09:40:33 339a4e72a1f5: Verifying Checksum 09:40:33 339a4e72a1f5: Download complete 09:40:33 bde34c3a00c8: Download complete 09:40:33 b352a97aabf1: Verifying Checksum 09:40:33 b352a97aabf1: Download complete 09:40:33 4872d77fe225: Verifying Checksum 09:40:33 4872d77fe225: Download complete 09:40:33 5851b861e8e6: Verifying Checksum 09:40:33 5851b861e8e6: Download complete 09:40:33 b85a868b505f: Verifying Checksum 09:40:33 b85a868b505f: Download complete 09:40:34 bab4dde63d76: Verifying Checksum 09:40:34 bab4dde63d76: Download complete 09:40:35 b85a868b505f: Pull complete 09:40:35 e2be974225ed: Pull complete 09:40:35 339a4e72a1f5: Pull complete 09:40:35 988bab9f4d93: Pull complete 09:40:36 1469e6f7b9e6: Pull complete 09:40:36 eaf3925da568: Pull complete 09:40:38 bab4dde63d76: Pull complete 09:40:38 bde34c3a00c8: Pull complete 09:40:38 b352a97aabf1: Pull complete 09:40:38 4872d77fe225: Pull complete 09:40:38 5851b861e8e6: Pull complete 09:40:38 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 09:40:38 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 09:40:38 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 09:40:38 prd-ubuntu20.04-docker-8c-8g-432 does not seem to be running inside a container 09:40:38 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/foundry_device-virtual-go_PR-354 -v /w/workspace/foundry_device-virtual-go_PR-354:/w/workspace/foundry_device-virtual-go_PR-354:rw,z -v /w/workspace/foundry_device-virtual-go_PR-354@tmp:/w/workspace/foundry_device-virtual-go_PR-354@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 09:40:40 $ docker top e4fa220bca96e97b3398eb5b29575bc53cace71f2913db378934b214fec52f9c -eo pid,comm 09:40:40 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). 09:40:40 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 09:40:40 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 09:40:40 [ssh-agent] Looking for ssh-agent implementation... 09:40:40 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 09:40:40 $ docker exec e4fa220bca96e97b3398eb5b29575bc53cace71f2913db378934b214fec52f9c ssh-agent 09:40:40 SSH_AUTH_SOCK=/tmp/ssh-hhTr5SzQxqWr/agent.33 09:40:40 SSH_AGENT_PID=39 09:40:40 Running ssh-add (command line suppressed) 09:40:40 Identity added: /w/workspace/foundry_device-virtual-go_PR-354@tmp/private_key_7105117334220917166.key (/w/workspace/foundry_device-virtual-go_PR-354@tmp/private_key_7105117334220917166.key) 09:40:40 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 09:40:41 + git tag --points-at HEAD [Pipeline] } 09:40:41 $ docker exec --env ******** --env ******** e4fa220bca96e97b3398eb5b29575bc53cace71f2913db378934b214fec52f9c ssh-agent -k 09:40:41 unset SSH_AUTH_SOCK; 09:40:41 unset SSH_AGENT_PID; 09:40:41 echo Agent pid 39 killed; 09:40:41 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 09:40:41 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 09:40:41 [ssh-agent] Looking for ssh-agent implementation... 09:40:41 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 09:40:41 $ docker exec e4fa220bca96e97b3398eb5b29575bc53cace71f2913db378934b214fec52f9c ssh-agent 09:40:41 SSH_AUTH_SOCK=/tmp/ssh-GRqtLO9Am7Uy/agent.71 09:40:41 SSH_AGENT_PID=77 09:40:41 Running ssh-add (command line suppressed) 09:40:41 Identity added: /w/workspace/foundry_device-virtual-go_PR-354@tmp/private_key_5099838150612877666.key (/w/workspace/foundry_device-virtual-go_PR-354@tmp/private_key_5099838150612877666.key) 09:40:41 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 09:40:41 + git semver init 09:40:42 2023-03-15 09:40:42,102 [run_init] DEBUG init version:0.0.0 force:False 09:40:42 2023-03-15 09:40:42,103 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/foundry_device-virtual-go_PR-354/.semver 09:40:42 2023-03-15 09:40:42,103 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-virtual-go.git /w/workspace/foundry_device-virtual-go_PR-354/.semver 09:40:42 2023-03-15 09:40:42,104 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-virtual-go.git', '/w/workspace/foundry_device-virtual-go_PR-354/.semver'], cwd=/w/workspace/foundry_device-virtual-go_PR-354, universal_newlines=False, shell=None, istream=None) 09:40:43 2023-03-15 09:40:43,141 [append_file] DEBUG append to file:/w/workspace/foundry_device-virtual-go_PR-354/.git/info/exclude 09:40:43 2023-03-15 09:40:43,142 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/foundry_device-virtual-go_PR-354/.semver/PR-354 with force:False 09:40:43 2023-03-15 09:40:43,142 [write_file] DEBUG write to file:/w/workspace/foundry_device-virtual-go_PR-354/.semver/PR-354 09:40:43 2023-03-15 09:40:43,146 [execute] INFO git cat-file --batch-check 09:40:43 2023-03-15 09:40:43,146 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/foundry_device-virtual-go_PR-354/.semver, universal_newlines=False, shell=None, istream=) 09:40:43 2023-03-15 09:40:43,151 [execute] INFO git cat-file --batch 09:40:43 2023-03-15 09:40:43,151 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/foundry_device-virtual-go_PR-354/.semver, universal_newlines=False, shell=None, istream=) 09:40:43 2023-03-15 09:40:43,155 [read_version] DEBUG read version from /w/workspace/foundry_device-virtual-go_PR-354/.semver/PR-354 09:40:43 0.0.0 [Pipeline] } 09:40:43 $ docker exec --env ******** --env ******** e4fa220bca96e97b3398eb5b29575bc53cace71f2913db378934b214fec52f9c ssh-agent -k 09:40:43 unset SSH_AUTH_SOCK; 09:40:43 unset SSH_AGENT_PID; 09:40:43 echo Agent pid 77 killed; 09:40:43 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 09:40:43 + git semver [Pipeline] } 09:40:44 $ docker stop --time=1 e4fa220bca96e97b3398eb5b29575bc53cace71f2913db378934b214fec52f9c 09:40:45 $ docker rm -f --volumes e4fa220bca96e97b3398eb5b29575bc53cace71f2913db378934b214fec52f9c [Pipeline] // withDockerContainer [Pipeline] sh 09:40:45 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 09:40:46 Stashed 1 file(s) [Pipeline] echo 09:40:46 [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 09:40:46 provisioning config files... 09:40:46 copy managed file [device-virtual-go-settings] to file:/w/workspace/foundry_device-virtual-go_PR-354@tmp/config13732666818531848469tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 09:40:46 ---> docker-login.sh 09:40:46 nexus3.edgexfoundry.org:10001 09:40:46 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:40:46 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 09:40:46 Configure a credential helper to remove this warning. See 09:40:46 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 09:40:46 09:40:46 Login Succeeded 09:40:46 nexus3.edgexfoundry.org:10002 09:40:46 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:40:46 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 09:40:46 Configure a credential helper to remove this warning. See 09:40:46 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 09:40:46 09:40:46 Login Succeeded 09:40:46 nexus3.edgexfoundry.org:10003 09:40:46 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:40:46 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 09:40:46 Configure a credential helper to remove this warning. See 09:40:46 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 09:40:46 09:40:46 Login Succeeded 09:40:46 nexus3.edgexfoundry.org:10004 09:40:46 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:40:46 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 09:40:46 Configure a credential helper to remove this warning. See 09:40:46 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 09:40:46 09:40:46 Login Succeeded 09:40:46 docker.io 09:40:46 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:40:47 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 09:40:47 Configure a credential helper to remove this warning. See 09:40:47 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 09:40:47 09:40:47 Login Succeeded 09:40:47 ---> docker-login.sh ends [Pipeline] } 09:40:47 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 09:40:47 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 09:40:47 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 09:40:47 ========================================================= 09:40:47 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine] 09:40:47 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:40:47 + docker build -t ci-base-image-x86_64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine --build-arg MAKE=echo noop --target=builder . 09:40:47 Sending build context to Docker daemon 23.51MB 09:40:47 Step 1/12 : ARG BASE=golang:1.20-alpine3.17 09:40:47 Step 2/12 : FROM ${BASE} AS builder 09:40:47 1.20-alpine: Pulling from edgex-devops/edgex-golang-base 09:40:47 63b65145d645: Pulling fs layer 09:40:47 a2d21d5440eb: Pulling fs layer 09:40:47 935e6c44a52c: Pulling fs layer 09:40:47 94cc34f8dd06: Pulling fs layer 09:40:47 30dea6a524f1: Pulling fs layer 09:40:47 a2aff8979fd8: Pulling fs layer 09:40:47 6808be2612f2: Pulling fs layer 09:40:47 f25807f1079a: Pulling fs layer 09:40:47 94cc34f8dd06: Waiting 09:40:47 a2aff8979fd8: Waiting 09:40:47 6808be2612f2: Waiting 09:40:47 f25807f1079a: Waiting 09:40:47 a2d21d5440eb: Verifying Checksum 09:40:47 a2d21d5440eb: Download complete 09:40:47 94cc34f8dd06: Verifying Checksum 09:40:47 94cc34f8dd06: Download complete 09:40:47 30dea6a524f1: Verifying Checksum 09:40:47 30dea6a524f1: Download complete 09:40:47 63b65145d645: Verifying Checksum 09:40:47 63b65145d645: Download complete 09:40:47 a2aff8979fd8: Verifying Checksum 09:40:47 a2aff8979fd8: Download complete 09:40:47 63b65145d645: Pull complete 09:40:48 a2d21d5440eb: Pull complete 09:40:48 f25807f1079a: Verifying Checksum 09:40:48 935e6c44a52c: Download complete 09:40:48 6808be2612f2: Verifying Checksum 09:40:48 6808be2612f2: Download complete 09:40:52 935e6c44a52c: Pull complete 09:40:52 94cc34f8dd06: Pull complete 09:40:52 30dea6a524f1: Pull complete 09:40:52 a2aff8979fd8: Pull complete 09:40:54 6808be2612f2: Pull complete 09:40:55 f25807f1079a: Pull complete 09:40:55 Digest: sha256:106942793af8b5907f587008084bb0888cadbc76d86ebd37d4d3227fb0f1e438 09:40:55 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine 09:40:55 ---> 3b553350e43f 09:40:55 Step 3/12 : ARG ALPINE_PKG_BASE="make git openssh-client" 09:40:58 ---> Running in c5f14722636a 09:40:58 Removing intermediate container c5f14722636a 09:40:58 ---> 7dbed73aa8a5 09:40:58 Step 4/12 : ARG ALPINE_PKG_EXTRA="" 09:40:58 ---> Running in 03a9c188779d 09:40:58 Removing intermediate container 03a9c188779d 09:40:58 ---> cd5a507f9743 09:40:58 Step 5/12 : ARG ADD_BUILD_TAGS="" 09:40:58 ---> Running in dc3160e28dcd 09:40:58 Removing intermediate container dc3160e28dcd 09:40:58 ---> fc35c86d1f19 09:40:58 Step 6/12 : WORKDIR /device-virtual-go 09:40:58 ---> Running in efb4ce2f1bf1 09:40:58 Removing intermediate container efb4ce2f1bf1 09:40:58 ---> 2f215ce91fb6 09:40:58 Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 09:40:58 ---> Running in 18953f4e33fb 09:40:58 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 09:40:58 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 09:40:59 (1/4) Installing openssh-keygen (9.1_p1-r2) 09:40:59 (2/4) Installing libedit (20221030.3.1-r0) 09:40:59 (3/4) Installing openssh-client-common (9.1_p1-r2) 09:40:59 (4/4) Installing openssh-client-default (9.1_p1-r2) 09:40:59 Executing busybox-1.35.0-r29.trigger 09:40:59 OK: 269 MiB in 57 packages 09:40:59 Removing intermediate container 18953f4e33fb 09:40:59 ---> 68fbcbcf9434 09:40:59 Step 8/12 : COPY go.mod vendor* ./ 09:40:59 ---> 8fd0cf636768 09:40:59 Step 9/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 09:40:59 ---> Running in bdae94a2ed29 09:41:01 Still waiting to schedule task 09:41:01 Waiting for next available executor on ‘prd-ubuntu20.04-docker-arm64-4c-16g-385’ 09:41:26 Removing intermediate container bdae94a2ed29 09:41:26 ---> 9a54f1b78fb6 09:41:26 Step 10/12 : COPY . . 09:41:26 ---> e5a8428cc526 09:41:26 Step 11/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 09:41:26 ---> Running in fbe51b5351d8 09:41:26 Removing intermediate container fbe51b5351d8 09:41:26 ---> e98100868dd4 09:41:26 Step 12/12 : RUN $MAKE 09:41:26 ---> Running in 6fca94504407 09:41:26 noop 09:41:26 Removing intermediate container 6fca94504407 09:41:26 ---> 2659bc400aa8 09:41:26 Successfully built 2659bc400aa8 09:41:26 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:41:27 + docker inspect -f . ci-base-image-x86_64 09:41:27 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 09:41:27 prd-ubuntu20.04-docker-8c-8g-432 does not seem to be running inside a container 09:41:27 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/foundry_device-virtual-go_PR-354 -v /w/workspace/foundry_device-virtual-go_PR-354:/w/workspace/foundry_device-virtual-go_PR-354:rw,z -v /w/workspace/foundry_device-virtual-go_PR-354@tmp:/w/workspace/foundry_device-virtual-go_PR-354@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 09:41:27 $ docker top c6901d369c3121e410af2229405840a7acca4841cdc1e6eb46cb8f32ec86fa4e -eo pid,comm [Pipeline] { [Pipeline] sh 09:41:27 + go version 09:41:27 go version go1.20.2 linux/amd64 [Pipeline] } 09:41:27 $ docker stop --time=1 c6901d369c3121e410af2229405840a7acca4841cdc1e6eb46cb8f32ec86fa4e 09:41:29 $ docker rm -f --volumes c6901d369c3121e410af2229405840a7acca4841cdc1e6eb46cb8f32ec86fa4e [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:41:29 + docker inspect -f . ci-base-image-x86_64 09:41:29 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 09:41:29 prd-ubuntu20.04-docker-8c-8g-432 does not seem to be running inside a container 09:41:29 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/foundry_device-virtual-go_PR-354 -v /w/workspace/foundry_device-virtual-go_PR-354:/w/workspace/foundry_device-virtual-go_PR-354:rw,z -v /w/workspace/foundry_device-virtual-go_PR-354@tmp:/w/workspace/foundry_device-virtual-go_PR-354@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 09:41:30 $ docker top 39c5e8cd98b87c7275941bea2a28c8294ba16ffe216ad2fc80a2e39277f32acc -eo pid,comm [Pipeline] { [Pipeline] sh 09:41:30 + git config --global --add safe.directory /w/workspace/foundry_device-virtual-go_PR-354 [Pipeline] fileExists [Pipeline] sh 09:41:30 + make test 09:41:30 go test ./... -coverprofile=coverage.out 09:41:36 ? github.com/edgexfoundry/device-virtual-go [no test files] 09:41:48 ? github.com/edgexfoundry/device-virtual-go/cmd [no test files] 09:41:48 ok github.com/edgexfoundry/device-virtual-go/internal/driver 0.033s coverage: 65.7% of statements 09:41:54 go vet ./... 09:41:58 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 09:41:58 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 09:41:58 ./bin/test-attribution-txt.sh [Pipeline] echo 09:41:58 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 09:41:58 $ docker stop --time=1 39c5e8cd98b87c7275941bea2a28c8294ba16ffe216ad2fc80a2e39277f32acc 09:42:00 $ docker rm -f --volumes 39c5e8cd98b87c7275941bea2a28c8294ba16ffe216ad2fc80a2e39277f32acc [Pipeline] // withDockerContainer [Pipeline] sh 09:42:00 + sudo chown -R jenkins:jenkins . [Pipeline] stash 09:42:00 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 09:42:01 + sudo chown -R jenkins:jenkins . [Pipeline] sh 09:42:01 + ls -al . 09:42:01 total 192 09:42:01 drwxrwxr-x 9 jenkins jenkins 4096 Mar 15 09:41 . 09:42:01 drwxrwxr-x 4 jenkins jenkins 4096 Mar 15 09:40 .. 09:42:01 drwxrwxr-x 8 jenkins jenkins 4096 Mar 15 09:40 .git 09:42:01 drwxrwxr-x 3 jenkins jenkins 4096 Mar 15 09:40 .github 09:42:01 -rw-rw-r-- 1 jenkins jenkins 337 Mar 15 09:40 .gitignore 09:42:01 -rw-rw-r-- 1 jenkins jenkins 41 Mar 15 09:40 .golangci.yml 09:42:01 drwxr-xr-x 3 jenkins jenkins 4096 Mar 15 09:40 .semver 09:42:01 -rw-rw-r-- 1 jenkins jenkins 8641 Mar 15 09:40 Attribution.txt 09:42:01 -rw-rw-r-- 1 jenkins jenkins 11367 Mar 15 09:40 CHANGELOG.md 09:42:01 -rw-rw-r-- 1 jenkins jenkins 1646 Mar 15 09:40 Dockerfile 09:42:01 -rw-rw-r-- 1 jenkins jenkins 677 Mar 15 09:40 GOVERNANCE.md 09:42:01 -rw-rw-r-- 1 jenkins jenkins 660 Mar 15 09:40 Jenkinsfile 09:42:01 -rw-rw-r-- 1 jenkins jenkins 11340 Mar 15 09:40 LICENSE 09:42:01 -rw-rw-r-- 1 jenkins jenkins 1696 Mar 15 09:40 Makefile 09:42:01 -rw-rw-r-- 1 jenkins jenkins 623 Mar 15 09:40 OWNERS.md 09:42:01 -rw-rw-r-- 1 jenkins jenkins 3578 Mar 15 09:40 README.md 09:42:01 -rw-rw-r-- 1 jenkins jenkins 5 Mar 15 09:40 VERSION 09:42:01 drwxrwxr-x 2 jenkins jenkins 4096 Mar 15 09:40 bin 09:42:01 drwxrwxr-x 3 jenkins jenkins 4096 Mar 15 09:40 cmd 09:42:01 -rw-r--r-- 1 jenkins jenkins 44311 Mar 15 09:41 coverage.out 09:42:01 -rw-rw-r-- 1 jenkins jenkins 3253 Mar 15 09:40 go.mod 09:42:01 -rw-rw-r-- 1 jenkins jenkins 30608 Mar 15 09:40 go.sum 09:42:01 drwxrwxr-x 3 jenkins jenkins 4096 Mar 15 09:40 internal 09:42:01 drwxrwxr-x 4 jenkins jenkins 4096 Mar 15 09:40 snap 09:42:01 -rw-rw-r-- 1 jenkins jenkins 235 Mar 15 09:40 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:42:02 + 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=764eb32c09e18a6d8e675ec4b9d5a3bd4c709264 --label arch=amd64 --label version=0.0.0 . 09:42:02 Sending build context to Docker daemon 23.56MB 09:42:02 Step 1/25 : ARG BASE=golang:1.20-alpine3.17 09:42:02 Step 2/25 : FROM ${BASE} AS builder 09:42:02 ---> 2659bc400aa8 09:42:02 Step 3/25 : ARG ALPINE_PKG_BASE="make git openssh-client" 09:42:02 ---> Running in 1ce08360b07b 09:42:02 Removing intermediate container 1ce08360b07b 09:42:02 ---> 8c6f3fe5dfda 09:42:02 Step 4/25 : ARG ALPINE_PKG_EXTRA="" 09:42:02 ---> Running in cd7675aaac59 09:42:02 Removing intermediate container cd7675aaac59 09:42:02 ---> bf0a80e284a5 09:42:02 Step 5/25 : ARG ADD_BUILD_TAGS="" 09:42:02 ---> Running in 440d0953b719 09:42:02 Removing intermediate container 440d0953b719 09:42:02 ---> d72ccb8521c6 09:42:02 Step 6/25 : WORKDIR /device-virtual-go 09:42:02 ---> Running in 861ddfcd02fd 09:42:02 Removing intermediate container 861ddfcd02fd 09:42:02 ---> 71a8cb9d802a 09:42:02 Step 7/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 09:42:02 ---> Running in 5f1bede43634 09:42:03 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 09:42:03 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 09:42:03 OK: 269 MiB in 57 packages 09:42:03 Removing intermediate container 5f1bede43634 09:42:03 ---> 0ab5659d5867 09:42:03 Step 8/25 : COPY go.mod vendor* ./ 09:42:04 ---> cc2a5deab7b2 09:42:04 Step 9/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 09:42:04 ---> Running in a0c51398d69e 09:42:05 Removing intermediate container a0c51398d69e 09:42:05 ---> d98655d5a4cc 09:42:05 Step 10/25 : COPY . . 09:42:05 ---> d3bfcdd9e43b 09:42:05 Step 11/25 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 09:42:05 ---> Running in f73d3c3824c8 09:42:05 Removing intermediate container f73d3c3824c8 09:42:05 ---> 80d74a0cee34 09:42:05 Step 12/25 : RUN $MAKE 09:42:05 ---> Running in 33dc6bd88653 09:42:05 CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-virtual-go.Version=0.0.0" -trimpath -mod=readonly -o cmd/device-virtual ./cmd 09:42:27 Removing intermediate container 33dc6bd88653 09:42:27 ---> d0d40e38aa6a 09:42:27 Step 13/25 : FROM alpine:3.17 09:42:27 3.17: Pulling from library/alpine 09:42:27 63b65145d645: Already exists 09:42:27 Digest: sha256:ff6bdca1701f3a8a67e328815ff2346b0e4067d32ec36b7992c1fdc001dc8517 09:42:27 Status: Downloaded newer image for alpine:3.17 09:42:27 ---> b2aa39c304c2 09:42:27 Step 14/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2021: IOTech' 09:42:27 ---> Running in bba52772dcc3 09:42:27 Removing intermediate container bba52772dcc3 09:42:27 ---> a4fde8d681c8 09:42:27 Step 15/25 : RUN apk add --update --no-cache dumb-init 09:42:27 ---> Running in 5d1cef2d4d96 09:42:27 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 09:42:27 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 09:42:27 (1/1) Installing dumb-init (1.2.5-r2) 09:42:27 Executing busybox-1.35.0-r29.trigger 09:42:27 OK: 7 MiB in 16 packages 09:42:27 Removing intermediate container 5d1cef2d4d96 09:42:27 ---> aa3e56f83991 09:42:27 Step 16/25 : WORKDIR / 09:42:27 ---> Running in 4d27a842e3fa 09:42:27 Removing intermediate container 4d27a842e3fa 09:42:27 ---> 3641f5f46309 09:42:27 Step 17/25 : COPY --from=builder /device-virtual-go/Attribution.txt / 09:42:27 ---> b90d039678a0 09:42:27 Step 18/25 : COPY --from=builder /device-virtual-go/LICENSE / 09:42:27 ---> 553187f548e9 09:42:27 Step 19/25 : COPY --from=builder /device-virtual-go/cmd / 09:42:28 ---> 0cbb938563e6 09:42:28 Step 20/25 : EXPOSE 59900 09:42:28 ---> Running in 13ff033f7d2e 09:42:28 Removing intermediate container 13ff033f7d2e 09:42:28 ---> 7c45b0a7de73 09:42:28 Step 21/25 : ENTRYPOINT ["/device-virtual"] 09:42:28 ---> Running in f1caf6fe38db 09:42:28 Removing intermediate container f1caf6fe38db 09:42:28 ---> 12b92ab3c004 09:42:28 Step 22/25 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry"] 09:42:28 ---> Running in 92cdeb7e70cb 09:42:28 Removing intermediate container 92cdeb7e70cb 09:42:28 ---> 57f2b658f77a 09:42:28 Step 23/25 : LABEL arch=amd64 09:42:28 ---> Running in 5ba18001798f 09:42:28 Removing intermediate container 5ba18001798f 09:42:28 ---> 7b120ce28523 09:42:28 Step 24/25 : LABEL git_sha=764eb32c09e18a6d8e675ec4b9d5a3bd4c709264 09:42:28 ---> Running in 51fa89386e12 09:42:28 Removing intermediate container 51fa89386e12 09:42:28 ---> 6f987ec68062 09:42:28 Step 25/25 : LABEL version=0.0.0 09:42:28 ---> Running in 56c4c0cf6c61 09:42:28 Removing intermediate container 56c4c0cf6c61 09:42:28 ---> d1eabf88e6f7 09:42:28 [Warning] One or more build-args [ARCH] were not consumed 09:42:28 Successfully built d1eabf88e6f7 09:42:28 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 09:42:28 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 09:42:28 09:42:28 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:42:29 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 09:42:29 latest: Pulling from edgex-lftools-log-publisher 09:42:29 5eb5b503b376: Pulling fs layer 09:42:29 5c69ac0246d0: Pulling fs layer 09:42:29 ec43610c2a17: Pulling fs layer 09:42:29 3a2ae6a8a46f: Pulling fs layer 09:42:29 33b1e0a273af: Pulling fs layer 09:42:29 5d3b04190fa2: Pulling fs layer 09:42:29 2f39f015ded8: Pulling fs layer 09:42:29 3a2ae6a8a46f: Waiting 09:42:29 33b1e0a273af: Waiting 09:42:29 5d3b04190fa2: Waiting 09:42:29 2f39f015ded8: Waiting 09:42:29 5c69ac0246d0: Download complete 09:42:29 3a2ae6a8a46f: Download complete 09:42:29 ec43610c2a17: Verifying Checksum 09:42:29 ec43610c2a17: Download complete 09:42:29 33b1e0a273af: Verifying Checksum 09:42:29 33b1e0a273af: Download complete 09:42:29 5d3b04190fa2: Verifying Checksum 09:42:29 5d3b04190fa2: Download complete 09:42:29 5eb5b503b376: Verifying Checksum 09:42:29 5eb5b503b376: Download complete 09:42:30 2f39f015ded8: Download complete 09:42:30 5eb5b503b376: Pull complete 09:42:30 5c69ac0246d0: Pull complete 09:42:31 ec43610c2a17: Pull complete 09:42:31 3a2ae6a8a46f: Pull complete 09:42:31 33b1e0a273af: Pull complete 09:42:31 5d3b04190fa2: Pull complete 09:42:35 2f39f015ded8: Pull complete 09:42:35 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 09:42:35 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 09:42:35 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 09:42:35 prd-ubuntu20.04-docker-8c-8g-432 does not seem to be running inside a container 09:42:35 $ 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-354 -v /w/workspace/foundry_device-virtual-go_PR-354:/w/workspace/foundry_device-virtual-go_PR-354:rw,z -v /w/workspace/foundry_device-virtual-go_PR-354@tmp:/w/workspace/foundry_device-virtual-go_PR-354@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 09:42:38 $ docker top 11a6177ce0859362d2764e281a8a0b6953118b83e00ddb86b17730cb9d1d5598 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 09:42:38 ---> job-cost.sh 09:42:38 lf-activate-venv: SKIPPING 09:42:38 INFO: No Stack... 09:42:38 INFO: Retrieving Pricing Info for: v3-standard-8 09:42:39 INFO: Archiving Costs [Pipeline] sh 09:42:39 + cat /w/workspace/foundry_device-virtual-go_PR-354/archives/cost.csv 09:42:39 + cut -d, -f6 [Pipeline] lock 09:42:39 Trying to acquire lock on [jenkins-edgexfoundry-device-virtual-go-PR-354-5-stack-cost] 09:42:39 Resource [jenkins-edgexfoundry-device-virtual-go-PR-354-5-stack-cost] did not exist. Created. 09:42:39 Lock acquired on [jenkins-edgexfoundry-device-virtual-go-PR-354-5-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 09:42:40 + echo total: 0.2199999988079071 [Pipeline] stash 09:42:40 Stashed 1 file(s) [Pipeline] } 09:42:40 Lock released on resource [jenkins-edgexfoundry-device-virtual-go-PR-354-5-stack-cost] [Pipeline] // lock [Pipeline] } 09:42:40 $ docker stop --time=1 11a6177ce0859362d2764e281a8a0b6953118b83e00ddb86b17730cb9d1d5598 09:42:41 $ docker rm -f --volumes 11a6177ce0859362d2764e281a8a0b6953118b83e00ddb86b17730cb9d1d5598 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 09:44:37 Running on prd-ubuntu20.04-docker-arm64-4c-16g-434 in /w/workspace/foundry_device-virtual-go_PR-354 [Pipeline] { [Pipeline] ws 09:44:37 Running in /w/workspace/device-virtual-go/5 [Pipeline] { [Pipeline] checkout 09:44:37 The recommended git tool is: git 09:44:43 using credential edgex-jenkins-ssh 09:44:43 Cloning the remote Git repository 09:44:43 Cloning repository git@github.com:edgexfoundry/device-virtual-go.git 09:44:43 > git init /w/workspace/device-virtual-go/5 # timeout=10 09:44:43 Fetching upstream changes from git@github.com:edgexfoundry/device-virtual-go.git 09:44:43 > git --version # timeout=10 09:44:43 > git --version # 'git version 2.25.1' 09:44:43 using GIT_SSH to set credentials SSH Credentials for GitHub 09:44:43 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-virtual-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 09:44:46 > git config remote.origin.url git@github.com:edgexfoundry/device-virtual-go.git # timeout=10 09:44:46 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 09:44:47 > git config remote.origin.url git@github.com:edgexfoundry/device-virtual-go.git # timeout=10 09:44:47 Fetching upstream changes from git@github.com:edgexfoundry/device-virtual-go.git 09:44:47 using GIT_SSH to set credentials SSH Credentials for GitHub 09:44:47 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-virtual-go.git +refs/pull/354/head:refs/remotes/origin/PR-354 +refs/heads/main:refs/remotes/origin/main # timeout=10 09:44:48 Merging remotes/origin/main commit 1705bfbb6261e298477ee3ade5426f3d03c5e783 into PR head commit f4aa25c481686a6f2c13da3f17e831db9f91a5c8 09:44:48 Merge succeeded, producing 67049032089c7dc80d0b835455e11ee689f50b80 09:44:48 Checking out Revision 67049032089c7dc80d0b835455e11ee689f50b80 (PR-354) 09:44:48 > git config core.sparsecheckout # timeout=10 09:44:48 > git checkout -f f4aa25c481686a6f2c13da3f17e831db9f91a5c8 # timeout=10 09:44:48 > git remote # timeout=10 09:44:48 > git config --get remote.origin.url # timeout=10 09:44:48 using GIT_SSH to set credentials SSH Credentials for GitHub 09:44:48 > git merge 1705bfbb6261e298477ee3ade5426f3d03c5e783 # timeout=10 09:44:48 > git rev-parse HEAD^{commit} # timeout=10 09:44:48 > git config core.sparsecheckout # timeout=10 09:44:48 > git checkout -f 67049032089c7dc80d0b835455e11ee689f50b80 # timeout=10 09:44:51 Commit message: "Merge commit '1705bfbb6261e298477ee3ade5426f3d03c5e783' into HEAD" 09:44:51 First time build. Skipping changelog. 09:44:51 > git rev-list --no-walk 91171111dd57ea4fc0aaa446ddbd6e411b2deece # timeout=10 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 09:44:52 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 09:44:52 % Total % Received % Xferd Average Speed Time Time Time Current 09:44:52 Dload Upload Total Spent Left Speed 09:44:52 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 98084 0 --:--:-- --:--:-- --:--:-- 98084 100 12751 100 12751 0 0 97335 0 --:--:-- --:--:-- --:--:-- 96598 [Pipeline] sh 09:44:53 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 09:44:53 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 09:44:53 + sudo tee /etc/docker/daemon.new 09:44:53 { 09:44:53 "registry-mirrors": [ 09:44:53 "https://nexus3.edgexfoundry.org:10001" 09:44:53 ], 09:44:53 "bip": "10.250.0.254/24", 09:44:53 "hosts": [ 09:44:53 "tcp://0.0.0.0:5555", 09:44:53 "unix:///var/run/docker.sock" 09:44:53 ], 09:44:53 "mtu": 1458, 09:44:53 "selinux-enabled": true, 09:44:53 "seccomp-profile": "/etc/docker/seccomp.json" 09:44:53 } [Pipeline] sh 09:44:54 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 09:44:54 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 09:45:16 provisioning config files... 09:45:16 copy managed file [device-virtual-go-settings] to file:/w/workspace/device-virtual-go/5@tmp/config3133272807242282197tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 09:45:17 ---> docker-login.sh 09:45:17 nexus3.edgexfoundry.org:10001 09:45:17 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:45:17 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 09:45:17 Configure a credential helper to remove this warning. See 09:45:17 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 09:45:17 09:45:17 Login Succeeded 09:45:17 nexus3.edgexfoundry.org:10002 09:45:18 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:45:18 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 09:45:18 Configure a credential helper to remove this warning. See 09:45:18 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 09:45:18 09:45:18 Login Succeeded 09:45:18 nexus3.edgexfoundry.org:10003 09:45:18 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:45:18 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 09:45:18 Configure a credential helper to remove this warning. See 09:45:18 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 09:45:18 09:45:18 Login Succeeded 09:45:18 nexus3.edgexfoundry.org:10004 09:45:18 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:45:19 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 09:45:19 Configure a credential helper to remove this warning. See 09:45:19 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 09:45:19 09:45:19 Login Succeeded 09:45:19 docker.io 09:45:19 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:45:19 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 09:45:19 Configure a credential helper to remove this warning. See 09:45:19 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 09:45:19 09:45:19 Login Succeeded 09:45:19 ---> docker-login.sh ends [Pipeline] } 09:45:19 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 09:45:19 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 09:45:19 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 09:45:19 ========================================================= 09:45:19 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine] 09:45:19 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:45:20 + docker build -t ci-base-image-arm64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine --build-arg MAKE=echo noop --target=builder . 09:45:20 Sending build context to Docker daemon 11.93MB 09:45:20 Step 1/12 : ARG BASE=golang:1.20-alpine3.17 09:45:20 Step 2/12 : FROM ${BASE} AS builder 09:45:20 1.20-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 09:45:20 af6eaf76a39c: Pulling fs layer 09:45:20 55522c791124: Pulling fs layer 09:45:20 ce5c4a1c91eb: Pulling fs layer 09:45:20 169dfbe0d373: Pulling fs layer 09:45:20 e1ff8fa3b103: Pulling fs layer 09:45:20 52ebb69f0ebf: Pulling fs layer 09:45:20 5abe8eddf0d5: Pulling fs layer 09:45:20 169dfbe0d373: Waiting 09:45:20 e1ff8fa3b103: Waiting 09:45:20 52ebb69f0ebf: Waiting 09:45:20 5abe8eddf0d5: Waiting 09:45:21 55522c791124: Download complete 09:45:21 169dfbe0d373: Verifying Checksum 09:45:21 169dfbe0d373: Download complete 09:45:21 e1ff8fa3b103: Verifying Checksum 09:45:21 e1ff8fa3b103: Download complete 09:45:21 af6eaf76a39c: Verifying Checksum 09:45:21 af6eaf76a39c: Download complete 09:45:22 af6eaf76a39c: Pull complete 09:45:22 55522c791124: Pull complete 09:45:22 5abe8eddf0d5: Verifying Checksum 09:45:22 5abe8eddf0d5: Download complete 09:45:23 ce5c4a1c91eb: Verifying Checksum 09:45:23 ce5c4a1c91eb: Download complete 09:45:24 52ebb69f0ebf: Verifying Checksum 09:45:24 52ebb69f0ebf: Download complete 09:45:34 ce5c4a1c91eb: Pull complete 09:45:34 169dfbe0d373: Pull complete 09:45:34 e1ff8fa3b103: Pull complete 09:45:41 52ebb69f0ebf: Pull complete 09:45:42 5abe8eddf0d5: Pull complete 09:45:42 Digest: sha256:978cc1420e451f27bd88fdeece3ad01a9109ec773b62f165dfc696fd516b3d8f 09:45:42 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine 09:45:42 ---> 6cb57ee374ae 09:45:42 Step 3/12 : ARG ALPINE_PKG_BASE="make git openssh-client" 09:45:44 ---> Running in a2a25282929d 09:45:44 Removing intermediate container a2a25282929d 09:45:44 ---> 8ae1490c6920 09:45:44 Step 4/12 : ARG ALPINE_PKG_EXTRA="" 09:45:44 ---> Running in 6b34aa394147 09:45:45 Removing intermediate container 6b34aa394147 09:45:45 ---> e8ae509edfc8 09:45:45 Step 5/12 : ARG ADD_BUILD_TAGS="" 09:45:45 ---> Running in 1fdc8721edfb 09:45:45 Removing intermediate container 1fdc8721edfb 09:45:45 ---> 47a7890c487a 09:45:45 Step 6/12 : WORKDIR /device-virtual-go 09:45:45 ---> Running in afbb3f1a7e73 09:45:46 Removing intermediate container afbb3f1a7e73 09:45:46 ---> 9621705567eb 09:45:46 Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 09:45:46 ---> Running in 7baf68c5c4d8 09:45:47 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 09:45:47 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 09:45:49 (1/4) Installing openssh-keygen (9.1_p1-r2) 09:45:49 (2/4) Installing libedit (20221030.3.1-r0) 09:45:49 (3/4) Installing openssh-client-common (9.1_p1-r2) 09:45:49 (4/4) Installing openssh-client-default (9.1_p1-r2) 09:45:49 Executing busybox-1.35.0-r29.trigger 09:45:49 OK: 268 MiB in 57 packages 09:45:51 Removing intermediate container 7baf68c5c4d8 09:45:51 ---> 8de372520e1e 09:45:51 Step 8/12 : COPY go.mod vendor* ./ 09:45:51 ---> 07018d07ebfa 09:45:51 Step 9/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 09:45:52 ---> Running in 3fdffc91b1da 09:46:59 Removing intermediate container 3fdffc91b1da 09:46:59 ---> 64f14d84aa11 09:46:59 Step 10/12 : COPY . . 09:46:59 ---> 4b6902cfdc65 09:46:59 Step 11/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 09:46:59 ---> Running in a40248c38ecb 09:46:59 Removing intermediate container a40248c38ecb 09:46:59 ---> d26af9956959 09:46:59 Step 12/12 : RUN $MAKE 09:46:59 ---> Running in 612a7c7e0418 09:46:59 noop 09:46:59 Removing intermediate container 612a7c7e0418 09:46:59 ---> 264f16d81604 09:46:59 Successfully built 264f16d81604 09:46:59 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:47:00 + docker inspect -f . ci-base-image-arm64 09:47:00 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 09:47:00 prd-ubuntu20.04-docker-arm64-4c-16g-434 does not seem to be running inside a container 09:47:00 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-virtual-go/5 -v /w/workspace/device-virtual-go/5:/w/workspace/device-virtual-go/5:rw,z -v /w/workspace/device-virtual-go/5@tmp:/w/workspace/device-virtual-go/5@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 09:47:01 $ docker top 196a0af1b66907776ed865dbcebeade28b742aeafcd9a58bf7de25f7bc4fbeb1 -eo pid,comm [Pipeline] { [Pipeline] sh 09:47:02 + go version 09:47:02 go version go1.20.2 linux/arm64 [Pipeline] } 09:47:02 $ docker stop --time=1 196a0af1b66907776ed865dbcebeade28b742aeafcd9a58bf7de25f7bc4fbeb1 09:47:04 $ docker rm -f --volumes 196a0af1b66907776ed865dbcebeade28b742aeafcd9a58bf7de25f7bc4fbeb1 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:47:04 + docker inspect -f . ci-base-image-arm64 09:47:04 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 09:47:05 prd-ubuntu20.04-docker-arm64-4c-16g-434 does not seem to be running inside a container 09:47:05 $ 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/5 -v /w/workspace/device-virtual-go/5:/w/workspace/device-virtual-go/5:rw,z -v /w/workspace/device-virtual-go/5@tmp:/w/workspace/device-virtual-go/5@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 09:47:06 $ docker top 343d783e23c576fa93d7e4057f79b4fc0c6c911b02791a8dd1d74255cefcfb2e -eo pid,comm [Pipeline] { [Pipeline] sh 09:47:06 + git config --global --add safe.directory /w/workspace/device-virtual-go/5 [Pipeline] fileExists [Pipeline] sh 09:47:07 + make test 09:47:07 go test ./... -coverprofile=coverage.out 09:47:46 ? github.com/edgexfoundry/device-virtual-go [no test files] 09:49:37 ? github.com/edgexfoundry/device-virtual-go/cmd [no test files] 09:49:39 ok github.com/edgexfoundry/device-virtual-go/internal/driver 0.139s coverage: 65.7% of statements 09:49:40 WARNING: Linting skipped (not on x86_64 or linter not installed) 09:49:40 go vet ./... 09:50:19 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 09:50:19 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 09:50:19 ./bin/test-attribution-txt.sh [Pipeline] echo 09:50:19 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 09:50:19 $ docker stop --time=1 343d783e23c576fa93d7e4057f79b4fc0c6c911b02791a8dd1d74255cefcfb2e 09:50:21 $ docker rm -f --volumes 343d783e23c576fa93d7e4057f79b4fc0c6c911b02791a8dd1d74255cefcfb2e [Pipeline] // withDockerContainer [Pipeline] sh 09:50:22 + sudo chown -R jenkins:jenkins . [Pipeline] stash 09:50:22 Warning: overwriting stash ‘coverage-report’ 09:50:23 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 09:50:23 + sudo chown -R jenkins:jenkins . [Pipeline] sh 09:50:23 + ls -al . 09:50:23 total 188 09:50:23 drwxrwxr-x 8 jenkins jenkins 4096 Mar 15 09:47 . 09:50:23 drwxrwxr-x 4 jenkins jenkins 4096 Mar 15 09:44 .. 09:50:23 drwxrwxr-x 8 jenkins jenkins 4096 Mar 15 09:44 .git 09:50:23 drwxrwxr-x 3 jenkins jenkins 4096 Mar 15 09:44 .github 09:50:23 -rw-rw-r-- 1 jenkins jenkins 337 Mar 15 09:44 .gitignore 09:50:23 -rw-rw-r-- 1 jenkins jenkins 41 Mar 15 09:44 .golangci.yml 09:50:23 -rw-rw-r-- 1 jenkins jenkins 8641 Mar 15 09:44 Attribution.txt 09:50:23 -rw-rw-r-- 1 jenkins jenkins 11367 Mar 15 09:44 CHANGELOG.md 09:50:23 -rw-rw-r-- 1 jenkins jenkins 1646 Mar 15 09:44 Dockerfile 09:50:23 -rw-rw-r-- 1 jenkins jenkins 677 Mar 15 09:44 GOVERNANCE.md 09:50:23 -rw-rw-r-- 1 jenkins jenkins 660 Mar 15 09:44 Jenkinsfile 09:50:23 -rw-rw-r-- 1 jenkins jenkins 11340 Mar 15 09:44 LICENSE 09:50:23 -rw-rw-r-- 1 jenkins jenkins 1696 Mar 15 09:44 Makefile 09:50:23 -rw-rw-r-- 1 jenkins jenkins 623 Mar 15 09:44 OWNERS.md 09:50:23 -rw-rw-r-- 1 jenkins jenkins 3578 Mar 15 09:44 README.md 09:50:23 -rw-rw-r-- 1 jenkins jenkins 5 Mar 15 09:40 VERSION 09:50:23 drwxrwxr-x 2 jenkins jenkins 4096 Mar 15 09:44 bin 09:50:23 drwxrwxr-x 3 jenkins jenkins 4096 Mar 15 09:44 cmd 09:50:23 -rw-r--r-- 1 jenkins jenkins 44311 Mar 15 09:49 coverage.out 09:50:23 -rw-rw-r-- 1 jenkins jenkins 3253 Mar 15 09:44 go.mod 09:50:23 -rw-rw-r-- 1 jenkins jenkins 30608 Mar 15 09:44 go.sum 09:50:23 drwxrwxr-x 3 jenkins jenkins 4096 Mar 15 09:44 internal 09:50:23 drwxrwxr-x 4 jenkins jenkins 4096 Mar 15 09:44 snap 09:50:23 -rw-rw-r-- 1 jenkins jenkins 235 Mar 15 09:44 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:50:24 + docker build -t device-virtual-arm64 -f Dockerfile --build-arg BASE=ci-base-image-arm64 --build-arg MAKE=make build --build-arg ARCH=arm64 --label git_sha=67049032089c7dc80d0b835455e11ee689f50b80 --label arch=arm64 --label version=0.0.0 . 09:50:24 Sending build context to Docker daemon 11.98MB 09:50:24 Step 1/25 : ARG BASE=golang:1.20-alpine3.17 09:50:24 Step 2/25 : FROM ${BASE} AS builder 09:50:24 ---> 264f16d81604 09:50:24 Step 3/25 : ARG ALPINE_PKG_BASE="make git openssh-client" 09:50:24 ---> Running in dac3639dc74c 09:50:25 Removing intermediate container dac3639dc74c 09:50:25 ---> 905bca138556 09:50:25 Step 4/25 : ARG ALPINE_PKG_EXTRA="" 09:50:25 ---> Running in 6b99451bc8b9 09:50:25 Removing intermediate container 6b99451bc8b9 09:50:25 ---> ca9b38d6d819 09:50:25 Step 5/25 : ARG ADD_BUILD_TAGS="" 09:50:25 ---> Running in 8eaa86b4eedc 09:50:25 Removing intermediate container 8eaa86b4eedc 09:50:25 ---> cd4090acc07a 09:50:25 Step 6/25 : WORKDIR /device-virtual-go 09:50:26 ---> Running in 4a629307d5db 09:50:26 Removing intermediate container 4a629307d5db 09:50:26 ---> 22e007fa54d1 09:50:26 Step 7/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 09:50:26 ---> Running in de9d71b4145d 09:50:27 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 09:50:28 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 09:50:29 OK: 268 MiB in 57 packages 09:50:30 Removing intermediate container de9d71b4145d 09:50:30 ---> 5d49d90c260a 09:50:30 Step 8/25 : COPY go.mod vendor* ./ 09:50:30 ---> 7e20343cc933 09:50:30 Step 9/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 09:50:30 ---> Running in 285f66d34ca0 09:50:33 Removing intermediate container 285f66d34ca0 09:50:33 ---> 03d55324683e 09:50:33 Step 10/25 : COPY . . 09:50:34 ---> e11a208658b5 09:50:34 Step 11/25 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 09:50:34 ---> Running in 02e6e9399d79 09:50:34 Removing intermediate container 02e6e9399d79 09:50:34 ---> ef0202405e7a 09:50:34 Step 12/25 : RUN $MAKE 09:50:34 ---> Running in 28a2d0264e69 09:50:35 CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-virtual-go.Version=0.0.0" -trimpath -mod=readonly -o cmd/device-virtual ./cmd 09:52:57 Removing intermediate container 28a2d0264e69 09:52:57 ---> 00dcc5e43ed6 09:52:57 Step 13/25 : FROM alpine:3.17 09:52:57 3.17: Pulling from library/alpine 09:52:57 af6eaf76a39c: Already exists 09:52:57 Digest: sha256:ff6bdca1701f3a8a67e328815ff2346b0e4067d32ec36b7992c1fdc001dc8517 09:52:57 Status: Downloaded newer image for alpine:3.17 09:52:57 ---> d74e625d9115 09:52:57 Step 14/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2021: IOTech' 09:52:57 ---> Running in 0ea7f19e150f 09:52:57 Removing intermediate container 0ea7f19e150f 09:52:57 ---> a02256aaca6f 09:52:57 Step 15/25 : RUN apk add --update --no-cache dumb-init 09:52:57 ---> Running in 849f4d6f9fe8 09:52:57 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 09:52:57 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 09:52:57 (1/1) Installing dumb-init (1.2.5-r2) 09:52:57 Executing busybox-1.35.0-r29.trigger 09:52:57 OK: 8 MiB in 16 packages 09:52:57 Removing intermediate container 849f4d6f9fe8 09:52:57 ---> 690de4eaa9e2 09:52:57 Step 16/25 : WORKDIR / 09:52:57 ---> Running in 1e9d4cbb3e1f 09:52:57 Removing intermediate container 1e9d4cbb3e1f 09:52:57 ---> 6cc46cc95645 09:52:57 Step 17/25 : COPY --from=builder /device-virtual-go/Attribution.txt / 09:52:57 ---> 2a98025a7596 09:52:57 Step 18/25 : COPY --from=builder /device-virtual-go/LICENSE / 09:52:57 ---> 4feea8baf2ee 09:52:57 Step 19/25 : COPY --from=builder /device-virtual-go/cmd / 09:52:57 ---> 182c77bd2401 09:52:57 Step 20/25 : EXPOSE 59900 09:52:57 ---> Running in 4fa4e7276874 09:52:57 Removing intermediate container 4fa4e7276874 09:52:57 ---> ef1e88be15e0 09:52:57 Step 21/25 : ENTRYPOINT ["/device-virtual"] 09:52:57 ---> Running in fa11aef15bfa 09:52:57 Removing intermediate container fa11aef15bfa 09:52:57 ---> 3c8f4835cbd0 09:52:57 Step 22/25 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry"] 09:52:57 ---> Running in ff8b824d0c0b 09:52:57 Removing intermediate container ff8b824d0c0b 09:52:57 ---> 4219c812e77f 09:52:57 Step 23/25 : LABEL arch=arm64 09:52:57 ---> Running in 2572b7f7fb68 09:52:57 Removing intermediate container 2572b7f7fb68 09:52:57 ---> 0324c931d669 09:52:57 Step 24/25 : LABEL git_sha=67049032089c7dc80d0b835455e11ee689f50b80 09:52:57 ---> Running in 2f1333ac20c9 09:52:57 Removing intermediate container 2f1333ac20c9 09:52:57 ---> 22fcc2dba317 09:52:57 Step 25/25 : LABEL version=0.0.0 09:52:57 ---> Running in 734f91e4c962 09:52:57 Removing intermediate container 734f91e4c962 09:52:57 ---> efa027a29b2c 09:52:57 [Warning] One or more build-args [ARCH] were not consumed 09:52:57 Successfully built efa027a29b2c 09:52:57 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 09:52:57 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 09:52:57 09:52:57 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:52:58 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 09:52:58 arm64: Pulling from edgex-lftools-log-publisher 09:52:58 8998bd30e6a1: Pulling fs layer 09:52:58 04944245beec: Pulling fs layer 09:52:58 699f458cf7ca: Pulling fs layer 09:52:58 765212b225bb: Pulling fs layer 09:52:58 f23df028b6ca: Pulling fs layer 09:52:58 d65c8cfc05b1: Pulling fs layer 09:52:58 2437ff75d9bd: Pulling fs layer 09:52:58 f23df028b6ca: Waiting 09:52:58 d65c8cfc05b1: Waiting 09:52:58 2437ff75d9bd: Waiting 09:52:58 765212b225bb: Waiting 09:52:58 04944245beec: Verifying Checksum 09:52:58 04944245beec: Download complete 09:52:58 765212b225bb: Verifying Checksum 09:52:58 765212b225bb: Download complete 09:52:58 f23df028b6ca: Verifying Checksum 09:52:58 f23df028b6ca: Download complete 09:52:58 d65c8cfc05b1: Verifying Checksum 09:52:58 d65c8cfc05b1: Download complete 09:52:58 699f458cf7ca: Verifying Checksum 09:52:58 699f458cf7ca: Download complete 09:52:59 8998bd30e6a1: Verifying Checksum 09:52:59 8998bd30e6a1: Download complete 09:53:01 2437ff75d9bd: Verifying Checksum 09:53:01 2437ff75d9bd: Download complete 09:53:03 8998bd30e6a1: Pull complete 09:53:03 04944245beec: Pull complete 09:53:04 699f458cf7ca: Pull complete 09:53:05 765212b225bb: Pull complete 09:53:05 f23df028b6ca: Pull complete 09:53:05 d65c8cfc05b1: Pull complete 09:53:20 2437ff75d9bd: Pull complete 09:53:20 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 09:53:20 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 09:53:20 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 09:53:21 prd-ubuntu20.04-docker-arm64-4c-16g-434 does not seem to be running inside a container 09:53:21 $ 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/5 -v /w/workspace/device-virtual-go/5:/w/workspace/device-virtual-go/5:rw,z -v /w/workspace/device-virtual-go/5@tmp:/w/workspace/device-virtual-go/5@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat 09:53:23 $ docker top 58512e720522ba800c749533d032e415c10e9d597540564081225445e774ed49 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 09:53:24 ---> job-cost.sh 09:53:24 lf-activate-venv: SKIPPING 09:53:24 INFO: No Stack... 09:53:24 INFO: Retrieving Pricing Info for: v3-standard-4 09:53:25 INFO: Archiving Costs [Pipeline] sh 09:53:26 + cut -d, -f6 09:53:26 + cat /w/workspace/device-virtual-go/5/archives/cost.csv [Pipeline] lock 09:53:26 Trying to acquire lock on [jenkins-edgexfoundry-device-virtual-go-PR-354-5-stack-cost] 09:53:26 Resource [jenkins-edgexfoundry-device-virtual-go-PR-354-5-stack-cost] did not exist. Created. 09:53:26 Lock acquired on [jenkins-edgexfoundry-device-virtual-go-PR-354-5-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 09:53:27 /w/workspace/device-virtual-go/5@tmp/durable-f063e65d/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 09:53:27 + echo total: 0.10999999940395355 [Pipeline] stash 09:53:27 Warning: overwriting stash ‘stack-cost’ 09:53:27 Stashed 1 file(s) [Pipeline] } 09:53:27 Lock released on resource [jenkins-edgexfoundry-device-virtual-go-PR-354-5-stack-cost] [Pipeline] // lock [Pipeline] } 09:53:27 $ docker stop --time=1 58512e720522ba800c749533d032e415c10e9d597540564081225445e774ed49 09:53:29 $ docker rm -f --volumes 58512e720522ba800c749533d032e415c10e9d597540564081225445e774ed49 [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 09:53:29 provisioning config files... 09:53:29 copy managed file [device-virtual-go-codecov-token] to file:/w/workspace/foundry_device-virtual-go_PR-354@tmp/config10464583787488597914tmp [Pipeline] { [Pipeline] sh 09:53:29 + set +x 09:53:29 + curl -s https://codecov.io/bash 09:53:29 + bash -s -- 09:53:29 09:53:29 _____ _ 09:53:29 / ____| | | 09:53:29 | | ___ __| | ___ ___ _____ __ 09:53:29 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 09:53:29 | |___| (_) | (_| | __/ (_| (_) \ V / 09:53:29 \_____\___/ \__,_|\___|\___\___/ \_/ 09:53:29 Bash-1.0.6 09:53:29 09:53:29 09:53:29 ==> git version 2.25.1 found 09:53:29 ==> 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 09:53:29 Release-Date: 2020-01-08 09:53:29 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 09:53:29 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 09:53:29 ==> Jenkins CI detected. 09:53:29 current dir:  /w/workspace/foundry_device-virtual-go_PR-354 09:53:29 project root: . 09:53:29 --> token set from env 09:53:29 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 09:53:29 ==> Running gcov in . (disable via -X gcov) 09:53:29 ==> Python coveragepy not found 09:53:29 ==> Searching for coverage reports in: 09:53:29 + . 09:53:29 -> Found 1 reports 09:53:29 ==> Detecting git/mercurial file structure 09:53:29 ==> Reading reports 09:53:29 + ./coverage.out bytes=44311 09:53:29 ==> Appending adjustments 09:53:29 https://docs.codecov.io/docs/fixing-reports 09:53:29 + Found adjustments 09:53:29 ==> Gzipping contents 09:53:29 8.0K /tmp/codecov.mMRZc9.gz 09:53:29 ==> Uploading reports 09:53:29 url: https://codecov.io 09:53:29 query: branch=PR-354&commit=764eb32c09e18a6d8e675ec4b9d5a3bd4c709264&build=5&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-virtual-go%2Fjob%2FPR-354%2F5%2F&name=&tag=&slug=edgexfoundry%2Fdevice-virtual-go&service=jenkins&flags=&pr=354&job=&cmd_args= 09:53:29 -> Pinging Codecov 09:53:29 https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=a35e349c-7876-4d48-9269-e9fc36774240&branch=PR-354&commit=764eb32c09e18a6d8e675ec4b9d5a3bd4c709264&build=5&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-virtual-go%2Fjob%2FPR-354%2F5%2F&name=&tag=&slug=edgexfoundry%2Fdevice-virtual-go&service=jenkins&flags=&pr=354&job=&cmd_args= 09:53:29 -> Uploading to 09:53:29 https://storage.googleapis.com/codecov/v4/raw/2023-03-15/5E52B4B073DB2E39498172D8E973AA87/764eb32c09e18a6d8e675ec4b9d5a3bd4c709264/e4009ff3-885e-4028-a928-65fb43a5052e.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20230315%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20230315T095329Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=265951ff31b158d78c7cfba3dbb9e6f7548548243294d7feb0480f3721902012 09:53:29 % Total % Received % Xferd Average Speed Time Time Time Current 09:53:29 Dload Upload Total Spent Left Speed 09:53:30 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 5430 0 0 100 5430 0 22163 --:--:-- --:--:-- --:--:-- 22163 09:53:30 -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-virtual-go/commit/764eb32c09e18a6d8e675ec4b9d5a3bd4c709264 [Pipeline] } 09:53:30 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 09:53:30 + [ -d /w/workspace/foundry_device-virtual-go_PR-354/archives ] 09:53:30 + ls -al /w/workspace/foundry_device-virtual-go_PR-354/archives 09:53:30 total 16 09:53:30 drwxr-xr-x 3 root root 4096 Mar 15 09:42 . 09:53:30 drwxrwxr-x 10 jenkins jenkins 4096 Mar 15 09:42 .. 09:53:30 drwxr-xr-x 2 root root 4096 Mar 15 09:42 cost 09:53:30 -rw-r--r-- 1 root root 89 Mar 15 09:42 cost.csv 09:53:30 + sudo chown -R jenkins:jenkins /w/workspace/foundry_device-virtual-go_PR-354/archives 09:53:30 + ls -al /w/workspace/foundry_device-virtual-go_PR-354/archives 09:53:30 total 16 09:53:30 drwxr-xr-x 3 jenkins jenkins 4096 Mar 15 09:42 . 09:53:30 drwxrwxr-x 10 jenkins jenkins 4096 Mar 15 09:42 .. 09:53:30 drwxr-xr-x 2 jenkins jenkins 4096 Mar 15 09:42 cost 09:53:30 -rw-r--r-- 1 jenkins jenkins 89 Mar 15 09:42 cost.csv [Pipeline] libraryResource [Pipeline] sh 09:53:31 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 09:53:32 ---> package-listing.sh 09:53:32 ++ facter osfamily 09:53:32 ++ tr '[:upper:]' '[:lower:]' 09:53:32 + OS_FAMILY=debian 09:53:32 + workspace=/w/workspace/foundry_device-virtual-go_PR-354 09:53:32 + START_PACKAGES=/tmp/packages_start.txt 09:53:32 + END_PACKAGES=/tmp/packages_end.txt 09:53:32 + DIFF_PACKAGES=/tmp/packages_diff.txt 09:53:32 + PACKAGES=/tmp/packages_start.txt 09:53:32 + '[' /w/workspace/foundry_device-virtual-go_PR-354 ']' 09:53:32 + PACKAGES=/tmp/packages_end.txt 09:53:32 + case "${OS_FAMILY}" in 09:53:32 + grep '^ii' 09:53:32 + dpkg -l 09:53:32 + '[' -f /tmp/packages_start.txt ']' 09:53:32 + '[' -f /tmp/packages_end.txt ']' 09:53:32 + diff /tmp/packages_start.txt /tmp/packages_end.txt 09:53:32 + '[' /w/workspace/foundry_device-virtual-go_PR-354 ']' 09:53:32 + mkdir -p /w/workspace/foundry_device-virtual-go_PR-354/archives/ 09:53:32 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/foundry_device-virtual-go_PR-354/archives/ [Pipeline] echo 09:53:32 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-354/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 09:53:32 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:53:33 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 09:53:33 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 09:53:33 prd-ubuntu20.04-docker-8c-8g-432 does not seem to be running inside a container 09:53:33 $ 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-354/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-354 -v /w/workspace/foundry_device-virtual-go_PR-354:/w/workspace/foundry_device-virtual-go_PR-354:rw,z -v /w/workspace/foundry_device-virtual-go_PR-354@tmp:/w/workspace/foundry_device-virtual-go_PR-354@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 09:53:33 $ docker top ab5bf670c14f383417594603156d8a3069dfd518d3bb537b8c778c8c3581862c -eo pid,comm [Pipeline] { [Pipeline] sh 09:53:34 + touch /tmp/pre-build-complete [Pipeline] sh 09:53:34 + mkdir -p /var/log/sysstat [Pipeline] sh 09:53:34 + ls /var/log/sa-host 09:53:34 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 09:53:34 provisioning config files... 09:53:34 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/foundry_device-virtual-go_PR-354@tmp/config728471310285391850tmp [Pipeline] { [Pipeline] echo 09:53:34 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 09:53:35 ---> create-netrc.sh [Pipeline] } 09:53:35 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 09:53:35 ---> python-tools-install.sh [Pipeline] echo 09:53:35 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 09:53:35 ---> sudo-logs.sh 09:53:35 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 09:53:35 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 09:53:36 ---> job-cost.sh 09:53:36 lf-activate-venv: SKIPPING 09:53:36 DEBUG: total: 0.2199999988079071 09:53:36 INFO: Retrieving Stack Cost... 09:53:36 INFO: Retrieving Pricing Info for: v3-standard-8 09:53:36 INFO: Archiving Costs [Pipeline] echo 09:53:36 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 09:53:37 ---> logs-deploy.sh 09:53:37 lf-activate-venv: SKIPPING 09:53:37 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-virtual-go/PR-354/5 09:53:37 INFO: archiving workspace using pattern(s): 09:53:38 Archives upload complete. 09:53:38 INFO: archiving logs to Nexus