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 0fb4799150e9700d43941260ba1b1cb6fbb6282a 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-ssh2401793990904297460.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-ssh11198582170335873590.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-ssh10066350322685535982.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-ssh2891442729020649038.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-ssh8008639080911132339.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision 65355178549468b165f8106641c96c3190b1d843 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 65355178549468b165f8106641c96c3190b1d843 # timeout=10 Commit message: "Fix: Add S3 URL in href to ship logs" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-virtual-go] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[ubuntu20.04-docker-8c-8g, ubuntu20.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-virtual-go-settings PROJECT: device-virtual-go USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.20 USE_ALPINE: true DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-virtual DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: false SWAGGER_API_FOLDERS: openapi/v1 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org SNYK_DEBUG: false [Pipeline] node Still waiting to schedule task All nodes of label ‘ubuntu20.04-docker-8c-8g’ are offline Running on prd-ubuntu20.04-docker-8c-8g-6528 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 0fb4799150e9700d43941260ba1b1cb6fbb6282a Merge succeeded, producing 0fb4799150e9700d43941260ba1b1cb6fbb6282a Checking out Revision 0fb4799150e9700d43941260ba1b1cb6fbb6282a (PR-374) > git config core.sparsecheckout # timeout=10 > git checkout -f 0fb4799150e9700d43941260ba1b1cb6fbb6282a # 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 0fb4799150e9700d43941260ba1b1cb6fbb6282a # timeout=10 Commit message: "feat: Allow min equal to max when generate random value" > git rev-list --no-walk d35a6d71fe87111dd6dc7ce2834c0e8400498827 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 04:55:13 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 04:55:13 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 04:55:13 ========================================================= 04:55:13 EdgeX Global Pipelines Version Info 04:55:13 ========================================================= [Pipeline] libraryResource [Pipeline] sh 04:55:14 ------------------- 04:55:14 stable info: 04:55:14 ------------------- 04:55:14 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 04:55:14 Commit SHA: 66200e8eedfc470904d6b329e562ec5b45423d6a 04:55:14 Message: update stable to v1.0.245 04:55:14 ------------------- 04:55:14 experimental info: 04:55:14 ------------------- 04:55:14 Commited By: **** collab-it+edgex@linuxfoundation.org 04:55:14 Commit SHA: 046ad6d0e2e636d38ea4daf53c055316476b9501 04:55:14 Message: update experimental to v1.0.247 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 04:55:15 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-virtual-go-settings [Pipeline] echo 04:55:15 [edgeXSetupEnvironment]: set envvar PROJECT = device-virtual-go [Pipeline] echo 04:55:15 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 04:55:15 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 04:55:15 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 04:55:15 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.20 [Pipeline] echo 04:55:15 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 04:55:15 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 04:55:15 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 04:55:15 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 04:55:15 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 04:55:15 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-virtual [Pipeline] echo 04:55:15 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 04:55:15 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 04:55:15 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 04:55:15 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 04:55:15 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 04:55:15 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 04:55:15 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 04:55:15 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 04:55:15 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 04:55:15 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 04:55:15 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 04:55:15 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 04:55:15 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 04:55:15 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 04:55:15 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 04:55:15 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-374 [Pipeline] echo 04:55:15 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-374 [Pipeline] echo 04:55:15 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-374 [Pipeline] echo 04:55:15 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 0fb4799150e9700d43941260ba1b1cb6fbb6282a [Pipeline] echo 04:55:15 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 0fb4799 [Pipeline] echo 04:55:15 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 04:55:15 provisioning config files... 04:55:15 copy managed file [device-virtual-go-settings] to file:/w/workspace/foundry_device-virtual-go_PR-374@tmp/config14421731281047853443tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 04:55:15 ---> docker-login.sh 04:55:15 nexus3.edgexfoundry.org:10001 04:55:16 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:55:16 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:55:16 Configure a credential helper to remove this warning. See 04:55:16 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:55:16 04:55:16 Login Succeeded 04:55:16 nexus3.edgexfoundry.org:10002 04:55:16 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:55:16 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:55:16 Configure a credential helper to remove this warning. See 04:55:16 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:55:16 04:55:16 Login Succeeded 04:55:16 nexus3.edgexfoundry.org:10003 04:55:16 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:55:16 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:55:16 Configure a credential helper to remove this warning. See 04:55:16 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:55:16 04:55:16 Login Succeeded 04:55:16 nexus3.edgexfoundry.org:10004 04:55:16 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:55:16 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:55:16 Configure a credential helper to remove this warning. See 04:55:16 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:55:16 04:55:16 Login Succeeded 04:55:16 docker.io 04:55:16 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:55:16 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:55:16 Configure a credential helper to remove this warning. See 04:55:16 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:55:16 04:55:16 Login Succeeded 04:55:16 ---> docker-login.sh ends [Pipeline] } 04:55:16 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 04:55:17 + git rev-list -1 --merges 0fb4799150e9700d43941260ba1b1cb6fbb6282a~1..0fb4799150e9700d43941260ba1b1cb6fbb6282a [Pipeline] echo 04:55:17 -----------> git rev-list -1 --merges 0fb4799150e9700d43941260ba1b1cb6fbb6282a~1..0fb4799150e9700d43941260ba1b1cb6fbb6282a 0fb4799150e9700d43941260ba1b1cb6fbb6282a [false] [Pipeline] sh 04:55:17 + git log --format=format:%s -1 0fb4799150e9700d43941260ba1b1cb6fbb6282a [Pipeline] echo 04:55:17 ========================================================= 04:55:17 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 04:55:17 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 04:55:17 + git log --format=format:%s -1 0fb4799150e9700d43941260ba1b1cb6fbb6282a [Pipeline] echo 04:55:17 [semverPrep] GIT_COMMIT: 0fb4799150e9700d43941260ba1b1cb6fbb6282a, Commit Message: feat: Allow min equal to max when generate random value [Pipeline] echo 04:55:17 [semverPrep] This is not a build commit. [Pipeline] sh 04:55:18 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 04:55:18 + grep -v github /etc/ssh/ssh_known_hosts 04:55:18 + [ -e /tmp/ssh_known_hosts ] 04:55:18 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 04:55:18 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 04:55:18 + sudo tee -a /etc/ssh/ssh_known_hosts 04:55:18 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:55:18 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 04:55:18 04:55:18 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:55:19 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 04:55:19 0.1.4: Pulling from edgex-devops/py-git-semver 04:55:19 b85a868b505f: Pulling fs layer 04:55:19 e2be974225ed: Pulling fs layer 04:55:19 339a4e72a1f5: Pulling fs layer 04:55:19 988bab9f4d93: Pulling fs layer 04:55:19 1469e6f7b9e6: Pulling fs layer 04:55:19 eaf3925da568: Pulling fs layer 04:55:19 bab4dde63d76: Pulling fs layer 04:55:19 bde34c3a00c8: Pulling fs layer 04:55:19 b352a97aabf1: Pulling fs layer 04:55:19 4872d77fe225: Pulling fs layer 04:55:19 5851b861e8e6: Pulling fs layer 04:55:19 1469e6f7b9e6: Waiting 04:55:19 eaf3925da568: Waiting 04:55:19 bab4dde63d76: Waiting 04:55:19 bde34c3a00c8: Waiting 04:55:19 b352a97aabf1: Waiting 04:55:19 4872d77fe225: Waiting 04:55:19 5851b861e8e6: Waiting 04:55:19 988bab9f4d93: Waiting 04:55:19 e2be974225ed: Download complete 04:55:19 988bab9f4d93: Download complete 04:55:19 1469e6f7b9e6: Verifying Checksum 04:55:19 1469e6f7b9e6: Download complete 04:55:19 eaf3925da568: Download complete 04:55:19 339a4e72a1f5: Verifying Checksum 04:55:19 339a4e72a1f5: Download complete 04:55:19 bde34c3a00c8: Download complete 04:55:19 b352a97aabf1: Download complete 04:55:19 4872d77fe225: Verifying Checksum 04:55:19 4872d77fe225: Download complete 04:55:19 5851b861e8e6: Verifying Checksum 04:55:19 5851b861e8e6: Download complete 04:55:19 b85a868b505f: Verifying Checksum 04:55:19 b85a868b505f: Download complete 04:55:19 bab4dde63d76: Verifying Checksum 04:55:19 bab4dde63d76: Download complete 04:55:20 b85a868b505f: Pull complete 04:55:20 e2be974225ed: Pull complete 04:55:21 339a4e72a1f5: Pull complete 04:55:21 988bab9f4d93: Pull complete 04:55:21 1469e6f7b9e6: Pull complete 04:55:21 eaf3925da568: Pull complete 04:55:23 bab4dde63d76: Pull complete 04:55:23 bde34c3a00c8: Pull complete 04:55:23 b352a97aabf1: Pull complete 04:55:23 4872d77fe225: Pull complete 04:55:23 5851b861e8e6: Pull complete 04:55:23 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 04:55:23 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 04:55:23 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 04:55:23 prd-ubuntu20.04-docker-8c-8g-6528 does not seem to be running inside a container 04:55:23 $ 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 ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 04:55:25 $ docker top b7ddf30c0b727f9c76e31424435e76fa6954a4e4a07ef809295a28bccb67fd81 -eo pid,comm 04:55:25 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). 04:55:25 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 04:55:25 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 04:55:25 [ssh-agent] Looking for ssh-agent implementation... 04:55:25 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 04:55:25 $ docker exec b7ddf30c0b727f9c76e31424435e76fa6954a4e4a07ef809295a28bccb67fd81 ssh-agent 04:55:25 SSH_AUTH_SOCK=/tmp/ssh-nEUlsPJpd7np/agent.32 04:55:25 SSH_AGENT_PID=38 04:55:25 Running ssh-add (command line suppressed) 04:55:25 Identity added: /w/workspace/foundry_device-virtual-go_PR-374@tmp/private_key_11651990560100007385.key (/w/workspace/foundry_device-virtual-go_PR-374@tmp/private_key_11651990560100007385.key) 04:55:25 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 04:55:25 + git tag --points-at HEAD [Pipeline] } 04:55:26 $ docker exec --env ******** --env ******** b7ddf30c0b727f9c76e31424435e76fa6954a4e4a07ef809295a28bccb67fd81 ssh-agent -k 04:55:26 unset SSH_AUTH_SOCK; 04:55:26 unset SSH_AGENT_PID; 04:55:26 echo Agent pid 38 killed; 04:55:26 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 04:55:26 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 04:55:26 [ssh-agent] Looking for ssh-agent implementation... 04:55:26 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 04:55:26 $ docker exec b7ddf30c0b727f9c76e31424435e76fa6954a4e4a07ef809295a28bccb67fd81 ssh-agent 04:55:26 SSH_AUTH_SOCK=/tmp/ssh-YHBEOd7KSBiG/agent.70 04:55:26 SSH_AGENT_PID=76 04:55:26 Running ssh-add (command line suppressed) 04:55:26 Identity added: /w/workspace/foundry_device-virtual-go_PR-374@tmp/private_key_1515085456871631454.key (/w/workspace/foundry_device-virtual-go_PR-374@tmp/private_key_1515085456871631454.key) 04:55:26 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 04:55:26 + git semver init 04:55:27 2023-03-31 04:55:26,957 [run_init] DEBUG init version:0.0.0 force:False 04:55:27 2023-03-31 04:55:26,958 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/foundry_device-virtual-go_PR-374/.semver 04:55:27 2023-03-31 04:55:26,958 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-virtual-go.git /w/workspace/foundry_device-virtual-go_PR-374/.semver 04:55:27 2023-03-31 04:55:26,958 [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) 04:55:28 2023-03-31 04:55:28,143 [append_file] DEBUG append to file:/w/workspace/foundry_device-virtual-go_PR-374/.git/info/exclude 04:55:28 2023-03-31 04:55:28,143 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/foundry_device-virtual-go_PR-374/.semver/PR-374 with force:False 04:55:28 2023-03-31 04:55:28,144 [write_file] DEBUG write to file:/w/workspace/foundry_device-virtual-go_PR-374/.semver/PR-374 04:55:28 2023-03-31 04:55:28,148 [execute] INFO git cat-file --batch-check 04:55:28 2023-03-31 04:55:28,148 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/foundry_device-virtual-go_PR-374/.semver, universal_newlines=False, shell=None, istream=) 04:55:28 2023-03-31 04:55:28,155 [execute] INFO git cat-file --batch 04:55:28 2023-03-31 04:55:28,155 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/foundry_device-virtual-go_PR-374/.semver, universal_newlines=False, shell=None, istream=) 04:55:28 2023-03-31 04:55:28,161 [read_version] DEBUG read version from /w/workspace/foundry_device-virtual-go_PR-374/.semver/PR-374 04:55:28 0.0.0 [Pipeline] } 04:55:28 $ docker exec --env ******** --env ******** b7ddf30c0b727f9c76e31424435e76fa6954a4e4a07ef809295a28bccb67fd81 ssh-agent -k 04:55:28 unset SSH_AUTH_SOCK; 04:55:28 unset SSH_AGENT_PID; 04:55:28 echo Agent pid 76 killed; 04:55:28 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 04:55:28 + git semver [Pipeline] } 04:55:29 $ docker stop --time=1 b7ddf30c0b727f9c76e31424435e76fa6954a4e4a07ef809295a28bccb67fd81 04:55:30 $ docker rm -f --volumes b7ddf30c0b727f9c76e31424435e76fa6954a4e4a07ef809295a28bccb67fd81 [Pipeline] // withDockerContainer [Pipeline] sh 04:55:30 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 04:55:30 Stashed 1 file(s) [Pipeline] echo 04:55:30 [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 04:55:31 provisioning config files... 04:55:31 copy managed file [device-virtual-go-settings] to file:/w/workspace/foundry_device-virtual-go_PR-374@tmp/config6814741458039435845tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 04:55:31 ---> docker-login.sh 04:55:31 nexus3.edgexfoundry.org:10001 04:55:31 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:55:31 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:55:31 Configure a credential helper to remove this warning. See 04:55:31 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:55:31 04:55:31 Login Succeeded 04:55:31 nexus3.edgexfoundry.org:10002 04:55:31 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:55:31 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:55:31 Configure a credential helper to remove this warning. See 04:55:31 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:55:31 04:55:31 Login Succeeded 04:55:31 nexus3.edgexfoundry.org:10003 04:55:31 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:55:31 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:55:31 Configure a credential helper to remove this warning. See 04:55:31 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:55:31 04:55:31 Login Succeeded 04:55:31 nexus3.edgexfoundry.org:10004 04:55:31 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:55:31 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:55:31 Configure a credential helper to remove this warning. See 04:55:31 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:55:31 04:55:31 Login Succeeded 04:55:31 docker.io 04:55:31 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:55:31 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:55:31 Configure a credential helper to remove this warning. See 04:55:31 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:55:31 04:55:31 Login Succeeded 04:55:32 ---> docker-login.sh ends [Pipeline] } 04:55:32 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 04:55:32 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 04:55:32 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 04:55:32 ========================================================= 04:55:32 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine] 04:55:32 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:55:32 + 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 . 04:55:32 Sending build context to Docker daemon 23.6MB 04:55:32 Step 1/12 : ARG BASE=golang:1.20-alpine3.17 04:55:32 Step 2/12 : FROM ${BASE} AS builder 04:55:32 1.20-alpine: Pulling from edgex-devops/edgex-golang-base 04:55:32 63b65145d645: Pulling fs layer 04:55:32 a2d21d5440eb: Pulling fs layer 04:55:32 935e6c44a52c: Pulling fs layer 04:55:32 94cc34f8dd06: Pulling fs layer 04:55:32 30dea6a524f1: Pulling fs layer 04:55:32 a2aff8979fd8: Pulling fs layer 04:55:32 6808be2612f2: Pulling fs layer 04:55:32 f25807f1079a: Pulling fs layer 04:55:32 94cc34f8dd06: Waiting 04:55:32 30dea6a524f1: Waiting 04:55:32 a2aff8979fd8: Waiting 04:55:32 6808be2612f2: Waiting 04:55:32 f25807f1079a: Waiting 04:55:32 a2d21d5440eb: Download complete 04:55:32 94cc34f8dd06: Download complete 04:55:32 63b65145d645: Verifying Checksum 04:55:32 63b65145d645: Download complete 04:55:32 a2aff8979fd8: Verifying Checksum 04:55:32 a2aff8979fd8: Download complete 04:55:33 63b65145d645: Pull complete 04:55:33 a2d21d5440eb: Pull complete 04:55:33 f25807f1079a: Verifying Checksum 04:55:33 f25807f1079a: Download complete 04:55:33 935e6c44a52c: Download complete 04:55:33 6808be2612f2: Verifying Checksum 04:55:33 6808be2612f2: Download complete 04:55:36 935e6c44a52c: Pull complete 04:55:37 94cc34f8dd06: Pull complete 04:55:37 30dea6a524f1: Pull complete 04:55:37 a2aff8979fd8: Pull complete 04:55:39 6808be2612f2: Pull complete 04:55:43 f25807f1079a: Pull complete 04:55:43 Digest: sha256:106942793af8b5907f587008084bb0888cadbc76d86ebd37d4d3227fb0f1e438 04:55:43 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine 04:55:43 ---> 3b553350e43f 04:55:43 Step 3/12 : ARG ALPINE_PKG_BASE="make git openssh-client" 04:55:44 ---> Running in 308c9610a40a 04:55:44 Removing intermediate container 308c9610a40a 04:55:44 ---> db55e467b9b8 04:55:44 Step 4/12 : ARG ALPINE_PKG_EXTRA="" 04:55:44 ---> Running in a9c45f3c1a75 04:55:44 Removing intermediate container a9c45f3c1a75 04:55:44 ---> e232bfef354e 04:55:44 Step 5/12 : ARG ADD_BUILD_TAGS="" 04:55:44 ---> Running in 1b7bc798fd9a 04:55:44 Removing intermediate container 1b7bc798fd9a 04:55:44 ---> 451836b56eb7 04:55:44 Step 6/12 : WORKDIR /device-virtual-go 04:55:45 ---> Running in 796cce19d66c 04:55:45 Removing intermediate container 796cce19d66c 04:55:45 ---> 9bb0778dfd4a 04:55:45 Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 04:55:45 ---> Running in 40ab3b57068e 04:55:45 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 04:55:45 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 04:55:45 (1/4) Installing openssh-keygen (9.1_p1-r2) 04:55:45 (2/4) Installing libedit (20221030.3.1-r0) 04:55:45 (3/4) Installing openssh-client-common (9.1_p1-r2) 04:55:45 (4/4) Installing openssh-client-default (9.1_p1-r2) 04:55:45 Executing busybox-1.35.0-r29.trigger 04:55:45 OK: 269 MiB in 57 packages 04:55:46 Still waiting to schedule task 04:55:46 All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline 04:55:46 Removing intermediate container 40ab3b57068e 04:55:46 ---> 1e2267a5bcc8 04:55:46 Step 8/12 : COPY go.mod vendor* ./ 04:55:46 ---> efee64ee38c2 04:55:46 Step 9/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 04:55:46 ---> Running in 727ad7762fe0 04:56:25 Removing intermediate container 727ad7762fe0 04:56:25 ---> 3cda1d5c2573 04:56:25 Step 10/12 : COPY . . 04:56:25 ---> e1f19fbd919b 04:56:25 Step 11/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 04:56:25 ---> Running in 2cd14a801740 04:56:25 Removing intermediate container 2cd14a801740 04:56:25 ---> 38740d5ad0b2 04:56:25 Step 12/12 : RUN $MAKE 04:56:25 ---> Running in 93391b018613 04:56:25 noop 04:56:25 Removing intermediate container 93391b018613 04:56:25 ---> 3881313f624c 04:56:25 Successfully built 3881313f624c 04:56:25 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:56:25 + docker inspect -f . ci-base-image-x86_64 04:56:25 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 04:56:25 prd-ubuntu20.04-docker-8c-8g-6528 does not seem to be running inside a container 04:56:25 $ 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 ******** -e ******** ci-base-image-x86_64 cat 04:56:25 $ docker top d456a1992425d36ae27a9e330f47c8e1e4e2226bb2549a9a8c618ea9c3b0a81f -eo pid,comm [Pipeline] { [Pipeline] sh 04:56:26 + go version 04:56:26 go version go1.20.2 linux/amd64 [Pipeline] } 04:56:26 $ docker stop --time=1 d456a1992425d36ae27a9e330f47c8e1e4e2226bb2549a9a8c618ea9c3b0a81f 04:56:27 $ docker rm -f --volumes d456a1992425d36ae27a9e330f47c8e1e4e2226bb2549a9a8c618ea9c3b0a81f [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:56:27 + docker inspect -f . ci-base-image-x86_64 04:56:27 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 04:56:27 prd-ubuntu20.04-docker-8c-8g-6528 does not seem to be running inside a container 04:56:28 $ 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 ******** -e ******** ci-base-image-x86_64 cat 04:56:28 $ docker top 6c425a63077f9cac0fe72bd52dc2092c3f4d0982394f209a15cada56feea59e6 -eo pid,comm [Pipeline] { [Pipeline] sh 04:56:28 + git config --global --add safe.directory /w/workspace/foundry_device-virtual-go_PR-374 [Pipeline] fileExists [Pipeline] sh 04:56:29 + make test 04:56:29 go test ./... -coverprofile=coverage.out 04:56:34 ? github.com/edgexfoundry/device-virtual-go [no test files] 04:56:44 ? github.com/edgexfoundry/device-virtual-go/cmd [no test files] 04:56:44 ok github.com/edgexfoundry/device-virtual-go/internal/driver 0.042s coverage: 59.5% of statements 04:56:50 go vet ./... 04:56:55 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 04:56:55 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 04:56:55 ./bin/test-attribution-txt.sh [Pipeline] echo 04:56:55 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 04:56:55 $ docker stop --time=1 6c425a63077f9cac0fe72bd52dc2092c3f4d0982394f209a15cada56feea59e6 04:56:57 $ docker rm -f --volumes 6c425a63077f9cac0fe72bd52dc2092c3f4d0982394f209a15cada56feea59e6 [Pipeline] // withDockerContainer [Pipeline] sh 04:56:57 + sudo chown -R jenkins:jenkins . [Pipeline] stash 04:56:57 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 04:56:58 + sudo chown -R jenkins:jenkins . [Pipeline] sh 04:56:58 + ls -al . 04:56:58 total 192 04:56:58 drwxrwxr-x 9 jenkins jenkins 4096 Mar 31 04:56 . 04:56:58 drwxrwxr-x 4 jenkins jenkins 4096 Mar 31 04:55 .. 04:56:58 drwxrwxr-x 8 jenkins jenkins 4096 Mar 31 04:55 .git 04:56:58 drwxrwxr-x 3 jenkins jenkins 4096 Mar 31 04:55 .github 04:56:58 -rw-rw-r-- 1 jenkins jenkins 337 Mar 31 04:55 .gitignore 04:56:58 -rw-rw-r-- 1 jenkins jenkins 41 Mar 31 04:55 .golangci.yml 04:56:58 drwxr-xr-x 3 jenkins jenkins 4096 Mar 31 04:55 .semver 04:56:58 -rw-rw-r-- 1 jenkins jenkins 8641 Mar 31 04:55 Attribution.txt 04:56:58 -rw-rw-r-- 1 jenkins jenkins 11367 Mar 31 04:55 CHANGELOG.md 04:56:58 -rw-rw-r-- 1 jenkins jenkins 1646 Mar 31 04:55 Dockerfile 04:56:58 -rw-rw-r-- 1 jenkins jenkins 677 Mar 31 04:55 GOVERNANCE.md 04:56:58 -rw-rw-r-- 1 jenkins jenkins 660 Mar 31 04:55 Jenkinsfile 04:56:58 -rw-rw-r-- 1 jenkins jenkins 11340 Mar 31 04:55 LICENSE 04:56:58 -rw-rw-r-- 1 jenkins jenkins 1696 Mar 31 04:55 Makefile 04:56:58 -rw-rw-r-- 1 jenkins jenkins 623 Mar 31 04:55 OWNERS.md 04:56:58 -rw-rw-r-- 1 jenkins jenkins 3578 Mar 31 04:55 README.md 04:56:58 -rw-rw-r-- 1 jenkins jenkins 5 Mar 31 04:55 VERSION 04:56:58 drwxrwxr-x 2 jenkins jenkins 4096 Mar 31 04:55 bin 04:56:58 drwxrwxr-x 3 jenkins jenkins 4096 Mar 31 04:55 cmd 04:56:58 -rw-r--r-- 1 jenkins jenkins 42791 Mar 31 04:56 coverage.out 04:56:58 -rw-rw-r-- 1 jenkins jenkins 3206 Mar 31 04:55 go.mod 04:56:58 -rw-rw-r-- 1 jenkins jenkins 30819 Mar 31 04:55 go.sum 04:56:58 drwxrwxr-x 3 jenkins jenkins 4096 Mar 31 04:55 internal 04:56:58 drwxrwxr-x 4 jenkins jenkins 4096 Mar 31 04:55 snap 04:56:58 -rw-rw-r-- 1 jenkins jenkins 235 Mar 31 04:55 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:56:58 + 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=0fb4799150e9700d43941260ba1b1cb6fbb6282a --label arch=amd64 --label version=0.0.0 . 04:56:58 Sending build context to Docker daemon 23.64MB 04:56:58 Step 1/25 : ARG BASE=golang:1.20-alpine3.17 04:56:58 Step 2/25 : FROM ${BASE} AS builder 04:56:58 ---> 3881313f624c 04:56:58 Step 3/25 : ARG ALPINE_PKG_BASE="make git openssh-client" 04:56:59 ---> Running in 3ae42f03724a 04:56:59 Removing intermediate container 3ae42f03724a 04:56:59 ---> a3b60c346a62 04:56:59 Step 4/25 : ARG ALPINE_PKG_EXTRA="" 04:56:59 ---> Running in b9a562e09bfd 04:56:59 Removing intermediate container b9a562e09bfd 04:56:59 ---> aece644097a6 04:56:59 Step 5/25 : ARG ADD_BUILD_TAGS="" 04:56:59 ---> Running in ac2e65579a4b 04:56:59 Removing intermediate container ac2e65579a4b 04:56:59 ---> 5253e18e1e73 04:56:59 Step 6/25 : WORKDIR /device-virtual-go 04:56:59 ---> Running in 0b273785e83e 04:56:59 Removing intermediate container 0b273785e83e 04:56:59 ---> 4b51ade4dbca 04:56:59 Step 7/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 04:56:59 ---> Running in 4364aa4cab65 04:56:59 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 04:57:00 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 04:57:00 OK: 269 MiB in 57 packages 04:57:00 Removing intermediate container 4364aa4cab65 04:57:00 ---> 8a819cc13e22 04:57:00 Step 8/25 : COPY go.mod vendor* ./ 04:57:00 ---> 5b685fddbf04 04:57:00 Step 9/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 04:57:00 ---> Running in c9e5c5c3ffb0 04:57:01 Removing intermediate container c9e5c5c3ffb0 04:57:01 ---> 3e88e0035b59 04:57:01 Step 10/25 : COPY . . 04:57:01 ---> 662011215217 04:57:01 Step 11/25 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 04:57:01 ---> Running in ee466a598aec 04:57:01 Removing intermediate container ee466a598aec 04:57:01 ---> 20525825aa7a 04:57:01 Step 12/25 : RUN $MAKE 04:57:02 ---> Running in 5cdfddc67b65 04:57:02 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 04:57:16 Running on prd-ubuntu20.04-docker-arm64-4c-16g-6529 in /w/workspace/foundry_device-virtual-go_PR-374 [Pipeline] { [Pipeline] ws 04:57:16 Running in /w/workspace/device-virtual-go/6 [Pipeline] { [Pipeline] checkout 04:57:17 The recommended git tool is: git 04:57:20 Removing intermediate container 5cdfddc67b65 04:57:20 ---> cc99ce8cf3cf 04:57:20 Step 13/25 : FROM alpine:3.17 04:57:20 3.17: Pulling from library/alpine 04:57:20 f56be85fc22e: Pulling fs layer 04:57:20 f56be85fc22e: Verifying Checksum 04:57:20 f56be85fc22e: Download complete 04:57:21 f56be85fc22e: Pull complete 04:57:21 Digest: sha256:124c7d2707904eea7431fffe91522a01e5a861a624ee31d03372cc1d138a3126 04:57:21 Status: Downloaded newer image for alpine:3.17 04:57:21 ---> 9ed4aefc74f6 04:57:21 Step 14/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2021: IOTech' 04:57:21 ---> Running in 05007be23536 04:57:21 Removing intermediate container 05007be23536 04:57:21 ---> 1f07ce213925 04:57:21 Step 15/25 : RUN apk add --update --no-cache dumb-init 04:57:21 ---> Running in b9cdf63d1c6d 04:57:21 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 04:57:21 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 04:57:21 using credential edgex-jenkins-ssh 04:57:21 Cloning the remote Git repository 04:57:21 (1/1) Installing dumb-init (1.2.5-r2) 04:57:21 Executing busybox-1.35.0-r29.trigger 04:57:21 OK: 7 MiB in 16 packages 04:57:21 Cloning repository git@github.com:edgexfoundry/device-virtual-go.git 04:57:22 Removing intermediate container b9cdf63d1c6d 04:57:22 ---> 3ebf9bd5804d 04:57:22 Step 16/25 : WORKDIR / 04:57:22 ---> Running in 94e09c711cce 04:57:22 Removing intermediate container 94e09c711cce 04:57:22 ---> 5fddbdcd8a12 04:57:22 Step 17/25 : COPY --from=builder /device-virtual-go/Attribution.txt / 04:57:22 ---> 07f31ec065b7 04:57:22 Step 18/25 : COPY --from=builder /device-virtual-go/LICENSE / 04:57:22 ---> 21157b738bba 04:57:22 Step 19/25 : COPY --from=builder /device-virtual-go/cmd / 04:57:21 > git init /w/workspace/device-virtual-go/6 # timeout=10 04:57:22 Fetching upstream changes from git@github.com:edgexfoundry/device-virtual-go.git 04:57:22 > git --version # timeout=10 04:57:22 > git --version # 'git version 2.25.1' 04:57:22 using GIT_SSH to set credentials SSH Credentials for GitHub 04:57:22 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-virtual-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 04:57:23 ---> 1f10f95b06fe 04:57:23 Step 20/25 : EXPOSE 59900 04:57:23 ---> Running in e10a08bd2948 04:57:23 Removing intermediate container e10a08bd2948 04:57:23 ---> c35e2ee49334 04:57:23 Step 21/25 : ENTRYPOINT ["/device-virtual"] 04:57:23 ---> Running in bcc35f8f3172 04:57:23 Removing intermediate container bcc35f8f3172 04:57:23 ---> 562633384e52 04:57:23 Step 22/25 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry"] 04:57:23 ---> Running in deefe9bf5a61 04:57:23 Removing intermediate container deefe9bf5a61 04:57:23 ---> 19a177f4ce34 04:57:23 Step 23/25 : LABEL arch=amd64 04:57:23 ---> Running in 5cec38310bc7 04:57:23 Removing intermediate container 5cec38310bc7 04:57:23 ---> 4c63a532a4a7 04:57:23 Step 24/25 : LABEL git_sha=0fb4799150e9700d43941260ba1b1cb6fbb6282a 04:57:23 ---> Running in fb3fd1261c37 04:57:23 Removing intermediate container fb3fd1261c37 04:57:23 ---> 64ac28b517f9 04:57:23 Step 25/25 : LABEL version=0.0.0 04:57:23 ---> Running in 13acb7c04ea5 04:57:23 Removing intermediate container 13acb7c04ea5 04:57:23 ---> a36cf838d2d4 04:57:23 [Warning] One or more build-args [ARCH] were not consumed 04:57:23 Successfully built a36cf838d2d4 04:57:24 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 04:57:24 > git config remote.origin.url git@github.com:edgexfoundry/device-virtual-go.git # timeout=10 04:57:24 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 04:57:24 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 04:57:24 04:57:24 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:57:24 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 04:57:24 latest: Pulling from edgex-lftools-log-publisher 04:57:24 5eb5b503b376: Pulling fs layer 04:57:24 5c69ac0246d0: Pulling fs layer 04:57:24 ec43610c2a17: Pulling fs layer 04:57:24 3a2ae6a8a46f: Pulling fs layer 04:57:24 33b1e0a273af: Pulling fs layer 04:57:24 3a2ae6a8a46f: Waiting 04:57:24 5d3b04190fa2: Pulling fs layer 04:57:24 33b1e0a273af: Waiting 04:57:24 2f39f015ded8: Pulling fs layer 04:57:24 2f39f015ded8: Waiting 04:57:24 5d3b04190fa2: Waiting 04:57:24 3a2ae6a8a46f: Verifying Checksum 04:57:24 3a2ae6a8a46f: Download complete 04:57:24 33b1e0a273af: Verifying Checksum 04:57:24 33b1e0a273af: Download complete 04:57:24 5d3b04190fa2: Verifying Checksum 04:57:24 5d3b04190fa2: Download complete 04:57:24 ec43610c2a17: Verifying Checksum 04:57:24 ec43610c2a17: Download complete 04:57:25 5eb5b503b376: Verifying Checksum 04:57:25 5eb5b503b376: Download complete 04:57:25 2f39f015ded8: Verifying Checksum 04:57:25 2f39f015ded8: Download complete 04:57:25 > git config remote.origin.url git@github.com:edgexfoundry/device-virtual-go.git # timeout=10 04:57:25 Fetching upstream changes from git@github.com:edgexfoundry/device-virtual-go.git 04:57:25 using GIT_SSH to set credentials SSH Credentials for GitHub 04:57:25 > 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 04:57:25 Merging remotes/origin/main commit b76ffb3f756266f027a45c1155223ddd586b2bad into PR head commit 0fb4799150e9700d43941260ba1b1cb6fbb6282a 04:57:26 Merge succeeded, producing 0fb4799150e9700d43941260ba1b1cb6fbb6282a 04:57:26 Checking out Revision 0fb4799150e9700d43941260ba1b1cb6fbb6282a (PR-374) 04:57:26 5eb5b503b376: Pull complete 04:57:26 5c69ac0246d0: Pull complete 04:57:26 ec43610c2a17: Pull complete 04:57:26 3a2ae6a8a46f: Pull complete 04:57:26 33b1e0a273af: Pull complete 04:57:25 > git config core.sparsecheckout # timeout=10 04:57:25 > git checkout -f 0fb4799150e9700d43941260ba1b1cb6fbb6282a # timeout=10 04:57:25 > git remote # timeout=10 04:57:25 > git config --get remote.origin.url # timeout=10 04:57:26 using GIT_SSH to set credentials SSH Credentials for GitHub 04:57:26 > git merge b76ffb3f756266f027a45c1155223ddd586b2bad # timeout=10 04:57:26 > git rev-parse HEAD^{commit} # timeout=10 04:57:26 > git config core.sparsecheckout # timeout=10 04:57:26 > git checkout -f 0fb4799150e9700d43941260ba1b1cb6fbb6282a # timeout=10 04:57:27 5d3b04190fa2: Pull complete 04:57:29 Commit message: "feat: Allow min equal to max when generate random value" 04:57:29 04:57:29 GitHub has been notified of this commit’s build result 04:57:29 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 04:57:30 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 04:57:30 % Total % Received % Xferd Average Speed Time Time Time Current 04:57:30 Dload Upload Total Spent Left Speed 04:57:30 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 104k 0 --:--:-- --:--:-- --:--:-- 104k [Pipeline] sh 04:57:31 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 04:57:31 + sudo tee /etc/docker/daemon.new 04:57:31 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 04:57:31 { 04:57:31 "registry-mirrors": [ 04:57:31 "https://nexus3.edgexfoundry.org:10001" 04:57:31 ], 04:57:31 "bip": "10.250.0.254/24", 04:57:31 "hosts": [ 04:57:31 "tcp://0.0.0.0:5555", 04:57:31 "unix:///var/run/docker.sock" 04:57:31 ], 04:57:31 "mtu": 1458, 04:57:31 "selinux-enabled": true, 04:57:31 "seccomp-profile": "/etc/docker/seccomp.json" 04:57:31 } [Pipeline] sh 04:57:31 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 04:57:32 + sudo service docker restart 04:57:32 2f39f015ded8: Pull complete 04:57:32 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 04:57:32 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 04:57:32 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 04:57:32 prd-ubuntu20.04-docker-8c-8g-6528 does not seem to be running inside a container 04:57:32 $ 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 ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 04:57:34 $ docker top 56321391f6d99ac51344abdf78b3bbe21fb650a6be7e28cf7b357da576f278e8 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 04:57:35 ---> job-cost.sh 04:57:35 lf-activate-venv: SKIPPING 04:57:35 INFO: No Stack... 04:57:35 INFO: Retrieving Pricing Info for: v3-standard-8 04:57:35 INFO: Archiving Costs [Pipeline] sh 04:57:36 + cat /w/workspace/foundry_device-virtual-go_PR-374/archives/cost.csv 04:57:36 + cut -d, -f6 [Pipeline] lock 04:57:36 Trying to acquire lock on [jenkins-edgexfoundry-device-virtual-go-PR-374-6-stack-cost] 04:57:36 Resource [jenkins-edgexfoundry-device-virtual-go-PR-374-6-stack-cost] did not exist. Created. 04:57:36 Lock acquired on [jenkins-edgexfoundry-device-virtual-go-PR-374-6-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 04:57:36 + echo total: 0.2199999988079071 [Pipeline] stash 04:57:36 Stashed 1 file(s) [Pipeline] } 04:57:36 Lock released on resource [jenkins-edgexfoundry-device-virtual-go-PR-374-6-stack-cost] [Pipeline] // lock [Pipeline] } 04:57:36 $ docker stop --time=1 56321391f6d99ac51344abdf78b3bbe21fb650a6be7e28cf7b357da576f278e8 04:57:37 $ docker rm -f --volumes 56321391f6d99ac51344abdf78b3bbe21fb650a6be7e28cf7b357da576f278e8 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 04:57:50 provisioning config files... 04:57:50 copy managed file [device-virtual-go-settings] to file:/w/workspace/device-virtual-go/6@tmp/config9497774164839152135tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 04:57:50 ---> docker-login.sh 04:57:50 nexus3.edgexfoundry.org:10001 04:57:51 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:57:51 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:57:51 Configure a credential helper to remove this warning. See 04:57:51 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:57:51 04:57:51 Login Succeeded 04:57:51 nexus3.edgexfoundry.org:10002 04:57:51 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:57:51 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:57:51 Configure a credential helper to remove this warning. See 04:57:51 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:57:51 04:57:51 Login Succeeded 04:57:51 nexus3.edgexfoundry.org:10003 04:57:51 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:57:52 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:57:52 Configure a credential helper to remove this warning. See 04:57:52 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:57:52 04:57:52 Login Succeeded 04:57:52 nexus3.edgexfoundry.org:10004 04:57:52 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:57:52 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:57:52 Configure a credential helper to remove this warning. See 04:57:52 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:57:52 04:57:52 Login Succeeded 04:57:52 docker.io 04:57:52 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:57:53 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:57:53 Configure a credential helper to remove this warning. See 04:57:53 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:57:53 04:57:53 Login Succeeded 04:57:53 ---> docker-login.sh ends [Pipeline] } 04:57:53 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 04:57:53 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 04:57:53 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 04:57:53 ========================================================= 04:57:53 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine] 04:57:53 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:57:53 + 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 . 04:57:54 Sending build context to Docker daemon 12MB 04:57:54 Step 1/12 : ARG BASE=golang:1.20-alpine3.17 04:57:54 Step 2/12 : FROM ${BASE} AS builder 04:57:54 1.20-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 04:57:54 af6eaf76a39c: Pulling fs layer 04:57:54 55522c791124: Pulling fs layer 04:57:54 ce5c4a1c91eb: Pulling fs layer 04:57:54 169dfbe0d373: Pulling fs layer 04:57:54 e1ff8fa3b103: Pulling fs layer 04:57:54 52ebb69f0ebf: Pulling fs layer 04:57:54 5abe8eddf0d5: Pulling fs layer 04:57:54 169dfbe0d373: Waiting 04:57:54 e1ff8fa3b103: Waiting 04:57:54 52ebb69f0ebf: Waiting 04:57:54 5abe8eddf0d5: Waiting 04:57:54 55522c791124: Verifying Checksum 04:57:54 55522c791124: Download complete 04:57:54 169dfbe0d373: Verifying Checksum 04:57:54 169dfbe0d373: Download complete 04:57:54 e1ff8fa3b103: Download complete 04:57:54 af6eaf76a39c: Verifying Checksum 04:57:54 af6eaf76a39c: Download complete 04:57:55 5abe8eddf0d5: Verifying Checksum 04:57:55 5abe8eddf0d5: Download complete 04:57:55 af6eaf76a39c: Pull complete 04:57:56 55522c791124: Pull complete 04:57:57 ce5c4a1c91eb: Download complete 04:57:57 52ebb69f0ebf: Verifying Checksum 04:57:57 52ebb69f0ebf: Download complete 04:58:09 ce5c4a1c91eb: Pull complete 04:58:09 169dfbe0d373: Pull complete 04:58:09 e1ff8fa3b103: Pull complete 04:58:16 52ebb69f0ebf: Pull complete 04:58:17 5abe8eddf0d5: Pull complete 04:58:17 Digest: sha256:978cc1420e451f27bd88fdeece3ad01a9109ec773b62f165dfc696fd516b3d8f 04:58:17 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine 04:58:17 ---> 6cb57ee374ae 04:58:17 Step 3/12 : ARG ALPINE_PKG_BASE="make git openssh-client" 04:58:19 ---> Running in f889e618dc4c 04:58:19 Removing intermediate container f889e618dc4c 04:58:19 ---> 8326fb0bebb0 04:58:19 Step 4/12 : ARG ALPINE_PKG_EXTRA="" 04:58:19 ---> Running in 03c03e288b90 04:58:19 Removing intermediate container 03c03e288b90 04:58:19 ---> a0a9b3a70db9 04:58:19 Step 5/12 : ARG ADD_BUILD_TAGS="" 04:58:19 ---> Running in 3fb786beb1e8 04:58:20 Removing intermediate container 3fb786beb1e8 04:58:20 ---> 5556dfd919df 04:58:20 Step 6/12 : WORKDIR /device-virtual-go 04:58:20 ---> Running in 088eeb6454c9 04:58:20 Removing intermediate container 088eeb6454c9 04:58:20 ---> 91da2ce2af26 04:58:20 Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 04:58:20 ---> Running in fd01707326d3 04:58:21 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 04:58:22 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 04:58:23 (1/4) Installing openssh-keygen (9.1_p1-r2) 04:58:23 (2/4) Installing libedit (20221030.3.1-r0) 04:58:23 (3/4) Installing openssh-client-common (9.1_p1-r2) 04:58:23 (4/4) Installing openssh-client-default (9.1_p1-r2) 04:58:23 Executing busybox-1.35.0-r29.trigger 04:58:23 OK: 268 MiB in 57 packages 04:58:24 Removing intermediate container fd01707326d3 04:58:24 ---> 9c411b763354 04:58:24 Step 8/12 : COPY go.mod vendor* ./ 04:58:24 ---> 3a8fa0849be6 04:58:24 Step 9/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 04:58:24 ---> Running in 1d8fc45ad80f 04:59:32 Removing intermediate container 1d8fc45ad80f 04:59:32 ---> e095e7a31253 04:59:32 Step 10/12 : COPY . . 04:59:32 ---> bda2d4c94bd4 04:59:32 Step 11/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 04:59:32 ---> Running in 9e7f8ff1d90b 04:59:32 Removing intermediate container 9e7f8ff1d90b 04:59:32 ---> b6b7800b3c86 04:59:32 Step 12/12 : RUN $MAKE 04:59:32 ---> Running in e55fc7df3b6e 04:59:32 noop 04:59:32 Removing intermediate container e55fc7df3b6e 04:59:32 ---> 62c83d957a2f 04:59:32 Successfully built 62c83d957a2f 04:59:32 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:59:33 + docker inspect -f . ci-base-image-arm64 04:59:33 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 04:59:33 prd-ubuntu20.04-docker-arm64-4c-16g-6529 does not seem to be running inside a container 04:59:33 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-virtual-go/6 -v /w/workspace/device-virtual-go/6:/w/workspace/device-virtual-go/6:rw,z -v /w/workspace/device-virtual-go/6@tmp:/w/workspace/device-virtual-go/6@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 04:59:34 $ docker top 1821a01932ea6b5f5bdb42c82bbee6e40b467526ef80c34c368871a79e654b09 -eo pid,comm [Pipeline] { [Pipeline] sh 04:59:35 + go version 04:59:35 go version go1.20.2 linux/arm64 [Pipeline] } 04:59:35 $ docker stop --time=1 1821a01932ea6b5f5bdb42c82bbee6e40b467526ef80c34c368871a79e654b09 04:59:37 $ docker rm -f --volumes 1821a01932ea6b5f5bdb42c82bbee6e40b467526ef80c34c368871a79e654b09 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:59:37 + docker inspect -f . ci-base-image-arm64 04:59:37 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 04:59:37 prd-ubuntu20.04-docker-arm64-4c-16g-6529 does not seem to be running inside a container 04:59:37 $ 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/6 -v /w/workspace/device-virtual-go/6:/w/workspace/device-virtual-go/6:rw,z -v /w/workspace/device-virtual-go/6@tmp:/w/workspace/device-virtual-go/6@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 04:59:39 $ docker top c33126d35899f75b434d465d1479f8bc26814d57c7971e25c088f78131ecb2fc -eo pid,comm [Pipeline] { [Pipeline] sh 04:59:39 + git config --global --add safe.directory /w/workspace/device-virtual-go/6 [Pipeline] fileExists [Pipeline] sh 04:59:40 + make test 04:59:40 go test ./... -coverprofile=coverage.out 05:00:12 ? github.com/edgexfoundry/device-virtual-go [no test files] 05:02:04 ? github.com/edgexfoundry/device-virtual-go/cmd [no test files] 05:02:04 ok github.com/edgexfoundry/device-virtual-go/internal/driver 0.162s coverage: 59.3% of statements 05:02:04 WARNING: Linting skipped (not on x86_64 or linter not installed) 05:02:04 go vet ./... 05:02:26 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 05:02:26 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 05:02:26 ./bin/test-attribution-txt.sh [Pipeline] echo 05:02:26 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 05:02:26 $ docker stop --time=1 c33126d35899f75b434d465d1479f8bc26814d57c7971e25c088f78131ecb2fc 05:02:28 $ docker rm -f --volumes c33126d35899f75b434d465d1479f8bc26814d57c7971e25c088f78131ecb2fc [Pipeline] // withDockerContainer [Pipeline] sh 05:02:29 + sudo chown -R jenkins:jenkins . [Pipeline] stash 05:02:29 Warning: overwriting stash ‘coverage-report’ 05:02:29 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 05:02:30 + sudo chown -R jenkins:jenkins . [Pipeline] sh 05:02:30 + ls -al . 05:02:30 total 188 05:02:30 drwxrwxr-x 8 jenkins jenkins 4096 Mar 31 04:59 . 05:02:30 drwxrwxr-x 4 jenkins jenkins 4096 Mar 31 04:57 .. 05:02:30 drwxrwxr-x 8 jenkins jenkins 4096 Mar 31 04:57 .git 05:02:30 drwxrwxr-x 3 jenkins jenkins 4096 Mar 31 04:57 .github 05:02:30 -rw-rw-r-- 1 jenkins jenkins 337 Mar 31 04:57 .gitignore 05:02:30 -rw-rw-r-- 1 jenkins jenkins 41 Mar 31 04:57 .golangci.yml 05:02:30 -rw-rw-r-- 1 jenkins jenkins 8641 Mar 31 04:57 Attribution.txt 05:02:30 -rw-rw-r-- 1 jenkins jenkins 11367 Mar 31 04:57 CHANGELOG.md 05:02:30 -rw-rw-r-- 1 jenkins jenkins 1646 Mar 31 04:57 Dockerfile 05:02:30 -rw-rw-r-- 1 jenkins jenkins 677 Mar 31 04:57 GOVERNANCE.md 05:02:30 -rw-rw-r-- 1 jenkins jenkins 660 Mar 31 04:57 Jenkinsfile 05:02:30 -rw-rw-r-- 1 jenkins jenkins 11340 Mar 31 04:57 LICENSE 05:02:30 -rw-rw-r-- 1 jenkins jenkins 1696 Mar 31 04:57 Makefile 05:02:30 -rw-rw-r-- 1 jenkins jenkins 623 Mar 31 04:57 OWNERS.md 05:02:30 -rw-rw-r-- 1 jenkins jenkins 3578 Mar 31 04:57 README.md 05:02:30 -rw-rw-r-- 1 jenkins jenkins 5 Mar 31 04:55 VERSION 05:02:30 drwxrwxr-x 2 jenkins jenkins 4096 Mar 31 04:57 bin 05:02:30 drwxrwxr-x 3 jenkins jenkins 4096 Mar 31 04:57 cmd 05:02:30 -rw-r--r-- 1 jenkins jenkins 42791 Mar 31 05:01 coverage.out 05:02:30 -rw-rw-r-- 1 jenkins jenkins 3206 Mar 31 04:57 go.mod 05:02:30 -rw-rw-r-- 1 jenkins jenkins 30819 Mar 31 04:57 go.sum 05:02:30 drwxrwxr-x 3 jenkins jenkins 4096 Mar 31 04:57 internal 05:02:30 drwxrwxr-x 4 jenkins jenkins 4096 Mar 31 04:57 snap 05:02:30 -rw-rw-r-- 1 jenkins jenkins 235 Mar 31 04:57 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:02:30 + 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=0fb4799150e9700d43941260ba1b1cb6fbb6282a --label arch=arm64 --label version=0.0.0 . 05:02:31 Sending build context to Docker daemon 12.04MB 05:02:31 Step 1/25 : ARG BASE=golang:1.20-alpine3.17 05:02:31 Step 2/25 : FROM ${BASE} AS builder 05:02:31 ---> 62c83d957a2f 05:02:31 Step 3/25 : ARG ALPINE_PKG_BASE="make git openssh-client" 05:02:32 ---> Running in 3f912b9490b3 05:02:32 Removing intermediate container 3f912b9490b3 05:02:32 ---> 2c4f465aed69 05:02:32 Step 4/25 : ARG ALPINE_PKG_EXTRA="" 05:02:32 ---> Running in 1e509f0387de 05:02:32 Removing intermediate container 1e509f0387de 05:02:32 ---> 91bc783136a8 05:02:32 Step 5/25 : ARG ADD_BUILD_TAGS="" 05:02:32 ---> Running in 7131dc14dfd6 05:02:33 Removing intermediate container 7131dc14dfd6 05:02:33 ---> 6b0f2fc98355 05:02:33 Step 6/25 : WORKDIR /device-virtual-go 05:02:33 ---> Running in 92437e817396 05:02:34 Removing intermediate container 92437e817396 05:02:34 ---> e0edcfd8ec27 05:02:34 Step 7/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 05:02:34 ---> Running in a31864ba69d5 05:02:35 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 05:02:36 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 05:02:37 OK: 268 MiB in 57 packages 05:02:39 Removing intermediate container a31864ba69d5 05:02:39 ---> b607ce81f07b 05:02:39 Step 8/25 : COPY go.mod vendor* ./ 05:02:41 ---> a5e5dcc501d0 05:02:41 Step 9/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 05:02:41 ---> Running in 1d14e867c557 05:02:44 Removing intermediate container 1d14e867c557 05:02:44 ---> 11c52911137c 05:02:44 Step 10/25 : COPY . . 05:02:45 ---> c2eb523651ed 05:02:45 Step 11/25 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 05:02:45 ---> Running in 4caca83b2502 05:02:45 Removing intermediate container 4caca83b2502 05:02:45 ---> 7630da351cef 05:02:45 Step 12/25 : RUN $MAKE 05:02:45 ---> Running in 028f986319d8 05:02:46 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 05:04:53 Removing intermediate container 028f986319d8 05:04:53 ---> 12598698645f 05:04:53 Step 13/25 : FROM alpine:3.17 05:04:53 3.17: Pulling from library/alpine 05:04:53 c41833b44d91: Pulling fs layer 05:04:53 c41833b44d91: Verifying Checksum 05:04:53 c41833b44d91: Download complete 05:04:53 c41833b44d91: Pull complete 05:04:53 Digest: sha256:124c7d2707904eea7431fffe91522a01e5a861a624ee31d03372cc1d138a3126 05:04:53 Status: Downloaded newer image for alpine:3.17 05:04:53 ---> 51e60588ff2c 05:04:53 Step 14/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2021: IOTech' 05:04:53 ---> Running in 23d153eafda9 05:04:53 Removing intermediate container 23d153eafda9 05:04:53 ---> bea9618b1c00 05:04:53 Step 15/25 : RUN apk add --update --no-cache dumb-init 05:04:53 ---> Running in 8f51def4c0f7 05:04:53 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 05:04:53 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 05:04:53 (1/1) Installing dumb-init (1.2.5-r2) 05:04:53 Executing busybox-1.35.0-r29.trigger 05:04:53 OK: 8 MiB in 16 packages 05:04:53 Removing intermediate container 8f51def4c0f7 05:04:53 ---> 059f8ff1c594 05:04:53 Step 16/25 : WORKDIR / 05:04:53 ---> Running in 90b2295d82a8 05:04:53 Removing intermediate container 90b2295d82a8 05:04:53 ---> c5f7b23923ab 05:04:53 Step 17/25 : COPY --from=builder /device-virtual-go/Attribution.txt / 05:04:53 ---> 4847f1303448 05:04:53 Step 18/25 : COPY --from=builder /device-virtual-go/LICENSE / 05:04:53 ---> 2ae072266d71 05:04:53 Step 19/25 : COPY --from=builder /device-virtual-go/cmd / 05:04:53 ---> ef7436a260ff 05:04:53 Step 20/25 : EXPOSE 59900 05:04:53 ---> Running in 080a3db1fb17 05:04:54 Removing intermediate container 080a3db1fb17 05:04:54 ---> 08142c631562 05:04:54 Step 21/25 : ENTRYPOINT ["/device-virtual"] 05:04:54 ---> Running in 57b8bf8df0b9 05:04:54 Removing intermediate container 57b8bf8df0b9 05:04:54 ---> 6eadb91eaa8b 05:04:54 Step 22/25 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry"] 05:04:54 ---> Running in 74f7764e2852 05:04:54 Removing intermediate container 74f7764e2852 05:04:54 ---> df779beb57f9 05:04:54 Step 23/25 : LABEL arch=arm64 05:04:54 ---> Running in 2e3cad108cbb 05:04:55 Removing intermediate container 2e3cad108cbb 05:04:55 ---> cc3e16d3da2c 05:04:55 Step 24/25 : LABEL git_sha=0fb4799150e9700d43941260ba1b1cb6fbb6282a 05:04:55 ---> Running in 1c77e968442d 05:04:55 Removing intermediate container 1c77e968442d 05:04:55 ---> 6da8b6cfb257 05:04:55 Step 25/25 : LABEL version=0.0.0 05:04:55 ---> Running in d45e8650e4a7 05:04:56 Removing intermediate container d45e8650e4a7 05:04:56 ---> 4555c0eeb85d 05:04:56 [Warning] One or more build-args [ARCH] were not consumed 05:04:56 Successfully built 4555c0eeb85d 05:04:56 Successfully tagged device-virtual-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:04:56 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 05:04:56 05:04:56 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:04:56 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 05:04:56 arm64: Pulling from edgex-lftools-log-publisher 05:04:56 8998bd30e6a1: Pulling fs layer 05:04:56 04944245beec: Pulling fs layer 05:04:56 699f458cf7ca: Pulling fs layer 05:04:56 765212b225bb: Pulling fs layer 05:04:56 f23df028b6ca: Pulling fs layer 05:04:56 d65c8cfc05b1: Pulling fs layer 05:04:56 2437ff75d9bd: Pulling fs layer 05:04:56 f23df028b6ca: Waiting 05:04:56 d65c8cfc05b1: Waiting 05:04:56 765212b225bb: Waiting 05:04:56 2437ff75d9bd: Waiting 05:04:57 04944245beec: Download complete 05:04:57 765212b225bb: Verifying Checksum 05:04:57 765212b225bb: Download complete 05:04:57 f23df028b6ca: Verifying Checksum 05:04:57 f23df028b6ca: Download complete 05:04:57 d65c8cfc05b1: Verifying Checksum 05:04:57 d65c8cfc05b1: Download complete 05:04:57 699f458cf7ca: Verifying Checksum 05:04:57 699f458cf7ca: Download complete 05:04:57 8998bd30e6a1: Verifying Checksum 05:04:57 8998bd30e6a1: Download complete 05:05:00 2437ff75d9bd: Verifying Checksum 05:05:00 2437ff75d9bd: Download complete 05:05:01 8998bd30e6a1: Pull complete 05:05:02 04944245beec: Pull complete 05:05:03 699f458cf7ca: Pull complete 05:05:03 765212b225bb: Pull complete 05:05:05 f23df028b6ca: Pull complete 05:05:05 d65c8cfc05b1: Pull complete 05:05:20 2437ff75d9bd: Pull complete 05:05:20 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 05:05:20 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 05:05:20 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 05:05:20 prd-ubuntu20.04-docker-arm64-4c-16g-6529 does not seem to be running inside a container 05:05:20 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/device-virtual-go/6 -v /w/workspace/device-virtual-go/6:/w/workspace/device-virtual-go/6:rw,z -v /w/workspace/device-virtual-go/6@tmp:/w/workspace/device-virtual-go/6@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat 05:05:23 $ docker top fb04b9dae42c4cee76f44792c81575e237601effb2c406c9ef5a734da04150df -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 05:05:24 ---> job-cost.sh 05:05:24 lf-activate-venv: SKIPPING 05:05:24 INFO: No Stack... 05:05:24 INFO: Retrieving Pricing Info for: v3-standard-4 05:05:25 INFO: Archiving Costs [Pipeline] sh 05:05:25 + cat /w/workspace/device-virtual-go/6/archives/cost.csv 05:05:25 + cut -d, -f6 [Pipeline] lock 05:05:26 Trying to acquire lock on [jenkins-edgexfoundry-device-virtual-go-PR-374-6-stack-cost] 05:05:26 Resource [jenkins-edgexfoundry-device-virtual-go-PR-374-6-stack-cost] did not exist. Created. 05:05:26 Lock acquired on [jenkins-edgexfoundry-device-virtual-go-PR-374-6-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 05:05:26 /w/workspace/device-virtual-go/6@tmp/durable-238bfa74/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 05:05:27 + echo total: 0.10999999940395355 [Pipeline] stash 05:05:27 Warning: overwriting stash ‘stack-cost’ 05:05:27 Stashed 1 file(s) [Pipeline] } 05:05:27 Lock released on resource [jenkins-edgexfoundry-device-virtual-go-PR-374-6-stack-cost] [Pipeline] // lock [Pipeline] } 05:05:27 $ docker stop --time=1 fb04b9dae42c4cee76f44792c81575e237601effb2c406c9ef5a734da04150df 05:05:28 $ docker rm -f --volumes fb04b9dae42c4cee76f44792c81575e237601effb2c406c9ef5a734da04150df [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 05:05:29 provisioning config files... 05:05:29 copy managed file [device-virtual-go-codecov-token] to file:/w/workspace/foundry_device-virtual-go_PR-374@tmp/config8949775010905208245tmp [Pipeline] { [Pipeline] sh 05:05:29 + set +x 05:05:29 + curl -s https://codecov.io/bash 05:05:29 + bash -s -- 05:05:29 05:05:29 _____ _ 05:05:29 / ____| | | 05:05:29 | | ___ __| | ___ ___ _____ __ 05:05:29 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 05:05:29 | |___| (_) | (_| | __/ (_| (_) \ V / 05:05:29 \_____\___/ \__,_|\___|\___\___/ \_/ 05:05:29 Bash-1.0.6 05:05:29 05:05:29 05:05:29 ==> git version 2.25.1 found 05:05:29 ==> curl 7.68.0 (x86_64-pc-linux-gnu) libcurl/7.68.0 OpenSSL/1.1.1f zlib/1.2.11 brotli/1.0.7 libidn2/2.2.0 libpsl/0.21.0 (+libidn2/2.2.0) libssh/0.9.3/openssl/zlib nghttp2/1.40.0 librtmp/2.3 05:05:29 Release-Date: 2020-01-08 05:05:29 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 05:05:29 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 05:05:29 ==> Jenkins CI detected. 05:05:29 current dir:  /w/workspace/foundry_device-virtual-go_PR-374 05:05:29 project root: . 05:05:29 --> token set from env 05:05:29 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 05:05:29 ==> Running gcov in . (disable via -X gcov) 05:05:29 ==> Python coveragepy not found 05:05:29 ==> Searching for coverage reports in: 05:05:29 + . 05:05:29 -> Found 1 reports 05:05:29 ==> Detecting git/mercurial file structure 05:05:29 ==> Reading reports 05:05:29 + ./coverage.out bytes=42791 05:05:29 ==> Appending adjustments 05:05:29 https://docs.codecov.io/docs/fixing-reports 05:05:29 + Found adjustments 05:05:29 ==> Gzipping contents 05:05:29 8.0K /tmp/codecov.w4cQ4m.gz 05:05:29 ==> Uploading reports 05:05:29 url: https://codecov.io 05:05:29 query: branch=PR-374&commit=0fb4799150e9700d43941260ba1b1cb6fbb6282a&build=6&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-virtual-go%2Fjob%2FPR-374%2F6%2F&name=&tag=&slug=edgexfoundry%2Fdevice-virtual-go&service=jenkins&flags=&pr=374&job=&cmd_args= 05:05:29 -> Pinging Codecov 05:05:29 https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=a35e349c-7876-4d48-9269-e9fc36774240&branch=PR-374&commit=0fb4799150e9700d43941260ba1b1cb6fbb6282a&build=6&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-virtual-go%2Fjob%2FPR-374%2F6%2F&name=&tag=&slug=edgexfoundry%2Fdevice-virtual-go&service=jenkins&flags=&pr=374&job=&cmd_args= 05:05:29 -> Uploading to 05:05:29 https://storage.googleapis.com/codecov/v4/raw/2023-03-31/5E52B4B073DB2E39498172D8E973AA87/0fb4799150e9700d43941260ba1b1cb6fbb6282a/c23b8684-7695-44c3-a3ea-402f9aec633b.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20230331%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20230331T050529Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=e21e8ca76b7962631e2de5766f21d6e4290e194ce57bfe39cc24e8d177f4ee04 05:05:29 % Total % Received % Xferd Average Speed Time Time Time Current 05:05:29 Dload Upload Total Spent Left Speed 05:05:30 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 5177 0 0 100 5177 0 16863 --:--:-- --:--:-- --:--:-- 16863 05:05:30 -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-virtual-go/commit/0fb4799150e9700d43941260ba1b1cb6fbb6282a [Pipeline] } 05:05:30 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) Stage "Snyk Dependency Scan" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) Stage "Semver" skipped due to when conditional [Pipeline] stage [Pipeline] { (Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] sh 05:05:30 + [ -d /w/workspace/foundry_device-virtual-go_PR-374/archives ] 05:05:30 + ls -al /w/workspace/foundry_device-virtual-go_PR-374/archives 05:05:30 total 16 05:05:30 drwxr-xr-x 3 root root 4096 Mar 31 04:57 . 05:05:30 drwxrwxr-x 10 jenkins jenkins 4096 Mar 31 04:57 .. 05:05:30 drwxr-xr-x 2 root root 4096 Mar 31 04:57 cost 05:05:30 -rw-r--r-- 1 root root 89 Mar 31 04:57 cost.csv 05:05:30 + sudo chown -R jenkins:jenkins /w/workspace/foundry_device-virtual-go_PR-374/archives 05:05:30 + ls -al /w/workspace/foundry_device-virtual-go_PR-374/archives 05:05:30 total 16 05:05:30 drwxr-xr-x 3 jenkins jenkins 4096 Mar 31 04:57 . 05:05:30 drwxrwxr-x 10 jenkins jenkins 4096 Mar 31 04:57 .. 05:05:30 drwxr-xr-x 2 jenkins jenkins 4096 Mar 31 04:57 cost 05:05:30 -rw-r--r-- 1 jenkins jenkins 89 Mar 31 04:57 cost.csv [Pipeline] libraryResource [Pipeline] sh 05:05:31 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 05:05:31 ---> package-listing.sh 05:05:31 ++ facter osfamily 05:05:31 ++ tr '[:upper:]' '[:lower:]' 05:05:32 + OS_FAMILY=debian 05:05:32 + workspace=/w/workspace/foundry_device-virtual-go_PR-374 05:05:32 + START_PACKAGES=/tmp/packages_start.txt 05:05:32 + END_PACKAGES=/tmp/packages_end.txt 05:05:32 + DIFF_PACKAGES=/tmp/packages_diff.txt 05:05:32 + PACKAGES=/tmp/packages_start.txt 05:05:32 + '[' /w/workspace/foundry_device-virtual-go_PR-374 ']' 05:05:32 + PACKAGES=/tmp/packages_end.txt 05:05:32 + case "${OS_FAMILY}" in 05:05:32 + dpkg -l 05:05:32 + grep '^ii' 05:05:32 + '[' -f /tmp/packages_start.txt ']' 05:05:32 + '[' -f /tmp/packages_end.txt ']' 05:05:32 + diff /tmp/packages_start.txt /tmp/packages_end.txt 05:05:32 + '[' /w/workspace/foundry_device-virtual-go_PR-374 ']' 05:05:32 + mkdir -p /w/workspace/foundry_device-virtual-go_PR-374/archives/ 05:05:32 + 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 05:05:32 Launching container with: [--privileged -u 0:0 --net host -v /var/log/sysstat:/var/log/sysstat -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/foundry_device-virtual-go_PR-374/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 05:05:32 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:05:33 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 05:05:33 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 05:05:33 prd-ubuntu20.04-docker-8c-8g-6528 does not seem to be running inside a container 05:05:33 $ docker run -t -d -u 1001:1001 --privileged -u 0:0 --net host -v /var/log/sysstat:/var/log/sysstat -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/foundry_device-virtual-go_PR-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 ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 05:05:33 $ docker top 83ec5b6db701d5a4cb67a89acc8830e5ba38d49bbbf68964c4254dc08effbbeb -eo pid,comm [Pipeline] { [Pipeline] sh 05:05:33 + touch /tmp/pre-build-complete [Pipeline] sh 05:05:33 + mkdir -p /var/log/sysstat [Pipeline] sh 05:05:34 + ls /var/log/sa-host 05:05:34 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 05:05:34 provisioning config files... 05:05:34 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/foundry_device-virtual-go_PR-374@tmp/config4347459354443343015tmp [Pipeline] { [Pipeline] echo 05:05:34 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 05:05:34 ---> create-netrc.sh [Pipeline] } 05:05:34 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 05:05:35 ---> python-tools-install.sh [Pipeline] echo 05:05:35 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 05:05:35 ---> sudo-logs.sh 05:05:35 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 05:05:35 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 05:05:35 ---> job-cost.sh 05:05:35 lf-activate-venv: SKIPPING 05:05:35 DEBUG: total: 0.2199999988079071 05:05:35 INFO: Retrieving Stack Cost... 05:05:35 INFO: Retrieving Pricing Info for: v3-standard-8 05:05:36 INFO: Archiving Costs [Pipeline] echo 05:05:36 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 05:05:36 ---> logs-deploy.sh 05:05:36 lf-activate-venv: SKIPPING 05:05:36 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-virtual-go/PR-374/6 05:05:36 INFO: archiving workspace using pattern(s): 05:05:37 Archives upload complete. 05:05:37 INFO: archiving logs to Nexus