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 [2023-03-31T04:55:13.578Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2023-03-31T04:55:13.620Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2023-03-31T04:55:13.631Z] ========================================================= [2023-03-31T04:55:13.631Z] EdgeX Global Pipelines Version Info [2023-03-31T04:55:13.631Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2023-03-31T04:55:14.350Z] ------------------- [2023-03-31T04:55:14.351Z] stable info: [2023-03-31T04:55:14.351Z] ------------------- [2023-03-31T04:55:14.351Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2023-03-31T04:55:14.351Z] Commit SHA: 66200e8eedfc470904d6b329e562ec5b45423d6a [2023-03-31T04:55:14.351Z] Message: update stable to v1.0.245 [2023-03-31T04:55:14.934Z] ------------------- [2023-03-31T04:55:14.934Z] experimental info: [2023-03-31T04:55:14.934Z] ------------------- [2023-03-31T04:55:14.934Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2023-03-31T04:55:14.934Z] Commit SHA: 046ad6d0e2e636d38ea4daf53c055316476b9501 [2023-03-31T04:55:14.934Z] Message: update experimental to v1.0.247 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2023-03-31T04:55:15.092Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-virtual-go-settings [Pipeline] echo [2023-03-31T04:55:15.103Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-virtual-go [Pipeline] echo [2023-03-31T04:55:15.114Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2023-03-31T04:55:15.126Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2023-03-31T04:55:15.139Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2023-03-31T04:55:15.151Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.20 [Pipeline] echo [2023-03-31T04:55:15.164Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2023-03-31T04:55:15.176Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2023-03-31T04:55:15.188Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2023-03-31T04:55:15.200Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2023-03-31T04:55:15.214Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2023-03-31T04:55:15.224Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-virtual [Pipeline] echo [2023-03-31T04:55:15.235Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2023-03-31T04:55:15.246Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2023-03-31T04:55:15.258Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2023-03-31T04:55:15.269Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2023-03-31T04:55:15.280Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2023-03-31T04:55:15.292Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2023-03-31T04:55:15.303Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2023-03-31T04:55:15.315Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2023-03-31T04:55:15.325Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2023-03-31T04:55:15.336Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2023-03-31T04:55:15.348Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2023-03-31T04:55:15.359Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2023-03-31T04:55:15.375Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2023-03-31T04:55:15.394Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2023-03-31T04:55:15.410Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2023-03-31T04:55:15.424Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-374 [Pipeline] echo [2023-03-31T04:55:15.434Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-374 [Pipeline] echo [2023-03-31T04:55:15.445Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-374 [Pipeline] echo [2023-03-31T04:55:15.456Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 0fb4799150e9700d43941260ba1b1cb6fbb6282a [Pipeline] echo [2023-03-31T04:55:15.467Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 0fb4799 [Pipeline] echo [2023-03-31T04:55:15.482Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-03-31T04:55:15.525Z] provisioning config files... [2023-03-31T04:55:15.539Z] copy managed file [device-virtual-go-settings] to file:/w/workspace/foundry_device-virtual-go_PR-374@tmp/config14421731281047853443tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-03-31T04:55:15.842Z] ---> docker-login.sh [2023-03-31T04:55:15.842Z] nexus3.edgexfoundry.org:10001 [2023-03-31T04:55:16.103Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-31T04:55:16.364Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-31T04:55:16.364Z] Configure a credential helper to remove this warning. See [2023-03-31T04:55:16.364Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-31T04:55:16.364Z] [2023-03-31T04:55:16.364Z] Login Succeeded [2023-03-31T04:55:16.364Z] nexus3.edgexfoundry.org:10002 [2023-03-31T04:55:16.364Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-31T04:55:16.364Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-31T04:55:16.364Z] Configure a credential helper to remove this warning. See [2023-03-31T04:55:16.364Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-31T04:55:16.364Z] [2023-03-31T04:55:16.364Z] Login Succeeded [2023-03-31T04:55:16.364Z] nexus3.edgexfoundry.org:10003 [2023-03-31T04:55:16.364Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-31T04:55:16.625Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-31T04:55:16.625Z] Configure a credential helper to remove this warning. See [2023-03-31T04:55:16.625Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-31T04:55:16.625Z] [2023-03-31T04:55:16.625Z] Login Succeeded [2023-03-31T04:55:16.625Z] nexus3.edgexfoundry.org:10004 [2023-03-31T04:55:16.625Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-31T04:55:16.625Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-31T04:55:16.625Z] Configure a credential helper to remove this warning. See [2023-03-31T04:55:16.625Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-31T04:55:16.625Z] [2023-03-31T04:55:16.625Z] Login Succeeded [2023-03-31T04:55:16.625Z] docker.io [2023-03-31T04:55:16.625Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-31T04:55:16.884Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-31T04:55:16.884Z] Configure a credential helper to remove this warning. See [2023-03-31T04:55:16.884Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-31T04:55:16.884Z] [2023-03-31T04:55:16.884Z] Login Succeeded [2023-03-31T04:55:16.884Z] ---> docker-login.sh ends [Pipeline] } [2023-03-31T04:55:16.890Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2023-03-31T04:55:17.243Z] + git rev-list -1 --merges 0fb4799150e9700d43941260ba1b1cb6fbb6282a~1..0fb4799150e9700d43941260ba1b1cb6fbb6282a [Pipeline] echo [2023-03-31T04:55:17.288Z] -----------> git rev-list -1 --merges 0fb4799150e9700d43941260ba1b1cb6fbb6282a~1..0fb4799150e9700d43941260ba1b1cb6fbb6282a 0fb4799150e9700d43941260ba1b1cb6fbb6282a [false] [Pipeline] sh [2023-03-31T04:55:17.574Z] + git log --format=format:%s -1 0fb4799150e9700d43941260ba1b1cb6fbb6282a [Pipeline] echo [2023-03-31T04:55:17.587Z] ========================================================= [2023-03-31T04:55:17.587Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2023-03-31T04:55:17.587Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-03-31T04:55:17.925Z] + git log --format=format:%s -1 0fb4799150e9700d43941260ba1b1cb6fbb6282a [Pipeline] echo [2023-03-31T04:55:17.936Z] [semverPrep] GIT_COMMIT: 0fb4799150e9700d43941260ba1b1cb6fbb6282a, Commit Message: feat: Allow min equal to max when generate random value [Pipeline] echo [2023-03-31T04:55:17.946Z] [semverPrep] This is not a build commit. [Pipeline] sh [2023-03-31T04:55:18.315Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-03-31T04:55:18.315Z] + grep -v github /etc/ssh/ssh_known_hosts [2023-03-31T04:55:18.315Z] + [ -e /tmp/ssh_known_hosts ] [2023-03-31T04:55:18.315Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2023-03-31T04:55:18.315Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2023-03-31T04:55:18.315Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2023-03-31T04:55:18.315Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-31T04:55:18.723Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-03-31T04:55:18.723Z] [2023-03-31T04:55:18.723Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-31T04:55:19.026Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-03-31T04:55:19.026Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2023-03-31T04:55:19.026Z] b85a868b505f: Pulling fs layer [2023-03-31T04:55:19.026Z] e2be974225ed: Pulling fs layer [2023-03-31T04:55:19.026Z] 339a4e72a1f5: Pulling fs layer [2023-03-31T04:55:19.026Z] 988bab9f4d93: Pulling fs layer [2023-03-31T04:55:19.026Z] 1469e6f7b9e6: Pulling fs layer [2023-03-31T04:55:19.026Z] eaf3925da568: Pulling fs layer [2023-03-31T04:55:19.026Z] bab4dde63d76: Pulling fs layer [2023-03-31T04:55:19.026Z] bde34c3a00c8: Pulling fs layer [2023-03-31T04:55:19.026Z] b352a97aabf1: Pulling fs layer [2023-03-31T04:55:19.026Z] 4872d77fe225: Pulling fs layer [2023-03-31T04:55:19.026Z] 5851b861e8e6: Pulling fs layer [2023-03-31T04:55:19.026Z] 1469e6f7b9e6: Waiting [2023-03-31T04:55:19.026Z] eaf3925da568: Waiting [2023-03-31T04:55:19.026Z] bab4dde63d76: Waiting [2023-03-31T04:55:19.026Z] bde34c3a00c8: Waiting [2023-03-31T04:55:19.026Z] b352a97aabf1: Waiting [2023-03-31T04:55:19.026Z] 4872d77fe225: Waiting [2023-03-31T04:55:19.026Z] 5851b861e8e6: Waiting [2023-03-31T04:55:19.026Z] 988bab9f4d93: Waiting [2023-03-31T04:55:19.026Z] e2be974225ed: Download complete [2023-03-31T04:55:19.026Z] 988bab9f4d93: Download complete [2023-03-31T04:55:19.026Z] 1469e6f7b9e6: Verifying Checksum [2023-03-31T04:55:19.027Z] 1469e6f7b9e6: Download complete [2023-03-31T04:55:19.289Z] eaf3925da568: Download complete [2023-03-31T04:55:19.289Z] 339a4e72a1f5: Verifying Checksum [2023-03-31T04:55:19.289Z] 339a4e72a1f5: Download complete [2023-03-31T04:55:19.289Z] bde34c3a00c8: Download complete [2023-03-31T04:55:19.289Z] b352a97aabf1: Download complete [2023-03-31T04:55:19.289Z] 4872d77fe225: Verifying Checksum [2023-03-31T04:55:19.289Z] 4872d77fe225: Download complete [2023-03-31T04:55:19.289Z] 5851b861e8e6: Verifying Checksum [2023-03-31T04:55:19.289Z] 5851b861e8e6: Download complete [2023-03-31T04:55:19.289Z] b85a868b505f: Verifying Checksum [2023-03-31T04:55:19.289Z] b85a868b505f: Download complete [2023-03-31T04:55:19.548Z] bab4dde63d76: Verifying Checksum [2023-03-31T04:55:19.548Z] bab4dde63d76: Download complete [2023-03-31T04:55:20.486Z] b85a868b505f: Pull complete [2023-03-31T04:55:20.745Z] e2be974225ed: Pull complete [2023-03-31T04:55:21.311Z] 339a4e72a1f5: Pull complete [2023-03-31T04:55:21.311Z] 988bab9f4d93: Pull complete [2023-03-31T04:55:21.607Z] 1469e6f7b9e6: Pull complete [2023-03-31T04:55:21.607Z] eaf3925da568: Pull complete [2023-03-31T04:55:23.549Z] bab4dde63d76: Pull complete [2023-03-31T04:55:23.549Z] bde34c3a00c8: Pull complete [2023-03-31T04:55:23.809Z] b352a97aabf1: Pull complete [2023-03-31T04:55:23.809Z] 4872d77fe225: Pull complete [2023-03-31T04:55:23.809Z] 5851b861e8e6: Pull complete [2023-03-31T04:55:23.809Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2023-03-31T04:55:23.809Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-03-31T04:55:23.809Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-31T04:55:23.908Z] prd-ubuntu20.04-docker-8c-8g-6528 does not seem to be running inside a container [2023-03-31T04:55:23.942Z] $ 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 [2023-03-31T04:55:25.270Z] $ docker top b7ddf30c0b727f9c76e31424435e76fa6954a4e4a07ef809295a28bccb67fd81 -eo pid,comm [2023-03-31T04:55:25.320Z] 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). [2023-03-31T04:55:25.320Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-03-31T04:55:25.358Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-03-31T04:55:25.358Z] [ssh-agent] Looking for ssh-agent implementation... [2023-03-31T04:55:25.470Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-03-31T04:55:25.476Z] $ docker exec b7ddf30c0b727f9c76e31424435e76fa6954a4e4a07ef809295a28bccb67fd81 ssh-agent [2023-03-31T04:55:25.585Z] SSH_AUTH_SOCK=/tmp/ssh-nEUlsPJpd7np/agent.32 [2023-03-31T04:55:25.585Z] SSH_AGENT_PID=38 [2023-03-31T04:55:25.592Z] Running ssh-add (command line suppressed) [2023-03-31T04:55:25.691Z] 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) [2023-03-31T04:55:25.701Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-03-31T04:55:25.986Z] + git tag --points-at HEAD [Pipeline] } [2023-03-31T04:55:26.001Z] $ docker exec --env ******** --env ******** b7ddf30c0b727f9c76e31424435e76fa6954a4e4a07ef809295a28bccb67fd81 ssh-agent -k [2023-03-31T04:55:26.091Z] unset SSH_AUTH_SOCK; [2023-03-31T04:55:26.091Z] unset SSH_AGENT_PID; [2023-03-31T04:55:26.092Z] echo Agent pid 38 killed; [2023-03-31T04:55:26.097Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2023-03-31T04:55:26.120Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-03-31T04:55:26.120Z] [ssh-agent] Looking for ssh-agent implementation... [2023-03-31T04:55:26.243Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-03-31T04:55:26.249Z] $ docker exec b7ddf30c0b727f9c76e31424435e76fa6954a4e4a07ef809295a28bccb67fd81 ssh-agent [2023-03-31T04:55:26.351Z] SSH_AUTH_SOCK=/tmp/ssh-YHBEOd7KSBiG/agent.70 [2023-03-31T04:55:26.351Z] SSH_AGENT_PID=76 [2023-03-31T04:55:26.356Z] Running ssh-add (command line suppressed) [2023-03-31T04:55:26.481Z] 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) [2023-03-31T04:55:26.492Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-03-31T04:55:26.774Z] + git semver init [2023-03-31T04:55:27.034Z] 2023-03-31 04:55:26,957 [run_init] DEBUG init version:0.0.0 force:False [2023-03-31T04:55:27.034Z] 2023-03-31 04:55:26,958 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/foundry_device-virtual-go_PR-374/.semver [2023-03-31T04:55:27.034Z] 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 [2023-03-31T04:55:27.034Z] 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) [2023-03-31T04:55:28.416Z] 2023-03-31 04:55:28,143 [append_file] DEBUG append to file:/w/workspace/foundry_device-virtual-go_PR-374/.git/info/exclude [2023-03-31T04:55:28.416Z] 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 [2023-03-31T04:55:28.416Z] 2023-03-31 04:55:28,144 [write_file] DEBUG write to file:/w/workspace/foundry_device-virtual-go_PR-374/.semver/PR-374 [2023-03-31T04:55:28.416Z] 2023-03-31 04:55:28,148 [execute] INFO git cat-file --batch-check [2023-03-31T04:55:28.416Z] 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=) [2023-03-31T04:55:28.416Z] 2023-03-31 04:55:28,155 [execute] INFO git cat-file --batch [2023-03-31T04:55:28.416Z] 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=) [2023-03-31T04:55:28.416Z] 2023-03-31 04:55:28,161 [read_version] DEBUG read version from /w/workspace/foundry_device-virtual-go_PR-374/.semver/PR-374 [2023-03-31T04:55:28.416Z] 0.0.0 [Pipeline] } [2023-03-31T04:55:28.429Z] $ docker exec --env ******** --env ******** b7ddf30c0b727f9c76e31424435e76fa6954a4e4a07ef809295a28bccb67fd81 ssh-agent -k [2023-03-31T04:55:28.523Z] unset SSH_AUTH_SOCK; [2023-03-31T04:55:28.524Z] unset SSH_AGENT_PID; [2023-03-31T04:55:28.524Z] echo Agent pid 76 killed; [2023-03-31T04:55:28.530Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-03-31T04:55:28.833Z] + git semver [Pipeline] } [2023-03-31T04:55:29.111Z] $ docker stop --time=1 b7ddf30c0b727f9c76e31424435e76fa6954a4e4a07ef809295a28bccb67fd81 [2023-03-31T04:55:30.399Z] $ docker rm -f --volumes b7ddf30c0b727f9c76e31424435e76fa6954a4e4a07ef809295a28bccb67fd81 [Pipeline] // withDockerContainer [Pipeline] sh [2023-03-31T04:55:30.742Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2023-03-31T04:55:30.948Z] Stashed 1 file(s) [Pipeline] echo [2023-03-31T04:55:30.951Z] [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 [2023-03-31T04:55:31.062Z] provisioning config files... [2023-03-31T04:55:31.071Z] copy managed file [device-virtual-go-settings] to file:/w/workspace/foundry_device-virtual-go_PR-374@tmp/config6814741458039435845tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-03-31T04:55:31.363Z] ---> docker-login.sh [2023-03-31T04:55:31.364Z] nexus3.edgexfoundry.org:10001 [2023-03-31T04:55:31.364Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-31T04:55:31.364Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-31T04:55:31.364Z] Configure a credential helper to remove this warning. See [2023-03-31T04:55:31.364Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-31T04:55:31.364Z] [2023-03-31T04:55:31.364Z] Login Succeeded [2023-03-31T04:55:31.364Z] nexus3.edgexfoundry.org:10002 [2023-03-31T04:55:31.364Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-31T04:55:31.364Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-31T04:55:31.364Z] Configure a credential helper to remove this warning. See [2023-03-31T04:55:31.364Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-31T04:55:31.364Z] [2023-03-31T04:55:31.364Z] Login Succeeded [2023-03-31T04:55:31.364Z] nexus3.edgexfoundry.org:10003 [2023-03-31T04:55:31.622Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-31T04:55:31.622Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-31T04:55:31.622Z] Configure a credential helper to remove this warning. See [2023-03-31T04:55:31.622Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-31T04:55:31.622Z] [2023-03-31T04:55:31.622Z] Login Succeeded [2023-03-31T04:55:31.622Z] nexus3.edgexfoundry.org:10004 [2023-03-31T04:55:31.622Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-31T04:55:31.622Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-31T04:55:31.622Z] Configure a credential helper to remove this warning. See [2023-03-31T04:55:31.623Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-31T04:55:31.623Z] [2023-03-31T04:55:31.623Z] Login Succeeded [2023-03-31T04:55:31.623Z] docker.io [2023-03-31T04:55:31.882Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-31T04:55:31.882Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-31T04:55:31.882Z] Configure a credential helper to remove this warning. See [2023-03-31T04:55:31.882Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-31T04:55:31.882Z] [2023-03-31T04:55:31.882Z] Login Succeeded [2023-03-31T04:55:32.142Z] ---> docker-login.sh ends [Pipeline] } [2023-03-31T04:55:32.149Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-03-31T04:55:32.219Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-03-31T04:55:32.235Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-03-31T04:55:32.247Z] ========================================================= [2023-03-31T04:55:32.247Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine] [2023-03-31T04:55:32.247Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-31T04:55:32.550Z] + 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 . [2023-03-31T04:55:32.550Z] Sending build context to Docker daemon 23.6MB [2023-03-31T04:55:32.551Z] Step 1/12 : ARG BASE=golang:1.20-alpine3.17 [2023-03-31T04:55:32.551Z] Step 2/12 : FROM ${BASE} AS builder [2023-03-31T04:55:32.809Z] 1.20-alpine: Pulling from edgex-devops/edgex-golang-base [2023-03-31T04:55:32.809Z] 63b65145d645: Pulling fs layer [2023-03-31T04:55:32.809Z] a2d21d5440eb: Pulling fs layer [2023-03-31T04:55:32.809Z] 935e6c44a52c: Pulling fs layer [2023-03-31T04:55:32.809Z] 94cc34f8dd06: Pulling fs layer [2023-03-31T04:55:32.809Z] 30dea6a524f1: Pulling fs layer [2023-03-31T04:55:32.809Z] a2aff8979fd8: Pulling fs layer [2023-03-31T04:55:32.809Z] 6808be2612f2: Pulling fs layer [2023-03-31T04:55:32.809Z] f25807f1079a: Pulling fs layer [2023-03-31T04:55:32.809Z] 94cc34f8dd06: Waiting [2023-03-31T04:55:32.809Z] 30dea6a524f1: Waiting [2023-03-31T04:55:32.809Z] a2aff8979fd8: Waiting [2023-03-31T04:55:32.809Z] 6808be2612f2: Waiting [2023-03-31T04:55:32.809Z] f25807f1079a: Waiting [2023-03-31T04:55:32.809Z] a2d21d5440eb: Download complete [2023-03-31T04:55:32.809Z] 94cc34f8dd06: Download complete [2023-03-31T04:55:32.809Z] 63b65145d645: Verifying Checksum [2023-03-31T04:55:32.809Z] 63b65145d645: Download complete [2023-03-31T04:55:32.809Z] a2aff8979fd8: Verifying Checksum [2023-03-31T04:55:32.809Z] a2aff8979fd8: Download complete [2023-03-31T04:55:33.071Z] 63b65145d645: Pull complete [2023-03-31T04:55:33.071Z] a2d21d5440eb: Pull complete [2023-03-31T04:55:33.332Z] f25807f1079a: Verifying Checksum [2023-03-31T04:55:33.332Z] f25807f1079a: Download complete [2023-03-31T04:55:33.590Z] 935e6c44a52c: Download complete [2023-03-31T04:55:33.590Z] 6808be2612f2: Verifying Checksum [2023-03-31T04:55:33.590Z] 6808be2612f2: Download complete [2023-03-31T04:55:36.870Z] 935e6c44a52c: Pull complete [2023-03-31T04:55:37.150Z] 94cc34f8dd06: Pull complete [2023-03-31T04:55:37.150Z] 30dea6a524f1: Pull complete [2023-03-31T04:55:37.412Z] a2aff8979fd8: Pull complete [2023-03-31T04:55:39.998Z] 6808be2612f2: Pull complete [2023-03-31T04:55:43.132Z] f25807f1079a: Pull complete [2023-03-31T04:55:43.132Z] Digest: sha256:106942793af8b5907f587008084bb0888cadbc76d86ebd37d4d3227fb0f1e438 [2023-03-31T04:55:43.132Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine [2023-03-31T04:55:43.132Z] ---> 3b553350e43f [2023-03-31T04:55:43.132Z] Step 3/12 : ARG ALPINE_PKG_BASE="make git openssh-client" [2023-03-31T04:55:44.514Z] ---> Running in 308c9610a40a [2023-03-31T04:55:44.514Z] Removing intermediate container 308c9610a40a [2023-03-31T04:55:44.514Z] ---> db55e467b9b8 [2023-03-31T04:55:44.514Z] Step 4/12 : ARG ALPINE_PKG_EXTRA="" [2023-03-31T04:55:44.774Z] ---> Running in a9c45f3c1a75 [2023-03-31T04:55:44.774Z] Removing intermediate container a9c45f3c1a75 [2023-03-31T04:55:44.774Z] ---> e232bfef354e [2023-03-31T04:55:44.774Z] Step 5/12 : ARG ADD_BUILD_TAGS="" [2023-03-31T04:55:44.774Z] ---> Running in 1b7bc798fd9a [2023-03-31T04:55:44.774Z] Removing intermediate container 1b7bc798fd9a [2023-03-31T04:55:44.774Z] ---> 451836b56eb7 [2023-03-31T04:55:44.774Z] Step 6/12 : WORKDIR /device-virtual-go [2023-03-31T04:55:45.033Z] ---> Running in 796cce19d66c [2023-03-31T04:55:45.033Z] Removing intermediate container 796cce19d66c [2023-03-31T04:55:45.033Z] ---> 9bb0778dfd4a [2023-03-31T04:55:45.033Z] Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-03-31T04:55:45.033Z] ---> Running in 40ab3b57068e [2023-03-31T04:55:45.293Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz [2023-03-31T04:55:45.552Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz [2023-03-31T04:55:45.553Z] (1/4) Installing openssh-keygen (9.1_p1-r2) [2023-03-31T04:55:45.553Z] (2/4) Installing libedit (20221030.3.1-r0) [2023-03-31T04:55:45.553Z] (3/4) Installing openssh-client-common (9.1_p1-r2) [2023-03-31T04:55:45.812Z] (4/4) Installing openssh-client-default (9.1_p1-r2) [2023-03-31T04:55:45.812Z] Executing busybox-1.35.0-r29.trigger [2023-03-31T04:55:45.812Z] OK: 269 MiB in 57 packages [2023-03-31T04:55:46.033Z] Still waiting to schedule task [2023-03-31T04:55:46.034Z] All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline [2023-03-31T04:55:46.071Z] Removing intermediate container 40ab3b57068e [2023-03-31T04:55:46.071Z] ---> 1e2267a5bcc8 [2023-03-31T04:55:46.071Z] Step 8/12 : COPY go.mod vendor* ./ [2023-03-31T04:55:46.330Z] ---> efee64ee38c2 [2023-03-31T04:55:46.330Z] Step 9/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-03-31T04:55:46.330Z] ---> Running in 727ad7762fe0 [2023-03-31T04:56:25.078Z] Removing intermediate container 727ad7762fe0 [2023-03-31T04:56:25.078Z] ---> 3cda1d5c2573 [2023-03-31T04:56:25.078Z] Step 10/12 : COPY . . [2023-03-31T04:56:25.078Z] ---> e1f19fbd919b [2023-03-31T04:56:25.078Z] Step 11/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-03-31T04:56:25.078Z] ---> Running in 2cd14a801740 [2023-03-31T04:56:25.078Z] Removing intermediate container 2cd14a801740 [2023-03-31T04:56:25.078Z] ---> 38740d5ad0b2 [2023-03-31T04:56:25.078Z] Step 12/12 : RUN $MAKE [2023-03-31T04:56:25.078Z] ---> Running in 93391b018613 [2023-03-31T04:56:25.078Z] noop [2023-03-31T04:56:25.078Z] Removing intermediate container 93391b018613 [2023-03-31T04:56:25.078Z] ---> 3881313f624c [2023-03-31T04:56:25.078Z] Successfully built 3881313f624c [2023-03-31T04:56:25.078Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-31T04:56:25.388Z] + docker inspect -f . ci-base-image-x86_64 [2023-03-31T04:56:25.388Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-31T04:56:25.462Z] prd-ubuntu20.04-docker-8c-8g-6528 does not seem to be running inside a container [2023-03-31T04:56:25.499Z] $ 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 [2023-03-31T04:56:25.867Z] $ docker top d456a1992425d36ae27a9e330f47c8e1e4e2226bb2549a9a8c618ea9c3b0a81f -eo pid,comm [Pipeline] { [Pipeline] sh [2023-03-31T04:56:26.211Z] + go version [2023-03-31T04:56:26.211Z] go version go1.20.2 linux/amd64 [Pipeline] } [2023-03-31T04:56:26.225Z] $ docker stop --time=1 d456a1992425d36ae27a9e330f47c8e1e4e2226bb2549a9a8c618ea9c3b0a81f [2023-03-31T04:56:27.531Z] $ 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 [2023-03-31T04:56:27.920Z] + docker inspect -f . ci-base-image-x86_64 [2023-03-31T04:56:27.920Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-31T04:56:27.994Z] prd-ubuntu20.04-docker-8c-8g-6528 does not seem to be running inside a container [2023-03-31T04:56:28.027Z] $ 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 [2023-03-31T04:56:28.384Z] $ docker top 6c425a63077f9cac0fe72bd52dc2092c3f4d0982394f209a15cada56feea59e6 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-03-31T04:56:28.730Z] + git config --global --add safe.directory /w/workspace/foundry_device-virtual-go_PR-374 [Pipeline] fileExists [Pipeline] sh [2023-03-31T04:56:29.026Z] + make test [2023-03-31T04:56:29.026Z] go test ./... -coverprofile=coverage.out [2023-03-31T04:56:34.298Z] ? github.com/edgexfoundry/device-virtual-go [no test files] [2023-03-31T04:56:44.264Z] ? github.com/edgexfoundry/device-virtual-go/cmd [no test files] [2023-03-31T04:56:44.264Z] ok github.com/edgexfoundry/device-virtual-go/internal/driver 0.042s coverage: 59.5% of statements [2023-03-31T04:56:50.827Z] go vet ./... [2023-03-31T04:56:55.014Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-03-31T04:56:55.014Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2023-03-31T04:56:55.014Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2023-03-31T04:56:55.026Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2023-03-31T04:56:55.044Z] $ docker stop --time=1 6c425a63077f9cac0fe72bd52dc2092c3f4d0982394f209a15cada56feea59e6 [2023-03-31T04:56:57.300Z] $ docker rm -f --volumes 6c425a63077f9cac0fe72bd52dc2092c3f4d0982394f209a15cada56feea59e6 [Pipeline] // withDockerContainer [Pipeline] sh [2023-03-31T04:56:57.755Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2023-03-31T04:56:57.804Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2023-03-31T04:56:58.353Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-03-31T04:56:58.646Z] + ls -al . [2023-03-31T04:56:58.646Z] total 192 [2023-03-31T04:56:58.646Z] drwxrwxr-x 9 jenkins jenkins 4096 Mar 31 04:56 . [2023-03-31T04:56:58.646Z] drwxrwxr-x 4 jenkins jenkins 4096 Mar 31 04:55 .. [2023-03-31T04:56:58.646Z] drwxrwxr-x 8 jenkins jenkins 4096 Mar 31 04:55 .git [2023-03-31T04:56:58.646Z] drwxrwxr-x 3 jenkins jenkins 4096 Mar 31 04:55 .github [2023-03-31T04:56:58.646Z] -rw-rw-r-- 1 jenkins jenkins 337 Mar 31 04:55 .gitignore [2023-03-31T04:56:58.646Z] -rw-rw-r-- 1 jenkins jenkins 41 Mar 31 04:55 .golangci.yml [2023-03-31T04:56:58.646Z] drwxr-xr-x 3 jenkins jenkins 4096 Mar 31 04:55 .semver [2023-03-31T04:56:58.646Z] -rw-rw-r-- 1 jenkins jenkins 8641 Mar 31 04:55 Attribution.txt [2023-03-31T04:56:58.646Z] -rw-rw-r-- 1 jenkins jenkins 11367 Mar 31 04:55 CHANGELOG.md [2023-03-31T04:56:58.646Z] -rw-rw-r-- 1 jenkins jenkins 1646 Mar 31 04:55 Dockerfile [2023-03-31T04:56:58.646Z] -rw-rw-r-- 1 jenkins jenkins 677 Mar 31 04:55 GOVERNANCE.md [2023-03-31T04:56:58.646Z] -rw-rw-r-- 1 jenkins jenkins 660 Mar 31 04:55 Jenkinsfile [2023-03-31T04:56:58.646Z] -rw-rw-r-- 1 jenkins jenkins 11340 Mar 31 04:55 LICENSE [2023-03-31T04:56:58.646Z] -rw-rw-r-- 1 jenkins jenkins 1696 Mar 31 04:55 Makefile [2023-03-31T04:56:58.646Z] -rw-rw-r-- 1 jenkins jenkins 623 Mar 31 04:55 OWNERS.md [2023-03-31T04:56:58.646Z] -rw-rw-r-- 1 jenkins jenkins 3578 Mar 31 04:55 README.md [2023-03-31T04:56:58.646Z] -rw-rw-r-- 1 jenkins jenkins 5 Mar 31 04:55 VERSION [2023-03-31T04:56:58.646Z] drwxrwxr-x 2 jenkins jenkins 4096 Mar 31 04:55 bin [2023-03-31T04:56:58.646Z] drwxrwxr-x 3 jenkins jenkins 4096 Mar 31 04:55 cmd [2023-03-31T04:56:58.646Z] -rw-r--r-- 1 jenkins jenkins 42791 Mar 31 04:56 coverage.out [2023-03-31T04:56:58.646Z] -rw-rw-r-- 1 jenkins jenkins 3206 Mar 31 04:55 go.mod [2023-03-31T04:56:58.646Z] -rw-rw-r-- 1 jenkins jenkins 30819 Mar 31 04:55 go.sum [2023-03-31T04:56:58.646Z] drwxrwxr-x 3 jenkins jenkins 4096 Mar 31 04:55 internal [2023-03-31T04:56:58.646Z] drwxrwxr-x 4 jenkins jenkins 4096 Mar 31 04:55 snap [2023-03-31T04:56:58.646Z] -rw-rw-r-- 1 jenkins jenkins 235 Mar 31 04:55 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-31T04:56:58.979Z] + 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 . [2023-03-31T04:56:58.979Z] Sending build context to Docker daemon 23.64MB [2023-03-31T04:56:58.979Z] Step 1/25 : ARG BASE=golang:1.20-alpine3.17 [2023-03-31T04:56:58.979Z] Step 2/25 : FROM ${BASE} AS builder [2023-03-31T04:56:58.979Z] ---> 3881313f624c [2023-03-31T04:56:58.979Z] Step 3/25 : ARG ALPINE_PKG_BASE="make git openssh-client" [2023-03-31T04:56:59.240Z] ---> Running in 3ae42f03724a [2023-03-31T04:56:59.240Z] Removing intermediate container 3ae42f03724a [2023-03-31T04:56:59.240Z] ---> a3b60c346a62 [2023-03-31T04:56:59.240Z] Step 4/25 : ARG ALPINE_PKG_EXTRA="" [2023-03-31T04:56:59.240Z] ---> Running in b9a562e09bfd [2023-03-31T04:56:59.240Z] Removing intermediate container b9a562e09bfd [2023-03-31T04:56:59.240Z] ---> aece644097a6 [2023-03-31T04:56:59.240Z] Step 5/25 : ARG ADD_BUILD_TAGS="" [2023-03-31T04:56:59.240Z] ---> Running in ac2e65579a4b [2023-03-31T04:56:59.498Z] Removing intermediate container ac2e65579a4b [2023-03-31T04:56:59.499Z] ---> 5253e18e1e73 [2023-03-31T04:56:59.499Z] Step 6/25 : WORKDIR /device-virtual-go [2023-03-31T04:56:59.499Z] ---> Running in 0b273785e83e [2023-03-31T04:56:59.499Z] Removing intermediate container 0b273785e83e [2023-03-31T04:56:59.499Z] ---> 4b51ade4dbca [2023-03-31T04:56:59.499Z] Step 7/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-03-31T04:56:59.499Z] ---> Running in 4364aa4cab65 [2023-03-31T04:56:59.758Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz [2023-03-31T04:57:00.017Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz [2023-03-31T04:57:00.277Z] OK: 269 MiB in 57 packages [2023-03-31T04:57:00.536Z] Removing intermediate container 4364aa4cab65 [2023-03-31T04:57:00.536Z] ---> 8a819cc13e22 [2023-03-31T04:57:00.536Z] Step 8/25 : COPY go.mod vendor* ./ [2023-03-31T04:57:00.795Z] ---> 5b685fddbf04 [2023-03-31T04:57:00.795Z] Step 9/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-03-31T04:57:00.795Z] ---> Running in c9e5c5c3ffb0 [2023-03-31T04:57:01.730Z] Removing intermediate container c9e5c5c3ffb0 [2023-03-31T04:57:01.730Z] ---> 3e88e0035b59 [2023-03-31T04:57:01.730Z] Step 10/25 : COPY . . [2023-03-31T04:57:01.989Z] ---> 662011215217 [2023-03-31T04:57:01.989Z] Step 11/25 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-03-31T04:57:01.989Z] ---> Running in ee466a598aec [2023-03-31T04:57:01.989Z] Removing intermediate container ee466a598aec [2023-03-31T04:57:01.989Z] ---> 20525825aa7a [2023-03-31T04:57:01.989Z] Step 12/25 : RUN $MAKE [2023-03-31T04:57:02.248Z] ---> Running in 5cdfddc67b65 [2023-03-31T04:57:02.507Z] 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 [2023-03-31T04:57:16.960Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-6529 in /w/workspace/foundry_device-virtual-go_PR-374 [Pipeline] { [Pipeline] ws [2023-03-31T04:57:16.974Z] Running in /w/workspace/device-virtual-go/6 [Pipeline] { [Pipeline] checkout [2023-03-31T04:57:17.010Z] The recommended git tool is: git [2023-03-31T04:57:20.593Z] Removing intermediate container 5cdfddc67b65 [2023-03-31T04:57:20.593Z] ---> cc99ce8cf3cf [2023-03-31T04:57:20.593Z] Step 13/25 : FROM alpine:3.17 [2023-03-31T04:57:20.593Z] 3.17: Pulling from library/alpine [2023-03-31T04:57:20.853Z] f56be85fc22e: Pulling fs layer [2023-03-31T04:57:20.853Z] f56be85fc22e: Verifying Checksum [2023-03-31T04:57:20.853Z] f56be85fc22e: Download complete [2023-03-31T04:57:21.113Z] f56be85fc22e: Pull complete [2023-03-31T04:57:21.113Z] Digest: sha256:124c7d2707904eea7431fffe91522a01e5a861a624ee31d03372cc1d138a3126 [2023-03-31T04:57:21.113Z] Status: Downloaded newer image for alpine:3.17 [2023-03-31T04:57:21.113Z] ---> 9ed4aefc74f6 [2023-03-31T04:57:21.113Z] Step 14/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2021: IOTech' [2023-03-31T04:57:21.113Z] ---> Running in 05007be23536 [2023-03-31T04:57:21.371Z] Removing intermediate container 05007be23536 [2023-03-31T04:57:21.371Z] ---> 1f07ce213925 [2023-03-31T04:57:21.371Z] Step 15/25 : RUN apk add --update --no-cache dumb-init [2023-03-31T04:57:21.371Z] ---> Running in b9cdf63d1c6d [2023-03-31T04:57:21.629Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz [2023-03-31T04:57:21.629Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz [2023-03-31T04:57:21.809Z] using credential edgex-jenkins-ssh [2023-03-31T04:57:21.825Z] Cloning the remote Git repository [2023-03-31T04:57:21.888Z] (1/1) Installing dumb-init (1.2.5-r2) [2023-03-31T04:57:21.888Z] Executing busybox-1.35.0-r29.trigger [2023-03-31T04:57:21.888Z] OK: 7 MiB in 16 packages [2023-03-31T04:57:21.865Z] Cloning repository git@github.com:edgexfoundry/device-virtual-go.git [2023-03-31T04:57:22.147Z] Removing intermediate container b9cdf63d1c6d [2023-03-31T04:57:22.147Z] ---> 3ebf9bd5804d [2023-03-31T04:57:22.147Z] Step 16/25 : WORKDIR / [2023-03-31T04:57:22.147Z] ---> Running in 94e09c711cce [2023-03-31T04:57:22.406Z] Removing intermediate container 94e09c711cce [2023-03-31T04:57:22.406Z] ---> 5fddbdcd8a12 [2023-03-31T04:57:22.406Z] Step 17/25 : COPY --from=builder /device-virtual-go/Attribution.txt / [2023-03-31T04:57:22.406Z] ---> 07f31ec065b7 [2023-03-31T04:57:22.406Z] Step 18/25 : COPY --from=builder /device-virtual-go/LICENSE / [2023-03-31T04:57:22.666Z] ---> 21157b738bba [2023-03-31T04:57:22.666Z] Step 19/25 : COPY --from=builder /device-virtual-go/cmd / [2023-03-31T04:57:21.953Z] > git init /w/workspace/device-virtual-go/6 # timeout=10 [2023-03-31T04:57:22.078Z] Fetching upstream changes from git@github.com:edgexfoundry/device-virtual-go.git [2023-03-31T04:57:22.079Z] > git --version # timeout=10 [2023-03-31T04:57:22.105Z] > git --version # 'git version 2.25.1' [2023-03-31T04:57:22.108Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-03-31T04:57:22.238Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-virtual-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-03-31T04:57:23.256Z] ---> 1f10f95b06fe [2023-03-31T04:57:23.256Z] Step 20/25 : EXPOSE 59900 [2023-03-31T04:57:23.256Z] ---> Running in e10a08bd2948 [2023-03-31T04:57:23.256Z] Removing intermediate container e10a08bd2948 [2023-03-31T04:57:23.256Z] ---> c35e2ee49334 [2023-03-31T04:57:23.256Z] Step 21/25 : ENTRYPOINT ["/device-virtual"] [2023-03-31T04:57:23.515Z] ---> Running in bcc35f8f3172 [2023-03-31T04:57:23.515Z] Removing intermediate container bcc35f8f3172 [2023-03-31T04:57:23.515Z] ---> 562633384e52 [2023-03-31T04:57:23.515Z] Step 22/25 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry"] [2023-03-31T04:57:23.515Z] ---> Running in deefe9bf5a61 [2023-03-31T04:57:23.515Z] Removing intermediate container deefe9bf5a61 [2023-03-31T04:57:23.515Z] ---> 19a177f4ce34 [2023-03-31T04:57:23.515Z] Step 23/25 : LABEL arch=amd64 [2023-03-31T04:57:23.515Z] ---> Running in 5cec38310bc7 [2023-03-31T04:57:23.774Z] Removing intermediate container 5cec38310bc7 [2023-03-31T04:57:23.774Z] ---> 4c63a532a4a7 [2023-03-31T04:57:23.774Z] Step 24/25 : LABEL git_sha=0fb4799150e9700d43941260ba1b1cb6fbb6282a [2023-03-31T04:57:23.774Z] ---> Running in fb3fd1261c37 [2023-03-31T04:57:23.774Z] Removing intermediate container fb3fd1261c37 [2023-03-31T04:57:23.774Z] ---> 64ac28b517f9 [2023-03-31T04:57:23.774Z] Step 25/25 : LABEL version=0.0.0 [2023-03-31T04:57:23.774Z] ---> Running in 13acb7c04ea5 [2023-03-31T04:57:23.774Z] Removing intermediate container 13acb7c04ea5 [2023-03-31T04:57:23.774Z] ---> a36cf838d2d4 [2023-03-31T04:57:23.774Z] [Warning] One or more build-args [ARCH] were not consumed [2023-03-31T04:57:23.774Z] Successfully built a36cf838d2d4 [2023-03-31T04:57:24.033Z] 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 [2023-03-31T04:57:24.276Z] > git config remote.origin.url git@github.com:edgexfoundry/device-virtual-go.git # timeout=10 [2023-03-31T04:57:24.298Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-03-31T04:57:24.476Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-03-31T04:57:24.476Z] [2023-03-31T04:57:24.476Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-31T04:57:24.769Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-03-31T04:57:24.769Z] latest: Pulling from edgex-lftools-log-publisher [2023-03-31T04:57:24.769Z] 5eb5b503b376: Pulling fs layer [2023-03-31T04:57:24.769Z] 5c69ac0246d0: Pulling fs layer [2023-03-31T04:57:24.769Z] ec43610c2a17: Pulling fs layer [2023-03-31T04:57:24.769Z] 3a2ae6a8a46f: Pulling fs layer [2023-03-31T04:57:24.769Z] 33b1e0a273af: Pulling fs layer [2023-03-31T04:57:24.769Z] 3a2ae6a8a46f: Waiting [2023-03-31T04:57:24.769Z] 5d3b04190fa2: Pulling fs layer [2023-03-31T04:57:24.769Z] 33b1e0a273af: Waiting [2023-03-31T04:57:24.769Z] 2f39f015ded8: Pulling fs layer [2023-03-31T04:57:24.769Z] 2f39f015ded8: Waiting [2023-03-31T04:57:24.769Z] 5d3b04190fa2: Waiting [2023-03-31T04:57:24.769Z] 3a2ae6a8a46f: Verifying Checksum [2023-03-31T04:57:24.769Z] 3a2ae6a8a46f: Download complete [2023-03-31T04:57:24.769Z] 33b1e0a273af: Verifying Checksum [2023-03-31T04:57:24.769Z] 33b1e0a273af: Download complete [2023-03-31T04:57:24.769Z] 5d3b04190fa2: Verifying Checksum [2023-03-31T04:57:24.769Z] 5d3b04190fa2: Download complete [2023-03-31T04:57:24.769Z] ec43610c2a17: Verifying Checksum [2023-03-31T04:57:24.769Z] ec43610c2a17: Download complete [2023-03-31T04:57:25.029Z] 5eb5b503b376: Verifying Checksum [2023-03-31T04:57:25.029Z] 5eb5b503b376: Download complete [2023-03-31T04:57:25.597Z] 2f39f015ded8: Verifying Checksum [2023-03-31T04:57:25.597Z] 2f39f015ded8: Download complete [2023-03-31T04:57:25.076Z] > git config remote.origin.url git@github.com:edgexfoundry/device-virtual-go.git # timeout=10 [2023-03-31T04:57:25.109Z] Fetching upstream changes from git@github.com:edgexfoundry/device-virtual-go.git [2023-03-31T04:57:25.110Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-03-31T04:57:25.124Z] > 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 [2023-03-31T04:57:25.810Z] Merging remotes/origin/main commit b76ffb3f756266f027a45c1155223ddd586b2bad into PR head commit 0fb4799150e9700d43941260ba1b1cb6fbb6282a [2023-03-31T04:57:26.056Z] Merge succeeded, producing 0fb4799150e9700d43941260ba1b1cb6fbb6282a [2023-03-31T04:57:26.056Z] Checking out Revision 0fb4799150e9700d43941260ba1b1cb6fbb6282a (PR-374) [2023-03-31T04:57:26.167Z] 5eb5b503b376: Pull complete [2023-03-31T04:57:26.428Z] 5c69ac0246d0: Pull complete [2023-03-31T04:57:26.686Z] ec43610c2a17: Pull complete [2023-03-31T04:57:26.952Z] 3a2ae6a8a46f: Pull complete [2023-03-31T04:57:26.952Z] 33b1e0a273af: Pull complete [2023-03-31T04:57:25.826Z] > git config core.sparsecheckout # timeout=10 [2023-03-31T04:57:25.898Z] > git checkout -f 0fb4799150e9700d43941260ba1b1cb6fbb6282a # timeout=10 [2023-03-31T04:57:25.974Z] > git remote # timeout=10 [2023-03-31T04:57:25.990Z] > git config --get remote.origin.url # timeout=10 [2023-03-31T04:57:26.004Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-03-31T04:57:26.016Z] > git merge b76ffb3f756266f027a45c1155223ddd586b2bad # timeout=10 [2023-03-31T04:57:26.036Z] > git rev-parse HEAD^{commit} # timeout=10 [2023-03-31T04:57:26.063Z] > git config core.sparsecheckout # timeout=10 [2023-03-31T04:57:26.074Z] > git checkout -f 0fb4799150e9700d43941260ba1b1cb6fbb6282a # timeout=10 [2023-03-31T04:57:27.211Z] 5d3b04190fa2: Pull complete [2023-03-31T04:57:29.498Z] Commit message: "feat: Allow min equal to max when generate random value" [2023-03-31T04:57:29.960Z] [2023-03-31T04:57:29.960Z] GitHub has been notified of this commit’s build result [2023-03-31T04:57:29.960Z] [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-03-31T04:57:30.469Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2023-03-31T04:57:30.469Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-03-31T04:57:30.469Z] Dload Upload Total Spent Left Speed [2023-03-31T04:57:30.469Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 104k 0 --:--:-- --:--:-- --:--:-- 104k [Pipeline] sh [2023-03-31T04:57:31.175Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2023-03-31T04:57:31.500Z] + sudo tee /etc/docker/daemon.new [2023-03-31T04:57:31.500Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2023-03-31T04:57:31.500Z] { [2023-03-31T04:57:31.500Z] "registry-mirrors": [ [2023-03-31T04:57:31.500Z] "https://nexus3.edgexfoundry.org:10001" [2023-03-31T04:57:31.500Z] ], [2023-03-31T04:57:31.500Z] "bip": "10.250.0.254/24", [2023-03-31T04:57:31.500Z] "hosts": [ [2023-03-31T04:57:31.500Z] "tcp://0.0.0.0:5555", [2023-03-31T04:57:31.500Z] "unix:///var/run/docker.sock" [2023-03-31T04:57:31.500Z] ], [2023-03-31T04:57:31.500Z] "mtu": 1458, [2023-03-31T04:57:31.500Z] "selinux-enabled": true, [2023-03-31T04:57:31.500Z] "seccomp-profile": "/etc/docker/seccomp.json" [2023-03-31T04:57:31.500Z] } [Pipeline] sh [2023-03-31T04:57:31.825Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2023-03-31T04:57:32.152Z] + sudo service docker restart [2023-03-31T04:57:32.228Z] 2f39f015ded8: Pull complete [2023-03-31T04:57:32.229Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2023-03-31T04:57:32.229Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-03-31T04:57:32.229Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-31T04:57:32.316Z] prd-ubuntu20.04-docker-8c-8g-6528 does not seem to be running inside a container [2023-03-31T04:57:32.351Z] $ 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 [2023-03-31T04:57:34.640Z] $ docker top 56321391f6d99ac51344abdf78b3bbe21fb650a6be7e28cf7b357da576f278e8 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-03-31T04:57:35.047Z] ---> job-cost.sh [2023-03-31T04:57:35.047Z] lf-activate-venv: SKIPPING [2023-03-31T04:57:35.047Z] INFO: No Stack... [2023-03-31T04:57:35.614Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-03-31T04:57:35.873Z] INFO: Archiving Costs [Pipeline] sh [2023-03-31T04:57:36.163Z] + cat /w/workspace/foundry_device-virtual-go_PR-374/archives/cost.csv [2023-03-31T04:57:36.163Z] + cut -d, -f6 [Pipeline] lock [2023-03-31T04:57:36.173Z] Trying to acquire lock on [jenkins-edgexfoundry-device-virtual-go-PR-374-6-stack-cost] [2023-03-31T04:57:36.179Z] Resource [jenkins-edgexfoundry-device-virtual-go-PR-374-6-stack-cost] did not exist. Created. [2023-03-31T04:57:36.179Z] Lock acquired on [jenkins-edgexfoundry-device-virtual-go-PR-374-6-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-03-31T04:57:36.480Z] + echo total: 0.2199999988079071 [Pipeline] stash [2023-03-31T04:57:36.506Z] Stashed 1 file(s) [Pipeline] } [2023-03-31T04:57:36.515Z] Lock released on resource [jenkins-edgexfoundry-device-virtual-go-PR-374-6-stack-cost] [Pipeline] // lock [Pipeline] } [2023-03-31T04:57:36.530Z] $ docker stop --time=1 56321391f6d99ac51344abdf78b3bbe21fb650a6be7e28cf7b357da576f278e8 [2023-03-31T04:57:37.675Z] $ docker rm -f --volumes 56321391f6d99ac51344abdf78b3bbe21fb650a6be7e28cf7b357da576f278e8 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-03-31T04:57:50.434Z] provisioning config files... [2023-03-31T04:57:50.462Z] copy managed file [device-virtual-go-settings] to file:/w/workspace/device-virtual-go/6@tmp/config9497774164839152135tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-03-31T04:57:50.812Z] ---> docker-login.sh [2023-03-31T04:57:50.812Z] nexus3.edgexfoundry.org:10001 [2023-03-31T04:57:51.400Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-31T04:57:51.400Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-31T04:57:51.400Z] Configure a credential helper to remove this warning. See [2023-03-31T04:57:51.400Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-31T04:57:51.400Z] [2023-03-31T04:57:51.400Z] Login Succeeded [2023-03-31T04:57:51.400Z] nexus3.edgexfoundry.org:10002 [2023-03-31T04:57:51.671Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-31T04:57:51.671Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-31T04:57:51.671Z] Configure a credential helper to remove this warning. See [2023-03-31T04:57:51.671Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-31T04:57:51.671Z] [2023-03-31T04:57:51.671Z] Login Succeeded [2023-03-31T04:57:51.671Z] nexus3.edgexfoundry.org:10003 [2023-03-31T04:57:51.949Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-31T04:57:52.219Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-31T04:57:52.219Z] Configure a credential helper to remove this warning. See [2023-03-31T04:57:52.219Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-31T04:57:52.219Z] [2023-03-31T04:57:52.219Z] Login Succeeded [2023-03-31T04:57:52.219Z] nexus3.edgexfoundry.org:10004 [2023-03-31T04:57:52.491Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-31T04:57:52.491Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-31T04:57:52.491Z] Configure a credential helper to remove this warning. See [2023-03-31T04:57:52.491Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-31T04:57:52.491Z] [2023-03-31T04:57:52.491Z] Login Succeeded [2023-03-31T04:57:52.491Z] docker.io [2023-03-31T04:57:52.762Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-31T04:57:53.032Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-31T04:57:53.032Z] Configure a credential helper to remove this warning. See [2023-03-31T04:57:53.032Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-31T04:57:53.032Z] [2023-03-31T04:57:53.032Z] Login Succeeded [2023-03-31T04:57:53.032Z] ---> docker-login.sh ends [Pipeline] } [2023-03-31T04:57:53.047Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-03-31T04:57:53.305Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-03-31T04:57:53.322Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-03-31T04:57:53.335Z] ========================================================= [2023-03-31T04:57:53.335Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine] [2023-03-31T04:57:53.335Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-31T04:57:53.680Z] + 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 . [2023-03-31T04:57:54.280Z] Sending build context to Docker daemon 12MB [2023-03-31T04:57:54.280Z] Step 1/12 : ARG BASE=golang:1.20-alpine3.17 [2023-03-31T04:57:54.280Z] Step 2/12 : FROM ${BASE} AS builder [2023-03-31T04:57:54.280Z] 1.20-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2023-03-31T04:57:54.280Z] af6eaf76a39c: Pulling fs layer [2023-03-31T04:57:54.280Z] 55522c791124: Pulling fs layer [2023-03-31T04:57:54.280Z] ce5c4a1c91eb: Pulling fs layer [2023-03-31T04:57:54.280Z] 169dfbe0d373: Pulling fs layer [2023-03-31T04:57:54.280Z] e1ff8fa3b103: Pulling fs layer [2023-03-31T04:57:54.280Z] 52ebb69f0ebf: Pulling fs layer [2023-03-31T04:57:54.280Z] 5abe8eddf0d5: Pulling fs layer [2023-03-31T04:57:54.280Z] 169dfbe0d373: Waiting [2023-03-31T04:57:54.280Z] e1ff8fa3b103: Waiting [2023-03-31T04:57:54.280Z] 52ebb69f0ebf: Waiting [2023-03-31T04:57:54.280Z] 5abe8eddf0d5: Waiting [2023-03-31T04:57:54.280Z] 55522c791124: Verifying Checksum [2023-03-31T04:57:54.280Z] 55522c791124: Download complete [2023-03-31T04:57:54.548Z] 169dfbe0d373: Verifying Checksum [2023-03-31T04:57:54.548Z] 169dfbe0d373: Download complete [2023-03-31T04:57:54.548Z] e1ff8fa3b103: Download complete [2023-03-31T04:57:54.548Z] af6eaf76a39c: Verifying Checksum [2023-03-31T04:57:54.548Z] af6eaf76a39c: Download complete [2023-03-31T04:57:55.521Z] 5abe8eddf0d5: Verifying Checksum [2023-03-31T04:57:55.521Z] 5abe8eddf0d5: Download complete [2023-03-31T04:57:55.521Z] af6eaf76a39c: Pull complete [2023-03-31T04:57:56.111Z] 55522c791124: Pull complete [2023-03-31T04:57:57.083Z] ce5c4a1c91eb: Download complete [2023-03-31T04:57:57.083Z] 52ebb69f0ebf: Verifying Checksum [2023-03-31T04:57:57.083Z] 52ebb69f0ebf: Download complete [2023-03-31T04:58:09.428Z] ce5c4a1c91eb: Pull complete [2023-03-31T04:58:09.428Z] 169dfbe0d373: Pull complete [2023-03-31T04:58:09.428Z] e1ff8fa3b103: Pull complete [2023-03-31T04:58:16.088Z] 52ebb69f0ebf: Pull complete [2023-03-31T04:58:17.054Z] 5abe8eddf0d5: Pull complete [2023-03-31T04:58:17.054Z] Digest: sha256:978cc1420e451f27bd88fdeece3ad01a9109ec773b62f165dfc696fd516b3d8f [2023-03-31T04:58:17.054Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine [2023-03-31T04:58:17.054Z] ---> 6cb57ee374ae [2023-03-31T04:58:17.054Z] Step 3/12 : ARG ALPINE_PKG_BASE="make git openssh-client" [2023-03-31T04:58:19.082Z] ---> Running in f889e618dc4c [2023-03-31T04:58:19.350Z] Removing intermediate container f889e618dc4c [2023-03-31T04:58:19.350Z] ---> 8326fb0bebb0 [2023-03-31T04:58:19.350Z] Step 4/12 : ARG ALPINE_PKG_EXTRA="" [2023-03-31T04:58:19.350Z] ---> Running in 03c03e288b90 [2023-03-31T04:58:19.618Z] Removing intermediate container 03c03e288b90 [2023-03-31T04:58:19.618Z] ---> a0a9b3a70db9 [2023-03-31T04:58:19.618Z] Step 5/12 : ARG ADD_BUILD_TAGS="" [2023-03-31T04:58:19.618Z] ---> Running in 3fb786beb1e8 [2023-03-31T04:58:20.209Z] Removing intermediate container 3fb786beb1e8 [2023-03-31T04:58:20.209Z] ---> 5556dfd919df [2023-03-31T04:58:20.209Z] Step 6/12 : WORKDIR /device-virtual-go [2023-03-31T04:58:20.209Z] ---> Running in 088eeb6454c9 [2023-03-31T04:58:20.479Z] Removing intermediate container 088eeb6454c9 [2023-03-31T04:58:20.479Z] ---> 91da2ce2af26 [2023-03-31T04:58:20.479Z] Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-03-31T04:58:20.479Z] ---> Running in fd01707326d3 [2023-03-31T04:58:21.892Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz [2023-03-31T04:58:22.160Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz [2023-03-31T04:58:23.122Z] (1/4) Installing openssh-keygen (9.1_p1-r2) [2023-03-31T04:58:23.122Z] (2/4) Installing libedit (20221030.3.1-r0) [2023-03-31T04:58:23.122Z] (3/4) Installing openssh-client-common (9.1_p1-r2) [2023-03-31T04:58:23.393Z] (4/4) Installing openssh-client-default (9.1_p1-r2) [2023-03-31T04:58:23.393Z] Executing busybox-1.35.0-r29.trigger [2023-03-31T04:58:23.393Z] OK: 268 MiB in 57 packages [2023-03-31T04:58:24.356Z] Removing intermediate container fd01707326d3 [2023-03-31T04:58:24.356Z] ---> 9c411b763354 [2023-03-31T04:58:24.356Z] Step 8/12 : COPY go.mod vendor* ./ [2023-03-31T04:58:24.942Z] ---> 3a8fa0849be6 [2023-03-31T04:58:24.942Z] Step 9/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-03-31T04:58:24.942Z] ---> Running in 1d8fc45ad80f [2023-03-31T04:59:32.859Z] Removing intermediate container 1d8fc45ad80f [2023-03-31T04:59:32.860Z] ---> e095e7a31253 [2023-03-31T04:59:32.860Z] Step 10/12 : COPY . . [2023-03-31T04:59:32.860Z] ---> bda2d4c94bd4 [2023-03-31T04:59:32.860Z] Step 11/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-03-31T04:59:32.860Z] ---> Running in 9e7f8ff1d90b [2023-03-31T04:59:32.860Z] Removing intermediate container 9e7f8ff1d90b [2023-03-31T04:59:32.860Z] ---> b6b7800b3c86 [2023-03-31T04:59:32.860Z] Step 12/12 : RUN $MAKE [2023-03-31T04:59:32.860Z] ---> Running in e55fc7df3b6e [2023-03-31T04:59:32.860Z] noop [2023-03-31T04:59:32.860Z] Removing intermediate container e55fc7df3b6e [2023-03-31T04:59:32.860Z] ---> 62c83d957a2f [2023-03-31T04:59:32.860Z] Successfully built 62c83d957a2f [2023-03-31T04:59:32.860Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-31T04:59:33.218Z] + docker inspect -f . ci-base-image-arm64 [2023-03-31T04:59:33.218Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-31T04:59:33.430Z] prd-ubuntu20.04-docker-arm64-4c-16g-6529 does not seem to be running inside a container [2023-03-31T04:59:33.499Z] $ 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 [2023-03-31T04:59:34.705Z] $ docker top 1821a01932ea6b5f5bdb42c82bbee6e40b467526ef80c34c368871a79e654b09 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-03-31T04:59:35.524Z] + go version [2023-03-31T04:59:35.524Z] go version go1.20.2 linux/arm64 [Pipeline] } [2023-03-31T04:59:35.545Z] $ docker stop --time=1 1821a01932ea6b5f5bdb42c82bbee6e40b467526ef80c34c368871a79e654b09 [2023-03-31T04:59:37.155Z] $ 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 [2023-03-31T04:59:37.686Z] + docker inspect -f . ci-base-image-arm64 [2023-03-31T04:59:37.686Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-31T04:59:37.858Z] prd-ubuntu20.04-docker-arm64-4c-16g-6529 does not seem to be running inside a container [2023-03-31T04:59:37.922Z] $ 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 [2023-03-31T04:59:39.037Z] $ docker top c33126d35899f75b434d465d1479f8bc26814d57c7971e25c088f78131ecb2fc -eo pid,comm [Pipeline] { [Pipeline] sh [2023-03-31T04:59:39.864Z] + git config --global --add safe.directory /w/workspace/device-virtual-go/6 [Pipeline] fileExists [Pipeline] sh [2023-03-31T04:59:40.190Z] + make test [2023-03-31T04:59:40.190Z] go test ./... -coverprofile=coverage.out [2023-03-31T05:00:12.419Z] ? github.com/edgexfoundry/device-virtual-go [no test files] [2023-03-31T05:02:04.081Z] ? github.com/edgexfoundry/device-virtual-go/cmd [no test files] [2023-03-31T05:02:04.081Z] ok github.com/edgexfoundry/device-virtual-go/internal/driver 0.162s coverage: 59.3% of statements [2023-03-31T05:02:04.081Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2023-03-31T05:02:04.081Z] go vet ./... [2023-03-31T05:02:26.119Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-03-31T05:02:26.119Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2023-03-31T05:02:26.119Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2023-03-31T05:02:26.138Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2023-03-31T05:02:26.156Z] $ docker stop --time=1 c33126d35899f75b434d465d1479f8bc26814d57c7971e25c088f78131ecb2fc [2023-03-31T05:02:28.123Z] $ docker rm -f --volumes c33126d35899f75b434d465d1479f8bc26814d57c7971e25c088f78131ecb2fc [Pipeline] // withDockerContainer [Pipeline] sh [2023-03-31T05:02:29.240Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2023-03-31T05:02:29.267Z] Warning: overwriting stash ‘coverage-report’ [2023-03-31T05:02:29.871Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-03-31T05:02:30.247Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-03-31T05:02:30.578Z] + ls -al . [2023-03-31T05:02:30.578Z] total 188 [2023-03-31T05:02:30.578Z] drwxrwxr-x 8 jenkins jenkins 4096 Mar 31 04:59 . [2023-03-31T05:02:30.578Z] drwxrwxr-x 4 jenkins jenkins 4096 Mar 31 04:57 .. [2023-03-31T05:02:30.578Z] drwxrwxr-x 8 jenkins jenkins 4096 Mar 31 04:57 .git [2023-03-31T05:02:30.578Z] drwxrwxr-x 3 jenkins jenkins 4096 Mar 31 04:57 .github [2023-03-31T05:02:30.578Z] -rw-rw-r-- 1 jenkins jenkins 337 Mar 31 04:57 .gitignore [2023-03-31T05:02:30.578Z] -rw-rw-r-- 1 jenkins jenkins 41 Mar 31 04:57 .golangci.yml [2023-03-31T05:02:30.578Z] -rw-rw-r-- 1 jenkins jenkins 8641 Mar 31 04:57 Attribution.txt [2023-03-31T05:02:30.579Z] -rw-rw-r-- 1 jenkins jenkins 11367 Mar 31 04:57 CHANGELOG.md [2023-03-31T05:02:30.579Z] -rw-rw-r-- 1 jenkins jenkins 1646 Mar 31 04:57 Dockerfile [2023-03-31T05:02:30.579Z] -rw-rw-r-- 1 jenkins jenkins 677 Mar 31 04:57 GOVERNANCE.md [2023-03-31T05:02:30.579Z] -rw-rw-r-- 1 jenkins jenkins 660 Mar 31 04:57 Jenkinsfile [2023-03-31T05:02:30.579Z] -rw-rw-r-- 1 jenkins jenkins 11340 Mar 31 04:57 LICENSE [2023-03-31T05:02:30.579Z] -rw-rw-r-- 1 jenkins jenkins 1696 Mar 31 04:57 Makefile [2023-03-31T05:02:30.579Z] -rw-rw-r-- 1 jenkins jenkins 623 Mar 31 04:57 OWNERS.md [2023-03-31T05:02:30.579Z] -rw-rw-r-- 1 jenkins jenkins 3578 Mar 31 04:57 README.md [2023-03-31T05:02:30.579Z] -rw-rw-r-- 1 jenkins jenkins 5 Mar 31 04:55 VERSION [2023-03-31T05:02:30.579Z] drwxrwxr-x 2 jenkins jenkins 4096 Mar 31 04:57 bin [2023-03-31T05:02:30.579Z] drwxrwxr-x 3 jenkins jenkins 4096 Mar 31 04:57 cmd [2023-03-31T05:02:30.579Z] -rw-r--r-- 1 jenkins jenkins 42791 Mar 31 05:01 coverage.out [2023-03-31T05:02:30.579Z] -rw-rw-r-- 1 jenkins jenkins 3206 Mar 31 04:57 go.mod [2023-03-31T05:02:30.579Z] -rw-rw-r-- 1 jenkins jenkins 30819 Mar 31 04:57 go.sum [2023-03-31T05:02:30.579Z] drwxrwxr-x 3 jenkins jenkins 4096 Mar 31 04:57 internal [2023-03-31T05:02:30.579Z] drwxrwxr-x 4 jenkins jenkins 4096 Mar 31 04:57 snap [2023-03-31T05:02:30.579Z] -rw-rw-r-- 1 jenkins jenkins 235 Mar 31 04:57 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-31T05:02:30.907Z] + 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 . [2023-03-31T05:02:31.861Z] Sending build context to Docker daemon 12.04MB [2023-03-31T05:02:31.861Z] Step 1/25 : ARG BASE=golang:1.20-alpine3.17 [2023-03-31T05:02:31.861Z] Step 2/25 : FROM ${BASE} AS builder [2023-03-31T05:02:31.861Z] ---> 62c83d957a2f [2023-03-31T05:02:31.861Z] Step 3/25 : ARG ALPINE_PKG_BASE="make git openssh-client" [2023-03-31T05:02:32.134Z] ---> Running in 3f912b9490b3 [2023-03-31T05:02:32.401Z] Removing intermediate container 3f912b9490b3 [2023-03-31T05:02:32.401Z] ---> 2c4f465aed69 [2023-03-31T05:02:32.401Z] Step 4/25 : ARG ALPINE_PKG_EXTRA="" [2023-03-31T05:02:32.669Z] ---> Running in 1e509f0387de [2023-03-31T05:02:32.934Z] Removing intermediate container 1e509f0387de [2023-03-31T05:02:32.934Z] ---> 91bc783136a8 [2023-03-31T05:02:32.934Z] Step 5/25 : ARG ADD_BUILD_TAGS="" [2023-03-31T05:02:32.934Z] ---> Running in 7131dc14dfd6 [2023-03-31T05:02:33.517Z] Removing intermediate container 7131dc14dfd6 [2023-03-31T05:02:33.517Z] ---> 6b0f2fc98355 [2023-03-31T05:02:33.517Z] Step 6/25 : WORKDIR /device-virtual-go [2023-03-31T05:02:33.517Z] ---> Running in 92437e817396 [2023-03-31T05:02:34.102Z] Removing intermediate container 92437e817396 [2023-03-31T05:02:34.102Z] ---> e0edcfd8ec27 [2023-03-31T05:02:34.102Z] Step 7/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-03-31T05:02:34.102Z] ---> Running in a31864ba69d5 [2023-03-31T05:02:35.514Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz [2023-03-31T05:02:36.211Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz [2023-03-31T05:02:37.220Z] OK: 268 MiB in 57 packages [2023-03-31T05:02:39.199Z] Removing intermediate container a31864ba69d5 [2023-03-31T05:02:39.199Z] ---> b607ce81f07b [2023-03-31T05:02:39.199Z] Step 8/25 : COPY go.mod vendor* ./ [2023-03-31T05:02:41.146Z] ---> a5e5dcc501d0 [2023-03-31T05:02:41.146Z] Step 9/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-03-31T05:02:41.146Z] ---> Running in 1d14e867c557 [2023-03-31T05:02:44.494Z] Removing intermediate container 1d14e867c557 [2023-03-31T05:02:44.494Z] ---> 11c52911137c [2023-03-31T05:02:44.494Z] Step 10/25 : COPY . . [2023-03-31T05:02:45.079Z] ---> c2eb523651ed [2023-03-31T05:02:45.079Z] Step 11/25 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-03-31T05:02:45.346Z] ---> Running in 4caca83b2502 [2023-03-31T05:02:45.615Z] Removing intermediate container 4caca83b2502 [2023-03-31T05:02:45.615Z] ---> 7630da351cef [2023-03-31T05:02:45.615Z] Step 12/25 : RUN $MAKE [2023-03-31T05:02:45.615Z] ---> Running in 028f986319d8 [2023-03-31T05:02:46.573Z] 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 [2023-03-31T05:04:53.268Z] Removing intermediate container 028f986319d8 [2023-03-31T05:04:53.268Z] ---> 12598698645f [2023-03-31T05:04:53.268Z] Step 13/25 : FROM alpine:3.17 [2023-03-31T05:04:53.268Z] 3.17: Pulling from library/alpine [2023-03-31T05:04:53.268Z] c41833b44d91: Pulling fs layer [2023-03-31T05:04:53.268Z] c41833b44d91: Verifying Checksum [2023-03-31T05:04:53.268Z] c41833b44d91: Download complete [2023-03-31T05:04:53.268Z] c41833b44d91: Pull complete [2023-03-31T05:04:53.268Z] Digest: sha256:124c7d2707904eea7431fffe91522a01e5a861a624ee31d03372cc1d138a3126 [2023-03-31T05:04:53.269Z] Status: Downloaded newer image for alpine:3.17 [2023-03-31T05:04:53.269Z] ---> 51e60588ff2c [2023-03-31T05:04:53.269Z] Step 14/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2021: IOTech' [2023-03-31T05:04:53.269Z] ---> Running in 23d153eafda9 [2023-03-31T05:04:53.269Z] Removing intermediate container 23d153eafda9 [2023-03-31T05:04:53.269Z] ---> bea9618b1c00 [2023-03-31T05:04:53.269Z] Step 15/25 : RUN apk add --update --no-cache dumb-init [2023-03-31T05:04:53.269Z] ---> Running in 8f51def4c0f7 [2023-03-31T05:04:53.269Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz [2023-03-31T05:04:53.269Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz [2023-03-31T05:04:53.269Z] (1/1) Installing dumb-init (1.2.5-r2) [2023-03-31T05:04:53.269Z] Executing busybox-1.35.0-r29.trigger [2023-03-31T05:04:53.269Z] OK: 8 MiB in 16 packages [2023-03-31T05:04:53.269Z] Removing intermediate container 8f51def4c0f7 [2023-03-31T05:04:53.269Z] ---> 059f8ff1c594 [2023-03-31T05:04:53.269Z] Step 16/25 : WORKDIR / [2023-03-31T05:04:53.269Z] ---> Running in 90b2295d82a8 [2023-03-31T05:04:53.269Z] Removing intermediate container 90b2295d82a8 [2023-03-31T05:04:53.269Z] ---> c5f7b23923ab [2023-03-31T05:04:53.269Z] Step 17/25 : COPY --from=builder /device-virtual-go/Attribution.txt / [2023-03-31T05:04:53.269Z] ---> 4847f1303448 [2023-03-31T05:04:53.269Z] Step 18/25 : COPY --from=builder /device-virtual-go/LICENSE / [2023-03-31T05:04:53.269Z] ---> 2ae072266d71 [2023-03-31T05:04:53.269Z] Step 19/25 : COPY --from=builder /device-virtual-go/cmd / [2023-03-31T05:04:53.865Z] ---> ef7436a260ff [2023-03-31T05:04:53.865Z] Step 20/25 : EXPOSE 59900 [2023-03-31T05:04:53.865Z] ---> Running in 080a3db1fb17 [2023-03-31T05:04:54.138Z] Removing intermediate container 080a3db1fb17 [2023-03-31T05:04:54.138Z] ---> 08142c631562 [2023-03-31T05:04:54.138Z] Step 21/25 : ENTRYPOINT ["/device-virtual"] [2023-03-31T05:04:54.138Z] ---> Running in 57b8bf8df0b9 [2023-03-31T05:04:54.726Z] Removing intermediate container 57b8bf8df0b9 [2023-03-31T05:04:54.726Z] ---> 6eadb91eaa8b [2023-03-31T05:04:54.726Z] Step 22/25 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry"] [2023-03-31T05:04:54.726Z] ---> Running in 74f7764e2852 [2023-03-31T05:04:54.994Z] Removing intermediate container 74f7764e2852 [2023-03-31T05:04:54.994Z] ---> df779beb57f9 [2023-03-31T05:04:54.994Z] Step 23/25 : LABEL arch=arm64 [2023-03-31T05:04:54.994Z] ---> Running in 2e3cad108cbb [2023-03-31T05:04:55.262Z] Removing intermediate container 2e3cad108cbb [2023-03-31T05:04:55.262Z] ---> cc3e16d3da2c [2023-03-31T05:04:55.262Z] Step 24/25 : LABEL git_sha=0fb4799150e9700d43941260ba1b1cb6fbb6282a [2023-03-31T05:04:55.262Z] ---> Running in 1c77e968442d [2023-03-31T05:04:55.532Z] Removing intermediate container 1c77e968442d [2023-03-31T05:04:55.532Z] ---> 6da8b6cfb257 [2023-03-31T05:04:55.532Z] Step 25/25 : LABEL version=0.0.0 [2023-03-31T05:04:55.813Z] ---> Running in d45e8650e4a7 [2023-03-31T05:04:56.081Z] Removing intermediate container d45e8650e4a7 [2023-03-31T05:04:56.081Z] ---> 4555c0eeb85d [2023-03-31T05:04:56.081Z] [Warning] One or more build-args [ARCH] were not consumed [2023-03-31T05:04:56.081Z] Successfully built 4555c0eeb85d [2023-03-31T05:04:56.081Z] 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 [2023-03-31T05:04:56.518Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-03-31T05:04:56.518Z] [2023-03-31T05:04:56.518Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-31T05:04:56.847Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-03-31T05:04:56.847Z] arm64: Pulling from edgex-lftools-log-publisher [2023-03-31T05:04:56.847Z] 8998bd30e6a1: Pulling fs layer [2023-03-31T05:04:56.847Z] 04944245beec: Pulling fs layer [2023-03-31T05:04:56.847Z] 699f458cf7ca: Pulling fs layer [2023-03-31T05:04:56.847Z] 765212b225bb: Pulling fs layer [2023-03-31T05:04:56.847Z] f23df028b6ca: Pulling fs layer [2023-03-31T05:04:56.847Z] d65c8cfc05b1: Pulling fs layer [2023-03-31T05:04:56.847Z] 2437ff75d9bd: Pulling fs layer [2023-03-31T05:04:56.847Z] f23df028b6ca: Waiting [2023-03-31T05:04:56.847Z] d65c8cfc05b1: Waiting [2023-03-31T05:04:56.847Z] 765212b225bb: Waiting [2023-03-31T05:04:56.847Z] 2437ff75d9bd: Waiting [2023-03-31T05:04:57.114Z] 04944245beec: Download complete [2023-03-31T05:04:57.114Z] 765212b225bb: Verifying Checksum [2023-03-31T05:04:57.114Z] 765212b225bb: Download complete [2023-03-31T05:04:57.114Z] f23df028b6ca: Verifying Checksum [2023-03-31T05:04:57.114Z] f23df028b6ca: Download complete [2023-03-31T05:04:57.114Z] d65c8cfc05b1: Verifying Checksum [2023-03-31T05:04:57.114Z] d65c8cfc05b1: Download complete [2023-03-31T05:04:57.392Z] 699f458cf7ca: Verifying Checksum [2023-03-31T05:04:57.392Z] 699f458cf7ca: Download complete [2023-03-31T05:04:57.663Z] 8998bd30e6a1: Verifying Checksum [2023-03-31T05:04:57.663Z] 8998bd30e6a1: Download complete [2023-03-31T05:05:00.250Z] 2437ff75d9bd: Verifying Checksum [2023-03-31T05:05:00.250Z] 2437ff75d9bd: Download complete [2023-03-31T05:05:01.677Z] 8998bd30e6a1: Pull complete [2023-03-31T05:05:02.260Z] 04944245beec: Pull complete [2023-03-31T05:05:03.671Z] 699f458cf7ca: Pull complete [2023-03-31T05:05:03.671Z] 765212b225bb: Pull complete [2023-03-31T05:05:05.081Z] f23df028b6ca: Pull complete [2023-03-31T05:05:05.348Z] d65c8cfc05b1: Pull complete [2023-03-31T05:05:20.340Z] 2437ff75d9bd: Pull complete [2023-03-31T05:05:20.340Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2023-03-31T05:05:20.340Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-03-31T05:05:20.340Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-31T05:05:20.532Z] prd-ubuntu20.04-docker-arm64-4c-16g-6529 does not seem to be running inside a container [2023-03-31T05:05:20.597Z] $ 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 [2023-03-31T05:05:23.272Z] $ docker top fb04b9dae42c4cee76f44792c81575e237601effb2c406c9ef5a734da04150df -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-03-31T05:05:24.109Z] ---> job-cost.sh [2023-03-31T05:05:24.109Z] lf-activate-venv: SKIPPING [2023-03-31T05:05:24.109Z] INFO: No Stack... [2023-03-31T05:05:24.376Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2023-03-31T05:05:25.336Z] INFO: Archiving Costs [Pipeline] sh [2023-03-31T05:05:25.972Z] + cat /w/workspace/device-virtual-go/6/archives/cost.csv [2023-03-31T05:05:25.972Z] + cut -d, -f6 [Pipeline] lock [2023-03-31T05:05:26.035Z] Trying to acquire lock on [jenkins-edgexfoundry-device-virtual-go-PR-374-6-stack-cost] [2023-03-31T05:05:26.042Z] Resource [jenkins-edgexfoundry-device-virtual-go-PR-374-6-stack-cost] did not exist. Created. [2023-03-31T05:05:26.042Z] Lock acquired on [jenkins-edgexfoundry-device-virtual-go-PR-374-6-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-03-31T05:05:26.702Z] /w/workspace/device-virtual-go/6@tmp/durable-238bfa74/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2023-03-31T05:05:27.035Z] + echo total: 0.10999999940395355 [Pipeline] stash [2023-03-31T05:05:27.056Z] Warning: overwriting stash ‘stack-cost’ [2023-03-31T05:05:27.109Z] Stashed 1 file(s) [Pipeline] } [2023-03-31T05:05:27.117Z] Lock released on resource [jenkins-edgexfoundry-device-virtual-go-PR-374-6-stack-cost] [Pipeline] // lock [Pipeline] } [2023-03-31T05:05:27.143Z] $ docker stop --time=1 fb04b9dae42c4cee76f44792c81575e237601effb2c406c9ef5a734da04150df [2023-03-31T05:05:28.658Z] $ 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 [2023-03-31T05:05:29.058Z] provisioning config files... [2023-03-31T05:05:29.065Z] copy managed file [device-virtual-go-codecov-token] to file:/w/workspace/foundry_device-virtual-go_PR-374@tmp/config8949775010905208245tmp [Pipeline] { [Pipeline] sh [2023-03-31T05:05:29.355Z] + set +x [2023-03-31T05:05:29.355Z] + curl -s https://codecov.io/bash [2023-03-31T05:05:29.355Z] + bash -s -- [2023-03-31T05:05:29.355Z] [2023-03-31T05:05:29.355Z] _____ _ [2023-03-31T05:05:29.355Z] / ____| | | [2023-03-31T05:05:29.355Z] | | ___ __| | ___ ___ _____ __ [2023-03-31T05:05:29.355Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2023-03-31T05:05:29.355Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2023-03-31T05:05:29.355Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2023-03-31T05:05:29.355Z] Bash-1.0.6 [2023-03-31T05:05:29.355Z] [2023-03-31T05:05:29.355Z] [2023-03-31T05:05:29.355Z] ==> git version 2.25.1 found [2023-03-31T05:05:29.355Z] ==> 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 [2023-03-31T05:05:29.355Z] Release-Date: 2020-01-08 [2023-03-31T05:05:29.355Z] Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp [2023-03-31T05:05:29.355Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2023-03-31T05:05:29.355Z] ==> Jenkins CI detected. [2023-03-31T05:05:29.355Z] current dir:  /w/workspace/foundry_device-virtual-go_PR-374 [2023-03-31T05:05:29.355Z] project root: . [2023-03-31T05:05:29.355Z] --> token set from env [2023-03-31T05:05:29.355Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2023-03-31T05:05:29.355Z] ==> Running gcov in . (disable via -X gcov) [2023-03-31T05:05:29.614Z] ==> Python coveragepy not found [2023-03-31T05:05:29.614Z] ==> Searching for coverage reports in: [2023-03-31T05:05:29.614Z] + . [2023-03-31T05:05:29.614Z] -> Found 1 reports [2023-03-31T05:05:29.614Z] ==> Detecting git/mercurial file structure [2023-03-31T05:05:29.614Z] ==> Reading reports [2023-03-31T05:05:29.614Z] + ./coverage.out bytes=42791 [2023-03-31T05:05:29.614Z] ==> Appending adjustments [2023-03-31T05:05:29.614Z] https://docs.codecov.io/docs/fixing-reports [2023-03-31T05:05:29.614Z] + Found adjustments [2023-03-31T05:05:29.614Z] ==> Gzipping contents [2023-03-31T05:05:29.614Z] 8.0K /tmp/codecov.w4cQ4m.gz [2023-03-31T05:05:29.614Z] ==> Uploading reports [2023-03-31T05:05:29.614Z] url: https://codecov.io [2023-03-31T05:05:29.614Z] 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= [2023-03-31T05:05:29.614Z] -> Pinging Codecov [2023-03-31T05:05:29.614Z] 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= [2023-03-31T05:05:29.873Z] -> Uploading to [2023-03-31T05:05:29.873Z] 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 [2023-03-31T05:05:29.873Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-03-31T05:05:29.873Z] Dload Upload Total Spent Left Speed [2023-03-31T05:05:30.133Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 5177 0 0 100 5177 0 16863 --:--:-- --:--:-- --:--:-- 16863 [2023-03-31T05:05:30.133Z] -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-virtual-go/commit/0fb4799150e9700d43941260ba1b1cb6fbb6282a [Pipeline] } [2023-03-31T05:05:30.140Z] 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 [2023-03-31T05:05:30.813Z] + [ -d /w/workspace/foundry_device-virtual-go_PR-374/archives ] [2023-03-31T05:05:30.813Z] + ls -al /w/workspace/foundry_device-virtual-go_PR-374/archives [2023-03-31T05:05:30.813Z] total 16 [2023-03-31T05:05:30.813Z] drwxr-xr-x 3 root root 4096 Mar 31 04:57 . [2023-03-31T05:05:30.813Z] drwxrwxr-x 10 jenkins jenkins 4096 Mar 31 04:57 .. [2023-03-31T05:05:30.813Z] drwxr-xr-x 2 root root 4096 Mar 31 04:57 cost [2023-03-31T05:05:30.813Z] -rw-r--r-- 1 root root 89 Mar 31 04:57 cost.csv [2023-03-31T05:05:30.813Z] + sudo chown -R jenkins:jenkins /w/workspace/foundry_device-virtual-go_PR-374/archives [2023-03-31T05:05:30.813Z] + ls -al /w/workspace/foundry_device-virtual-go_PR-374/archives [2023-03-31T05:05:30.813Z] total 16 [2023-03-31T05:05:30.813Z] drwxr-xr-x 3 jenkins jenkins 4096 Mar 31 04:57 . [2023-03-31T05:05:30.813Z] drwxrwxr-x 10 jenkins jenkins 4096 Mar 31 04:57 .. [2023-03-31T05:05:30.813Z] drwxr-xr-x 2 jenkins jenkins 4096 Mar 31 04:57 cost [2023-03-31T05:05:30.813Z] -rw-r--r-- 1 jenkins jenkins 89 Mar 31 04:57 cost.csv [Pipeline] libraryResource [Pipeline] sh [2023-03-31T05:05:31.101Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2023-03-31T05:05:31.959Z] ---> package-listing.sh [2023-03-31T05:05:31.959Z] ++ facter osfamily [2023-03-31T05:05:31.959Z] ++ tr '[:upper:]' '[:lower:]' [2023-03-31T05:05:32.218Z] + OS_FAMILY=debian [2023-03-31T05:05:32.218Z] + workspace=/w/workspace/foundry_device-virtual-go_PR-374 [2023-03-31T05:05:32.218Z] + START_PACKAGES=/tmp/packages_start.txt [2023-03-31T05:05:32.218Z] + END_PACKAGES=/tmp/packages_end.txt [2023-03-31T05:05:32.218Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2023-03-31T05:05:32.218Z] + PACKAGES=/tmp/packages_start.txt [2023-03-31T05:05:32.218Z] + '[' /w/workspace/foundry_device-virtual-go_PR-374 ']' [2023-03-31T05:05:32.219Z] + PACKAGES=/tmp/packages_end.txt [2023-03-31T05:05:32.219Z] + case "${OS_FAMILY}" in [2023-03-31T05:05:32.219Z] + dpkg -l [2023-03-31T05:05:32.219Z] + grep '^ii' [2023-03-31T05:05:32.219Z] + '[' -f /tmp/packages_start.txt ']' [2023-03-31T05:05:32.219Z] + '[' -f /tmp/packages_end.txt ']' [2023-03-31T05:05:32.219Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2023-03-31T05:05:32.219Z] + '[' /w/workspace/foundry_device-virtual-go_PR-374 ']' [2023-03-31T05:05:32.219Z] + mkdir -p /w/workspace/foundry_device-virtual-go_PR-374/archives/ [2023-03-31T05:05:32.219Z] + 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 [2023-03-31T05:05:32.229Z] 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 [2023-03-31T05:05:32.507Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-31T05:05:33.063Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-03-31T05:05:33.063Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-31T05:05:33.126Z] prd-ubuntu20.04-docker-8c-8g-6528 does not seem to be running inside a container [2023-03-31T05:05:33.153Z] $ 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 [2023-03-31T05:05:33.331Z] $ docker top 83ec5b6db701d5a4cb67a89acc8830e5ba38d49bbbf68964c4254dc08effbbeb -eo pid,comm [Pipeline] { [Pipeline] sh [2023-03-31T05:05:33.675Z] + touch /tmp/pre-build-complete [Pipeline] sh [2023-03-31T05:05:33.966Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2023-03-31T05:05:34.249Z] + ls /var/log/sa-host [2023-03-31T05:05:34.249Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-03-31T05:05:34.385Z] provisioning config files... [2023-03-31T05:05:34.392Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/foundry_device-virtual-go_PR-374@tmp/config4347459354443343015tmp [Pipeline] { [Pipeline] echo [2023-03-31T05:05:34.403Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2023-03-31T05:05:34.687Z] ---> create-netrc.sh [Pipeline] } [2023-03-31T05:05:34.694Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2023-03-31T05:05:35.014Z] ---> python-tools-install.sh [Pipeline] echo [2023-03-31T05:05:35.022Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2023-03-31T05:05:35.305Z] ---> sudo-logs.sh [2023-03-31T05:05:35.305Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2023-03-31T05:05:35.335Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2023-03-31T05:05:35.617Z] ---> job-cost.sh [2023-03-31T05:05:35.617Z] lf-activate-venv: SKIPPING [2023-03-31T05:05:35.617Z] DEBUG: total: 0.2199999988079071 [2023-03-31T05:05:35.617Z] INFO: Retrieving Stack Cost... [2023-03-31T05:05:35.878Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-03-31T05:05:36.448Z] INFO: Archiving Costs [Pipeline] echo [2023-03-31T05:05:36.463Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2023-03-31T05:05:36.747Z] ---> logs-deploy.sh [2023-03-31T05:05:36.747Z] lf-activate-venv: SKIPPING [2023-03-31T05:05:36.747Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-virtual-go/PR-374/6 [2023-03-31T05:05:36.747Z] INFO: archiving workspace using pattern(s): [2023-03-31T05:05:37.685Z] Archives upload complete. [2023-03-31T05:05:37.686Z] INFO: archiving logs to Nexus