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 d35a6d71fe87111dd6dc7ce2834c0e8400498827 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-ssh15840620600460479781.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-ssh9727909995507539859.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-ssh17704621683423231667.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-ssh13361658790822725728.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-ssh16832013340841943875.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision 65355178549468b165f8106641c96c3190b1d843 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 65355178549468b165f8106641c96c3190b1d843 # timeout=10 Commit message: "Fix: Add S3 URL in href to ship logs" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-virtual-go] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[ubuntu20.04-docker-8c-8g, ubuntu20.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-virtual-go-settings PROJECT: device-virtual-go USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.20 USE_ALPINE: true DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-virtual DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: false SWAGGER_API_FOLDERS: openapi/v1 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org SNYK_DEBUG: false [Pipeline] node Still waiting to schedule task Waiting for next available executor on ‘ubuntu20.04-docker-8c-8g’ Running on prd-ubuntu20.04-docker-8c-8g-6522 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 d35a6d71fe87111dd6dc7ce2834c0e8400498827 Merge succeeded, producing d35a6d71fe87111dd6dc7ce2834c0e8400498827 Checking out Revision d35a6d71fe87111dd6dc7ce2834c0e8400498827 (PR-374) > git config core.sparsecheckout # timeout=10 > git checkout -f d35a6d71fe87111dd6dc7ce2834c0e8400498827 # 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 d35a6d71fe87111dd6dc7ce2834c0e8400498827 # timeout=10 Commit message: "feat: Refactor random value generation function" First time build. Skipping changelog. > git rev-list --no-walk 345e6c0b679594b631ff321ae3f80b2f877a2670 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2023-03-31T01:47:13.454Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2023-03-31T01:47:13.507Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2023-03-31T01:47:13.517Z] ========================================================= [2023-03-31T01:47:13.517Z] EdgeX Global Pipelines Version Info [2023-03-31T01:47:13.517Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2023-03-31T01:47:14.247Z] ------------------- [2023-03-31T01:47:14.247Z] stable info: [2023-03-31T01:47:14.247Z] ------------------- [2023-03-31T01:47:14.247Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2023-03-31T01:47:14.247Z] Commit SHA: 66200e8eedfc470904d6b329e562ec5b45423d6a [2023-03-31T01:47:14.247Z] Message: update stable to v1.0.245 [2023-03-31T01:47:14.818Z] ------------------- [2023-03-31T01:47:14.818Z] experimental info: [2023-03-31T01:47:14.818Z] ------------------- [2023-03-31T01:47:14.818Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2023-03-31T01:47:14.818Z] Commit SHA: 046ad6d0e2e636d38ea4daf53c055316476b9501 [2023-03-31T01:47:14.818Z] Message: update experimental to v1.0.247 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2023-03-31T01:47:15.000Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-virtual-go-settings [Pipeline] echo [2023-03-31T01:47:15.009Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-virtual-go [Pipeline] echo [2023-03-31T01:47:15.017Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2023-03-31T01:47:15.024Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2023-03-31T01:47:15.033Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2023-03-31T01:47:15.041Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.20 [Pipeline] echo [2023-03-31T01:47:15.049Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2023-03-31T01:47:15.057Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2023-03-31T01:47:15.065Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2023-03-31T01:47:15.073Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2023-03-31T01:47:15.089Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2023-03-31T01:47:15.105Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-virtual [Pipeline] echo [2023-03-31T01:47:15.115Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2023-03-31T01:47:15.125Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2023-03-31T01:47:15.140Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2023-03-31T01:47:15.154Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2023-03-31T01:47:15.170Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2023-03-31T01:47:15.179Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2023-03-31T01:47:15.190Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2023-03-31T01:47:15.201Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2023-03-31T01:47:15.212Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2023-03-31T01:47:15.223Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2023-03-31T01:47:15.240Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2023-03-31T01:47:15.252Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2023-03-31T01:47:15.263Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2023-03-31T01:47:15.274Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2023-03-31T01:47:15.286Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2023-03-31T01:47:15.299Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-374 [Pipeline] echo [2023-03-31T01:47:15.314Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-374 [Pipeline] echo [2023-03-31T01:47:15.326Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-374 [Pipeline] echo [2023-03-31T01:47:15.337Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = d35a6d71fe87111dd6dc7ce2834c0e8400498827 [Pipeline] echo [2023-03-31T01:47:15.350Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = d35a6d7 [Pipeline] echo [2023-03-31T01:47:15.363Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-03-31T01:47:15.414Z] provisioning config files... [2023-03-31T01:47:15.428Z] copy managed file [device-virtual-go-settings] to file:/w/workspace/foundry_device-virtual-go_PR-374@tmp/config9071491146697490853tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-03-31T01:47:15.734Z] ---> docker-login.sh [2023-03-31T01:47:15.734Z] nexus3.edgexfoundry.org:10001 [2023-03-31T01:47:15.993Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-31T01:47:15.993Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-31T01:47:15.993Z] Configure a credential helper to remove this warning. See [2023-03-31T01:47:15.993Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-31T01:47:15.993Z] [2023-03-31T01:47:15.993Z] Login Succeeded [2023-03-31T01:47:15.993Z] nexus3.edgexfoundry.org:10002 [2023-03-31T01:47:15.993Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-31T01:47:16.252Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-31T01:47:16.252Z] Configure a credential helper to remove this warning. See [2023-03-31T01:47:16.252Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-31T01:47:16.252Z] [2023-03-31T01:47:16.252Z] Login Succeeded [2023-03-31T01:47:16.252Z] nexus3.edgexfoundry.org:10003 [2023-03-31T01:47:16.252Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-31T01:47:16.252Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-31T01:47:16.252Z] Configure a credential helper to remove this warning. See [2023-03-31T01:47:16.252Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-31T01:47:16.252Z] [2023-03-31T01:47:16.252Z] Login Succeeded [2023-03-31T01:47:16.252Z] nexus3.edgexfoundry.org:10004 [2023-03-31T01:47:16.253Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-31T01:47:16.253Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-31T01:47:16.253Z] Configure a credential helper to remove this warning. See [2023-03-31T01:47:16.253Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-31T01:47:16.253Z] [2023-03-31T01:47:16.253Z] Login Succeeded [2023-03-31T01:47:16.512Z] docker.io [2023-03-31T01:47:16.512Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-31T01:47:16.771Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-31T01:47:16.771Z] Configure a credential helper to remove this warning. See [2023-03-31T01:47:16.771Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-31T01:47:16.771Z] [2023-03-31T01:47:16.771Z] Login Succeeded [2023-03-31T01:47:16.771Z] ---> docker-login.sh ends [Pipeline] } [2023-03-31T01:47:16.778Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2023-03-31T01:47:17.150Z] + git rev-list -1 --merges d35a6d71fe87111dd6dc7ce2834c0e8400498827~1..d35a6d71fe87111dd6dc7ce2834c0e8400498827 [Pipeline] echo [2023-03-31T01:47:17.193Z] -----------> git rev-list -1 --merges d35a6d71fe87111dd6dc7ce2834c0e8400498827~1..d35a6d71fe87111dd6dc7ce2834c0e8400498827 d35a6d71fe87111dd6dc7ce2834c0e8400498827 [false] [Pipeline] sh [2023-03-31T01:47:17.482Z] + git log --format=format:%s -1 d35a6d71fe87111dd6dc7ce2834c0e8400498827 [Pipeline] echo [2023-03-31T01:47:17.498Z] ========================================================= [2023-03-31T01:47:17.498Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2023-03-31T01:47:17.498Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-03-31T01:47:17.836Z] + git log --format=format:%s -1 d35a6d71fe87111dd6dc7ce2834c0e8400498827 [Pipeline] echo [2023-03-31T01:47:17.847Z] [semverPrep] GIT_COMMIT: d35a6d71fe87111dd6dc7ce2834c0e8400498827, Commit Message: feat: Refactor random value generation function [Pipeline] echo [2023-03-31T01:47:17.856Z] [semverPrep] This is not a build commit. [Pipeline] sh [2023-03-31T01:47:18.194Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-03-31T01:47:18.194Z] + grep -v github /etc/ssh/ssh_known_hosts [2023-03-31T01:47:18.194Z] + [ -e /tmp/ssh_known_hosts ] [2023-03-31T01:47:18.194Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2023-03-31T01:47:18.194Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2023-03-31T01:47:18.194Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2023-03-31T01:47:18.194Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-31T01:47:18.534Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-03-31T01:47:18.534Z] [2023-03-31T01:47:18.534Z] 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-31T01:47:18.842Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-03-31T01:47:19.101Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2023-03-31T01:47:19.101Z] b85a868b505f: Pulling fs layer [2023-03-31T01:47:19.102Z] e2be974225ed: Pulling fs layer [2023-03-31T01:47:19.102Z] 339a4e72a1f5: Pulling fs layer [2023-03-31T01:47:19.102Z] 988bab9f4d93: Pulling fs layer [2023-03-31T01:47:19.102Z] 1469e6f7b9e6: Pulling fs layer [2023-03-31T01:47:19.102Z] eaf3925da568: Pulling fs layer [2023-03-31T01:47:19.102Z] bab4dde63d76: Pulling fs layer [2023-03-31T01:47:19.102Z] bde34c3a00c8: Pulling fs layer [2023-03-31T01:47:19.102Z] b352a97aabf1: Pulling fs layer [2023-03-31T01:47:19.102Z] 4872d77fe225: Pulling fs layer [2023-03-31T01:47:19.102Z] 5851b861e8e6: Pulling fs layer [2023-03-31T01:47:19.102Z] 1469e6f7b9e6: Waiting [2023-03-31T01:47:19.102Z] eaf3925da568: Waiting [2023-03-31T01:47:19.102Z] bab4dde63d76: Waiting [2023-03-31T01:47:19.102Z] 4872d77fe225: Waiting [2023-03-31T01:47:19.102Z] 5851b861e8e6: Waiting [2023-03-31T01:47:19.102Z] bde34c3a00c8: Waiting [2023-03-31T01:47:19.102Z] 988bab9f4d93: Waiting [2023-03-31T01:47:19.102Z] b352a97aabf1: Waiting [2023-03-31T01:47:19.102Z] e2be974225ed: Download complete [2023-03-31T01:47:19.102Z] 988bab9f4d93: Download complete [2023-03-31T01:47:19.102Z] 339a4e72a1f5: Verifying Checksum [2023-03-31T01:47:19.102Z] 339a4e72a1f5: Download complete [2023-03-31T01:47:19.102Z] 1469e6f7b9e6: Verifying Checksum [2023-03-31T01:47:19.102Z] 1469e6f7b9e6: Download complete [2023-03-31T01:47:19.102Z] eaf3925da568: Verifying Checksum [2023-03-31T01:47:19.102Z] eaf3925da568: Download complete [2023-03-31T01:47:19.102Z] bde34c3a00c8: Download complete [2023-03-31T01:47:19.360Z] b352a97aabf1: Verifying Checksum [2023-03-31T01:47:19.360Z] b352a97aabf1: Download complete [2023-03-31T01:47:19.360Z] 4872d77fe225: Download complete [2023-03-31T01:47:19.360Z] 5851b861e8e6: Download complete [2023-03-31T01:47:19.360Z] b85a868b505f: Verifying Checksum [2023-03-31T01:47:19.360Z] b85a868b505f: Download complete [2023-03-31T01:47:19.618Z] bab4dde63d76: Verifying Checksum [2023-03-31T01:47:19.618Z] bab4dde63d76: Download complete [2023-03-31T01:47:20.556Z] b85a868b505f: Pull complete [2023-03-31T01:47:20.817Z] e2be974225ed: Pull complete [2023-03-31T01:47:21.385Z] 339a4e72a1f5: Pull complete [2023-03-31T01:47:21.385Z] 988bab9f4d93: Pull complete [2023-03-31T01:47:21.647Z] 1469e6f7b9e6: Pull complete [2023-03-31T01:47:21.905Z] eaf3925da568: Pull complete [2023-03-31T01:47:23.803Z] bab4dde63d76: Pull complete [2023-03-31T01:47:24.061Z] bde34c3a00c8: Pull complete [2023-03-31T01:47:24.061Z] b352a97aabf1: Pull complete [2023-03-31T01:47:24.061Z] 4872d77fe225: Pull complete [2023-03-31T01:47:24.321Z] 5851b861e8e6: Pull complete [2023-03-31T01:47:24.321Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2023-03-31T01:47:24.321Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-03-31T01:47:24.321Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-31T01:47:24.455Z] prd-ubuntu20.04-docker-8c-8g-6522 does not seem to be running inside a container [2023-03-31T01:47:24.555Z] $ 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 ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2023-03-31T01:47:28.655Z] $ docker top 0b707a1ec6475e44157f2c2e95f014c220ba8bd396f405067d62dbb4c6ccac49 -eo pid,comm [2023-03-31T01:47:28.720Z] 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-31T01:47:28.720Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-03-31T01:47:28.763Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-03-31T01:47:28.763Z] [ssh-agent] Looking for ssh-agent implementation... [2023-03-31T01:47:28.879Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-03-31T01:47:28.878Z] $ docker exec 0b707a1ec6475e44157f2c2e95f014c220ba8bd396f405067d62dbb4c6ccac49 ssh-agent [2023-03-31T01:47:29.002Z] SSH_AUTH_SOCK=/tmp/ssh-llYT7NhzsSjD/agent.33 [2023-03-31T01:47:29.002Z] SSH_AGENT_PID=40 [2023-03-31T01:47:29.009Z] Running ssh-add (command line suppressed) [2023-03-31T01:47:29.103Z] Identity added: /w/workspace/foundry_device-virtual-go_PR-374@tmp/private_key_8369266290361955524.key (/w/workspace/foundry_device-virtual-go_PR-374@tmp/private_key_8369266290361955524.key) [2023-03-31T01:47:29.121Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-03-31T01:47:29.411Z] + git tag --points-at HEAD [Pipeline] } [2023-03-31T01:47:29.421Z] $ docker exec --env ******** --env ******** 0b707a1ec6475e44157f2c2e95f014c220ba8bd396f405067d62dbb4c6ccac49 ssh-agent -k [2023-03-31T01:47:29.524Z] unset SSH_AUTH_SOCK; [2023-03-31T01:47:29.525Z] unset SSH_AGENT_PID; [2023-03-31T01:47:29.525Z] echo Agent pid 40 killed; [2023-03-31T01:47:29.538Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2023-03-31T01:47:29.569Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-03-31T01:47:29.569Z] [ssh-agent] Looking for ssh-agent implementation... [2023-03-31T01:47:29.709Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-03-31T01:47:29.708Z] $ docker exec 0b707a1ec6475e44157f2c2e95f014c220ba8bd396f405067d62dbb4c6ccac49 ssh-agent [2023-03-31T01:47:29.822Z] SSH_AUTH_SOCK=/tmp/ssh-SnY4S94yuDT3/agent.72 [2023-03-31T01:47:29.822Z] SSH_AGENT_PID=78 [2023-03-31T01:47:29.827Z] Running ssh-add (command line suppressed) [2023-03-31T01:47:29.935Z] Identity added: /w/workspace/foundry_device-virtual-go_PR-374@tmp/private_key_989346310061936737.key (/w/workspace/foundry_device-virtual-go_PR-374@tmp/private_key_989346310061936737.key) [2023-03-31T01:47:29.951Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-03-31T01:47:30.238Z] + git semver init [2023-03-31T01:47:30.498Z] 2023-03-31 01:47:30,443 [run_init] DEBUG init version:0.0.0 force:False [2023-03-31T01:47:30.498Z] 2023-03-31 01:47:30,444 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/foundry_device-virtual-go_PR-374/.semver [2023-03-31T01:47:30.498Z] 2023-03-31 01:47:30,444 [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-31T01:47:30.498Z] 2023-03-31 01:47:30,444 [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-31T01:47:31.877Z] 2023-03-31 01:47:31,702 [append_file] DEBUG append to file:/w/workspace/foundry_device-virtual-go_PR-374/.git/info/exclude [2023-03-31T01:47:31.877Z] 2023-03-31 01:47:31,703 [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-31T01:47:31.877Z] 2023-03-31 01:47:31,703 [write_file] DEBUG write to file:/w/workspace/foundry_device-virtual-go_PR-374/.semver/PR-374 [2023-03-31T01:47:31.877Z] 2023-03-31 01:47:31,707 [execute] INFO git cat-file --batch-check [2023-03-31T01:47:31.877Z] 2023-03-31 01:47:31,708 [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-31T01:47:31.877Z] 2023-03-31 01:47:31,714 [execute] INFO git cat-file --batch [2023-03-31T01:47:31.877Z] 2023-03-31 01:47:31,715 [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-31T01:47:31.877Z] 2023-03-31 01:47:31,720 [read_version] DEBUG read version from /w/workspace/foundry_device-virtual-go_PR-374/.semver/PR-374 [2023-03-31T01:47:31.877Z] 0.0.0 [Pipeline] } [2023-03-31T01:47:31.885Z] $ docker exec --env ******** --env ******** 0b707a1ec6475e44157f2c2e95f014c220ba8bd396f405067d62dbb4c6ccac49 ssh-agent -k [2023-03-31T01:47:32.000Z] unset SSH_AUTH_SOCK; [2023-03-31T01:47:32.000Z] unset SSH_AGENT_PID; [2023-03-31T01:47:32.000Z] echo Agent pid 78 killed; [2023-03-31T01:47:32.011Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-03-31T01:47:32.308Z] + git semver [Pipeline] } [2023-03-31T01:47:32.577Z] $ docker stop --time=1 0b707a1ec6475e44157f2c2e95f014c220ba8bd396f405067d62dbb4c6ccac49 [2023-03-31T01:47:33.915Z] $ docker rm -f --volumes 0b707a1ec6475e44157f2c2e95f014c220ba8bd396f405067d62dbb4c6ccac49 [Pipeline] // withDockerContainer [Pipeline] sh [2023-03-31T01:47:34.257Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2023-03-31T01:47:34.488Z] Stashed 1 file(s) [Pipeline] echo [2023-03-31T01:47:34.491Z] [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-31T01:47:34.616Z] provisioning config files... [2023-03-31T01:47:34.625Z] copy managed file [device-virtual-go-settings] to file:/w/workspace/foundry_device-virtual-go_PR-374@tmp/config13099474686543511499tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-03-31T01:47:34.919Z] ---> docker-login.sh [2023-03-31T01:47:34.919Z] nexus3.edgexfoundry.org:10001 [2023-03-31T01:47:34.919Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-31T01:47:34.919Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-31T01:47:34.919Z] Configure a credential helper to remove this warning. See [2023-03-31T01:47:34.919Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-31T01:47:34.919Z] [2023-03-31T01:47:34.919Z] Login Succeeded [2023-03-31T01:47:34.919Z] nexus3.edgexfoundry.org:10002 [2023-03-31T01:47:34.919Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-31T01:47:34.919Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-31T01:47:34.919Z] Configure a credential helper to remove this warning. See [2023-03-31T01:47:34.919Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-31T01:47:34.919Z] [2023-03-31T01:47:34.919Z] Login Succeeded [2023-03-31T01:47:34.919Z] nexus3.edgexfoundry.org:10003 [2023-03-31T01:47:35.178Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-31T01:47:35.178Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-31T01:47:35.178Z] Configure a credential helper to remove this warning. See [2023-03-31T01:47:35.178Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-31T01:47:35.178Z] [2023-03-31T01:47:35.178Z] Login Succeeded [2023-03-31T01:47:35.178Z] nexus3.edgexfoundry.org:10004 [2023-03-31T01:47:35.178Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-31T01:47:35.178Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-31T01:47:35.178Z] Configure a credential helper to remove this warning. See [2023-03-31T01:47:35.178Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-31T01:47:35.178Z] [2023-03-31T01:47:35.178Z] Login Succeeded [2023-03-31T01:47:35.178Z] docker.io [2023-03-31T01:47:35.439Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-31T01:47:35.698Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-31T01:47:35.698Z] Configure a credential helper to remove this warning. See [2023-03-31T01:47:35.698Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-31T01:47:35.698Z] [2023-03-31T01:47:35.698Z] Login Succeeded [2023-03-31T01:47:35.698Z] ---> docker-login.sh ends [Pipeline] } [2023-03-31T01:47:35.705Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-03-31T01:47:35.772Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-03-31T01:47:35.785Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-03-31T01:47:35.793Z] ========================================================= [2023-03-31T01:47:35.793Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine] [2023-03-31T01:47:35.793Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-31T01:47:36.108Z] + 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-31T01:47:36.108Z] Sending build context to Docker daemon 23.57MB [2023-03-31T01:47:36.108Z] Step 1/12 : ARG BASE=golang:1.20-alpine3.17 [2023-03-31T01:47:36.108Z] Step 2/12 : FROM ${BASE} AS builder [2023-03-31T01:47:36.389Z] 1.20-alpine: Pulling from edgex-devops/edgex-golang-base [2023-03-31T01:47:36.389Z] 63b65145d645: Pulling fs layer [2023-03-31T01:47:36.389Z] a2d21d5440eb: Pulling fs layer [2023-03-31T01:47:36.389Z] 935e6c44a52c: Pulling fs layer [2023-03-31T01:47:36.389Z] 94cc34f8dd06: Pulling fs layer [2023-03-31T01:47:36.389Z] 30dea6a524f1: Pulling fs layer [2023-03-31T01:47:36.389Z] a2aff8979fd8: Pulling fs layer [2023-03-31T01:47:36.389Z] 94cc34f8dd06: Waiting [2023-03-31T01:47:36.389Z] 30dea6a524f1: Waiting [2023-03-31T01:47:36.389Z] 6808be2612f2: Pulling fs layer [2023-03-31T01:47:36.389Z] f25807f1079a: Pulling fs layer [2023-03-31T01:47:36.389Z] a2aff8979fd8: Waiting [2023-03-31T01:47:36.389Z] 6808be2612f2: Waiting [2023-03-31T01:47:36.389Z] a2d21d5440eb: Verifying Checksum [2023-03-31T01:47:36.389Z] a2d21d5440eb: Download complete [2023-03-31T01:47:36.389Z] 94cc34f8dd06: Download complete [2023-03-31T01:47:36.389Z] 30dea6a524f1: Verifying Checksum [2023-03-31T01:47:36.389Z] 30dea6a524f1: Download complete [2023-03-31T01:47:36.389Z] 63b65145d645: Verifying Checksum [2023-03-31T01:47:36.389Z] 63b65145d645: Download complete [2023-03-31T01:47:36.389Z] a2aff8979fd8: Verifying Checksum [2023-03-31T01:47:36.389Z] a2aff8979fd8: Download complete [2023-03-31T01:47:36.649Z] 63b65145d645: Pull complete [2023-03-31T01:47:36.649Z] a2d21d5440eb: Pull complete [2023-03-31T01:47:36.908Z] f25807f1079a: Verifying Checksum [2023-03-31T01:47:36.908Z] f25807f1079a: Download complete [2023-03-31T01:47:37.168Z] 935e6c44a52c: Verifying Checksum [2023-03-31T01:47:37.168Z] 935e6c44a52c: Download complete [2023-03-31T01:47:37.168Z] 6808be2612f2: Download complete [2023-03-31T01:47:41.355Z] 935e6c44a52c: Pull complete [2023-03-31T01:47:41.355Z] 94cc34f8dd06: Pull complete [2023-03-31T01:47:41.355Z] 30dea6a524f1: Pull complete [2023-03-31T01:47:41.355Z] a2aff8979fd8: Pull complete [2023-03-31T01:47:43.259Z] 6808be2612f2: Pull complete [2023-03-31T01:47:44.195Z] f25807f1079a: Pull complete [2023-03-31T01:47:44.195Z] Digest: sha256:106942793af8b5907f587008084bb0888cadbc76d86ebd37d4d3227fb0f1e438 [2023-03-31T01:47:44.195Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine [2023-03-31T01:47:44.195Z] ---> 3b553350e43f [2023-03-31T01:47:44.195Z] Step 3/12 : ARG ALPINE_PKG_BASE="make git openssh-client" [2023-03-31T01:47:49.584Z] Still waiting to schedule task [2023-03-31T01:47:49.585Z] ‘prd-ubuntu20.04-docker-arm64-4c-16g-6519’ is offline [2023-03-31T01:47:52.333Z] ---> Running in 06196343b2f9 [2023-03-31T01:47:52.333Z] Removing intermediate container 06196343b2f9 [2023-03-31T01:47:52.333Z] ---> 34e980189cb5 [2023-03-31T01:47:52.333Z] Step 4/12 : ARG ALPINE_PKG_EXTRA="" [2023-03-31T01:47:52.333Z] ---> Running in 0f8dee1a31f8 [2023-03-31T01:47:52.333Z] Removing intermediate container 0f8dee1a31f8 [2023-03-31T01:47:52.333Z] ---> b53dd52e610e [2023-03-31T01:47:52.333Z] Step 5/12 : ARG ADD_BUILD_TAGS="" [2023-03-31T01:47:52.333Z] ---> Running in 1f9238a159f3 [2023-03-31T01:47:52.592Z] Removing intermediate container 1f9238a159f3 [2023-03-31T01:47:52.592Z] ---> 770fcc95b91d [2023-03-31T01:47:52.592Z] Step 6/12 : WORKDIR /device-virtual-go [2023-03-31T01:47:52.592Z] ---> Running in 3bce3be27289 [2023-03-31T01:47:52.592Z] Removing intermediate container 3bce3be27289 [2023-03-31T01:47:52.592Z] ---> 19d54a7a440c [2023-03-31T01:47:52.592Z] Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-03-31T01:47:52.592Z] ---> Running in 951153e35b39 [2023-03-31T01:47:53.158Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz [2023-03-31T01:47:53.158Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz [2023-03-31T01:47:53.417Z] (1/4) Installing openssh-keygen (9.1_p1-r2) [2023-03-31T01:47:53.417Z] (2/4) Installing libedit (20221030.3.1-r0) [2023-03-31T01:47:53.417Z] (3/4) Installing openssh-client-common (9.1_p1-r2) [2023-03-31T01:47:53.417Z] (4/4) Installing openssh-client-default (9.1_p1-r2) [2023-03-31T01:47:53.417Z] Executing busybox-1.35.0-r29.trigger [2023-03-31T01:47:53.417Z] OK: 269 MiB in 57 packages [2023-03-31T01:47:53.984Z] Removing intermediate container 951153e35b39 [2023-03-31T01:47:53.984Z] ---> a76577d49a43 [2023-03-31T01:47:53.984Z] Step 8/12 : COPY go.mod vendor* ./ [2023-03-31T01:47:53.984Z] ---> 954ae96cc2e8 [2023-03-31T01:47:53.984Z] Step 9/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-03-31T01:47:54.241Z] ---> Running in 07e6130011cd [2023-03-31T01:48:33.025Z] Removing intermediate container 07e6130011cd [2023-03-31T01:48:33.025Z] ---> 2ff280e86656 [2023-03-31T01:48:33.025Z] Step 10/12 : COPY . . [2023-03-31T01:48:33.025Z] ---> e7181c6d4661 [2023-03-31T01:48:33.025Z] Step 11/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-03-31T01:48:33.025Z] ---> Running in 84e03fdb4760 [2023-03-31T01:48:33.025Z] Removing intermediate container 84e03fdb4760 [2023-03-31T01:48:33.025Z] ---> c9088dd0bb7b [2023-03-31T01:48:33.025Z] Step 12/12 : RUN $MAKE [2023-03-31T01:48:33.025Z] ---> Running in d96cf6bd2627 [2023-03-31T01:48:33.025Z] noop [2023-03-31T01:48:33.025Z] Removing intermediate container d96cf6bd2627 [2023-03-31T01:48:33.025Z] ---> 673d5eadce61 [2023-03-31T01:48:33.025Z] Successfully built 673d5eadce61 [2023-03-31T01:48:33.025Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-31T01:48:33.335Z] + docker inspect -f . ci-base-image-x86_64 [2023-03-31T01:48:33.335Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-31T01:48:33.409Z] prd-ubuntu20.04-docker-8c-8g-6522 does not seem to be running inside a container [2023-03-31T01:48:33.439Z] $ 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 ******** -e ******** ci-base-image-x86_64 cat [2023-03-31T01:48:33.816Z] $ docker top 1ae971779576327f1e968499b891f7b9b78125a75d2d64fb2ae39ca4da0093ea -eo pid,comm [Pipeline] { [Pipeline] sh [2023-03-31T01:48:34.169Z] + go version [2023-03-31T01:48:34.169Z] go version go1.20.2 linux/amd64 [Pipeline] } [2023-03-31T01:48:34.178Z] $ docker stop --time=1 1ae971779576327f1e968499b891f7b9b78125a75d2d64fb2ae39ca4da0093ea [2023-03-31T01:48:35.439Z] $ docker rm -f --volumes 1ae971779576327f1e968499b891f7b9b78125a75d2d64fb2ae39ca4da0093ea [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-31T01:48:35.850Z] + docker inspect -f . ci-base-image-x86_64 [2023-03-31T01:48:35.850Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-31T01:48:35.920Z] prd-ubuntu20.04-docker-8c-8g-6522 does not seem to be running inside a container [2023-03-31T01:48:35.952Z] $ 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 ******** -e ******** ci-base-image-x86_64 cat [2023-03-31T01:48:36.275Z] $ docker top 67d27a86e368444fc09641eba904e35276cf644cdb702f6017400887e8465554 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-03-31T01:48:36.628Z] + git config --global --add safe.directory /w/workspace/foundry_device-virtual-go_PR-374 [Pipeline] fileExists [Pipeline] sh [2023-03-31T01:48:36.925Z] + make test [2023-03-31T01:48:36.926Z] go test ./... -coverprofile=coverage.out [2023-03-31T01:48:42.198Z] ? github.com/edgexfoundry/device-virtual-go [no test files] [2023-03-31T01:48:50.309Z] ? github.com/edgexfoundry/device-virtual-go/cmd [no test files] [2023-03-31T01:48:50.309Z] ok github.com/edgexfoundry/device-virtual-go/internal/driver 0.035s coverage: 61.6% of statements [2023-03-31T01:48:56.872Z] go vet ./... [2023-03-31T01:48:59.404Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-03-31T01:48:59.404Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2023-03-31T01:48:59.662Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2023-03-31T01:48:59.677Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2023-03-31T01:48:59.689Z] $ docker stop --time=1 67d27a86e368444fc09641eba904e35276cf644cdb702f6017400887e8465554 [2023-03-31T01:49:03.910Z] $ docker rm -f --volumes 67d27a86e368444fc09641eba904e35276cf644cdb702f6017400887e8465554 [Pipeline] // withDockerContainer [Pipeline] sh [2023-03-31T01:49:04.360Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2023-03-31T01:49:04.414Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2023-03-31T01:49:05.088Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-03-31T01:49:05.376Z] + ls -al . [2023-03-31T01:49:05.376Z] total 192 [2023-03-31T01:49:05.376Z] drwxrwxr-x 9 jenkins jenkins 4096 Mar 31 01:48 . [2023-03-31T01:49:05.376Z] drwxrwxr-x 4 jenkins jenkins 4096 Mar 31 01:47 .. [2023-03-31T01:49:05.377Z] drwxrwxr-x 8 jenkins jenkins 4096 Mar 31 01:47 .git [2023-03-31T01:49:05.377Z] drwxrwxr-x 3 jenkins jenkins 4096 Mar 31 01:47 .github [2023-03-31T01:49:05.377Z] -rw-rw-r-- 1 jenkins jenkins 337 Mar 31 01:47 .gitignore [2023-03-31T01:49:05.377Z] -rw-rw-r-- 1 jenkins jenkins 41 Mar 31 01:47 .golangci.yml [2023-03-31T01:49:05.377Z] drwxr-xr-x 3 jenkins jenkins 4096 Mar 31 01:47 .semver [2023-03-31T01:49:05.377Z] -rw-rw-r-- 1 jenkins jenkins 8641 Mar 31 01:47 Attribution.txt [2023-03-31T01:49:05.377Z] -rw-rw-r-- 1 jenkins jenkins 11367 Mar 31 01:47 CHANGELOG.md [2023-03-31T01:49:05.377Z] -rw-rw-r-- 1 jenkins jenkins 1646 Mar 31 01:47 Dockerfile [2023-03-31T01:49:05.377Z] -rw-rw-r-- 1 jenkins jenkins 677 Mar 31 01:47 GOVERNANCE.md [2023-03-31T01:49:05.377Z] -rw-rw-r-- 1 jenkins jenkins 660 Mar 31 01:47 Jenkinsfile [2023-03-31T01:49:05.377Z] -rw-rw-r-- 1 jenkins jenkins 11340 Mar 31 01:47 LICENSE [2023-03-31T01:49:05.377Z] -rw-rw-r-- 1 jenkins jenkins 1696 Mar 31 01:47 Makefile [2023-03-31T01:49:05.377Z] -rw-rw-r-- 1 jenkins jenkins 623 Mar 31 01:47 OWNERS.md [2023-03-31T01:49:05.377Z] -rw-rw-r-- 1 jenkins jenkins 3578 Mar 31 01:47 README.md [2023-03-31T01:49:05.377Z] -rw-rw-r-- 1 jenkins jenkins 5 Mar 31 01:47 VERSION [2023-03-31T01:49:05.377Z] drwxrwxr-x 2 jenkins jenkins 4096 Mar 31 01:47 bin [2023-03-31T01:49:05.377Z] drwxrwxr-x 3 jenkins jenkins 4096 Mar 31 01:47 cmd [2023-03-31T01:49:05.377Z] -rw-r--r-- 1 jenkins jenkins 42791 Mar 31 01:48 coverage.out [2023-03-31T01:49:05.377Z] -rw-rw-r-- 1 jenkins jenkins 3206 Mar 31 01:47 go.mod [2023-03-31T01:49:05.377Z] -rw-rw-r-- 1 jenkins jenkins 30819 Mar 31 01:47 go.sum [2023-03-31T01:49:05.377Z] drwxrwxr-x 3 jenkins jenkins 4096 Mar 31 01:47 internal [2023-03-31T01:49:05.377Z] drwxrwxr-x 4 jenkins jenkins 4096 Mar 31 01:47 snap [2023-03-31T01:49:05.377Z] -rw-rw-r-- 1 jenkins jenkins 235 Mar 31 01:47 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-31T01:49:05.686Z] + 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=d35a6d71fe87111dd6dc7ce2834c0e8400498827 --label arch=amd64 --label version=0.0.0 . [2023-03-31T01:49:05.686Z] Sending build context to Docker daemon 23.61MB [2023-03-31T01:49:05.686Z] Step 1/25 : ARG BASE=golang:1.20-alpine3.17 [2023-03-31T01:49:05.686Z] Step 2/25 : FROM ${BASE} AS builder [2023-03-31T01:49:05.686Z] ---> 673d5eadce61 [2023-03-31T01:49:05.686Z] Step 3/25 : ARG ALPINE_PKG_BASE="make git openssh-client" [2023-03-31T01:49:06.256Z] ---> Running in a9c5c5bec5aa [2023-03-31T01:49:06.256Z] Removing intermediate container a9c5c5bec5aa [2023-03-31T01:49:06.256Z] ---> 0507a1595390 [2023-03-31T01:49:06.256Z] Step 4/25 : ARG ALPINE_PKG_EXTRA="" [2023-03-31T01:49:06.256Z] ---> Running in c074c0bf4559 [2023-03-31T01:49:06.256Z] Removing intermediate container c074c0bf4559 [2023-03-31T01:49:06.256Z] ---> f2a844599387 [2023-03-31T01:49:06.256Z] Step 5/25 : ARG ADD_BUILD_TAGS="" [2023-03-31T01:49:06.256Z] ---> Running in 17614a47292f [2023-03-31T01:49:06.256Z] Removing intermediate container 17614a47292f [2023-03-31T01:49:06.256Z] ---> 5c234b522bfd [2023-03-31T01:49:06.256Z] Step 6/25 : WORKDIR /device-virtual-go [2023-03-31T01:49:06.256Z] ---> Running in 430b901e9308 [2023-03-31T01:49:06.518Z] Removing intermediate container 430b901e9308 [2023-03-31T01:49:06.518Z] ---> df9365a87751 [2023-03-31T01:49:06.518Z] Step 7/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-03-31T01:49:06.518Z] ---> Running in d29330a8c1e7 [2023-03-31T01:49:06.777Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz [2023-03-31T01:49:06.777Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz [2023-03-31T01:49:07.037Z] OK: 269 MiB in 57 packages [2023-03-31T01:49:07.300Z] Removing intermediate container d29330a8c1e7 [2023-03-31T01:49:07.300Z] ---> d44585410938 [2023-03-31T01:49:07.300Z] Step 8/25 : COPY go.mod vendor* ./ [2023-03-31T01:49:07.559Z] ---> ebd1e1707630 [2023-03-31T01:49:07.559Z] Step 9/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-03-31T01:49:07.559Z] ---> Running in ad2a643f6fab [2023-03-31T01:49:08.509Z] Removing intermediate container ad2a643f6fab [2023-03-31T01:49:08.509Z] ---> 1594868bd340 [2023-03-31T01:49:08.509Z] Step 10/25 : COPY . . [2023-03-31T01:49:09.077Z] ---> df890f71ac6f [2023-03-31T01:49:09.077Z] Step 11/25 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-03-31T01:49:09.077Z] ---> Running in c362e1562f33 [2023-03-31T01:49:09.077Z] Removing intermediate container c362e1562f33 [2023-03-31T01:49:09.077Z] ---> e71d284ae164 [2023-03-31T01:49:09.077Z] Step 12/25 : RUN $MAKE [2023-03-31T01:49:09.077Z] ---> Running in d9e62be1e103 [2023-03-31T01:49:09.335Z] 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-31T01:49:31.274Z] Removing intermediate container d9e62be1e103 [2023-03-31T01:49:31.274Z] ---> 9f701dd7e464 [2023-03-31T01:49:31.274Z] Step 13/25 : FROM alpine:3.17 [2023-03-31T01:49:31.274Z] 3.17: Pulling from library/alpine [2023-03-31T01:49:31.274Z] f56be85fc22e: Pulling fs layer [2023-03-31T01:49:31.274Z] f56be85fc22e: Verifying Checksum [2023-03-31T01:49:31.274Z] f56be85fc22e: Download complete [2023-03-31T01:49:31.274Z] f56be85fc22e: Pull complete [2023-03-31T01:49:31.274Z] Digest: sha256:124c7d2707904eea7431fffe91522a01e5a861a624ee31d03372cc1d138a3126 [2023-03-31T01:49:31.274Z] Status: Downloaded newer image for alpine:3.17 [2023-03-31T01:49:31.274Z] ---> 9ed4aefc74f6 [2023-03-31T01:49:31.274Z] Step 14/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2021: IOTech' [2023-03-31T01:49:31.274Z] ---> Running in 7c6ba416eaa2 [2023-03-31T01:49:31.274Z] Removing intermediate container 7c6ba416eaa2 [2023-03-31T01:49:31.274Z] ---> c697683d64f0 [2023-03-31T01:49:31.274Z] Step 15/25 : RUN apk add --update --no-cache dumb-init [2023-03-31T01:49:31.274Z] ---> Running in f386037b9ed8 [2023-03-31T01:49:31.274Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz [2023-03-31T01:49:31.274Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz [2023-03-31T01:49:31.274Z] (1/1) Installing dumb-init (1.2.5-r2) [2023-03-31T01:49:31.274Z] Executing busybox-1.35.0-r29.trigger [2023-03-31T01:49:31.274Z] OK: 7 MiB in 16 packages [2023-03-31T01:49:31.274Z] Removing intermediate container f386037b9ed8 [2023-03-31T01:49:31.274Z] ---> 629a84407f38 [2023-03-31T01:49:31.274Z] Step 16/25 : WORKDIR / [2023-03-31T01:49:31.274Z] ---> Running in c7c257a043a5 [2023-03-31T01:49:31.274Z] Removing intermediate container c7c257a043a5 [2023-03-31T01:49:31.274Z] ---> c2c47ca02a41 [2023-03-31T01:49:31.274Z] Step 17/25 : COPY --from=builder /device-virtual-go/Attribution.txt / [2023-03-31T01:49:31.274Z] ---> 1ba9a23622b6 [2023-03-31T01:49:31.274Z] Step 18/25 : COPY --from=builder /device-virtual-go/LICENSE / [2023-03-31T01:49:31.274Z] ---> 5f6d2e191644 [2023-03-31T01:49:31.274Z] Step 19/25 : COPY --from=builder /device-virtual-go/cmd / [2023-03-31T01:49:31.274Z] ---> e3e5941b19b2 [2023-03-31T01:49:31.274Z] Step 20/25 : EXPOSE 59900 [2023-03-31T01:49:31.274Z] ---> Running in ea5b9dcd41ae [2023-03-31T01:49:31.274Z] Removing intermediate container ea5b9dcd41ae [2023-03-31T01:49:31.274Z] ---> 95369b879027 [2023-03-31T01:49:31.274Z] Step 21/25 : ENTRYPOINT ["/device-virtual"] [2023-03-31T01:49:31.274Z] ---> Running in 895595162f84 [2023-03-31T01:49:31.274Z] Removing intermediate container 895595162f84 [2023-03-31T01:49:31.274Z] ---> 02c2d551b7e7 [2023-03-31T01:49:31.274Z] Step 22/25 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry"] [2023-03-31T01:49:31.274Z] ---> Running in 1f6c40cd593e [2023-03-31T01:49:31.274Z] Removing intermediate container 1f6c40cd593e [2023-03-31T01:49:31.274Z] ---> d3cf3c42a04a [2023-03-31T01:49:31.274Z] Step 23/25 : LABEL arch=amd64 [2023-03-31T01:49:31.274Z] ---> Running in be05ecc42c01 [2023-03-31T01:49:31.532Z] Removing intermediate container be05ecc42c01 [2023-03-31T01:49:31.532Z] ---> 4e097c875324 [2023-03-31T01:49:31.532Z] Step 24/25 : LABEL git_sha=d35a6d71fe87111dd6dc7ce2834c0e8400498827 [2023-03-31T01:49:31.532Z] ---> Running in 47fc848f70f2 [2023-03-31T01:49:31.532Z] Removing intermediate container 47fc848f70f2 [2023-03-31T01:49:31.532Z] ---> d295dff7b5d2 [2023-03-31T01:49:31.532Z] Step 25/25 : LABEL version=0.0.0 [2023-03-31T01:49:31.532Z] ---> Running in 86439bcffa2c [2023-03-31T01:49:31.791Z] Removing intermediate container 86439bcffa2c [2023-03-31T01:49:31.791Z] ---> d477c175a16c [2023-03-31T01:49:31.791Z] [Warning] One or more build-args [ARCH] were not consumed [2023-03-31T01:49:31.791Z] Successfully built d477c175a16c [2023-03-31T01:49:31.791Z] 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-31T01:49:32.252Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-03-31T01:49:32.252Z] [2023-03-31T01:49:32.252Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-31T01:49:32.546Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-03-31T01:49:32.546Z] latest: Pulling from edgex-lftools-log-publisher [2023-03-31T01:49:32.546Z] 5eb5b503b376: Pulling fs layer [2023-03-31T01:49:32.546Z] 5c69ac0246d0: Pulling fs layer [2023-03-31T01:49:32.546Z] ec43610c2a17: Pulling fs layer [2023-03-31T01:49:32.546Z] 3a2ae6a8a46f: Pulling fs layer [2023-03-31T01:49:32.546Z] 33b1e0a273af: Pulling fs layer [2023-03-31T01:49:32.546Z] 5d3b04190fa2: Pulling fs layer [2023-03-31T01:49:32.546Z] 2f39f015ded8: Pulling fs layer [2023-03-31T01:49:32.546Z] 3a2ae6a8a46f: Waiting [2023-03-31T01:49:32.546Z] 33b1e0a273af: Waiting [2023-03-31T01:49:32.546Z] 5d3b04190fa2: Waiting [2023-03-31T01:49:32.546Z] 5c69ac0246d0: Verifying Checksum [2023-03-31T01:49:32.546Z] 5c69ac0246d0: Download complete [2023-03-31T01:49:32.546Z] 3a2ae6a8a46f: Verifying Checksum [2023-03-31T01:49:32.546Z] 3a2ae6a8a46f: Download complete [2023-03-31T01:49:32.547Z] 33b1e0a273af: Verifying Checksum [2023-03-31T01:49:32.547Z] 33b1e0a273af: Download complete [2023-03-31T01:49:32.547Z] 5d3b04190fa2: Verifying Checksum [2023-03-31T01:49:32.547Z] 5d3b04190fa2: Download complete [2023-03-31T01:49:32.547Z] ec43610c2a17: Verifying Checksum [2023-03-31T01:49:32.547Z] ec43610c2a17: Download complete [2023-03-31T01:49:32.808Z] 5eb5b503b376: Verifying Checksum [2023-03-31T01:49:32.808Z] 5eb5b503b376: Download complete [2023-03-31T01:49:33.388Z] 2f39f015ded8: Download complete [2023-03-31T01:49:33.957Z] 5eb5b503b376: Pull complete [2023-03-31T01:49:33.957Z] 5c69ac0246d0: Pull complete [2023-03-31T01:49:34.522Z] ec43610c2a17: Pull complete [2023-03-31T01:49:34.522Z] 3a2ae6a8a46f: Pull complete [2023-03-31T01:49:34.780Z] 33b1e0a273af: Pull complete [2023-03-31T01:49:34.780Z] 5d3b04190fa2: Pull complete [2023-03-31T01:49:38.961Z] 2f39f015ded8: Pull complete [2023-03-31T01:49:38.961Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2023-03-31T01:49:38.961Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-03-31T01:49:38.961Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-31T01:49:39.041Z] prd-ubuntu20.04-docker-8c-8g-6522 does not seem to be running inside a container [2023-03-31T01:49:39.081Z] $ 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 ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2023-03-31T01:49:41.456Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-6523 in /w/workspace/foundry_device-virtual-go_PR-374 [2023-03-31T01:49:43.531Z] $ docker top 6724764ef31f8971b1cc3d21ca82a46248ddb93258b3bf7deb5ed38e1937d1c7 -eo pid,comm [Pipeline] { [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [Pipeline] ws [2023-03-31T01:49:43.674Z] Running in /w/workspace/device-virtual-go/5 [Pipeline] { [Pipeline] checkout [2023-03-31T01:49:43.707Z] The recommended git tool is: git [2023-03-31T01:49:43.927Z] ---> job-cost.sh [2023-03-31T01:49:43.927Z] lf-activate-venv: SKIPPING [2023-03-31T01:49:43.927Z] INFO: No Stack... [2023-03-31T01:49:44.186Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-03-31T01:49:44.755Z] INFO: Archiving Costs [Pipeline] sh [2023-03-31T01:49:45.036Z] + + cat /w/workspace/foundry_device-virtual-go_PR-374/archives/cost.csv [2023-03-31T01:49:45.036Z] cut -d, -f6 [Pipeline] lock [2023-03-31T01:49:45.049Z] Trying to acquire lock on [jenkins-edgexfoundry-device-virtual-go-PR-374-5-stack-cost] [2023-03-31T01:49:45.055Z] Resource [jenkins-edgexfoundry-device-virtual-go-PR-374-5-stack-cost] did not exist. Created. [2023-03-31T01:49:45.055Z] Lock acquired on [jenkins-edgexfoundry-device-virtual-go-PR-374-5-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-03-31T01:49:45.374Z] + echo total: 0.2199999988079071 [Pipeline] stash [2023-03-31T01:49:45.404Z] Stashed 1 file(s) [Pipeline] } [2023-03-31T01:49:45.411Z] Lock released on resource [jenkins-edgexfoundry-device-virtual-go-PR-374-5-stack-cost] [Pipeline] // lock [Pipeline] } [2023-03-31T01:49:45.428Z] $ docker stop --time=1 6724764ef31f8971b1cc3d21ca82a46248ddb93258b3bf7deb5ed38e1937d1c7 [2023-03-31T01:49:46.577Z] $ docker rm -f --volumes 6724764ef31f8971b1cc3d21ca82a46248ddb93258b3bf7deb5ed38e1937d1c7 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2023-03-31T01:49:48.958Z] using credential edgex-jenkins-ssh [2023-03-31T01:49:48.978Z] Cloning the remote Git repository [2023-03-31T01:49:49.016Z] Cloning repository git@github.com:edgexfoundry/device-virtual-go.git [2023-03-31T01:49:49.226Z] > git init /w/workspace/device-virtual-go/5 # timeout=10 [2023-03-31T01:49:49.370Z] Fetching upstream changes from git@github.com:edgexfoundry/device-virtual-go.git [2023-03-31T01:49:49.371Z] > git --version # timeout=10 [2023-03-31T01:49:49.393Z] > git --version # 'git version 2.25.1' [2023-03-31T01:49:49.395Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-03-31T01:49:49.551Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-virtual-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-03-31T01:49:51.516Z] > git config remote.origin.url git@github.com:edgexfoundry/device-virtual-go.git # timeout=10 [2023-03-31T01:49:51.544Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-03-31T01:49:53.044Z] Merging remotes/origin/main commit b76ffb3f756266f027a45c1155223ddd586b2bad into PR head commit d35a6d71fe87111dd6dc7ce2834c0e8400498827 [2023-03-31T01:49:53.345Z] Merge succeeded, producing d35a6d71fe87111dd6dc7ce2834c0e8400498827 [2023-03-31T01:49:53.346Z] Checking out Revision d35a6d71fe87111dd6dc7ce2834c0e8400498827 (PR-374) [2023-03-31T01:49:52.373Z] > git config remote.origin.url git@github.com:edgexfoundry/device-virtual-go.git # timeout=10 [2023-03-31T01:49:52.416Z] Fetching upstream changes from git@github.com:edgexfoundry/device-virtual-go.git [2023-03-31T01:49:52.417Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-03-31T01:49:52.435Z] > 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-31T01:49:53.061Z] > git config core.sparsecheckout # timeout=10 [2023-03-31T01:49:53.138Z] > git checkout -f d35a6d71fe87111dd6dc7ce2834c0e8400498827 # timeout=10 [2023-03-31T01:49:53.230Z] > git remote # timeout=10 [2023-03-31T01:49:53.253Z] > git config --get remote.origin.url # timeout=10 [2023-03-31T01:49:53.278Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-03-31T01:49:53.294Z] > git merge b76ffb3f756266f027a45c1155223ddd586b2bad # timeout=10 [2023-03-31T01:49:53.323Z] > git rev-parse HEAD^{commit} # timeout=10 [2023-03-31T01:49:53.349Z] > git config core.sparsecheckout # timeout=10 [2023-03-31T01:49:53.363Z] > git checkout -f d35a6d71fe87111dd6dc7ce2834c0e8400498827 # timeout=10 [2023-03-31T01:49:56.870Z] Commit message: "feat: Refactor random value generation function" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-03-31T01:49:57.749Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2023-03-31T01:49:57.749Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-03-31T01:49:57.749Z] Dload Upload Total Spent Left Speed [2023-03-31T01:49:57.749Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 85577 0 --:--:-- --:--:-- --:--:-- 86155 [Pipeline] sh [2023-03-31T01:49:58.454Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2023-03-31T01:49:58.783Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2023-03-31T01:49:58.783Z] + sudo tee /etc/docker/daemon.new [2023-03-31T01:49:58.783Z] { [2023-03-31T01:49:58.783Z] "registry-mirrors": [ [2023-03-31T01:49:58.783Z] "https://nexus3.edgexfoundry.org:10001" [2023-03-31T01:49:58.783Z] ], [2023-03-31T01:49:58.783Z] "bip": "10.250.0.254/24", [2023-03-31T01:49:58.783Z] "hosts": [ [2023-03-31T01:49:58.783Z] "tcp://0.0.0.0:5555", [2023-03-31T01:49:58.783Z] "unix:///var/run/docker.sock" [2023-03-31T01:49:58.783Z] ], [2023-03-31T01:49:58.783Z] "mtu": 1458, [2023-03-31T01:49:58.783Z] "selinux-enabled": true, [2023-03-31T01:49:58.783Z] "seccomp-profile": "/etc/docker/seccomp.json" [2023-03-31T01:49:58.783Z] } [Pipeline] sh [2023-03-31T01:49:59.112Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2023-03-31T01:49:59.448Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-03-31T01:50:17.718Z] provisioning config files... [2023-03-31T01:50:17.747Z] copy managed file [device-virtual-go-settings] to file:/w/workspace/device-virtual-go/5@tmp/config3063173901116508267tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-03-31T01:50:18.098Z] ---> docker-login.sh [2023-03-31T01:50:18.099Z] nexus3.edgexfoundry.org:10001 [2023-03-31T01:50:18.691Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-31T01:50:18.691Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-31T01:50:18.691Z] Configure a credential helper to remove this warning. See [2023-03-31T01:50:18.691Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-31T01:50:18.691Z] [2023-03-31T01:50:18.691Z] Login Succeeded [2023-03-31T01:50:18.691Z] nexus3.edgexfoundry.org:10002 [2023-03-31T01:50:18.963Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-31T01:50:18.963Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-31T01:50:18.963Z] Configure a credential helper to remove this warning. See [2023-03-31T01:50:18.963Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-31T01:50:18.963Z] [2023-03-31T01:50:18.963Z] Login Succeeded [2023-03-31T01:50:18.964Z] nexus3.edgexfoundry.org:10003 [2023-03-31T01:50:19.237Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-31T01:50:19.510Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-31T01:50:19.510Z] Configure a credential helper to remove this warning. See [2023-03-31T01:50:19.510Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-31T01:50:19.510Z] [2023-03-31T01:50:19.510Z] Login Succeeded [2023-03-31T01:50:19.510Z] nexus3.edgexfoundry.org:10004 [2023-03-31T01:50:19.785Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-31T01:50:19.785Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-31T01:50:19.785Z] Configure a credential helper to remove this warning. See [2023-03-31T01:50:19.785Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-31T01:50:19.785Z] [2023-03-31T01:50:19.785Z] Login Succeeded [2023-03-31T01:50:19.785Z] docker.io [2023-03-31T01:50:20.056Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-31T01:50:20.325Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-31T01:50:20.325Z] Configure a credential helper to remove this warning. See [2023-03-31T01:50:20.325Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-31T01:50:20.325Z] [2023-03-31T01:50:20.325Z] Login Succeeded [2023-03-31T01:50:20.325Z] ---> docker-login.sh ends [Pipeline] } [2023-03-31T01:50:20.340Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-03-31T01:50:20.604Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-03-31T01:50:20.617Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-03-31T01:50:20.629Z] ========================================================= [2023-03-31T01:50:20.629Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine] [2023-03-31T01:50:20.629Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-31T01:50:20.969Z] + 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-31T01:50:21.246Z] Sending build context to Docker daemon 11.98MB [2023-03-31T01:50:21.516Z] Step 1/12 : ARG BASE=golang:1.20-alpine3.17 [2023-03-31T01:50:21.516Z] Step 2/12 : FROM ${BASE} AS builder [2023-03-31T01:50:21.516Z] 1.20-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2023-03-31T01:50:21.516Z] af6eaf76a39c: Pulling fs layer [2023-03-31T01:50:21.516Z] 55522c791124: Pulling fs layer [2023-03-31T01:50:21.516Z] ce5c4a1c91eb: Pulling fs layer [2023-03-31T01:50:21.516Z] 169dfbe0d373: Pulling fs layer [2023-03-31T01:50:21.516Z] e1ff8fa3b103: Pulling fs layer [2023-03-31T01:50:21.516Z] 52ebb69f0ebf: Pulling fs layer [2023-03-31T01:50:21.516Z] 5abe8eddf0d5: Pulling fs layer [2023-03-31T01:50:21.516Z] 169dfbe0d373: Waiting [2023-03-31T01:50:21.516Z] e1ff8fa3b103: Waiting [2023-03-31T01:50:21.516Z] 52ebb69f0ebf: Waiting [2023-03-31T01:50:21.516Z] 5abe8eddf0d5: Waiting [2023-03-31T01:50:21.516Z] 55522c791124: Verifying Checksum [2023-03-31T01:50:21.516Z] 55522c791124: Download complete [2023-03-31T01:50:21.808Z] 169dfbe0d373: Verifying Checksum [2023-03-31T01:50:21.808Z] 169dfbe0d373: Download complete [2023-03-31T01:50:21.808Z] e1ff8fa3b103: Verifying Checksum [2023-03-31T01:50:21.808Z] e1ff8fa3b103: Download complete [2023-03-31T01:50:21.808Z] af6eaf76a39c: Verifying Checksum [2023-03-31T01:50:21.808Z] af6eaf76a39c: Download complete [2023-03-31T01:50:22.800Z] af6eaf76a39c: Pull complete [2023-03-31T01:50:22.800Z] 5abe8eddf0d5: Verifying Checksum [2023-03-31T01:50:22.800Z] 5abe8eddf0d5: Download complete [2023-03-31T01:50:23.089Z] 55522c791124: Pull complete [2023-03-31T01:50:24.062Z] ce5c4a1c91eb: Download complete [2023-03-31T01:50:24.332Z] 52ebb69f0ebf: Verifying Checksum [2023-03-31T01:50:24.332Z] 52ebb69f0ebf: Download complete [2023-03-31T01:50:36.682Z] ce5c4a1c91eb: Pull complete [2023-03-31T01:50:36.682Z] 169dfbe0d373: Pull complete [2023-03-31T01:50:36.682Z] e1ff8fa3b103: Pull complete [2023-03-31T01:50:43.345Z] 52ebb69f0ebf: Pull complete [2023-03-31T01:50:45.946Z] 5abe8eddf0d5: Pull complete [2023-03-31T01:50:45.946Z] Digest: sha256:978cc1420e451f27bd88fdeece3ad01a9109ec773b62f165dfc696fd516b3d8f [2023-03-31T01:50:45.946Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine [2023-03-31T01:50:45.946Z] ---> 6cb57ee374ae [2023-03-31T01:50:45.946Z] Step 3/12 : ARG ALPINE_PKG_BASE="make git openssh-client" [2023-03-31T01:50:47.361Z] ---> Running in ee5f386cab45 [2023-03-31T01:50:47.632Z] Removing intermediate container ee5f386cab45 [2023-03-31T01:50:47.632Z] ---> ab789ac14836 [2023-03-31T01:50:47.632Z] Step 4/12 : ARG ALPINE_PKG_EXTRA="" [2023-03-31T01:50:47.632Z] ---> Running in c4f36a133e3e [2023-03-31T01:50:47.900Z] Removing intermediate container c4f36a133e3e [2023-03-31T01:50:47.900Z] ---> ea75445006d6 [2023-03-31T01:50:47.900Z] Step 5/12 : ARG ADD_BUILD_TAGS="" [2023-03-31T01:50:48.170Z] ---> Running in 72ad28d7cb47 [2023-03-31T01:50:48.439Z] Removing intermediate container 72ad28d7cb47 [2023-03-31T01:50:48.439Z] ---> 78df9cff3b21 [2023-03-31T01:50:48.439Z] Step 6/12 : WORKDIR /device-virtual-go [2023-03-31T01:50:48.439Z] ---> Running in 0665c90ca700 [2023-03-31T01:50:48.707Z] Removing intermediate container 0665c90ca700 [2023-03-31T01:50:48.707Z] ---> d7360cc211af [2023-03-31T01:50:48.707Z] Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-03-31T01:50:48.976Z] ---> Running in 41d5d2b2ad3c [2023-03-31T01:50:49.940Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz [2023-03-31T01:50:50.523Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz [2023-03-31T01:50:51.483Z] (1/4) Installing openssh-keygen (9.1_p1-r2) [2023-03-31T01:50:51.483Z] (2/4) Installing libedit (20221030.3.1-r0) [2023-03-31T01:50:51.483Z] (3/4) Installing openssh-client-common (9.1_p1-r2) [2023-03-31T01:50:51.750Z] (4/4) Installing openssh-client-default (9.1_p1-r2) [2023-03-31T01:50:51.750Z] Executing busybox-1.35.0-r29.trigger [2023-03-31T01:50:51.750Z] OK: 268 MiB in 57 packages [2023-03-31T01:50:52.715Z] Removing intermediate container 41d5d2b2ad3c [2023-03-31T01:50:52.715Z] ---> 918f85cfcb34 [2023-03-31T01:50:52.715Z] Step 8/12 : COPY go.mod vendor* ./ [2023-03-31T01:50:53.301Z] ---> 23f418dc0096 [2023-03-31T01:50:53.301Z] Step 9/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-03-31T01:50:53.301Z] ---> Running in a04b646aa580 [2023-03-31T01:52:01.195Z] Removing intermediate container a04b646aa580 [2023-03-31T01:52:01.195Z] ---> c8acf584f392 [2023-03-31T01:52:01.195Z] Step 10/12 : COPY . . [2023-03-31T01:52:01.195Z] ---> eba589d8c20e [2023-03-31T01:52:01.195Z] Step 11/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-03-31T01:52:01.195Z] ---> Running in 82f851063801 [2023-03-31T01:52:01.195Z] Removing intermediate container 82f851063801 [2023-03-31T01:52:01.195Z] ---> 45d1b24274c0 [2023-03-31T01:52:01.195Z] Step 12/12 : RUN $MAKE [2023-03-31T01:52:01.195Z] ---> Running in 7ac8d9b845f8 [2023-03-31T01:52:01.195Z] noop [2023-03-31T01:52:01.195Z] Removing intermediate container 7ac8d9b845f8 [2023-03-31T01:52:01.195Z] ---> 99a59aa3b395 [2023-03-31T01:52:01.195Z] Successfully built 99a59aa3b395 [2023-03-31T01:52:01.195Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-31T01:52:01.538Z] + docker inspect -f . ci-base-image-arm64 [2023-03-31T01:52:01.538Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-31T01:52:01.751Z] prd-ubuntu20.04-docker-arm64-4c-16g-6523 does not seem to be running inside a container [2023-03-31T01:52:01.828Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-virtual-go/5 -v /w/workspace/device-virtual-go/5:/w/workspace/device-virtual-go/5:rw,z -v /w/workspace/device-virtual-go/5@tmp:/w/workspace/device-virtual-go/5@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-31T01:52:03.033Z] $ docker top 6f7729000145716efe8878a51007ea7fa27aa67a190ee89ee2c12026bfcd4ad0 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-03-31T01:52:03.867Z] + go version [2023-03-31T01:52:03.867Z] go version go1.20.2 linux/arm64 [Pipeline] } [2023-03-31T01:52:03.894Z] $ docker stop --time=1 6f7729000145716efe8878a51007ea7fa27aa67a190ee89ee2c12026bfcd4ad0 [2023-03-31T01:52:05.518Z] $ docker rm -f --volumes 6f7729000145716efe8878a51007ea7fa27aa67a190ee89ee2c12026bfcd4ad0 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-31T01:52:06.064Z] + docker inspect -f . ci-base-image-arm64 [2023-03-31T01:52:06.064Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-31T01:52:06.250Z] prd-ubuntu20.04-docker-arm64-4c-16g-6523 does not seem to be running inside a container [2023-03-31T01:52:06.321Z] $ 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/5 -v /w/workspace/device-virtual-go/5:/w/workspace/device-virtual-go/5:rw,z -v /w/workspace/device-virtual-go/5@tmp:/w/workspace/device-virtual-go/5@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-31T01:52:07.559Z] $ docker top 81f29fbd81b3790975e5c3dd902a81501a1f9efa6d8df25484c530ab57682416 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-03-31T01:52:08.386Z] + git config --global --add safe.directory /w/workspace/device-virtual-go/5 [Pipeline] fileExists [Pipeline] sh [2023-03-31T01:52:08.708Z] + make test [2023-03-31T01:52:08.976Z] go test ./... -coverprofile=coverage.out [2023-03-31T01:52:41.249Z] ? github.com/edgexfoundry/device-virtual-go [no test files] [2023-03-31T01:54:32.926Z] ? github.com/edgexfoundry/device-virtual-go/cmd [no test files] [2023-03-31T01:54:32.926Z] ok github.com/edgexfoundry/device-virtual-go/internal/driver 0.129s coverage: 61.4% of statements [2023-03-31T01:54:32.926Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2023-03-31T01:54:32.926Z] go vet ./... [2023-03-31T01:55:05.159Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-03-31T01:55:05.159Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2023-03-31T01:55:05.159Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2023-03-31T01:55:05.178Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2023-03-31T01:55:05.203Z] $ docker stop --time=1 81f29fbd81b3790975e5c3dd902a81501a1f9efa6d8df25484c530ab57682416 [2023-03-31T01:55:07.148Z] $ docker rm -f --volumes 81f29fbd81b3790975e5c3dd902a81501a1f9efa6d8df25484c530ab57682416 [Pipeline] // withDockerContainer [Pipeline] sh [2023-03-31T01:55:08.277Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2023-03-31T01:55:08.302Z] Warning: overwriting stash ‘coverage-report’ [2023-03-31T01:55:08.817Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-03-31T01:55:09.187Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-03-31T01:55:09.506Z] + ls -al . [2023-03-31T01:55:09.506Z] total 188 [2023-03-31T01:55:09.506Z] drwxrwxr-x 8 jenkins jenkins 4096 Mar 31 01:52 . [2023-03-31T01:55:09.506Z] drwxrwxr-x 4 jenkins jenkins 4096 Mar 31 01:49 .. [2023-03-31T01:55:09.506Z] drwxrwxr-x 8 jenkins jenkins 4096 Mar 31 01:49 .git [2023-03-31T01:55:09.506Z] drwxrwxr-x 3 jenkins jenkins 4096 Mar 31 01:49 .github [2023-03-31T01:55:09.506Z] -rw-rw-r-- 1 jenkins jenkins 337 Mar 31 01:49 .gitignore [2023-03-31T01:55:09.506Z] -rw-rw-r-- 1 jenkins jenkins 41 Mar 31 01:49 .golangci.yml [2023-03-31T01:55:09.506Z] -rw-rw-r-- 1 jenkins jenkins 8641 Mar 31 01:49 Attribution.txt [2023-03-31T01:55:09.506Z] -rw-rw-r-- 1 jenkins jenkins 11367 Mar 31 01:49 CHANGELOG.md [2023-03-31T01:55:09.506Z] -rw-rw-r-- 1 jenkins jenkins 1646 Mar 31 01:49 Dockerfile [2023-03-31T01:55:09.506Z] -rw-rw-r-- 1 jenkins jenkins 677 Mar 31 01:49 GOVERNANCE.md [2023-03-31T01:55:09.506Z] -rw-rw-r-- 1 jenkins jenkins 660 Mar 31 01:49 Jenkinsfile [2023-03-31T01:55:09.507Z] -rw-rw-r-- 1 jenkins jenkins 11340 Mar 31 01:49 LICENSE [2023-03-31T01:55:09.507Z] -rw-rw-r-- 1 jenkins jenkins 1696 Mar 31 01:49 Makefile [2023-03-31T01:55:09.507Z] -rw-rw-r-- 1 jenkins jenkins 623 Mar 31 01:49 OWNERS.md [2023-03-31T01:55:09.507Z] -rw-rw-r-- 1 jenkins jenkins 3578 Mar 31 01:49 README.md [2023-03-31T01:55:09.507Z] -rw-rw-r-- 1 jenkins jenkins 5 Mar 31 01:47 VERSION [2023-03-31T01:55:09.507Z] drwxrwxr-x 2 jenkins jenkins 4096 Mar 31 01:49 bin [2023-03-31T01:55:09.507Z] drwxrwxr-x 3 jenkins jenkins 4096 Mar 31 01:49 cmd [2023-03-31T01:55:09.507Z] -rw-r--r-- 1 jenkins jenkins 42791 Mar 31 01:54 coverage.out [2023-03-31T01:55:09.507Z] -rw-rw-r-- 1 jenkins jenkins 3206 Mar 31 01:49 go.mod [2023-03-31T01:55:09.507Z] -rw-rw-r-- 1 jenkins jenkins 30819 Mar 31 01:49 go.sum [2023-03-31T01:55:09.507Z] drwxrwxr-x 3 jenkins jenkins 4096 Mar 31 01:49 internal [2023-03-31T01:55:09.507Z] drwxrwxr-x 4 jenkins jenkins 4096 Mar 31 01:49 snap [2023-03-31T01:55:09.507Z] -rw-rw-r-- 1 jenkins jenkins 235 Mar 31 01:49 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-31T01:55:10.013Z] + 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=d35a6d71fe87111dd6dc7ce2834c0e8400498827 --label arch=arm64 --label version=0.0.0 . [2023-03-31T01:55:10.612Z] Sending build context to Docker daemon 12.03MB [2023-03-31T01:55:10.612Z] Step 1/25 : ARG BASE=golang:1.20-alpine3.17 [2023-03-31T01:55:10.612Z] Step 2/25 : FROM ${BASE} AS builder [2023-03-31T01:55:10.612Z] ---> 99a59aa3b395 [2023-03-31T01:55:10.612Z] Step 3/25 : ARG ALPINE_PKG_BASE="make git openssh-client" [2023-03-31T01:55:10.895Z] ---> Running in 0db9dea7728d [2023-03-31T01:55:11.178Z] Removing intermediate container 0db9dea7728d [2023-03-31T01:55:11.178Z] ---> 0cf5619431d4 [2023-03-31T01:55:11.178Z] Step 4/25 : ARG ALPINE_PKG_EXTRA="" [2023-03-31T01:55:11.178Z] ---> Running in 3bfdc808fd35 [2023-03-31T01:55:11.458Z] Removing intermediate container 3bfdc808fd35 [2023-03-31T01:55:11.458Z] ---> cc659038914b [2023-03-31T01:55:11.458Z] Step 5/25 : ARG ADD_BUILD_TAGS="" [2023-03-31T01:55:11.738Z] ---> Running in 92b6b66338a4 [2023-03-31T01:55:12.034Z] Removing intermediate container 92b6b66338a4 [2023-03-31T01:55:12.034Z] ---> 11d8b5605ea2 [2023-03-31T01:55:12.034Z] Step 6/25 : WORKDIR /device-virtual-go [2023-03-31T01:55:12.034Z] ---> Running in 587e3ccb30a9 [2023-03-31T01:55:12.632Z] Removing intermediate container 587e3ccb30a9 [2023-03-31T01:55:12.632Z] ---> 78798fe93a36 [2023-03-31T01:55:12.632Z] Step 7/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-03-31T01:55:12.632Z] ---> Running in 7dfb37d6249e [2023-03-31T01:55:13.597Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz [2023-03-31T01:55:14.182Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz [2023-03-31T01:55:15.147Z] OK: 268 MiB in 57 packages [2023-03-31T01:55:17.736Z] Removing intermediate container 7dfb37d6249e [2023-03-31T01:55:17.736Z] ---> d63956da67b1 [2023-03-31T01:55:17.736Z] Step 8/25 : COPY go.mod vendor* ./ [2023-03-31T01:55:18.323Z] ---> a400b0e2b6fa [2023-03-31T01:55:18.323Z] Step 9/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-03-31T01:55:18.323Z] ---> Running in 78967fe15480 [2023-03-31T01:55:20.920Z] Removing intermediate container 78967fe15480 [2023-03-31T01:55:20.920Z] ---> f603dd7a567f [2023-03-31T01:55:20.920Z] Step 10/25 : COPY . . [2023-03-31T01:55:22.334Z] ---> 85bb2ae0877c [2023-03-31T01:55:22.334Z] Step 11/25 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-03-31T01:55:22.334Z] ---> Running in a2076efa38f9 [2023-03-31T01:55:22.334Z] Removing intermediate container a2076efa38f9 [2023-03-31T01:55:22.334Z] ---> d84aa5a1ae19 [2023-03-31T01:55:22.334Z] Step 12/25 : RUN $MAKE [2023-03-31T01:55:22.334Z] ---> Running in 3121958151c0 [2023-03-31T01:55:23.298Z] 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-31T01:57:30.005Z] Removing intermediate container 3121958151c0 [2023-03-31T01:57:30.005Z] ---> a1b31f34778a [2023-03-31T01:57:30.005Z] Step 13/25 : FROM alpine:3.17 [2023-03-31T01:57:30.005Z] 3.17: Pulling from library/alpine [2023-03-31T01:57:30.005Z] c41833b44d91: Pulling fs layer [2023-03-31T01:57:30.005Z] c41833b44d91: Verifying Checksum [2023-03-31T01:57:30.005Z] c41833b44d91: Download complete [2023-03-31T01:57:30.005Z] c41833b44d91: Pull complete [2023-03-31T01:57:30.005Z] Digest: sha256:124c7d2707904eea7431fffe91522a01e5a861a624ee31d03372cc1d138a3126 [2023-03-31T01:57:30.005Z] Status: Downloaded newer image for alpine:3.17 [2023-03-31T01:57:30.005Z] ---> 51e60588ff2c [2023-03-31T01:57:30.005Z] Step 14/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2021: IOTech' [2023-03-31T01:57:30.005Z] ---> Running in 04e8cfac61f5 [2023-03-31T01:57:30.005Z] Removing intermediate container 04e8cfac61f5 [2023-03-31T01:57:30.005Z] ---> 255a974d268a [2023-03-31T01:57:30.005Z] Step 15/25 : RUN apk add --update --no-cache dumb-init [2023-03-31T01:57:30.005Z] ---> Running in f917d34e415d [2023-03-31T01:57:30.005Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz [2023-03-31T01:57:30.005Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz [2023-03-31T01:57:30.966Z] (1/1) Installing dumb-init (1.2.5-r2) [2023-03-31T01:57:30.966Z] Executing busybox-1.35.0-r29.trigger [2023-03-31T01:57:30.966Z] OK: 8 MiB in 16 packages [2023-03-31T01:57:31.927Z] Removing intermediate container f917d34e415d [2023-03-31T01:57:31.927Z] ---> de04ba24ac0d [2023-03-31T01:57:31.927Z] Step 16/25 : WORKDIR / [2023-03-31T01:57:31.927Z] ---> Running in bba8b120e7ee [2023-03-31T01:57:32.194Z] Removing intermediate container bba8b120e7ee [2023-03-31T01:57:32.194Z] ---> 1b1c19a748ad [2023-03-31T01:57:32.194Z] Step 17/25 : COPY --from=builder /device-virtual-go/Attribution.txt / [2023-03-31T01:57:32.460Z] ---> 5c7768aea857 [2023-03-31T01:57:32.460Z] Step 18/25 : COPY --from=builder /device-virtual-go/LICENSE / [2023-03-31T01:57:33.044Z] ---> bb6ed4823788 [2023-03-31T01:57:33.044Z] Step 19/25 : COPY --from=builder /device-virtual-go/cmd / [2023-03-31T01:57:34.453Z] ---> 02bff959092e [2023-03-31T01:57:34.453Z] Step 20/25 : EXPOSE 59900 [2023-03-31T01:57:34.453Z] ---> Running in 21aa865df48b [2023-03-31T01:57:34.720Z] Removing intermediate container 21aa865df48b [2023-03-31T01:57:34.720Z] ---> 36e8665fd114 [2023-03-31T01:57:34.720Z] Step 21/25 : ENTRYPOINT ["/device-virtual"] [2023-03-31T01:57:34.720Z] ---> Running in 2aea9abd8d7a [2023-03-31T01:57:34.987Z] Removing intermediate container 2aea9abd8d7a [2023-03-31T01:57:34.987Z] ---> e48c8e6754cd [2023-03-31T01:57:34.987Z] Step 22/25 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry"] [2023-03-31T01:57:35.254Z] ---> Running in 6db9b7272626 [2023-03-31T01:57:35.520Z] Removing intermediate container 6db9b7272626 [2023-03-31T01:57:35.520Z] ---> acd88ad29039 [2023-03-31T01:57:35.520Z] Step 23/25 : LABEL arch=arm64 [2023-03-31T01:57:35.520Z] ---> Running in a13dabef240b [2023-03-31T01:57:35.788Z] Removing intermediate container a13dabef240b [2023-03-31T01:57:35.788Z] ---> 1f03850c5d0f [2023-03-31T01:57:35.788Z] Step 24/25 : LABEL git_sha=d35a6d71fe87111dd6dc7ce2834c0e8400498827 [2023-03-31T01:57:35.788Z] ---> Running in 5db98a4354fd [2023-03-31T01:57:36.061Z] Removing intermediate container 5db98a4354fd [2023-03-31T01:57:36.061Z] ---> b91ae255c608 [2023-03-31T01:57:36.061Z] Step 25/25 : LABEL version=0.0.0 [2023-03-31T01:57:36.061Z] ---> Running in c0c37a298686 [2023-03-31T01:57:36.329Z] Removing intermediate container c0c37a298686 [2023-03-31T01:57:36.329Z] ---> 6287bdfbff01 [2023-03-31T01:57:36.329Z] [Warning] One or more build-args [ARCH] were not consumed [2023-03-31T01:57:36.596Z] Successfully built 6287bdfbff01 [2023-03-31T01:57:36.596Z] 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-31T01:57:37.009Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-03-31T01:57:37.009Z] [2023-03-31T01:57:37.009Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-31T01:57:37.338Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-03-31T01:57:39.279Z] arm64: Pulling from edgex-lftools-log-publisher [2023-03-31T01:57:39.279Z] 8998bd30e6a1: Pulling fs layer [2023-03-31T01:57:39.279Z] 04944245beec: Pulling fs layer [2023-03-31T01:57:39.279Z] 699f458cf7ca: Pulling fs layer [2023-03-31T01:57:39.279Z] 765212b225bb: Pulling fs layer [2023-03-31T01:57:39.279Z] f23df028b6ca: Pulling fs layer [2023-03-31T01:57:39.279Z] d65c8cfc05b1: Pulling fs layer [2023-03-31T01:57:39.279Z] 2437ff75d9bd: Pulling fs layer [2023-03-31T01:57:39.279Z] f23df028b6ca: Waiting [2023-03-31T01:57:39.279Z] 2437ff75d9bd: Waiting [2023-03-31T01:57:39.279Z] d65c8cfc05b1: Waiting [2023-03-31T01:57:39.279Z] 765212b225bb: Waiting [2023-03-31T01:57:39.279Z] 04944245beec: Verifying Checksum [2023-03-31T01:57:39.279Z] 04944245beec: Download complete [2023-03-31T01:57:39.279Z] 765212b225bb: Verifying Checksum [2023-03-31T01:57:39.279Z] 765212b225bb: Download complete [2023-03-31T01:57:39.279Z] f23df028b6ca: Verifying Checksum [2023-03-31T01:57:39.279Z] f23df028b6ca: Download complete [2023-03-31T01:57:39.548Z] d65c8cfc05b1: Verifying Checksum [2023-03-31T01:57:39.548Z] d65c8cfc05b1: Download complete [2023-03-31T01:57:39.548Z] 699f458cf7ca: Verifying Checksum [2023-03-31T01:57:39.548Z] 699f458cf7ca: Download complete [2023-03-31T01:57:39.815Z] 8998bd30e6a1: Verifying Checksum [2023-03-31T01:57:39.815Z] 8998bd30e6a1: Download complete [2023-03-31T01:57:42.405Z] 2437ff75d9bd: Verifying Checksum [2023-03-31T01:57:42.405Z] 2437ff75d9bd: Download complete [2023-03-31T01:57:43.818Z] 8998bd30e6a1: Pull complete [2023-03-31T01:57:44.399Z] 04944245beec: Pull complete [2023-03-31T01:57:45.806Z] 699f458cf7ca: Pull complete [2023-03-31T01:57:45.806Z] 765212b225bb: Pull complete [2023-03-31T01:57:46.765Z] f23df028b6ca: Pull complete [2023-03-31T01:57:46.765Z] d65c8cfc05b1: Pull complete [2023-03-31T01:58:01.762Z] 2437ff75d9bd: Pull complete [2023-03-31T01:58:01.762Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2023-03-31T01:58:01.762Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-03-31T01:58:01.762Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-31T01:58:01.953Z] prd-ubuntu20.04-docker-arm64-4c-16g-6523 does not seem to be running inside a container [2023-03-31T01:58:02.035Z] $ 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/5 -v /w/workspace/device-virtual-go/5:/w/workspace/device-virtual-go/5:rw,z -v /w/workspace/device-virtual-go/5@tmp:/w/workspace/device-virtual-go/5@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-31T01:58:04.713Z] $ docker top 8102fecab0be168c4325fd695df76c5ce19439b8631fbfdb1723cca38d3c7d4a -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-03-31T01:58:05.528Z] ---> job-cost.sh [2023-03-31T01:58:05.528Z] lf-activate-venv: SKIPPING [2023-03-31T01:58:05.528Z] INFO: No Stack... [2023-03-31T01:58:05.793Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2023-03-31T01:58:06.753Z] INFO: Archiving Costs [Pipeline] sh [2023-03-31T01:58:07.390Z] + cat /w/workspace/device-virtual-go/5/archives/cost.csv [2023-03-31T01:58:07.390Z] + cut -d, -f6 [Pipeline] lock [2023-03-31T01:58:07.457Z] Trying to acquire lock on [jenkins-edgexfoundry-device-virtual-go-PR-374-5-stack-cost] [2023-03-31T01:58:07.463Z] Resource [jenkins-edgexfoundry-device-virtual-go-PR-374-5-stack-cost] did not exist. Created. [2023-03-31T01:58:07.464Z] Lock acquired on [jenkins-edgexfoundry-device-virtual-go-PR-374-5-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-03-31T01:58:08.113Z] /w/workspace/device-virtual-go/5@tmp/durable-7e350998/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2023-03-31T01:58:08.765Z] + echo total: 0.10999999940395355 [Pipeline] stash [2023-03-31T01:58:08.788Z] Warning: overwriting stash ‘stack-cost’ [2023-03-31T01:58:08.834Z] Stashed 1 file(s) [Pipeline] } [2023-03-31T01:58:08.846Z] Lock released on resource [jenkins-edgexfoundry-device-virtual-go-PR-374-5-stack-cost] [Pipeline] // lock [Pipeline] } [2023-03-31T01:58:08.875Z] $ docker stop --time=1 8102fecab0be168c4325fd695df76c5ce19439b8631fbfdb1723cca38d3c7d4a [2023-03-31T01:58:10.363Z] $ docker rm -f --volumes 8102fecab0be168c4325fd695df76c5ce19439b8631fbfdb1723cca38d3c7d4a [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-31T01:58:10.719Z] provisioning config files... [2023-03-31T01:58:10.726Z] copy managed file [device-virtual-go-codecov-token] to file:/w/workspace/foundry_device-virtual-go_PR-374@tmp/config13110540397607659587tmp [Pipeline] { [Pipeline] sh [2023-03-31T01:58:11.012Z] + set +x [2023-03-31T01:58:11.012Z] + curl -s https://codecov.io/bash [2023-03-31T01:58:11.012Z] + bash -s -- [2023-03-31T01:58:11.012Z] [2023-03-31T01:58:11.012Z] _____ _ [2023-03-31T01:58:11.012Z] / ____| | | [2023-03-31T01:58:11.012Z] | | ___ __| | ___ ___ _____ __ [2023-03-31T01:58:11.012Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2023-03-31T01:58:11.012Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2023-03-31T01:58:11.012Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2023-03-31T01:58:11.012Z] Bash-1.0.6 [2023-03-31T01:58:11.012Z] [2023-03-31T01:58:11.012Z] [2023-03-31T01:58:11.012Z] ==> git version 2.25.1 found [2023-03-31T01:58:11.012Z] ==> 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-31T01:58:11.012Z] Release-Date: 2020-01-08 [2023-03-31T01:58:11.012Z] 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-31T01:58:11.012Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2023-03-31T01:58:11.012Z] ==> Jenkins CI detected. [2023-03-31T01:58:11.012Z] current dir:  /w/workspace/foundry_device-virtual-go_PR-374 [2023-03-31T01:58:11.012Z] project root: . [2023-03-31T01:58:11.012Z] --> token set from env [2023-03-31T01:58:11.012Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2023-03-31T01:58:11.272Z] ==> Running gcov in . (disable via -X gcov) [2023-03-31T01:58:11.272Z] ==> Python coveragepy not found [2023-03-31T01:58:11.272Z] ==> Searching for coverage reports in: [2023-03-31T01:58:11.272Z] + . [2023-03-31T01:58:11.272Z] -> Found 1 reports [2023-03-31T01:58:11.272Z] ==> Detecting git/mercurial file structure [2023-03-31T01:58:11.272Z] ==> Reading reports [2023-03-31T01:58:11.272Z] + ./coverage.out bytes=42791 [2023-03-31T01:58:11.272Z] ==> Appending adjustments [2023-03-31T01:58:11.272Z] https://docs.codecov.io/docs/fixing-reports [2023-03-31T01:58:11.272Z] + Found adjustments [2023-03-31T01:58:11.272Z] ==> Gzipping contents [2023-03-31T01:58:11.272Z] 8.0K /tmp/codecov.7gr8x6.gz [2023-03-31T01:58:11.272Z] ==> Uploading reports [2023-03-31T01:58:11.272Z] url: https://codecov.io [2023-03-31T01:58:11.272Z] query: branch=PR-374&commit=d35a6d71fe87111dd6dc7ce2834c0e8400498827&build=5&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-virtual-go%2Fjob%2FPR-374%2F5%2F&name=&tag=&slug=edgexfoundry%2Fdevice-virtual-go&service=jenkins&flags=&pr=374&job=&cmd_args= [2023-03-31T01:58:11.272Z] -> Pinging Codecov [2023-03-31T01:58:11.272Z] 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=d35a6d71fe87111dd6dc7ce2834c0e8400498827&build=5&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-virtual-go%2Fjob%2FPR-374%2F5%2F&name=&tag=&slug=edgexfoundry%2Fdevice-virtual-go&service=jenkins&flags=&pr=374&job=&cmd_args= [2023-03-31T01:58:11.533Z] -> Uploading to [2023-03-31T01:58:11.533Z] https://storage.googleapis.com/codecov/v4/raw/2023-03-31/5E52B4B073DB2E39498172D8E973AA87/d35a6d71fe87111dd6dc7ce2834c0e8400498827/796931e4-115f-4bfb-9f13-4a41fc5db36e.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20230331%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20230331T015811Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=e0ebb4828192fb430f5ccdc0a479f378b977d184d60926c903a8d300b57249dc [2023-03-31T01:58:11.533Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-03-31T01:58:11.533Z] Dload Upload Total Spent Left Speed [2023-03-31T01:58:11.792Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 5152 0 0 100 5152 0 17765 --:--:-- --:--:-- --:--:-- 17704 100 5152 0 0 100 5152 0 17765 --:--:-- --:--:-- --:--:-- 17704 [2023-03-31T01:58:11.792Z] -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-virtual-go/commit/d35a6d71fe87111dd6dc7ce2834c0e8400498827 [Pipeline] } [2023-03-31T01:58:11.799Z] 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-31T01:58:12.504Z] + [ -d /w/workspace/foundry_device-virtual-go_PR-374/archives ] [2023-03-31T01:58:12.504Z] + ls -al /w/workspace/foundry_device-virtual-go_PR-374/archives [2023-03-31T01:58:12.504Z] total 16 [2023-03-31T01:58:12.504Z] drwxr-xr-x 3 root root 4096 Mar 31 01:49 . [2023-03-31T01:58:12.504Z] drwxrwxr-x 10 jenkins jenkins 4096 Mar 31 01:49 .. [2023-03-31T01:58:12.504Z] drwxr-xr-x 2 root root 4096 Mar 31 01:49 cost [2023-03-31T01:58:12.504Z] -rw-r--r-- 1 root root 89 Mar 31 01:49 cost.csv [2023-03-31T01:58:12.504Z] + sudo chown -R jenkins:jenkins /w/workspace/foundry_device-virtual-go_PR-374/archives [2023-03-31T01:58:12.504Z] + ls -al /w/workspace/foundry_device-virtual-go_PR-374/archives [2023-03-31T01:58:12.504Z] total 16 [2023-03-31T01:58:12.504Z] drwxr-xr-x 3 jenkins jenkins 4096 Mar 31 01:49 . [2023-03-31T01:58:12.504Z] drwxrwxr-x 10 jenkins jenkins 4096 Mar 31 01:49 .. [2023-03-31T01:58:12.504Z] drwxr-xr-x 2 jenkins jenkins 4096 Mar 31 01:49 cost [2023-03-31T01:58:12.504Z] -rw-r--r-- 1 jenkins jenkins 89 Mar 31 01:49 cost.csv [Pipeline] libraryResource [Pipeline] sh [2023-03-31T01:58:12.794Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2023-03-31T01:58:13.664Z] ---> package-listing.sh [2023-03-31T01:58:13.665Z] ++ facter osfamily [2023-03-31T01:58:13.665Z] ++ tr '[:upper:]' '[:lower:]' [2023-03-31T01:58:13.925Z] + OS_FAMILY=debian [2023-03-31T01:58:13.925Z] + workspace=/w/workspace/foundry_device-virtual-go_PR-374 [2023-03-31T01:58:13.925Z] + START_PACKAGES=/tmp/packages_start.txt [2023-03-31T01:58:13.925Z] + END_PACKAGES=/tmp/packages_end.txt [2023-03-31T01:58:13.925Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2023-03-31T01:58:13.925Z] + PACKAGES=/tmp/packages_start.txt [2023-03-31T01:58:13.925Z] + '[' /w/workspace/foundry_device-virtual-go_PR-374 ']' [2023-03-31T01:58:13.925Z] + PACKAGES=/tmp/packages_end.txt [2023-03-31T01:58:13.925Z] + case "${OS_FAMILY}" in [2023-03-31T01:58:13.925Z] + dpkg -l [2023-03-31T01:58:13.925Z] + grep '^ii' [2023-03-31T01:58:13.925Z] + '[' -f /tmp/packages_start.txt ']' [2023-03-31T01:58:13.925Z] + '[' -f /tmp/packages_end.txt ']' [2023-03-31T01:58:13.925Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2023-03-31T01:58:13.925Z] + '[' /w/workspace/foundry_device-virtual-go_PR-374 ']' [2023-03-31T01:58:13.925Z] + mkdir -p /w/workspace/foundry_device-virtual-go_PR-374/archives/ [2023-03-31T01:58:13.925Z] + 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-31T01:58:13.936Z] 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-31T01:58:14.214Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-31T01:58:14.774Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-03-31T01:58:14.775Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-31T01:58:14.846Z] prd-ubuntu20.04-docker-8c-8g-6522 does not seem to be running inside a container [2023-03-31T01:58:14.871Z] $ 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 ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2023-03-31T01:58:15.068Z] $ docker top de423e7010a0a8bdbdd2b65e00b9d48d381003617ee88c8f29da287e4ec6599c -eo pid,comm [Pipeline] { [Pipeline] sh [2023-03-31T01:58:15.420Z] + touch /tmp/pre-build-complete [Pipeline] sh [2023-03-31T01:58:15.709Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2023-03-31T01:58:15.998Z] + ls /var/log/sa-host [2023-03-31T01:58:15.998Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-03-31T01:58:16.077Z] provisioning config files... [2023-03-31T01:58:16.086Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/foundry_device-virtual-go_PR-374@tmp/config12812003510843285584tmp [Pipeline] { [Pipeline] echo [2023-03-31T01:58:16.097Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2023-03-31T01:58:16.380Z] ---> create-netrc.sh [Pipeline] } [2023-03-31T01:58:16.387Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2023-03-31T01:58:16.716Z] ---> python-tools-install.sh [Pipeline] echo [2023-03-31T01:58:16.725Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2023-03-31T01:58:17.012Z] ---> sudo-logs.sh [2023-03-31T01:58:17.012Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2023-03-31T01:58:17.044Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2023-03-31T01:58:17.330Z] ---> job-cost.sh [2023-03-31T01:58:17.330Z] lf-activate-venv: SKIPPING [2023-03-31T01:58:17.330Z] DEBUG: total: 0.2199999988079071 [2023-03-31T01:58:17.330Z] INFO: Retrieving Stack Cost... [2023-03-31T01:58:17.590Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-03-31T01:58:18.159Z] INFO: Archiving Costs [Pipeline] echo [2023-03-31T01:58:18.170Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2023-03-31T01:58:18.455Z] ---> logs-deploy.sh [2023-03-31T01:58:18.455Z] lf-activate-venv: SKIPPING [2023-03-31T01:58:18.455Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-virtual-go/PR-374/5 [2023-03-31T01:58:18.455Z] INFO: archiving workspace using pattern(s): [2023-03-31T01:58:19.392Z] Archives upload complete. [2023-03-31T01:58:19.392Z] INFO: archiving logs to Nexus