Pull request #413 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 jumpingliu for edgexfoundry/device-virtual-go Loading trusted files from base branch main at 8f55b196a710e15398781abdc7fd66bab52d29c1 rather than 3e5b6e915cf2c8b929b53f3ea63789e240414aa8 Obtained Jenkinsfile from 8f55b196a710e15398781abdc7fd66bab52d29c1 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-ssh4495246040794173438.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 4fc256d9079ed2258907e613f84b1b8da264a4bd Resolving tag commit... (remote references may be a lightweight tag or an annotated tag) > git rev-parse --resolve-git-dir /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f/.git # timeout=10 Setting origin to git@github.com:edgexfoundry/edgex-global-pipelines.git > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching origin... Fetching upstream changes from origin > git --version # timeout=10 > git --version # 'git version 2.16.6' > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f@tmp/jenkins-gitclient-ssh15301716219900576289.key > git fetch --tags --progress -- origin +refs/heads/*:refs/remotes/origin/* # timeout=10 > git rev-parse refs/tags/stable^{commit} # timeout=10 Resolved tag stable revision 4fc256d9079ed2258907e613f84b1b8da264a4bd The recommended git tool is: git using credential edgex-jenkins-ssh > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-virtual-go/branches/PR-413/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-413/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh14921320493600830439.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 4fc256d9079ed2258907e613f84b1b8da264a4bd (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 4fc256d9079ed2258907e613f84b1b8da264a4bd # timeout=10 Commit message: "Merge pull request #430 from ernestojeda/release-lock" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 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-ssh12606323845361251741.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-413/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-413/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh4771312019955006515.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-17189’ Running on prd-ubuntu20.04-docker-8c-8g-17191 in /w/workspace/foundry_device-virtual-go_PR-413 [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-413 # 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 Merging remotes/origin/main commit 8f55b196a710e15398781abdc7fd66bab52d29c1 into PR head commit 3e5b6e915cf2c8b929b53f3ea63789e240414aa8 Merge succeeded, producing 3e5b6e915cf2c8b929b53f3ea63789e240414aa8 Checking out Revision 3e5b6e915cf2c8b929b53f3ea63789e240414aa8 (PR-413) > 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/413/head:refs/remotes/origin/PR-413 +refs/heads/main:refs/remotes/origin/main # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 3e5b6e915cf2c8b929b53f3ea63789e240414aa8 # 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 8f55b196a710e15398781abdc7fd66bab52d29c1 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 3e5b6e915cf2c8b929b53f3ea63789e240414aa8 # timeout=10 Commit message: "docs: Replace slack chat with github discussion" First time build. Skipping changelog. [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 23:14:35 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 23:14:35 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 23:14:35 ========================================================= 23:14:35 EdgeX Global Pipelines Version Info 23:14:35 ========================================================= [Pipeline] libraryResource [Pipeline] sh 23:14:35 ------------------- 23:14:35 stable info: 23:14:35 ------------------- 23:14:35 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 23:14:35 Commit SHA: 4fc256d9079ed2258907e613f84b1b8da264a4bd 23:14:35 Message: update stable to v1.0.249 > git rev-list --no-walk 368cd7a2f79fe1528dc850d86276d3450d488851 # timeout=10 23:14:36 ------------------- 23:14:36 experimental info: 23:14:36 ------------------- 23:14:36 Commited By: **** collab-it+edgex@linuxfoundation.org 23:14:36 Commit SHA: 4fc256d9079ed2258907e613f84b1b8da264a4bd 23:14:36 Message: update experimental to v1.0.249 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 23:14:36 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-virtual-go-settings [Pipeline] echo 23:14:36 [edgeXSetupEnvironment]: set envvar PROJECT = device-virtual-go [Pipeline] echo 23:14:36 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 23:14:36 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 23:14:36 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 23:14:36 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.20 [Pipeline] echo 23:14:36 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 23:14:36 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 23:14:36 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 23:14:36 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 23:14:36 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 23:14:36 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-virtual [Pipeline] echo 23:14:36 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 23:14:36 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 23:14:36 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 23:14:36 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 23:14:36 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 23:14:36 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 23:14:36 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 23:14:36 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 23:14:36 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 23:14:36 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 23:14:36 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 23:14:36 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 23:14:36 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 23:14:37 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 23:14:37 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 23:14:37 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-413 [Pipeline] echo 23:14:37 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-413 [Pipeline] echo 23:14:37 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-413 [Pipeline] echo 23:14:37 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 3e5b6e915cf2c8b929b53f3ea63789e240414aa8 [Pipeline] echo 23:14:37 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 3e5b6e9 [Pipeline] echo 23:14:37 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 23:14:37 provisioning config files... 23:14:37 copy managed file [device-virtual-go-settings] to file:/w/workspace/foundry_device-virtual-go_PR-413@tmp/config16378772420329617035tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 23:14:37 ---> docker-login.sh 23:14:37 nexus3.edgexfoundry.org:10001 23:14:37 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:14:37 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:14:37 Configure a credential helper to remove this warning. See 23:14:37 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:14:37 23:14:37 Login Succeeded 23:14:37 nexus3.edgexfoundry.org:10002 23:14:37 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:14:37 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:14:37 Configure a credential helper to remove this warning. See 23:14:37 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:14:37 23:14:37 Login Succeeded 23:14:37 nexus3.edgexfoundry.org:10003 23:14:37 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:14:37 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:14:37 Configure a credential helper to remove this warning. See 23:14:37 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:14:37 23:14:37 Login Succeeded 23:14:37 nexus3.edgexfoundry.org:10004 23:14:37 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:14:37 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:14:37 Configure a credential helper to remove this warning. See 23:14:37 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:14:37 23:14:37 Login Succeeded 23:14:37 docker.io 23:14:37 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:14:38 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:14:38 Configure a credential helper to remove this warning. See 23:14:38 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:14:38 23:14:38 Login Succeeded 23:14:38 ---> docker-login.sh ends [Pipeline] } 23:14:38 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 23:14:38 + git rev-list -1 --merges 3e5b6e915cf2c8b929b53f3ea63789e240414aa8~1..3e5b6e915cf2c8b929b53f3ea63789e240414aa8 [Pipeline] echo 23:14:38 -----------> git rev-list -1 --merges 3e5b6e915cf2c8b929b53f3ea63789e240414aa8~1..3e5b6e915cf2c8b929b53f3ea63789e240414aa8 3e5b6e915cf2c8b929b53f3ea63789e240414aa8 [false] [Pipeline] sh 23:14:38 + git log --format=format:%s -1 3e5b6e915cf2c8b929b53f3ea63789e240414aa8 [Pipeline] echo 23:14:38 ========================================================= 23:14:38 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 23:14:38 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 23:14:39 + git log --format=format:%s -1 3e5b6e915cf2c8b929b53f3ea63789e240414aa8 [Pipeline] echo 23:14:39 [semverPrep] GIT_COMMIT: 3e5b6e915cf2c8b929b53f3ea63789e240414aa8, Commit Message: docs: Replace slack chat with github discussion [Pipeline] echo 23:14:39 [semverPrep] This is not a build commit. [Pipeline] sh 23:14:39 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 23:14:39 + grep -v github /etc/ssh/ssh_known_hosts 23:14:39 + [ -e /tmp/ssh_known_hosts ] 23:14:39 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 23:14:39 + + echosudo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= tee 23:14:39 -a /etc/ssh/ssh_known_hosts 23:14:39 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:14:40 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 23:14:40 23:14:40 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:14:40 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 23:14:40 0.1.4: Pulling from edgex-devops/py-git-semver 23:14:40 b85a868b505f: Pulling fs layer 23:14:40 e2be974225ed: Pulling fs layer 23:14:40 339a4e72a1f5: Pulling fs layer 23:14:40 988bab9f4d93: Pulling fs layer 23:14:40 1469e6f7b9e6: Pulling fs layer 23:14:40 eaf3925da568: Pulling fs layer 23:14:40 bab4dde63d76: Pulling fs layer 23:14:40 bde34c3a00c8: Pulling fs layer 23:14:40 b352a97aabf1: Pulling fs layer 23:14:40 4872d77fe225: Pulling fs layer 23:14:40 5851b861e8e6: Pulling fs layer 23:14:40 1469e6f7b9e6: Waiting 23:14:40 eaf3925da568: Waiting 23:14:40 bab4dde63d76: Waiting 23:14:40 988bab9f4d93: Waiting 23:14:40 5851b861e8e6: Waiting 23:14:40 b352a97aabf1: Waiting 23:14:40 339a4e72a1f5: Verifying Checksum 23:14:40 339a4e72a1f5: Download complete 23:14:40 988bab9f4d93: Download complete 23:14:40 e2be974225ed: Verifying Checksum 23:14:40 e2be974225ed: Download complete 23:14:40 eaf3925da568: Verifying Checksum 23:14:40 eaf3925da568: Download complete 23:14:40 1469e6f7b9e6: Verifying Checksum 23:14:40 1469e6f7b9e6: Download complete 23:14:40 bde34c3a00c8: Verifying Checksum 23:14:40 bde34c3a00c8: Download complete 23:14:40 b352a97aabf1: Verifying Checksum 23:14:40 b352a97aabf1: Download complete 23:14:40 4872d77fe225: Download complete 23:14:40 5851b861e8e6: Download complete 23:14:40 b85a868b505f: Download complete 23:14:40 bab4dde63d76: Verifying Checksum 23:14:40 bab4dde63d76: Download complete 23:14:41 b85a868b505f: Pull complete 23:14:42 e2be974225ed: Pull complete 23:14:42 339a4e72a1f5: Pull complete 23:14:42 988bab9f4d93: Pull complete 23:14:42 1469e6f7b9e6: Pull complete 23:14:42 eaf3925da568: Pull complete 23:14:44 bab4dde63d76: Pull complete 23:14:44 bde34c3a00c8: Pull complete 23:14:44 b352a97aabf1: Pull complete 23:14:44 4872d77fe225: Pull complete 23:14:44 5851b861e8e6: Pull complete 23:14:44 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 23:14:44 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 23:14:44 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 23:14:44 prd-ubuntu20.04-docker-8c-8g-17191 does not seem to be running inside a container 23:14:44 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/foundry_device-virtual-go_PR-413 -v /w/workspace/foundry_device-virtual-go_PR-413:/w/workspace/foundry_device-virtual-go_PR-413:rw,z -v /w/workspace/foundry_device-virtual-go_PR-413@tmp:/w/workspace/foundry_device-virtual-go_PR-413@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 ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 23:14:47 $ docker top 44330b144b0d6fa976ab7e5d51dc03f8cc5058604e1fba8d7aa2665cf9619c44 -eo pid,comm 23:14:47 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). 23:14:47 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 23:14:47 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 23:14:47 [ssh-agent] Looking for ssh-agent implementation... 23:14:47 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 23:14:47 $ docker exec 44330b144b0d6fa976ab7e5d51dc03f8cc5058604e1fba8d7aa2665cf9619c44 ssh-agent 23:14:48 SSH_AUTH_SOCK=/tmp/ssh-Vmkc3OYUUqI5/agent.31 23:14:48 SSH_AGENT_PID=37 23:14:48 Running ssh-add (command line suppressed) 23:14:48 Identity added: /w/workspace/foundry_device-virtual-go_PR-413@tmp/private_key_3759426746685667590.key (/w/workspace/foundry_device-virtual-go_PR-413@tmp/private_key_3759426746685667590.key) 23:14:48 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 23:14:48 + git tag --points-at HEAD [Pipeline] } 23:14:48 $ docker exec --env ******** --env ******** 44330b144b0d6fa976ab7e5d51dc03f8cc5058604e1fba8d7aa2665cf9619c44 ssh-agent -k 23:14:48 unset SSH_AUTH_SOCK; 23:14:48 unset SSH_AGENT_PID; 23:14:48 echo Agent pid 37 killed; 23:14:48 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 23:14:48 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 23:14:48 [ssh-agent] Looking for ssh-agent implementation... 23:14:48 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 23:14:48 $ docker exec 44330b144b0d6fa976ab7e5d51dc03f8cc5058604e1fba8d7aa2665cf9619c44 ssh-agent 23:14:48 SSH_AUTH_SOCK=/tmp/ssh-5Ce20nfVAKai/agent.69 23:14:48 SSH_AGENT_PID=75 23:14:48 Running ssh-add (command line suppressed) 23:14:48 Identity added: /w/workspace/foundry_device-virtual-go_PR-413@tmp/private_key_12218704625299373568.key (/w/workspace/foundry_device-virtual-go_PR-413@tmp/private_key_12218704625299373568.key) 23:14:48 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 23:14:49 + git semver init 23:14:49 2023-05-29 23:14:49,401 [run_init] DEBUG init version:0.0.0 force:False 23:14:49 2023-05-29 23:14:49,402 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/foundry_device-virtual-go_PR-413/.semver 23:14:49 2023-05-29 23:14:49,402 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-virtual-go.git /w/workspace/foundry_device-virtual-go_PR-413/.semver 23:14:49 2023-05-29 23:14:49,403 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-virtual-go.git', '/w/workspace/foundry_device-virtual-go_PR-413/.semver'], cwd=/w/workspace/foundry_device-virtual-go_PR-413, universal_newlines=False, shell=None, istream=None) 23:14:50 2023-05-29 23:14:50,610 [append_file] DEBUG append to file:/w/workspace/foundry_device-virtual-go_PR-413/.git/info/exclude 23:14:50 2023-05-29 23:14:50,610 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/foundry_device-virtual-go_PR-413/.semver/PR-413 with force:False 23:14:50 2023-05-29 23:14:50,610 [write_file] DEBUG write to file:/w/workspace/foundry_device-virtual-go_PR-413/.semver/PR-413 23:14:50 2023-05-29 23:14:50,612 [execute] INFO git cat-file --batch-check 23:14:50 2023-05-29 23:14:50,613 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/foundry_device-virtual-go_PR-413/.semver, universal_newlines=False, shell=None, istream=) 23:14:50 2023-05-29 23:14:50,618 [execute] INFO git cat-file --batch 23:14:50 2023-05-29 23:14:50,618 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/foundry_device-virtual-go_PR-413/.semver, universal_newlines=False, shell=None, istream=) 23:14:50 2023-05-29 23:14:50,622 [read_version] DEBUG read version from /w/workspace/foundry_device-virtual-go_PR-413/.semver/PR-413 23:14:50 0.0.0 [Pipeline] } 23:14:50 $ docker exec --env ******** --env ******** 44330b144b0d6fa976ab7e5d51dc03f8cc5058604e1fba8d7aa2665cf9619c44 ssh-agent -k 23:14:50 unset SSH_AUTH_SOCK; 23:14:50 unset SSH_AGENT_PID; 23:14:50 echo Agent pid 75 killed; 23:14:50 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 23:14:51 + git semver [Pipeline] } 23:14:51 $ docker stop --time=1 44330b144b0d6fa976ab7e5d51dc03f8cc5058604e1fba8d7aa2665cf9619c44 23:14:52 $ docker rm -f --volumes 44330b144b0d6fa976ab7e5d51dc03f8cc5058604e1fba8d7aa2665cf9619c44 [Pipeline] // withDockerContainer [Pipeline] sh 23:14:53 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 23:14:53 Stashed 1 file(s) [Pipeline] echo 23:14:53 [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 23:14:53 provisioning config files... 23:14:53 copy managed file [device-virtual-go-settings] to file:/w/workspace/foundry_device-virtual-go_PR-413@tmp/config17091930865887270736tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 23:14:53 ---> docker-login.sh 23:14:53 nexus3.edgexfoundry.org:10001 23:14:53 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:14:53 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:14:53 Configure a credential helper to remove this warning. See 23:14:53 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:14:53 23:14:53 Login Succeeded 23:14:53 nexus3.edgexfoundry.org:10002 23:14:53 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:14:53 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:14:53 Configure a credential helper to remove this warning. See 23:14:53 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:14:53 23:14:53 Login Succeeded 23:14:53 nexus3.edgexfoundry.org:10003 23:14:54 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:14:54 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:14:54 Configure a credential helper to remove this warning. See 23:14:54 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:14:54 23:14:54 Login Succeeded 23:14:54 nexus3.edgexfoundry.org:10004 23:14:54 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:14:54 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:14:54 Configure a credential helper to remove this warning. See 23:14:54 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:14:54 23:14:54 Login Succeeded 23:14:54 docker.io 23:14:54 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:14:54 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:14:54 Configure a credential helper to remove this warning. See 23:14:54 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:14:54 23:14:54 Login Succeeded 23:14:54 ---> docker-login.sh ends [Pipeline] } 23:14:54 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 23:14:54 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 23:14:54 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 23:14:54 ========================================================= 23:14:54 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine] 23:14:54 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:14:54 + 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 . 23:14:54 Sending build context to Docker daemon 23.69MB 23:14:54 Step 1/12 : ARG BASE=golang:1.20-alpine3.17 23:14:54 Step 2/12 : FROM ${BASE} AS builder 23:14:54 1.20-alpine: Pulling from edgex-devops/edgex-golang-base 23:14:54 f56be85fc22e: Pulling fs layer 23:14:54 85791d961cd3: Pulling fs layer 23:14:54 d694b5ae8c79: Pulling fs layer 23:14:54 9f32a84ed3da: Pulling fs layer 23:14:54 4d19c01a9841: Pulling fs layer 23:14:54 9325e15d5711: Pulling fs layer 23:14:54 556b6ee489ea: Pulling fs layer 23:14:54 c5a4b2cf53e6: Pulling fs layer 23:14:54 9f32a84ed3da: Waiting 23:14:54 9325e15d5711: Waiting 23:14:54 556b6ee489ea: Waiting 23:14:54 c5a4b2cf53e6: Waiting 23:14:54 4d19c01a9841: Waiting 23:14:55 85791d961cd3: Download complete 23:14:55 9f32a84ed3da: Download complete 23:14:55 4d19c01a9841: Download complete 23:14:55 f56be85fc22e: Verifying Checksum 23:14:55 f56be85fc22e: Download complete 23:14:55 9325e15d5711: Verifying Checksum 23:14:55 9325e15d5711: Download complete 23:14:55 f56be85fc22e: Pull complete 23:14:55 85791d961cd3: Pull complete 23:14:55 d694b5ae8c79: Verifying Checksum 23:14:55 d694b5ae8c79: Download complete 23:14:55 c5a4b2cf53e6: Verifying Checksum 23:14:55 c5a4b2cf53e6: Download complete 23:14:55 556b6ee489ea: Verifying Checksum 23:14:55 556b6ee489ea: Download complete 23:14:58 d694b5ae8c79: Pull complete 23:14:58 9f32a84ed3da: Pull complete 23:14:58 4d19c01a9841: Pull complete 23:14:58 9325e15d5711: Pull complete 23:15:01 556b6ee489ea: Pull complete 23:15:02 c5a4b2cf53e6: Pull complete 23:15:02 Digest: sha256:cdb650785bd12602035d3ff87499385c169773a4d12d6eaf394b34464d3a0f2b 23:15:02 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine 23:15:02 ---> c4be618373d6 23:15:02 Step 3/12 : ARG ALPINE_PKG_BASE="make git openssh-client" 23:15:06 ---> Running in d3b9091f13b4 23:15:06 Removing intermediate container d3b9091f13b4 23:15:06 ---> 424d6294c00b 23:15:06 Step 4/12 : ARG ALPINE_PKG_EXTRA="" 23:15:06 ---> Running in f1556d51726e 23:15:06 Removing intermediate container f1556d51726e 23:15:06 ---> bce8ffab5413 23:15:06 Step 5/12 : ARG ADD_BUILD_TAGS="" 23:15:06 ---> Running in a5ebdfe2f8e7 23:15:06 Removing intermediate container a5ebdfe2f8e7 23:15:06 ---> b0f28a8af525 23:15:06 Step 6/12 : WORKDIR /device-virtual-go 23:15:06 ---> Running in f5d86e8a421d 23:15:06 Removing intermediate container f5d86e8a421d 23:15:06 ---> a1a81535b731 23:15:06 Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 23:15:06 ---> Running in 2a0c6249fecd 23:15:06 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 23:15:06 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 23:15:07 (1/4) Installing openssh-keygen (9.1_p1-r3) 23:15:07 (2/4) Installing libedit (20221030.3.1-r0) 23:15:07 (3/4) Installing openssh-client-common (9.1_p1-r3) 23:15:07 (4/4) Installing openssh-client-default (9.1_p1-r3) 23:15:07 Executing busybox-1.35.0-r29.trigger 23:15:07 OK: 269 MiB in 57 packages 23:15:07 Removing intermediate container 2a0c6249fecd 23:15:07 ---> 6ad5e38dda9b 23:15:07 Step 8/12 : COPY go.mod vendor* ./ 23:15:07 ---> 2e872c82d24c 23:15:07 Step 9/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 23:15:07 ---> Running in e7ef181e2c37 23:15:08 Still waiting to schedule task 23:15:08 Waiting for next available executor on ‘prd-ubuntu20.04-docker-arm64-4c-16g-17190’ 23:15:34 Removing intermediate container e7ef181e2c37 23:15:34 ---> 75bf07c30bca 23:15:34 Step 10/12 : COPY . . 23:15:34 ---> 6b5d18001eba 23:15:34 Step 11/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 23:15:34 ---> Running in 60dcb96b4b42 23:15:34 Removing intermediate container 60dcb96b4b42 23:15:34 ---> 125cfac02769 23:15:34 Step 12/12 : RUN $MAKE 23:15:34 ---> Running in 33a1cd98c2df 23:15:34 noop 23:15:34 Removing intermediate container 33a1cd98c2df 23:15:34 ---> 4ea104a9e5eb 23:15:34 Successfully built 4ea104a9e5eb 23:15:34 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:15:34 + docker inspect -f . ci-base-image-x86_64 23:15:34 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 23:15:34 prd-ubuntu20.04-docker-8c-8g-17191 does not seem to be running inside a container 23:15:34 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/foundry_device-virtual-go_PR-413 -v /w/workspace/foundry_device-virtual-go_PR-413:/w/workspace/foundry_device-virtual-go_PR-413:rw,z -v /w/workspace/foundry_device-virtual-go_PR-413@tmp:/w/workspace/foundry_device-virtual-go_PR-413@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-x86_64 cat 23:15:34 $ docker top 4a4fbf3e06f6db8fb89cf8418c72be86a1e511ffa611f6cdbf896d09a914187a -eo pid,comm [Pipeline] { [Pipeline] sh 23:15:35 + go version 23:15:35 go version go1.20.2 linux/amd64 [Pipeline] } 23:15:35 $ docker stop --time=1 4a4fbf3e06f6db8fb89cf8418c72be86a1e511ffa611f6cdbf896d09a914187a 23:15:36 $ docker rm -f --volumes 4a4fbf3e06f6db8fb89cf8418c72be86a1e511ffa611f6cdbf896d09a914187a [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:15:37 + docker inspect -f . ci-base-image-x86_64 23:15:37 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 23:15:37 prd-ubuntu20.04-docker-8c-8g-17191 does not seem to be running inside a container 23:15:37 $ 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-413 -v /w/workspace/foundry_device-virtual-go_PR-413:/w/workspace/foundry_device-virtual-go_PR-413:rw,z -v /w/workspace/foundry_device-virtual-go_PR-413@tmp:/w/workspace/foundry_device-virtual-go_PR-413@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-x86_64 cat 23:15:37 $ docker top 4a99be7a4c0fec3a73da164b6c46e853fc3dc56bd1768c23a1fc221357059d61 -eo pid,comm [Pipeline] { [Pipeline] sh 23:15:37 + git config --global --add safe.directory /w/workspace/foundry_device-virtual-go_PR-413 [Pipeline] fileExists [Pipeline] sh 23:15:38 + make test 23:15:38 go test ./... -coverprofile=coverage.out 23:15:43 ? github.com/edgexfoundry/device-virtual-go [no test files] 23:15:51 ? github.com/edgexfoundry/device-virtual-go/cmd [no test files] 23:15:51 ok github.com/edgexfoundry/device-virtual-go/internal/driver 0.019s coverage: 58.6% of statements 23:15:56 go vet ./... 23:16:00 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 23:16:00 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 23:16:00 ./bin/test-attribution-txt.sh [Pipeline] echo 23:16:00 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 23:16:00 $ docker stop --time=1 4a99be7a4c0fec3a73da164b6c46e853fc3dc56bd1768c23a1fc221357059d61 23:16:03 $ docker rm -f --volumes 4a99be7a4c0fec3a73da164b6c46e853fc3dc56bd1768c23a1fc221357059d61 [Pipeline] // withDockerContainer [Pipeline] sh 23:16:03 + sudo chown -R jenkins:jenkins . [Pipeline] stash 23:16:03 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 23:16:04 + sudo chown -R jenkins:jenkins . [Pipeline] sh 23:16:04 + ls -al . 23:16:04 total 196 23:16:04 drwxrwxr-x 9 jenkins jenkins 4096 May 29 23:15 . 23:16:04 drwxrwxr-x 4 jenkins jenkins 4096 May 29 23:14 .. 23:16:04 drwxrwxr-x 8 jenkins jenkins 4096 May 29 23:14 .git 23:16:04 drwxrwxr-x 3 jenkins jenkins 4096 May 29 23:14 .github 23:16:04 -rw-rw-r-- 1 jenkins jenkins 337 May 29 23:14 .gitignore 23:16:04 -rw-rw-r-- 1 jenkins jenkins 41 May 29 23:14 .golangci.yml 23:16:04 drwxr-xr-x 3 jenkins jenkins 4096 May 29 23:14 .semver 23:16:04 -rw-rw-r-- 1 jenkins jenkins 8652 May 29 23:14 Attribution.txt 23:16:04 -rw-rw-r-- 1 jenkins jenkins 11367 May 29 23:14 CHANGELOG.md 23:16:04 -rw-rw-r-- 1 jenkins jenkins 1646 May 29 23:14 Dockerfile 23:16:04 -rw-rw-r-- 1 jenkins jenkins 677 May 29 23:14 GOVERNANCE.md 23:16:04 -rw-rw-r-- 1 jenkins jenkins 660 May 29 23:14 Jenkinsfile 23:16:04 -rw-rw-r-- 1 jenkins jenkins 11340 May 29 23:14 LICENSE 23:16:04 -rw-rw-r-- 1 jenkins jenkins 1696 May 29 23:14 Makefile 23:16:04 -rw-rw-r-- 1 jenkins jenkins 623 May 29 23:14 OWNERS.md 23:16:04 -rw-rw-r-- 1 jenkins jenkins 4131 May 29 23:14 README.md 23:16:04 -rw-rw-r-- 1 jenkins jenkins 5 May 29 23:14 VERSION 23:16:04 drwxrwxr-x 2 jenkins jenkins 4096 May 29 23:14 bin 23:16:04 drwxrwxr-x 3 jenkins jenkins 4096 May 29 23:14 cmd 23:16:04 -rw-r--r-- 1 jenkins jenkins 43063 May 29 23:15 coverage.out 23:16:04 -rw-rw-r-- 1 jenkins jenkins 3161 May 29 23:14 go.mod 23:16:04 -rw-rw-r-- 1 jenkins jenkins 30898 May 29 23:14 go.sum 23:16:04 drwxrwxr-x 3 jenkins jenkins 4096 May 29 23:14 internal 23:16:04 drwxrwxr-x 4 jenkins jenkins 4096 May 29 23:14 snap 23:16:04 -rw-rw-r-- 1 jenkins jenkins 235 May 29 23:14 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:16:04 + 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=3e5b6e915cf2c8b929b53f3ea63789e240414aa8 --label arch=amd64 --label version=0.0.0 . 23:16:04 Sending build context to Docker daemon 23.73MB 23:16:04 Step 1/25 : ARG BASE=golang:1.20-alpine3.17 23:16:04 Step 2/25 : FROM ${BASE} AS builder 23:16:04 ---> 4ea104a9e5eb 23:16:04 Step 3/25 : ARG ALPINE_PKG_BASE="make git openssh-client" 23:16:05 ---> Running in e2fe8eb872e6 23:16:05 Removing intermediate container e2fe8eb872e6 23:16:05 ---> fee7c43142e4 23:16:05 Step 4/25 : ARG ALPINE_PKG_EXTRA="" 23:16:05 ---> Running in 236cc18b1915 23:16:05 Removing intermediate container 236cc18b1915 23:16:05 ---> 593533d17304 23:16:05 Step 5/25 : ARG ADD_BUILD_TAGS="" 23:16:05 ---> Running in 3dff29ee61b2 23:16:05 Removing intermediate container 3dff29ee61b2 23:16:05 ---> 3c031336f2ec 23:16:05 Step 6/25 : WORKDIR /device-virtual-go 23:16:05 ---> Running in a0d92c89dae3 23:16:05 Removing intermediate container a0d92c89dae3 23:16:05 ---> 5edafcf04a26 23:16:05 Step 7/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 23:16:05 ---> Running in af9cc02a7538 23:16:05 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 23:16:06 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 23:16:06 OK: 269 MiB in 57 packages 23:16:06 Removing intermediate container af9cc02a7538 23:16:06 ---> eabef6bc04bc 23:16:06 Step 8/25 : COPY go.mod vendor* ./ 23:16:06 ---> fdb8c7eb511e 23:16:06 Step 9/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 23:16:06 ---> Running in 1e2ca3291354 23:16:07 Removing intermediate container 1e2ca3291354 23:16:07 ---> c63507771215 23:16:07 Step 10/25 : COPY . . 23:16:08 ---> 37990ba56e74 23:16:08 Step 11/25 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 23:16:08 ---> Running in d6be599f8c77 23:16:08 Removing intermediate container d6be599f8c77 23:16:08 ---> d50960c2820c 23:16:08 Step 12/25 : RUN $MAKE 23:16:08 ---> Running in 0e969798927d 23:16:08 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 23:16:30 Removing intermediate container 0e969798927d 23:16:30 ---> d43a51b38627 23:16:30 Step 13/25 : FROM alpine:3.17 23:16:30 3.17: Pulling from library/alpine 23:16:30 f56be85fc22e: Already exists 23:16:30 Digest: sha256:124c7d2707904eea7431fffe91522a01e5a861a624ee31d03372cc1d138a3126 23:16:30 Status: Downloaded newer image for alpine:3.17 23:16:30 ---> 9ed4aefc74f6 23:16:30 Step 14/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2021: IOTech' 23:16:30 ---> Running in 3347d3b7cbfc 23:16:30 Removing intermediate container 3347d3b7cbfc 23:16:30 ---> d824e123d593 23:16:30 Step 15/25 : RUN apk add --update --no-cache dumb-init 23:16:30 ---> Running in c262610d47f5 23:16:30 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 23:16:30 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 23:16:30 (1/1) Installing dumb-init (1.2.5-r2) 23:16:30 Executing busybox-1.35.0-r29.trigger 23:16:30 OK: 7 MiB in 16 packages 23:16:30 Removing intermediate container c262610d47f5 23:16:30 ---> 4f0bf234a356 23:16:30 Step 16/25 : WORKDIR / 23:16:30 ---> Running in 48dc3af2367a 23:16:30 Removing intermediate container 48dc3af2367a 23:16:30 ---> acc3d57977ef 23:16:30 Step 17/25 : COPY --from=builder /device-virtual-go/Attribution.txt / 23:16:30 ---> 710aa43fb350 23:16:30 Step 18/25 : COPY --from=builder /device-virtual-go/LICENSE / 23:16:30 ---> 6d53436dfc2d 23:16:30 Step 19/25 : COPY --from=builder /device-virtual-go/cmd / 23:16:30 ---> afffa7ea6603 23:16:30 Step 20/25 : EXPOSE 59900 23:16:30 ---> Running in 4d5bb9657ddc 23:16:30 Removing intermediate container 4d5bb9657ddc 23:16:30 ---> 3398479d312f 23:16:30 Step 21/25 : ENTRYPOINT ["/device-virtual"] 23:16:30 ---> Running in 5738314a5ac8 23:16:30 Removing intermediate container 5738314a5ac8 23:16:30 ---> edb6ad5e9f44 23:16:30 Step 22/25 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry"] 23:16:30 ---> Running in c91fb7146234 23:16:30 Removing intermediate container c91fb7146234 23:16:30 ---> b38d0163e808 23:16:30 Step 23/25 : LABEL arch=amd64 23:16:30 ---> Running in 333f12a4a872 23:16:30 Removing intermediate container 333f12a4a872 23:16:30 ---> 0f12b163e00a 23:16:30 Step 24/25 : LABEL git_sha=3e5b6e915cf2c8b929b53f3ea63789e240414aa8 23:16:30 ---> Running in 233cbdf4233c 23:16:30 Removing intermediate container 233cbdf4233c 23:16:30 ---> c80e0ed7a4f0 23:16:30 Step 25/25 : LABEL version=0.0.0 23:16:30 ---> Running in 8a08f91debd6 23:16:30 Removing intermediate container 8a08f91debd6 23:16:30 ---> def24749a331 23:16:30 [Warning] One or more build-args [ARCH] were not consumed 23:16:30 Successfully built def24749a331 23:16:30 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 23:16:31 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 23:16:31 23:16:31 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:16:31 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 23:16:31 latest: Pulling from edgex-lftools-log-publisher 23:16:31 5eb5b503b376: Pulling fs layer 23:16:31 5c69ac0246d0: Pulling fs layer 23:16:31 ec43610c2a17: Pulling fs layer 23:16:31 3a2ae6a8a46f: Pulling fs layer 23:16:31 33b1e0a273af: Pulling fs layer 23:16:31 5d3b04190fa2: Pulling fs layer 23:16:31 2f39f015ded8: Pulling fs layer 23:16:31 3a2ae6a8a46f: Waiting 23:16:31 33b1e0a273af: Waiting 23:16:31 5d3b04190fa2: Waiting 23:16:31 2f39f015ded8: Waiting 23:16:31 5c69ac0246d0: Download complete 23:16:31 3a2ae6a8a46f: Verifying Checksum 23:16:31 3a2ae6a8a46f: Download complete 23:16:31 33b1e0a273af: Verifying Checksum 23:16:31 33b1e0a273af: Download complete 23:16:31 5d3b04190fa2: Verifying Checksum 23:16:31 5d3b04190fa2: Download complete 23:16:31 ec43610c2a17: Verifying Checksum 23:16:31 ec43610c2a17: Download complete 23:16:31 5eb5b503b376: Verifying Checksum 23:16:31 5eb5b503b376: Download complete 23:16:32 2f39f015ded8: Download complete 23:16:33 5eb5b503b376: Pull complete 23:16:33 5c69ac0246d0: Pull complete 23:16:33 ec43610c2a17: Pull complete 23:16:33 3a2ae6a8a46f: Pull complete 23:16:33 33b1e0a273af: Pull complete 23:16:33 5d3b04190fa2: Pull complete 23:16:38 2f39f015ded8: Pull complete 23:16:38 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 23:16:38 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 23:16:38 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 23:16:38 prd-ubuntu20.04-docker-8c-8g-17191 does not seem to be running inside a container 23:16:38 $ 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-413 -v /w/workspace/foundry_device-virtual-go_PR-413:/w/workspace/foundry_device-virtual-go_PR-413:rw,z -v /w/workspace/foundry_device-virtual-go_PR-413@tmp:/w/workspace/foundry_device-virtual-go_PR-413@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:latest cat 23:16:41 $ docker top 3ad252b187f9548a65b7421e163552a8638956c9cdf0021d2a6ab618e7905143 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 23:16:42 ---> job-cost.sh 23:16:42 lf-activate-venv: SKIPPING 23:16:42 INFO: No Stack... 23:16:42 INFO: Retrieving Pricing Info for: v3-standard-8 23:16:43 INFO: Archiving Costs [Pipeline] sh 23:16:43 + cat /w/workspace/foundry_device-virtual-go_PR-413/archives/cost.csv 23:16:43 + cut -d, -f6 [Pipeline] lock 23:16:43 Trying to acquire lock on [jenkins-edgexfoundry-device-virtual-go-PR-413-2-stack-cost] 23:16:43 Resource [jenkins-edgexfoundry-device-virtual-go-PR-413-2-stack-cost] did not exist. Created. 23:16:43 Lock acquired on [jenkins-edgexfoundry-device-virtual-go-PR-413-2-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 23:16:43 + echo total: 0.2199999988079071 [Pipeline] stash 23:16:43 Stashed 1 file(s) [Pipeline] } 23:16:43 Lock released on resource [jenkins-edgexfoundry-device-virtual-go-PR-413-2-stack-cost] [Pipeline] // lock [Pipeline] } 23:16:43 $ docker stop --time=1 3ad252b187f9548a65b7421e163552a8638956c9cdf0021d2a6ab618e7905143 23:16:44 $ docker rm -f --volumes 3ad252b187f9548a65b7421e163552a8638956c9cdf0021d2a6ab618e7905143 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 23:17:36 Running on prd-ubuntu20.04-docker-arm64-4c-16g-17194 in /w/workspace/foundry_device-virtual-go_PR-413 [Pipeline] { [Pipeline] ws 23:17:36 Running in /w/workspace/device-virtual-go/2 [Pipeline] { [Pipeline] checkout 23:17:36 The recommended git tool is: git 23:17:42 using credential edgex-jenkins-ssh 23:17:42 Cloning the remote Git repository 23:17:42 Cloning repository git@github.com:edgexfoundry/device-virtual-go.git 23:17:42 > git init /w/workspace/device-virtual-go/2 # timeout=10 23:17:42 Fetching upstream changes from git@github.com:edgexfoundry/device-virtual-go.git 23:17:42 > git --version # timeout=10 23:17:42 > git --version # 'git version 2.25.1' 23:17:42 using GIT_SSH to set credentials SSH Credentials for GitHub 23:17:42 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-virtual-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 23:17:46 > git config remote.origin.url git@github.com:edgexfoundry/device-virtual-go.git # timeout=10 23:17:46 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 23:17:47 Merging remotes/origin/main commit 8f55b196a710e15398781abdc7fd66bab52d29c1 into PR head commit 3e5b6e915cf2c8b929b53f3ea63789e240414aa8 23:17:48 Merge succeeded, producing 3e5b6e915cf2c8b929b53f3ea63789e240414aa8 23:17:48 Checking out Revision 3e5b6e915cf2c8b929b53f3ea63789e240414aa8 (PR-413) 23:17:47 > git config remote.origin.url git@github.com:edgexfoundry/device-virtual-go.git # timeout=10 23:17:47 Fetching upstream changes from git@github.com:edgexfoundry/device-virtual-go.git 23:17:47 using GIT_SSH to set credentials SSH Credentials for GitHub 23:17:47 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-virtual-go.git +refs/pull/413/head:refs/remotes/origin/PR-413 +refs/heads/main:refs/remotes/origin/main # timeout=10 23:17:48 > git config core.sparsecheckout # timeout=10 23:17:48 > git checkout -f 3e5b6e915cf2c8b929b53f3ea63789e240414aa8 # timeout=10 23:17:48 > git remote # timeout=10 23:17:48 > git config --get remote.origin.url # timeout=10 23:17:48 using GIT_SSH to set credentials SSH Credentials for GitHub 23:17:48 > git merge 8f55b196a710e15398781abdc7fd66bab52d29c1 # timeout=10 23:17:48 > git rev-parse HEAD^{commit} # timeout=10 23:17:48 > git config core.sparsecheckout # timeout=10 23:17:48 > git checkout -f 3e5b6e915cf2c8b929b53f3ea63789e240414aa8 # timeout=10 23:17:51 Commit message: "docs: Replace slack chat with github discussion" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 23:17:52 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 23:17:52 % Total % Received % Xferd Average Speed Time Time Time Current 23:17:52 Dload Upload Total Spent Left Speed 23:17:52 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 218k 0 --:--:-- --:--:-- --:--:-- 218k [Pipeline] sh 23:17:53 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 23:17:53 + sudo tee /etc/docker/daemon.new 23:17:53 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 23:17:53 { 23:17:53 "registry-mirrors": [ 23:17:53 "https://nexus3.edgexfoundry.org:10001" 23:17:53 ], 23:17:53 "bip": "10.250.0.254/24", 23:17:53 "hosts": [ 23:17:53 "tcp://0.0.0.0:5555", 23:17:53 "unix:///var/run/docker.sock" 23:17:53 ], 23:17:53 "mtu": 1458, 23:17:53 "selinux-enabled": true, 23:17:53 "seccomp-profile": "/etc/docker/seccomp.json" 23:17:53 } [Pipeline] sh 23:17:54 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 23:17:54 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 23:18:16 provisioning config files... 23:18:16 copy managed file [device-virtual-go-settings] to file:/w/workspace/device-virtual-go/2@tmp/config14917250953020357290tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 23:18:17 ---> docker-login.sh 23:18:17 nexus3.edgexfoundry.org:10001 23:18:18 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:18:18 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:18:18 Configure a credential helper to remove this warning. See 23:18:18 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:18:18 23:18:18 Login Succeeded 23:18:18 nexus3.edgexfoundry.org:10002 23:18:18 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:18:18 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:18:18 Configure a credential helper to remove this warning. See 23:18:18 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:18:18 23:18:18 Login Succeeded 23:18:18 nexus3.edgexfoundry.org:10003 23:18:18 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:18:18 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:18:18 Configure a credential helper to remove this warning. See 23:18:18 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:18:18 23:18:18 Login Succeeded 23:18:18 nexus3.edgexfoundry.org:10004 23:18:19 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:18:19 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:18:19 Configure a credential helper to remove this warning. See 23:18:19 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:18:19 23:18:19 Login Succeeded 23:18:19 docker.io 23:18:19 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:18:19 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:18:19 Configure a credential helper to remove this warning. See 23:18:19 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:18:19 23:18:19 Login Succeeded 23:18:19 ---> docker-login.sh ends [Pipeline] } 23:18:19 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 23:18:20 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 23:18:20 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 23:18:20 ========================================================= 23:18:20 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine] 23:18:20 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:18: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 . 23:18:20 Sending build context to Docker daemon 12.01MB 23:18:20 Step 1/12 : ARG BASE=golang:1.20-alpine3.17 23:18:20 Step 2/12 : FROM ${BASE} AS builder 23:18:20 1.20-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 23:18:20 c41833b44d91: Pulling fs layer 23:18:20 ed15518f5707: Pulling fs layer 23:18:20 feae8fd75edb: Pulling fs layer 23:18:20 242c74f7c9fa: Pulling fs layer 23:18:20 3cdef696dda3: Pulling fs layer 23:18:20 2ced38df9373: Pulling fs layer 23:18:20 58f1dce35555: Pulling fs layer 23:18:20 2ced38df9373: Waiting 23:18:20 3cdef696dda3: Waiting 23:18:20 242c74f7c9fa: Waiting 23:18:20 58f1dce35555: Waiting 23:18:20 ed15518f5707: Verifying Checksum 23:18:20 ed15518f5707: Download complete 23:18:21 242c74f7c9fa: Verifying Checksum 23:18:21 242c74f7c9fa: Download complete 23:18:21 3cdef696dda3: Verifying Checksum 23:18:21 3cdef696dda3: Download complete 23:18:21 c41833b44d91: Verifying Checksum 23:18:22 c41833b44d91: Pull complete 23:18:22 58f1dce35555: Verifying Checksum 23:18:22 58f1dce35555: Download complete 23:18:23 ed15518f5707: Pull complete 23:18:24 feae8fd75edb: Verifying Checksum 23:18:24 feae8fd75edb: Download complete 23:18:24 2ced38df9373: Verifying Checksum 23:18:24 2ced38df9373: Download complete 23:18:36 feae8fd75edb: Pull complete 23:18:36 242c74f7c9fa: Pull complete 23:18:36 3cdef696dda3: Pull complete 23:18:41 2ced38df9373: Pull complete 23:18:43 58f1dce35555: Pull complete 23:18:43 Digest: sha256:3b55595e96c696ae732e8cb20cde5b1ff7282a1fe1423a8de67617af8d15ea1e 23:18:43 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine 23:18:43 ---> fadd8f120f05 23:18:43 Step 3/12 : ARG ALPINE_PKG_BASE="make git openssh-client" 23:18:45 ---> Running in 8a207350cd0e 23:18:45 Removing intermediate container 8a207350cd0e 23:18:45 ---> b88d0c9a82c5 23:18:45 Step 4/12 : ARG ALPINE_PKG_EXTRA="" 23:18:46 ---> Running in 9eba9b43a60a 23:18:46 Removing intermediate container 9eba9b43a60a 23:18:46 ---> 6f08046a7c7f 23:18:46 Step 5/12 : ARG ADD_BUILD_TAGS="" 23:18:46 ---> Running in 2bc932eac638 23:18:46 Removing intermediate container 2bc932eac638 23:18:46 ---> 9583970f228c 23:18:46 Step 6/12 : WORKDIR /device-virtual-go 23:18:46 ---> Running in 294af4f2664c 23:18:47 Removing intermediate container 294af4f2664c 23:18:47 ---> 171a0d2543a5 23:18:47 Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 23:18:47 ---> Running in 2fc6ca4e0b64 23:18:48 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 23:18:49 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 23:18:50 (1/4) Installing openssh-keygen (9.1_p1-r3) 23:18:50 (2/4) Installing libedit (20221030.3.1-r0) 23:18:50 (3/4) Installing openssh-client-common (9.1_p1-r3) 23:18:50 (4/4) Installing openssh-client-default (9.1_p1-r3) 23:18:50 Executing busybox-1.35.0-r29.trigger 23:18:50 OK: 268 MiB in 57 packages 23:18:51 Removing intermediate container 2fc6ca4e0b64 23:18:51 ---> 3bbd8da18ebe 23:18:51 Step 8/12 : COPY go.mod vendor* ./ 23:18:52 ---> 3e1676cbb110 23:18:52 Step 9/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 23:18:52 ---> Running in 163b9e948ef6 23:20:00 Removing intermediate container 163b9e948ef6 23:20:00 ---> 23a7a91abb06 23:20:00 Step 10/12 : COPY . . 23:20:00 ---> e91a827a2034 23:20:00 Step 11/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 23:20:00 ---> Running in 01e698ac3d94 23:20:00 Removing intermediate container 01e698ac3d94 23:20:00 ---> d00254f8ada1 23:20:00 Step 12/12 : RUN $MAKE 23:20:00 ---> Running in c7de7c22326e 23:20:00 noop 23:20:00 Removing intermediate container c7de7c22326e 23:20:00 ---> fb233c4f596f 23:20:00 Successfully built fb233c4f596f 23:20:00 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:20:01 + docker inspect -f . ci-base-image-arm64 23:20:01 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 23:20:01 prd-ubuntu20.04-docker-arm64-4c-16g-17194 does not seem to be running inside a container 23:20:01 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-virtual-go/2 -v /w/workspace/device-virtual-go/2:/w/workspace/device-virtual-go/2:rw,z -v /w/workspace/device-virtual-go/2@tmp:/w/workspace/device-virtual-go/2@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 23:20:02 $ docker top 65b52edb598b87ea5411c92cd9f3f7d625839836678e88ca3b4d12c89d050b30 -eo pid,comm [Pipeline] { [Pipeline] sh 23:20:03 + go version 23:20:03 go version go1.20.2 linux/arm64 [Pipeline] } 23:20:03 $ docker stop --time=1 65b52edb598b87ea5411c92cd9f3f7d625839836678e88ca3b4d12c89d050b30 23:20:05 $ docker rm -f --volumes 65b52edb598b87ea5411c92cd9f3f7d625839836678e88ca3b4d12c89d050b30 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:20:06 + docker inspect -f . ci-base-image-arm64 23:20:06 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 23:20:06 prd-ubuntu20.04-docker-arm64-4c-16g-17194 does not seem to be running inside a container 23:20:06 $ 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/2 -v /w/workspace/device-virtual-go/2:/w/workspace/device-virtual-go/2:rw,z -v /w/workspace/device-virtual-go/2@tmp:/w/workspace/device-virtual-go/2@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 23:20:07 $ docker top ea04609879c20e09a16bb7aeb9b4afa7c76c5d8bc487f157d172e555018bee15 -eo pid,comm [Pipeline] { [Pipeline] sh 23:20:08 + git config --global --add safe.directory /w/workspace/device-virtual-go/2 [Pipeline] fileExists [Pipeline] sh 23:20:09 + make test 23:20:09 go test ./... -coverprofile=coverage.out 23:20:48 ? github.com/edgexfoundry/device-virtual-go [no test files] 23:23:24 ? github.com/edgexfoundry/device-virtual-go/cmd [no test files] 23:23:24 ok github.com/edgexfoundry/device-virtual-go/internal/driver 0.100s coverage: 58.4% of statements 23:23:24 WARNING: Linting skipped (not on x86_64 or linter not installed) 23:23:24 go vet ./... 23:23:47 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 23:23:47 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 23:23:47 ./bin/test-attribution-txt.sh [Pipeline] echo 23:23:47 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 23:23:47 $ docker stop --time=1 ea04609879c20e09a16bb7aeb9b4afa7c76c5d8bc487f157d172e555018bee15 23:23:48 $ docker rm -f --volumes ea04609879c20e09a16bb7aeb9b4afa7c76c5d8bc487f157d172e555018bee15 [Pipeline] // withDockerContainer [Pipeline] sh 23:23:50 + sudo chown -R jenkins:jenkins . [Pipeline] stash 23:23:50 Warning: overwriting stash ‘coverage-report’ 23:23:51 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 23:23:51 + sudo chown -R jenkins:jenkins . [Pipeline] sh 23:23:52 + ls -al . 23:23:52 total 192 23:23:52 drwxrwxr-x 8 jenkins jenkins 4096 May 29 23:20 . 23:23:52 drwxrwxr-x 4 jenkins jenkins 4096 May 29 23:17 .. 23:23:52 drwxrwxr-x 8 jenkins jenkins 4096 May 29 23:17 .git 23:23:52 drwxrwxr-x 3 jenkins jenkins 4096 May 29 23:17 .github 23:23:52 -rw-rw-r-- 1 jenkins jenkins 337 May 29 23:17 .gitignore 23:23:52 -rw-rw-r-- 1 jenkins jenkins 41 May 29 23:17 .golangci.yml 23:23:52 -rw-rw-r-- 1 jenkins jenkins 8652 May 29 23:17 Attribution.txt 23:23:52 -rw-rw-r-- 1 jenkins jenkins 11367 May 29 23:17 CHANGELOG.md 23:23:52 -rw-rw-r-- 1 jenkins jenkins 1646 May 29 23:17 Dockerfile 23:23:52 -rw-rw-r-- 1 jenkins jenkins 677 May 29 23:17 GOVERNANCE.md 23:23:52 -rw-rw-r-- 1 jenkins jenkins 660 May 29 23:17 Jenkinsfile 23:23:52 -rw-rw-r-- 1 jenkins jenkins 11340 May 29 23:17 LICENSE 23:23:52 -rw-rw-r-- 1 jenkins jenkins 1696 May 29 23:17 Makefile 23:23:52 -rw-rw-r-- 1 jenkins jenkins 623 May 29 23:17 OWNERS.md 23:23:52 -rw-rw-r-- 1 jenkins jenkins 4131 May 29 23:17 README.md 23:23:52 -rw-rw-r-- 1 jenkins jenkins 5 May 29 23:14 VERSION 23:23:52 drwxrwxr-x 2 jenkins jenkins 4096 May 29 23:17 bin 23:23:52 drwxrwxr-x 3 jenkins jenkins 4096 May 29 23:17 cmd 23:23:52 -rw-r--r-- 1 jenkins jenkins 43063 May 29 23:23 coverage.out 23:23:52 -rw-rw-r-- 1 jenkins jenkins 3161 May 29 23:17 go.mod 23:23:52 -rw-rw-r-- 1 jenkins jenkins 30898 May 29 23:17 go.sum 23:23:52 drwxrwxr-x 3 jenkins jenkins 4096 May 29 23:17 internal 23:23:52 drwxrwxr-x 4 jenkins jenkins 4096 May 29 23:17 snap 23:23:52 -rw-rw-r-- 1 jenkins jenkins 235 May 29 23:17 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:23:52 + 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=3e5b6e915cf2c8b929b53f3ea63789e240414aa8 --label arch=arm64 --label version=0.0.0 . 23:23:52 Sending build context to Docker daemon 12.06MB 23:23:52 Step 1/25 : ARG BASE=golang:1.20-alpine3.17 23:23:52 Step 2/25 : FROM ${BASE} AS builder 23:23:52 ---> fb233c4f596f 23:23:52 Step 3/25 : ARG ALPINE_PKG_BASE="make git openssh-client" 23:23:52 ---> Running in 584d88945f2b 23:23:53 Removing intermediate container 584d88945f2b 23:23:53 ---> 01d0b8834600 23:23:53 Step 4/25 : ARG ALPINE_PKG_EXTRA="" 23:23:53 ---> Running in c6238ce6757c 23:23:53 Removing intermediate container c6238ce6757c 23:23:53 ---> 6fbcab5e0fff 23:23:53 Step 5/25 : ARG ADD_BUILD_TAGS="" 23:23:53 ---> Running in dba896174efe 23:23:54 Removing intermediate container dba896174efe 23:23:54 ---> 1706f6e5d921 23:23:54 Step 6/25 : WORKDIR /device-virtual-go 23:23:54 ---> Running in 1037f71c1f31 23:23:54 Removing intermediate container 1037f71c1f31 23:23:54 ---> e0dbf34c5195 23:23:54 Step 7/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 23:23:54 ---> Running in 17aaa36bc341 23:23:55 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 23:23:56 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 23:23:57 OK: 268 MiB in 57 packages 23:23:58 Removing intermediate container 17aaa36bc341 23:23:58 ---> 53804cffd01a 23:23:58 Step 8/25 : COPY go.mod vendor* ./ 23:23:59 ---> a88342017eed 23:23:59 Step 9/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 23:23:59 ---> Running in fe51122c9567 23:24:02 Removing intermediate container fe51122c9567 23:24:02 ---> 9da651fa2722 23:24:02 Step 10/25 : COPY . . 23:24:03 ---> 03296b347a97 23:24:03 Step 11/25 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 23:24:03 ---> Running in d650bc53c42f 23:24:03 Removing intermediate container d650bc53c42f 23:24:03 ---> 39ecc071ed2a 23:24:03 Step 12/25 : RUN $MAKE 23:24:03 ---> Running in d368500cd8c2 23:24:04 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 23:26:56 Removing intermediate container d368500cd8c2 23:26:56 ---> 02ba40089fc4 23:26:56 Step 13/25 : FROM alpine:3.17 23:26:56 3.17: Pulling from library/alpine 23:26:56 c41833b44d91: Already exists 23:26:56 Digest: sha256:124c7d2707904eea7431fffe91522a01e5a861a624ee31d03372cc1d138a3126 23:26:56 Status: Downloaded newer image for alpine:3.17 23:26:56 ---> 51e60588ff2c 23:26:56 Step 14/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2021: IOTech' 23:26:56 ---> Running in 388eca7b1c8c 23:26:56 Removing intermediate container 388eca7b1c8c 23:26:56 ---> 632ade3111c2 23:26:56 Step 15/25 : RUN apk add --update --no-cache dumb-init 23:26:56 ---> Running in 0e48323ea583 23:26:56 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 23:26:56 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 23:26:56 (1/1) Installing dumb-init (1.2.5-r2) 23:26:56 Executing busybox-1.35.0-r29.trigger 23:26:56 OK: 8 MiB in 16 packages 23:26:56 Removing intermediate container 0e48323ea583 23:26:56 ---> 5249d69b4850 23:26:56 Step 16/25 : WORKDIR / 23:26:56 ---> Running in fa57bb937605 23:26:56 Removing intermediate container fa57bb937605 23:26:56 ---> 75f7e5b714b6 23:26:56 Step 17/25 : COPY --from=builder /device-virtual-go/Attribution.txt / 23:26:56 ---> a2e3834b13b8 23:26:56 Step 18/25 : COPY --from=builder /device-virtual-go/LICENSE / 23:26:56 ---> c022040d190e 23:26:56 Step 19/25 : COPY --from=builder /device-virtual-go/cmd / 23:26:56 ---> d50fafff488f 23:26:56 Step 20/25 : EXPOSE 59900 23:26:56 ---> Running in 65d5a18ddc41 23:26:56 Removing intermediate container 65d5a18ddc41 23:26:56 ---> 94d9abe455d6 23:26:56 Step 21/25 : ENTRYPOINT ["/device-virtual"] 23:26:56 ---> Running in 82a75a84ff88 23:26:56 Removing intermediate container 82a75a84ff88 23:26:56 ---> 1ff665284fc4 23:26:56 Step 22/25 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry"] 23:26:56 ---> Running in aa479b3a240f 23:26:56 Removing intermediate container aa479b3a240f 23:26:56 ---> 07f060206da3 23:26:56 Step 23/25 : LABEL arch=arm64 23:26:56 ---> Running in fb58d9734f14 23:26:56 Removing intermediate container fb58d9734f14 23:26:56 ---> 5775160a6972 23:26:56 Step 24/25 : LABEL git_sha=3e5b6e915cf2c8b929b53f3ea63789e240414aa8 23:26:56 ---> Running in 96bf6b74ffcf 23:26:56 Removing intermediate container 96bf6b74ffcf 23:26:56 ---> 97d3dc690c43 23:26:56 Step 25/25 : LABEL version=0.0.0 23:26:56 ---> Running in 7adc233dbc80 23:26:56 Removing intermediate container 7adc233dbc80 23:26:56 ---> 043d2b3e4a17 23:26:56 [Warning] One or more build-args [ARCH] were not consumed 23:26:56 Successfully built 043d2b3e4a17 23:26:56 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 23:26:57 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 23:26:57 23:26:57 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:26:57 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 23:26:57 arm64: Pulling from edgex-lftools-log-publisher 23:26:57 8998bd30e6a1: Pulling fs layer 23:26:57 04944245beec: Pulling fs layer 23:26:57 699f458cf7ca: Pulling fs layer 23:26:57 765212b225bb: Pulling fs layer 23:26:57 f23df028b6ca: Pulling fs layer 23:26:57 d65c8cfc05b1: Pulling fs layer 23:26:57 2437ff75d9bd: Pulling fs layer 23:26:57 765212b225bb: Waiting 23:26:57 f23df028b6ca: Waiting 23:26:57 d65c8cfc05b1: Waiting 23:26:57 2437ff75d9bd: Waiting 23:26:57 04944245beec: Verifying Checksum 23:26:57 04944245beec: Download complete 23:26:57 765212b225bb: Verifying Checksum 23:26:57 765212b225bb: Download complete 23:26:57 f23df028b6ca: Verifying Checksum 23:26:57 f23df028b6ca: Download complete 23:26:57 d65c8cfc05b1: Verifying Checksum 23:26:57 d65c8cfc05b1: Download complete 23:26:57 699f458cf7ca: Verifying Checksum 23:26:57 699f458cf7ca: Download complete 23:26:58 8998bd30e6a1: Verifying Checksum 23:26:58 8998bd30e6a1: Download complete 23:27:00 2437ff75d9bd: Verifying Checksum 23:27:00 2437ff75d9bd: Download complete 23:27:02 8998bd30e6a1: Pull complete 23:27:03 04944245beec: Pull complete 23:27:04 699f458cf7ca: Pull complete 23:27:04 765212b225bb: Pull complete 23:27:05 f23df028b6ca: Pull complete 23:27:05 d65c8cfc05b1: Pull complete 23:27:20 2437ff75d9bd: Pull complete 23:27:20 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 23:27:20 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 23:27:20 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 23:27:20 prd-ubuntu20.04-docker-arm64-4c-16g-17194 does not seem to be running inside a container 23:27:20 $ 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/2 -v /w/workspace/device-virtual-go/2:/w/workspace/device-virtual-go/2:rw,z -v /w/workspace/device-virtual-go/2@tmp:/w/workspace/device-virtual-go/2@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 23:27:24 $ docker top 360ee08e0bd5db3b59687504b7c96840682e44923b687b3aff7aaec5a321e28c -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 23:27:25 ---> job-cost.sh 23:27:25 lf-activate-venv: SKIPPING 23:27:25 INFO: No Stack... 23:27:25 INFO: Retrieving Pricing Info for: v3-standard-4 23:27:26 INFO: Archiving Costs [Pipeline] sh 23:27:27 + cat /w/workspace/device-virtual-go/2/archives/cost.csv 23:27:27 + cut -d, -f6 [Pipeline] lock 23:27:27 Trying to acquire lock on [jenkins-edgexfoundry-device-virtual-go-PR-413-2-stack-cost] 23:27:27 Resource [jenkins-edgexfoundry-device-virtual-go-PR-413-2-stack-cost] did not exist. Created. 23:27:27 Lock acquired on [jenkins-edgexfoundry-device-virtual-go-PR-413-2-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 23:27:27 /w/workspace/device-virtual-go/2@tmp/durable-90ecb0fb/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 23:27:28 + echo total: 0.10999999940395355 [Pipeline] stash 23:27:28 Warning: overwriting stash ‘stack-cost’ 23:27:28 Stashed 1 file(s) [Pipeline] } 23:27:28 Lock released on resource [jenkins-edgexfoundry-device-virtual-go-PR-413-2-stack-cost] [Pipeline] // lock [Pipeline] } 23:27:28 $ docker stop --time=1 360ee08e0bd5db3b59687504b7c96840682e44923b687b3aff7aaec5a321e28c 23:27:30 $ docker rm -f --volumes 360ee08e0bd5db3b59687504b7c96840682e44923b687b3aff7aaec5a321e28c [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 23:27:30 provisioning config files... 23:27:30 copy managed file [device-virtual-go-codecov-token] to file:/w/workspace/foundry_device-virtual-go_PR-413@tmp/config9028867529506840959tmp [Pipeline] { [Pipeline] sh 23:27:30 + set +x 23:27:30 + bash -s -- 23:27:30 + curl -s https://codecov.io/bash 23:27:30 23:27:30 _____ _ 23:27:30 / ____| | | 23:27:30 | | ___ __| | ___ ___ _____ __ 23:27:30 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 23:27:30 | |___| (_) | (_| | __/ (_| (_) \ V / 23:27:30 \_____\___/ \__,_|\___|\___\___/ \_/ 23:27:30 Bash-1.0.6 23:27:30 23:27:30 23:27:30 ==> git version 2.25.1 found 23:27:30 ==> 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 23:27:30 Release-Date: 2020-01-08 23:27:30 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 23:27:30 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 23:27:30 ==> Jenkins CI detected. 23:27:30 current dir:  /w/workspace/foundry_device-virtual-go_PR-413 23:27:30 project root: . 23:27:30 --> token set from env 23:27:30 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 23:27:30 ==> Running gcov in . (disable via -X gcov) 23:27:30 ==> Python coveragepy not found 23:27:30 ==> Searching for coverage reports in: 23:27:30 + . 23:27:30 -> Found 1 reports 23:27:30 ==> Detecting git/mercurial file structure 23:27:30 ==> Reading reports 23:27:30 + ./coverage.out bytes=43063 23:27:30 ==> Appending adjustments 23:27:30 https://docs.codecov.io/docs/fixing-reports 23:27:31 + Found adjustments 23:27:31 ==> Gzipping contents 23:27:31 8.0K /tmp/codecov.4nQDGv.gz 23:27:31 ==> Uploading reports 23:27:31 url: https://codecov.io 23:27:31 query: branch=PR-413&commit=3e5b6e915cf2c8b929b53f3ea63789e240414aa8&build=2&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-virtual-go%2Fjob%2FPR-413%2F2%2F&name=&tag=&slug=edgexfoundry%2Fdevice-virtual-go&service=jenkins&flags=&pr=413&job=&cmd_args= 23:27:31 -> Pinging Codecov 23:27:31 https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=a35e349c-7876-4d48-9269-e9fc36774240&branch=PR-413&commit=3e5b6e915cf2c8b929b53f3ea63789e240414aa8&build=2&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-virtual-go%2Fjob%2FPR-413%2F2%2F&name=&tag=&slug=edgexfoundry%2Fdevice-virtual-go&service=jenkins&flags=&pr=413&job=&cmd_args= 23:27:31 -> Uploading to 23:27:31 https://storage.googleapis.com/codecov/v4/raw/2023-05-29/5E52B4B073DB2E39498172D8E973AA87/3e5b6e915cf2c8b929b53f3ea63789e240414aa8/dd7e829c-1689-416c-be7b-6282a6e113ba.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20230529%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20230529T232731Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=203a468f1f6becf4d508277b3d1715a0ff52f9566812e932e4a4145375efff92 23:27:31 % Total % Received % Xferd Average Speed Time Time Time Current 23:27:31 Dload Upload Total Spent Left Speed 23:27:31 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 5184 0 0 100 5184 0 23779 --:--:-- --:--:-- --:--:-- 23779 23:27:31 -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-virtual-go/commit/3e5b6e915cf2c8b929b53f3ea63789e240414aa8 [Pipeline] } 23:27:31 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 23:27:32 + [ -d /w/workspace/foundry_device-virtual-go_PR-413/archives ] 23:27:32 + ls -al /w/workspace/foundry_device-virtual-go_PR-413/archives 23:27:32 total 16 23:27:32 drwxr-xr-x 3 root root 4096 May 29 23:16 . 23:27:32 drwxrwxr-x 10 jenkins jenkins 4096 May 29 23:16 .. 23:27:32 drwxr-xr-x 2 root root 4096 May 29 23:16 cost 23:27:32 -rw-r--r-- 1 root root 89 May 29 23:16 cost.csv 23:27:32 + sudo chown -R jenkins:jenkins /w/workspace/foundry_device-virtual-go_PR-413/archives 23:27:32 + ls -al /w/workspace/foundry_device-virtual-go_PR-413/archives 23:27:32 total 16 23:27:32 drwxr-xr-x 3 jenkins jenkins 4096 May 29 23:16 . 23:27:32 drwxrwxr-x 10 jenkins jenkins 4096 May 29 23:16 .. 23:27:32 drwxr-xr-x 2 jenkins jenkins 4096 May 29 23:16 cost 23:27:32 -rw-r--r-- 1 jenkins jenkins 89 May 29 23:16 cost.csv [Pipeline] libraryResource [Pipeline] sh 23:27:32 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 23:27:33 ---> package-listing.sh 23:27:33 ++ facter osfamily 23:27:33 ++ tr '[:upper:]' '[:lower:]' 23:27:33 + OS_FAMILY=debian 23:27:33 + workspace=/w/workspace/foundry_device-virtual-go_PR-413 23:27:33 + START_PACKAGES=/tmp/packages_start.txt 23:27:33 + END_PACKAGES=/tmp/packages_end.txt 23:27:33 + DIFF_PACKAGES=/tmp/packages_diff.txt 23:27:33 + PACKAGES=/tmp/packages_start.txt 23:27:33 + '[' /w/workspace/foundry_device-virtual-go_PR-413 ']' 23:27:33 + PACKAGES=/tmp/packages_end.txt 23:27:33 + case "${OS_FAMILY}" in 23:27:33 + dpkg -l 23:27:33 + grep '^ii' 23:27:33 + '[' -f /tmp/packages_start.txt ']' 23:27:33 + '[' -f /tmp/packages_end.txt ']' 23:27:33 + diff /tmp/packages_start.txt /tmp/packages_end.txt 23:27:33 + '[' /w/workspace/foundry_device-virtual-go_PR-413 ']' 23:27:33 + mkdir -p /w/workspace/foundry_device-virtual-go_PR-413/archives/ 23:27:33 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/foundry_device-virtual-go_PR-413/archives/ [Pipeline] echo 23:27:33 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-413/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 23:27:33 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:27:34 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 23:27:34 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 23:27:34 prd-ubuntu20.04-docker-8c-8g-17191 does not seem to be running inside a container 23:27:34 $ 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-413/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-413 -v /w/workspace/foundry_device-virtual-go_PR-413:/w/workspace/foundry_device-virtual-go_PR-413:rw,z -v /w/workspace/foundry_device-virtual-go_PR-413@tmp:/w/workspace/foundry_device-virtual-go_PR-413@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 23:27:34 $ docker top 1df780a158c3f3c7225eb7890ee4492e64e0a8923365e611ffb028ca4eff46b5 -eo pid,comm [Pipeline] { [Pipeline] sh 23:27:34 + touch /tmp/pre-build-complete [Pipeline] sh 23:27:35 + mkdir -p /var/log/sysstat [Pipeline] sh 23:27:35 + ls /var/log/sa-host 23:27:35 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 23:27:35 provisioning config files... 23:27:35 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/foundry_device-virtual-go_PR-413@tmp/config15542524980847443555tmp [Pipeline] { [Pipeline] echo 23:27:35 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 23:27:35 ---> create-netrc.sh [Pipeline] } 23:27:35 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 23:27:36 ---> python-tools-install.sh [Pipeline] echo 23:27:36 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 23:27:36 ---> sudo-logs.sh 23:27:36 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 23:27:36 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 23:27:36 ---> job-cost.sh 23:27:36 lf-activate-venv: SKIPPING 23:27:36 DEBUG: total: 0.2199999988079071 23:27:36 INFO: Retrieving Stack Cost... 23:27:37 INFO: Retrieving Pricing Info for: v3-standard-8 23:27:37 INFO: Archiving Costs [Pipeline] echo 23:27:37 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 23:27:37 ---> logs-deploy.sh 23:27:37 lf-activate-venv: SKIPPING 23:27:37 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-virtual-go/PR-413/2 23:27:37 INFO: archiving workspace using pattern(s): 23:27:38 Archives upload complete. 23:27:38 INFO: archiving logs to Nexus