Pull request #287 updated 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 253bc954d7726a3ef5e384993d6e5cd9a4957198 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-ssh9931158544150092183.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-ssh2687903776644318545.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-ssh8223380561573437807.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-ssh12079926724637160920.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-ssh13742913703429410026.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 ‘prd-ubuntu20.04-docker-8c-8g-908’ is offline Running on prd-ubuntu20.04-docker-8c-8g-911 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 253bc954d7726a3ef5e384993d6e5cd9a4957198 Merge succeeded, producing 253bc954d7726a3ef5e384993d6e5cd9a4957198 Checking out Revision 253bc954d7726a3ef5e384993d6e5cd9a4957198 (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 253bc954d7726a3ef5e384993d6e5cd9a4957198 # 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 253bc954d7726a3ef5e384993d6e5cd9a4957198 # timeout=10 Commit message: "build(snap): Update CI workflow with canonical repo" > git rev-list --no-walk 9cb55bb2cfe838c22c2ea979fd784ef7e579c54d # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2022-06-03T09:10:39.798Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2022-06-03T09:10:39.850Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2022-06-03T09:10:39.862Z] ========================================================= [2022-06-03T09:10:39.862Z] EdgeX Global Pipelines Version Info [2022-06-03T09:10:39.862Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2022-06-03T09:10:40.667Z] ------------------- [2022-06-03T09:10:40.668Z] stable info: [2022-06-03T09:10:40.668Z] ------------------- [2022-06-03T09:10:40.668Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2022-06-03T09:10:40.668Z] Commit SHA: e2cac8b444d664382c771f5dccbf61e369ddf83e [2022-06-03T09:10:40.668Z] Message: update stable to v1.0.231 [2022-06-03T09:10:41.240Z] ------------------- [2022-06-03T09:10:41.240Z] experimental info: [2022-06-03T09:10:41.240Z] ------------------- [2022-06-03T09:10:41.240Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2022-06-03T09:10:41.240Z] Commit SHA: e2cac8b444d664382c771f5dccbf61e369ddf83e [2022-06-03T09:10:41.240Z] Message: update experimental to v1.0.231 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2022-06-03T09:10:41.423Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-virtual-go-settings [Pipeline] echo [2022-06-03T09:10:41.438Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-virtual-go [Pipeline] echo [2022-06-03T09:10:41.452Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2022-06-03T09:10:41.464Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2022-06-03T09:10:41.475Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2022-06-03T09:10:41.488Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.17 [Pipeline] echo [2022-06-03T09:10:41.502Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2022-06-03T09:10:41.515Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2022-06-03T09:10:41.525Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2022-06-03T09:10:41.534Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2022-06-03T09:10:41.544Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2022-06-03T09:10:41.553Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-virtual [Pipeline] echo [2022-06-03T09:10:41.562Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2022-06-03T09:10:41.571Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2022-06-03T09:10:41.580Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2022-06-03T09:10:41.589Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2022-06-03T09:10:41.598Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2022-06-03T09:10:41.607Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2022-06-03T09:10:41.616Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2022-06-03T09:10:41.625Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2022-06-03T09:10:41.635Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2022-06-03T09:10:41.644Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2022-06-03T09:10:41.653Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2022-06-03T09:10:41.661Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2022-06-03T09:10:41.670Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2022-06-03T09:10:41.678Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2022-06-03T09:10:41.687Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2022-06-03T09:10:41.700Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-287 [Pipeline] echo [2022-06-03T09:10:41.708Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-287 [Pipeline] echo [2022-06-03T09:10:41.717Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-287 [Pipeline] echo [2022-06-03T09:10:41.725Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 253bc954d7726a3ef5e384993d6e5cd9a4957198 [Pipeline] echo [2022-06-03T09:10:41.734Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 253bc95 [Pipeline] echo [2022-06-03T09:10:41.742Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-06-03T09:10:41.773Z] provisioning config files... [2022-06-03T09:10:41.789Z] copy managed file [device-virtual-go-settings] to file:/w/workspace/foundry_device-virtual-go_PR-287@tmp/config9100219809580000450tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-06-03T09:10:42.167Z] ---> docker-login.sh [2022-06-03T09:10:42.167Z] nexus3.edgexfoundry.org:10001 [2022-06-03T09:10:42.429Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-03T09:10:42.429Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-03T09:10:42.429Z] Configure a credential helper to remove this warning. See [2022-06-03T09:10:42.429Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-03T09:10:42.429Z] [2022-06-03T09:10:42.429Z] Login Succeeded [2022-06-03T09:10:42.429Z] nexus3.edgexfoundry.org:10002 [2022-06-03T09:10:42.692Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-03T09:10:42.692Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-03T09:10:42.692Z] Configure a credential helper to remove this warning. See [2022-06-03T09:10:42.692Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-03T09:10:42.692Z] [2022-06-03T09:10:42.692Z] Login Succeeded [2022-06-03T09:10:42.692Z] nexus3.edgexfoundry.org:10003 [2022-06-03T09:10:42.692Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-03T09:10:42.954Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-03T09:10:42.954Z] Configure a credential helper to remove this warning. See [2022-06-03T09:10:42.954Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-03T09:10:42.954Z] [2022-06-03T09:10:42.954Z] Login Succeeded [2022-06-03T09:10:42.954Z] nexus3.edgexfoundry.org:10004 [2022-06-03T09:10:42.954Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-03T09:10:42.954Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-03T09:10:42.954Z] Configure a credential helper to remove this warning. See [2022-06-03T09:10:42.954Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-03T09:10:42.954Z] [2022-06-03T09:10:42.954Z] Login Succeeded [2022-06-03T09:10:42.954Z] docker.io [2022-06-03T09:10:43.224Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-03T09:10:43.488Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-03T09:10:43.488Z] Configure a credential helper to remove this warning. See [2022-06-03T09:10:43.488Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-03T09:10:43.488Z] [2022-06-03T09:10:43.488Z] Login Succeeded [2022-06-03T09:10:43.488Z] ---> docker-login.sh ends [Pipeline] } [2022-06-03T09:10:43.495Z] 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:10:43.879Z] + git rev-list -1 --merges 253bc954d7726a3ef5e384993d6e5cd9a4957198~1..253bc954d7726a3ef5e384993d6e5cd9a4957198 [Pipeline] echo [2022-06-03T09:10:43.918Z] -----------> git rev-list -1 --merges 253bc954d7726a3ef5e384993d6e5cd9a4957198~1..253bc954d7726a3ef5e384993d6e5cd9a4957198 253bc954d7726a3ef5e384993d6e5cd9a4957198 [false] [Pipeline] sh [2022-06-03T09:10:44.209Z] + git log --format=format:%s -1 253bc954d7726a3ef5e384993d6e5cd9a4957198 [Pipeline] echo [2022-06-03T09:10:44.225Z] ========================================================= [2022-06-03T09:10:44.225Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2022-06-03T09:10:44.225Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-06-03T09:10:44.566Z] + git log --format=format:%s -1 253bc954d7726a3ef5e384993d6e5cd9a4957198 [Pipeline] echo [2022-06-03T09:10:44.579Z] [semverPrep] GIT_COMMIT: 253bc954d7726a3ef5e384993d6e5cd9a4957198, Commit Message: build(snap): Update CI workflow with canonical repo [Pipeline] echo [2022-06-03T09:10:44.586Z] [semverPrep] This is not a build commit. [Pipeline] sh [2022-06-03T09:10:44.936Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2022-06-03T09:10:44.936Z] + grep -v github /etc/ssh/ssh_known_hosts [2022-06-03T09:10:44.936Z] + [ -e /tmp/ssh_known_hosts ] [2022-06-03T09:10:44.936Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2022-06-03T09:10:44.936Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2022-06-03T09:10:44.936Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2022-06-03T09:10:44.936Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-03T09:10:45.306Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest [2022-06-03T09:10:45.306Z] [2022-06-03T09:10:45.306Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-03T09:10:45.633Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest [2022-06-03T09:10:45.633Z] latest: Pulling from edgex-devops/py-git-semver [2022-06-03T09:10:45.633Z] 42c077c10790: Pulling fs layer [2022-06-03T09:10:45.633Z] f63e77b7563a: Pulling fs layer [2022-06-03T09:10:45.633Z] bd5fdadae976: Pulling fs layer [2022-06-03T09:10:45.633Z] 205491f53016: Pulling fs layer [2022-06-03T09:10:45.633Z] df18705c85c3: Pulling fs layer [2022-06-03T09:10:45.633Z] bdb3f477010e: Pulling fs layer [2022-06-03T09:10:45.633Z] c8a8fc8e1c8f: Pulling fs layer [2022-06-03T09:10:45.633Z] 2c6e9b1d212d: Pulling fs layer [2022-06-03T09:10:45.633Z] bdb8f0575790: Pulling fs layer [2022-06-03T09:10:45.633Z] 386e3cb2ff24: Pulling fs layer [2022-06-03T09:10:45.633Z] 2343380bae48: Pulling fs layer [2022-06-03T09:10:45.633Z] c8a8fc8e1c8f: Waiting [2022-06-03T09:10:45.633Z] 2c6e9b1d212d: Waiting [2022-06-03T09:10:45.633Z] bdb8f0575790: Waiting [2022-06-03T09:10:45.633Z] 386e3cb2ff24: Waiting [2022-06-03T09:10:45.633Z] 2343380bae48: Waiting [2022-06-03T09:10:45.633Z] 205491f53016: Waiting [2022-06-03T09:10:45.633Z] df18705c85c3: Waiting [2022-06-03T09:10:45.633Z] bdb3f477010e: Waiting [2022-06-03T09:10:45.633Z] f63e77b7563a: Download complete [2022-06-03T09:10:45.633Z] 205491f53016: Verifying Checksum [2022-06-03T09:10:45.633Z] 205491f53016: Download complete [2022-06-03T09:10:45.897Z] df18705c85c3: Verifying Checksum [2022-06-03T09:10:45.897Z] df18705c85c3: Download complete [2022-06-03T09:10:45.897Z] bdb3f477010e: Verifying Checksum [2022-06-03T09:10:45.897Z] bdb3f477010e: Download complete [2022-06-03T09:10:45.897Z] bd5fdadae976: Verifying Checksum [2022-06-03T09:10:45.897Z] bd5fdadae976: Download complete [2022-06-03T09:10:45.897Z] 2c6e9b1d212d: Verifying Checksum [2022-06-03T09:10:45.897Z] 2c6e9b1d212d: Download complete [2022-06-03T09:10:45.897Z] bdb8f0575790: Verifying Checksum [2022-06-03T09:10:45.897Z] bdb8f0575790: Download complete [2022-06-03T09:10:45.897Z] 386e3cb2ff24: Download complete [2022-06-03T09:10:45.897Z] 2343380bae48: Download complete [2022-06-03T09:10:45.897Z] 42c077c10790: Verifying Checksum [2022-06-03T09:10:45.897Z] 42c077c10790: Download complete [2022-06-03T09:10:46.161Z] c8a8fc8e1c8f: Verifying Checksum [2022-06-03T09:10:46.161Z] c8a8fc8e1c8f: Download complete [2022-06-03T09:10:47.557Z] 42c077c10790: Pull complete [2022-06-03T09:10:47.557Z] f63e77b7563a: Pull complete [2022-06-03T09:10:48.139Z] bd5fdadae976: Pull complete [2022-06-03T09:10:48.139Z] 205491f53016: Pull complete [2022-06-03T09:10:48.714Z] df18705c85c3: Pull complete [2022-06-03T09:10:48.714Z] bdb3f477010e: Pull complete [2022-06-03T09:10:50.632Z] c8a8fc8e1c8f: Pull complete [2022-06-03T09:10:50.893Z] 2c6e9b1d212d: Pull complete [2022-06-03T09:10:50.893Z] bdb8f0575790: Pull complete [2022-06-03T09:10:51.157Z] 386e3cb2ff24: Pull complete [2022-06-03T09:10:51.157Z] 2343380bae48: Pull complete [2022-06-03T09:10:51.157Z] Digest: sha256:c3bf284c02da7271302b7a373f1d48320b54229aa5119b2a29c7f8015e6a9264 [2022-06-03T09:10:51.157Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest [2022-06-03T09:10:51.157Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-06-03T09:10:51.257Z] prd-ubuntu20.04-docker-8c-8g-911 does not seem to be running inside a container [2022-06-03T09:10:51.307Z] $ 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 ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest cat [2022-06-03T09:10:52.988Z] $ docker top d824c7a65dc153b00430c557edf6aba2e3f12deae32af855143f81803bbf7d3a -eo pid,comm [2022-06-03T09:10:53.055Z] 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:10:53.055Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2022-06-03T09:10:53.091Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-06-03T09:10:53.091Z] [ssh-agent] Looking for ssh-agent implementation... [2022-06-03T09:10:53.237Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-06-03T09:10:53.246Z] $ docker exec d824c7a65dc153b00430c557edf6aba2e3f12deae32af855143f81803bbf7d3a ssh-agent [2022-06-03T09:10:53.368Z] SSH_AUTH_SOCK=/tmp/ssh-72jNpCQAmBIk/agent.32 [2022-06-03T09:10:53.368Z] SSH_AGENT_PID=38 [2022-06-03T09:10:53.376Z] Running ssh-add (command line suppressed) [2022-06-03T09:10:53.501Z] Identity added: /w/workspace/foundry_device-virtual-go_PR-287@tmp/private_key_5489583868380721886.key (/w/workspace/foundry_device-virtual-go_PR-287@tmp/private_key_5489583868380721886.key) [2022-06-03T09:10:53.516Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-06-03T09:10:53.809Z] + git tag --points-at HEAD [Pipeline] } [2022-06-03T09:10:53.828Z] $ docker exec --env ******** --env ******** d824c7a65dc153b00430c557edf6aba2e3f12deae32af855143f81803bbf7d3a ssh-agent -k [2022-06-03T09:10:53.945Z] unset SSH_AUTH_SOCK; [2022-06-03T09:10:53.945Z] unset SSH_AGENT_PID; [2022-06-03T09:10:53.945Z] echo Agent pid 38 killed; [2022-06-03T09:10:53.962Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2022-06-03T09:10:53.982Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-06-03T09:10:53.982Z] [ssh-agent] Looking for ssh-agent implementation... [2022-06-03T09:10:54.120Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-06-03T09:10:54.128Z] $ docker exec d824c7a65dc153b00430c557edf6aba2e3f12deae32af855143f81803bbf7d3a ssh-agent [2022-06-03T09:10:54.252Z] SSH_AUTH_SOCK=/tmp/ssh-8XAgwoDOzXpC/agent.70 [2022-06-03T09:10:54.252Z] SSH_AGENT_PID=76 [2022-06-03T09:10:54.258Z] Running ssh-add (command line suppressed) [2022-06-03T09:10:54.400Z] Identity added: /w/workspace/foundry_device-virtual-go_PR-287@tmp/private_key_680106581115562182.key (/w/workspace/foundry_device-virtual-go_PR-287@tmp/private_key_680106581115562182.key) [2022-06-03T09:10:54.416Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-06-03T09:10:54.706Z] + git semver init [2022-06-03T09:10:54.966Z] 2022-06-03 09:10:54,932 [run_init] DEBUG init version:0.0.0 force:False [2022-06-03T09:10:54.966Z] 2022-06-03 09:10:54,932 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/foundry_device-virtual-go_PR-287/.semver [2022-06-03T09:10:54.966Z] 2022-06-03 09:10:54,933 [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:10:54.966Z] 2022-06-03 09:10:54,933 [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:10:55.907Z] 2022-06-03 09:10:55,877 [append_file] DEBUG append to file:/w/workspace/foundry_device-virtual-go_PR-287/.git/info/exclude [2022-06-03T09:10:55.907Z] 2022-06-03 09:10:55,878 [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:10:55.907Z] 2022-06-03 09:10:55,878 [write_file] DEBUG write to file:/w/workspace/foundry_device-virtual-go_PR-287/.semver/PR-287 [2022-06-03T09:10:55.907Z] 2022-06-03 09:10:55,883 [execute] INFO git cat-file --batch-check [2022-06-03T09:10:55.907Z] 2022-06-03 09:10:55,884 [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:10:55.907Z] 2022-06-03 09:10:55,891 [execute] INFO git cat-file --batch [2022-06-03T09:10:55.907Z] 2022-06-03 09:10:55,891 [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:10:55.907Z] 2022-06-03 09:10:55,899 [read_version] DEBUG read version from /w/workspace/foundry_device-virtual-go_PR-287/.semver/PR-287 [2022-06-03T09:10:55.907Z] 0.0.0 [Pipeline] } [2022-06-03T09:10:56.184Z] $ docker exec --env ******** --env ******** d824c7a65dc153b00430c557edf6aba2e3f12deae32af855143f81803bbf7d3a ssh-agent -k [2022-06-03T09:10:56.304Z] unset SSH_AUTH_SOCK; [2022-06-03T09:10:56.304Z] unset SSH_AGENT_PID; [2022-06-03T09:10:56.304Z] echo Agent pid 76 killed; [2022-06-03T09:10:56.313Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2022-06-03T09:10:56.636Z] + git semver [Pipeline] } [2022-06-03T09:10:56.915Z] $ docker stop --time=1 d824c7a65dc153b00430c557edf6aba2e3f12deae32af855143f81803bbf7d3a [2022-06-03T09:10:58.306Z] $ docker rm -f d824c7a65dc153b00430c557edf6aba2e3f12deae32af855143f81803bbf7d3a [Pipeline] // withDockerContainer [Pipeline] sh [2022-06-03T09:10:58.653Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2022-06-03T09:10:58.916Z] Stashed 1 file(s) [Pipeline] echo [2022-06-03T09:10:58.918Z] [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:10:59.063Z] provisioning config files... [2022-06-03T09:10:59.074Z] copy managed file [device-virtual-go-settings] to file:/w/workspace/foundry_device-virtual-go_PR-287@tmp/config2533003873529432105tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-06-03T09:10:59.374Z] ---> docker-login.sh [2022-06-03T09:10:59.374Z] nexus3.edgexfoundry.org:10001 [2022-06-03T09:10:59.374Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-03T09:10:59.374Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-03T09:10:59.374Z] Configure a credential helper to remove this warning. See [2022-06-03T09:10:59.374Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-03T09:10:59.374Z] [2022-06-03T09:10:59.374Z] Login Succeeded [2022-06-03T09:10:59.374Z] nexus3.edgexfoundry.org:10002 [2022-06-03T09:10:59.636Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-03T09:10:59.636Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-03T09:10:59.636Z] Configure a credential helper to remove this warning. See [2022-06-03T09:10:59.636Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-03T09:10:59.636Z] [2022-06-03T09:10:59.636Z] Login Succeeded [2022-06-03T09:10:59.636Z] nexus3.edgexfoundry.org:10003 [2022-06-03T09:10:59.636Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-03T09:10:59.636Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-03T09:10:59.636Z] Configure a credential helper to remove this warning. See [2022-06-03T09:10:59.636Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-03T09:10:59.636Z] [2022-06-03T09:10:59.636Z] Login Succeeded [2022-06-03T09:10:59.636Z] nexus3.edgexfoundry.org:10004 [2022-06-03T09:10:59.897Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-03T09:10:59.897Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-03T09:10:59.897Z] Configure a credential helper to remove this warning. See [2022-06-03T09:10:59.897Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-03T09:10:59.897Z] [2022-06-03T09:10:59.897Z] Login Succeeded [2022-06-03T09:10:59.897Z] docker.io [2022-06-03T09:10:59.897Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-03T09:11:00.470Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-03T09:11:00.470Z] Configure a credential helper to remove this warning. See [2022-06-03T09:11:00.470Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-03T09:11:00.470Z] [2022-06-03T09:11:00.470Z] Login Succeeded [2022-06-03T09:11:00.470Z] ---> docker-login.sh ends [Pipeline] } [2022-06-03T09:11:00.478Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-06-03T09:11:00.544Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-06-03T09:11:00.552Z] ========================================================= [2022-06-03T09:11:00.552Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine] [2022-06-03T09:11:00.552Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-03T09:11:00.883Z] + 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:11:00.884Z] Sending build context to Docker daemon 23.12MB [2022-06-03T09:11:00.884Z] Step 1/12 : ARG BASE=golang:1.17-alpine3.15 [2022-06-03T09:11:00.884Z] Step 2/12 : FROM ${BASE} AS builder [2022-06-03T09:11:01.148Z] 1.17-alpine: Pulling from edgex-devops/edgex-golang-base [2022-06-03T09:11:01.148Z] 59bf1c3509f3: Pulling fs layer [2022-06-03T09:11:01.148Z] 666ba61612fd: Pulling fs layer [2022-06-03T09:11:01.148Z] 8ed8ca486205: Pulling fs layer [2022-06-03T09:11:01.148Z] 4fe6c5a15a65: Pulling fs layer [2022-06-03T09:11:01.148Z] 22a0e8bec74d: Pulling fs layer [2022-06-03T09:11:01.148Z] ca2b28591e48: Pulling fs layer [2022-06-03T09:11:01.148Z] a51346096db8: Pulling fs layer [2022-06-03T09:11:01.148Z] daebc70d1ce1: Pulling fs layer [2022-06-03T09:11:01.148Z] 0e18a0eac166: Pulling fs layer [2022-06-03T09:11:01.148Z] ca2b28591e48: Waiting [2022-06-03T09:11:01.148Z] 4fe6c5a15a65: Waiting [2022-06-03T09:11:01.148Z] a51346096db8: Waiting [2022-06-03T09:11:01.148Z] daebc70d1ce1: Waiting [2022-06-03T09:11:01.148Z] 22a0e8bec74d: Waiting [2022-06-03T09:11:01.148Z] 0e18a0eac166: Waiting [2022-06-03T09:11:01.148Z] 8ed8ca486205: Verifying Checksum [2022-06-03T09:11:01.148Z] 8ed8ca486205: Download complete [2022-06-03T09:11:01.148Z] 666ba61612fd: Download complete [2022-06-03T09:11:01.148Z] 22a0e8bec74d: Verifying Checksum [2022-06-03T09:11:01.148Z] 22a0e8bec74d: Download complete [2022-06-03T09:11:01.148Z] ca2b28591e48: Download complete [2022-06-03T09:11:01.148Z] 59bf1c3509f3: Verifying Checksum [2022-06-03T09:11:01.148Z] 59bf1c3509f3: Download complete [2022-06-03T09:11:01.148Z] a51346096db8: Verifying Checksum [2022-06-03T09:11:01.148Z] a51346096db8: Download complete [2022-06-03T09:11:01.148Z] daebc70d1ce1: Verifying Checksum [2022-06-03T09:11:01.148Z] daebc70d1ce1: Download complete [2022-06-03T09:11:01.410Z] 59bf1c3509f3: Pull complete [2022-06-03T09:11:01.410Z] 666ba61612fd: Pull complete [2022-06-03T09:11:01.675Z] 8ed8ca486205: Pull complete [2022-06-03T09:11:01.936Z] 4fe6c5a15a65: Verifying Checksum [2022-06-03T09:11:01.936Z] 4fe6c5a15a65: Download complete [2022-06-03T09:11:01.936Z] 0e18a0eac166: Verifying Checksum [2022-06-03T09:11:01.936Z] 0e18a0eac166: Download complete [2022-06-03T09:11:06.151Z] 4fe6c5a15a65: Pull complete [2022-06-03T09:11:06.151Z] 22a0e8bec74d: Pull complete [2022-06-03T09:11:06.412Z] ca2b28591e48: Pull complete [2022-06-03T09:11:06.412Z] a51346096db8: Pull complete [2022-06-03T09:11:06.412Z] daebc70d1ce1: Pull complete [2022-06-03T09:11:08.955Z] 0e18a0eac166: Pull complete [2022-06-03T09:11:08.955Z] Digest: sha256:5cf2d0a306c5171eb5b3008c4b83cc7b6044f1808c238cb17927cddb93576120 [2022-06-03T09:11:08.955Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine [2022-06-03T09:11:08.955Z] ---> f018257e8ee9 [2022-06-03T09:11:08.955Z] Step 3/12 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2022-06-03T09:11:10.888Z] ---> Running in 9200864f63a5 [2022-06-03T09:11:10.888Z] Removing intermediate container 9200864f63a5 [2022-06-03T09:11:10.888Z] ---> 9daef7d584ab [2022-06-03T09:11:10.888Z] Step 4/12 : ARG ALPINE_PKG_EXTRA="" [2022-06-03T09:11:10.888Z] ---> Running in c2fcaf66a1f4 [2022-06-03T09:11:10.888Z] Removing intermediate container c2fcaf66a1f4 [2022-06-03T09:11:10.888Z] ---> bd29f3f6f488 [2022-06-03T09:11:10.888Z] Step 5/12 : WORKDIR /device-virtual-go [2022-06-03T09:11:10.888Z] ---> Running in c959ad77b659 [2022-06-03T09:11:11.152Z] Removing intermediate container c959ad77b659 [2022-06-03T09:11:11.152Z] ---> 46541eaa8e46 [2022-06-03T09:11:11.152Z] Step 6/12 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-06-03T09:11:11.152Z] ---> Running in a48cce135516 [2022-06-03T09:11:11.736Z] Removing intermediate container a48cce135516 [2022-06-03T09:11:11.736Z] ---> ac213830f5a8 [2022-06-03T09:11:11.736Z] Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-06-03T09:11:11.736Z] ---> Running in 95779e06cc67 [2022-06-03T09:11:12.009Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz [2022-06-03T09:11:12.958Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz [2022-06-03T09:11:13.219Z] (1/4) Installing openssh-keygen (8.8_p1-r1) [2022-06-03T09:11:13.219Z] (2/4) Installing libedit (20210910.3.1-r0) [2022-06-03T09:11:13.480Z] (3/4) Installing openssh-client-common (8.8_p1-r1) [2022-06-03T09:11:13.480Z] (4/4) Installing openssh-client-default (8.8_p1-r1) [2022-06-03T09:11:13.480Z] Executing busybox-1.34.1-r3.trigger [2022-06-03T09:11:13.480Z] OK: 224 MiB in 56 packages [2022-06-03T09:11:14.034Z] Still waiting to schedule task [2022-06-03T09:11:14.034Z] ‘prd-ubuntu20.04-docker-arm64-4c-16g-909’ is offline [2022-06-03T09:11:14.051Z] Removing intermediate container 95779e06cc67 [2022-06-03T09:11:14.052Z] ---> 872a7aef4157 [2022-06-03T09:11:14.052Z] Step 8/12 : COPY go.mod vendor* ./ [2022-06-03T09:11:14.312Z] ---> 286fc1667c24 [2022-06-03T09:11:14.312Z] Step 9/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-06-03T09:11:14.312Z] ---> Running in 67fbb812a457 [2022-06-03T09:11:32.446Z] Removing intermediate container 67fbb812a457 [2022-06-03T09:11:32.446Z] ---> 4f7e646bc35e [2022-06-03T09:11:32.446Z] Step 10/12 : COPY . . [2022-06-03T09:11:32.446Z] ---> 21acd255f1dd [2022-06-03T09:11:32.446Z] Step 11/12 : ARG MAKE='make build' [2022-06-03T09:11:32.446Z] ---> Running in 36ec09458fe5 [2022-06-03T09:11:32.446Z] Removing intermediate container 36ec09458fe5 [2022-06-03T09:11:32.446Z] ---> b4215392b286 [2022-06-03T09:11:32.446Z] Step 12/12 : RUN $MAKE [2022-06-03T09:11:32.446Z] ---> Running in 6ead8828f04f [2022-06-03T09:11:32.446Z] noop [2022-06-03T09:11:32.446Z] Removing intermediate container 6ead8828f04f [2022-06-03T09:11:32.446Z] ---> f2a1d5a3c0fc [2022-06-03T09:11:32.446Z] Successfully built f2a1d5a3c0fc [2022-06-03T09:11:32.446Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-03T09:11:32.762Z] + docker inspect -f . ci-base-image-x86_64 [2022-06-03T09:11:32.762Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-06-03T09:11:32.852Z] prd-ubuntu20.04-docker-8c-8g-911 does not seem to be running inside a container [2022-06-03T09:11:32.901Z] $ 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 ******** ci-base-image-x86_64 cat [2022-06-03T09:11:33.382Z] $ docker top dba7dd7ce133f28133aa5f51de553a428765c759d27f1ea474f88f57386813ad -eo pid,comm [Pipeline] { [Pipeline] sh [2022-06-03T09:11:33.751Z] + go version [2022-06-03T09:11:33.751Z] go version go1.17.6 linux/amd64 [Pipeline] } [2022-06-03T09:11:33.770Z] $ docker stop --time=1 dba7dd7ce133f28133aa5f51de553a428765c759d27f1ea474f88f57386813ad [2022-06-03T09:11:35.095Z] $ docker rm -f dba7dd7ce133f28133aa5f51de553a428765c759d27f1ea474f88f57386813ad [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:11:35.537Z] + docker inspect -f . ci-base-image-x86_64 [2022-06-03T09:11:35.537Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-06-03T09:11:35.647Z] prd-ubuntu20.04-docker-8c-8g-911 does not seem to be running inside a container [2022-06-03T09:11:35.703Z] $ 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 ******** ci-base-image-x86_64 cat [2022-06-03T09:11:36.135Z] $ docker top eb6294326001a6b0fed145b1adfd3aed982459310bc68d09f533d70df982014b -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh [2022-06-03T09:11:36.562Z] + make test [2022-06-03T09:11:36.562Z] CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out [2022-06-03T09:11:36.822Z] ? github.com/edgexfoundry/device-virtual-go [no test files] [2022-06-03T09:11:46.818Z] ? github.com/edgexfoundry/device-virtual-go/cmd [no test files] [2022-06-03T09:11:46.818Z] ok github.com/edgexfoundry/device-virtual-go/internal/driver 0.042s coverage: 65.7% of statements [2022-06-03T09:11:54.953Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2022-06-03T09:11:59.158Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-06-03T09:11:59.158Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2022-06-03T09:11:59.158Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2022-06-03T09:11:59.172Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2022-06-03T09:11:59.191Z] $ docker stop --time=1 eb6294326001a6b0fed145b1adfd3aed982459310bc68d09f533d70df982014b [2022-06-03T09:12:01.292Z] $ docker rm -f eb6294326001a6b0fed145b1adfd3aed982459310bc68d09f533d70df982014b [Pipeline] // withDockerContainer [Pipeline] sh [2022-06-03T09:12:01.753Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2022-06-03T09:12:01.806Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2022-06-03T09:12:02.233Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2022-06-03T09:12:02.524Z] + ls -al . [2022-06-03T09:12:02.525Z] total 192 [2022-06-03T09:12:02.525Z] drwxrwxr-x 9 jenkins jenkins 4096 Jun 3 09:11 . [2022-06-03T09:12:02.525Z] drwxrwxr-x 4 jenkins jenkins 4096 Jun 3 09:10 .. [2022-06-03T09:12:02.525Z] drwxrwxr-x 8 jenkins jenkins 4096 Jun 3 09:10 .git [2022-06-03T09:12:02.525Z] drwxrwxr-x 3 jenkins jenkins 4096 Jun 3 09:10 .github [2022-06-03T09:12:02.525Z] -rw-rw-r-- 1 jenkins jenkins 337 Jun 3 09:10 .gitignore [2022-06-03T09:12:02.525Z] -rw-rw-r-- 1 jenkins jenkins 41 Jun 3 09:10 .golangci.yml [2022-06-03T09:12:02.525Z] drwxr-xr-x 3 jenkins jenkins 4096 Jun 3 09:10 .semver [2022-06-03T09:12:02.525Z] -rw-rw-r-- 1 jenkins jenkins 8026 Jun 3 09:10 Attribution.txt [2022-06-03T09:12:02.525Z] -rw-rw-r-- 1 jenkins jenkins 9649 Jun 3 09:10 CHANGELOG.md [2022-06-03T09:12:02.525Z] -rw-rw-r-- 1 jenkins jenkins 1974 Jun 3 09:10 Dockerfile [2022-06-03T09:12:02.525Z] -rw-rw-r-- 1 jenkins jenkins 677 Jun 3 09:10 GOVERNANCE.md [2022-06-03T09:12:02.525Z] -rw-rw-r-- 1 jenkins jenkins 660 Jun 3 09:10 Jenkinsfile [2022-06-03T09:12:02.525Z] -rw-rw-r-- 1 jenkins jenkins 11340 Jun 3 09:10 LICENSE [2022-06-03T09:12:02.525Z] -rw-rw-r-- 1 jenkins jenkins 2248 Jun 3 09:10 Makefile [2022-06-03T09:12:02.525Z] -rw-rw-r-- 1 jenkins jenkins 623 Jun 3 09:10 OWNERS.md [2022-06-03T09:12:02.525Z] -rw-rw-r-- 1 jenkins jenkins 2914 Jun 3 09:10 README.md [2022-06-03T09:12:02.525Z] -rw-rw-r-- 1 jenkins jenkins 5 Jun 3 09:10 VERSION [2022-06-03T09:12:02.525Z] drwxrwxr-x 2 jenkins jenkins 4096 Jun 3 09:10 bin [2022-06-03T09:12:02.525Z] drwxrwxr-x 3 jenkins jenkins 4096 Jun 3 09:10 cmd [2022-06-03T09:12:02.525Z] -rw-r--r-- 1 jenkins jenkins 44128 Jun 3 09:11 coverage.out [2022-06-03T09:12:02.525Z] -rw-rw-r-- 1 jenkins jenkins 3139 Jun 3 09:10 go.mod [2022-06-03T09:12:02.525Z] -rw-rw-r-- 1 jenkins jenkins 35006 Jun 3 09:10 go.sum [2022-06-03T09:12:02.525Z] drwxrwxr-x 3 jenkins jenkins 4096 Jun 3 09:10 internal [2022-06-03T09:12:02.525Z] drwxrwxr-x 3 jenkins jenkins 4096 Jun 3 09:10 snap [2022-06-03T09:12:02.525Z] -rw-rw-r-- 1 jenkins jenkins 235 Jun 3 09:10 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-03T09:12:02.877Z] + 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=253bc954d7726a3ef5e384993d6e5cd9a4957198 --label arch=amd64 --label version=0.0.0 . [2022-06-03T09:12:02.877Z] Sending build context to Docker daemon 23.17MB [2022-06-03T09:12:02.877Z] Step 1/26 : ARG BASE=golang:1.17-alpine3.15 [2022-06-03T09:12:02.877Z] Step 2/26 : FROM ${BASE} AS builder [2022-06-03T09:12:02.877Z] ---> f2a1d5a3c0fc [2022-06-03T09:12:02.877Z] Step 3/26 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2022-06-03T09:12:03.140Z] ---> Running in 605d2a9bf70c [2022-06-03T09:12:03.140Z] Removing intermediate container 605d2a9bf70c [2022-06-03T09:12:03.140Z] ---> 4b434e71041f [2022-06-03T09:12:03.140Z] Step 4/26 : ARG ALPINE_PKG_EXTRA="" [2022-06-03T09:12:03.140Z] ---> Running in 3961933b53f0 [2022-06-03T09:12:03.417Z] Removing intermediate container 3961933b53f0 [2022-06-03T09:12:03.417Z] ---> cbd1c1330b9f [2022-06-03T09:12:03.417Z] Step 5/26 : WORKDIR /device-virtual-go [2022-06-03T09:12:03.417Z] ---> Running in cec0327b2f20 [2022-06-03T09:12:03.417Z] Removing intermediate container cec0327b2f20 [2022-06-03T09:12:03.417Z] ---> 62fbd19dfe96 [2022-06-03T09:12:03.417Z] Step 6/26 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-06-03T09:12:03.680Z] ---> Running in 20a8f702e3c3 [2022-06-03T09:12:04.252Z] Removing intermediate container 20a8f702e3c3 [2022-06-03T09:12:04.252Z] ---> 8cf09b7b169e [2022-06-03T09:12:04.252Z] Step 7/26 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-06-03T09:12:04.252Z] ---> Running in 4ff665205bcb [2022-06-03T09:12:04.516Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz [2022-06-03T09:12:05.468Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz [2022-06-03T09:12:05.731Z] OK: 224 MiB in 56 packages [2022-06-03T09:12:05.992Z] Removing intermediate container 4ff665205bcb [2022-06-03T09:12:05.992Z] ---> ca55b88770aa [2022-06-03T09:12:05.992Z] Step 8/26 : COPY go.mod vendor* ./ [2022-06-03T09:12:06.253Z] ---> 5ea721e827ed [2022-06-03T09:12:06.253Z] Step 9/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-06-03T09:12:06.253Z] ---> Running in c577fc6e92a0 [2022-06-03T09:12:07.195Z] Removing intermediate container c577fc6e92a0 [2022-06-03T09:12:07.195Z] ---> 23cb374010b0 [2022-06-03T09:12:07.195Z] Step 10/26 : COPY . . [2022-06-03T09:12:07.464Z] ---> 27fb45f277b7 [2022-06-03T09:12:07.464Z] Step 11/26 : ARG MAKE='make build' [2022-06-03T09:12:07.725Z] ---> Running in 61cfba159ee2 [2022-06-03T09:12:07.725Z] Removing intermediate container 61cfba159ee2 [2022-06-03T09:12:07.725Z] ---> ff2db5fe4f02 [2022-06-03T09:12:07.725Z] Step 12/26 : RUN $MAKE [2022-06-03T09:12:07.725Z] ---> Running in 99bc1c29143e [2022-06-03T09:12:07.984Z] 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:12:29.949Z] Removing intermediate container 99bc1c29143e [2022-06-03T09:12:29.949Z] ---> 0f4c9f2a382f [2022-06-03T09:12:29.949Z] Step 13/26 : FROM alpine:3.14 [2022-06-03T09:12:30.522Z] 3.14: Pulling from library/alpine [2022-06-03T09:12:30.522Z] 8663204ce13b: Pulling fs layer [2022-06-03T09:12:30.813Z] 8663204ce13b: Verifying Checksum [2022-06-03T09:12:30.813Z] 8663204ce13b: Download complete [2022-06-03T09:12:30.813Z] 8663204ce13b: Pull complete [2022-06-03T09:12:30.813Z] Digest: sha256:06b5d462c92fc39303e6363c65e074559f8d6b1363250027ed5053557e3398c5 [2022-06-03T09:12:30.813Z] Status: Downloaded newer image for alpine:3.14 [2022-06-03T09:12:30.813Z] ---> e04c818066af [2022-06-03T09:12:30.813Z] Step 14/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2021: IOTech' [2022-06-03T09:12:31.074Z] ---> Running in 0445c6e60be6 [2022-06-03T09:12:31.074Z] Removing intermediate container 0445c6e60be6 [2022-06-03T09:12:31.074Z] ---> b79fa94104bb [2022-06-03T09:12:31.074Z] Step 15/26 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-06-03T09:12:31.074Z] ---> Running in 006dd9a631b1 [2022-06-03T09:12:32.017Z] Removing intermediate container 006dd9a631b1 [2022-06-03T09:12:32.017Z] ---> b8f91bc54595 [2022-06-03T09:12:32.017Z] Step 16/26 : RUN apk add --update --no-cache zeromq dumb-init [2022-06-03T09:12:32.017Z] ---> Running in f1bcd80074f8 [2022-06-03T09:12:32.277Z] fetch https://nl.alpinelinux.org/alpine/v3.14/main/x86_64/APKINDEX.tar.gz [2022-06-03T09:12:32.848Z] fetch https://nl.alpinelinux.org/alpine/v3.14/community/x86_64/APKINDEX.tar.gz [2022-06-03T09:12:33.419Z] (1/6) Installing dumb-init (1.2.5-r1) [2022-06-03T09:12:33.419Z] (2/6) Installing libgcc (10.3.1_git20210424-r2) [2022-06-03T09:12:33.419Z] (3/6) Installing libsodium (1.0.18-r0) [2022-06-03T09:12:33.419Z] (4/6) Installing libstdc++ (10.3.1_git20210424-r2) [2022-06-03T09:12:33.679Z] (5/6) Installing libzmq (4.3.4-r0) [2022-06-03T09:12:33.679Z] (6/6) Installing zeromq (4.3.4-r0) [2022-06-03T09:12:33.941Z] Executing busybox-1.33.1-r7.trigger [2022-06-03T09:12:33.941Z] OK: 8 MiB in 20 packages [2022-06-03T09:12:34.202Z] Removing intermediate container f1bcd80074f8 [2022-06-03T09:12:34.202Z] ---> 506246ebb662 [2022-06-03T09:12:34.202Z] Step 17/26 : WORKDIR / [2022-06-03T09:12:34.202Z] ---> Running in 058cea2f0efb [2022-06-03T09:12:34.463Z] Removing intermediate container 058cea2f0efb [2022-06-03T09:12:34.463Z] ---> bb1d994aacd3 [2022-06-03T09:12:34.463Z] Step 18/26 : COPY --from=builder /device-virtual-go/Attribution.txt / [2022-06-03T09:12:34.463Z] ---> cad4e04dea51 [2022-06-03T09:12:34.463Z] Step 19/26 : COPY --from=builder /device-virtual-go/LICENSE / [2022-06-03T09:12:34.722Z] ---> 2add17b28ba8 [2022-06-03T09:12:34.722Z] Step 20/26 : COPY --from=builder /device-virtual-go/cmd / [2022-06-03T09:12:35.662Z] ---> 5503b73aa2eb [2022-06-03T09:12:35.662Z] Step 21/26 : EXPOSE 59900 [2022-06-03T09:12:35.662Z] ---> Running in 68d56638287b [2022-06-03T09:12:35.662Z] Removing intermediate container 68d56638287b [2022-06-03T09:12:35.662Z] ---> ed69584a43dc [2022-06-03T09:12:35.662Z] Step 22/26 : ENTRYPOINT ["/device-virtual"] [2022-06-03T09:12:35.662Z] ---> Running in a7a617962e61 [2022-06-03T09:12:35.662Z] Removing intermediate container a7a617962e61 [2022-06-03T09:12:35.662Z] ---> 85dad37121ca [2022-06-03T09:12:35.662Z] Step 23/26 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2022-06-03T09:12:35.662Z] ---> Running in 9a9c4764912b [2022-06-03T09:12:35.921Z] Removing intermediate container 9a9c4764912b [2022-06-03T09:12:35.921Z] ---> 0c5fa1e8f9d0 [2022-06-03T09:12:35.921Z] Step 24/26 : LABEL arch=amd64 [2022-06-03T09:12:35.921Z] ---> Running in 0bc037fd869c [2022-06-03T09:12:35.921Z] Removing intermediate container 0bc037fd869c [2022-06-03T09:12:35.921Z] ---> d93991205188 [2022-06-03T09:12:35.921Z] Step 25/26 : LABEL git_sha=253bc954d7726a3ef5e384993d6e5cd9a4957198 [2022-06-03T09:12:35.921Z] ---> Running in 3d78854aabbb [2022-06-03T09:12:36.182Z] Removing intermediate container 3d78854aabbb [2022-06-03T09:12:36.182Z] ---> 72d4a45f493a [2022-06-03T09:12:36.182Z] Step 26/26 : LABEL version=0.0.0 [2022-06-03T09:12:36.182Z] ---> Running in 54666420ba1a [2022-06-03T09:12:36.182Z] Removing intermediate container 54666420ba1a [2022-06-03T09:12:36.182Z] ---> 4318dced796c [2022-06-03T09:12:36.182Z] [Warning] One or more build-args [ARCH] were not consumed [2022-06-03T09:12:36.442Z] Successfully built 4318dced796c [2022-06-03T09:12:36.442Z] 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:12:36.882Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-06-03T09:12:36.882Z] [2022-06-03T09:12:36.882Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-03T09:12:37.197Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-06-03T09:12:37.197Z] latest: Pulling from edgex-lftools-log-publisher [2022-06-03T09:12:37.197Z] 5eb5b503b376: Pulling fs layer [2022-06-03T09:12:37.197Z] 5c69ac0246d0: Pulling fs layer [2022-06-03T09:12:37.197Z] ec43610c2a17: Pulling fs layer [2022-06-03T09:12:37.197Z] 3a2ae6a8a46f: Pulling fs layer [2022-06-03T09:12:37.197Z] 33b1e0a273af: Pulling fs layer [2022-06-03T09:12:37.197Z] 5d3b04190fa2: Pulling fs layer [2022-06-03T09:12:37.197Z] 2f39f015ded8: Pulling fs layer [2022-06-03T09:12:37.197Z] 3a2ae6a8a46f: Waiting [2022-06-03T09:12:37.197Z] 33b1e0a273af: Waiting [2022-06-03T09:12:37.197Z] 5d3b04190fa2: Waiting [2022-06-03T09:12:37.197Z] 5c69ac0246d0: Verifying Checksum [2022-06-03T09:12:37.197Z] 5c69ac0246d0: Download complete [2022-06-03T09:12:37.197Z] 3a2ae6a8a46f: Verifying Checksum [2022-06-03T09:12:37.197Z] 3a2ae6a8a46f: Download complete [2022-06-03T09:12:37.197Z] 33b1e0a273af: Verifying Checksum [2022-06-03T09:12:37.197Z] 33b1e0a273af: Download complete [2022-06-03T09:12:37.197Z] ec43610c2a17: Verifying Checksum [2022-06-03T09:12:37.197Z] ec43610c2a17: Download complete [2022-06-03T09:12:37.197Z] 5d3b04190fa2: Verifying Checksum [2022-06-03T09:12:37.197Z] 5d3b04190fa2: Download complete [2022-06-03T09:12:37.460Z] 5eb5b503b376: Download complete [2022-06-03T09:12:38.030Z] 2f39f015ded8: Download complete [2022-06-03T09:12:38.973Z] 5eb5b503b376: Pull complete [2022-06-03T09:12:38.973Z] 5c69ac0246d0: Pull complete [2022-06-03T09:12:39.542Z] ec43610c2a17: Pull complete [2022-06-03T09:12:39.542Z] 3a2ae6a8a46f: Pull complete [2022-06-03T09:12:39.802Z] 33b1e0a273af: Pull complete [2022-06-03T09:12:39.802Z] 5d3b04190fa2: Pull complete [2022-06-03T09:12:45.082Z] 2f39f015ded8: Pull complete [2022-06-03T09:12:45.082Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2022-06-03T09:12:45.082Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-06-03T09:12:45.082Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-06-03T09:12:45.176Z] prd-ubuntu20.04-docker-8c-8g-911 does not seem to be running inside a container [2022-06-03T09:12:45.214Z] $ 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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2022-06-03T09:12:47.380Z] $ docker top dade1ce4b3d747373a1bb0f733a67d4552a47966f784af12108ceba7c35bc148 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-06-03T09:12:47.772Z] ---> job-cost.sh [2022-06-03T09:12:47.772Z] lf-activate-venv: SKIPPING [2022-06-03T09:12:47.772Z] INFO: No Stack... [2022-06-03T09:12:48.037Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2022-06-03T09:12:48.143Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-912 in /w/workspace/foundry_device-virtual-go_PR-287 [Pipeline] { [Pipeline] ws [2022-06-03T09:12:48.157Z] Running in /w/workspace/device-virtual-go/8 [Pipeline] { [Pipeline] checkout [2022-06-03T09:12:48.220Z] The recommended git tool is: git [2022-06-03T09:12:48.608Z] INFO: Archiving Costs [Pipeline] sh [2022-06-03T09:12:48.905Z] + cat /w/workspace/foundry_device-virtual-go_PR-287/archives/cost.csv [2022-06-03T09:12:48.905Z] + cut -d, -f6 [Pipeline] lock [2022-06-03T09:12:48.919Z] Trying to acquire lock on [jenkins-edgexfoundry-device-virtual-go-PR-287-8-stack-cost] [2022-06-03T09:12:48.925Z] Resource [jenkins-edgexfoundry-device-virtual-go-PR-287-8-stack-cost] did not exist. Created. [2022-06-03T09:12:48.925Z] Lock acquired on [jenkins-edgexfoundry-device-virtual-go-PR-287-8-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-06-03T09:12:49.234Z] + echo total: 0.2199999988079071 [Pipeline] stash [2022-06-03T09:12:49.259Z] Stashed 1 file(s) [Pipeline] } [2022-06-03T09:12:49.264Z] Lock released on resource [jenkins-edgexfoundry-device-virtual-go-PR-287-8-stack-cost] [Pipeline] // lock [Pipeline] } [2022-06-03T09:12:49.285Z] $ docker stop --time=1 dade1ce4b3d747373a1bb0f733a67d4552a47966f784af12108ceba7c35bc148 [2022-06-03T09:12:50.467Z] $ docker rm -f dade1ce4b3d747373a1bb0f733a67d4552a47966f784af12108ceba7c35bc148 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2022-06-03T09:12:54.560Z] using credential edgex-jenkins-ssh [2022-06-03T09:12:54.575Z] Cloning the remote Git repository [2022-06-03T09:12:54.639Z] Cloning repository git@github.com:edgexfoundry/device-virtual-go.git [2022-06-03T09:12:54.783Z] > git init /w/workspace/device-virtual-go/8 # timeout=10 [2022-06-03T09:12:54.876Z] Fetching upstream changes from git@github.com:edgexfoundry/device-virtual-go.git [2022-06-03T09:12:54.877Z] > git --version # timeout=10 [2022-06-03T09:12:54.924Z] > git --version # 'git version 2.25.1' [2022-06-03T09:12:54.926Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-06-03T09:12:55.066Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-virtual-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-06-03T09:12:56.989Z] > git config remote.origin.url git@github.com:edgexfoundry/device-virtual-go.git # timeout=10 [2022-06-03T09:12:57.008Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-06-03T09:12:57.592Z] Merging remotes/origin/main commit 9cab87334a4d5affcc1b2c5c12d642008ef46c2d into PR head commit 253bc954d7726a3ef5e384993d6e5cd9a4957198 [2022-06-03T09:12:57.797Z] Merge succeeded, producing 253bc954d7726a3ef5e384993d6e5cd9a4957198 [2022-06-03T09:12:57.797Z] Checking out Revision 253bc954d7726a3ef5e384993d6e5cd9a4957198 (PR-287) [2022-06-03T09:12:57.035Z] > git config remote.origin.url git@github.com:edgexfoundry/device-virtual-go.git # timeout=10 [2022-06-03T09:12:57.065Z] Fetching upstream changes from git@github.com:edgexfoundry/device-virtual-go.git [2022-06-03T09:12:57.066Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-06-03T09:12:57.080Z] > 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:12:57.613Z] > git config core.sparsecheckout # timeout=10 [2022-06-03T09:12:57.628Z] > git checkout -f 253bc954d7726a3ef5e384993d6e5cd9a4957198 # timeout=10 [2022-06-03T09:12:57.707Z] > git remote # timeout=10 [2022-06-03T09:12:57.728Z] > git config --get remote.origin.url # timeout=10 [2022-06-03T09:12:57.744Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-06-03T09:12:57.763Z] > git merge 9cab87334a4d5affcc1b2c5c12d642008ef46c2d # timeout=10 [2022-06-03T09:12:57.787Z] > git rev-parse HEAD^{commit} # timeout=10 [2022-06-03T09:12:57.808Z] > git config core.sparsecheckout # timeout=10 [2022-06-03T09:12:57.819Z] > git checkout -f 253bc954d7726a3ef5e384993d6e5cd9a4957198 # timeout=10 [2022-06-03T09:13:01.893Z] Commit message: "build(snap): Update CI workflow with canonical repo" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-06-03T09:13:03.137Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2022-06-03T09:13:03.137Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-06-03T09:13:03.137Z] Dload Upload Total Spent Left Speed [2022-06-03T09:13:03.137Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12253 100 12253 0 0 85685 0 --:--:-- --:--:-- --:--:-- 85685 [Pipeline] sh [2022-06-03T09:13:03.866Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2022-06-03T09:13:04.208Z] + + sudosudo jq tee . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.new /etc/docker/daemon.json [2022-06-03T09:13:04.208Z] [2022-06-03T09:13:04.208Z] { [2022-06-03T09:13:04.208Z] "registry-mirrors": [ [2022-06-03T09:13:04.208Z] "https://nexus3.edgexfoundry.org:10001" [2022-06-03T09:13:04.208Z] ], [2022-06-03T09:13:04.208Z] "bip": "10.250.0.254/24", [2022-06-03T09:13:04.208Z] "hosts": [ [2022-06-03T09:13:04.208Z] "tcp://0.0.0.0:5555", [2022-06-03T09:13:04.208Z] "unix:///var/run/docker.sock" [2022-06-03T09:13:04.208Z] ], [2022-06-03T09:13:04.208Z] "mtu": 1458, [2022-06-03T09:13:04.208Z] "selinux-enabled": true, [2022-06-03T09:13:04.208Z] "seccomp-profile": "/etc/docker/seccomp.json" [2022-06-03T09:13:04.208Z] } [Pipeline] sh [2022-06-03T09:13:04.551Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2022-06-03T09:13:04.888Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-06-03T09:13:23.218Z] provisioning config files... [2022-06-03T09:13:23.243Z] copy managed file [device-virtual-go-settings] to file:/w/workspace/device-virtual-go/8@tmp/config2648405086688371129tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-06-03T09:13:23.602Z] ---> docker-login.sh [2022-06-03T09:13:23.602Z] nexus3.edgexfoundry.org:10001 [2022-06-03T09:13:24.208Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-03T09:13:24.481Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-03T09:13:24.481Z] Configure a credential helper to remove this warning. See [2022-06-03T09:13:24.481Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-03T09:13:24.481Z] [2022-06-03T09:13:24.481Z] Login Succeeded [2022-06-03T09:13:24.481Z] nexus3.edgexfoundry.org:10002 [2022-06-03T09:13:24.754Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-03T09:13:24.754Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-03T09:13:24.754Z] Configure a credential helper to remove this warning. See [2022-06-03T09:13:24.754Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-03T09:13:24.754Z] [2022-06-03T09:13:24.754Z] Login Succeeded [2022-06-03T09:13:25.032Z] nexus3.edgexfoundry.org:10003 [2022-06-03T09:13:25.307Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-03T09:13:25.307Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-03T09:13:25.307Z] Configure a credential helper to remove this warning. See [2022-06-03T09:13:25.307Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-03T09:13:25.307Z] [2022-06-03T09:13:25.307Z] Login Succeeded [2022-06-03T09:13:25.307Z] nexus3.edgexfoundry.org:10004 [2022-06-03T09:13:25.582Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-03T09:13:25.858Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-03T09:13:25.858Z] Configure a credential helper to remove this warning. See [2022-06-03T09:13:25.858Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-03T09:13:25.858Z] [2022-06-03T09:13:25.858Z] Login Succeeded [2022-06-03T09:13:25.858Z] docker.io [2022-06-03T09:13:26.131Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-03T09:13:26.403Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-03T09:13:26.403Z] Configure a credential helper to remove this warning. See [2022-06-03T09:13:26.403Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-03T09:13:26.403Z] [2022-06-03T09:13:26.403Z] Login Succeeded [2022-06-03T09:13:26.403Z] ---> docker-login.sh ends [Pipeline] } [2022-06-03T09:13:26.421Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-06-03T09:13:26.891Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-06-03T09:13:26.904Z] ========================================================= [2022-06-03T09:13:26.904Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine] [2022-06-03T09:13:26.904Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-03T09:13:27.278Z] + 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:13:27.882Z] Sending build context to Docker daemon 11.74MB [2022-06-03T09:13:27.882Z] Step 1/12 : ARG BASE=golang:1.17-alpine3.15 [2022-06-03T09:13:27.882Z] Step 2/12 : FROM ${BASE} AS builder [2022-06-03T09:13:27.882Z] 1.17-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2022-06-03T09:13:27.882Z] 9b3977197b4f: Pulling fs layer [2022-06-03T09:13:27.882Z] 1a89e8eeedd5: Pulling fs layer [2022-06-03T09:13:27.882Z] 94645a83ff95: Pulling fs layer [2022-06-03T09:13:27.882Z] 3f3a8bcf1eab: Pulling fs layer [2022-06-03T09:13:27.882Z] 0c92f367c5e7: Pulling fs layer [2022-06-03T09:13:27.882Z] 3096ccb668a1: Pulling fs layer [2022-06-03T09:13:27.882Z] e8cf19c19ddd: Pulling fs layer [2022-06-03T09:13:27.882Z] a4caa8a26152: Pulling fs layer [2022-06-03T09:13:27.882Z] 3096ccb668a1: Waiting [2022-06-03T09:13:27.882Z] e8cf19c19ddd: Waiting [2022-06-03T09:13:27.882Z] a4caa8a26152: Waiting [2022-06-03T09:13:27.882Z] 3f3a8bcf1eab: Waiting [2022-06-03T09:13:27.882Z] 0c92f367c5e7: Waiting [2022-06-03T09:13:27.882Z] 94645a83ff95: Verifying Checksum [2022-06-03T09:13:27.882Z] 94645a83ff95: Download complete [2022-06-03T09:13:27.882Z] 1a89e8eeedd5: Verifying Checksum [2022-06-03T09:13:27.882Z] 1a89e8eeedd5: Download complete [2022-06-03T09:13:27.882Z] 0c92f367c5e7: Verifying Checksum [2022-06-03T09:13:27.882Z] 0c92f367c5e7: Download complete [2022-06-03T09:13:27.882Z] 3096ccb668a1: Verifying Checksum [2022-06-03T09:13:27.882Z] 3096ccb668a1: Download complete [2022-06-03T09:13:28.162Z] 9b3977197b4f: Download complete [2022-06-03T09:13:28.162Z] e8cf19c19ddd: Verifying Checksum [2022-06-03T09:13:28.162Z] e8cf19c19ddd: Download complete [2022-06-03T09:13:28.779Z] 9b3977197b4f: Pull complete [2022-06-03T09:13:29.388Z] 1a89e8eeedd5: Pull complete [2022-06-03T09:13:29.671Z] 94645a83ff95: Pull complete [2022-06-03T09:13:29.946Z] a4caa8a26152: Download complete [2022-06-03T09:13:30.543Z] 3f3a8bcf1eab: Verifying Checksum [2022-06-03T09:13:30.543Z] 3f3a8bcf1eab: Download complete [2022-06-03T09:13:42.952Z] 3f3a8bcf1eab: Pull complete [2022-06-03T09:13:42.952Z] 0c92f367c5e7: Pull complete [2022-06-03T09:13:43.227Z] 3096ccb668a1: Pull complete [2022-06-03T09:13:43.501Z] e8cf19c19ddd: Pull complete [2022-06-03T09:13:50.250Z] a4caa8a26152: Pull complete [2022-06-03T09:13:50.250Z] Digest: sha256:b3ad895ecde34a7521bb8912598475bc58d052e1c2c58d00df7f0fe54a102a46 [2022-06-03T09:13:50.250Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine [2022-06-03T09:13:50.250Z] ---> 725f1c02e7f9 [2022-06-03T09:13:50.250Z] Step 3/12 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2022-06-03T09:13:50.250Z] ---> Running in 044b57059db6 [2022-06-03T09:13:50.527Z] Removing intermediate container 044b57059db6 [2022-06-03T09:13:50.527Z] ---> 72ca7bfefce0 [2022-06-03T09:13:50.527Z] Step 4/12 : ARG ALPINE_PKG_EXTRA="" [2022-06-03T09:13:50.527Z] ---> Running in 83aef9c99951 [2022-06-03T09:13:50.802Z] Removing intermediate container 83aef9c99951 [2022-06-03T09:13:50.802Z] ---> 43c53aaaca2c [2022-06-03T09:13:50.802Z] Step 5/12 : WORKDIR /device-virtual-go [2022-06-03T09:13:50.802Z] ---> Running in f1b105941075 [2022-06-03T09:13:51.077Z] Removing intermediate container f1b105941075 [2022-06-03T09:13:51.077Z] ---> 8394af1049f0 [2022-06-03T09:13:51.077Z] Step 6/12 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-06-03T09:13:51.359Z] ---> Running in 7dba86f6bda8 [2022-06-03T09:13:53.332Z] Removing intermediate container 7dba86f6bda8 [2022-06-03T09:13:53.332Z] ---> 77a31c4e495f [2022-06-03T09:13:53.332Z] Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-06-03T09:13:53.332Z] ---> Running in 500375045bbc [2022-06-03T09:13:54.309Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz [2022-06-03T09:13:54.904Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz [2022-06-03T09:13:55.882Z] (1/4) Installing openssh-keygen (8.8_p1-r1) [2022-06-03T09:13:55.882Z] (2/4) Installing libedit (20210910.3.1-r0) [2022-06-03T09:13:56.154Z] (3/4) Installing openssh-client-common (8.8_p1-r1) [2022-06-03T09:13:56.154Z] (4/4) Installing openssh-client-default (8.8_p1-r1) [2022-06-03T09:13:56.430Z] Executing busybox-1.34.1-r3.trigger [2022-06-03T09:13:56.430Z] OK: 224 MiB in 56 packages [2022-06-03T09:13:58.428Z] Removing intermediate container 500375045bbc [2022-06-03T09:13:58.428Z] ---> 3b0256126757 [2022-06-03T09:13:58.428Z] Step 8/12 : COPY go.mod vendor* ./ [2022-06-03T09:13:58.707Z] ---> b9b1a6438cac [2022-06-03T09:13:58.707Z] Step 9/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-06-03T09:13:58.707Z] ---> Running in 1cded815afc2 [2022-06-03T09:14:45.715Z] Removing intermediate container 1cded815afc2 [2022-06-03T09:14:45.715Z] ---> 1dd1ba369d3a [2022-06-03T09:14:45.715Z] Step 10/12 : COPY . . [2022-06-03T09:14:45.715Z] ---> 1226f9e8e98d [2022-06-03T09:14:45.715Z] Step 11/12 : ARG MAKE='make build' [2022-06-03T09:14:45.715Z] ---> Running in 04d7103492f0 [2022-06-03T09:14:45.715Z] Removing intermediate container 04d7103492f0 [2022-06-03T09:14:45.715Z] ---> e5ee06e91ec5 [2022-06-03T09:14:45.715Z] Step 12/12 : RUN $MAKE [2022-06-03T09:14:45.715Z] ---> Running in cd81bee343fe [2022-06-03T09:14:45.715Z] noop [2022-06-03T09:14:45.715Z] Removing intermediate container cd81bee343fe [2022-06-03T09:14:45.715Z] ---> 769a9816d6ac [2022-06-03T09:14:45.715Z] Successfully built 769a9816d6ac [2022-06-03T09:14:45.715Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-03T09:14:46.084Z] + docker inspect -f . ci-base-image-arm64 [2022-06-03T09:14:46.084Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-06-03T09:14:46.343Z] prd-ubuntu20.04-docker-arm64-4c-16g-912 does not seem to be running inside a container [2022-06-03T09:14:46.429Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-virtual-go/8 -v /w/workspace/device-virtual-go/8:/w/workspace/device-virtual-go/8:rw,z -v /w/workspace/device-virtual-go/8@tmp:/w/workspace/device-virtual-go/8@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:14:47.760Z] $ docker top 0cf7dc54b6b296503f0c754f70f7107302b7f4c77071a3c8c180083a78e349b1 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-06-03T09:14:48.676Z] + go version [2022-06-03T09:14:48.676Z] go version go1.17.6 linux/arm64 [Pipeline] } [2022-06-03T09:14:48.705Z] $ docker stop --time=1 0cf7dc54b6b296503f0c754f70f7107302b7f4c77071a3c8c180083a78e349b1 [2022-06-03T09:14:50.364Z] $ docker rm -f 0cf7dc54b6b296503f0c754f70f7107302b7f4c77071a3c8c180083a78e349b1 [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:14:50.975Z] + docker inspect -f . ci-base-image-arm64 [2022-06-03T09:14:50.975Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-06-03T09:14:51.231Z] prd-ubuntu20.04-docker-arm64-4c-16g-912 does not seem to be running inside a container [2022-06-03T09:14:51.315Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-virtual-go/8 -v /w/workspace/device-virtual-go/8:/w/workspace/device-virtual-go/8:rw,z -v /w/workspace/device-virtual-go/8@tmp:/w/workspace/device-virtual-go/8@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:14:52.616Z] $ docker top bbe292b8d106e65ef89711778379b73fcf86628e20cc5a3a31252edfe3de28e3 -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh [2022-06-03T09:14:53.533Z] + make test [2022-06-03T09:14:53.533Z] CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out [2022-06-03T09:14:55.527Z] ? github.com/edgexfoundry/device-virtual-go [no test files] [2022-06-03T09:16:17.356Z] ? github.com/edgexfoundry/device-virtual-go/cmd [no test files] [2022-06-03T09:16:17.356Z] ok github.com/edgexfoundry/device-virtual-go/internal/driver 0.138s coverage: 65.7% of statements [2022-06-03T09:16:17.356Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2022-06-03T09:16:17.356Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2022-06-03T09:16:39.582Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-06-03T09:16:39.582Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2022-06-03T09:16:39.582Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2022-06-03T09:16:39.607Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2022-06-03T09:16:39.628Z] $ docker stop --time=1 bbe292b8d106e65ef89711778379b73fcf86628e20cc5a3a31252edfe3de28e3 [2022-06-03T09:16:41.393Z] $ docker rm -f bbe292b8d106e65ef89711778379b73fcf86628e20cc5a3a31252edfe3de28e3 [Pipeline] // withDockerContainer [Pipeline] sh [2022-06-03T09:16:42.306Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2022-06-03T09:16:42.327Z] Warning: overwriting stash ‘coverage-report’ [2022-06-03T09:16:42.828Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-06-03T09:16:43.199Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2022-06-03T09:16:43.537Z] + ls -al . [2022-06-03T09:16:43.537Z] total 188 [2022-06-03T09:16:43.537Z] drwxrwxr-x 8 jenkins jenkins 4096 Jun 3 09:16 . [2022-06-03T09:16:43.537Z] drwxrwxr-x 4 jenkins jenkins 4096 Jun 3 09:12 .. [2022-06-03T09:16:43.537Z] drwxrwxr-x 8 jenkins jenkins 4096 Jun 3 09:13 .git [2022-06-03T09:16:43.537Z] drwxrwxr-x 3 jenkins jenkins 4096 Jun 3 09:12 .github [2022-06-03T09:16:43.537Z] -rw-rw-r-- 1 jenkins jenkins 337 Jun 3 09:12 .gitignore [2022-06-03T09:16:43.537Z] -rw-rw-r-- 1 jenkins jenkins 41 Jun 3 09:12 .golangci.yml [2022-06-03T09:16:43.537Z] -rw-rw-r-- 1 jenkins jenkins 8026 Jun 3 09:12 Attribution.txt [2022-06-03T09:16:43.537Z] -rw-rw-r-- 1 jenkins jenkins 9649 Jun 3 09:12 CHANGELOG.md [2022-06-03T09:16:43.537Z] -rw-rw-r-- 1 jenkins jenkins 1974 Jun 3 09:12 Dockerfile [2022-06-03T09:16:43.537Z] -rw-rw-r-- 1 jenkins jenkins 677 Jun 3 09:12 GOVERNANCE.md [2022-06-03T09:16:43.537Z] -rw-rw-r-- 1 jenkins jenkins 660 Jun 3 09:12 Jenkinsfile [2022-06-03T09:16:43.537Z] -rw-rw-r-- 1 jenkins jenkins 11340 Jun 3 09:12 LICENSE [2022-06-03T09:16:43.537Z] -rw-rw-r-- 1 jenkins jenkins 2248 Jun 3 09:12 Makefile [2022-06-03T09:16:43.538Z] -rw-rw-r-- 1 jenkins jenkins 623 Jun 3 09:12 OWNERS.md [2022-06-03T09:16:43.538Z] -rw-rw-r-- 1 jenkins jenkins 2914 Jun 3 09:12 README.md [2022-06-03T09:16:43.538Z] -rw-rw-r-- 1 jenkins jenkins 5 Jun 3 09:10 VERSION [2022-06-03T09:16:43.538Z] drwxrwxr-x 2 jenkins jenkins 4096 Jun 3 09:12 bin [2022-06-03T09:16:43.538Z] drwxrwxr-x 3 jenkins jenkins 4096 Jun 3 09:12 cmd [2022-06-03T09:16:43.538Z] -rw-r--r-- 1 jenkins jenkins 44128 Jun 3 09:16 coverage.out [2022-06-03T09:16:43.538Z] -rw-rw-r-- 1 jenkins jenkins 3139 Jun 3 09:12 go.mod [2022-06-03T09:16:43.538Z] -rw-rw-r-- 1 jenkins jenkins 35006 Jun 3 09:12 go.sum [2022-06-03T09:16:43.538Z] drwxrwxr-x 3 jenkins jenkins 4096 Jun 3 09:12 internal [2022-06-03T09:16:43.538Z] drwxrwxr-x 3 jenkins jenkins 4096 Jun 3 09:12 snap [2022-06-03T09:16:43.538Z] -rw-rw-r-- 1 jenkins jenkins 235 Jun 3 09:12 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-03T09:16:43.907Z] + docker build -t device-virtual-arm64 -f Dockerfile --build-arg BASE=ci-base-image-arm64 --build-arg MAKE=make build --build-arg ARCH=arm64 --label git_sha=253bc954d7726a3ef5e384993d6e5cd9a4957198 --label arch=arm64 --label version=0.0.0 . [2022-06-03T09:16:44.504Z] Sending build context to Docker daemon 11.79MB [2022-06-03T09:16:44.504Z] Step 1/26 : ARG BASE=golang:1.17-alpine3.15 [2022-06-03T09:16:44.504Z] Step 2/26 : FROM ${BASE} AS builder [2022-06-03T09:16:44.504Z] ---> 769a9816d6ac [2022-06-03T09:16:44.504Z] Step 3/26 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2022-06-03T09:16:44.504Z] ---> Running in 8ad245b822d6 [2022-06-03T09:16:44.776Z] Removing intermediate container 8ad245b822d6 [2022-06-03T09:16:44.776Z] ---> ce5a24a83dc4 [2022-06-03T09:16:44.776Z] Step 4/26 : ARG ALPINE_PKG_EXTRA="" [2022-06-03T09:16:45.051Z] ---> Running in fcc120aaaefe [2022-06-03T09:16:45.332Z] Removing intermediate container fcc120aaaefe [2022-06-03T09:16:45.332Z] ---> 7a22fc8b8cc3 [2022-06-03T09:16:45.332Z] Step 5/26 : WORKDIR /device-virtual-go [2022-06-03T09:16:45.332Z] ---> Running in 9b0a4affc8de [2022-06-03T09:16:45.609Z] Removing intermediate container 9b0a4affc8de [2022-06-03T09:16:45.609Z] ---> 36163e93e9d0 [2022-06-03T09:16:45.609Z] Step 6/26 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-06-03T09:16:45.609Z] ---> Running in 25d0e4e04614 [2022-06-03T09:16:47.598Z] Removing intermediate container 25d0e4e04614 [2022-06-03T09:16:47.598Z] ---> fa2aacd7ce94 [2022-06-03T09:16:47.598Z] Step 7/26 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-06-03T09:16:47.598Z] ---> Running in de9451cc8107 [2022-06-03T09:16:48.579Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz [2022-06-03T09:16:49.174Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz [2022-06-03T09:16:50.165Z] OK: 224 MiB in 56 packages [2022-06-03T09:16:50.764Z] Removing intermediate container de9451cc8107 [2022-06-03T09:16:50.764Z] ---> 4e5fadd98408 [2022-06-03T09:16:50.764Z] Step 8/26 : COPY go.mod vendor* ./ [2022-06-03T09:16:51.376Z] ---> f27a9b3e4057 [2022-06-03T09:16:51.376Z] Step 9/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-06-03T09:16:51.654Z] ---> Running in 30cd95482c55 [2022-06-03T09:16:53.630Z] Removing intermediate container 30cd95482c55 [2022-06-03T09:16:53.630Z] ---> 88622995f3f2 [2022-06-03T09:16:53.630Z] Step 10/26 : COPY . . [2022-06-03T09:16:54.615Z] ---> fada50d99547 [2022-06-03T09:16:54.615Z] Step 11/26 : ARG MAKE='make build' [2022-06-03T09:16:54.615Z] ---> Running in d219d5100016 [2022-06-03T09:16:55.215Z] Removing intermediate container d219d5100016 [2022-06-03T09:16:55.215Z] ---> 59e05a3350f6 [2022-06-03T09:16:55.215Z] Step 12/26 : RUN $MAKE [2022-06-03T09:16:55.215Z] ---> Running in 23f29ecdbb16 [2022-06-03T09:16:56.211Z] 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:19:03.105Z] Removing intermediate container 23f29ecdbb16 [2022-06-03T09:19:03.105Z] ---> 1385cd142097 [2022-06-03T09:19:03.105Z] Step 13/26 : FROM alpine:3.14 [2022-06-03T09:19:03.105Z] 3.14: Pulling from library/alpine [2022-06-03T09:19:03.105Z] 455c02918c45: Pulling fs layer [2022-06-03T09:19:03.105Z] 455c02918c45: Verifying Checksum [2022-06-03T09:19:03.105Z] 455c02918c45: Download complete [2022-06-03T09:19:03.105Z] 455c02918c45: Pull complete [2022-06-03T09:19:03.105Z] Digest: sha256:06b5d462c92fc39303e6363c65e074559f8d6b1363250027ed5053557e3398c5 [2022-06-03T09:19:03.105Z] Status: Downloaded newer image for alpine:3.14 [2022-06-03T09:19:03.105Z] ---> ac73e934f311 [2022-06-03T09:19:03.105Z] Step 14/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2021: IOTech' [2022-06-03T09:19:03.105Z] ---> Running in db6a7b2ee82b [2022-06-03T09:19:03.105Z] Removing intermediate container db6a7b2ee82b [2022-06-03T09:19:03.105Z] ---> df8387541072 [2022-06-03T09:19:03.105Z] Step 15/26 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-06-03T09:19:03.105Z] ---> Running in dc26914d6c37 [2022-06-03T09:19:03.105Z] Removing intermediate container dc26914d6c37 [2022-06-03T09:19:03.105Z] ---> 2231def3542e [2022-06-03T09:19:03.105Z] Step 16/26 : RUN apk add --update --no-cache zeromq dumb-init [2022-06-03T09:19:03.105Z] ---> Running in eb105448101f [2022-06-03T09:19:03.105Z] fetch https://nl.alpinelinux.org/alpine/v3.14/main/aarch64/APKINDEX.tar.gz [2022-06-03T09:19:03.105Z] fetch https://nl.alpinelinux.org/alpine/v3.14/community/aarch64/APKINDEX.tar.gz [2022-06-03T09:19:03.105Z] (1/6) Installing dumb-init (1.2.5-r1) [2022-06-03T09:19:03.105Z] (2/6) Installing libgcc (10.3.1_git20210424-r2) [2022-06-03T09:19:03.105Z] (3/6) Installing libsodium (1.0.18-r0) [2022-06-03T09:19:03.105Z] (4/6) Installing libstdc++ (10.3.1_git20210424-r2) [2022-06-03T09:19:03.105Z] (5/6) Installing libzmq (4.3.4-r0) [2022-06-03T09:19:03.105Z] (6/6) Installing zeromq (4.3.4-r0) [2022-06-03T09:19:03.105Z] Executing busybox-1.33.1-r7.trigger [2022-06-03T09:19:03.105Z] OK: 8 MiB in 20 packages [2022-06-03T09:19:03.105Z] Removing intermediate container eb105448101f [2022-06-03T09:19:03.105Z] ---> 2ffd9f604889 [2022-06-03T09:19:03.105Z] Step 17/26 : WORKDIR / [2022-06-03T09:19:03.105Z] ---> Running in b279d66d821a [2022-06-03T09:19:03.105Z] Removing intermediate container b279d66d821a [2022-06-03T09:19:03.105Z] ---> cce97c4e3260 [2022-06-03T09:19:03.105Z] Step 18/26 : COPY --from=builder /device-virtual-go/Attribution.txt / [2022-06-03T09:19:03.105Z] ---> 4d42530ca0ec [2022-06-03T09:19:03.105Z] Step 19/26 : COPY --from=builder /device-virtual-go/LICENSE / [2022-06-03T09:19:03.105Z] ---> 48318ff2241e [2022-06-03T09:19:03.105Z] Step 20/26 : COPY --from=builder /device-virtual-go/cmd / [2022-06-03T09:19:03.105Z] ---> b4ac23bf597f [2022-06-03T09:19:03.105Z] Step 21/26 : EXPOSE 59900 [2022-06-03T09:19:03.105Z] ---> Running in d0313d24e4fd [2022-06-03T09:19:03.105Z] Removing intermediate container d0313d24e4fd [2022-06-03T09:19:03.105Z] ---> 0412c74adc91 [2022-06-03T09:19:03.105Z] Step 22/26 : ENTRYPOINT ["/device-virtual"] [2022-06-03T09:19:03.105Z] ---> Running in fd2020fbba9e [2022-06-03T09:19:03.105Z] Removing intermediate container fd2020fbba9e [2022-06-03T09:19:03.105Z] ---> 517d4a2e3561 [2022-06-03T09:19:03.105Z] Step 23/26 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2022-06-03T09:19:03.105Z] ---> Running in 1c2b0a3775d6 [2022-06-03T09:19:03.105Z] Removing intermediate container 1c2b0a3775d6 [2022-06-03T09:19:03.105Z] ---> ab55a9c03ad4 [2022-06-03T09:19:03.105Z] Step 24/26 : LABEL arch=arm64 [2022-06-03T09:19:03.105Z] ---> Running in f8c57f82a986 [2022-06-03T09:19:03.105Z] Removing intermediate container f8c57f82a986 [2022-06-03T09:19:03.105Z] ---> f6bda8aa6247 [2022-06-03T09:19:03.105Z] Step 25/26 : LABEL git_sha=253bc954d7726a3ef5e384993d6e5cd9a4957198 [2022-06-03T09:19:03.105Z] ---> Running in b891409cf3de [2022-06-03T09:19:03.105Z] Removing intermediate container b891409cf3de [2022-06-03T09:19:03.105Z] ---> f436be070eb3 [2022-06-03T09:19:03.105Z] Step 26/26 : LABEL version=0.0.0 [2022-06-03T09:19:03.105Z] ---> Running in 42552eeb456a [2022-06-03T09:19:03.105Z] Removing intermediate container 42552eeb456a [2022-06-03T09:19:03.105Z] ---> b24a5dcc7b1d [2022-06-03T09:19:03.105Z] [Warning] One or more build-args [ARCH] were not consumed [2022-06-03T09:19:03.105Z] Successfully built b24a5dcc7b1d [2022-06-03T09:19:03.105Z] 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:19:03.558Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-06-03T09:19:03.558Z] [2022-06-03T09:19:03.558Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-03T09:19:03.924Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-06-03T09:19:04.205Z] arm64: Pulling from edgex-lftools-log-publisher [2022-06-03T09:19:04.205Z] 8998bd30e6a1: Pulling fs layer [2022-06-03T09:19:04.205Z] 04944245beec: Pulling fs layer [2022-06-03T09:19:04.205Z] 699f458cf7ca: Pulling fs layer [2022-06-03T09:19:04.205Z] 765212b225bb: Pulling fs layer [2022-06-03T09:19:04.205Z] f23df028b6ca: Pulling fs layer [2022-06-03T09:19:04.205Z] d65c8cfc05b1: Pulling fs layer [2022-06-03T09:19:04.205Z] 2437ff75d9bd: Pulling fs layer [2022-06-03T09:19:04.205Z] 765212b225bb: Waiting [2022-06-03T09:19:04.205Z] f23df028b6ca: Waiting [2022-06-03T09:19:04.205Z] d65c8cfc05b1: Waiting [2022-06-03T09:19:04.205Z] 2437ff75d9bd: Waiting [2022-06-03T09:19:04.205Z] 04944245beec: Verifying Checksum [2022-06-03T09:19:04.205Z] 04944245beec: Download complete [2022-06-03T09:19:04.205Z] 765212b225bb: Verifying Checksum [2022-06-03T09:19:04.205Z] 765212b225bb: Download complete [2022-06-03T09:19:04.205Z] f23df028b6ca: Verifying Checksum [2022-06-03T09:19:04.205Z] f23df028b6ca: Download complete [2022-06-03T09:19:04.495Z] d65c8cfc05b1: Verifying Checksum [2022-06-03T09:19:04.495Z] d65c8cfc05b1: Download complete [2022-06-03T09:19:04.495Z] 699f458cf7ca: Verifying Checksum [2022-06-03T09:19:04.496Z] 699f458cf7ca: Download complete [2022-06-03T09:19:04.774Z] 8998bd30e6a1: Verifying Checksum [2022-06-03T09:19:04.774Z] 8998bd30e6a1: Download complete [2022-06-03T09:19:07.408Z] 2437ff75d9bd: Verifying Checksum [2022-06-03T09:19:07.408Z] 2437ff75d9bd: Download complete [2022-06-03T09:19:09.391Z] 8998bd30e6a1: Pull complete [2022-06-03T09:19:09.666Z] 04944245beec: Pull complete [2022-06-03T09:19:11.107Z] 699f458cf7ca: Pull complete [2022-06-03T09:19:11.381Z] 765212b225bb: Pull complete [2022-06-03T09:19:12.369Z] f23df028b6ca: Pull complete [2022-06-03T09:19:12.369Z] d65c8cfc05b1: Pull complete [2022-06-03T09:19:27.468Z] 2437ff75d9bd: Pull complete [2022-06-03T09:19:27.468Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2022-06-03T09:19:27.469Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-06-03T09:19:27.469Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-06-03T09:19:27.722Z] prd-ubuntu20.04-docker-arm64-4c-16g-912 does not seem to be running inside a container [2022-06-03T09:19:27.815Z] $ 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/8 -v /w/workspace/device-virtual-go/8:/w/workspace/device-virtual-go/8:rw,z -v /w/workspace/device-virtual-go/8@tmp:/w/workspace/device-virtual-go/8@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:19:30.295Z] $ docker top 53506b46f3fa2ec46cc036eefc20e539631e356c2fd36f3a6c884edd2cb62a4d -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-06-03T09:19:31.214Z] ---> job-cost.sh [2022-06-03T09:19:31.215Z] lf-activate-venv: SKIPPING [2022-06-03T09:19:31.215Z] INFO: No Stack... [2022-06-03T09:19:31.809Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2022-06-03T09:19:32.786Z] INFO: Archiving Costs [Pipeline] sh [2022-06-03T09:19:33.457Z] + cat /w/workspace/device-virtual-go/8/archives/cost.csv [2022-06-03T09:19:33.457Z] + cut -d, -f6 [Pipeline] lock [2022-06-03T09:19:33.519Z] Trying to acquire lock on [jenkins-edgexfoundry-device-virtual-go-PR-287-8-stack-cost] [2022-06-03T09:19:33.524Z] Resource [jenkins-edgexfoundry-device-virtual-go-PR-287-8-stack-cost] did not exist. Created. [2022-06-03T09:19:33.524Z] Lock acquired on [jenkins-edgexfoundry-device-virtual-go-PR-287-8-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-06-03T09:19:34.201Z] /w/workspace/device-virtual-go/8@tmp/durable-a8eae339/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2022-06-03T09:19:34.880Z] + echo total: 0.10999999940395355 [Pipeline] stash [2022-06-03T09:19:34.909Z] Warning: overwriting stash ‘stack-cost’ [2022-06-03T09:19:34.955Z] Stashed 1 file(s) [Pipeline] } [2022-06-03T09:19:34.962Z] Lock released on resource [jenkins-edgexfoundry-device-virtual-go-PR-287-8-stack-cost] [Pipeline] // lock [Pipeline] } [2022-06-03T09:19:34.979Z] $ docker stop --time=1 53506b46f3fa2ec46cc036eefc20e539631e356c2fd36f3a6c884edd2cb62a4d [2022-06-03T09:19:36.503Z] $ docker rm -f 53506b46f3fa2ec46cc036eefc20e539631e356c2fd36f3a6c884edd2cb62a4d [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:19:36.999Z] provisioning config files... [2022-06-03T09:19:37.031Z] copy managed file [device-virtual-go-codecov-token] to file:/w/workspace/foundry_device-virtual-go_PR-287@tmp/config1722896805352225093tmp [Pipeline] { [Pipeline] sh [2022-06-03T09:19:37.356Z] + set +x [2022-06-03T09:19:37.356Z] + curl -s https://codecov.io/bash [2022-06-03T09:19:37.356Z] + bash -s -- [2022-06-03T09:19:37.356Z] [2022-06-03T09:19:37.356Z] _____ _ [2022-06-03T09:19:37.356Z] / ____| | | [2022-06-03T09:19:37.356Z] | | ___ __| | ___ ___ _____ __ [2022-06-03T09:19:37.356Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2022-06-03T09:19:37.356Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2022-06-03T09:19:37.356Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2022-06-03T09:19:37.356Z] Bash-1.0.6 [2022-06-03T09:19:37.356Z] [2022-06-03T09:19:37.356Z] [2022-06-03T09:19:37.356Z] ==> git version 2.25.1 found [2022-06-03T09:19:37.356Z] ==> 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:19:37.356Z] Release-Date: 2020-01-08 [2022-06-03T09:19:37.356Z] 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:19:37.356Z] 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:19:37.356Z] ==> Jenkins CI detected. [2022-06-03T09:19:37.356Z] current dir:  /w/workspace/foundry_device-virtual-go_PR-287 [2022-06-03T09:19:37.356Z] project root: . [2022-06-03T09:19:37.356Z] --> token set from env [2022-06-03T09:19:37.356Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2022-06-03T09:19:37.356Z] ==> Running gcov in . (disable via -X gcov) [2022-06-03T09:19:37.356Z] ==> Python coveragepy not found [2022-06-03T09:19:37.356Z] ==> Searching for coverage reports in: [2022-06-03T09:19:37.356Z] + . [2022-06-03T09:19:37.356Z] -> Found 1 reports [2022-06-03T09:19:37.356Z] ==> Detecting git/mercurial file structure [2022-06-03T09:19:37.356Z] ==> Reading reports [2022-06-03T09:19:37.356Z] + ./coverage.out bytes=44128 [2022-06-03T09:19:37.356Z] ==> Appending adjustments [2022-06-03T09:19:37.356Z] https://docs.codecov.io/docs/fixing-reports [2022-06-03T09:19:37.616Z] + Found adjustments [2022-06-03T09:19:37.616Z] ==> Gzipping contents [2022-06-03T09:19:37.616Z] 8.0K /tmp/codecov.uRGujP.gz [2022-06-03T09:19:37.616Z] ==> Uploading reports [2022-06-03T09:19:37.616Z] url: https://codecov.io [2022-06-03T09:19:37.616Z] query: branch=PR-287&commit=253bc954d7726a3ef5e384993d6e5cd9a4957198&build=8&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-virtual-go%2Fjob%2FPR-287%2F8%2F&name=&tag=&slug=edgexfoundry%2Fdevice-virtual-go&service=jenkins&flags=&pr=287&job=&cmd_args= [2022-06-03T09:19:37.616Z] -> Pinging Codecov [2022-06-03T09:19:37.616Z] 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=253bc954d7726a3ef5e384993d6e5cd9a4957198&build=8&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-virtual-go%2Fjob%2FPR-287%2F8%2F&name=&tag=&slug=edgexfoundry%2Fdevice-virtual-go&service=jenkins&flags=&pr=287&job=&cmd_args= [2022-06-03T09:19:37.877Z] -> Uploading to [2022-06-03T09:19:37.877Z] https://storage.googleapis.com/codecov/v4/raw/2022-06-03/5E52B4B073DB2E39498172D8E973AA87/253bc954d7726a3ef5e384993d6e5cd9a4957198/21ca95bf-a307-48d5-9fdb-b2eebadb1cce.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EKKHVKCKHW7KBCGM7IHR55T63V2PAVJWLVFNITJHDU5G6R5IRN3LMWJA%2F20220603%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20220603T091937Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=a25bf5f2d1e39885599222d16ba2776bda4df951255d11055b8fb51fe15a7068 [2022-06-03T09:19:37.877Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-06-03T09:19:37.877Z] Dload Upload Total Spent Left Speed [2022-06-03T09:19:38.140Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 5513 0 0 100 5513 0 24945 --:--:-- --:--:-- --:--:-- 24945 [2022-06-03T09:19:38.140Z] -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/device-virtual-go/commit/253bc954d7726a3ef5e384993d6e5cd9a4957198 [Pipeline] } [2022-06-03T09:19:38.149Z] 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:19:38.852Z] + [ -d /w/workspace/foundry_device-virtual-go_PR-287/archives ] [2022-06-03T09:19:38.853Z] + ls -al /w/workspace/foundry_device-virtual-go_PR-287/archives [2022-06-03T09:19:38.853Z] total 16 [2022-06-03T09:19:38.853Z] drwxr-xr-x 3 root root 4096 Jun 3 09:12 . [2022-06-03T09:19:38.853Z] drwxrwxr-x 10 jenkins jenkins 4096 Jun 3 09:12 .. [2022-06-03T09:19:38.853Z] drwxr-xr-x 2 root root 4096 Jun 3 09:12 cost [2022-06-03T09:19:38.853Z] -rw-r--r-- 1 root root 88 Jun 3 09:12 cost.csv [2022-06-03T09:19:38.853Z] + sudo chown -R jenkins:jenkins /w/workspace/foundry_device-virtual-go_PR-287/archives [2022-06-03T09:19:38.853Z] + ls -al /w/workspace/foundry_device-virtual-go_PR-287/archives [2022-06-03T09:19:38.853Z] total 16 [2022-06-03T09:19:38.853Z] drwxr-xr-x 3 jenkins jenkins 4096 Jun 3 09:12 . [2022-06-03T09:19:38.853Z] drwxrwxr-x 10 jenkins jenkins 4096 Jun 3 09:12 .. [2022-06-03T09:19:38.853Z] drwxr-xr-x 2 jenkins jenkins 4096 Jun 3 09:12 cost [2022-06-03T09:19:38.853Z] -rw-r--r-- 1 jenkins jenkins 88 Jun 3 09:12 cost.csv [Pipeline] libraryResource [Pipeline] sh [2022-06-03T09:19:39.147Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2022-06-03T09:19:40.014Z] ---> package-listing.sh [2022-06-03T09:19:40.014Z] ++ facter osfamily [2022-06-03T09:19:40.014Z] ++ tr '[:upper:]' '[:lower:]' [2022-06-03T09:19:40.275Z] + OS_FAMILY=debian [2022-06-03T09:19:40.275Z] + workspace=/w/workspace/foundry_device-virtual-go_PR-287 [2022-06-03T09:19:40.275Z] + START_PACKAGES=/tmp/packages_start.txt [2022-06-03T09:19:40.275Z] + END_PACKAGES=/tmp/packages_end.txt [2022-06-03T09:19:40.275Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2022-06-03T09:19:40.275Z] + PACKAGES=/tmp/packages_start.txt [2022-06-03T09:19:40.275Z] + '[' /w/workspace/foundry_device-virtual-go_PR-287 ']' [2022-06-03T09:19:40.275Z] + PACKAGES=/tmp/packages_end.txt [2022-06-03T09:19:40.275Z] + case "${OS_FAMILY}" in [2022-06-03T09:19:40.275Z] + dpkg -l [2022-06-03T09:19:40.275Z] + grep '^ii' [2022-06-03T09:19:40.275Z] + '[' -f /tmp/packages_start.txt ']' [2022-06-03T09:19:40.275Z] + '[' -f /tmp/packages_end.txt ']' [2022-06-03T09:19:40.275Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2022-06-03T09:19:40.275Z] + '[' /w/workspace/foundry_device-virtual-go_PR-287 ']' [2022-06-03T09:19:40.275Z] + mkdir -p /w/workspace/foundry_device-virtual-go_PR-287/archives/ [2022-06-03T09:19:40.275Z] + 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:19:40.287Z] 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:19:40.567Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-03T09:19:41.140Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-06-03T09:19:41.141Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-06-03T09:19:41.226Z] prd-ubuntu20.04-docker-8c-8g-911 does not seem to be running inside a container [2022-06-03T09:19:41.265Z] $ 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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2022-06-03T09:19:41.503Z] $ docker top 7cc665e0ccefb33f0d2fab3d9400ba919e0d3a1a8934c64915c7ba7cc3b4b790 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-06-03T09:19:41.856Z] + touch /tmp/pre-build-complete [Pipeline] sh [2022-06-03T09:19:42.146Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2022-06-03T09:19:42.435Z] + ls /var/log/sa-host [2022-06-03T09:19:42.435Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-06-03T09:19:42.508Z] provisioning config files... [2022-06-03T09:19:42.518Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/foundry_device-virtual-go_PR-287@tmp/config4457860672774643169tmp [Pipeline] { [Pipeline] echo [2022-06-03T09:19:42.539Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2022-06-03T09:19:42.824Z] ---> create-netrc.sh [Pipeline] } [2022-06-03T09:19:42.832Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2022-06-03T09:19:43.160Z] ---> python-tools-install.sh [Pipeline] echo [2022-06-03T09:19:43.168Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2022-06-03T09:19:43.460Z] ---> sudo-logs.sh [2022-06-03T09:19:43.460Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2022-06-03T09:19:43.482Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2022-06-03T09:19:43.768Z] ---> job-cost.sh [2022-06-03T09:19:43.768Z] lf-activate-venv: SKIPPING [2022-06-03T09:19:43.768Z] DEBUG: total: 0.2199999988079071 [2022-06-03T09:19:43.768Z] INFO: Retrieving Stack Cost... [2022-06-03T09:19:44.030Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2022-06-03T09:19:44.601Z] INFO: Archiving Costs [Pipeline] echo [2022-06-03T09:19:44.615Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2022-06-03T09:19:44.904Z] ---> logs-deploy.sh [2022-06-03T09:19:44.904Z] lf-activate-venv: SKIPPING [2022-06-03T09:19:44.904Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-virtual-go/PR-287/8 [2022-06-03T09:19:44.904Z] INFO: archiving workspace using pattern(s): [2022-06-03T09:19:45.851Z] Archives upload complete. [2022-06-03T09:19:45.851Z] INFO: archiving logs to Nexus