Pull request #287 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 MonicaisHer for edgexfoundry/device-virtual-go Loading trusted files from base branch main at 9cab87334a4d5affcc1b2c5c12d642008ef46c2d rather than 9cb55bb2cfe838c22c2ea979fd784ef7e579c54d Obtained Jenkinsfile from 9cab87334a4d5affcc1b2c5c12d642008ef46c2d 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-ssh15221516457762701757.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision e2cac8b444d664382c771f5dccbf61e369ddf83e 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-ssh15891393923894721019.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 e2cac8b444d664382c771f5dccbf61e369ddf83e 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-287/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-287/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh14539407695410924972.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision e2cac8b444d664382c771f5dccbf61e369ddf83e (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f e2cac8b444d664382c771f5dccbf61e369ddf83e # timeout=10 Commit message: "Merge pull request #396 from ernestojeda/snyk-enhancements" > 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-ssh4836715992879590937.key > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision 0f180ed1236c637af8c254f95ad106931cc77145 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-287/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-287/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh605847256274804008.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision 0f180ed1236c637af8c254f95ad106931cc77145 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 0f180ed1236c637af8c254f95ad106931cc77145 # timeout=10 Commit message: "Feat: Add initial docker pipelines" > 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.17 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 Running on prd-ubuntu20.04-docker-8c-8g-908 in /w/workspace/foundry_device-virtual-go_PR-287 [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-287 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-virtual-go.git > git --version # timeout=10 > git --version # 'git version 2.25.1' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-virtual-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Merging remotes/origin/main commit 9cab87334a4d5affcc1b2c5c12d642008ef46c2d into PR head commit 9cb55bb2cfe838c22c2ea979fd784ef7e579c54d Merge succeeded, producing 9cb55bb2cfe838c22c2ea979fd784ef7e579c54d Checking out Revision 9cb55bb2cfe838c22c2ea979fd784ef7e579c54d (PR-287) > 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/287/head:refs/remotes/origin/PR-287 +refs/heads/main:refs/remotes/origin/main # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 9cb55bb2cfe838c22c2ea979fd784ef7e579c54d # 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 9cab87334a4d5affcc1b2c5c12d642008ef46c2d # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 9cb55bb2cfe838c22c2ea979fd784ef7e579c54d # timeout=10 Commit message: "feat(snap): Enable config options before the processing" > git rev-list --no-walk 8760134d8f81b98d9e42670833e31fee59ce4831 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2022-06-03T09:00:12.311Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2022-06-03T09:00:12.386Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2022-06-03T09:00:12.399Z] ========================================================= [2022-06-03T09:00:12.399Z] EdgeX Global Pipelines Version Info [2022-06-03T09:00:12.399Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2022-06-03T09:00:13.212Z] ------------------- [2022-06-03T09:00:13.212Z] stable info: [2022-06-03T09:00:13.212Z] ------------------- [2022-06-03T09:00:13.212Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2022-06-03T09:00:13.212Z] Commit SHA: e2cac8b444d664382c771f5dccbf61e369ddf83e [2022-06-03T09:00:13.212Z] Message: update stable to v1.0.231 [2022-06-03T09:00:13.787Z] ------------------- [2022-06-03T09:00:13.787Z] experimental info: [2022-06-03T09:00:13.787Z] ------------------- [2022-06-03T09:00:13.787Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2022-06-03T09:00:13.787Z] Commit SHA: e2cac8b444d664382c771f5dccbf61e369ddf83e [2022-06-03T09:00:13.787Z] Message: update experimental to v1.0.231 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2022-06-03T09:00:13.982Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-virtual-go-settings [Pipeline] echo [2022-06-03T09:00:13.997Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-virtual-go [Pipeline] echo [2022-06-03T09:00:14.015Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2022-06-03T09:00:14.026Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2022-06-03T09:00:14.042Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2022-06-03T09:00:14.058Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.17 [Pipeline] echo [2022-06-03T09:00:14.073Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2022-06-03T09:00:14.086Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2022-06-03T09:00:14.098Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2022-06-03T09:00:14.114Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2022-06-03T09:00:14.123Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2022-06-03T09:00:14.132Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-virtual [Pipeline] echo [2022-06-03T09:00:14.141Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2022-06-03T09:00:14.149Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2022-06-03T09:00:14.158Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2022-06-03T09:00:14.166Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2022-06-03T09:00:14.175Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2022-06-03T09:00:14.193Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2022-06-03T09:00:14.212Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2022-06-03T09:00:14.231Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2022-06-03T09:00:14.244Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2022-06-03T09:00:14.257Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2022-06-03T09:00:14.270Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2022-06-03T09:00:14.283Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2022-06-03T09:00:14.295Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2022-06-03T09:00:14.311Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2022-06-03T09:00:14.330Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2022-06-03T09:00:14.345Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-287 [Pipeline] echo [2022-06-03T09:00:14.360Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-287 [Pipeline] echo [2022-06-03T09:00:14.377Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-287 [Pipeline] echo [2022-06-03T09:00:14.391Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 9cb55bb2cfe838c22c2ea979fd784ef7e579c54d [Pipeline] echo [2022-06-03T09:00:14.402Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 9cb55bb [Pipeline] echo [2022-06-03T09:00:14.417Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-06-03T09:00:14.464Z] provisioning config files... [2022-06-03T09:00:14.478Z] copy managed file [device-virtual-go-settings] to file:/w/workspace/foundry_device-virtual-go_PR-287@tmp/config6549140321917398535tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-06-03T09:00:14.789Z] ---> docker-login.sh [2022-06-03T09:00:14.789Z] nexus3.edgexfoundry.org:10001 [2022-06-03T09:00:15.056Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-03T09:00:15.316Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-03T09:00:15.316Z] Configure a credential helper to remove this warning. See [2022-06-03T09:00:15.316Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-03T09:00:15.316Z] [2022-06-03T09:00:15.316Z] Login Succeeded [2022-06-03T09:00:15.316Z] nexus3.edgexfoundry.org:10002 [2022-06-03T09:00:15.316Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-03T09:00:15.316Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-03T09:00:15.316Z] Configure a credential helper to remove this warning. See [2022-06-03T09:00:15.316Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-03T09:00:15.316Z] [2022-06-03T09:00:15.316Z] Login Succeeded [2022-06-03T09:00:15.316Z] nexus3.edgexfoundry.org:10003 [2022-06-03T09:00:15.316Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-03T09:00:15.578Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-03T09:00:15.578Z] Configure a credential helper to remove this warning. See [2022-06-03T09:00:15.578Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-03T09:00:15.578Z] [2022-06-03T09:00:15.578Z] Login Succeeded [2022-06-03T09:00:15.578Z] nexus3.edgexfoundry.org:10004 [2022-06-03T09:00:15.578Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-03T09:00:15.578Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-03T09:00:15.578Z] Configure a credential helper to remove this warning. See [2022-06-03T09:00:15.578Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-03T09:00:15.578Z] [2022-06-03T09:00:15.578Z] Login Succeeded [2022-06-03T09:00:15.578Z] docker.io [2022-06-03T09:00:15.839Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-03T09:00:16.101Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-03T09:00:16.101Z] Configure a credential helper to remove this warning. See [2022-06-03T09:00:16.101Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-03T09:00:16.101Z] [2022-06-03T09:00:16.101Z] Login Succeeded [2022-06-03T09:00:16.101Z] ---> docker-login.sh ends [Pipeline] } [2022-06-03T09:00:16.108Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2022-06-03T09:00:16.497Z] + git rev-list -1 --merges 9cb55bb2cfe838c22c2ea979fd784ef7e579c54d~1..9cb55bb2cfe838c22c2ea979fd784ef7e579c54d [Pipeline] echo [2022-06-03T09:00:16.537Z] -----------> git rev-list -1 --merges 9cb55bb2cfe838c22c2ea979fd784ef7e579c54d~1..9cb55bb2cfe838c22c2ea979fd784ef7e579c54d 9cb55bb2cfe838c22c2ea979fd784ef7e579c54d [false] [Pipeline] sh [2022-06-03T09:00:16.832Z] + git log --format=format:%s -1 9cb55bb2cfe838c22c2ea979fd784ef7e579c54d [Pipeline] echo [2022-06-03T09:00:16.850Z] ========================================================= [2022-06-03T09:00:16.850Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2022-06-03T09:00:16.850Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-06-03T09:00:17.185Z] + git log --format=format:%s -1 9cb55bb2cfe838c22c2ea979fd784ef7e579c54d [Pipeline] echo [2022-06-03T09:00:17.199Z] [semverPrep] GIT_COMMIT: 9cb55bb2cfe838c22c2ea979fd784ef7e579c54d, Commit Message: feat(snap): Enable config options before the processing [Pipeline] echo [2022-06-03T09:00:17.210Z] [semverPrep] This is not a build commit. [Pipeline] sh [2022-06-03T09:00:17.587Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2022-06-03T09:00:17.587Z] + grep -v github /etc/ssh/ssh_known_hosts [2022-06-03T09:00:17.588Z] + [ -e /tmp/ssh_known_hosts ] [2022-06-03T09:00:17.588Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2022-06-03T09:00:17.588Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2022-06-03T09:00:17.588Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2022-06-03T09:00:17.588Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-03T09:00:18.012Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest [2022-06-03T09:00:18.012Z] [2022-06-03T09:00:18.012Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-03T09:00:18.323Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest [2022-06-03T09:00:18.323Z] latest: Pulling from edgex-devops/py-git-semver [2022-06-03T09:00:18.323Z] 42c077c10790: Pulling fs layer [2022-06-03T09:00:18.323Z] f63e77b7563a: Pulling fs layer [2022-06-03T09:00:18.323Z] bd5fdadae976: Pulling fs layer [2022-06-03T09:00:18.323Z] 205491f53016: Pulling fs layer [2022-06-03T09:00:18.323Z] df18705c85c3: Pulling fs layer [2022-06-03T09:00:18.323Z] 205491f53016: Waiting [2022-06-03T09:00:18.323Z] bdb3f477010e: Pulling fs layer [2022-06-03T09:00:18.323Z] df18705c85c3: Waiting [2022-06-03T09:00:18.323Z] c8a8fc8e1c8f: Pulling fs layer [2022-06-03T09:00:18.323Z] 2c6e9b1d212d: Pulling fs layer [2022-06-03T09:00:18.323Z] bdb8f0575790: Pulling fs layer [2022-06-03T09:00:18.323Z] bdb3f477010e: Waiting [2022-06-03T09:00:18.323Z] c8a8fc8e1c8f: Waiting [2022-06-03T09:00:18.323Z] 2c6e9b1d212d: Waiting [2022-06-03T09:00:18.323Z] 386e3cb2ff24: Pulling fs layer [2022-06-03T09:00:18.323Z] 2343380bae48: Pulling fs layer [2022-06-03T09:00:18.323Z] bdb8f0575790: Waiting [2022-06-03T09:00:18.323Z] 386e3cb2ff24: Waiting [2022-06-03T09:00:18.323Z] 2343380bae48: Waiting [2022-06-03T09:00:18.323Z] f63e77b7563a: Download complete [2022-06-03T09:00:18.323Z] 205491f53016: Verifying Checksum [2022-06-03T09:00:18.323Z] 205491f53016: Download complete [2022-06-03T09:00:18.590Z] df18705c85c3: Verifying Checksum [2022-06-03T09:00:18.590Z] df18705c85c3: Download complete [2022-06-03T09:00:18.590Z] bd5fdadae976: Verifying Checksum [2022-06-03T09:00:18.590Z] bd5fdadae976: Download complete [2022-06-03T09:00:18.590Z] bdb3f477010e: Verifying Checksum [2022-06-03T09:00:18.590Z] bdb3f477010e: Download complete [2022-06-03T09:00:18.590Z] 2c6e9b1d212d: Download complete [2022-06-03T09:00:18.590Z] bdb8f0575790: Verifying Checksum [2022-06-03T09:00:18.590Z] bdb8f0575790: Download complete [2022-06-03T09:00:18.590Z] 386e3cb2ff24: Verifying Checksum [2022-06-03T09:00:18.590Z] 386e3cb2ff24: Download complete [2022-06-03T09:00:18.590Z] 2343380bae48: Verifying Checksum [2022-06-03T09:00:18.590Z] 2343380bae48: Download complete [2022-06-03T09:00:18.590Z] 42c077c10790: Verifying Checksum [2022-06-03T09:00:18.590Z] 42c077c10790: Download complete [2022-06-03T09:00:18.849Z] c8a8fc8e1c8f: Download complete [2022-06-03T09:00:20.234Z] 42c077c10790: Pull complete [2022-06-03T09:00:20.234Z] f63e77b7563a: Pull complete [2022-06-03T09:00:20.803Z] bd5fdadae976: Pull complete [2022-06-03T09:00:20.803Z] 205491f53016: Pull complete [2022-06-03T09:00:21.064Z] df18705c85c3: Pull complete [2022-06-03T09:00:21.324Z] bdb3f477010e: Pull complete [2022-06-03T09:00:23.244Z] c8a8fc8e1c8f: Pull complete [2022-06-03T09:00:23.509Z] 2c6e9b1d212d: Pull complete [2022-06-03T09:00:23.509Z] bdb8f0575790: Pull complete [2022-06-03T09:00:23.771Z] 386e3cb2ff24: Pull complete [2022-06-03T09:00:23.771Z] 2343380bae48: Pull complete [2022-06-03T09:00:23.771Z] Digest: sha256:c3bf284c02da7271302b7a373f1d48320b54229aa5119b2a29c7f8015e6a9264 [2022-06-03T09:00:23.771Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest [2022-06-03T09:00:23.771Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-06-03T09:00:23.873Z] prd-ubuntu20.04-docker-8c-8g-908 does not seem to be running inside a container [2022-06-03T09:00:23.920Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/foundry_device-virtual-go_PR-287 -v /w/workspace/foundry_device-virtual-go_PR-287:/w/workspace/foundry_device-virtual-go_PR-287:rw,z -v /w/workspace/foundry_device-virtual-go_PR-287@tmp:/w/workspace/foundry_device-virtual-go_PR-287@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:latest cat [2022-06-03T09:00:25.667Z] $ docker top 0936e9c51984d491924fbeb4d10641173152d2f1a7b35d2ec12ad9f768673e7b -eo pid,comm [2022-06-03T09:00:25.730Z] 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). [2022-06-03T09:00:25.730Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2022-06-03T09:00:25.761Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-06-03T09:00:25.761Z] [ssh-agent] Looking for ssh-agent implementation... [2022-06-03T09:00:25.901Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-06-03T09:00:25.911Z] $ docker exec 0936e9c51984d491924fbeb4d10641173152d2f1a7b35d2ec12ad9f768673e7b ssh-agent [2022-06-03T09:00:26.033Z] SSH_AUTH_SOCK=/tmp/ssh-JGyQmr1hz9so/agent.34 [2022-06-03T09:00:26.033Z] SSH_AGENT_PID=40 [2022-06-03T09:00:26.039Z] Running ssh-add (command line suppressed) [2022-06-03T09:00:26.155Z] Identity added: /w/workspace/foundry_device-virtual-go_PR-287@tmp/private_key_3391281054035611494.key (/w/workspace/foundry_device-virtual-go_PR-287@tmp/private_key_3391281054035611494.key) [2022-06-03T09:00:26.167Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-06-03T09:00:26.458Z] + git tag --points-at HEAD [Pipeline] } [2022-06-03T09:00:26.478Z] $ docker exec --env ******** --env ******** 0936e9c51984d491924fbeb4d10641173152d2f1a7b35d2ec12ad9f768673e7b ssh-agent -k [2022-06-03T09:00:26.600Z] unset SSH_AUTH_SOCK; [2022-06-03T09:00:26.601Z] unset SSH_AGENT_PID; [2022-06-03T09:00:26.601Z] echo Agent pid 40 killed; [2022-06-03T09:00:26.608Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2022-06-03T09:00:26.627Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-06-03T09:00:26.628Z] [ssh-agent] Looking for ssh-agent implementation... [2022-06-03T09:00:26.765Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-06-03T09:00:26.774Z] $ docker exec 0936e9c51984d491924fbeb4d10641173152d2f1a7b35d2ec12ad9f768673e7b ssh-agent [2022-06-03T09:00:26.912Z] SSH_AUTH_SOCK=/tmp/ssh-bmFXk3RnIqJ8/agent.74 [2022-06-03T09:00:26.912Z] SSH_AGENT_PID=81 [2022-06-03T09:00:26.918Z] Running ssh-add (command line suppressed) [2022-06-03T09:00:27.051Z] Identity added: /w/workspace/foundry_device-virtual-go_PR-287@tmp/private_key_5074947498316000907.key (/w/workspace/foundry_device-virtual-go_PR-287@tmp/private_key_5074947498316000907.key) [2022-06-03T09:00:27.068Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-06-03T09:00:27.361Z] + git semver init [2022-06-03T09:00:27.622Z] 2022-06-03 09:00:27,567 [run_init] DEBUG init version:0.0.0 force:False [2022-06-03T09:00:27.622Z] 2022-06-03 09:00:27,567 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/foundry_device-virtual-go_PR-287/.semver [2022-06-03T09:00:27.622Z] 2022-06-03 09:00:27,568 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-virtual-go.git /w/workspace/foundry_device-virtual-go_PR-287/.semver [2022-06-03T09:00:27.622Z] 2022-06-03 09:00:27,568 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-virtual-go.git', '/w/workspace/foundry_device-virtual-go_PR-287/.semver'], cwd=/w/workspace/foundry_device-virtual-go_PR-287, universal_newlines=False, shell=None, istream=None) [2022-06-03T09:00:28.565Z] 2022-06-03 09:00:28,531 [append_file] DEBUG append to file:/w/workspace/foundry_device-virtual-go_PR-287/.git/info/exclude [2022-06-03T09:00:28.565Z] 2022-06-03 09:00:28,532 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/foundry_device-virtual-go_PR-287/.semver/PR-287 with force:False [2022-06-03T09:00:28.565Z] 2022-06-03 09:00:28,532 [write_file] DEBUG write to file:/w/workspace/foundry_device-virtual-go_PR-287/.semver/PR-287 [2022-06-03T09:00:28.565Z] 2022-06-03 09:00:28,536 [execute] INFO git cat-file --batch-check [2022-06-03T09:00:28.565Z] 2022-06-03 09:00:28,537 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/foundry_device-virtual-go_PR-287/.semver, universal_newlines=False, shell=None, istream=) [2022-06-03T09:00:28.565Z] 2022-06-03 09:00:28,541 [execute] INFO git cat-file --batch [2022-06-03T09:00:28.565Z] 2022-06-03 09:00:28,542 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/foundry_device-virtual-go_PR-287/.semver, universal_newlines=False, shell=None, istream=) [2022-06-03T09:00:28.565Z] 2022-06-03 09:00:28,546 [read_version] DEBUG read version from /w/workspace/foundry_device-virtual-go_PR-287/.semver/PR-287 [2022-06-03T09:00:28.565Z] 0.0.0 [Pipeline] } [2022-06-03T09:00:28.582Z] $ docker exec --env ******** --env ******** 0936e9c51984d491924fbeb4d10641173152d2f1a7b35d2ec12ad9f768673e7b ssh-agent -k [2022-06-03T09:00:28.696Z] unset SSH_AUTH_SOCK; [2022-06-03T09:00:28.697Z] unset SSH_AGENT_PID; [2022-06-03T09:00:28.697Z] echo Agent pid 81 killed; [2022-06-03T09:00:28.703Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2022-06-03T09:00:29.011Z] + git semver [Pipeline] } [2022-06-03T09:00:29.291Z] $ docker stop --time=1 0936e9c51984d491924fbeb4d10641173152d2f1a7b35d2ec12ad9f768673e7b [2022-06-03T09:00:30.621Z] $ docker rm -f 0936e9c51984d491924fbeb4d10641173152d2f1a7b35d2ec12ad9f768673e7b [Pipeline] // withDockerContainer [Pipeline] sh [2022-06-03T09:00:30.969Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2022-06-03T09:00:31.228Z] Stashed 1 file(s) [Pipeline] echo [2022-06-03T09:00:31.230Z] [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 [2022-06-03T09:00:31.358Z] provisioning config files... [2022-06-03T09:00:31.367Z] copy managed file [device-virtual-go-settings] to file:/w/workspace/foundry_device-virtual-go_PR-287@tmp/config7636284462842423790tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-06-03T09:00:31.668Z] ---> docker-login.sh [2022-06-03T09:00:31.668Z] nexus3.edgexfoundry.org:10001 [2022-06-03T09:00:31.668Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-03T09:00:31.668Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-03T09:00:31.668Z] Configure a credential helper to remove this warning. See [2022-06-03T09:00:31.668Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-03T09:00:31.668Z] [2022-06-03T09:00:31.668Z] Login Succeeded [2022-06-03T09:00:31.668Z] nexus3.edgexfoundry.org:10002 [2022-06-03T09:00:31.668Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-03T09:00:31.929Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-03T09:00:31.929Z] Configure a credential helper to remove this warning. See [2022-06-03T09:00:31.929Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-03T09:00:31.929Z] [2022-06-03T09:00:31.929Z] Login Succeeded [2022-06-03T09:00:31.929Z] nexus3.edgexfoundry.org:10003 [2022-06-03T09:00:31.929Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-03T09:00:31.929Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-03T09:00:31.929Z] Configure a credential helper to remove this warning. See [2022-06-03T09:00:31.929Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-03T09:00:31.929Z] [2022-06-03T09:00:31.929Z] Login Succeeded [2022-06-03T09:00:31.929Z] nexus3.edgexfoundry.org:10004 [2022-06-03T09:00:31.929Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-03T09:00:32.190Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-03T09:00:32.190Z] Configure a credential helper to remove this warning. See [2022-06-03T09:00:32.190Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-03T09:00:32.190Z] [2022-06-03T09:00:32.190Z] Login Succeeded [2022-06-03T09:00:32.190Z] docker.io [2022-06-03T09:00:32.190Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-03T09:00:32.450Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-03T09:00:32.450Z] Configure a credential helper to remove this warning. See [2022-06-03T09:00:32.450Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-03T09:00:32.450Z] [2022-06-03T09:00:32.450Z] Login Succeeded [2022-06-03T09:00:32.450Z] ---> docker-login.sh ends [Pipeline] } [2022-06-03T09:00:32.458Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-06-03T09:00:32.525Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-06-03T09:00:32.534Z] ========================================================= [2022-06-03T09:00:32.534Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine] [2022-06-03T09:00:32.534Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-03T09:00:32.851Z] + docker build -t ci-base-image-x86_64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine --build-arg MAKE=echo noop --target=builder . [2022-06-03T09:00:32.851Z] Sending build context to Docker daemon 23.12MB [2022-06-03T09:00:32.851Z] Step 1/12 : ARG BASE=golang:1.17-alpine3.15 [2022-06-03T09:00:32.851Z] Step 2/12 : FROM ${BASE} AS builder [2022-06-03T09:00:33.110Z] 1.17-alpine: Pulling from edgex-devops/edgex-golang-base [2022-06-03T09:00:33.110Z] 59bf1c3509f3: Pulling fs layer [2022-06-03T09:00:33.110Z] 666ba61612fd: Pulling fs layer [2022-06-03T09:00:33.110Z] 8ed8ca486205: Pulling fs layer [2022-06-03T09:00:33.110Z] 4fe6c5a15a65: Pulling fs layer [2022-06-03T09:00:33.110Z] 22a0e8bec74d: Pulling fs layer [2022-06-03T09:00:33.110Z] ca2b28591e48: Pulling fs layer [2022-06-03T09:00:33.110Z] a51346096db8: Pulling fs layer [2022-06-03T09:00:33.110Z] daebc70d1ce1: Pulling fs layer [2022-06-03T09:00:33.110Z] 0e18a0eac166: Pulling fs layer [2022-06-03T09:00:33.110Z] a51346096db8: Waiting [2022-06-03T09:00:33.110Z] 4fe6c5a15a65: Waiting [2022-06-03T09:00:33.110Z] daebc70d1ce1: Waiting [2022-06-03T09:00:33.110Z] ca2b28591e48: Waiting [2022-06-03T09:00:33.110Z] 0e18a0eac166: Waiting [2022-06-03T09:00:33.110Z] 8ed8ca486205: Verifying Checksum [2022-06-03T09:00:33.110Z] 8ed8ca486205: Download complete [2022-06-03T09:00:33.110Z] 666ba61612fd: Download complete [2022-06-03T09:00:33.110Z] 22a0e8bec74d: Verifying Checksum [2022-06-03T09:00:33.110Z] 22a0e8bec74d: Download complete [2022-06-03T09:00:33.110Z] ca2b28591e48: Verifying Checksum [2022-06-03T09:00:33.110Z] ca2b28591e48: Download complete [2022-06-03T09:00:33.110Z] a51346096db8: Verifying Checksum [2022-06-03T09:00:33.111Z] a51346096db8: Download complete [2022-06-03T09:00:33.111Z] 59bf1c3509f3: Verifying Checksum [2022-06-03T09:00:33.111Z] 59bf1c3509f3: Download complete [2022-06-03T09:00:33.111Z] daebc70d1ce1: Verifying Checksum [2022-06-03T09:00:33.111Z] daebc70d1ce1: Download complete [2022-06-03T09:00:33.111Z] 59bf1c3509f3: Pull complete [2022-06-03T09:00:33.371Z] 666ba61612fd: Pull complete [2022-06-03T09:00:33.371Z] 8ed8ca486205: Pull complete [2022-06-03T09:00:33.631Z] 4fe6c5a15a65: Verifying Checksum [2022-06-03T09:00:33.631Z] 4fe6c5a15a65: Download complete [2022-06-03T09:00:33.890Z] 0e18a0eac166: Verifying Checksum [2022-06-03T09:00:33.890Z] 0e18a0eac166: Download complete [2022-06-03T09:00:38.086Z] 4fe6c5a15a65: Pull complete [2022-06-03T09:00:38.086Z] 22a0e8bec74d: Pull complete [2022-06-03T09:00:38.086Z] ca2b28591e48: Pull complete [2022-06-03T09:00:38.086Z] a51346096db8: Pull complete [2022-06-03T09:00:38.086Z] daebc70d1ce1: Pull complete [2022-06-03T09:00:39.993Z] 0e18a0eac166: Pull complete [2022-06-03T09:00:39.993Z] Digest: sha256:5cf2d0a306c5171eb5b3008c4b83cc7b6044f1808c238cb17927cddb93576120 [2022-06-03T09:00:39.993Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine [2022-06-03T09:00:39.993Z] ---> f018257e8ee9 [2022-06-03T09:00:39.993Z] Step 3/12 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2022-06-03T09:00:41.909Z] ---> Running in 1f1319c2ec47 [2022-06-03T09:00:42.171Z] Removing intermediate container 1f1319c2ec47 [2022-06-03T09:00:42.171Z] ---> e6f65ff4679f [2022-06-03T09:00:42.171Z] Step 4/12 : ARG ALPINE_PKG_EXTRA="" [2022-06-03T09:00:42.171Z] ---> Running in 23b313d1d6fc [2022-06-03T09:00:42.171Z] Removing intermediate container 23b313d1d6fc [2022-06-03T09:00:42.171Z] ---> 9c7e592446e2 [2022-06-03T09:00:42.171Z] Step 5/12 : WORKDIR /device-virtual-go [2022-06-03T09:00:42.171Z] ---> Running in e35075e82bfb [2022-06-03T09:00:42.436Z] Removing intermediate container e35075e82bfb [2022-06-03T09:00:42.436Z] ---> 74551734d032 [2022-06-03T09:00:42.436Z] Step 6/12 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-06-03T09:00:42.436Z] ---> Running in 567074d69303 [2022-06-03T09:00:43.008Z] Removing intermediate container 567074d69303 [2022-06-03T09:00:43.008Z] ---> 8529c99575c5 [2022-06-03T09:00:43.008Z] Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-06-03T09:00:43.008Z] ---> Running in fb54471be47e [2022-06-03T09:00:43.580Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz [2022-06-03T09:00:44.521Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz [2022-06-03T09:00:44.782Z] (1/4) Installing openssh-keygen (8.8_p1-r1) [2022-06-03T09:00:44.782Z] (2/4) Installing libedit (20210910.3.1-r0) [2022-06-03T09:00:44.782Z] (3/4) Installing openssh-client-common (8.8_p1-r1) [2022-06-03T09:00:45.043Z] (4/4) Installing openssh-client-default (8.8_p1-r1) [2022-06-03T09:00:45.043Z] Executing busybox-1.34.1-r3.trigger [2022-06-03T09:00:45.043Z] OK: 224 MiB in 56 packages [2022-06-03T09:00:45.613Z] Removing intermediate container fb54471be47e [2022-06-03T09:00:45.613Z] ---> f15f152bc5f1 [2022-06-03T09:00:45.613Z] Step 8/12 : COPY go.mod vendor* ./ [2022-06-03T09:00:45.613Z] ---> b9ba081d596a [2022-06-03T09:00:45.613Z] Step 9/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-06-03T09:00:45.613Z] ---> Running in 54468156db6d [2022-06-03T09:00:46.326Z] Still waiting to schedule task [2022-06-03T09:00:46.327Z] All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline [2022-06-03T09:01:03.733Z] Removing intermediate container 54468156db6d [2022-06-03T09:01:03.733Z] ---> dda8856f6547 [2022-06-03T09:01:03.733Z] Step 10/12 : COPY . . [2022-06-03T09:01:03.994Z] ---> a0b1696df5e5 [2022-06-03T09:01:03.994Z] Step 11/12 : ARG MAKE='make build' [2022-06-03T09:01:03.994Z] ---> Running in 1af7dbd7b052 [2022-06-03T09:01:04.254Z] Removing intermediate container 1af7dbd7b052 [2022-06-03T09:01:04.254Z] ---> 60c804d8be7f [2022-06-03T09:01:04.254Z] Step 12/12 : RUN $MAKE [2022-06-03T09:01:04.254Z] ---> Running in 91928b47729a [2022-06-03T09:01:04.516Z] noop [2022-06-03T09:01:04.776Z] Removing intermediate container 91928b47729a [2022-06-03T09:01:04.776Z] ---> 1b07bd1f52af [2022-06-03T09:01:04.776Z] Successfully built 1b07bd1f52af [2022-06-03T09:01:04.776Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-03T09:01:05.101Z] + docker inspect -f . ci-base-image-x86_64 [2022-06-03T09:01:05.101Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-06-03T09:01:05.188Z] prd-ubuntu20.04-docker-8c-8g-908 does not seem to be running inside a container [2022-06-03T09:01:05.230Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/foundry_device-virtual-go_PR-287 -v /w/workspace/foundry_device-virtual-go_PR-287:/w/workspace/foundry_device-virtual-go_PR-287:rw,z -v /w/workspace/foundry_device-virtual-go_PR-287@tmp:/w/workspace/foundry_device-virtual-go_PR-287@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 [2022-06-03T09:01:05.651Z] $ docker top 109fe29e7b8a4a97deb641918b7e98329fa50c2e8c6ee96006930fcb9cefb917 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-06-03T09:01:06.016Z] + go version [2022-06-03T09:01:06.016Z] go version go1.17.6 linux/amd64 [Pipeline] } [2022-06-03T09:01:06.034Z] $ docker stop --time=1 109fe29e7b8a4a97deb641918b7e98329fa50c2e8c6ee96006930fcb9cefb917 [2022-06-03T09:01:07.369Z] $ docker rm -f 109fe29e7b8a4a97deb641918b7e98329fa50c2e8c6ee96006930fcb9cefb917 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-03T09:01:07.807Z] + docker inspect -f . ci-base-image-x86_64 [2022-06-03T09:01:07.807Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-06-03T09:01:07.893Z] prd-ubuntu20.04-docker-8c-8g-908 does not seem to be running inside a container [2022-06-03T09:01:07.966Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/foundry_device-virtual-go_PR-287 -v /w/workspace/foundry_device-virtual-go_PR-287:/w/workspace/foundry_device-virtual-go_PR-287:rw,z -v /w/workspace/foundry_device-virtual-go_PR-287@tmp:/w/workspace/foundry_device-virtual-go_PR-287@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 [2022-06-03T09:01:08.366Z] $ docker top 47dd3e8cc8c8f623286c44a39ee9345c1e076697588d27dff848a128b15aafc5 -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh [2022-06-03T09:01:08.787Z] + make test [2022-06-03T09:01:08.787Z] CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out [2022-06-03T09:01:09.046Z] ? github.com/edgexfoundry/device-virtual-go [no test files] [2022-06-03T09:01:19.025Z] ? github.com/edgexfoundry/device-virtual-go/cmd [no test files] [2022-06-03T09:01:19.025Z] ok github.com/edgexfoundry/device-virtual-go/internal/driver 0.038s coverage: 65.7% of statements [2022-06-03T09:01:25.595Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2022-06-03T09:01:28.885Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-06-03T09:01:28.885Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2022-06-03T09:01:28.885Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2022-06-03T09:01:29.161Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2022-06-03T09:01:29.180Z] $ docker stop --time=1 47dd3e8cc8c8f623286c44a39ee9345c1e076697588d27dff848a128b15aafc5 [2022-06-03T09:01:31.460Z] $ docker rm -f 47dd3e8cc8c8f623286c44a39ee9345c1e076697588d27dff848a128b15aafc5 [Pipeline] // withDockerContainer [Pipeline] sh [2022-06-03T09:01:31.913Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2022-06-03T09:01:31.970Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2022-06-03T09:01:32.465Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2022-06-03T09:01:32.754Z] + ls -al . [2022-06-03T09:01:32.754Z] total 192 [2022-06-03T09:01:32.754Z] drwxrwxr-x 9 jenkins jenkins 4096 Jun 3 09:01 . [2022-06-03T09:01:32.754Z] drwxrwxr-x 4 jenkins jenkins 4096 Jun 3 09:00 .. [2022-06-03T09:01:32.754Z] drwxrwxr-x 8 jenkins jenkins 4096 Jun 3 09:00 .git [2022-06-03T09:01:32.754Z] drwxrwxr-x 3 jenkins jenkins 4096 Jun 3 09:00 .github [2022-06-03T09:01:32.754Z] -rw-rw-r-- 1 jenkins jenkins 337 Jun 3 09:00 .gitignore [2022-06-03T09:01:32.754Z] -rw-rw-r-- 1 jenkins jenkins 41 Jun 3 09:00 .golangci.yml [2022-06-03T09:01:32.754Z] drwxr-xr-x 3 jenkins jenkins 4096 Jun 3 09:00 .semver [2022-06-03T09:01:32.754Z] -rw-rw-r-- 1 jenkins jenkins 8026 Jun 3 09:00 Attribution.txt [2022-06-03T09:01:32.754Z] -rw-rw-r-- 1 jenkins jenkins 9649 Jun 3 09:00 CHANGELOG.md [2022-06-03T09:01:32.754Z] -rw-rw-r-- 1 jenkins jenkins 1974 Jun 3 09:00 Dockerfile [2022-06-03T09:01:32.754Z] -rw-rw-r-- 1 jenkins jenkins 677 Jun 3 09:00 GOVERNANCE.md [2022-06-03T09:01:32.754Z] -rw-rw-r-- 1 jenkins jenkins 660 Jun 3 09:00 Jenkinsfile [2022-06-03T09:01:32.754Z] -rw-rw-r-- 1 jenkins jenkins 11340 Jun 3 09:00 LICENSE [2022-06-03T09:01:32.754Z] -rw-rw-r-- 1 jenkins jenkins 2248 Jun 3 09:00 Makefile [2022-06-03T09:01:32.754Z] -rw-rw-r-- 1 jenkins jenkins 623 Jun 3 09:00 OWNERS.md [2022-06-03T09:01:32.754Z] -rw-rw-r-- 1 jenkins jenkins 2914 Jun 3 09:00 README.md [2022-06-03T09:01:32.754Z] -rw-rw-r-- 1 jenkins jenkins 5 Jun 3 09:00 VERSION [2022-06-03T09:01:32.754Z] drwxrwxr-x 2 jenkins jenkins 4096 Jun 3 09:00 bin [2022-06-03T09:01:32.754Z] drwxrwxr-x 3 jenkins jenkins 4096 Jun 3 09:00 cmd [2022-06-03T09:01:32.754Z] -rw-r--r-- 1 jenkins jenkins 44128 Jun 3 09:01 coverage.out [2022-06-03T09:01:32.754Z] -rw-rw-r-- 1 jenkins jenkins 3139 Jun 3 09:00 go.mod [2022-06-03T09:01:32.754Z] -rw-rw-r-- 1 jenkins jenkins 35006 Jun 3 09:00 go.sum [2022-06-03T09:01:32.754Z] drwxrwxr-x 3 jenkins jenkins 4096 Jun 3 09:00 internal [2022-06-03T09:01:32.754Z] drwxrwxr-x 3 jenkins jenkins 4096 Jun 3 09:00 snap [2022-06-03T09:01:32.754Z] -rw-rw-r-- 1 jenkins jenkins 235 Jun 3 09:00 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-03T09:01:33.071Z] + 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=9cb55bb2cfe838c22c2ea979fd784ef7e579c54d --label arch=amd64 --label version=0.0.0 . [2022-06-03T09:01:33.071Z] Sending build context to Docker daemon 23.16MB [2022-06-03T09:01:33.071Z] Step 1/26 : ARG BASE=golang:1.17-alpine3.15 [2022-06-03T09:01:33.071Z] Step 2/26 : FROM ${BASE} AS builder [2022-06-03T09:01:33.071Z] ---> 1b07bd1f52af [2022-06-03T09:01:33.071Z] Step 3/26 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2022-06-03T09:01:33.333Z] ---> Running in 87b6222d26d7 [2022-06-03T09:01:33.334Z] Removing intermediate container 87b6222d26d7 [2022-06-03T09:01:33.334Z] ---> f98f1bdf1246 [2022-06-03T09:01:33.334Z] Step 4/26 : ARG ALPINE_PKG_EXTRA="" [2022-06-03T09:01:33.596Z] ---> Running in 6ab6d181e322 [2022-06-03T09:01:33.596Z] Removing intermediate container 6ab6d181e322 [2022-06-03T09:01:33.596Z] ---> 6b462b61e6d1 [2022-06-03T09:01:33.596Z] Step 5/26 : WORKDIR /device-virtual-go [2022-06-03T09:01:33.596Z] ---> Running in 787e399b768e [2022-06-03T09:01:33.857Z] Removing intermediate container 787e399b768e [2022-06-03T09:01:33.857Z] ---> 7cec64ae0e89 [2022-06-03T09:01:33.857Z] Step 6/26 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-06-03T09:01:33.857Z] ---> Running in 97c9464648ac [2022-06-03T09:01:34.801Z] Removing intermediate container 97c9464648ac [2022-06-03T09:01:34.801Z] ---> 1101e46ac9a6 [2022-06-03T09:01:34.801Z] Step 7/26 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-06-03T09:01:34.801Z] ---> Running in 9d7043972ac3 [2022-06-03T09:01:35.061Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz [2022-06-03T09:01:36.001Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz [2022-06-03T09:01:36.260Z] OK: 224 MiB in 56 packages [2022-06-03T09:01:36.520Z] Removing intermediate container 9d7043972ac3 [2022-06-03T09:01:36.520Z] ---> cad5be67f55f [2022-06-03T09:01:36.520Z] Step 8/26 : COPY go.mod vendor* ./ [2022-06-03T09:01:36.780Z] ---> d1c8082f3cd2 [2022-06-03T09:01:36.780Z] Step 9/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-06-03T09:01:36.780Z] ---> Running in 3c0ae23fa9b6 [2022-06-03T09:01:37.349Z] Removing intermediate container 3c0ae23fa9b6 [2022-06-03T09:01:37.349Z] ---> 2df4f331ec17 [2022-06-03T09:01:37.349Z] Step 10/26 : COPY . . [2022-06-03T09:01:38.291Z] ---> 43ada84b04f4 [2022-06-03T09:01:38.291Z] Step 11/26 : ARG MAKE='make build' [2022-06-03T09:01:38.291Z] ---> Running in edc17784c67e [2022-06-03T09:01:38.291Z] Removing intermediate container edc17784c67e [2022-06-03T09:01:38.291Z] ---> 7ba498b89735 [2022-06-03T09:01:38.291Z] Step 12/26 : RUN $MAKE [2022-06-03T09:01:38.291Z] ---> Running in 3d4f61003d41 [2022-06-03T09:01:38.550Z] CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-linkmode=external -X github.com/edgexfoundry/device-virtual-go.Version=0.0.0" -trimpath -mod=readonly -buildmode=pie -o cmd/device-virtual ./cmd [2022-06-03T09:02:00.501Z] Removing intermediate container 3d4f61003d41 [2022-06-03T09:02:00.501Z] ---> 379c67429d3a [2022-06-03T09:02:00.501Z] Step 13/26 : FROM alpine:3.14 [2022-06-03T09:02:00.501Z] 3.14: Pulling from library/alpine [2022-06-03T09:02:00.501Z] 8663204ce13b: Pulling fs layer [2022-06-03T09:02:00.501Z] 8663204ce13b: Verifying Checksum [2022-06-03T09:02:00.501Z] 8663204ce13b: Download complete [2022-06-03T09:02:00.501Z] 8663204ce13b: Pull complete [2022-06-03T09:02:00.501Z] Digest: sha256:06b5d462c92fc39303e6363c65e074559f8d6b1363250027ed5053557e3398c5 [2022-06-03T09:02:00.501Z] Status: Downloaded newer image for alpine:3.14 [2022-06-03T09:02:00.501Z] ---> e04c818066af [2022-06-03T09:02:00.501Z] Step 14/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2021: IOTech' [2022-06-03T09:02:00.501Z] ---> Running in a6591267f2bb [2022-06-03T09:02:00.501Z] Removing intermediate container a6591267f2bb [2022-06-03T09:02:00.501Z] ---> 811261d285bf [2022-06-03T09:02:00.501Z] Step 15/26 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-06-03T09:02:00.501Z] ---> Running in 282b0f2e2ce2 [2022-06-03T09:02:00.501Z] Removing intermediate container 282b0f2e2ce2 [2022-06-03T09:02:00.501Z] ---> e555acc24feb [2022-06-03T09:02:00.501Z] Step 16/26 : RUN apk add --update --no-cache zeromq dumb-init [2022-06-03T09:02:00.501Z] ---> Running in d9993eeaaead [2022-06-03T09:02:00.501Z] fetch https://nl.alpinelinux.org/alpine/v3.14/main/x86_64/APKINDEX.tar.gz [2022-06-03T09:02:01.443Z] fetch https://nl.alpinelinux.org/alpine/v3.14/community/x86_64/APKINDEX.tar.gz [2022-06-03T09:02:01.443Z] (1/6) Installing dumb-init (1.2.5-r1) [2022-06-03T09:02:01.706Z] (2/6) Installing libgcc (10.3.1_git20210424-r2) [2022-06-03T09:02:01.706Z] (3/6) Installing libsodium (1.0.18-r0) [2022-06-03T09:02:01.706Z] (4/6) Installing libstdc++ (10.3.1_git20210424-r2) [2022-06-03T09:02:01.968Z] (5/6) Installing libzmq (4.3.4-r0) [2022-06-03T09:02:01.968Z] (6/6) Installing zeromq (4.3.4-r0) [2022-06-03T09:02:02.239Z] Executing busybox-1.33.1-r7.trigger [2022-06-03T09:02:02.239Z] OK: 8 MiB in 20 packages [2022-06-03T09:02:02.499Z] Removing intermediate container d9993eeaaead [2022-06-03T09:02:02.499Z] ---> 567e5ccd72e6 [2022-06-03T09:02:02.499Z] Step 17/26 : WORKDIR / [2022-06-03T09:02:02.499Z] ---> Running in 077034b5aed7 [2022-06-03T09:02:02.759Z] Removing intermediate container 077034b5aed7 [2022-06-03T09:02:02.759Z] ---> 6003c7a86ce2 [2022-06-03T09:02:02.759Z] Step 18/26 : COPY --from=builder /device-virtual-go/Attribution.txt / [2022-06-03T09:02:02.759Z] ---> c5fff0eb4ea4 [2022-06-03T09:02:02.759Z] Step 19/26 : COPY --from=builder /device-virtual-go/LICENSE / [2022-06-03T09:02:03.020Z] ---> f9c0337a4ef6 [2022-06-03T09:02:03.020Z] Step 20/26 : COPY --from=builder /device-virtual-go/cmd / [2022-06-03T09:02:03.959Z] ---> 3a9a126df77e [2022-06-03T09:02:03.959Z] Step 21/26 : EXPOSE 59900 [2022-06-03T09:02:03.959Z] ---> Running in c6a9368e6905 [2022-06-03T09:02:03.959Z] Removing intermediate container c6a9368e6905 [2022-06-03T09:02:03.959Z] ---> 4811c98b83e3 [2022-06-03T09:02:03.959Z] Step 22/26 : ENTRYPOINT ["/device-virtual"] [2022-06-03T09:02:03.959Z] ---> Running in edc0897c402f [2022-06-03T09:02:03.959Z] Removing intermediate container edc0897c402f [2022-06-03T09:02:03.959Z] ---> 028363800a3e [2022-06-03T09:02:03.959Z] Step 23/26 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2022-06-03T09:02:03.959Z] ---> Running in 1fc63e216764 [2022-06-03T09:02:04.219Z] Removing intermediate container 1fc63e216764 [2022-06-03T09:02:04.219Z] ---> 729f28027d90 [2022-06-03T09:02:04.219Z] Step 24/26 : LABEL arch=amd64 [2022-06-03T09:02:04.219Z] ---> Running in 175b27eb6dbe [2022-06-03T09:02:04.219Z] Removing intermediate container 175b27eb6dbe [2022-06-03T09:02:04.219Z] ---> 137c2ee0175a [2022-06-03T09:02:04.219Z] Step 25/26 : LABEL git_sha=9cb55bb2cfe838c22c2ea979fd784ef7e579c54d [2022-06-03T09:02:04.479Z] ---> Running in ff9a69f547c6 [2022-06-03T09:02:04.479Z] Removing intermediate container ff9a69f547c6 [2022-06-03T09:02:04.479Z] ---> 05e53a53266e [2022-06-03T09:02:04.479Z] Step 26/26 : LABEL version=0.0.0 [2022-06-03T09:02:04.479Z] ---> Running in b2bfecf0e535 [2022-06-03T09:02:04.739Z] Removing intermediate container b2bfecf0e535 [2022-06-03T09:02:04.739Z] ---> 835c3d2c3555 [2022-06-03T09:02:04.739Z] [Warning] One or more build-args [ARCH] were not consumed [2022-06-03T09:02:04.739Z] Successfully built 835c3d2c3555 [2022-06-03T09:02:04.739Z] 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 [2022-06-03T09:02:05.176Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-06-03T09:02:05.176Z] [2022-06-03T09:02:05.176Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-03T09:02:05.479Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-06-03T09:02:05.479Z] latest: Pulling from edgex-lftools-log-publisher [2022-06-03T09:02:05.479Z] 5eb5b503b376: Pulling fs layer [2022-06-03T09:02:05.479Z] 5c69ac0246d0: Pulling fs layer [2022-06-03T09:02:05.479Z] ec43610c2a17: Pulling fs layer [2022-06-03T09:02:05.479Z] 3a2ae6a8a46f: Pulling fs layer [2022-06-03T09:02:05.479Z] 33b1e0a273af: Pulling fs layer [2022-06-03T09:02:05.479Z] 5d3b04190fa2: Pulling fs layer [2022-06-03T09:02:05.479Z] 2f39f015ded8: Pulling fs layer [2022-06-03T09:02:05.479Z] 3a2ae6a8a46f: Waiting [2022-06-03T09:02:05.479Z] 33b1e0a273af: Waiting [2022-06-03T09:02:05.479Z] 5d3b04190fa2: Waiting [2022-06-03T09:02:05.479Z] 2f39f015ded8: Waiting [2022-06-03T09:02:05.479Z] 5c69ac0246d0: Download complete [2022-06-03T09:02:05.479Z] 3a2ae6a8a46f: Verifying Checksum [2022-06-03T09:02:05.479Z] 3a2ae6a8a46f: Download complete [2022-06-03T09:02:05.479Z] 33b1e0a273af: Verifying Checksum [2022-06-03T09:02:05.479Z] 33b1e0a273af: Download complete [2022-06-03T09:02:05.479Z] ec43610c2a17: Verifying Checksum [2022-06-03T09:02:05.480Z] ec43610c2a17: Download complete [2022-06-03T09:02:05.741Z] 5d3b04190fa2: Verifying Checksum [2022-06-03T09:02:05.741Z] 5d3b04190fa2: Download complete [2022-06-03T09:02:05.741Z] 5eb5b503b376: Verifying Checksum [2022-06-03T09:02:05.741Z] 5eb5b503b376: Download complete [2022-06-03T09:02:06.311Z] 2f39f015ded8: Verifying Checksum [2022-06-03T09:02:06.311Z] 2f39f015ded8: Download complete [2022-06-03T09:02:07.248Z] 5eb5b503b376: Pull complete [2022-06-03T09:02:07.248Z] 5c69ac0246d0: Pull complete [2022-06-03T09:02:07.508Z] ec43610c2a17: Pull complete [2022-06-03T09:02:07.767Z] 3a2ae6a8a46f: Pull complete [2022-06-03T09:02:08.025Z] 33b1e0a273af: Pull complete [2022-06-03T09:02:08.025Z] 5d3b04190fa2: Pull complete [2022-06-03T09:02:12.218Z] 2f39f015ded8: Pull complete [2022-06-03T09:02:12.218Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2022-06-03T09:02:12.218Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-06-03T09:02:12.218Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-06-03T09:02:12.313Z] prd-ubuntu20.04-docker-8c-8g-908 does not seem to be running inside a container [2022-06-03T09:02:12.355Z] $ 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-287 -v /w/workspace/foundry_device-virtual-go_PR-287:/w/workspace/foundry_device-virtual-go_PR-287:rw,z -v /w/workspace/foundry_device-virtual-go_PR-287@tmp:/w/workspace/foundry_device-virtual-go_PR-287@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 [2022-06-03T09:02:14.764Z] $ docker top f47492f833997c85ce394fdafa2707a6a7e57270a2212404d50f548509a022a0 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-06-03T09:02:15.168Z] ---> job-cost.sh [2022-06-03T09:02:15.168Z] lf-activate-venv: SKIPPING [2022-06-03T09:02:15.168Z] INFO: No Stack... [2022-06-03T09:02:15.739Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2022-06-03T09:02:16.001Z] INFO: Archiving Costs [Pipeline] sh [2022-06-03T09:02:16.295Z] + cat /w/workspace/foundry_device-virtual-go_PR-287/archives/cost.csv [2022-06-03T09:02:16.295Z] + cut -d, -f6 [Pipeline] lock [2022-06-03T09:02:16.311Z] Trying to acquire lock on [jenkins-edgexfoundry-device-virtual-go-PR-287-7-stack-cost] [2022-06-03T09:02:16.321Z] Resource [jenkins-edgexfoundry-device-virtual-go-PR-287-7-stack-cost] did not exist. Created. [2022-06-03T09:02:16.321Z] Lock acquired on [jenkins-edgexfoundry-device-virtual-go-PR-287-7-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-06-03T09:02:16.633Z] + echo total: 0.2199999988079071 [Pipeline] stash [2022-06-03T09:02:16.658Z] Stashed 1 file(s) [Pipeline] } [2022-06-03T09:02:16.665Z] Lock released on resource [jenkins-edgexfoundry-device-virtual-go-PR-287-7-stack-cost] [Pipeline] // lock [Pipeline] } [2022-06-03T09:02:16.689Z] $ docker stop --time=1 f47492f833997c85ce394fdafa2707a6a7e57270a2212404d50f548509a022a0 [2022-06-03T09:02:17.879Z] $ docker rm -f f47492f833997c85ce394fdafa2707a6a7e57270a2212404d50f548509a022a0 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2022-06-03T09:02:26.827Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-909 in /w/workspace/foundry_device-virtual-go_PR-287 [Pipeline] { [Pipeline] ws [2022-06-03T09:02:26.838Z] Running in /w/workspace/device-virtual-go/7 [Pipeline] { [Pipeline] checkout [2022-06-03T09:02:26.891Z] The recommended git tool is: git [2022-06-03T09:02:33.686Z] using credential edgex-jenkins-ssh [2022-06-03T09:02:33.702Z] Cloning the remote Git repository [2022-06-03T09:02:33.764Z] Cloning repository git@github.com:edgexfoundry/device-virtual-go.git [2022-06-03T09:02:33.835Z] > git init /w/workspace/device-virtual-go/7 # timeout=10 [2022-06-03T09:02:33.954Z] Fetching upstream changes from git@github.com:edgexfoundry/device-virtual-go.git [2022-06-03T09:02:33.954Z] > git --version # timeout=10 [2022-06-03T09:02:33.985Z] > git --version # 'git version 2.25.1' [2022-06-03T09:02:33.986Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-06-03T09:02:34.078Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-virtual-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-06-03T09:02:36.765Z] Merging remotes/origin/main commit 9cab87334a4d5affcc1b2c5c12d642008ef46c2d into PR head commit 9cb55bb2cfe838c22c2ea979fd784ef7e579c54d [2022-06-03T09:02:36.978Z] Merge succeeded, producing 9cb55bb2cfe838c22c2ea979fd784ef7e579c54d [2022-06-03T09:02:36.978Z] Checking out Revision 9cb55bb2cfe838c22c2ea979fd784ef7e579c54d (PR-287) [2022-06-03T09:02:36.141Z] > git config remote.origin.url git@github.com:edgexfoundry/device-virtual-go.git # timeout=10 [2022-06-03T09:02:36.166Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-06-03T09:02:36.191Z] > git config remote.origin.url git@github.com:edgexfoundry/device-virtual-go.git # timeout=10 [2022-06-03T09:02:36.231Z] Fetching upstream changes from git@github.com:edgexfoundry/device-virtual-go.git [2022-06-03T09:02:36.232Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-06-03T09:02:36.244Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-virtual-go.git +refs/pull/287/head:refs/remotes/origin/PR-287 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2022-06-03T09:02:36.787Z] > git config core.sparsecheckout # timeout=10 [2022-06-03T09:02:36.803Z] > git checkout -f 9cb55bb2cfe838c22c2ea979fd784ef7e579c54d # timeout=10 [2022-06-03T09:02:36.889Z] > git remote # timeout=10 [2022-06-03T09:02:36.908Z] > git config --get remote.origin.url # timeout=10 [2022-06-03T09:02:36.924Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-06-03T09:02:36.936Z] > git merge 9cab87334a4d5affcc1b2c5c12d642008ef46c2d # timeout=10 [2022-06-03T09:02:36.961Z] > git rev-parse HEAD^{commit} # timeout=10 [2022-06-03T09:02:36.987Z] > git config core.sparsecheckout # timeout=10 [2022-06-03T09:02:37.002Z] > git checkout -f 9cb55bb2cfe838c22c2ea979fd784ef7e579c54d # timeout=10 [2022-06-03T09:02:41.172Z] Commit message: "feat(snap): Enable config options before the processing" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-06-03T09:02:42.035Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2022-06-03T09:02:42.035Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-06-03T09:02:42.035Z] Dload Upload Total Spent Left Speed [2022-06-03T09:02:42.035Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12253 100 12253 0 0 94253 0 --:--:-- --:--:-- --:--:-- 94253 [Pipeline] sh [2022-06-03T09:02:42.730Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2022-06-03T09:02:43.071Z] + sudo tee /etc/docker/daemon.new [2022-06-03T09:02:43.071Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2022-06-03T09:02:43.071Z] { [2022-06-03T09:02:43.071Z] "registry-mirrors": [ [2022-06-03T09:02:43.071Z] "https://nexus3.edgexfoundry.org:10001" [2022-06-03T09:02:43.071Z] ], [2022-06-03T09:02:43.071Z] "bip": "10.250.0.254/24", [2022-06-03T09:02:43.071Z] "hosts": [ [2022-06-03T09:02:43.071Z] "tcp://0.0.0.0:5555", [2022-06-03T09:02:43.071Z] "unix:///var/run/docker.sock" [2022-06-03T09:02:43.071Z] ], [2022-06-03T09:02:43.071Z] "mtu": 1458, [2022-06-03T09:02:43.071Z] "selinux-enabled": true, [2022-06-03T09:02:43.071Z] "seccomp-profile": "/etc/docker/seccomp.json" [2022-06-03T09:02:43.071Z] } [Pipeline] sh [2022-06-03T09:02:43.408Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2022-06-03T09:02:43.746Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-06-03T09:03:02.085Z] provisioning config files... [2022-06-03T09:03:02.108Z] copy managed file [device-virtual-go-settings] to file:/w/workspace/device-virtual-go/7@tmp/config6037052396203782985tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-06-03T09:03:02.463Z] ---> docker-login.sh [2022-06-03T09:03:02.463Z] nexus3.edgexfoundry.org:10001 [2022-06-03T09:03:03.059Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-03T09:03:03.333Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-03T09:03:03.333Z] Configure a credential helper to remove this warning. See [2022-06-03T09:03:03.333Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-03T09:03:03.333Z] [2022-06-03T09:03:03.333Z] Login Succeeded [2022-06-03T09:03:03.333Z] nexus3.edgexfoundry.org:10002 [2022-06-03T09:03:03.605Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-03T09:03:03.605Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-03T09:03:03.605Z] Configure a credential helper to remove this warning. See [2022-06-03T09:03:03.605Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-03T09:03:03.605Z] [2022-06-03T09:03:03.605Z] Login Succeeded [2022-06-03T09:03:03.876Z] nexus3.edgexfoundry.org:10003 [2022-06-03T09:03:04.149Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-03T09:03:04.149Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-03T09:03:04.149Z] Configure a credential helper to remove this warning. See [2022-06-03T09:03:04.149Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-03T09:03:04.149Z] [2022-06-03T09:03:04.149Z] Login Succeeded [2022-06-03T09:03:04.149Z] nexus3.edgexfoundry.org:10004 [2022-06-03T09:03:04.753Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-03T09:03:04.753Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-03T09:03:04.753Z] Configure a credential helper to remove this warning. See [2022-06-03T09:03:04.753Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-03T09:03:04.753Z] [2022-06-03T09:03:04.753Z] Login Succeeded [2022-06-03T09:03:04.753Z] docker.io [2022-06-03T09:03:05.025Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-03T09:03:05.306Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-03T09:03:05.306Z] Configure a credential helper to remove this warning. See [2022-06-03T09:03:05.306Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-03T09:03:05.306Z] [2022-06-03T09:03:05.306Z] Login Succeeded [2022-06-03T09:03:05.306Z] ---> docker-login.sh ends [Pipeline] } [2022-06-03T09:03:05.328Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-06-03T09:03:05.852Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-06-03T09:03:05.863Z] ========================================================= [2022-06-03T09:03:05.863Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine] [2022-06-03T09:03:05.863Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-03T09:03:06.260Z] + docker build -t ci-base-image-arm64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine --build-arg MAKE=echo noop --target=builder . [2022-06-03T09:03:06.861Z] Sending build context to Docker daemon 11.74MB [2022-06-03T09:03:06.861Z] Step 1/12 : ARG BASE=golang:1.17-alpine3.15 [2022-06-03T09:03:06.861Z] Step 2/12 : FROM ${BASE} AS builder [2022-06-03T09:03:06.861Z] 1.17-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2022-06-03T09:03:06.861Z] 9b3977197b4f: Pulling fs layer [2022-06-03T09:03:06.861Z] 1a89e8eeedd5: Pulling fs layer [2022-06-03T09:03:06.861Z] 94645a83ff95: Pulling fs layer [2022-06-03T09:03:06.861Z] 3f3a8bcf1eab: Pulling fs layer [2022-06-03T09:03:06.861Z] 0c92f367c5e7: Pulling fs layer [2022-06-03T09:03:06.861Z] 3096ccb668a1: Pulling fs layer [2022-06-03T09:03:06.861Z] e8cf19c19ddd: Pulling fs layer [2022-06-03T09:03:06.861Z] a4caa8a26152: Pulling fs layer [2022-06-03T09:03:06.861Z] 3f3a8bcf1eab: Waiting [2022-06-03T09:03:06.861Z] 0c92f367c5e7: Waiting [2022-06-03T09:03:06.861Z] 3096ccb668a1: Waiting [2022-06-03T09:03:06.861Z] e8cf19c19ddd: Waiting [2022-06-03T09:03:06.861Z] a4caa8a26152: Waiting [2022-06-03T09:03:06.861Z] 94645a83ff95: Download complete [2022-06-03T09:03:06.861Z] 1a89e8eeedd5: Verifying Checksum [2022-06-03T09:03:06.861Z] 1a89e8eeedd5: Download complete [2022-06-03T09:03:07.135Z] 0c92f367c5e7: Verifying Checksum [2022-06-03T09:03:07.135Z] 0c92f367c5e7: Download complete [2022-06-03T09:03:07.135Z] 9b3977197b4f: Download complete [2022-06-03T09:03:07.135Z] 3096ccb668a1: Verifying Checksum [2022-06-03T09:03:07.135Z] 3096ccb668a1: Download complete [2022-06-03T09:03:07.135Z] e8cf19c19ddd: Verifying Checksum [2022-06-03T09:03:07.135Z] e8cf19c19ddd: Download complete [2022-06-03T09:03:07.740Z] 9b3977197b4f: Pull complete [2022-06-03T09:03:08.342Z] 1a89e8eeedd5: Pull complete [2022-06-03T09:03:08.620Z] 94645a83ff95: Pull complete [2022-06-03T09:03:08.896Z] a4caa8a26152: Verifying Checksum [2022-06-03T09:03:08.896Z] a4caa8a26152: Download complete [2022-06-03T09:03:09.491Z] 3f3a8bcf1eab: Verifying Checksum [2022-06-03T09:03:09.491Z] 3f3a8bcf1eab: Download complete [2022-06-03T09:03:21.889Z] 3f3a8bcf1eab: Pull complete [2022-06-03T09:03:21.889Z] 0c92f367c5e7: Pull complete [2022-06-03T09:03:21.889Z] 3096ccb668a1: Pull complete [2022-06-03T09:03:22.164Z] e8cf19c19ddd: Pull complete [2022-06-03T09:03:28.904Z] a4caa8a26152: Pull complete [2022-06-03T09:03:28.904Z] Digest: sha256:b3ad895ecde34a7521bb8912598475bc58d052e1c2c58d00df7f0fe54a102a46 [2022-06-03T09:03:28.904Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine [2022-06-03T09:03:28.904Z] ---> 725f1c02e7f9 [2022-06-03T09:03:28.904Z] Step 3/12 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2022-06-03T09:03:29.178Z] ---> Running in c32a0779a6b8 [2022-06-03T09:03:29.458Z] Removing intermediate container c32a0779a6b8 [2022-06-03T09:03:29.458Z] ---> f205783443a4 [2022-06-03T09:03:29.458Z] Step 4/12 : ARG ALPINE_PKG_EXTRA="" [2022-06-03T09:03:29.458Z] ---> Running in bdd343c32aff [2022-06-03T09:03:29.735Z] Removing intermediate container bdd343c32aff [2022-06-03T09:03:29.735Z] ---> 5e4a1c6e011c [2022-06-03T09:03:29.735Z] Step 5/12 : WORKDIR /device-virtual-go [2022-06-03T09:03:30.009Z] ---> Running in c9897bd15aed [2022-06-03T09:03:30.283Z] Removing intermediate container c9897bd15aed [2022-06-03T09:03:30.283Z] ---> ea7b79166ec5 [2022-06-03T09:03:30.283Z] Step 6/12 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-06-03T09:03:30.283Z] ---> Running in 8c3047c01781 [2022-06-03T09:03:32.269Z] Removing intermediate container 8c3047c01781 [2022-06-03T09:03:32.269Z] ---> 9e447dd4a62f [2022-06-03T09:03:32.269Z] Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-06-03T09:03:32.269Z] ---> Running in 5f766e85224c [2022-06-03T09:03:33.246Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz [2022-06-03T09:03:33.843Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz [2022-06-03T09:03:34.825Z] (1/4) Installing openssh-keygen (8.8_p1-r1) [2022-06-03T09:03:34.825Z] (2/4) Installing libedit (20210910.3.1-r0) [2022-06-03T09:03:35.097Z] (3/4) Installing openssh-client-common (8.8_p1-r1) [2022-06-03T09:03:35.097Z] (4/4) Installing openssh-client-default (8.8_p1-r1) [2022-06-03T09:03:35.370Z] Executing busybox-1.34.1-r3.trigger [2022-06-03T09:03:35.370Z] OK: 224 MiB in 56 packages [2022-06-03T09:03:37.361Z] Removing intermediate container 5f766e85224c [2022-06-03T09:03:37.361Z] ---> a5289db0f657 [2022-06-03T09:03:37.361Z] Step 8/12 : COPY go.mod vendor* ./ [2022-06-03T09:03:37.962Z] ---> e0416f5a8172 [2022-06-03T09:03:37.962Z] Step 9/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-06-03T09:03:37.962Z] ---> Running in 4ddd68e9e9d5 [2022-06-03T09:04:24.976Z] Removing intermediate container 4ddd68e9e9d5 [2022-06-03T09:04:24.976Z] ---> d60dd17ea85f [2022-06-03T09:04:24.976Z] Step 10/12 : COPY . . [2022-06-03T09:04:24.976Z] ---> 9c900abaf606 [2022-06-03T09:04:24.976Z] Step 11/12 : ARG MAKE='make build' [2022-06-03T09:04:24.976Z] ---> Running in 79738bfe7ead [2022-06-03T09:04:24.976Z] Removing intermediate container 79738bfe7ead [2022-06-03T09:04:24.976Z] ---> 8fdf6254dd8e [2022-06-03T09:04:24.976Z] Step 12/12 : RUN $MAKE [2022-06-03T09:04:24.976Z] ---> Running in 23b3ed88748e [2022-06-03T09:04:24.976Z] noop [2022-06-03T09:04:24.976Z] Removing intermediate container 23b3ed88748e [2022-06-03T09:04:24.976Z] ---> 8f78386425f1 [2022-06-03T09:04:24.976Z] Successfully built 8f78386425f1 [2022-06-03T09:04:24.976Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-03T09:04:25.347Z] + docker inspect -f . ci-base-image-arm64 [2022-06-03T09:04:25.347Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-06-03T09:04:25.608Z] prd-ubuntu20.04-docker-arm64-4c-16g-909 does not seem to be running inside a container [2022-06-03T09:04:25.703Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-virtual-go/7 -v /w/workspace/device-virtual-go/7:/w/workspace/device-virtual-go/7:rw,z -v /w/workspace/device-virtual-go/7@tmp:/w/workspace/device-virtual-go/7@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 [2022-06-03T09:04:26.989Z] $ docker top 08235a556c90d72d52f78c4bf269878f452ea41eb9e9488b7ebbd0da5163ece4 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-06-03T09:04:27.896Z] + go version [2022-06-03T09:04:27.896Z] go version go1.17.6 linux/arm64 [Pipeline] } [2022-06-03T09:04:27.932Z] $ docker stop --time=1 08235a556c90d72d52f78c4bf269878f452ea41eb9e9488b7ebbd0da5163ece4 [2022-06-03T09:04:29.584Z] $ docker rm -f 08235a556c90d72d52f78c4bf269878f452ea41eb9e9488b7ebbd0da5163ece4 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-03T09:04:30.195Z] + docker inspect -f . ci-base-image-arm64 [2022-06-03T09:04:30.195Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-06-03T09:04:30.444Z] prd-ubuntu20.04-docker-arm64-4c-16g-909 does not seem to be running inside a container [2022-06-03T09:04:30.540Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-virtual-go/7 -v /w/workspace/device-virtual-go/7:/w/workspace/device-virtual-go/7:rw,z -v /w/workspace/device-virtual-go/7@tmp:/w/workspace/device-virtual-go/7@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 [2022-06-03T09:04:31.819Z] $ docker top 7a7f36e13e132901561256019f95285f51a237048d9b544ccd8e1f4bc49d9212 -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh [2022-06-03T09:04:32.737Z] + make test [2022-06-03T09:04:32.737Z] CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out [2022-06-03T09:04:34.184Z] ? github.com/edgexfoundry/device-virtual-go [no test files] [2022-06-03T09:05:56.034Z] ? github.com/edgexfoundry/device-virtual-go/cmd [no test files] [2022-06-03T09:05:56.034Z] ok github.com/edgexfoundry/device-virtual-go/internal/driver 0.134s coverage: 65.7% of statements [2022-06-03T09:05:56.034Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2022-06-03T09:05:56.034Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2022-06-03T09:06:18.241Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-06-03T09:06:18.241Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2022-06-03T09:06:18.241Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2022-06-03T09:06:20.235Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2022-06-03T09:06:20.262Z] $ docker stop --time=1 7a7f36e13e132901561256019f95285f51a237048d9b544ccd8e1f4bc49d9212 [2022-06-03T09:06:22.043Z] $ docker rm -f 7a7f36e13e132901561256019f95285f51a237048d9b544ccd8e1f4bc49d9212 [Pipeline] // withDockerContainer [Pipeline] sh [2022-06-03T09:06:22.950Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2022-06-03T09:06:22.974Z] Warning: overwriting stash ‘coverage-report’ [2022-06-03T09:06:23.479Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-06-03T09:06:23.861Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2022-06-03T09:06:24.187Z] + ls -al . [2022-06-03T09:06:24.187Z] total 188 [2022-06-03T09:06:24.187Z] drwxrwxr-x 8 jenkins jenkins 4096 Jun 3 09:06 . [2022-06-03T09:06:24.187Z] drwxrwxr-x 4 jenkins jenkins 4096 Jun 3 09:02 .. [2022-06-03T09:06:24.187Z] drwxrwxr-x 8 jenkins jenkins 4096 Jun 3 09:02 .git [2022-06-03T09:06:24.187Z] drwxrwxr-x 3 jenkins jenkins 4096 Jun 3 09:02 .github [2022-06-03T09:06:24.187Z] -rw-rw-r-- 1 jenkins jenkins 337 Jun 3 09:02 .gitignore [2022-06-03T09:06:24.187Z] -rw-rw-r-- 1 jenkins jenkins 41 Jun 3 09:02 .golangci.yml [2022-06-03T09:06:24.187Z] -rw-rw-r-- 1 jenkins jenkins 8026 Jun 3 09:02 Attribution.txt [2022-06-03T09:06:24.187Z] -rw-rw-r-- 1 jenkins jenkins 9649 Jun 3 09:02 CHANGELOG.md [2022-06-03T09:06:24.187Z] -rw-rw-r-- 1 jenkins jenkins 1974 Jun 3 09:02 Dockerfile [2022-06-03T09:06:24.187Z] -rw-rw-r-- 1 jenkins jenkins 677 Jun 3 09:02 GOVERNANCE.md [2022-06-03T09:06:24.187Z] -rw-rw-r-- 1 jenkins jenkins 660 Jun 3 09:02 Jenkinsfile [2022-06-03T09:06:24.187Z] -rw-rw-r-- 1 jenkins jenkins 11340 Jun 3 09:02 LICENSE [2022-06-03T09:06:24.187Z] -rw-rw-r-- 1 jenkins jenkins 2248 Jun 3 09:02 Makefile [2022-06-03T09:06:24.187Z] -rw-rw-r-- 1 jenkins jenkins 623 Jun 3 09:02 OWNERS.md [2022-06-03T09:06:24.187Z] -rw-rw-r-- 1 jenkins jenkins 2914 Jun 3 09:02 README.md [2022-06-03T09:06:24.187Z] -rw-rw-r-- 1 jenkins jenkins 5 Jun 3 09:00 VERSION [2022-06-03T09:06:24.187Z] drwxrwxr-x 2 jenkins jenkins 4096 Jun 3 09:02 bin [2022-06-03T09:06:24.187Z] drwxrwxr-x 3 jenkins jenkins 4096 Jun 3 09:02 cmd [2022-06-03T09:06:24.187Z] -rw-r--r-- 1 jenkins jenkins 44128 Jun 3 09:05 coverage.out [2022-06-03T09:06:24.187Z] -rw-rw-r-- 1 jenkins jenkins 3139 Jun 3 09:02 go.mod [2022-06-03T09:06:24.187Z] -rw-rw-r-- 1 jenkins jenkins 35006 Jun 3 09:02 go.sum [2022-06-03T09:06:24.187Z] drwxrwxr-x 3 jenkins jenkins 4096 Jun 3 09:02 internal [2022-06-03T09:06:24.187Z] drwxrwxr-x 3 jenkins jenkins 4096 Jun 3 09:02 snap [2022-06-03T09:06:24.187Z] -rw-rw-r-- 1 jenkins jenkins 235 Jun 3 09:02 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-03T09:06:24.536Z] + 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=9cb55bb2cfe838c22c2ea979fd784ef7e579c54d --label arch=arm64 --label version=0.0.0 . [2022-06-03T09:06:25.130Z] Sending build context to Docker daemon 11.78MB [2022-06-03T09:06:25.130Z] Step 1/26 : ARG BASE=golang:1.17-alpine3.15 [2022-06-03T09:06:25.130Z] Step 2/26 : FROM ${BASE} AS builder [2022-06-03T09:06:25.130Z] ---> 8f78386425f1 [2022-06-03T09:06:25.130Z] Step 3/26 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2022-06-03T09:06:25.130Z] ---> Running in b07178ac6c53 [2022-06-03T09:06:25.401Z] Removing intermediate container b07178ac6c53 [2022-06-03T09:06:25.401Z] ---> 381a39e08c3a [2022-06-03T09:06:25.401Z] Step 4/26 : ARG ALPINE_PKG_EXTRA="" [2022-06-03T09:06:25.401Z] ---> Running in e4e6dbe986d4 [2022-06-03T09:06:26.000Z] Removing intermediate container e4e6dbe986d4 [2022-06-03T09:06:26.000Z] ---> ace05e8f1a6f [2022-06-03T09:06:26.000Z] Step 5/26 : WORKDIR /device-virtual-go [2022-06-03T09:06:26.000Z] ---> Running in 53564136afb3 [2022-06-03T09:06:26.274Z] Removing intermediate container 53564136afb3 [2022-06-03T09:06:26.274Z] ---> ec60f05d8e07 [2022-06-03T09:06:26.274Z] Step 6/26 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-06-03T09:06:26.274Z] ---> Running in 4173dba17c17 [2022-06-03T09:06:27.709Z] Removing intermediate container 4173dba17c17 [2022-06-03T09:06:27.709Z] ---> 6ce7342b95f8 [2022-06-03T09:06:27.709Z] Step 7/26 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-06-03T09:06:27.983Z] ---> Running in fc4c8089abe0 [2022-06-03T09:06:28.967Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz [2022-06-03T09:06:29.560Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz [2022-06-03T09:06:30.540Z] OK: 224 MiB in 56 packages [2022-06-03T09:06:31.137Z] Removing intermediate container fc4c8089abe0 [2022-06-03T09:06:31.137Z] ---> 7c0e6217f0b7 [2022-06-03T09:06:31.137Z] Step 8/26 : COPY go.mod vendor* ./ [2022-06-03T09:06:31.732Z] ---> befd7ef0a5cb [2022-06-03T09:06:31.732Z] Step 9/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-06-03T09:06:31.732Z] ---> Running in 727bf8e25969 [2022-06-03T09:06:33.702Z] Removing intermediate container 727bf8e25969 [2022-06-03T09:06:33.702Z] ---> 05aaac49494d [2022-06-03T09:06:33.702Z] Step 10/26 : COPY . . [2022-06-03T09:06:34.683Z] ---> 7f053de5084d [2022-06-03T09:06:34.683Z] Step 11/26 : ARG MAKE='make build' [2022-06-03T09:06:34.967Z] ---> Running in d1bbaa2d6c4e [2022-06-03T09:06:35.240Z] Removing intermediate container d1bbaa2d6c4e [2022-06-03T09:06:35.240Z] ---> 34fead5e7991 [2022-06-03T09:06:35.240Z] Step 12/26 : RUN $MAKE [2022-06-03T09:06:35.240Z] ---> Running in 56f1112e4e25 [2022-06-03T09:06:36.225Z] CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-linkmode=external -X github.com/edgexfoundry/device-virtual-go.Version=0.0.0" -trimpath -mod=readonly -buildmode=pie -o cmd/device-virtual ./cmd [2022-06-03T09:08:43.103Z] Removing intermediate container 56f1112e4e25 [2022-06-03T09:08:43.103Z] ---> b8aa34db90bd [2022-06-03T09:08:43.103Z] Step 13/26 : FROM alpine:3.14 [2022-06-03T09:08:43.103Z] 3.14: Pulling from library/alpine [2022-06-03T09:08:43.103Z] 455c02918c45: Pulling fs layer [2022-06-03T09:08:43.103Z] 455c02918c45: Verifying Checksum [2022-06-03T09:08:43.103Z] 455c02918c45: Download complete [2022-06-03T09:08:43.103Z] 455c02918c45: Pull complete [2022-06-03T09:08:43.103Z] Digest: sha256:06b5d462c92fc39303e6363c65e074559f8d6b1363250027ed5053557e3398c5 [2022-06-03T09:08:43.103Z] Status: Downloaded newer image for alpine:3.14 [2022-06-03T09:08:43.103Z] ---> ac73e934f311 [2022-06-03T09:08:43.103Z] Step 14/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2021: IOTech' [2022-06-03T09:08:43.103Z] ---> Running in f8d7533ecb6d [2022-06-03T09:08:43.103Z] Removing intermediate container f8d7533ecb6d [2022-06-03T09:08:43.103Z] ---> bae1fe54674f [2022-06-03T09:08:43.103Z] Step 15/26 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-06-03T09:08:43.103Z] ---> Running in 1a3ef47f738f [2022-06-03T09:08:43.103Z] Removing intermediate container 1a3ef47f738f [2022-06-03T09:08:43.103Z] ---> 0af18c226498 [2022-06-03T09:08:43.103Z] Step 16/26 : RUN apk add --update --no-cache zeromq dumb-init [2022-06-03T09:08:43.103Z] ---> Running in 3e6a6d19592a [2022-06-03T09:08:43.103Z] fetch https://nl.alpinelinux.org/alpine/v3.14/main/aarch64/APKINDEX.tar.gz [2022-06-03T09:08:43.103Z] fetch https://nl.alpinelinux.org/alpine/v3.14/community/aarch64/APKINDEX.tar.gz [2022-06-03T09:08:43.103Z] (1/6) Installing dumb-init (1.2.5-r1) [2022-06-03T09:08:43.103Z] (2/6) Installing libgcc (10.3.1_git20210424-r2) [2022-06-03T09:08:43.103Z] (3/6) Installing libsodium (1.0.18-r0) [2022-06-03T09:08:43.103Z] (4/6) Installing libstdc++ (10.3.1_git20210424-r2) [2022-06-03T09:08:43.103Z] (5/6) Installing libzmq (4.3.4-r0) [2022-06-03T09:08:43.103Z] (6/6) Installing zeromq (4.3.4-r0) [2022-06-03T09:08:43.103Z] Executing busybox-1.33.1-r7.trigger [2022-06-03T09:08:43.103Z] OK: 8 MiB in 20 packages [2022-06-03T09:08:43.103Z] Removing intermediate container 3e6a6d19592a [2022-06-03T09:08:43.103Z] ---> c25b7af10648 [2022-06-03T09:08:43.103Z] Step 17/26 : WORKDIR / [2022-06-03T09:08:43.103Z] ---> Running in 58e1727844f9 [2022-06-03T09:08:43.103Z] Removing intermediate container 58e1727844f9 [2022-06-03T09:08:43.103Z] ---> e8286601ad78 [2022-06-03T09:08:43.103Z] Step 18/26 : COPY --from=builder /device-virtual-go/Attribution.txt / [2022-06-03T09:08:43.103Z] ---> 8828401b54b7 [2022-06-03T09:08:43.103Z] Step 19/26 : COPY --from=builder /device-virtual-go/LICENSE / [2022-06-03T09:08:43.103Z] ---> d2b987be02ef [2022-06-03T09:08:43.103Z] Step 20/26 : COPY --from=builder /device-virtual-go/cmd / [2022-06-03T09:08:43.103Z] ---> 91c830239162 [2022-06-03T09:08:43.103Z] Step 21/26 : EXPOSE 59900 [2022-06-03T09:08:43.104Z] ---> Running in 2cd0b4e0a166 [2022-06-03T09:08:43.104Z] Removing intermediate container 2cd0b4e0a166 [2022-06-03T09:08:43.104Z] ---> 02cd753d694f [2022-06-03T09:08:43.104Z] Step 22/26 : ENTRYPOINT ["/device-virtual"] [2022-06-03T09:08:43.104Z] ---> Running in 24aacd54edb2 [2022-06-03T09:08:43.104Z] Removing intermediate container 24aacd54edb2 [2022-06-03T09:08:43.104Z] ---> 4872fe2338ca [2022-06-03T09:08:43.104Z] Step 23/26 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2022-06-03T09:08:43.104Z] ---> Running in 0f5ec683245f [2022-06-03T09:08:43.104Z] Removing intermediate container 0f5ec683245f [2022-06-03T09:08:43.104Z] ---> f32901a1b861 [2022-06-03T09:08:43.104Z] Step 24/26 : LABEL arch=arm64 [2022-06-03T09:08:43.104Z] ---> Running in 78457a4e4666 [2022-06-03T09:08:43.104Z] Removing intermediate container 78457a4e4666 [2022-06-03T09:08:43.104Z] ---> 9c09bd42b2ce [2022-06-03T09:08:43.104Z] Step 25/26 : LABEL git_sha=9cb55bb2cfe838c22c2ea979fd784ef7e579c54d [2022-06-03T09:08:43.104Z] ---> Running in ec6f9bccdcc0 [2022-06-03T09:08:43.379Z] Removing intermediate container ec6f9bccdcc0 [2022-06-03T09:08:43.379Z] ---> 42b38a47fcc7 [2022-06-03T09:08:43.379Z] Step 26/26 : LABEL version=0.0.0 [2022-06-03T09:08:43.379Z] ---> Running in 633cb02bebab [2022-06-03T09:08:43.667Z] Removing intermediate container 633cb02bebab [2022-06-03T09:08:43.667Z] ---> b1af9141cf53 [2022-06-03T09:08:43.667Z] [Warning] One or more build-args [ARCH] were not consumed [2022-06-03T09:08:43.667Z] Successfully built b1af9141cf53 [2022-06-03T09:08:43.667Z] 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 [2022-06-03T09:08:44.128Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-06-03T09:08:44.128Z] [2022-06-03T09:08:44.128Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-03T09:08:44.485Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-06-03T09:08:44.485Z] arm64: Pulling from edgex-lftools-log-publisher [2022-06-03T09:08:44.485Z] 8998bd30e6a1: Pulling fs layer [2022-06-03T09:08:44.485Z] 04944245beec: Pulling fs layer [2022-06-03T09:08:44.485Z] 699f458cf7ca: Pulling fs layer [2022-06-03T09:08:44.485Z] 765212b225bb: Pulling fs layer [2022-06-03T09:08:44.485Z] f23df028b6ca: Pulling fs layer [2022-06-03T09:08:44.485Z] d65c8cfc05b1: Pulling fs layer [2022-06-03T09:08:44.485Z] 2437ff75d9bd: Pulling fs layer [2022-06-03T09:08:44.485Z] 765212b225bb: Waiting [2022-06-03T09:08:44.485Z] f23df028b6ca: Waiting [2022-06-03T09:08:44.485Z] d65c8cfc05b1: Waiting [2022-06-03T09:08:44.485Z] 2437ff75d9bd: Waiting [2022-06-03T09:08:44.762Z] 04944245beec: Verifying Checksum [2022-06-03T09:08:44.762Z] 04944245beec: Download complete [2022-06-03T09:08:44.762Z] 765212b225bb: Verifying Checksum [2022-06-03T09:08:44.762Z] 765212b225bb: Download complete [2022-06-03T09:08:44.762Z] f23df028b6ca: Verifying Checksum [2022-06-03T09:08:44.762Z] f23df028b6ca: Download complete [2022-06-03T09:08:44.762Z] d65c8cfc05b1: Verifying Checksum [2022-06-03T09:08:44.762Z] d65c8cfc05b1: Download complete [2022-06-03T09:08:45.042Z] 699f458cf7ca: Verifying Checksum [2022-06-03T09:08:45.042Z] 699f458cf7ca: Download complete [2022-06-03T09:08:45.323Z] 8998bd30e6a1: Verifying Checksum [2022-06-03T09:08:45.323Z] 8998bd30e6a1: Download complete [2022-06-03T09:08:47.944Z] 2437ff75d9bd: Verifying Checksum [2022-06-03T09:08:47.944Z] 2437ff75d9bd: Download complete [2022-06-03T09:08:49.393Z] 8998bd30e6a1: Pull complete [2022-06-03T09:08:49.991Z] 04944245beec: Pull complete [2022-06-03T09:08:51.432Z] 699f458cf7ca: Pull complete [2022-06-03T09:08:51.709Z] 765212b225bb: Pull complete [2022-06-03T09:08:52.699Z] f23df028b6ca: Pull complete [2022-06-03T09:08:52.699Z] d65c8cfc05b1: Pull complete [2022-06-03T09:09:07.819Z] 2437ff75d9bd: Pull complete [2022-06-03T09:09:07.819Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2022-06-03T09:09:07.819Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-06-03T09:09:07.819Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-06-03T09:09:08.070Z] prd-ubuntu20.04-docker-arm64-4c-16g-909 does not seem to be running inside a container [2022-06-03T09:09:08.175Z] $ 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/7 -v /w/workspace/device-virtual-go/7:/w/workspace/device-virtual-go/7:rw,z -v /w/workspace/device-virtual-go/7@tmp:/w/workspace/device-virtual-go/7@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 [2022-06-03T09:09:10.684Z] $ docker top 67efd68adbd1877e1c2f1ba87d1d21a1272f7a11652eff80c17757f15c5b7a38 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-06-03T09:09:11.605Z] ---> job-cost.sh [2022-06-03T09:09:11.605Z] lf-activate-venv: SKIPPING [2022-06-03T09:09:11.605Z] INFO: No Stack... [2022-06-03T09:09:11.876Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2022-06-03T09:09:12.848Z] INFO: Archiving Costs [Pipeline] sh [2022-06-03T09:09:13.510Z] + cat /w/workspace/device-virtual-go/7/archives/cost.csv [2022-06-03T09:09:13.510Z] + cut -d, -f6 [Pipeline] lock [2022-06-03T09:09:13.574Z] Trying to acquire lock on [jenkins-edgexfoundry-device-virtual-go-PR-287-7-stack-cost] [2022-06-03T09:09:13.579Z] Resource [jenkins-edgexfoundry-device-virtual-go-PR-287-7-stack-cost] did not exist. Created. [2022-06-03T09:09:13.579Z] Lock acquired on [jenkins-edgexfoundry-device-virtual-go-PR-287-7-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-06-03T09:09:14.256Z] /w/workspace/device-virtual-go/7@tmp/durable-d15d9264/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2022-06-03T09:09:14.944Z] + echo total: 0.10999999940395355 [Pipeline] stash [2022-06-03T09:09:14.970Z] Warning: overwriting stash ‘stack-cost’ [2022-06-03T09:09:15.016Z] Stashed 1 file(s) [Pipeline] } [2022-06-03T09:09:15.025Z] Lock released on resource [jenkins-edgexfoundry-device-virtual-go-PR-287-7-stack-cost] [Pipeline] // lock [Pipeline] } [2022-06-03T09:09:15.066Z] $ docker stop --time=1 67efd68adbd1877e1c2f1ba87d1d21a1272f7a11652eff80c17757f15c5b7a38 [2022-06-03T09:09:16.585Z] $ docker rm -f 67efd68adbd1877e1c2f1ba87d1d21a1272f7a11652eff80c17757f15c5b7a38 [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 [2022-06-03T09:09:17.020Z] provisioning config files... [2022-06-03T09:09:17.032Z] copy managed file [device-virtual-go-codecov-token] to file:/w/workspace/foundry_device-virtual-go_PR-287@tmp/config3244228228673366066tmp [Pipeline] { [Pipeline] sh [2022-06-03T09:09:17.339Z] + set +x [2022-06-03T09:09:17.339Z] + bash -s -- [2022-06-03T09:09:17.339Z] + curl -s https://codecov.io/bash [2022-06-03T09:09:17.339Z] [2022-06-03T09:09:17.339Z] _____ _ [2022-06-03T09:09:17.339Z] / ____| | | [2022-06-03T09:09:17.339Z] | | ___ __| | ___ ___ _____ __ [2022-06-03T09:09:17.339Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2022-06-03T09:09:17.339Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2022-06-03T09:09:17.339Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2022-06-03T09:09:17.339Z] Bash-1.0.6 [2022-06-03T09:09:17.339Z] [2022-06-03T09:09:17.339Z] [2022-06-03T09:09:17.339Z] ==> git version 2.25.1 found [2022-06-03T09:09:17.339Z] ==> 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 [2022-06-03T09:09:17.339Z] Release-Date: 2020-01-08 [2022-06-03T09:09:17.339Z] Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp [2022-06-03T09:09:17.339Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2022-06-03T09:09:17.339Z] ==> Jenkins CI detected. [2022-06-03T09:09:17.339Z] current dir:  /w/workspace/foundry_device-virtual-go_PR-287 [2022-06-03T09:09:17.339Z] project root: . [2022-06-03T09:09:17.339Z] --> token set from env [2022-06-03T09:09:17.339Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2022-06-03T09:09:17.339Z] ==> Running gcov in . (disable via -X gcov) [2022-06-03T09:09:17.339Z] ==> Python coveragepy not found [2022-06-03T09:09:17.339Z] ==> Searching for coverage reports in: [2022-06-03T09:09:17.339Z] + . [2022-06-03T09:09:17.339Z] -> Found 1 reports [2022-06-03T09:09:17.339Z] ==> Detecting git/mercurial file structure [2022-06-03T09:09:17.339Z] ==> Reading reports [2022-06-03T09:09:17.339Z] + ./coverage.out bytes=44128 [2022-06-03T09:09:17.597Z] ==> Appending adjustments [2022-06-03T09:09:17.597Z] https://docs.codecov.io/docs/fixing-reports [2022-06-03T09:09:17.597Z] + Found adjustments [2022-06-03T09:09:17.597Z] ==> Gzipping contents [2022-06-03T09:09:17.597Z] 8.0K /tmp/codecov.crcZsu.gz [2022-06-03T09:09:17.597Z] ==> Uploading reports [2022-06-03T09:09:17.597Z] url: https://codecov.io [2022-06-03T09:09:17.597Z] query: branch=PR-287&commit=9cb55bb2cfe838c22c2ea979fd784ef7e579c54d&build=7&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-virtual-go%2Fjob%2FPR-287%2F7%2F&name=&tag=&slug=edgexfoundry%2Fdevice-virtual-go&service=jenkins&flags=&pr=287&job=&cmd_args= [2022-06-03T09:09:17.597Z] -> Pinging Codecov [2022-06-03T09:09:17.597Z] https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=a35e349c-7876-4d48-9269-e9fc36774240&branch=PR-287&commit=9cb55bb2cfe838c22c2ea979fd784ef7e579c54d&build=7&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-virtual-go%2Fjob%2FPR-287%2F7%2F&name=&tag=&slug=edgexfoundry%2Fdevice-virtual-go&service=jenkins&flags=&pr=287&job=&cmd_args= [2022-06-03T09:09:17.858Z] -> Uploading to [2022-06-03T09:09:17.858Z] https://storage.googleapis.com/codecov/v4/raw/2022-06-03/5E52B4B073DB2E39498172D8E973AA87/9cb55bb2cfe838c22c2ea979fd784ef7e579c54d/7cf9c459-ec27-47d5-9106-c06acb2eb204.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EKKHVKCKHW7KBCGM7IHR55T63V2PAVJWLVFNITJHDU5G6R5IRN3LMWJA%2F20220603%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20220603T090917Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=104b48ad7910c19b81cb04dd4aecf8e279eaf645ae9d0e61ca8adacb06a08c0a [2022-06-03T09:09:17.858Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-06-03T09:09:17.858Z] Dload Upload Total Spent Left Speed [2022-06-03T09:09:18.119Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 5511 0 0 100 5511 0 23351 --:--:-- --:--:-- --:--:-- 23351 [2022-06-03T09:09:18.119Z] -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/device-virtual-go/commit/9cb55bb2cfe838c22c2ea979fd784ef7e579c54d [Pipeline] } [2022-06-03T09:09:18.128Z] 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 [2022-06-03T09:09:18.824Z] + [ -d /w/workspace/foundry_device-virtual-go_PR-287/archives ] [2022-06-03T09:09:18.825Z] + ls -al /w/workspace/foundry_device-virtual-go_PR-287/archives [2022-06-03T09:09:18.825Z] total 16 [2022-06-03T09:09:18.825Z] drwxr-xr-x 3 root root 4096 Jun 3 09:02 . [2022-06-03T09:09:18.825Z] drwxrwxr-x 10 jenkins jenkins 4096 Jun 3 09:02 .. [2022-06-03T09:09:18.825Z] drwxr-xr-x 2 root root 4096 Jun 3 09:02 cost [2022-06-03T09:09:18.825Z] -rw-r--r-- 1 root root 88 Jun 3 09:02 cost.csv [2022-06-03T09:09:18.825Z] + sudo chown -R jenkins:jenkins /w/workspace/foundry_device-virtual-go_PR-287/archives [2022-06-03T09:09:18.825Z] + ls -al /w/workspace/foundry_device-virtual-go_PR-287/archives [2022-06-03T09:09:18.825Z] total 16 [2022-06-03T09:09:18.825Z] drwxr-xr-x 3 jenkins jenkins 4096 Jun 3 09:02 . [2022-06-03T09:09:18.825Z] drwxrwxr-x 10 jenkins jenkins 4096 Jun 3 09:02 .. [2022-06-03T09:09:18.825Z] drwxr-xr-x 2 jenkins jenkins 4096 Jun 3 09:02 cost [2022-06-03T09:09:18.825Z] -rw-r--r-- 1 jenkins jenkins 88 Jun 3 09:02 cost.csv [Pipeline] libraryResource [Pipeline] sh [2022-06-03T09:09:19.118Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2022-06-03T09:09:19.984Z] ---> package-listing.sh [2022-06-03T09:09:19.984Z] ++ facter osfamily [2022-06-03T09:09:19.984Z] ++ tr '[:upper:]' '[:lower:]' [2022-06-03T09:09:20.247Z] + OS_FAMILY=debian [2022-06-03T09:09:20.247Z] + workspace=/w/workspace/foundry_device-virtual-go_PR-287 [2022-06-03T09:09:20.247Z] + START_PACKAGES=/tmp/packages_start.txt [2022-06-03T09:09:20.247Z] + END_PACKAGES=/tmp/packages_end.txt [2022-06-03T09:09:20.247Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2022-06-03T09:09:20.247Z] + PACKAGES=/tmp/packages_start.txt [2022-06-03T09:09:20.247Z] + '[' /w/workspace/foundry_device-virtual-go_PR-287 ']' [2022-06-03T09:09:20.247Z] + PACKAGES=/tmp/packages_end.txt [2022-06-03T09:09:20.247Z] + case "${OS_FAMILY}" in [2022-06-03T09:09:20.247Z] + dpkg -l [2022-06-03T09:09:20.247Z] + grep '^ii' [2022-06-03T09:09:20.247Z] + '[' -f /tmp/packages_start.txt ']' [2022-06-03T09:09:20.247Z] + '[' -f /tmp/packages_end.txt ']' [2022-06-03T09:09:20.247Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2022-06-03T09:09:20.247Z] + '[' /w/workspace/foundry_device-virtual-go_PR-287 ']' [2022-06-03T09:09:20.247Z] + mkdir -p /w/workspace/foundry_device-virtual-go_PR-287/archives/ [2022-06-03T09:09:20.247Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/foundry_device-virtual-go_PR-287/archives/ [Pipeline] echo [2022-06-03T09:09:20.259Z] 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-287/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2022-06-03T09:09:20.539Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-03T09:09:20.840Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-06-03T09:09:20.840Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-06-03T09:09:20.928Z] prd-ubuntu20.04-docker-8c-8g-908 does not seem to be running inside a container [2022-06-03T09:09:20.966Z] $ 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-287/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-287 -v /w/workspace/foundry_device-virtual-go_PR-287:/w/workspace/foundry_device-virtual-go_PR-287:rw,z -v /w/workspace/foundry_device-virtual-go_PR-287@tmp:/w/workspace/foundry_device-virtual-go_PR-287@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 [2022-06-03T09:09:21.224Z] $ docker top f547ce76af8f11e55bea475b6175aa8f258b237f8bd9b730a8474bac2f9741d2 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-06-03T09:09:21.576Z] + touch /tmp/pre-build-complete [Pipeline] sh [2022-06-03T09:09:21.864Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2022-06-03T09:09:22.152Z] + ls /var/log/sa-host [2022-06-03T09:09:22.152Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-06-03T09:09:22.282Z] provisioning config files... [2022-06-03T09:09:22.291Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/foundry_device-virtual-go_PR-287@tmp/config5726452733686985371tmp [Pipeline] { [Pipeline] echo [2022-06-03T09:09:22.305Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2022-06-03T09:09:22.592Z] ---> create-netrc.sh [Pipeline] } [2022-06-03T09:09:22.599Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2022-06-03T09:09:22.932Z] ---> python-tools-install.sh [Pipeline] echo [2022-06-03T09:09:22.940Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2022-06-03T09:09:23.226Z] ---> sudo-logs.sh [2022-06-03T09:09:23.226Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2022-06-03T09:09:23.264Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2022-06-03T09:09:23.554Z] ---> job-cost.sh [2022-06-03T09:09:23.554Z] lf-activate-venv: SKIPPING [2022-06-03T09:09:23.554Z] DEBUG: total: 0.2199999988079071 [2022-06-03T09:09:23.554Z] INFO: Retrieving Stack Cost... [2022-06-03T09:09:24.127Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2022-06-03T09:09:24.386Z] INFO: Archiving Costs [Pipeline] echo [2022-06-03T09:09:24.398Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2022-06-03T09:09:24.683Z] ---> logs-deploy.sh [2022-06-03T09:09:24.683Z] lf-activate-venv: SKIPPING [2022-06-03T09:09:24.683Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-virtual-go/PR-287/7 [2022-06-03T09:09:24.683Z] INFO: archiving workspace using pattern(s): [2022-06-03T09:09:25.627Z] Archives upload complete. [2022-06-03T09:09:25.627Z] INFO: archiving logs to Nexus