Pull request #376 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 weichou1229 for edgexfoundry/device-virtual-go Loading trusted files from base branch main at 4efa56b4c53bfd63d1b185632fb211d8f865e63a rather than 0d6858b6f354b84f4e84d2f837640387bd5cc444 Obtained Jenkinsfile from 4efa56b4c53bfd63d1b185632fb211d8f865e63a 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-ssh2552442165332641915.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 66200e8eedfc470904d6b329e562ec5b45423d6a Resolving tag commit... (remote references may be a lightweight tag or an annotated tag) > git rev-parse --resolve-git-dir /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f/.git # timeout=10 Setting origin to git@github.com:edgexfoundry/edgex-global-pipelines.git > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching origin... Fetching upstream changes from origin > git --version # timeout=10 > git --version # 'git version 2.16.6' > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f@tmp/jenkins-gitclient-ssh9996361956268094022.key > git fetch --tags --progress -- origin +refs/heads/*:refs/remotes/origin/* # timeout=10 > git rev-parse refs/tags/stable^{commit} # timeout=10 Resolved tag stable revision 66200e8eedfc470904d6b329e562ec5b45423d6a The recommended git tool is: git using credential edgex-jenkins-ssh > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-virtual-go/branches/PR-376/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-376/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh3726782712371361790.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 66200e8eedfc470904d6b329e562ec5b45423d6a (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 66200e8eedfc470904d6b329e562ec5b45423d6a # timeout=10 Commit message: "feat: add capability to use golang 1.20 (#427)" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:edgexfoundry/edgex-global-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. Loading library lf-pipelines@master Attempting to resolve master from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /tmp/jenkins-gitclient-ssh4229192535623487758.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-376/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-376/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh8891488722849938752.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 All nodes of label ‘ubuntu20.04-docker-8c-8g’ are offline Running on prd-ubuntu20.04-docker-8c-8g-7133 in /w/workspace/foundry_device-virtual-go_PR-376 [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-376 # 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 Merging remotes/origin/main commit 4efa56b4c53bfd63d1b185632fb211d8f865e63a into PR head commit 0d6858b6f354b84f4e84d2f837640387bd5cc444 Merge succeeded, producing 0d6858b6f354b84f4e84d2f837640387bd5cc444 Checking out Revision 0d6858b6f354b84f4e84d2f837640387bd5cc444 (PR-376) > git config remote.origin.url git@github.com:edgexfoundry/device-virtual-go.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-virtual-go.git # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-virtual-go.git using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-virtual-go.git +refs/pull/376/head:refs/remotes/origin/PR-376 +refs/heads/main:refs/remotes/origin/main # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 0d6858b6f354b84f4e84d2f837640387bd5cc444 # 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 4efa56b4c53bfd63d1b185632fb211d8f865e63a # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 0d6858b6f354b84f4e84d2f837640387bd5cc444 # timeout=10 Commit message: "feat!: Consume SDK interface changes" First time build. Skipping changelog. [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 13:13:08 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 13:13:08 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 13:13:08 ========================================================= 13:13:08 EdgeX Global Pipelines Version Info 13:13:08 ========================================================= [Pipeline] libraryResource [Pipeline] sh > git rev-list --no-walk ff36f565a523ca70b9e81cf5e3b4dee35e4ecbf9 # timeout=10 13:13:09 ------------------- 13:13:09 stable info: 13:13:09 ------------------- 13:13:09 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 13:13:09 Commit SHA: 66200e8eedfc470904d6b329e562ec5b45423d6a 13:13:09 Message: update stable to v1.0.245 13:13:09 ------------------- 13:13:09 experimental info: 13:13:09 ------------------- 13:13:09 Commited By: **** collab-it+edgex@linuxfoundation.org 13:13:09 Commit SHA: 046ad6d0e2e636d38ea4daf53c055316476b9501 13:13:09 Message: update experimental to v1.0.247 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 13:13:10 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-virtual-go-settings [Pipeline] echo 13:13:10 [edgeXSetupEnvironment]: set envvar PROJECT = device-virtual-go [Pipeline] echo 13:13:10 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 13:13:10 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 13:13:10 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 13:13:10 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.20 [Pipeline] echo 13:13:10 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 13:13:10 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 13:13:10 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 13:13:10 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 13:13:10 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 13:13:10 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-virtual [Pipeline] echo 13:13:10 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 13:13:10 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 13:13:10 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 13:13:10 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 13:13:10 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 13:13:10 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 13:13:10 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 13:13:10 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 13:13:10 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 13:13:10 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 13:13:10 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 13:13:10 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 13:13:10 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 13:13:10 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 13:13:10 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 13:13:10 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-376 [Pipeline] echo 13:13:10 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-376 [Pipeline] echo 13:13:10 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-376 [Pipeline] echo 13:13:10 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 0d6858b6f354b84f4e84d2f837640387bd5cc444 [Pipeline] echo 13:13:10 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 0d6858b [Pipeline] echo 13:13:10 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 13:13:10 provisioning config files... 13:13:10 copy managed file [device-virtual-go-settings] to file:/w/workspace/foundry_device-virtual-go_PR-376@tmp/config9893416738210820295tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 13:13:10 ---> docker-login.sh 13:13:10 nexus3.edgexfoundry.org:10001 13:13:11 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 13:13:12 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 13:13:12 Configure a credential helper to remove this warning. See 13:13:12 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 13:13:12 13:13:12 Login Succeeded 13:13:12 nexus3.edgexfoundry.org:10002 13:13:12 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 13:13:12 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 13:13:12 Configure a credential helper to remove this warning. See 13:13:12 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 13:13:12 13:13:12 Login Succeeded 13:13:12 nexus3.edgexfoundry.org:10003 13:13:12 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 13:13:12 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 13:13:12 Configure a credential helper to remove this warning. See 13:13:12 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 13:13:12 13:13:12 Login Succeeded 13:13:12 nexus3.edgexfoundry.org:10004 13:13:12 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 13:13:12 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 13:13:12 Configure a credential helper to remove this warning. See 13:13:12 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 13:13:12 13:13:12 Login Succeeded 13:13:12 docker.io 13:13:12 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 13:13:12 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 13:13:12 Configure a credential helper to remove this warning. See 13:13:12 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 13:13:12 13:13:12 Login Succeeded 13:13:12 ---> docker-login.sh ends [Pipeline] } 13:13:12 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 13:13:13 + git rev-list -1 --merges 0d6858b6f354b84f4e84d2f837640387bd5cc444~1..0d6858b6f354b84f4e84d2f837640387bd5cc444 [Pipeline] echo 13:13:13 -----------> git rev-list -1 --merges 0d6858b6f354b84f4e84d2f837640387bd5cc444~1..0d6858b6f354b84f4e84d2f837640387bd5cc444 0d6858b6f354b84f4e84d2f837640387bd5cc444 [false] [Pipeline] sh 13:13:13 + git log --format=format:%s -1 0d6858b6f354b84f4e84d2f837640387bd5cc444 [Pipeline] echo 13:13:13 ========================================================= 13:13:13 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 13:13:13 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 13:13:13 + git log --format=format:%s -1 0d6858b6f354b84f4e84d2f837640387bd5cc444 [Pipeline] echo 13:13:13 [semverPrep] GIT_COMMIT: 0d6858b6f354b84f4e84d2f837640387bd5cc444, Commit Message: feat!: Consume SDK interface changes [Pipeline] echo 13:13:13 [semverPrep] This is not a build commit. [Pipeline] sh 13:13:14 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 13:13:14 + grep -v github /etc/ssh/ssh_known_hosts 13:13:14 + [ -e /tmp/ssh_known_hosts ] 13:13:14 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 13:13:14 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 13:13:14 + sudo tee -a /etc/ssh/ssh_known_hosts 13:13:14 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 13:13:14 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 13:13:14 13:13:14 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 13:13:14 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 13:13:14 0.1.4: Pulling from edgex-devops/py-git-semver 13:13:14 b85a868b505f: Pulling fs layer 13:13:14 e2be974225ed: Pulling fs layer 13:13:14 339a4e72a1f5: Pulling fs layer 13:13:14 988bab9f4d93: Pulling fs layer 13:13:14 1469e6f7b9e6: Pulling fs layer 13:13:14 eaf3925da568: Pulling fs layer 13:13:14 bab4dde63d76: Pulling fs layer 13:13:14 bde34c3a00c8: Pulling fs layer 13:13:14 b352a97aabf1: Pulling fs layer 13:13:14 4872d77fe225: Pulling fs layer 13:13:14 5851b861e8e6: Pulling fs layer 13:13:14 988bab9f4d93: Waiting 13:13:14 1469e6f7b9e6: Waiting 13:13:14 eaf3925da568: Waiting 13:13:14 bab4dde63d76: Waiting 13:13:14 bde34c3a00c8: Waiting 13:13:14 b352a97aabf1: Waiting 13:13:14 4872d77fe225: Waiting 13:13:14 5851b861e8e6: Waiting 13:13:14 e2be974225ed: Download complete 13:13:14 988bab9f4d93: Download complete 13:13:15 1469e6f7b9e6: Verifying Checksum 13:13:15 1469e6f7b9e6: Download complete 13:13:15 339a4e72a1f5: Verifying Checksum 13:13:15 339a4e72a1f5: Download complete 13:13:15 eaf3925da568: Verifying Checksum 13:13:15 eaf3925da568: Download complete 13:13:15 bde34c3a00c8: Verifying Checksum 13:13:15 bde34c3a00c8: Download complete 13:13:15 b352a97aabf1: Download complete 13:13:15 4872d77fe225: Verifying Checksum 13:13:15 4872d77fe225: Download complete 13:13:15 b85a868b505f: Download complete 13:13:15 5851b861e8e6: Verifying Checksum 13:13:15 5851b861e8e6: Download complete 13:13:15 bab4dde63d76: Verifying Checksum 13:13:15 bab4dde63d76: Download complete 13:13:16 b85a868b505f: Pull complete 13:13:16 e2be974225ed: Pull complete 13:13:17 339a4e72a1f5: Pull complete 13:13:17 988bab9f4d93: Pull complete 13:13:17 1469e6f7b9e6: Pull complete 13:13:18 eaf3925da568: Pull complete 13:13:20 bab4dde63d76: Pull complete 13:13:20 bde34c3a00c8: Pull complete 13:13:20 b352a97aabf1: Pull complete 13:13:20 4872d77fe225: Pull complete 13:13:21 5851b861e8e6: Pull complete 13:13:21 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 13:13:21 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 13:13:21 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 13:13:21 prd-ubuntu20.04-docker-8c-8g-7133 does not seem to be running inside a container 13:13:21 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/foundry_device-virtual-go_PR-376 -v /w/workspace/foundry_device-virtual-go_PR-376:/w/workspace/foundry_device-virtual-go_PR-376:rw,z -v /w/workspace/foundry_device-virtual-go_PR-376@tmp:/w/workspace/foundry_device-virtual-go_PR-376@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 13:13:27 $ docker top e4120ed0eb216fceb92714d6a1e7f98069623385f69a6aa63823122b0cf3b02a -eo pid,comm 13:13:27 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). 13:13:27 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 13:13:27 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 13:13:27 [ssh-agent] Looking for ssh-agent implementation... 13:13:28 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 13:13:28 $ docker exec e4120ed0eb216fceb92714d6a1e7f98069623385f69a6aa63823122b0cf3b02a ssh-agent 13:13:28 SSH_AUTH_SOCK=/tmp/ssh-9ebVbJLeNHj2/agent.13 13:13:28 SSH_AGENT_PID=19 13:13:28 Running ssh-add (command line suppressed) 13:13:28 Identity added: /w/workspace/foundry_device-virtual-go_PR-376@tmp/private_key_11058539087880315915.key (/w/workspace/foundry_device-virtual-go_PR-376@tmp/private_key_11058539087880315915.key) 13:13:28 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 13:13:28 + git tag --points-at HEAD [Pipeline] } 13:13:28 $ docker exec --env ******** --env ******** e4120ed0eb216fceb92714d6a1e7f98069623385f69a6aa63823122b0cf3b02a ssh-agent -k 13:13:28 unset SSH_AUTH_SOCK; 13:13:28 unset SSH_AGENT_PID; 13:13:28 echo Agent pid 19 killed; 13:13:28 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 13:13:28 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 13:13:28 [ssh-agent] Looking for ssh-agent implementation... 13:13:28 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 13:13:28 $ docker exec e4120ed0eb216fceb92714d6a1e7f98069623385f69a6aa63823122b0cf3b02a ssh-agent 13:13:28 SSH_AUTH_SOCK=/tmp/ssh-rXoYwiZRSc0p/agent.69 13:13:28 SSH_AGENT_PID=75 13:13:29 Running ssh-add (command line suppressed) 13:13:29 Identity added: /w/workspace/foundry_device-virtual-go_PR-376@tmp/private_key_18408231344946065293.key (/w/workspace/foundry_device-virtual-go_PR-376@tmp/private_key_18408231344946065293.key) 13:13:29 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 13:13:29 + git semver init 13:13:29 2023-04-07 13:13:29,577 [run_init] DEBUG init version:0.0.0 force:False 13:13:29 2023-04-07 13:13:29,577 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/foundry_device-virtual-go_PR-376/.semver 13:13:29 2023-04-07 13:13:29,578 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-virtual-go.git /w/workspace/foundry_device-virtual-go_PR-376/.semver 13:13:29 2023-04-07 13:13:29,578 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-virtual-go.git', '/w/workspace/foundry_device-virtual-go_PR-376/.semver'], cwd=/w/workspace/foundry_device-virtual-go_PR-376, universal_newlines=False, shell=None, istream=None) 13:13:31 2023-04-07 13:13:30,808 [append_file] DEBUG append to file:/w/workspace/foundry_device-virtual-go_PR-376/.git/info/exclude 13:13:31 2023-04-07 13:13:30,809 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/foundry_device-virtual-go_PR-376/.semver/PR-376 with force:False 13:13:31 2023-04-07 13:13:30,809 [write_file] DEBUG write to file:/w/workspace/foundry_device-virtual-go_PR-376/.semver/PR-376 13:13:31 2023-04-07 13:13:30,813 [execute] INFO git cat-file --batch-check 13:13:31 2023-04-07 13:13:30,813 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/foundry_device-virtual-go_PR-376/.semver, universal_newlines=False, shell=None, istream=) 13:13:31 2023-04-07 13:13:30,818 [execute] INFO git cat-file --batch 13:13:31 2023-04-07 13:13:30,819 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/foundry_device-virtual-go_PR-376/.semver, universal_newlines=False, shell=None, istream=) 13:13:31 2023-04-07 13:13:30,823 [read_version] DEBUG read version from /w/workspace/foundry_device-virtual-go_PR-376/.semver/PR-376 13:13:31 0.0.0 [Pipeline] } 13:13:31 $ docker exec --env ******** --env ******** e4120ed0eb216fceb92714d6a1e7f98069623385f69a6aa63823122b0cf3b02a ssh-agent -k 13:13:31 unset SSH_AUTH_SOCK; 13:13:31 unset SSH_AGENT_PID; 13:13:31 echo Agent pid 75 killed; 13:13:31 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 13:13:31 + git semver [Pipeline] } 13:13:31 $ docker stop --time=1 e4120ed0eb216fceb92714d6a1e7f98069623385f69a6aa63823122b0cf3b02a 13:13:33 $ docker rm -f --volumes e4120ed0eb216fceb92714d6a1e7f98069623385f69a6aa63823122b0cf3b02a [Pipeline] // withDockerContainer [Pipeline] sh 13:13:34 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 13:13:34 Stashed 1 file(s) [Pipeline] echo 13:13:34 [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 13:13:34 provisioning config files... 13:13:34 copy managed file [device-virtual-go-settings] to file:/w/workspace/foundry_device-virtual-go_PR-376@tmp/config16205921775699916931tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 13:13:34 ---> docker-login.sh 13:13:34 nexus3.edgexfoundry.org:10001 13:13:34 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 13:13:34 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 13:13:34 Configure a credential helper to remove this warning. See 13:13:34 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 13:13:34 13:13:34 Login Succeeded 13:13:34 nexus3.edgexfoundry.org:10002 13:13:34 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 13:13:34 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 13:13:34 Configure a credential helper to remove this warning. See 13:13:34 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 13:13:34 13:13:34 Login Succeeded 13:13:34 nexus3.edgexfoundry.org:10003 13:13:35 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 13:13:35 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 13:13:35 Configure a credential helper to remove this warning. See 13:13:35 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 13:13:35 13:13:35 Login Succeeded 13:13:35 nexus3.edgexfoundry.org:10004 13:13:35 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 13:13:35 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 13:13:35 Configure a credential helper to remove this warning. See 13:13:35 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 13:13:35 13:13:35 Login Succeeded 13:13:35 docker.io 13:13:35 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 13:13:35 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 13:13:35 Configure a credential helper to remove this warning. See 13:13:35 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 13:13:35 13:13:35 Login Succeeded 13:13:35 ---> docker-login.sh ends [Pipeline] } 13:13:35 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 13:13:35 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 13:13:35 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 13:13:35 ========================================================= 13:13:35 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine] 13:13:35 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 13:13:35 + 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 . 13:13:35 Sending build context to Docker daemon 23.54MB 13:13:35 Step 1/12 : ARG BASE=golang:1.20-alpine3.17 13:13:35 Step 2/12 : FROM ${BASE} AS builder 13:13:36 1.20-alpine: Pulling from edgex-devops/edgex-golang-base 13:13:36 63b65145d645: Pulling fs layer 13:13:36 a2d21d5440eb: Pulling fs layer 13:13:36 935e6c44a52c: Pulling fs layer 13:13:36 94cc34f8dd06: Pulling fs layer 13:13:36 30dea6a524f1: Pulling fs layer 13:13:36 a2aff8979fd8: Pulling fs layer 13:13:36 6808be2612f2: Pulling fs layer 13:13:36 f25807f1079a: Pulling fs layer 13:13:36 94cc34f8dd06: Waiting 13:13:36 a2aff8979fd8: Waiting 13:13:36 6808be2612f2: Waiting 13:13:36 30dea6a524f1: Waiting 13:13:36 f25807f1079a: Waiting 13:13:36 a2d21d5440eb: Verifying Checksum 13:13:36 a2d21d5440eb: Download complete 13:13:36 94cc34f8dd06: Verifying Checksum 13:13:36 94cc34f8dd06: Download complete 13:13:36 30dea6a524f1: Verifying Checksum 13:13:36 30dea6a524f1: Download complete 13:13:36 63b65145d645: Verifying Checksum 13:13:36 63b65145d645: Download complete 13:13:36 a2aff8979fd8: Verifying Checksum 13:13:36 a2aff8979fd8: Download complete 13:13:36 63b65145d645: Pull complete 13:13:36 f25807f1079a: Download complete 13:13:37 935e6c44a52c: Verifying Checksum 13:13:37 935e6c44a52c: Download complete 13:13:37 6808be2612f2: Download complete 13:13:37 a2d21d5440eb: Pull complete 13:13:42 935e6c44a52c: Pull complete 13:13:42 94cc34f8dd06: Pull complete 13:13:42 30dea6a524f1: Pull complete 13:13:42 a2aff8979fd8: Pull complete 13:13:45 6808be2612f2: Pull complete 13:13:46 f25807f1079a: Pull complete 13:13:46 Digest: sha256:106942793af8b5907f587008084bb0888cadbc76d86ebd37d4d3227fb0f1e438 13:13:46 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine 13:13:46 ---> 3b553350e43f 13:13:46 Step 3/12 : ARG ALPINE_PKG_BASE="make git openssh-client" 13:13:49 Still waiting to schedule task 13:13:49 All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline 13:13:58 ---> Running in bfbdb765952d 13:13:58 Removing intermediate container bfbdb765952d 13:13:58 ---> be974ac144d1 13:13:58 Step 4/12 : ARG ALPINE_PKG_EXTRA="" 13:13:59 ---> Running in d2a907c7673d 13:13:59 Removing intermediate container d2a907c7673d 13:13:59 ---> 9b804a15b937 13:13:59 Step 5/12 : ARG ADD_BUILD_TAGS="" 13:13:59 ---> Running in 5ff09d6d11aa 13:13:59 Removing intermediate container 5ff09d6d11aa 13:13:59 ---> 7a341660f9c0 13:13:59 Step 6/12 : WORKDIR /device-virtual-go 13:13:59 ---> Running in 1a55be68a102 13:13:59 Removing intermediate container 1a55be68a102 13:13:59 ---> c61d2daf8055 13:13:59 Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 13:13:59 ---> Running in 62fea250338e 13:13:59 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 13:14:00 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 13:14:00 (1/4) Installing openssh-keygen (9.1_p1-r2) 13:14:00 (2/4) Installing libedit (20221030.3.1-r0) 13:14:00 (3/4) Installing openssh-client-common (9.1_p1-r2) 13:14:00 (4/4) Installing openssh-client-default (9.1_p1-r2) 13:14:00 Executing busybox-1.35.0-r29.trigger 13:14:00 OK: 269 MiB in 57 packages 13:14:00 Removing intermediate container 62fea250338e 13:14:00 ---> 96865eb262d8 13:14:00 Step 8/12 : COPY go.mod vendor* ./ 13:14:01 ---> 98a76bd84f69 13:14:01 Step 9/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 13:14:01 ---> Running in e5ebbb2ece19 13:14:57 Removing intermediate container e5ebbb2ece19 13:14:57 ---> f1e4bd683524 13:14:57 Step 10/12 : COPY . . 13:14:57 ---> a16c48ddd92c 13:14:57 Step 11/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 13:14:57 ---> Running in 9fb6dfe2bd60 13:14:58 Removing intermediate container 9fb6dfe2bd60 13:14:58 ---> 4eb2405101dc 13:14:58 Step 12/12 : RUN $MAKE 13:14:58 ---> Running in c0e29392270d 13:14:59 noop 13:15:03 Removing intermediate container c0e29392270d 13:15:03 ---> c2c29a7a7e6a 13:15:03 Successfully built c2c29a7a7e6a 13:15:03 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 13:15:03 + docker inspect -f . ci-base-image-x86_64 13:15:03 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 13:15:03 prd-ubuntu20.04-docker-8c-8g-7133 does not seem to be running inside a container 13:15:03 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/foundry_device-virtual-go_PR-376 -v /w/workspace/foundry_device-virtual-go_PR-376:/w/workspace/foundry_device-virtual-go_PR-376:rw,z -v /w/workspace/foundry_device-virtual-go_PR-376@tmp:/w/workspace/foundry_device-virtual-go_PR-376@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 13:15:03 $ docker top 0d24e7d9cf0306672751dcabb20be3a255ce097c8fe75bcd6e18e1ba038fedae -eo pid,comm [Pipeline] { [Pipeline] sh 13:15:04 + go version 13:15:04 go version go1.20.2 linux/amd64 [Pipeline] } 13:15:04 $ docker stop --time=1 0d24e7d9cf0306672751dcabb20be3a255ce097c8fe75bcd6e18e1ba038fedae 13:15:06 $ docker rm -f --volumes 0d24e7d9cf0306672751dcabb20be3a255ce097c8fe75bcd6e18e1ba038fedae [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 13:15:06 + docker inspect -f . ci-base-image-x86_64 13:15:06 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 13:15:06 prd-ubuntu20.04-docker-8c-8g-7133 does not seem to be running inside a container 13:15:06 $ 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-376 -v /w/workspace/foundry_device-virtual-go_PR-376:/w/workspace/foundry_device-virtual-go_PR-376:rw,z -v /w/workspace/foundry_device-virtual-go_PR-376@tmp:/w/workspace/foundry_device-virtual-go_PR-376@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 13:15:07 $ docker top dd82ea0d27c3f242ec945031a5bf59fe7b574cdb7b0f4f1e6962b1d12969c9eb -eo pid,comm [Pipeline] { [Pipeline] sh 13:15:07 + git config --global --add safe.directory /w/workspace/foundry_device-virtual-go_PR-376 [Pipeline] fileExists [Pipeline] sh 13:15:08 + make test 13:15:08 go test ./... -coverprofile=coverage.out 13:15:12 ? github.com/edgexfoundry/device-virtual-go [no test files] 13:15:21 Running on prd-ubuntu20.04-docker-arm64-4c-16g-7134 in /w/workspace/foundry_device-virtual-go_PR-376 [Pipeline] { [Pipeline] ws 13:15:21 Running in /w/workspace/device-virtual-go/3 [Pipeline] { [Pipeline] checkout 13:15:21 The recommended git tool is: git 13:15:22 ? github.com/edgexfoundry/device-virtual-go/cmd [no test files] 13:15:22 ok github.com/edgexfoundry/device-virtual-go/internal/driver 0.039s coverage: 59.2% of statements 13:15:26 using credential edgex-jenkins-ssh 13:15:26 Cloning the remote Git repository 13:15:26 Cloning repository git@github.com:edgexfoundry/device-virtual-go.git 13:15:26 > git init /w/workspace/device-virtual-go/3 # timeout=10 13:15:26 Fetching upstream changes from git@github.com:edgexfoundry/device-virtual-go.git 13:15:26 > git --version # timeout=10 13:15:26 > git --version # 'git version 2.25.1' 13:15:26 using GIT_SSH to set credentials SSH Credentials for GitHub 13:15:26 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-virtual-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 13:15:27 go vet ./... 13:15:28 > git config remote.origin.url git@github.com:edgexfoundry/device-virtual-go.git # timeout=10 13:15:28 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 13:15:30 Merging remotes/origin/main commit 4efa56b4c53bfd63d1b185632fb211d8f865e63a into PR head commit 0d6858b6f354b84f4e84d2f837640387bd5cc444 13:15:30 Merge succeeded, producing 0d6858b6f354b84f4e84d2f837640387bd5cc444 13:15:30 Checking out Revision 0d6858b6f354b84f4e84d2f837640387bd5cc444 (PR-376) 13:15:30 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 13:15:30 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 13:15:30 ./bin/test-attribution-txt.sh 13:15:30 An attribution for github.com/go-jose/go-jose/v3 is missing from Attribution.txt, please add 13:15:29 > git config remote.origin.url git@github.com:edgexfoundry/device-virtual-go.git # timeout=10 13:15:29 Fetching upstream changes from git@github.com:edgexfoundry/device-virtual-go.git 13:15:29 using GIT_SSH to set credentials SSH Credentials for GitHub 13:15:29 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-virtual-go.git +refs/pull/376/head:refs/remotes/origin/PR-376 +refs/heads/main:refs/remotes/origin/main # timeout=10 13:15:30 > git config core.sparsecheckout # timeout=10 13:15:30 > git checkout -f 0d6858b6f354b84f4e84d2f837640387bd5cc444 # timeout=10 13:15:30 > git remote # timeout=10 13:15:30 > git config --get remote.origin.url # timeout=10 13:15:30 using GIT_SSH to set credentials SSH Credentials for GitHub 13:15:30 > git merge 4efa56b4c53bfd63d1b185632fb211d8f865e63a # timeout=10 13:15:30 > git rev-parse HEAD^{commit} # timeout=10 13:15:30 > git config core.sparsecheckout # timeout=10 13:15:30 > git checkout -f 0d6858b6f354b84f4e84d2f837640387bd5cc444 # timeout=10 [Pipeline] echo 13:15:31 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 13:15:31 $ docker stop --time=1 dd82ea0d27c3f242ec945031a5bf59fe7b574cdb7b0f4f1e6962b1d12969c9eb 13:15:34 Commit message: "feat!: Consume SDK interface changes" 13:15:35 $ docker rm -f --volumes dd82ea0d27c3f242ec945031a5bf59fe7b574cdb7b0f4f1e6962b1d12969c9eb [Pipeline] // withDockerContainer [Pipeline] sh [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 13:15:36 + sudo chown -R jenkins:jenkins . [Pipeline] stash 13:15:36 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 13:15:36 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 13:15:36 % Total % Received % Xferd Average Speed Time Time Time Current 13:15:36 Dload Upload Total Spent Left Speed 13:15:36 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 93072 0 --:--:-- --:--:-- --:--:-- 93072 13:15:36 + sudo chown -R jenkins:jenkins . [Pipeline] sh [Pipeline] sh 13:15:37 + ls -al . 13:15:37 total 192 13:15:37 drwxrwxr-x 9 jenkins jenkins 4096 Apr 7 13:15 . 13:15:37 drwxrwxr-x 4 jenkins jenkins 4096 Apr 7 13:13 .. 13:15:37 drwxrwxr-x 8 jenkins jenkins 4096 Apr 7 13:13 .git 13:15:37 drwxrwxr-x 3 jenkins jenkins 4096 Apr 7 13:13 .github 13:15:37 -rw-rw-r-- 1 jenkins jenkins 337 Apr 7 13:13 .gitignore 13:15:37 -rw-rw-r-- 1 jenkins jenkins 41 Apr 7 13:13 .golangci.yml 13:15:37 drwxr-xr-x 3 jenkins jenkins 4096 Apr 7 13:13 .semver 13:15:37 -rw-rw-r-- 1 jenkins jenkins 8641 Apr 7 13:13 Attribution.txt 13:15:37 -rw-rw-r-- 1 jenkins jenkins 11367 Apr 7 13:13 CHANGELOG.md 13:15:37 -rw-rw-r-- 1 jenkins jenkins 1646 Apr 7 13:13 Dockerfile 13:15:37 -rw-rw-r-- 1 jenkins jenkins 677 Apr 7 13:13 GOVERNANCE.md 13:15:37 -rw-rw-r-- 1 jenkins jenkins 660 Apr 7 13:13 Jenkinsfile 13:15:37 -rw-rw-r-- 1 jenkins jenkins 11340 Apr 7 13:13 LICENSE 13:15:37 -rw-rw-r-- 1 jenkins jenkins 1696 Apr 7 13:13 Makefile 13:15:37 -rw-rw-r-- 1 jenkins jenkins 623 Apr 7 13:13 OWNERS.md 13:15:37 -rw-rw-r-- 1 jenkins jenkins 3578 Apr 7 13:13 README.md 13:15:37 -rw-rw-r-- 1 jenkins jenkins 5 Apr 7 13:13 VERSION 13:15:37 drwxrwxr-x 2 jenkins jenkins 4096 Apr 7 13:13 bin 13:15:37 drwxrwxr-x 3 jenkins jenkins 4096 Apr 7 13:13 cmd 13:15:37 -rw-r--r-- 1 jenkins jenkins 42975 Apr 7 13:15 coverage.out 13:15:37 -rw-rw-r-- 1 jenkins jenkins 3209 Apr 7 13:13 go.mod 13:15:37 -rw-rw-r-- 1 jenkins jenkins 31219 Apr 7 13:13 go.sum 13:15:37 drwxrwxr-x 3 jenkins jenkins 4096 Apr 7 13:13 internal 13:15:37 drwxrwxr-x 4 jenkins jenkins 4096 Apr 7 13:13 snap 13:15:37 -rw-rw-r-- 1 jenkins jenkins 235 Apr 7 13:13 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 13:15:37 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 13:15:37 + 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=0d6858b6f354b84f4e84d2f837640387bd5cc444 --label arch=amd64 --label version=0.0.0 . 13:15:37 Sending build context to Docker daemon 23.58MB 13:15:37 Step 1/25 : ARG BASE=golang:1.20-alpine3.17 13:15:37 Step 2/25 : FROM ${BASE} AS builder 13:15:37 ---> c2c29a7a7e6a 13:15:37 Step 3/25 : ARG ALPINE_PKG_BASE="make git openssh-client" 13:15:37 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 13:15:37 + sudo tee /etc/docker/daemon.new 13:15:37 { 13:15:37 "registry-mirrors": [ 13:15:37 "https://nexus3.edgexfoundry.org:10001" 13:15:37 ], 13:15:37 "bip": "10.250.0.254/24", 13:15:37 "hosts": [ 13:15:37 "tcp://0.0.0.0:5555", 13:15:37 "unix:///var/run/docker.sock" 13:15:37 ], 13:15:37 "mtu": 1458, 13:15:37 "selinux-enabled": true, 13:15:37 "seccomp-profile": "/etc/docker/seccomp.json" 13:15:37 } [Pipeline] sh 13:15:37 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 13:15:37 ---> Running in 2f18e08ecc68 13:15:37 Removing intermediate container 2f18e08ecc68 13:15:37 ---> 9bde48676379 13:15:37 Step 4/25 : ARG ALPINE_PKG_EXTRA="" 13:15:37 ---> Running in 9934f606a650 13:15:38 Removing intermediate container 9934f606a650 13:15:38 ---> 91bb9b597620 13:15:38 Step 5/25 : ARG ADD_BUILD_TAGS="" 13:15:38 ---> Running in 02c062b57164 13:15:38 Removing intermediate container 02c062b57164 13:15:38 ---> 743cc948aefd 13:15:38 Step 6/25 : WORKDIR /device-virtual-go 13:15:38 ---> Running in 60f0c289d4ff 13:15:38 Removing intermediate container 60f0c289d4ff 13:15:38 ---> f571ff786dbf 13:15:38 Step 7/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 13:15:38 ---> Running in 9d0ec98e2761 13:15:38 + sudo service docker restart 13:15:38 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 13:15:38 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 13:15:39 OK: 269 MiB in 57 packages 13:15:39 Removing intermediate container 9d0ec98e2761 13:15:39 ---> 1dd9b0b90882 13:15:39 Step 8/25 : COPY go.mod vendor* ./ 13:15:39 ---> 04a82f2e2a4e 13:15:39 Step 9/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 13:15:39 ---> Running in 36241b06c646 13:15:40 Removing intermediate container 36241b06c646 13:15:40 ---> 376ed962ab14 13:15:40 Step 10/25 : COPY . . 13:15:40 ---> 6f0b99269ce6 13:15:40 Step 11/25 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 13:15:40 ---> Running in 60bfedb7fb00 13:15:40 Removing intermediate container 60bfedb7fb00 13:15:40 ---> 9ee44dc227ec 13:15:40 Step 12/25 : RUN $MAKE 13:15:41 ---> Running in 47bb3e2cef6d 13:15:41 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 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 13:15:56 provisioning config files... 13:15:56 copy managed file [device-virtual-go-settings] to file:/w/workspace/device-virtual-go/3@tmp/config16827574524411090595tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 13:15:56 ---> docker-login.sh 13:15:56 nexus3.edgexfoundry.org:10001 13:15:57 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 13:15:57 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 13:15:57 Configure a credential helper to remove this warning. See 13:15:57 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 13:15:57 13:15:57 Login Succeeded 13:15:57 nexus3.edgexfoundry.org:10002 13:15:57 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 13:15:57 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 13:15:57 Configure a credential helper to remove this warning. See 13:15:57 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 13:15:57 13:15:57 Login Succeeded 13:15:58 nexus3.edgexfoundry.org:10003 13:15:58 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 13:15:58 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 13:15:58 Configure a credential helper to remove this warning. See 13:15:58 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 13:15:58 13:15:58 Login Succeeded 13:15:58 nexus3.edgexfoundry.org:10004 13:15:58 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 13:15:58 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 13:15:58 Configure a credential helper to remove this warning. See 13:15:58 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 13:15:58 13:15:58 Login Succeeded 13:15:58 docker.io 13:15:58 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 13:15:59 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 13:15:59 Configure a credential helper to remove this warning. See 13:15:59 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 13:15:59 13:15:59 Login Succeeded 13:15:59 ---> docker-login.sh ends [Pipeline] } 13:15:59 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 13:15:59 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 13:15:59 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 13:15:59 ========================================================= 13:15:59 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine] 13:15:59 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 13:15:59 + 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 . 13:16:00 Sending build context to Docker daemon 11.93MB 13:16:00 Step 1/12 : ARG BASE=golang:1.20-alpine3.17 13:16:00 Step 2/12 : FROM ${BASE} AS builder 13:16:01 1.20-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 13:16:01 af6eaf76a39c: Pulling fs layer 13:16:01 55522c791124: Pulling fs layer 13:16:01 ce5c4a1c91eb: Pulling fs layer 13:16:01 169dfbe0d373: Pulling fs layer 13:16:01 e1ff8fa3b103: Pulling fs layer 13:16:01 52ebb69f0ebf: Pulling fs layer 13:16:01 5abe8eddf0d5: Pulling fs layer 13:16:01 52ebb69f0ebf: Waiting 13:16:01 169dfbe0d373: Waiting 13:16:01 e1ff8fa3b103: Waiting 13:16:01 5abe8eddf0d5: Waiting 13:16:01 55522c791124: Verifying Checksum 13:16:01 55522c791124: Download complete 13:16:01 169dfbe0d373: Download complete 13:16:01 e1ff8fa3b103: Verifying Checksum 13:16:01 e1ff8fa3b103: Download complete 13:16:01 af6eaf76a39c: Download complete 13:16:02 af6eaf76a39c: Pull complete 13:16:02 5abe8eddf0d5: Verifying Checksum 13:16:02 5abe8eddf0d5: Download complete 13:16:03 55522c791124: Pull complete 13:16:03 Removing intermediate container 47bb3e2cef6d 13:16:03 ---> fd60cc3fa833 13:16:03 Step 13/25 : FROM alpine:3.17 13:16:03 3.17: Pulling from library/alpine 13:16:03 f56be85fc22e: Pulling fs layer 13:16:03 f56be85fc22e: Verifying Checksum 13:16:03 f56be85fc22e: Download complete 13:16:03 f56be85fc22e: Pull complete 13:16:03 Digest: sha256:124c7d2707904eea7431fffe91522a01e5a861a624ee31d03372cc1d138a3126 13:16:03 Status: Downloaded newer image for alpine:3.17 13:16:03 ---> 9ed4aefc74f6 13:16:03 Step 14/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2021: IOTech' 13:16:03 ---> Running in 8eda362b1b48 13:16:03 Removing intermediate container 8eda362b1b48 13:16:03 ---> 00fb00a9e32c 13:16:03 Step 15/25 : RUN apk add --update --no-cache dumb-init 13:16:03 ---> Running in d828eaeb5f9d 13:16:03 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 13:16:03 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 13:16:03 (1/1) Installing dumb-init (1.2.5-r2) 13:16:03 Executing busybox-1.35.0-r29.trigger 13:16:03 OK: 7 MiB in 16 packages 13:16:03 Removing intermediate container d828eaeb5f9d 13:16:03 ---> 43ad6579f654 13:16:03 Step 16/25 : WORKDIR / 13:16:03 ---> Running in 945d90f1d664 13:16:03 Removing intermediate container 945d90f1d664 13:16:03 ---> 5d714623fe6f 13:16:03 Step 17/25 : COPY --from=builder /device-virtual-go/Attribution.txt / 13:16:04 ---> fcaa0ad12181 13:16:04 Step 18/25 : COPY --from=builder /device-virtual-go/LICENSE / 13:16:04 ---> 5b50ad18d290 13:16:04 Step 19/25 : COPY --from=builder /device-virtual-go/cmd / 13:16:04 ce5c4a1c91eb: Verifying Checksum 13:16:04 ce5c4a1c91eb: Download complete 13:16:04 52ebb69f0ebf: Verifying Checksum 13:16:04 52ebb69f0ebf: Download complete 13:16:05 ---> 3d8bc95763c8 13:16:05 Step 20/25 : EXPOSE 59900 13:16:05 ---> Running in 94e130ba3f23 13:16:05 Removing intermediate container 94e130ba3f23 13:16:05 ---> ebd559b6bb19 13:16:05 Step 21/25 : ENTRYPOINT ["/device-virtual"] 13:16:05 ---> Running in 2f0af5fe5a83 13:16:06 Removing intermediate container 2f0af5fe5a83 13:16:06 ---> fac0a572a503 13:16:06 Step 22/25 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry"] 13:16:06 ---> Running in 748cc7e7e211 13:16:06 Removing intermediate container 748cc7e7e211 13:16:06 ---> b17bfec54220 13:16:06 Step 23/25 : LABEL arch=amd64 13:16:06 ---> Running in fb2270bc887e 13:16:06 Removing intermediate container fb2270bc887e 13:16:06 ---> 56eae9609caf 13:16:06 Step 24/25 : LABEL git_sha=0d6858b6f354b84f4e84d2f837640387bd5cc444 13:16:06 ---> Running in 0d9a18ac9305 13:16:06 Removing intermediate container 0d9a18ac9305 13:16:06 ---> 0c50d0a70d73 13:16:06 Step 25/25 : LABEL version=0.0.0 13:16:06 ---> Running in c172b817ce8c 13:16:06 Removing intermediate container c172b817ce8c 13:16:06 ---> f8332fb13d03 13:16:06 [Warning] One or more build-args [ARCH] were not consumed 13:16:06 Successfully built f8332fb13d03 13:16:06 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 13:16:06 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 13:16:06 13:16:06 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 13:16:06 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 13:16:06 latest: Pulling from edgex-lftools-log-publisher 13:16:06 5eb5b503b376: Pulling fs layer 13:16:06 5c69ac0246d0: Pulling fs layer 13:16:06 ec43610c2a17: Pulling fs layer 13:16:06 3a2ae6a8a46f: Pulling fs layer 13:16:06 33b1e0a273af: Pulling fs layer 13:16:06 5d3b04190fa2: Pulling fs layer 13:16:06 2f39f015ded8: Pulling fs layer 13:16:06 3a2ae6a8a46f: Waiting 13:16:06 5d3b04190fa2: Waiting 13:16:06 33b1e0a273af: Waiting 13:16:06 2f39f015ded8: Waiting 13:16:06 5c69ac0246d0: Download complete 13:16:06 3a2ae6a8a46f: Verifying Checksum 13:16:06 3a2ae6a8a46f: Download complete 13:16:06 33b1e0a273af: Verifying Checksum 13:16:06 33b1e0a273af: Download complete 13:16:06 ec43610c2a17: Download complete 13:16:06 5d3b04190fa2: Verifying Checksum 13:16:06 5d3b04190fa2: Download complete 13:16:07 5eb5b503b376: Verifying Checksum 13:16:07 5eb5b503b376: Download complete 13:16:07 2f39f015ded8: Download complete 13:16:08 5eb5b503b376: Pull complete 13:16:08 5c69ac0246d0: Pull complete 13:16:08 ec43610c2a17: Pull complete 13:16:08 3a2ae6a8a46f: Pull complete 13:16:09 33b1e0a273af: Pull complete 13:16:09 5d3b04190fa2: Pull complete 13:16:14 2f39f015ded8: Pull complete 13:16:14 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 13:16:14 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 13:16:14 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 13:16:14 prd-ubuntu20.04-docker-8c-8g-7133 does not seem to be running inside a container 13:16:14 $ 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-376 -v /w/workspace/foundry_device-virtual-go_PR-376:/w/workspace/foundry_device-virtual-go_PR-376:rw,z -v /w/workspace/foundry_device-virtual-go_PR-376@tmp:/w/workspace/foundry_device-virtual-go_PR-376@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 13:16:16 ce5c4a1c91eb: Pull complete 13:16:16 169dfbe0d373: Pull complete 13:16:16 e1ff8fa3b103: Pull complete 13:16:20 $ docker top 42b0fa30a36d484db4cedb032b1cba036fde78975b1544f380506b266d774287 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 13:16:21 ---> job-cost.sh 13:16:21 lf-activate-venv: SKIPPING 13:16:21 INFO: No Stack... 13:16:21 INFO: Retrieving Pricing Info for: v3-standard-8 13:16:21 INFO: Archiving Costs [Pipeline] sh 13:16:22 + cat /w/workspace/foundry_device-virtual-go_PR-376/archives/cost.csv 13:16:22 + cut -d, -f6 [Pipeline] lock 13:16:22 Trying to acquire lock on [jenkins-edgexfoundry-device-virtual-go-PR-376-3-stack-cost] 13:16:22 Resource [jenkins-edgexfoundry-device-virtual-go-PR-376-3-stack-cost] did not exist. Created. 13:16:22 Lock acquired on [jenkins-edgexfoundry-device-virtual-go-PR-376-3-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 13:16:22 52ebb69f0ebf: Pull complete 13:16:22 + echo total: 0.2199999988079071 [Pipeline] stash 13:16:22 Stashed 1 file(s) [Pipeline] } 13:16:22 Lock released on resource [jenkins-edgexfoundry-device-virtual-go-PR-376-3-stack-cost] [Pipeline] // lock [Pipeline] } 13:16:22 $ docker stop --time=1 42b0fa30a36d484db4cedb032b1cba036fde78975b1544f380506b266d774287 13:16:23 $ docker rm -f --volumes 42b0fa30a36d484db4cedb032b1cba036fde78975b1544f380506b266d774287 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 13:16:24 5abe8eddf0d5: Pull complete 13:16:24 Digest: sha256:978cc1420e451f27bd88fdeece3ad01a9109ec773b62f165dfc696fd516b3d8f 13:16:24 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine 13:16:24 ---> 6cb57ee374ae 13:16:24 Step 3/12 : ARG ALPINE_PKG_BASE="make git openssh-client" 13:16:26 ---> Running in 85cda6371304 13:16:26 Removing intermediate container 85cda6371304 13:16:26 ---> d8e5e49d82f4 13:16:26 Step 4/12 : ARG ALPINE_PKG_EXTRA="" 13:16:26 ---> Running in d8f5684e8a81 13:16:26 Removing intermediate container d8f5684e8a81 13:16:26 ---> 05490368f3ad 13:16:26 Step 5/12 : ARG ADD_BUILD_TAGS="" 13:16:26 ---> Running in cdaffc9162df 13:16:27 Removing intermediate container cdaffc9162df 13:16:27 ---> 8880ae0bd72d 13:16:27 Step 6/12 : WORKDIR /device-virtual-go 13:16:27 ---> Running in 9cc9f9eb3f7b 13:16:27 Removing intermediate container 9cc9f9eb3f7b 13:16:27 ---> f6190779ede8 13:16:27 Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 13:16:27 ---> Running in 2fed320423eb 13:16:28 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 13:16:29 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 13:16:30 (1/4) Installing openssh-keygen (9.1_p1-r2) 13:16:30 (2/4) Installing libedit (20221030.3.1-r0) 13:16:30 (3/4) Installing openssh-client-common (9.1_p1-r2) 13:16:30 (4/4) Installing openssh-client-default (9.1_p1-r2) 13:16:30 Executing busybox-1.35.0-r29.trigger 13:16:30 OK: 268 MiB in 57 packages 13:16:31 Removing intermediate container 2fed320423eb 13:16:31 ---> b05f7f079ff8 13:16:31 Step 8/12 : COPY go.mod vendor* ./ 13:16:31 ---> 1960cbac1654 13:16:31 Step 9/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 13:16:31 ---> Running in 9f8315527eba 13:17:39 Removing intermediate container 9f8315527eba 13:17:39 ---> 204da9ee5d2e 13:17:39 Step 10/12 : COPY . . 13:17:39 ---> 413be70294c5 13:17:39 Step 11/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 13:17:39 ---> Running in 4ec1cddbdad9 13:17:39 Removing intermediate container 4ec1cddbdad9 13:17:39 ---> df86fe56ba3c 13:17:39 Step 12/12 : RUN $MAKE 13:17:39 ---> Running in df56690b9c4f 13:17:39 noop 13:17:39 Removing intermediate container df56690b9c4f 13:17:39 ---> 9b5c32a71ce5 13:17:39 Successfully built 9b5c32a71ce5 13:17:39 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 13:17:40 + docker inspect -f . ci-base-image-arm64 13:17:40 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 13:17:40 prd-ubuntu20.04-docker-arm64-4c-16g-7134 does not seem to be running inside a container 13:17:40 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-virtual-go/3 -v /w/workspace/device-virtual-go/3:/w/workspace/device-virtual-go/3:rw,z -v /w/workspace/device-virtual-go/3@tmp:/w/workspace/device-virtual-go/3@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 13:17:41 $ docker top 59accf6e0a0b20140f875689bf79e7190be9f3c9b3e4c36af3b4db9470fafd8f -eo pid,comm [Pipeline] { [Pipeline] sh 13:17:42 + go version 13:17:42 go version go1.20.2 linux/arm64 [Pipeline] } 13:17:42 $ docker stop --time=1 59accf6e0a0b20140f875689bf79e7190be9f3c9b3e4c36af3b4db9470fafd8f 13:17:43 $ docker rm -f --volumes 59accf6e0a0b20140f875689bf79e7190be9f3c9b3e4c36af3b4db9470fafd8f [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 13:17:44 + docker inspect -f . ci-base-image-arm64 13:17:44 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 13:17:44 prd-ubuntu20.04-docker-arm64-4c-16g-7134 does not seem to be running inside a container 13:17:44 $ 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/3 -v /w/workspace/device-virtual-go/3:/w/workspace/device-virtual-go/3:rw,z -v /w/workspace/device-virtual-go/3@tmp:/w/workspace/device-virtual-go/3@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 13:17:47 $ docker top 359e47a5eaa94724f8177a41542d09be6135327b3ace15dbce2f4b302442034c -eo pid,comm [Pipeline] { [Pipeline] sh 13:17:47 + git config --global --add safe.directory /w/workspace/device-virtual-go/3 [Pipeline] fileExists [Pipeline] sh 13:17:47 + make test 13:17:47 go test ./... -coverprofile=coverage.out 13:18:20 ? github.com/edgexfoundry/device-virtual-go [no test files] 13:20:11 ? github.com/edgexfoundry/device-virtual-go/cmd [no test files] 13:20:11 ok github.com/edgexfoundry/device-virtual-go/internal/driver 0.138s coverage: 59.0% of statements 13:20:11 WARNING: Linting skipped (not on x86_64 or linter not installed) 13:20:11 go vet ./... 13:20:43 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 13:20:43 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 13:20:43 ./bin/test-attribution-txt.sh 13:20:43 An attribution for github.com/go-jose/go-jose/v3 is missing from Attribution.txt, please add [Pipeline] echo 13:20:43 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 13:20:43 $ docker stop --time=1 359e47a5eaa94724f8177a41542d09be6135327b3ace15dbce2f4b302442034c 13:20:45 $ docker rm -f --volumes 359e47a5eaa94724f8177a41542d09be6135327b3ace15dbce2f4b302442034c [Pipeline] // withDockerContainer [Pipeline] sh 13:20:46 + sudo chown -R jenkins:jenkins . [Pipeline] stash 13:20:46 Warning: overwriting stash ‘coverage-report’ 13:20:47 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 13:20:47 + sudo chown -R jenkins:jenkins . [Pipeline] sh 13:20:48 + ls -al . 13:20:48 total 188 13:20:48 drwxrwxr-x 8 jenkins jenkins 4096 Apr 7 13:17 . 13:20:48 drwxrwxr-x 4 jenkins jenkins 4096 Apr 7 13:15 .. 13:20:48 drwxrwxr-x 8 jenkins jenkins 4096 Apr 7 13:15 .git 13:20:48 drwxrwxr-x 3 jenkins jenkins 4096 Apr 7 13:15 .github 13:20:48 -rw-rw-r-- 1 jenkins jenkins 337 Apr 7 13:15 .gitignore 13:20:48 -rw-rw-r-- 1 jenkins jenkins 41 Apr 7 13:15 .golangci.yml 13:20:48 -rw-rw-r-- 1 jenkins jenkins 8641 Apr 7 13:15 Attribution.txt 13:20:48 -rw-rw-r-- 1 jenkins jenkins 11367 Apr 7 13:15 CHANGELOG.md 13:20:48 -rw-rw-r-- 1 jenkins jenkins 1646 Apr 7 13:15 Dockerfile 13:20:48 -rw-rw-r-- 1 jenkins jenkins 677 Apr 7 13:15 GOVERNANCE.md 13:20:48 -rw-rw-r-- 1 jenkins jenkins 660 Apr 7 13:15 Jenkinsfile 13:20:48 -rw-rw-r-- 1 jenkins jenkins 11340 Apr 7 13:15 LICENSE 13:20:48 -rw-rw-r-- 1 jenkins jenkins 1696 Apr 7 13:15 Makefile 13:20:48 -rw-rw-r-- 1 jenkins jenkins 623 Apr 7 13:15 OWNERS.md 13:20:48 -rw-rw-r-- 1 jenkins jenkins 3578 Apr 7 13:15 README.md 13:20:48 -rw-rw-r-- 1 jenkins jenkins 5 Apr 7 13:13 VERSION 13:20:48 drwxrwxr-x 2 jenkins jenkins 4096 Apr 7 13:15 bin 13:20:48 drwxrwxr-x 3 jenkins jenkins 4096 Apr 7 13:15 cmd 13:20:48 -rw-r--r-- 1 jenkins jenkins 42975 Apr 7 13:20 coverage.out 13:20:48 -rw-rw-r-- 1 jenkins jenkins 3209 Apr 7 13:15 go.mod 13:20:48 -rw-rw-r-- 1 jenkins jenkins 31219 Apr 7 13:15 go.sum 13:20:48 drwxrwxr-x 3 jenkins jenkins 4096 Apr 7 13:15 internal 13:20:48 drwxrwxr-x 4 jenkins jenkins 4096 Apr 7 13:15 snap 13:20:48 -rw-rw-r-- 1 jenkins jenkins 235 Apr 7 13:15 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 13:20:48 + 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=0d6858b6f354b84f4e84d2f837640387bd5cc444 --label arch=arm64 --label version=0.0.0 . 13:20:49 Sending build context to Docker daemon 11.97MB 13:20:49 Step 1/25 : ARG BASE=golang:1.20-alpine3.17 13:20:49 Step 2/25 : FROM ${BASE} AS builder 13:20:49 ---> 9b5c32a71ce5 13:20:49 Step 3/25 : ARG ALPINE_PKG_BASE="make git openssh-client" 13:20:49 ---> Running in 2f8b1e52da47 13:20:49 Removing intermediate container 2f8b1e52da47 13:20:49 ---> bbbe2eb74857 13:20:49 Step 4/25 : ARG ALPINE_PKG_EXTRA="" 13:20:49 ---> Running in fa641a2d3502 13:20:49 Removing intermediate container fa641a2d3502 13:20:49 ---> cd55fe75b4f7 13:20:49 Step 5/25 : ARG ADD_BUILD_TAGS="" 13:20:49 ---> Running in 46e48d72f354 13:20:50 Removing intermediate container 46e48d72f354 13:20:50 ---> 1625b8244d6b 13:20:50 Step 6/25 : WORKDIR /device-virtual-go 13:20:50 ---> Running in 48b41f7fa6c1 13:20:50 Removing intermediate container 48b41f7fa6c1 13:20:50 ---> fe179d342e9f 13:20:50 Step 7/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 13:20:50 ---> Running in f1f08f77b3b6 13:20:51 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 13:20:52 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 13:20:53 OK: 268 MiB in 57 packages 13:20:54 Removing intermediate container f1f08f77b3b6 13:20:54 ---> 803f9ef5fcac 13:20:54 Step 8/25 : COPY go.mod vendor* ./ 13:20:54 ---> 5f368ed05d3e 13:20:54 Step 9/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 13:20:54 ---> Running in bdbcf6286725 13:20:56 Removing intermediate container bdbcf6286725 13:20:56 ---> 71f5feb46335 13:20:56 Step 10/25 : COPY . . 13:20:57 ---> c81a600d9b4b 13:20:57 Step 11/25 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 13:20:57 ---> Running in fd2d9e65bd6b 13:20:58 Removing intermediate container fd2d9e65bd6b 13:20:58 ---> 9749a56ebd7c 13:20:58 Step 12/25 : RUN $MAKE 13:20:58 ---> Running in d2cda0bedfc5 13:20:59 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 13:23:05 Removing intermediate container d2cda0bedfc5 13:23:05 ---> c03c41384cb0 13:23:05 Step 13/25 : FROM alpine:3.17 13:23:05 3.17: Pulling from library/alpine 13:23:05 c41833b44d91: Pulling fs layer 13:23:05 c41833b44d91: Verifying Checksum 13:23:05 c41833b44d91: Download complete 13:23:05 c41833b44d91: Pull complete 13:23:05 Digest: sha256:124c7d2707904eea7431fffe91522a01e5a861a624ee31d03372cc1d138a3126 13:23:05 Status: Downloaded newer image for alpine:3.17 13:23:05 ---> 51e60588ff2c 13:23:05 Step 14/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2021: IOTech' 13:23:05 ---> Running in 0e90d04d4ec8 13:23:05 Removing intermediate container 0e90d04d4ec8 13:23:05 ---> 087946e0b03e 13:23:05 Step 15/25 : RUN apk add --update --no-cache dumb-init 13:23:05 ---> Running in a20bbbfe1844 13:23:05 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 13:23:05 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 13:23:06 (1/1) Installing dumb-init (1.2.5-r2) 13:23:06 Executing busybox-1.35.0-r29.trigger 13:23:06 OK: 8 MiB in 16 packages 13:23:09 Removing intermediate container a20bbbfe1844 13:23:09 ---> e1a97437ca99 13:23:09 Step 16/25 : WORKDIR / 13:23:09 ---> Running in e65f5801d6ec 13:23:09 Removing intermediate container e65f5801d6ec 13:23:09 ---> 29436e8b2afd 13:23:09 Step 17/25 : COPY --from=builder /device-virtual-go/Attribution.txt / 13:23:09 ---> 8c35f2c4569c 13:23:09 Step 18/25 : COPY --from=builder /device-virtual-go/LICENSE / 13:23:10 ---> 2db8b5637b42 13:23:10 Step 19/25 : COPY --from=builder /device-virtual-go/cmd / 13:23:11 ---> 3d880066d77d 13:23:11 Step 20/25 : EXPOSE 59900 13:23:11 ---> Running in 0fc70069e53a 13:23:12 Removing intermediate container 0fc70069e53a 13:23:12 ---> f6d909f84306 13:23:12 Step 21/25 : ENTRYPOINT ["/device-virtual"] 13:23:12 ---> Running in 39ab469d2920 13:23:12 Removing intermediate container 39ab469d2920 13:23:12 ---> 0faf8f7fdd39 13:23:12 Step 22/25 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry"] 13:23:12 ---> Running in 41165efdf1e5 13:23:12 Removing intermediate container 41165efdf1e5 13:23:12 ---> 681e4821e666 13:23:12 Step 23/25 : LABEL arch=arm64 13:23:13 ---> Running in 99fb521e79c0 13:23:13 Removing intermediate container 99fb521e79c0 13:23:13 ---> c52049bb5555 13:23:13 Step 24/25 : LABEL git_sha=0d6858b6f354b84f4e84d2f837640387bd5cc444 13:23:13 ---> Running in e38144b9be43 13:23:13 Removing intermediate container e38144b9be43 13:23:13 ---> 4d8cd3dddc7e 13:23:13 Step 25/25 : LABEL version=0.0.0 13:23:13 ---> Running in fc40cc522061 13:23:13 Removing intermediate container fc40cc522061 13:23:13 ---> 196e3f5cf102 13:23:13 [Warning] One or more build-args [ARCH] were not consumed 13:23:13 Successfully built 196e3f5cf102 13:23:13 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 13:23:14 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 13:23:14 13:23:14 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 13:23:14 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 13:23:14 arm64: Pulling from edgex-lftools-log-publisher 13:23:14 8998bd30e6a1: Pulling fs layer 13:23:14 04944245beec: Pulling fs layer 13:23:14 699f458cf7ca: Pulling fs layer 13:23:14 765212b225bb: Pulling fs layer 13:23:14 f23df028b6ca: Pulling fs layer 13:23:14 d65c8cfc05b1: Pulling fs layer 13:23:14 2437ff75d9bd: Pulling fs layer 13:23:14 765212b225bb: Waiting 13:23:14 d65c8cfc05b1: Waiting 13:23:14 f23df028b6ca: Waiting 13:23:14 2437ff75d9bd: Waiting 13:23:14 04944245beec: Verifying Checksum 13:23:14 04944245beec: Download complete 13:23:14 765212b225bb: Verifying Checksum 13:23:14 765212b225bb: Download complete 13:23:14 f23df028b6ca: Download complete 13:23:14 d65c8cfc05b1: Verifying Checksum 13:23:14 d65c8cfc05b1: Download complete 13:23:15 699f458cf7ca: Verifying Checksum 13:23:15 699f458cf7ca: Download complete 13:23:15 8998bd30e6a1: Verifying Checksum 13:23:15 8998bd30e6a1: Download complete 13:23:17 2437ff75d9bd: Verifying Checksum 13:23:17 2437ff75d9bd: Download complete 13:23:19 8998bd30e6a1: Pull complete 13:23:21 04944245beec: Pull complete 13:23:22 699f458cf7ca: Pull complete 13:23:23 765212b225bb: Pull complete 13:23:23 f23df028b6ca: Pull complete 13:23:24 d65c8cfc05b1: Pull complete 13:23:39 2437ff75d9bd: Pull complete 13:23:39 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 13:23:39 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 13:23:39 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 13:23:39 prd-ubuntu20.04-docker-arm64-4c-16g-7134 does not seem to be running inside a container 13:23:39 $ 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/3 -v /w/workspace/device-virtual-go/3:/w/workspace/device-virtual-go/3:rw,z -v /w/workspace/device-virtual-go/3@tmp:/w/workspace/device-virtual-go/3@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 13:23:41 $ docker top 20b1bb2cd6fa4c8b8da3c8f7e2a255523075128ab4b1d9bb6ccc4d65b9e5c3fc -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 13:23:42 ---> job-cost.sh 13:23:42 lf-activate-venv: SKIPPING 13:23:42 INFO: No Stack... 13:23:42 INFO: Retrieving Pricing Info for: v3-standard-4 13:23:43 INFO: Archiving Costs [Pipeline] sh 13:23:44 + cut -d, -f6 13:23:44 + cat /w/workspace/device-virtual-go/3/archives/cost.csv [Pipeline] lock 13:23:44 Trying to acquire lock on [jenkins-edgexfoundry-device-virtual-go-PR-376-3-stack-cost] 13:23:44 Resource [jenkins-edgexfoundry-device-virtual-go-PR-376-3-stack-cost] did not exist. Created. 13:23:44 Lock acquired on [jenkins-edgexfoundry-device-virtual-go-PR-376-3-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 13:23:45 /w/workspace/device-virtual-go/3@tmp/durable-7b481c8f/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 13:23:45 + echo total: 0.10999999940395355 [Pipeline] stash 13:23:45 Warning: overwriting stash ‘stack-cost’ 13:23:45 Stashed 1 file(s) [Pipeline] } 13:23:45 Lock released on resource [jenkins-edgexfoundry-device-virtual-go-PR-376-3-stack-cost] [Pipeline] // lock [Pipeline] } 13:23:45 $ docker stop --time=1 20b1bb2cd6fa4c8b8da3c8f7e2a255523075128ab4b1d9bb6ccc4d65b9e5c3fc 13:23:48 $ docker rm -f --volumes 20b1bb2cd6fa4c8b8da3c8f7e2a255523075128ab4b1d9bb6ccc4d65b9e5c3fc [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 13:23:48 provisioning config files... 13:23:48 copy managed file [device-virtual-go-codecov-token] to file:/w/workspace/foundry_device-virtual-go_PR-376@tmp/config13969988728878161755tmp [Pipeline] { [Pipeline] sh 13:23:48 + set +x 13:23:48 + curl -s https://codecov.io/bash 13:23:48 + bash -s -- 13:23:48 13:23:48 _____ _ 13:23:48 / ____| | | 13:23:48 | | ___ __| | ___ ___ _____ __ 13:23:48 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 13:23:48 | |___| (_) | (_| | __/ (_| (_) \ V / 13:23:48 \_____\___/ \__,_|\___|\___\___/ \_/ 13:23:48 Bash-1.0.6 13:23:48 13:23:48 13:23:48 ==> git version 2.25.1 found 13:23:48 ==> 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 13:23:48 Release-Date: 2020-01-08 13:23:48 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 13:23:48 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 13:23:48 ==> Jenkins CI detected. 13:23:48 current dir:  /w/workspace/foundry_device-virtual-go_PR-376 13:23:48 project root: . 13:23:48 --> token set from env 13:23:48 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 13:23:48 ==> Running gcov in . (disable via -X gcov) 13:23:48 ==> Python coveragepy not found 13:23:48 ==> Searching for coverage reports in: 13:23:48 + . 13:23:49 -> Found 1 reports 13:23:49 ==> Detecting git/mercurial file structure 13:23:49 ==> Reading reports 13:23:49 + ./coverage.out bytes=42975 13:23:49 ==> Appending adjustments 13:23:49 https://docs.codecov.io/docs/fixing-reports 13:23:49 + Found adjustments 13:23:49 ==> Gzipping contents 13:23:49 8.0K /tmp/codecov.FPgxW0.gz 13:23:49 ==> Uploading reports 13:23:49 url: https://codecov.io 13:23:49 query: branch=PR-376&commit=0d6858b6f354b84f4e84d2f837640387bd5cc444&build=3&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-virtual-go%2Fjob%2FPR-376%2F3%2F&name=&tag=&slug=edgexfoundry%2Fdevice-virtual-go&service=jenkins&flags=&pr=376&job=&cmd_args= 13:23:49 -> Pinging Codecov 13:23:49 https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=a35e349c-7876-4d48-9269-e9fc36774240&branch=PR-376&commit=0d6858b6f354b84f4e84d2f837640387bd5cc444&build=3&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-virtual-go%2Fjob%2FPR-376%2F3%2F&name=&tag=&slug=edgexfoundry%2Fdevice-virtual-go&service=jenkins&flags=&pr=376&job=&cmd_args= 13:23:49 -> Uploading to 13:23:49 https://storage.googleapis.com/codecov/v4/raw/2023-04-07/5E52B4B073DB2E39498172D8E973AA87/0d6858b6f354b84f4e84d2f837640387bd5cc444/2265633c-6f00-41d3-a297-e856c83b6a43.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20230407%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20230407T132349Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=464b313d66d554ad2c1718929456e451c5a2b4fd4a184d9faa9108e5a7b05271 13:23:49 % Total % Received % Xferd Average Speed Time Time Time Current 13:23:49 Dload Upload Total Spent Left Speed 13:23:49 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 5205 0 0 100 5205 0 16954 --:--:-- --:--:-- --:--:-- 16954 13:23:49 -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-virtual-go/commit/0d6858b6f354b84f4e84d2f837640387bd5cc444 [Pipeline] } 13:23:49 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 13:23:50 + [ -d /w/workspace/foundry_device-virtual-go_PR-376/archives ] 13:23:50 + ls -al /w/workspace/foundry_device-virtual-go_PR-376/archives 13:23:50 total 16 13:23:50 drwxr-xr-x 3 root root 4096 Apr 7 13:16 . 13:23:50 drwxrwxr-x 10 jenkins jenkins 4096 Apr 7 13:16 .. 13:23:50 drwxr-xr-x 2 root root 4096 Apr 7 13:16 cost 13:23:50 -rw-r--r-- 1 root root 89 Apr 7 13:16 cost.csv 13:23:50 + sudo chown -R jenkins:jenkins /w/workspace/foundry_device-virtual-go_PR-376/archives 13:23:50 + ls -al /w/workspace/foundry_device-virtual-go_PR-376/archives 13:23:50 total 16 13:23:50 drwxr-xr-x 3 jenkins jenkins 4096 Apr 7 13:16 . 13:23:50 drwxrwxr-x 10 jenkins jenkins 4096 Apr 7 13:16 .. 13:23:50 drwxr-xr-x 2 jenkins jenkins 4096 Apr 7 13:16 cost 13:23:50 -rw-r--r-- 1 jenkins jenkins 89 Apr 7 13:16 cost.csv [Pipeline] libraryResource [Pipeline] sh 13:23:50 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 13:23:51 ---> package-listing.sh 13:23:51 ++ facter osfamily 13:23:51 ++ tr '[:upper:]' '[:lower:]' 13:23:51 + OS_FAMILY=debian 13:23:51 + workspace=/w/workspace/foundry_device-virtual-go_PR-376 13:23:51 + START_PACKAGES=/tmp/packages_start.txt 13:23:51 + END_PACKAGES=/tmp/packages_end.txt 13:23:51 + DIFF_PACKAGES=/tmp/packages_diff.txt 13:23:51 + PACKAGES=/tmp/packages_start.txt 13:23:51 + '[' /w/workspace/foundry_device-virtual-go_PR-376 ']' 13:23:51 + PACKAGES=/tmp/packages_end.txt 13:23:51 + case "${OS_FAMILY}" in 13:23:51 + dpkg -l 13:23:51 + grep '^ii' 13:23:51 + '[' -f /tmp/packages_start.txt ']' 13:23:51 + '[' -f /tmp/packages_end.txt ']' 13:23:51 + diff /tmp/packages_start.txt /tmp/packages_end.txt 13:23:51 + '[' /w/workspace/foundry_device-virtual-go_PR-376 ']' 13:23:51 + mkdir -p /w/workspace/foundry_device-virtual-go_PR-376/archives/ 13:23:51 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/foundry_device-virtual-go_PR-376/archives/ [Pipeline] echo 13:23:51 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-376/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 13:23:52 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 13:23:52 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 13:23:52 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 13:23:52 prd-ubuntu20.04-docker-8c-8g-7133 does not seem to be running inside a container 13:23:52 $ 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-376/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-376 -v /w/workspace/foundry_device-virtual-go_PR-376:/w/workspace/foundry_device-virtual-go_PR-376:rw,z -v /w/workspace/foundry_device-virtual-go_PR-376@tmp:/w/workspace/foundry_device-virtual-go_PR-376@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 13:23:53 $ docker top 303a52dd6debf5e1db5a67f38b32b0842161709fa4ca7e9161855d1a90ee7409 -eo pid,comm [Pipeline] { [Pipeline] sh 13:23:54 + touch /tmp/pre-build-complete [Pipeline] sh 13:23:54 + mkdir -p /var/log/sysstat [Pipeline] sh 13:23:54 + ls /var/log/sa-host 13:23:54 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 13:23:54 provisioning config files... 13:23:54 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/foundry_device-virtual-go_PR-376@tmp/config11722468737052753702tmp [Pipeline] { [Pipeline] echo 13:23:54 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 13:23:55 ---> create-netrc.sh [Pipeline] } 13:23:55 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 13:23:55 ---> python-tools-install.sh [Pipeline] echo 13:23:55 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 13:23:55 ---> sudo-logs.sh 13:23:55 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 13:23:55 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 13:23:56 ---> job-cost.sh 13:23:56 lf-activate-venv: SKIPPING 13:23:56 DEBUG: total: 0.2199999988079071 13:23:56 INFO: Retrieving Stack Cost... 13:23:56 INFO: Retrieving Pricing Info for: v3-standard-8 13:23:56 INFO: Archiving Costs [Pipeline] echo 13:23:56 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 13:23:57 ---> logs-deploy.sh 13:23:57 lf-activate-venv: SKIPPING 13:23:57 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-virtual-go/PR-376/3 13:23:57 INFO: archiving workspace using pattern(s): 13:23:58 Archives upload complete. 13:23:58 INFO: archiving logs to Nexus