Pull request #374 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 b76ffb3f756266f027a45c1155223ddd586b2bad rather than 26335ca814dd65c06ec364d4e8cfa3d69160f65a Obtained Jenkinsfile from b76ffb3f756266f027a45c1155223ddd586b2bad 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-ssh16022407552474889319.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-ssh2763019853036576269.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-374/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-374/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh18056988962135436930.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-ssh6751146904744243299.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-374/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-374/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh3294234972800151564.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 ‘prd-ubuntu20.04-docker-8c-8g-6459’ is offline Running on prd-ubuntu20.04-docker-8c-8g-6460 in /w/workspace/foundry_device-virtual-go_PR-374 [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-374 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-virtual-go.git > git --version # timeout=10 > git --version # 'git version 2.25.1' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-virtual-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-virtual-go.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-virtual-go.git # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-virtual-go.git using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-virtual-go.git +refs/pull/374/head:refs/remotes/origin/PR-374 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit b76ffb3f756266f027a45c1155223ddd586b2bad into PR head commit 26335ca814dd65c06ec364d4e8cfa3d69160f65a Merge succeeded, producing 26335ca814dd65c06ec364d4e8cfa3d69160f65a Checking out Revision 26335ca814dd65c06ec364d4e8cfa3d69160f65a (PR-374) > git config core.sparsecheckout # timeout=10 > git checkout -f 26335ca814dd65c06ec364d4e8cfa3d69160f65a # 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 b76ffb3f756266f027a45c1155223ddd586b2bad # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 26335ca814dd65c06ec364d4e8cfa3d69160f65a # timeout=10 Commit message: "feat!: Consume breaking changes from the core-contracts" First time build. Skipping changelog. [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 10:41:09 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 10:41:09 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 10:41:09 ========================================================= 10:41:09 EdgeX Global Pipelines Version Info 10:41:09 ========================================================= [Pipeline] libraryResource [Pipeline] sh 10:41:10 ------------------- 10:41:10 stable info: 10:41:10 ------------------- 10:41:10 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 10:41:10 Commit SHA: 66200e8eedfc470904d6b329e562ec5b45423d6a 10:41:10 Message: update stable to v1.0.245 10:41:10 ------------------- 10:41:10 experimental info: 10:41:10 ------------------- 10:41:10 Commited By: **** collab-it+edgex@linuxfoundation.org 10:41:10 Commit SHA: 046ad6d0e2e636d38ea4daf53c055316476b9501 10:41:10 Message: update experimental to v1.0.247 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 10:41:10 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-virtual-go-settings [Pipeline] echo 10:41:10 [edgeXSetupEnvironment]: set envvar PROJECT = device-virtual-go [Pipeline] echo 10:41:10 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 10:41:10 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 10:41:10 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 10:41:10 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.20 [Pipeline] echo 10:41:10 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 10:41:10 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 10:41:11 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 10:41:11 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 10:41:11 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 10:41:11 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-virtual [Pipeline] echo 10:41:11 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 10:41:11 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 10:41:11 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 10:41:11 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 10:41:11 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 10:41:11 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 10:41:11 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 10:41:11 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 10:41:11 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 10:41:11 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 10:41:11 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 10:41:11 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 10:41:11 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 10:41:11 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 10:41:11 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 10:41:11 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-374 [Pipeline] echo 10:41:11 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-374 [Pipeline] echo 10:41:11 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-374 [Pipeline] echo 10:41:11 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 26335ca814dd65c06ec364d4e8cfa3d69160f65a [Pipeline] echo 10:41:11 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 26335ca [Pipeline] echo 10:41:11 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 10:41:11 provisioning config files... 10:41:11 copy managed file [device-virtual-go-settings] to file:/w/workspace/foundry_device-virtual-go_PR-374@tmp/config14112602287131060174tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 10:41:11 ---> docker-login.sh 10:41:11 nexus3.edgexfoundry.org:10001 10:41:11 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 10:41:11 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 10:41:11 Configure a credential helper to remove this warning. See 10:41:11 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 10:41:11 10:41:11 Login Succeeded 10:41:11 nexus3.edgexfoundry.org:10002 10:41:12 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 10:41:12 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 10:41:12 Configure a credential helper to remove this warning. See 10:41:12 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 10:41:12 10:41:12 Login Succeeded 10:41:12 nexus3.edgexfoundry.org:10003 10:41:12 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 10:41:12 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 10:41:12 Configure a credential helper to remove this warning. See 10:41:12 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 10:41:12 10:41:12 Login Succeeded 10:41:12 nexus3.edgexfoundry.org:10004 10:41:12 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 10:41:12 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 10:41:12 Configure a credential helper to remove this warning. See 10:41:12 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 10:41:12 10:41:12 Login Succeeded 10:41:12 docker.io 10:41:12 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 10:41:12 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 10:41:12 Configure a credential helper to remove this warning. See 10:41:12 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 10:41:12 10:41:12 Login Succeeded 10:41:12 ---> docker-login.sh ends [Pipeline] } 10:41:12 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 10:41:13 + git rev-list -1 --merges 26335ca814dd65c06ec364d4e8cfa3d69160f65a~1..26335ca814dd65c06ec364d4e8cfa3d69160f65a [Pipeline] echo 10:41:13 -----------> git rev-list -1 --merges 26335ca814dd65c06ec364d4e8cfa3d69160f65a~1..26335ca814dd65c06ec364d4e8cfa3d69160f65a 26335ca814dd65c06ec364d4e8cfa3d69160f65a [false] [Pipeline] sh 10:41:13 + git log --format=format:%s -1 26335ca814dd65c06ec364d4e8cfa3d69160f65a [Pipeline] echo 10:41:13 ========================================================= 10:41:13 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 10:41:13 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 10:41:13 + git log --format=format:%s -1 26335ca814dd65c06ec364d4e8cfa3d69160f65a [Pipeline] echo 10:41:13 [semverPrep] GIT_COMMIT: 26335ca814dd65c06ec364d4e8cfa3d69160f65a, Commit Message: feat!: Consume breaking changes from the core-contracts [Pipeline] echo 10:41:13 [semverPrep] This is not a build commit. [Pipeline] sh 10:41:14 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 10:41:14 + grep -v github /etc/ssh/ssh_known_hosts 10:41:14 + [ -e /tmp/ssh_known_hosts ] 10:41:14 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 10:41:14 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 10:41:14 + sudo tee -a /etc/ssh/ssh_known_hosts 10:41:14 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 10:41:14 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 10:41:14 10:41:14 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 10:41:14 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 10:41:14 0.1.4: Pulling from edgex-devops/py-git-semver 10:41:14 b85a868b505f: Pulling fs layer 10:41:14 e2be974225ed: Pulling fs layer 10:41:14 339a4e72a1f5: Pulling fs layer 10:41:14 988bab9f4d93: Pulling fs layer 10:41:14 1469e6f7b9e6: Pulling fs layer 10:41:14 eaf3925da568: Pulling fs layer 10:41:14 bab4dde63d76: Pulling fs layer 10:41:14 bde34c3a00c8: Pulling fs layer 10:41:14 b352a97aabf1: Pulling fs layer 10:41:14 4872d77fe225: Pulling fs layer 10:41:14 5851b861e8e6: Pulling fs layer 10:41:14 bde34c3a00c8: Waiting 10:41:14 b352a97aabf1: Waiting 10:41:14 988bab9f4d93: Waiting 10:41:14 4872d77fe225: Waiting 10:41:14 5851b861e8e6: Waiting 10:41:14 1469e6f7b9e6: Waiting 10:41:14 eaf3925da568: Waiting 10:41:14 e2be974225ed: Download complete 10:41:14 988bab9f4d93: Verifying Checksum 10:41:14 988bab9f4d93: Download complete 10:41:15 1469e6f7b9e6: Verifying Checksum 10:41:15 1469e6f7b9e6: Download complete 10:41:15 eaf3925da568: Verifying Checksum 10:41:15 eaf3925da568: Download complete 10:41:15 339a4e72a1f5: Verifying Checksum 10:41:15 339a4e72a1f5: Download complete 10:41:15 bde34c3a00c8: Download complete 10:41:15 b352a97aabf1: Verifying Checksum 10:41:15 b352a97aabf1: Download complete 10:41:15 4872d77fe225: Verifying Checksum 10:41:15 4872d77fe225: Download complete 10:41:15 5851b861e8e6: Download complete 10:41:15 b85a868b505f: Verifying Checksum 10:41:15 b85a868b505f: Download complete 10:41:15 bab4dde63d76: Verifying Checksum 10:41:15 bab4dde63d76: Download complete 10:41:16 b85a868b505f: Pull complete 10:41:16 e2be974225ed: Pull complete 10:41:17 339a4e72a1f5: Pull complete 10:41:17 988bab9f4d93: Pull complete 10:41:17 1469e6f7b9e6: Pull complete 10:41:17 eaf3925da568: Pull complete 10:41:19 bab4dde63d76: Pull complete 10:41:19 bde34c3a00c8: Pull complete 10:41:19 b352a97aabf1: Pull complete 10:41:19 4872d77fe225: Pull complete 10:41:19 5851b861e8e6: Pull complete 10:41:19 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 10:41:19 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 10:41:19 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 10:41:19 prd-ubuntu20.04-docker-8c-8g-6460 does not seem to be running inside a container 10:41:19 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/foundry_device-virtual-go_PR-374 -v /w/workspace/foundry_device-virtual-go_PR-374:/w/workspace/foundry_device-virtual-go_PR-374:rw,z -v /w/workspace/foundry_device-virtual-go_PR-374@tmp:/w/workspace/foundry_device-virtual-go_PR-374@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 ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 10:41:21 $ docker top be6ff15020274516a233791dc3dfc5f5853fd5d28aca28a329b688b3c769c182 -eo pid,comm 10:41:21 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). 10:41:21 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 10:41:21 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 10:41:21 [ssh-agent] Looking for ssh-agent implementation... 10:41:21 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 10:41:21 $ docker exec be6ff15020274516a233791dc3dfc5f5853fd5d28aca28a329b688b3c769c182 ssh-agent 10:41:21 SSH_AUTH_SOCK=/tmp/ssh-iA04t7ycs3eh/agent.32 10:41:21 SSH_AGENT_PID=38 10:41:21 Running ssh-add (command line suppressed) 10:41:21 Identity added: /w/workspace/foundry_device-virtual-go_PR-374@tmp/private_key_13635307425376326666.key (/w/workspace/foundry_device-virtual-go_PR-374@tmp/private_key_13635307425376326666.key) 10:41:21 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 10:41:21 + git tag --points-at HEAD [Pipeline] } 10:41:21 $ docker exec --env ******** --env ******** be6ff15020274516a233791dc3dfc5f5853fd5d28aca28a329b688b3c769c182 ssh-agent -k 10:41:22 unset SSH_AUTH_SOCK; 10:41:22 unset SSH_AGENT_PID; 10:41:22 echo Agent pid 38 killed; 10:41:22 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 10:41:22 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 10:41:22 [ssh-agent] Looking for ssh-agent implementation... 10:41:22 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 10:41:22 $ docker exec be6ff15020274516a233791dc3dfc5f5853fd5d28aca28a329b688b3c769c182 ssh-agent 10:41:22 SSH_AUTH_SOCK=/tmp/ssh-LTTAFq4I4rtF/agent.70 10:41:22 SSH_AGENT_PID=76 10:41:22 Running ssh-add (command line suppressed) 10:41:22 Identity added: /w/workspace/foundry_device-virtual-go_PR-374@tmp/private_key_9644462769420887125.key (/w/workspace/foundry_device-virtual-go_PR-374@tmp/private_key_9644462769420887125.key) 10:41:22 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 10:41:22 + git semver init 10:41:22 2023-03-30 10:41:22,905 [run_init] DEBUG init version:0.0.0 force:False 10:41:22 2023-03-30 10:41:22,906 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/foundry_device-virtual-go_PR-374/.semver 10:41:22 2023-03-30 10:41:22,906 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-virtual-go.git /w/workspace/foundry_device-virtual-go_PR-374/.semver 10:41:22 2023-03-30 10:41:22,906 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-virtual-go.git', '/w/workspace/foundry_device-virtual-go_PR-374/.semver'], cwd=/w/workspace/foundry_device-virtual-go_PR-374, universal_newlines=False, shell=None, istream=None) 10:41:23 2023-03-30 10:41:23,875 [append_file] DEBUG append to file:/w/workspace/foundry_device-virtual-go_PR-374/.git/info/exclude 10:41:23 2023-03-30 10:41:23,876 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/foundry_device-virtual-go_PR-374/.semver/PR-374 with force:False 10:41:23 2023-03-30 10:41:23,876 [write_file] DEBUG write to file:/w/workspace/foundry_device-virtual-go_PR-374/.semver/PR-374 10:41:23 2023-03-30 10:41:23,880 [execute] INFO git cat-file --batch-check 10:41:23 2023-03-30 10:41:23,881 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/foundry_device-virtual-go_PR-374/.semver, universal_newlines=False, shell=None, istream=) 10:41:23 2023-03-30 10:41:23,887 [execute] INFO git cat-file --batch 10:41:23 2023-03-30 10:41:23,887 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/foundry_device-virtual-go_PR-374/.semver, universal_newlines=False, shell=None, istream=) 10:41:23 2023-03-30 10:41:23,892 [read_version] DEBUG read version from /w/workspace/foundry_device-virtual-go_PR-374/.semver/PR-374 10:41:23 0.0.0 [Pipeline] } 10:41:23 $ docker exec --env ******** --env ******** be6ff15020274516a233791dc3dfc5f5853fd5d28aca28a329b688b3c769c182 ssh-agent -k 10:41:24 unset SSH_AUTH_SOCK; 10:41:24 unset SSH_AGENT_PID; 10:41:24 echo Agent pid 76 killed; 10:41:24 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 10:41:24 + git semver [Pipeline] } 10:41:24 $ docker stop --time=1 be6ff15020274516a233791dc3dfc5f5853fd5d28aca28a329b688b3c769c182 10:41:25 $ docker rm -f --volumes be6ff15020274516a233791dc3dfc5f5853fd5d28aca28a329b688b3c769c182 [Pipeline] // withDockerContainer [Pipeline] sh 10:41:26 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 10:41:26 Stashed 1 file(s) [Pipeline] echo 10:41:26 [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 10:41:26 provisioning config files... 10:41:26 copy managed file [device-virtual-go-settings] to file:/w/workspace/foundry_device-virtual-go_PR-374@tmp/config10372563804216359267tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 10:41:26 ---> docker-login.sh 10:41:26 nexus3.edgexfoundry.org:10001 10:41:26 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 10:41:26 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 10:41:26 Configure a credential helper to remove this warning. See 10:41:26 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 10:41:26 10:41:26 Login Succeeded 10:41:26 nexus3.edgexfoundry.org:10002 10:41:26 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 10:41:26 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 10:41:26 Configure a credential helper to remove this warning. See 10:41:26 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 10:41:26 10:41:26 Login Succeeded 10:41:26 nexus3.edgexfoundry.org:10003 10:41:27 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 10:41:27 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 10:41:27 Configure a credential helper to remove this warning. See 10:41:27 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 10:41:27 10:41:27 Login Succeeded 10:41:27 nexus3.edgexfoundry.org:10004 10:41:27 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 10:41:27 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 10:41:27 Configure a credential helper to remove this warning. See 10:41:27 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 10:41:27 10:41:27 Login Succeeded 10:41:27 docker.io 10:41:27 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 10:41:27 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 10:41:27 Configure a credential helper to remove this warning. See 10:41:27 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 10:41:27 10:41:27 Login Succeeded 10:41:27 ---> docker-login.sh ends [Pipeline] } 10:41:27 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 10:41:27 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 10:41:27 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 10:41:27 ========================================================= 10:41:27 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine] 10:41:27 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 10:41:27 + 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 . 10:41:27 Sending build context to Docker daemon 23.54MB 10:41:27 Step 1/12 : ARG BASE=golang:1.20-alpine3.17 10:41:27 Step 2/12 : FROM ${BASE} AS builder 10:41:28 1.20-alpine: Pulling from edgex-devops/edgex-golang-base 10:41:28 63b65145d645: Pulling fs layer 10:41:28 a2d21d5440eb: Pulling fs layer 10:41:28 935e6c44a52c: Pulling fs layer 10:41:28 94cc34f8dd06: Pulling fs layer 10:41:28 30dea6a524f1: Pulling fs layer 10:41:28 a2aff8979fd8: Pulling fs layer 10:41:28 94cc34f8dd06: Waiting 10:41:28 30dea6a524f1: Waiting 10:41:28 6808be2612f2: Pulling fs layer 10:41:28 f25807f1079a: Pulling fs layer 10:41:28 a2aff8979fd8: Waiting 10:41:28 f25807f1079a: Waiting 10:41:28 a2d21d5440eb: Download complete 10:41:28 94cc34f8dd06: Verifying Checksum 10:41:28 94cc34f8dd06: Download complete 10:41:28 30dea6a524f1: Verifying Checksum 10:41:28 30dea6a524f1: Download complete 10:41:28 63b65145d645: Verifying Checksum 10:41:28 63b65145d645: Download complete 10:41:28 a2aff8979fd8: Verifying Checksum 10:41:28 a2aff8979fd8: Download complete 10:41:28 63b65145d645: Pull complete 10:41:28 a2d21d5440eb: Pull complete 10:41:28 f25807f1079a: Verifying Checksum 10:41:28 f25807f1079a: Download complete 10:41:28 935e6c44a52c: Verifying Checksum 10:41:28 935e6c44a52c: Download complete 10:41:28 6808be2612f2: Verifying Checksum 10:41:28 6808be2612f2: Download complete 10:41:32 935e6c44a52c: Pull complete 10:41:32 94cc34f8dd06: Pull complete 10:41:32 30dea6a524f1: Pull complete 10:41:32 a2aff8979fd8: Pull complete 10:41:34 6808be2612f2: Pull complete 10:41:35 f25807f1079a: Pull complete 10:41:35 Digest: sha256:106942793af8b5907f587008084bb0888cadbc76d86ebd37d4d3227fb0f1e438 10:41:35 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine 10:41:35 ---> 3b553350e43f 10:41:35 Step 3/12 : ARG ALPINE_PKG_BASE="make git openssh-client" 10:41:37 ---> Running in 778e822aba9c 10:41:37 Removing intermediate container 778e822aba9c 10:41:37 ---> d3b282e002e2 10:41:37 Step 4/12 : ARG ALPINE_PKG_EXTRA="" 10:41:37 ---> Running in 85f2c2954618 10:41:37 Removing intermediate container 85f2c2954618 10:41:37 ---> e6a822d39231 10:41:37 Step 5/12 : ARG ADD_BUILD_TAGS="" 10:41:37 ---> Running in 4b01516cf8e5 10:41:37 Removing intermediate container 4b01516cf8e5 10:41:37 ---> 6f1d13da5a9d 10:41:37 Step 6/12 : WORKDIR /device-virtual-go 10:41:37 ---> Running in ab3adc7c6a19 10:41:37 Removing intermediate container ab3adc7c6a19 10:41:37 ---> 4ee087cf785c 10:41:37 Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 10:41:37 ---> Running in 08191a3b33ad 10:41:38 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 10:41:38 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 10:41:38 (1/4) Installing openssh-keygen (9.1_p1-r2) 10:41:38 (2/4) Installing libedit (20221030.3.1-r0) 10:41:38 (3/4) Installing openssh-client-common (9.1_p1-r2) 10:41:38 (4/4) Installing openssh-client-default (9.1_p1-r2) 10:41:38 Executing busybox-1.35.0-r29.trigger 10:41:38 OK: 269 MiB in 57 packages 10:41:39 Removing intermediate container 08191a3b33ad 10:41:39 ---> 78ad409d86d1 10:41:39 Step 8/12 : COPY go.mod vendor* ./ 10:41:39 ---> feb75d19f3a1 10:41:39 Step 9/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 10:41:39 ---> Running in 2f6898213599 10:41:41 Still waiting to schedule task 10:41:41 All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline 10:42:11 Removing intermediate container 2f6898213599 10:42:11 ---> acc465d224ea 10:42:11 Step 10/12 : COPY . . 10:42:11 ---> cdf402c2d4a5 10:42:11 Step 11/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 10:42:11 ---> Running in eea3ab108e5a 10:42:11 Removing intermediate container eea3ab108e5a 10:42:11 ---> 787ca227dee4 10:42:11 Step 12/12 : RUN $MAKE 10:42:11 ---> Running in d36e9af671f7 10:42:11 noop 10:42:11 Removing intermediate container d36e9af671f7 10:42:11 ---> 8793ef764349 10:42:11 Successfully built 8793ef764349 10:42:11 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 10:42:11 + docker inspect -f . ci-base-image-x86_64 10:42:11 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 10:42:11 prd-ubuntu20.04-docker-8c-8g-6460 does not seem to be running inside a container 10:42:11 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/foundry_device-virtual-go_PR-374 -v /w/workspace/foundry_device-virtual-go_PR-374:/w/workspace/foundry_device-virtual-go_PR-374:rw,z -v /w/workspace/foundry_device-virtual-go_PR-374@tmp:/w/workspace/foundry_device-virtual-go_PR-374@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 ******** ci-base-image-x86_64 cat 10:42:12 $ docker top 31b378d44d68d99af76a22aade42cc5d4a2e09a9f6a9cc9b87558d31ef22d4e4 -eo pid,comm [Pipeline] { [Pipeline] sh 10:42:12 + go version 10:42:12 go version go1.20.2 linux/amd64 [Pipeline] } 10:42:12 $ docker stop --time=1 31b378d44d68d99af76a22aade42cc5d4a2e09a9f6a9cc9b87558d31ef22d4e4 10:42:13 $ docker rm -f --volumes 31b378d44d68d99af76a22aade42cc5d4a2e09a9f6a9cc9b87558d31ef22d4e4 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 10:42:14 + docker inspect -f . ci-base-image-x86_64 10:42:14 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 10:42:14 prd-ubuntu20.04-docker-8c-8g-6460 does not seem to be running inside a container 10:42:14 $ 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-374 -v /w/workspace/foundry_device-virtual-go_PR-374:/w/workspace/foundry_device-virtual-go_PR-374:rw,z -v /w/workspace/foundry_device-virtual-go_PR-374@tmp:/w/workspace/foundry_device-virtual-go_PR-374@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 ******** ci-base-image-x86_64 cat 10:42:14 $ docker top a5b67239712e570cd70b1dd2b25fe621121162523a3fc13758371fcaef656bdc -eo pid,comm [Pipeline] { [Pipeline] sh 10:42:15 + git config --global --add safe.directory /w/workspace/foundry_device-virtual-go_PR-374 [Pipeline] fileExists [Pipeline] sh 10:42:15 + make test 10:42:15 go test ./... -coverprofile=coverage.out 10:42:20 ? github.com/edgexfoundry/device-virtual-go [no test files] 10:42:30 ? github.com/edgexfoundry/device-virtual-go/cmd [no test files] 10:42:30 ok github.com/edgexfoundry/device-virtual-go/internal/driver 0.036s coverage: 61.8% of statements 10:42:37 go vet ./... 10:42:41 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 10:42:41 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 10:42:41 ./bin/test-attribution-txt.sh [Pipeline] echo 10:42:41 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 10:42:41 $ docker stop --time=1 a5b67239712e570cd70b1dd2b25fe621121162523a3fc13758371fcaef656bdc 10:42:43 $ docker rm -f --volumes a5b67239712e570cd70b1dd2b25fe621121162523a3fc13758371fcaef656bdc [Pipeline] // withDockerContainer [Pipeline] sh 10:42:44 + sudo chown -R jenkins:jenkins . [Pipeline] stash 10:42:44 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 10:42:44 + sudo chown -R jenkins:jenkins . [Pipeline] sh 10:42:45 + ls -al . 10:42:45 total 192 10:42:45 drwxrwxr-x 9 jenkins jenkins 4096 Mar 30 10:42 . 10:42:45 drwxrwxr-x 4 jenkins jenkins 4096 Mar 30 10:41 .. 10:42:45 drwxrwxr-x 8 jenkins jenkins 4096 Mar 30 10:41 .git 10:42:45 drwxrwxr-x 3 jenkins jenkins 4096 Mar 30 10:41 .github 10:42:45 -rw-rw-r-- 1 jenkins jenkins 337 Mar 30 10:41 .gitignore 10:42:45 -rw-rw-r-- 1 jenkins jenkins 41 Mar 30 10:41 .golangci.yml 10:42:45 drwxr-xr-x 3 jenkins jenkins 4096 Mar 30 10:41 .semver 10:42:45 -rw-rw-r-- 1 jenkins jenkins 8641 Mar 30 10:41 Attribution.txt 10:42:45 -rw-rw-r-- 1 jenkins jenkins 11367 Mar 30 10:41 CHANGELOG.md 10:42:45 -rw-rw-r-- 1 jenkins jenkins 1646 Mar 30 10:41 Dockerfile 10:42:45 -rw-rw-r-- 1 jenkins jenkins 677 Mar 30 10:41 GOVERNANCE.md 10:42:45 -rw-rw-r-- 1 jenkins jenkins 660 Mar 30 10:41 Jenkinsfile 10:42:45 -rw-rw-r-- 1 jenkins jenkins 11340 Mar 30 10:41 LICENSE 10:42:45 -rw-rw-r-- 1 jenkins jenkins 1696 Mar 30 10:41 Makefile 10:42:45 -rw-rw-r-- 1 jenkins jenkins 623 Mar 30 10:41 OWNERS.md 10:42:45 -rw-rw-r-- 1 jenkins jenkins 3578 Mar 30 10:41 README.md 10:42:45 -rw-rw-r-- 1 jenkins jenkins 5 Mar 30 10:41 VERSION 10:42:45 drwxrwxr-x 2 jenkins jenkins 4096 Mar 30 10:41 bin 10:42:45 drwxrwxr-x 3 jenkins jenkins 4096 Mar 30 10:41 cmd 10:42:45 -rw-r--r-- 1 jenkins jenkins 42456 Mar 30 10:42 coverage.out 10:42:45 -rw-rw-r-- 1 jenkins jenkins 3206 Mar 30 10:41 go.mod 10:42:45 -rw-rw-r-- 1 jenkins jenkins 30819 Mar 30 10:41 go.sum 10:42:45 drwxrwxr-x 3 jenkins jenkins 4096 Mar 30 10:41 internal 10:42:45 drwxrwxr-x 4 jenkins jenkins 4096 Mar 30 10:41 snap 10:42:45 -rw-rw-r-- 1 jenkins jenkins 235 Mar 30 10:41 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 10:42:45 + 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=26335ca814dd65c06ec364d4e8cfa3d69160f65a --label arch=amd64 --label version=0.0.0 . 10:42:45 Sending build context to Docker daemon 23.59MB 10:42:45 Step 1/25 : ARG BASE=golang:1.20-alpine3.17 10:42:45 Step 2/25 : FROM ${BASE} AS builder 10:42:45 ---> 8793ef764349 10:42:45 Step 3/25 : ARG ALPINE_PKG_BASE="make git openssh-client" 10:42:45 ---> Running in c4b14d52de0f 10:42:45 Removing intermediate container c4b14d52de0f 10:42:45 ---> 93086e262265 10:42:45 Step 4/25 : ARG ALPINE_PKG_EXTRA="" 10:42:45 ---> Running in 5bd6934dfc19 10:42:45 Removing intermediate container 5bd6934dfc19 10:42:45 ---> f83777958e14 10:42:45 Step 5/25 : ARG ADD_BUILD_TAGS="" 10:42:45 ---> Running in 4ca078cb6354 10:42:45 Removing intermediate container 4ca078cb6354 10:42:45 ---> 915298de2702 10:42:45 Step 6/25 : WORKDIR /device-virtual-go 10:42:45 ---> Running in dcfb214863c7 10:42:46 Removing intermediate container dcfb214863c7 10:42:46 ---> 03261b315042 10:42:46 Step 7/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 10:42:46 ---> Running in da442c685eda 10:42:46 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 10:42:46 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 10:42:46 OK: 269 MiB in 57 packages 10:42:47 Removing intermediate container da442c685eda 10:42:47 ---> 62fb6e93a0e6 10:42:47 Step 8/25 : COPY go.mod vendor* ./ 10:42:47 ---> e36268c2cafc 10:42:47 Step 9/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 10:42:47 ---> Running in fb66f6a3b5c8 10:42:48 Removing intermediate container fb66f6a3b5c8 10:42:48 ---> 586e79918489 10:42:48 Step 10/25 : COPY . . 10:42:48 ---> ee03fbe58751 10:42:48 Step 11/25 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 10:42:48 ---> Running in 5afde84955ce 10:42:49 Removing intermediate container 5afde84955ce 10:42:49 ---> b78a648f6a57 10:42:49 Step 12/25 : RUN $MAKE 10:42:49 ---> Running in f13334b20d98 10:42:49 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 10:43:11 Removing intermediate container f13334b20d98 10:43:11 ---> b25b58a4c38a 10:43:11 Step 13/25 : FROM alpine:3.17 10:43:11 3.17: Pulling from library/alpine 10:43:11 f56be85fc22e: Pulling fs layer 10:43:11 f56be85fc22e: Verifying Checksum 10:43:11 f56be85fc22e: Download complete 10:43:11 f56be85fc22e: Pull complete 10:43:11 Digest: sha256:124c7d2707904eea7431fffe91522a01e5a861a624ee31d03372cc1d138a3126 10:43:11 Status: Downloaded newer image for alpine:3.17 10:43:11 ---> 9ed4aefc74f6 10:43:11 Step 14/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2021: IOTech' 10:43:11 ---> Running in 325a8c6b7698 10:43:11 Removing intermediate container 325a8c6b7698 10:43:11 ---> 4e8fcde2ea64 10:43:11 Step 15/25 : RUN apk add --update --no-cache dumb-init 10:43:11 ---> Running in 8b55e22ee280 10:43:11 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 10:43:11 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 10:43:11 (1/1) Installing dumb-init (1.2.5-r2) 10:43:11 Executing busybox-1.35.0-r29.trigger 10:43:11 OK: 7 MiB in 16 packages 10:43:11 Removing intermediate container 8b55e22ee280 10:43:11 ---> 18ffbc213b93 10:43:11 Step 16/25 : WORKDIR / 10:43:11 ---> Running in 9625a1589bc7 10:43:11 Removing intermediate container 9625a1589bc7 10:43:11 ---> b6c4b83c1324 10:43:11 Step 17/25 : COPY --from=builder /device-virtual-go/Attribution.txt / 10:43:11 ---> e0c71e9bc5af 10:43:11 Step 18/25 : COPY --from=builder /device-virtual-go/LICENSE / 10:43:11 ---> 9e7c39e77abc 10:43:11 Step 19/25 : COPY --from=builder /device-virtual-go/cmd / 10:43:11 ---> e14baf17df39 10:43:11 Step 20/25 : EXPOSE 59900 10:43:11 ---> Running in 7eab92658d62 10:43:11 Removing intermediate container 7eab92658d62 10:43:11 ---> 2ebc0e5c4136 10:43:11 Step 21/25 : ENTRYPOINT ["/device-virtual"] 10:43:11 ---> Running in 107af4939107 10:43:11 Removing intermediate container 107af4939107 10:43:11 ---> 8c2edba77085 10:43:11 Step 22/25 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry"] 10:43:11 ---> Running in 4c18b57c66f3 10:43:11 Removing intermediate container 4c18b57c66f3 10:43:11 ---> dc8962d6159e 10:43:11 Step 23/25 : LABEL arch=amd64 10:43:11 ---> Running in 882305c1b832 10:43:11 Removing intermediate container 882305c1b832 10:43:11 ---> e49e32e1741b 10:43:11 Step 24/25 : LABEL git_sha=26335ca814dd65c06ec364d4e8cfa3d69160f65a 10:43:11 ---> Running in d9124613beb1 10:43:11 Removing intermediate container d9124613beb1 10:43:11 ---> d66d4e69387e 10:43:11 Step 25/25 : LABEL version=0.0.0 10:43:11 ---> Running in 5f221bc0edcf 10:43:11 Removing intermediate container 5f221bc0edcf 10:43:11 ---> f869a53198fe 10:43:11 [Warning] One or more build-args [ARCH] were not consumed 10:43:11 Successfully built f869a53198fe 10:43:11 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 10:43:11 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 10:43:11 10:43:11 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 10:43:12 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 10:43:12 latest: Pulling from edgex-lftools-log-publisher 10:43:12 5eb5b503b376: Pulling fs layer 10:43:12 5c69ac0246d0: Pulling fs layer 10:43:12 ec43610c2a17: Pulling fs layer 10:43:12 3a2ae6a8a46f: Pulling fs layer 10:43:12 33b1e0a273af: Pulling fs layer 10:43:12 5d3b04190fa2: Pulling fs layer 10:43:12 2f39f015ded8: Pulling fs layer 10:43:12 3a2ae6a8a46f: Waiting 10:43:12 33b1e0a273af: Waiting 10:43:12 5d3b04190fa2: Waiting 10:43:12 2f39f015ded8: Waiting 10:43:12 5c69ac0246d0: Verifying Checksum 10:43:12 5c69ac0246d0: Download complete 10:43:12 3a2ae6a8a46f: Verifying Checksum 10:43:12 3a2ae6a8a46f: Download complete 10:43:12 33b1e0a273af: Verifying Checksum 10:43:12 33b1e0a273af: Download complete 10:43:12 5d3b04190fa2: Verifying Checksum 10:43:12 5d3b04190fa2: Download complete 10:43:12 ec43610c2a17: Verifying Checksum 10:43:12 ec43610c2a17: Download complete 10:43:12 5eb5b503b376: Verifying Checksum 10:43:12 5eb5b503b376: Download complete 10:43:13 2f39f015ded8: Verifying Checksum 10:43:13 2f39f015ded8: Download complete 10:43:13 5eb5b503b376: Pull complete 10:43:13 5c69ac0246d0: Pull complete 10:43:14 ec43610c2a17: Pull complete 10:43:14 3a2ae6a8a46f: Pull complete 10:43:14 33b1e0a273af: Pull complete 10:43:14 5d3b04190fa2: Pull complete 10:43:18 Running on prd-ubuntu20.04-docker-arm64-4c-16g-6461 in /w/workspace/foundry_device-virtual-go_PR-374 [Pipeline] { [Pipeline] ws 10:43:18 Running in /w/workspace/device-virtual-go/2 [Pipeline] { [Pipeline] checkout 10:43:18 The recommended git tool is: git 10:43:19 2f39f015ded8: Pull complete 10:43:19 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 10:43:19 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 10:43:19 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 10:43:20 prd-ubuntu20.04-docker-8c-8g-6460 does not seem to be running inside a container 10:43:20 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/foundry_device-virtual-go_PR-374 -v /w/workspace/foundry_device-virtual-go_PR-374:/w/workspace/foundry_device-virtual-go_PR-374:rw,z -v /w/workspace/foundry_device-virtual-go_PR-374@tmp:/w/workspace/foundry_device-virtual-go_PR-374@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 10:43:22 $ docker top 68cc3e76909eca5a2be89ffd06aec456936e05057cabef39b4052979e9a7c932 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 10:43:22 ---> job-cost.sh 10:43:22 lf-activate-venv: SKIPPING 10:43:22 INFO: No Stack... 10:43:22 INFO: Retrieving Pricing Info for: v3-standard-8 10:43:23 INFO: Archiving Costs [Pipeline] sh 10:43:23 using credential edgex-jenkins-ssh 10:43:23 Cloning the remote Git repository 10:43:23 + cat /w/workspace/foundry_device-virtual-go_PR-374/archives/cost.csv 10:43:23 + cut -d, -f6 [Pipeline] lock 10:43:23 Trying to acquire lock on [jenkins-edgexfoundry-device-virtual-go-PR-374-2-stack-cost] 10:43:23 Resource [jenkins-edgexfoundry-device-virtual-go-PR-374-2-stack-cost] did not exist. Created. 10:43:23 Lock acquired on [jenkins-edgexfoundry-device-virtual-go-PR-374-2-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 10:43:24 + echo total: 0.2199999988079071 [Pipeline] stash 10:43:24 Stashed 1 file(s) [Pipeline] } 10:43:24 Lock released on resource [jenkins-edgexfoundry-device-virtual-go-PR-374-2-stack-cost] [Pipeline] // lock [Pipeline] } 10:43:24 $ docker stop --time=1 68cc3e76909eca5a2be89ffd06aec456936e05057cabef39b4052979e9a7c932 10:43:23 Cloning repository git@github.com:edgexfoundry/device-virtual-go.git 10:43:23 > git init /w/workspace/device-virtual-go/2 # timeout=10 10:43:23 Fetching upstream changes from git@github.com:edgexfoundry/device-virtual-go.git 10:43:23 > git --version # timeout=10 10:43:23 > git --version # 'git version 2.25.1' 10:43:23 using GIT_SSH to set credentials SSH Credentials for GitHub 10:43:24 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-virtual-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 10:43:25 $ docker rm -f --volumes 68cc3e76909eca5a2be89ffd06aec456936e05057cabef39b4052979e9a7c932 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 10:43:26 > git config remote.origin.url git@github.com:edgexfoundry/device-virtual-go.git # timeout=10 10:43:26 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 10:43:27 Merging remotes/origin/main commit b76ffb3f756266f027a45c1155223ddd586b2bad into PR head commit 26335ca814dd65c06ec364d4e8cfa3d69160f65a 10:43:27 Merge succeeded, producing 26335ca814dd65c06ec364d4e8cfa3d69160f65a 10:43:27 Checking out Revision 26335ca814dd65c06ec364d4e8cfa3d69160f65a (PR-374) 10:43:27 > git config remote.origin.url git@github.com:edgexfoundry/device-virtual-go.git # timeout=10 10:43:27 Fetching upstream changes from git@github.com:edgexfoundry/device-virtual-go.git 10:43:27 using GIT_SSH to set credentials SSH Credentials for GitHub 10:43:27 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-virtual-go.git +refs/pull/374/head:refs/remotes/origin/PR-374 +refs/heads/main:refs/remotes/origin/main # timeout=10 10:43:27 > git config core.sparsecheckout # timeout=10 10:43:27 > git checkout -f 26335ca814dd65c06ec364d4e8cfa3d69160f65a # timeout=10 10:43:27 > git remote # timeout=10 10:43:27 > git config --get remote.origin.url # timeout=10 10:43:27 using GIT_SSH to set credentials SSH Credentials for GitHub 10:43:27 > git merge b76ffb3f756266f027a45c1155223ddd586b2bad # timeout=10 10:43:27 > git rev-parse HEAD^{commit} # timeout=10 10:43:27 > git config core.sparsecheckout # timeout=10 10:43:27 > git checkout -f 26335ca814dd65c06ec364d4e8cfa3d69160f65a # timeout=10 10:43:31 Commit message: "feat!: Consume breaking changes from the core-contracts" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 10:43:32 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 10:43:32 % Total % Received % Xferd Average Speed Time Time Time Current 10:43:32 Dload Upload Total Spent Left Speed 10:43:32 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 103k 0 --:--:-- --:--:-- --:--:-- 104k [Pipeline] sh 10:43:33 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 10:43:33 + + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"}sudo /etc/docker/daemon.json tee 10:43:33 /etc/docker/daemon.new 10:43:33 { 10:43:33 "registry-mirrors": [ 10:43:33 "https://nexus3.edgexfoundry.org:10001" 10:43:33 ], 10:43:33 "bip": "10.250.0.254/24", 10:43:33 "hosts": [ 10:43:33 "tcp://0.0.0.0:5555", 10:43:33 "unix:///var/run/docker.sock" 10:43:33 ], 10:43:33 "mtu": 1458, 10:43:33 "selinux-enabled": true, 10:43:33 "seccomp-profile": "/etc/docker/seccomp.json" 10:43:33 } [Pipeline] sh 10:43:33 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 10:43:34 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 10:43:52 provisioning config files... 10:43:52 copy managed file [device-virtual-go-settings] to file:/w/workspace/device-virtual-go/2@tmp/config15503878734557558671tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 10:43:52 ---> docker-login.sh 10:43:52 nexus3.edgexfoundry.org:10001 10:43:53 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 10:43:53 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 10:43:53 Configure a credential helper to remove this warning. See 10:43:53 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 10:43:53 10:43:53 Login Succeeded 10:43:53 nexus3.edgexfoundry.org:10002 10:43:53 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 10:43:53 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 10:43:53 Configure a credential helper to remove this warning. See 10:43:53 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 10:43:53 10:43:53 Login Succeeded 10:43:53 nexus3.edgexfoundry.org:10003 10:43:54 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 10:43:54 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 10:43:54 Configure a credential helper to remove this warning. See 10:43:54 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 10:43:54 10:43:54 Login Succeeded 10:43:54 nexus3.edgexfoundry.org:10004 10:43:54 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 10:43:54 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 10:43:54 Configure a credential helper to remove this warning. See 10:43:54 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 10:43:54 10:43:54 Login Succeeded 10:43:54 docker.io 10:43:54 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 10:43:54 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 10:43:54 Configure a credential helper to remove this warning. See 10:43:54 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 10:43:54 10:43:54 Login Succeeded 10:43:54 ---> docker-login.sh ends [Pipeline] } 10:43:54 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 10:43:55 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 10:43:55 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 10:43:55 ========================================================= 10:43:55 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine] 10:43:55 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 10:43:55 + 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 . 10:43:55 Sending build context to Docker daemon 11.96MB 10:43:56 Step 1/12 : ARG BASE=golang:1.20-alpine3.17 10:43:56 Step 2/12 : FROM ${BASE} AS builder 10:43:56 1.20-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 10:43:56 af6eaf76a39c: Pulling fs layer 10:43:56 55522c791124: Pulling fs layer 10:43:56 ce5c4a1c91eb: Pulling fs layer 10:43:56 169dfbe0d373: Pulling fs layer 10:43:56 e1ff8fa3b103: Pulling fs layer 10:43:56 52ebb69f0ebf: Pulling fs layer 10:43:56 5abe8eddf0d5: Pulling fs layer 10:43:56 52ebb69f0ebf: Waiting 10:43:56 e1ff8fa3b103: Waiting 10:43:56 5abe8eddf0d5: Waiting 10:43:56 169dfbe0d373: Waiting 10:43:56 55522c791124: Verifying Checksum 10:43:56 169dfbe0d373: Verifying Checksum 10:43:56 169dfbe0d373: Download complete 10:43:56 e1ff8fa3b103: Download complete 10:43:56 af6eaf76a39c: Verifying Checksum 10:43:57 af6eaf76a39c: Pull complete 10:43:57 5abe8eddf0d5: Verifying Checksum 10:43:57 5abe8eddf0d5: Download complete 10:43:58 55522c791124: Pull complete 10:43:58 52ebb69f0ebf: Verifying Checksum 10:43:58 52ebb69f0ebf: Download complete 10:43:58 ce5c4a1c91eb: Verifying Checksum 10:43:58 ce5c4a1c91eb: Download complete 10:44:10 ce5c4a1c91eb: Pull complete 10:44:10 169dfbe0d373: Pull complete 10:44:10 e1ff8fa3b103: Pull complete 10:44:16 52ebb69f0ebf: Pull complete 10:44:17 5abe8eddf0d5: Pull complete 10:44:17 Digest: sha256:978cc1420e451f27bd88fdeece3ad01a9109ec773b62f165dfc696fd516b3d8f 10:44:17 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine 10:44:17 ---> 6cb57ee374ae 10:44:17 Step 3/12 : ARG ALPINE_PKG_BASE="make git openssh-client" 10:44:19 ---> Running in 9f243f426465 10:44:19 Removing intermediate container 9f243f426465 10:44:19 ---> 6703062d11f2 10:44:19 Step 4/12 : ARG ALPINE_PKG_EXTRA="" 10:44:20 ---> Running in 3fc5a88f02fa 10:44:20 Removing intermediate container 3fc5a88f02fa 10:44:20 ---> 507b10180f48 10:44:20 Step 5/12 : ARG ADD_BUILD_TAGS="" 10:44:20 ---> Running in 7b08019676aa 10:44:20 Removing intermediate container 7b08019676aa 10:44:20 ---> d81e79eb6200 10:44:20 Step 6/12 : WORKDIR /device-virtual-go 10:44:21 ---> Running in b50e0720f79b 10:44:21 Removing intermediate container b50e0720f79b 10:44:21 ---> 34869112424c 10:44:21 Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 10:44:21 ---> Running in d4854201704a 10:44:22 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 10:44:22 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 10:44:23 (1/4) Installing openssh-keygen (9.1_p1-r2) 10:44:23 (2/4) Installing libedit (20221030.3.1-r0) 10:44:23 (3/4) Installing openssh-client-common (9.1_p1-r2) 10:44:23 (4/4) Installing openssh-client-default (9.1_p1-r2) 10:44:24 Executing busybox-1.35.0-r29.trigger 10:44:24 OK: 268 MiB in 57 packages 10:44:25 Removing intermediate container d4854201704a 10:44:25 ---> 2d463fc00507 10:44:25 Step 8/12 : COPY go.mod vendor* ./ 10:44:25 ---> 8ce907fed032 10:44:25 Step 9/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 10:44:25 ---> Running in 12f86a4113da 10:45:33 Removing intermediate container 12f86a4113da 10:45:33 ---> 12943fbb3b40 10:45:33 Step 10/12 : COPY . . 10:45:33 ---> 2791bde87f1a 10:45:33 Step 11/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 10:45:33 ---> Running in 78475e3fd1e9 10:45:33 Removing intermediate container 78475e3fd1e9 10:45:33 ---> 56a831039192 10:45:33 Step 12/12 : RUN $MAKE 10:45:33 ---> Running in a8da6ae29b13 10:45:33 noop 10:45:33 Removing intermediate container a8da6ae29b13 10:45:33 ---> 8a1eef16fe90 10:45:33 Successfully built 8a1eef16fe90 10:45:33 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 10:45:33 + docker inspect -f . ci-base-image-arm64 10:45:33 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 10:45:34 prd-ubuntu20.04-docker-arm64-4c-16g-6461 does not seem to be running inside a container 10:45:34 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-virtual-go/2 -v /w/workspace/device-virtual-go/2:/w/workspace/device-virtual-go/2:rw,z -v /w/workspace/device-virtual-go/2@tmp:/w/workspace/device-virtual-go/2@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 10:45:35 $ docker top 4db9972e41268a1d1e5f29859ca07717a3469fc6fe3bfbfd9294cb961876642e -eo pid,comm [Pipeline] { [Pipeline] sh 10:45:36 + go version 10:45:36 go version go1.20.2 linux/arm64 [Pipeline] } 10:45:36 $ docker stop --time=1 4db9972e41268a1d1e5f29859ca07717a3469fc6fe3bfbfd9294cb961876642e 10:45:40 $ docker rm -f --volumes 4db9972e41268a1d1e5f29859ca07717a3469fc6fe3bfbfd9294cb961876642e [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 10:45:40 + docker inspect -f . ci-base-image-arm64 10:45:40 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 10:45:41 prd-ubuntu20.04-docker-arm64-4c-16g-6461 does not seem to be running inside a container 10:45:41 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/device-virtual-go/2 -v /w/workspace/device-virtual-go/2:/w/workspace/device-virtual-go/2:rw,z -v /w/workspace/device-virtual-go/2@tmp:/w/workspace/device-virtual-go/2@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 10:45:42 $ docker top 582b569334c537e5a28870302e7b726745920dfbcdbe3da4b54732792a03224b -eo pid,comm [Pipeline] { [Pipeline] sh 10:45:43 + git config --global --add safe.directory /w/workspace/device-virtual-go/2 [Pipeline] fileExists [Pipeline] sh 10:45:43 + make test 10:45:43 go test ./... -coverprofile=coverage.out 10:46:15 ? github.com/edgexfoundry/device-virtual-go [no test files] 10:48:07 ? github.com/edgexfoundry/device-virtual-go/cmd [no test files] 10:48:07 ok github.com/edgexfoundry/device-virtual-go/internal/driver 0.125s coverage: 62.4% of statements 10:48:07 WARNING: Linting skipped (not on x86_64 or linter not installed) 10:48:07 go vet ./... 10:48:34 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 10:48:34 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 10:48:34 ./bin/test-attribution-txt.sh [Pipeline] echo 10:48:34 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 10:48:34 $ docker stop --time=1 582b569334c537e5a28870302e7b726745920dfbcdbe3da4b54732792a03224b 10:48:36 $ docker rm -f --volumes 582b569334c537e5a28870302e7b726745920dfbcdbe3da4b54732792a03224b [Pipeline] // withDockerContainer [Pipeline] sh 10:48:38 + sudo chown -R jenkins:jenkins . [Pipeline] stash 10:48:38 Warning: overwriting stash ‘coverage-report’ 10:48:38 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 10:48:39 + sudo chown -R jenkins:jenkins . [Pipeline] sh 10:48:39 + ls -al . 10:48:39 total 188 10:48:39 drwxrwxr-x 8 jenkins jenkins 4096 Mar 30 10:45 . 10:48:39 drwxrwxr-x 4 jenkins jenkins 4096 Mar 30 10:43 .. 10:48:39 drwxrwxr-x 8 jenkins jenkins 4096 Mar 30 10:43 .git 10:48:39 drwxrwxr-x 3 jenkins jenkins 4096 Mar 30 10:43 .github 10:48:39 -rw-rw-r-- 1 jenkins jenkins 337 Mar 30 10:43 .gitignore 10:48:39 -rw-rw-r-- 1 jenkins jenkins 41 Mar 30 10:43 .golangci.yml 10:48:39 -rw-rw-r-- 1 jenkins jenkins 8641 Mar 30 10:43 Attribution.txt 10:48:39 -rw-rw-r-- 1 jenkins jenkins 11367 Mar 30 10:43 CHANGELOG.md 10:48:39 -rw-rw-r-- 1 jenkins jenkins 1646 Mar 30 10:43 Dockerfile 10:48:39 -rw-rw-r-- 1 jenkins jenkins 677 Mar 30 10:43 GOVERNANCE.md 10:48:39 -rw-rw-r-- 1 jenkins jenkins 660 Mar 30 10:43 Jenkinsfile 10:48:39 -rw-rw-r-- 1 jenkins jenkins 11340 Mar 30 10:43 LICENSE 10:48:39 -rw-rw-r-- 1 jenkins jenkins 1696 Mar 30 10:43 Makefile 10:48:39 -rw-rw-r-- 1 jenkins jenkins 623 Mar 30 10:43 OWNERS.md 10:48:39 -rw-rw-r-- 1 jenkins jenkins 3578 Mar 30 10:43 README.md 10:48:39 -rw-rw-r-- 1 jenkins jenkins 5 Mar 30 10:41 VERSION 10:48:39 drwxrwxr-x 2 jenkins jenkins 4096 Mar 30 10:43 bin 10:48:39 drwxrwxr-x 3 jenkins jenkins 4096 Mar 30 10:43 cmd 10:48:39 -rw-r--r-- 1 jenkins jenkins 42456 Mar 30 10:48 coverage.out 10:48:39 -rw-rw-r-- 1 jenkins jenkins 3206 Mar 30 10:43 go.mod 10:48:39 -rw-rw-r-- 1 jenkins jenkins 30819 Mar 30 10:43 go.sum 10:48:39 drwxrwxr-x 3 jenkins jenkins 4096 Mar 30 10:43 internal 10:48:39 drwxrwxr-x 4 jenkins jenkins 4096 Mar 30 10:43 snap 10:48:39 -rw-rw-r-- 1 jenkins jenkins 235 Mar 30 10:43 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 10:48:39 + 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=26335ca814dd65c06ec364d4e8cfa3d69160f65a --label arch=arm64 --label version=0.0.0 . 10:48:40 Sending build context to Docker daemon 12MB 10:48:40 Step 1/25 : ARG BASE=golang:1.20-alpine3.17 10:48:40 Step 2/25 : FROM ${BASE} AS builder 10:48:40 ---> 8a1eef16fe90 10:48:40 Step 3/25 : ARG ALPINE_PKG_BASE="make git openssh-client" 10:48:40 ---> Running in ad552af17984 10:48:41 Removing intermediate container ad552af17984 10:48:41 ---> 0e878294a361 10:48:41 Step 4/25 : ARG ALPINE_PKG_EXTRA="" 10:48:41 ---> Running in 9cb49bee67bf 10:48:41 Removing intermediate container 9cb49bee67bf 10:48:41 ---> 0e872b2bf116 10:48:41 Step 5/25 : ARG ADD_BUILD_TAGS="" 10:48:41 ---> Running in 3681a3751064 10:48:42 Removing intermediate container 3681a3751064 10:48:42 ---> ee86eb64d844 10:48:42 Step 6/25 : WORKDIR /device-virtual-go 10:48:42 ---> Running in a3e7e41548db 10:48:42 Removing intermediate container a3e7e41548db 10:48:42 ---> 36b10792ee3f 10:48:42 Step 7/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 10:48:43 ---> Running in 67cf63b31380 10:48:44 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 10:48:45 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 10:48:46 OK: 268 MiB in 57 packages 10:48:48 Removing intermediate container 67cf63b31380 10:48:48 ---> ba4e0a2e1188 10:48:48 Step 8/25 : COPY go.mod vendor* ./ 10:48:49 ---> 9800d6ab3875 10:48:49 Step 9/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 10:48:49 ---> Running in 7dd0369c88e5 10:48:52 Removing intermediate container 7dd0369c88e5 10:48:52 ---> 6bb1b65e715f 10:48:52 Step 10/25 : COPY . . 10:48:55 ---> 0e21dd836d25 10:48:55 Step 11/25 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 10:48:55 ---> Running in da7dc470afc1 10:48:55 Removing intermediate container da7dc470afc1 10:48:55 ---> 12d5089f34c7 10:48:55 Step 12/25 : RUN $MAKE 10:48:55 ---> Running in 0b5117a88bc7 10:48:56 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 10:51:03 Removing intermediate container 0b5117a88bc7 10:51:03 ---> 29af2646c1ab 10:51:03 Step 13/25 : FROM alpine:3.17 10:51:03 3.17: Pulling from library/alpine 10:51:03 c41833b44d91: Pulling fs layer 10:51:03 c41833b44d91: Verifying Checksum 10:51:03 c41833b44d91: Download complete 10:51:03 c41833b44d91: Pull complete 10:51:03 Digest: sha256:124c7d2707904eea7431fffe91522a01e5a861a624ee31d03372cc1d138a3126 10:51:03 Status: Downloaded newer image for alpine:3.17 10:51:03 ---> 51e60588ff2c 10:51:03 Step 14/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2021: IOTech' 10:51:04 ---> Running in db56475f644b 10:51:04 Removing intermediate container db56475f644b 10:51:04 ---> e5fc60613d71 10:51:04 Step 15/25 : RUN apk add --update --no-cache dumb-init 10:51:04 ---> Running in 3bc8e791421d 10:51:05 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 10:51:06 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 10:51:06 (1/1) Installing dumb-init (1.2.5-r2) 10:51:06 Executing busybox-1.35.0-r29.trigger 10:51:06 OK: 8 MiB in 16 packages 10:51:08 Removing intermediate container 3bc8e791421d 10:51:08 ---> 1bec832fded0 10:51:08 Step 16/25 : WORKDIR / 10:51:08 ---> Running in 878edaf2c97e 10:51:08 Removing intermediate container 878edaf2c97e 10:51:08 ---> f72fd39de1c3 10:51:08 Step 17/25 : COPY --from=builder /device-virtual-go/Attribution.txt / 10:51:09 ---> e282562273dc 10:51:09 Step 18/25 : COPY --from=builder /device-virtual-go/LICENSE / 10:51:10 ---> 7e493170445f 10:51:10 Step 19/25 : COPY --from=builder /device-virtual-go/cmd / 10:51:11 ---> 931afae3407d 10:51:11 Step 20/25 : EXPOSE 59900 10:51:11 ---> Running in 9c821ac6d59d 10:51:11 Removing intermediate container 9c821ac6d59d 10:51:11 ---> 31009d9bc9a3 10:51:11 Step 21/25 : ENTRYPOINT ["/device-virtual"] 10:51:11 ---> Running in d8b7f3f0f950 10:51:12 Removing intermediate container d8b7f3f0f950 10:51:12 ---> d376fde69a6d 10:51:12 Step 22/25 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry"] 10:51:12 ---> Running in 2afef2336145 10:51:12 Removing intermediate container 2afef2336145 10:51:12 ---> 18ffcdeada68 10:51:12 Step 23/25 : LABEL arch=arm64 10:51:12 ---> Running in 9ce3e26de06c 10:51:12 Removing intermediate container 9ce3e26de06c 10:51:12 ---> 512fc22f2f1f 10:51:12 Step 24/25 : LABEL git_sha=26335ca814dd65c06ec364d4e8cfa3d69160f65a 10:51:12 ---> Running in 5ee44aae570a 10:51:13 Removing intermediate container 5ee44aae570a 10:51:13 ---> 493024e3375e 10:51:13 Step 25/25 : LABEL version=0.0.0 10:51:13 ---> Running in 8b6b8feb6137 10:51:13 Removing intermediate container 8b6b8feb6137 10:51:13 ---> 600962358d69 10:51:13 [Warning] One or more build-args [ARCH] were not consumed 10:51:13 Successfully built 600962358d69 10:51: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 10:51:14 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 10:51:14 10:51:14 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 10:51:14 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 10:51:14 arm64: Pulling from edgex-lftools-log-publisher 10:51:14 8998bd30e6a1: Pulling fs layer 10:51:14 04944245beec: Pulling fs layer 10:51:14 699f458cf7ca: Pulling fs layer 10:51:14 765212b225bb: Pulling fs layer 10:51:14 f23df028b6ca: Pulling fs layer 10:51:14 d65c8cfc05b1: Pulling fs layer 10:51:14 2437ff75d9bd: Pulling fs layer 10:51:14 765212b225bb: Waiting 10:51:14 f23df028b6ca: Waiting 10:51:14 2437ff75d9bd: Waiting 10:51:14 d65c8cfc05b1: Waiting 10:51:14 04944245beec: Verifying Checksum 10:51:14 04944245beec: Download complete 10:51:14 765212b225bb: Verifying Checksum 10:51:14 765212b225bb: Download complete 10:51:14 f23df028b6ca: Verifying Checksum 10:51:14 f23df028b6ca: Download complete 10:51:14 d65c8cfc05b1: Verifying Checksum 10:51:14 d65c8cfc05b1: Download complete 10:51:15 699f458cf7ca: Verifying Checksum 10:51:15 699f458cf7ca: Download complete 10:51:15 8998bd30e6a1: Verifying Checksum 10:51:15 8998bd30e6a1: Download complete 10:51:17 2437ff75d9bd: Verifying Checksum 10:51:17 2437ff75d9bd: Download complete 10:51:19 8998bd30e6a1: Pull complete 10:51:21 04944245beec: Pull complete 10:51:22 699f458cf7ca: Pull complete 10:51:22 765212b225bb: Pull complete 10:51:23 f23df028b6ca: Pull complete 10:51:23 d65c8cfc05b1: Pull complete 10:51:38 2437ff75d9bd: Pull complete 10:51:38 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 10:51:38 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 10:51:38 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 10:51:38 prd-ubuntu20.04-docker-arm64-4c-16g-6461 does not seem to be running inside a container 10:51:38 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/device-virtual-go/2 -v /w/workspace/device-virtual-go/2:/w/workspace/device-virtual-go/2:rw,z -v /w/workspace/device-virtual-go/2@tmp:/w/workspace/device-virtual-go/2@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat 10:51:41 $ docker top 2ecf5595cb2d5da60eae8d9a11c2908a4d3038cc3ddb153305b0241e5b165e66 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 10:51:42 ---> job-cost.sh 10:51:42 lf-activate-venv: SKIPPING 10:51:42 INFO: No Stack... 10:51:42 INFO: Retrieving Pricing Info for: v3-standard-4 10:51:43 INFO: Archiving Costs [Pipeline] sh 10:51:43 + cat /w/workspace/device-virtual-go/2/archives/cost.csv 10:51:43 + cut -d, -f6 [Pipeline] lock 10:51:44 Trying to acquire lock on [jenkins-edgexfoundry-device-virtual-go-PR-374-2-stack-cost] 10:51:44 Resource [jenkins-edgexfoundry-device-virtual-go-PR-374-2-stack-cost] did not exist. Created. 10:51:44 Lock acquired on [jenkins-edgexfoundry-device-virtual-go-PR-374-2-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 10:51:44 /w/workspace/device-virtual-go/2@tmp/durable-a23a469d/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 10:51:45 + echo total: 0.10999999940395355 [Pipeline] stash 10:51:45 Warning: overwriting stash ‘stack-cost’ 10:51:45 Stashed 1 file(s) [Pipeline] } 10:51:45 Lock released on resource [jenkins-edgexfoundry-device-virtual-go-PR-374-2-stack-cost] [Pipeline] // lock [Pipeline] } 10:51:45 $ docker stop --time=1 2ecf5595cb2d5da60eae8d9a11c2908a4d3038cc3ddb153305b0241e5b165e66 10:51:47 $ docker rm -f --volumes 2ecf5595cb2d5da60eae8d9a11c2908a4d3038cc3ddb153305b0241e5b165e66 [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 10:51:47 provisioning config files... 10:51:47 copy managed file [device-virtual-go-codecov-token] to file:/w/workspace/foundry_device-virtual-go_PR-374@tmp/config13594082896005893080tmp [Pipeline] { [Pipeline] sh 10:51:48 + set +x 10:51:48 + curl -s https://codecov.io/bash 10:51:48 + bash -s -- 10:51:48 10:51:48 _____ _ 10:51:48 / ____| | | 10:51:48 | | ___ __| | ___ ___ _____ __ 10:51:48 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 10:51:48 | |___| (_) | (_| | __/ (_| (_) \ V / 10:51:48 \_____\___/ \__,_|\___|\___\___/ \_/ 10:51:48 Bash-1.0.6 10:51:48 10:51:48 10:51:48 ==> git version 2.25.1 found 10:51: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 10:51:48 Release-Date: 2020-01-08 10:51: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 10:51:48 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 10:51:48 ==> Jenkins CI detected. 10:51:48 current dir:  /w/workspace/foundry_device-virtual-go_PR-374 10:51:48 project root: . 10:51:48 --> token set from env 10:51:48 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 10:51:48 ==> Running gcov in . (disable via -X gcov) 10:51:48 ==> Python coveragepy not found 10:51:48 ==> Searching for coverage reports in: 10:51:48 + . 10:51:48 -> Found 1 reports 10:51:48 ==> Detecting git/mercurial file structure 10:51:48 ==> Reading reports 10:51:48 + ./coverage.out bytes=42456 10:51:48 ==> Appending adjustments 10:51:48 https://docs.codecov.io/docs/fixing-reports 10:51:48 + Found adjustments 10:51:48 ==> Gzipping contents 10:51:48 8.0K /tmp/codecov.VIEaZe.gz 10:51:48 ==> Uploading reports 10:51:48 url: https://codecov.io 10:51:48 query: branch=PR-374&commit=26335ca814dd65c06ec364d4e8cfa3d69160f65a&build=2&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-virtual-go%2Fjob%2FPR-374%2F2%2F&name=&tag=&slug=edgexfoundry%2Fdevice-virtual-go&service=jenkins&flags=&pr=374&job=&cmd_args= 10:51:48 -> Pinging Codecov 10:51:48 https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=a35e349c-7876-4d48-9269-e9fc36774240&branch=PR-374&commit=26335ca814dd65c06ec364d4e8cfa3d69160f65a&build=2&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-virtual-go%2Fjob%2FPR-374%2F2%2F&name=&tag=&slug=edgexfoundry%2Fdevice-virtual-go&service=jenkins&flags=&pr=374&job=&cmd_args= 10:51:48 -> Uploading to 10:51:48 https://storage.googleapis.com/codecov/v4/raw/2023-03-30/5E52B4B073DB2E39498172D8E973AA87/26335ca814dd65c06ec364d4e8cfa3d69160f65a/a0ffc465-86d7-4368-ab42-96e9a99f6a33.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20230330%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20230330T105148Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=c87271e8973292c0d8248cae2c6fd7429317a533eea8dcb114c425c72e75db06 10:51:48 % Total % Received % Xferd Average Speed Time Time Time Current 10:51:48 Dload Upload Total Spent Left Speed 10:51:48 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 5198 0 0 100 5198 0 23414 --:--:-- --:--:-- --:--:-- 23309 100 5198 0 0 100 5198 0 20464 --:--:-- --:--:-- --:--:-- 20384 10:51:48 -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-virtual-go/commit/26335ca814dd65c06ec364d4e8cfa3d69160f65a [Pipeline] } 10:51:48 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 10:51:49 + [ -d /w/workspace/foundry_device-virtual-go_PR-374/archives ] 10:51:49 + ls -al /w/workspace/foundry_device-virtual-go_PR-374/archives 10:51:49 total 16 10:51:49 drwxr-xr-x 3 root root 4096 Mar 30 10:43 . 10:51:49 drwxrwxr-x 10 jenkins jenkins 4096 Mar 30 10:43 .. 10:51:49 drwxr-xr-x 2 root root 4096 Mar 30 10:43 cost 10:51:49 -rw-r--r-- 1 root root 89 Mar 30 10:43 cost.csv 10:51:49 + sudo chown -R jenkins:jenkins /w/workspace/foundry_device-virtual-go_PR-374/archives 10:51:49 + ls -al /w/workspace/foundry_device-virtual-go_PR-374/archives 10:51:49 total 16 10:51:49 drwxr-xr-x 3 jenkins jenkins 4096 Mar 30 10:43 . 10:51:49 drwxrwxr-x 10 jenkins jenkins 4096 Mar 30 10:43 .. 10:51:49 drwxr-xr-x 2 jenkins jenkins 4096 Mar 30 10:43 cost 10:51:49 -rw-r--r-- 1 jenkins jenkins 89 Mar 30 10:43 cost.csv [Pipeline] libraryResource [Pipeline] sh 10:51:49 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 10:51:50 ---> package-listing.sh 10:51:50 ++ facter osfamily 10:51:50 ++ tr '[:upper:]' '[:lower:]' 10:51:50 + OS_FAMILY=debian 10:51:50 + workspace=/w/workspace/foundry_device-virtual-go_PR-374 10:51:50 + START_PACKAGES=/tmp/packages_start.txt 10:51:50 + END_PACKAGES=/tmp/packages_end.txt 10:51:50 + DIFF_PACKAGES=/tmp/packages_diff.txt 10:51:50 + PACKAGES=/tmp/packages_start.txt 10:51:50 + '[' /w/workspace/foundry_device-virtual-go_PR-374 ']' 10:51:50 + PACKAGES=/tmp/packages_end.txt 10:51:50 + case "${OS_FAMILY}" in 10:51:50 + dpkg -l 10:51:50 + grep '^ii' 10:51:50 + '[' -f /tmp/packages_start.txt ']' 10:51:50 + '[' -f /tmp/packages_end.txt ']' 10:51:50 + diff /tmp/packages_start.txt /tmp/packages_end.txt 10:51:50 + '[' /w/workspace/foundry_device-virtual-go_PR-374 ']' 10:51:50 + mkdir -p /w/workspace/foundry_device-virtual-go_PR-374/archives/ 10:51:50 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/foundry_device-virtual-go_PR-374/archives/ [Pipeline] echo 10:51:50 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-374/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 10:51:51 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 10:51:51 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 10:51:51 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 10:51:51 prd-ubuntu20.04-docker-8c-8g-6460 does not seem to be running inside a container 10:51:51 $ 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-374/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-374 -v /w/workspace/foundry_device-virtual-go_PR-374:/w/workspace/foundry_device-virtual-go_PR-374:rw,z -v /w/workspace/foundry_device-virtual-go_PR-374@tmp:/w/workspace/foundry_device-virtual-go_PR-374@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-lftools-log-publisher:latest cat 10:51:52 $ docker top 19e8ce00cb704a32f95354d8d9a7a57011f2e1148eb18d4d80032e1f31312d3e -eo pid,comm [Pipeline] { [Pipeline] sh 10:51:52 + touch /tmp/pre-build-complete [Pipeline] sh 10:51:52 + mkdir -p /var/log/sysstat [Pipeline] sh 10:51:52 + ls /var/log/sa-host 10:51:52 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 10:51:53 provisioning config files... 10:51:53 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/foundry_device-virtual-go_PR-374@tmp/config2880115136037961347tmp [Pipeline] { [Pipeline] echo 10:51:53 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 10:51:53 ---> create-netrc.sh [Pipeline] } 10:51:53 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 10:51:53 ---> python-tools-install.sh [Pipeline] echo 10:51:53 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 10:51:54 ---> sudo-logs.sh 10:51:54 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 10:51:54 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 10:51:54 ---> job-cost.sh 10:51:54 lf-activate-venv: SKIPPING 10:51:54 DEBUG: total: 0.2199999988079071 10:51:54 INFO: Retrieving Stack Cost... 10:51:54 INFO: Retrieving Pricing Info for: v3-standard-8 10:51:55 INFO: Archiving Costs [Pipeline] echo 10:51:55 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 10:51:55 ---> logs-deploy.sh 10:51:55 lf-activate-venv: SKIPPING 10:51:55 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-virtual-go/PR-374/2 10:51:55 INFO: archiving workspace using pattern(s): 10:51:56 Archives upload complete. 10:51:56 INFO: archiving logs to Nexus