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 e414a0ef60f40c4bc0a47abe8eed3674be8d338f 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-ssh3609741520185818057.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-ssh1409460394032550104.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-ssh6231097204241074018.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-ssh5541923416503648504.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-ssh3524440286123658029.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision 0f180ed1236c637af8c254f95ad106931cc77145 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 0f180ed1236c637af8c254f95ad106931cc77145 # timeout=10 Commit message: "Feat: Add initial docker pipelines" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-virtual-go] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[ubuntu20.04-docker-8c-8g, ubuntu20.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-virtual-go-settings PROJECT: device-virtual-go USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.17 USE_ALPINE: true DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-virtual DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: false SWAGGER_API_FOLDERS: openapi/v1 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org SNYK_DEBUG: false [Pipeline] node Still waiting to schedule task Waiting for next available executor on ‘prd-ubuntu20.04-docker-8c-8g-918’ Running on prd-ubuntu20.04-docker-8c-8g-921 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 > 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 Merging remotes/origin/main commit 9cab87334a4d5affcc1b2c5c12d642008ef46c2d into PR head commit e414a0ef60f40c4bc0a47abe8eed3674be8d338f Merge succeeded, producing e414a0ef60f40c4bc0a47abe8eed3674be8d338f Checking out Revision e414a0ef60f40c4bc0a47abe8eed3674be8d338f (PR-287) > git config core.sparsecheckout # timeout=10 > git checkout -f e414a0ef60f40c4bc0a47abe8eed3674be8d338f # 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 e414a0ef60f40c4bc0a47abe8eed3674be8d338f # timeout=10 Commit message: "feat(snap): Enable config options after SetComponentName" > git rev-list --no-walk ccb4f5e4411e93ad5a61be90557f2f0c2d4571c5 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2022-06-03T11:15:07.708Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2022-06-03T11:15:07.763Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2022-06-03T11:15:07.776Z] ========================================================= [2022-06-03T11:15:07.776Z] EdgeX Global Pipelines Version Info [2022-06-03T11:15:07.776Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2022-06-03T11:15:08.540Z] ------------------- [2022-06-03T11:15:08.540Z] stable info: [2022-06-03T11:15:08.540Z] ------------------- [2022-06-03T11:15:08.540Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2022-06-03T11:15:08.541Z] Commit SHA: e2cac8b444d664382c771f5dccbf61e369ddf83e [2022-06-03T11:15:08.541Z] Message: update stable to v1.0.231 [2022-06-03T11:15:09.118Z] ------------------- [2022-06-03T11:15:09.118Z] experimental info: [2022-06-03T11:15:09.118Z] ------------------- [2022-06-03T11:15:09.118Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2022-06-03T11:15:09.118Z] Commit SHA: e2cac8b444d664382c771f5dccbf61e369ddf83e [2022-06-03T11:15:09.118Z] Message: update experimental to v1.0.231 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2022-06-03T11:15:09.348Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-virtual-go-settings [Pipeline] echo [2022-06-03T11:15:09.365Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-virtual-go [Pipeline] echo [2022-06-03T11:15:09.380Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2022-06-03T11:15:09.391Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2022-06-03T11:15:09.405Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2022-06-03T11:15:09.415Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.17 [Pipeline] echo [2022-06-03T11:15:09.423Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2022-06-03T11:15:09.431Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2022-06-03T11:15:09.439Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2022-06-03T11:15:09.447Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2022-06-03T11:15:09.456Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2022-06-03T11:15:09.469Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-virtual [Pipeline] echo [2022-06-03T11:15:09.488Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2022-06-03T11:15:09.506Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2022-06-03T11:15:09.524Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2022-06-03T11:15:09.540Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2022-06-03T11:15:09.556Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2022-06-03T11:15:09.568Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2022-06-03T11:15:09.581Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2022-06-03T11:15:09.593Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2022-06-03T11:15:09.605Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2022-06-03T11:15:09.619Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2022-06-03T11:15:09.633Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2022-06-03T11:15:09.644Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2022-06-03T11:15:09.657Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2022-06-03T11:15:09.673Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2022-06-03T11:15:09.693Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2022-06-03T11:15:09.712Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-287 [Pipeline] echo [2022-06-03T11:15:09.727Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-287 [Pipeline] echo [2022-06-03T11:15:09.741Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-287 [Pipeline] echo [2022-06-03T11:15:09.757Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = e414a0ef60f40c4bc0a47abe8eed3674be8d338f [Pipeline] echo [2022-06-03T11:15:09.770Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = e414a0e [Pipeline] echo [2022-06-03T11:15:09.786Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-06-03T11:15:09.829Z] provisioning config files... [2022-06-03T11:15:09.846Z] copy managed file [device-virtual-go-settings] to file:/w/workspace/foundry_device-virtual-go_PR-287@tmp/config3112491487320769341tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-06-03T11:15:10.224Z] ---> docker-login.sh [2022-06-03T11:15:10.224Z] nexus3.edgexfoundry.org:10001 [2022-06-03T11:15:10.486Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-03T11:15:10.746Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-03T11:15:10.746Z] Configure a credential helper to remove this warning. See [2022-06-03T11:15:10.746Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-03T11:15:10.746Z] [2022-06-03T11:15:10.746Z] Login Succeeded [2022-06-03T11:15:10.746Z] nexus3.edgexfoundry.org:10002 [2022-06-03T11:15:11.006Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-03T11:15:11.006Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-03T11:15:11.006Z] Configure a credential helper to remove this warning. See [2022-06-03T11:15:11.006Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-03T11:15:11.006Z] [2022-06-03T11:15:11.006Z] Login Succeeded [2022-06-03T11:15:11.006Z] nexus3.edgexfoundry.org:10003 [2022-06-03T11:15:11.006Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-03T11:15:11.006Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-03T11:15:11.006Z] Configure a credential helper to remove this warning. See [2022-06-03T11:15:11.006Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-03T11:15:11.006Z] [2022-06-03T11:15:11.006Z] Login Succeeded [2022-06-03T11:15:11.006Z] nexus3.edgexfoundry.org:10004 [2022-06-03T11:15:11.268Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-03T11:15:11.268Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-03T11:15:11.268Z] Configure a credential helper to remove this warning. See [2022-06-03T11:15:11.268Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-03T11:15:11.268Z] [2022-06-03T11:15:11.268Z] Login Succeeded [2022-06-03T11:15:11.268Z] docker.io [2022-06-03T11:15:11.268Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-03T11:15:11.847Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-03T11:15:11.847Z] Configure a credential helper to remove this warning. See [2022-06-03T11:15:11.847Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-03T11:15:11.847Z] [2022-06-03T11:15:11.847Z] Login Succeeded [2022-06-03T11:15:11.847Z] ---> docker-login.sh ends [Pipeline] } [2022-06-03T11:15:11.857Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2022-06-03T11:15:12.256Z] + git rev-list -1 --merges e414a0ef60f40c4bc0a47abe8eed3674be8d338f~1..e414a0ef60f40c4bc0a47abe8eed3674be8d338f [Pipeline] echo [2022-06-03T11:15:12.296Z] -----------> git rev-list -1 --merges e414a0ef60f40c4bc0a47abe8eed3674be8d338f~1..e414a0ef60f40c4bc0a47abe8eed3674be8d338f e414a0ef60f40c4bc0a47abe8eed3674be8d338f [false] [Pipeline] sh [2022-06-03T11:15:12.592Z] + git log --format=format:%s -1 e414a0ef60f40c4bc0a47abe8eed3674be8d338f [Pipeline] echo [2022-06-03T11:15:12.609Z] ========================================================= [2022-06-03T11:15:12.609Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2022-06-03T11:15:12.609Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-06-03T11:15:12.954Z] + git log --format=format:%s -1 e414a0ef60f40c4bc0a47abe8eed3674be8d338f [Pipeline] echo [2022-06-03T11:15:12.967Z] [semverPrep] GIT_COMMIT: e414a0ef60f40c4bc0a47abe8eed3674be8d338f, Commit Message: feat(snap): Enable config options after SetComponentName [Pipeline] echo [2022-06-03T11:15:12.975Z] [semverPrep] This is not a build commit. [Pipeline] sh [2022-06-03T11:15:13.354Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2022-06-03T11:15:13.354Z] + grep -v github /etc/ssh/ssh_known_hosts [2022-06-03T11:15:13.354Z] + [ -e /tmp/ssh_known_hosts ] [2022-06-03T11:15:13.354Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2022-06-03T11:15:13.354Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2022-06-03T11:15:13.354Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2022-06-03T11:15:13.354Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-03T11:15:13.789Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest [2022-06-03T11:15:13.790Z] [2022-06-03T11:15:13.790Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-03T11:15:14.101Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest [2022-06-03T11:15:14.101Z] latest: Pulling from edgex-devops/py-git-semver [2022-06-03T11:15:14.101Z] 42c077c10790: Pulling fs layer [2022-06-03T11:15:14.101Z] f63e77b7563a: Pulling fs layer [2022-06-03T11:15:14.101Z] bd5fdadae976: Pulling fs layer [2022-06-03T11:15:14.101Z] 205491f53016: Pulling fs layer [2022-06-03T11:15:14.101Z] df18705c85c3: Pulling fs layer [2022-06-03T11:15:14.101Z] 205491f53016: Waiting [2022-06-03T11:15:14.101Z] bdb3f477010e: Pulling fs layer [2022-06-03T11:15:14.101Z] c8a8fc8e1c8f: Pulling fs layer [2022-06-03T11:15:14.101Z] bdb3f477010e: Waiting [2022-06-03T11:15:14.101Z] df18705c85c3: Waiting [2022-06-03T11:15:14.101Z] c8a8fc8e1c8f: Waiting [2022-06-03T11:15:14.101Z] 2c6e9b1d212d: Pulling fs layer [2022-06-03T11:15:14.101Z] bdb8f0575790: Pulling fs layer [2022-06-03T11:15:14.101Z] 386e3cb2ff24: Pulling fs layer [2022-06-03T11:15:14.101Z] 2343380bae48: Pulling fs layer [2022-06-03T11:15:14.101Z] 2c6e9b1d212d: Waiting [2022-06-03T11:15:14.101Z] bdb8f0575790: Waiting [2022-06-03T11:15:14.101Z] 386e3cb2ff24: Waiting [2022-06-03T11:15:14.101Z] 2343380bae48: Waiting [2022-06-03T11:15:14.363Z] f63e77b7563a: Verifying Checksum [2022-06-03T11:15:14.363Z] f63e77b7563a: Download complete [2022-06-03T11:15:14.363Z] 205491f53016: Verifying Checksum [2022-06-03T11:15:14.363Z] 205491f53016: Download complete [2022-06-03T11:15:14.363Z] df18705c85c3: Verifying Checksum [2022-06-03T11:15:14.363Z] df18705c85c3: Download complete [2022-06-03T11:15:14.363Z] bd5fdadae976: Verifying Checksum [2022-06-03T11:15:14.363Z] bdb3f477010e: Verifying Checksum [2022-06-03T11:15:14.363Z] bdb3f477010e: Download complete [2022-06-03T11:15:14.363Z] bd5fdadae976: Download complete [2022-06-03T11:15:14.363Z] 2c6e9b1d212d: Verifying Checksum [2022-06-03T11:15:14.363Z] 2c6e9b1d212d: Download complete [2022-06-03T11:15:14.363Z] bdb8f0575790: Download complete [2022-06-03T11:15:14.363Z] 386e3cb2ff24: Download complete [2022-06-03T11:15:14.363Z] 2343380bae48: Download complete [2022-06-03T11:15:14.626Z] 42c077c10790: Download complete [2022-06-03T11:15:14.887Z] c8a8fc8e1c8f: Verifying Checksum [2022-06-03T11:15:14.887Z] c8a8fc8e1c8f: Download complete [2022-06-03T11:15:15.840Z] 42c077c10790: Pull complete [2022-06-03T11:15:16.104Z] f63e77b7563a: Pull complete [2022-06-03T11:15:16.684Z] bd5fdadae976: Pull complete [2022-06-03T11:15:16.684Z] 205491f53016: Pull complete [2022-06-03T11:15:17.257Z] df18705c85c3: Pull complete [2022-06-03T11:15:17.257Z] bdb3f477010e: Pull complete [2022-06-03T11:15:19.178Z] c8a8fc8e1c8f: Pull complete [2022-06-03T11:15:19.178Z] 2c6e9b1d212d: Pull complete [2022-06-03T11:15:19.442Z] bdb8f0575790: Pull complete [2022-06-03T11:15:19.442Z] 386e3cb2ff24: Pull complete [2022-06-03T11:15:19.702Z] 2343380bae48: Pull complete [2022-06-03T11:15:19.702Z] Digest: sha256:c3bf284c02da7271302b7a373f1d48320b54229aa5119b2a29c7f8015e6a9264 [2022-06-03T11:15:19.702Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest [2022-06-03T11:15:19.702Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-06-03T11:15:19.812Z] prd-ubuntu20.04-docker-8c-8g-921 does not seem to be running inside a container [2022-06-03T11:15:19.860Z] $ 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-03T11:15:22.115Z] $ docker top b0a5e0709db6425c784735b65d8ca01d1b065dfebcbe6fd479fab925d177440d -eo pid,comm [2022-06-03T11:15:22.188Z] 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-03T11:15:22.188Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2022-06-03T11:15:22.223Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-06-03T11:15:22.224Z] [ssh-agent] Looking for ssh-agent implementation... [2022-06-03T11:15:22.382Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-06-03T11:15:22.388Z] $ docker exec b0a5e0709db6425c784735b65d8ca01d1b065dfebcbe6fd479fab925d177440d ssh-agent [2022-06-03T11:15:22.514Z] SSH_AUTH_SOCK=/tmp/ssh-vWTEsjDkkSjJ/agent.32 [2022-06-03T11:15:22.514Z] SSH_AGENT_PID=38 [2022-06-03T11:15:22.520Z] Running ssh-add (command line suppressed) [2022-06-03T11:15:22.648Z] Identity added: /w/workspace/foundry_device-virtual-go_PR-287@tmp/private_key_5953748688218903392.key (/w/workspace/foundry_device-virtual-go_PR-287@tmp/private_key_5953748688218903392.key) [2022-06-03T11:15:22.665Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-06-03T11:15:22.956Z] + git tag --points-at HEAD [Pipeline] } [2022-06-03T11:15:22.971Z] $ docker exec --env ******** --env ******** b0a5e0709db6425c784735b65d8ca01d1b065dfebcbe6fd479fab925d177440d ssh-agent -k [2022-06-03T11:15:23.088Z] unset SSH_AUTH_SOCK; [2022-06-03T11:15:23.089Z] unset SSH_AGENT_PID; [2022-06-03T11:15:23.089Z] echo Agent pid 38 killed; [2022-06-03T11:15:23.100Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2022-06-03T11:15:23.121Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-06-03T11:15:23.121Z] [ssh-agent] Looking for ssh-agent implementation... [2022-06-03T11:15:23.261Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-06-03T11:15:23.266Z] $ docker exec b0a5e0709db6425c784735b65d8ca01d1b065dfebcbe6fd479fab925d177440d ssh-agent [2022-06-03T11:15:23.379Z] SSH_AUTH_SOCK=/tmp/ssh-lhFkBSUQSCac/agent.71 [2022-06-03T11:15:23.379Z] SSH_AGENT_PID=77 [2022-06-03T11:15:23.384Z] Running ssh-add (command line suppressed) [2022-06-03T11:15:23.505Z] Identity added: /w/workspace/foundry_device-virtual-go_PR-287@tmp/private_key_7228118128518144269.key (/w/workspace/foundry_device-virtual-go_PR-287@tmp/private_key_7228118128518144269.key) [2022-06-03T11:15:23.518Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-06-03T11:15:23.814Z] + git semver init [2022-06-03T11:15:24.074Z] 2022-06-03 11:15:24,040 [run_init] DEBUG init version:0.0.0 force:False [2022-06-03T11:15:24.074Z] 2022-06-03 11:15:24,041 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/foundry_device-virtual-go_PR-287/.semver [2022-06-03T11:15:24.074Z] 2022-06-03 11:15:24,041 [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-03T11:15:24.074Z] 2022-06-03 11:15:24,041 [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-03T11:15:25.021Z] 2022-06-03 11:15:24,979 [append_file] DEBUG append to file:/w/workspace/foundry_device-virtual-go_PR-287/.git/info/exclude [2022-06-03T11:15:25.021Z] 2022-06-03 11:15:24,979 [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-03T11:15:25.021Z] 2022-06-03 11:15:24,979 [write_file] DEBUG write to file:/w/workspace/foundry_device-virtual-go_PR-287/.semver/PR-287 [2022-06-03T11:15:25.021Z] 2022-06-03 11:15:24,984 [execute] INFO git cat-file --batch-check [2022-06-03T11:15:25.021Z] 2022-06-03 11:15:24,984 [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-03T11:15:25.021Z] 2022-06-03 11:15:24,992 [execute] INFO git cat-file --batch [2022-06-03T11:15:25.021Z] 2022-06-03 11:15:24,992 [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-03T11:15:25.021Z] 2022-06-03 11:15:24,999 [read_version] DEBUG read version from /w/workspace/foundry_device-virtual-go_PR-287/.semver/PR-287 [2022-06-03T11:15:25.021Z] 0.0.0 [Pipeline] } [2022-06-03T11:15:25.035Z] $ docker exec --env ******** --env ******** b0a5e0709db6425c784735b65d8ca01d1b065dfebcbe6fd479fab925d177440d ssh-agent -k [2022-06-03T11:15:25.143Z] unset SSH_AUTH_SOCK; [2022-06-03T11:15:25.143Z] unset SSH_AGENT_PID; [2022-06-03T11:15:25.143Z] echo Agent pid 77 killed; [2022-06-03T11:15:25.152Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2022-06-03T11:15:25.459Z] + git semver [Pipeline] } [2022-06-03T11:15:25.736Z] $ docker stop --time=1 b0a5e0709db6425c784735b65d8ca01d1b065dfebcbe6fd479fab925d177440d [2022-06-03T11:15:27.223Z] $ docker rm -f b0a5e0709db6425c784735b65d8ca01d1b065dfebcbe6fd479fab925d177440d [Pipeline] // withDockerContainer [Pipeline] sh [2022-06-03T11:15:27.593Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2022-06-03T11:15:27.914Z] Stashed 1 file(s) [Pipeline] echo [2022-06-03T11:15:27.917Z] [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-03T11:15:28.062Z] provisioning config files... [2022-06-03T11:15:28.072Z] copy managed file [device-virtual-go-settings] to file:/w/workspace/foundry_device-virtual-go_PR-287@tmp/config4241301689609980636tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-06-03T11:15:28.371Z] ---> docker-login.sh [2022-06-03T11:15:28.371Z] nexus3.edgexfoundry.org:10001 [2022-06-03T11:15:28.371Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-03T11:15:28.371Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-03T11:15:28.371Z] Configure a credential helper to remove this warning. See [2022-06-03T11:15:28.371Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-03T11:15:28.371Z] [2022-06-03T11:15:28.371Z] Login Succeeded [2022-06-03T11:15:28.371Z] nexus3.edgexfoundry.org:10002 [2022-06-03T11:15:28.371Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-03T11:15:28.632Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-03T11:15:28.632Z] Configure a credential helper to remove this warning. See [2022-06-03T11:15:28.632Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-03T11:15:28.632Z] [2022-06-03T11:15:28.632Z] Login Succeeded [2022-06-03T11:15:28.632Z] nexus3.edgexfoundry.org:10003 [2022-06-03T11:15:28.632Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-03T11:15:28.633Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-03T11:15:28.633Z] Configure a credential helper to remove this warning. See [2022-06-03T11:15:28.633Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-03T11:15:28.633Z] [2022-06-03T11:15:28.633Z] Login Succeeded [2022-06-03T11:15:28.633Z] nexus3.edgexfoundry.org:10004 [2022-06-03T11:15:28.897Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-03T11:15:28.897Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-03T11:15:28.897Z] Configure a credential helper to remove this warning. See [2022-06-03T11:15:28.897Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-03T11:15:28.897Z] [2022-06-03T11:15:28.897Z] Login Succeeded [2022-06-03T11:15:28.897Z] docker.io [2022-06-03T11:15:28.897Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-03T11:15:29.160Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-03T11:15:29.160Z] Configure a credential helper to remove this warning. See [2022-06-03T11:15:29.160Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-03T11:15:29.160Z] [2022-06-03T11:15:29.160Z] Login Succeeded [2022-06-03T11:15:29.160Z] ---> docker-login.sh ends [Pipeline] } [2022-06-03T11:15:29.168Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-06-03T11:15:29.240Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-06-03T11:15:29.251Z] ========================================================= [2022-06-03T11:15:29.251Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine] [2022-06-03T11:15:29.251Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-03T11:15:29.571Z] + 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-03T11:15:29.571Z] Sending build context to Docker daemon 23.14MB [2022-06-03T11:15:29.571Z] Step 1/12 : ARG BASE=golang:1.17-alpine3.15 [2022-06-03T11:15:29.571Z] Step 2/12 : FROM ${BASE} AS builder [2022-06-03T11:15:29.830Z] 1.17-alpine: Pulling from edgex-devops/edgex-golang-base [2022-06-03T11:15:29.830Z] 59bf1c3509f3: Pulling fs layer [2022-06-03T11:15:29.830Z] 666ba61612fd: Pulling fs layer [2022-06-03T11:15:29.830Z] 8ed8ca486205: Pulling fs layer [2022-06-03T11:15:29.830Z] 4fe6c5a15a65: Pulling fs layer [2022-06-03T11:15:29.830Z] 22a0e8bec74d: Pulling fs layer [2022-06-03T11:15:29.830Z] ca2b28591e48: Pulling fs layer [2022-06-03T11:15:29.830Z] a51346096db8: Pulling fs layer [2022-06-03T11:15:29.830Z] daebc70d1ce1: Pulling fs layer [2022-06-03T11:15:29.830Z] 0e18a0eac166: Pulling fs layer [2022-06-03T11:15:29.830Z] 4fe6c5a15a65: Waiting [2022-06-03T11:15:29.830Z] 22a0e8bec74d: Waiting [2022-06-03T11:15:29.830Z] ca2b28591e48: Waiting [2022-06-03T11:15:29.830Z] a51346096db8: Waiting [2022-06-03T11:15:29.830Z] 0e18a0eac166: Waiting [2022-06-03T11:15:29.830Z] daebc70d1ce1: Waiting [2022-06-03T11:15:29.830Z] 8ed8ca486205: Verifying Checksum [2022-06-03T11:15:29.830Z] 8ed8ca486205: Download complete [2022-06-03T11:15:29.830Z] 666ba61612fd: Download complete [2022-06-03T11:15:29.830Z] 22a0e8bec74d: Download complete [2022-06-03T11:15:29.830Z] ca2b28591e48: Verifying Checksum [2022-06-03T11:15:29.830Z] ca2b28591e48: Download complete [2022-06-03T11:15:29.830Z] a51346096db8: Download complete [2022-06-03T11:15:29.830Z] 59bf1c3509f3: Verifying Checksum [2022-06-03T11:15:29.830Z] 59bf1c3509f3: Download complete [2022-06-03T11:15:29.830Z] daebc70d1ce1: Verifying Checksum [2022-06-03T11:15:29.830Z] daebc70d1ce1: Download complete [2022-06-03T11:15:30.091Z] 59bf1c3509f3: Pull complete [2022-06-03T11:15:30.091Z] 666ba61612fd: Pull complete [2022-06-03T11:15:30.351Z] 8ed8ca486205: Pull complete [2022-06-03T11:15:30.610Z] 0e18a0eac166: Verifying Checksum [2022-06-03T11:15:30.610Z] 0e18a0eac166: Download complete [2022-06-03T11:15:30.610Z] 4fe6c5a15a65: Verifying Checksum [2022-06-03T11:15:30.610Z] 4fe6c5a15a65: Download complete [2022-06-03T11:15:34.812Z] 4fe6c5a15a65: Pull complete [2022-06-03T11:15:34.812Z] 22a0e8bec74d: Pull complete [2022-06-03T11:15:34.813Z] ca2b28591e48: Pull complete [2022-06-03T11:15:35.077Z] a51346096db8: Pull complete [2022-06-03T11:15:35.077Z] daebc70d1ce1: Pull complete [2022-06-03T11:15:37.627Z] 0e18a0eac166: Pull complete [2022-06-03T11:15:37.627Z] Digest: sha256:5cf2d0a306c5171eb5b3008c4b83cc7b6044f1808c238cb17927cddb93576120 [2022-06-03T11:15:37.627Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine [2022-06-03T11:15:37.627Z] ---> f018257e8ee9 [2022-06-03T11:15:37.627Z] Step 3/12 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2022-06-03T11:15:40.190Z] ---> Running in 1854dd91ee32 [2022-06-03T11:15:40.451Z] Removing intermediate container 1854dd91ee32 [2022-06-03T11:15:40.451Z] ---> 0033de286f3f [2022-06-03T11:15:40.451Z] Step 4/12 : ARG ALPINE_PKG_EXTRA="" [2022-06-03T11:15:40.451Z] ---> Running in 7831078462ba [2022-06-03T11:15:40.451Z] Removing intermediate container 7831078462ba [2022-06-03T11:15:40.451Z] ---> 8e559489697f [2022-06-03T11:15:40.451Z] Step 5/12 : WORKDIR /device-virtual-go [2022-06-03T11:15:40.712Z] ---> Running in 99ff42cf681e [2022-06-03T11:15:40.712Z] Removing intermediate container 99ff42cf681e [2022-06-03T11:15:40.712Z] ---> 5c3f31ee7411 [2022-06-03T11:15:40.712Z] Step 6/12 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-06-03T11:15:40.712Z] ---> Running in 53f29d32d64f [2022-06-03T11:15:41.284Z] Removing intermediate container 53f29d32d64f [2022-06-03T11:15:41.284Z] ---> 228856f8e897 [2022-06-03T11:15:41.284Z] Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-06-03T11:15:41.546Z] ---> Running in 02d62e4d56eb [2022-06-03T11:15:41.808Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz [2022-06-03T11:15:42.752Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz [2022-06-03T11:15:43.013Z] (1/4) Installing openssh-keygen (8.8_p1-r1) [2022-06-03T11:15:43.013Z] (2/4) Installing libedit (20210910.3.1-r0) [2022-06-03T11:15:43.019Z] Still waiting to schedule task [2022-06-03T11:15:43.019Z] Waiting for next available executor on ‘prd-ubuntu20.04-docker-arm64-4c-16g-919’ [2022-06-03T11:15:43.274Z] (3/4) Installing openssh-client-common (8.8_p1-r1) [2022-06-03T11:15:43.274Z] (4/4) Installing openssh-client-default (8.8_p1-r1) [2022-06-03T11:15:43.536Z] Executing busybox-1.34.1-r3.trigger [2022-06-03T11:15:43.536Z] OK: 224 MiB in 56 packages [2022-06-03T11:15:44.106Z] Removing intermediate container 02d62e4d56eb [2022-06-03T11:15:44.106Z] ---> 4d67a9a3e579 [2022-06-03T11:15:44.106Z] Step 8/12 : COPY go.mod vendor* ./ [2022-06-03T11:15:44.368Z] ---> 0c687ba44e95 [2022-06-03T11:15:44.368Z] Step 9/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-06-03T11:15:44.630Z] ---> Running in afa83bd5c784 [2022-06-03T11:16:02.783Z] Removing intermediate container afa83bd5c784 [2022-06-03T11:16:02.784Z] ---> 52094b9e0bdb [2022-06-03T11:16:02.784Z] Step 10/12 : COPY . . [2022-06-03T11:16:02.784Z] ---> 9d86fa7d5655 [2022-06-03T11:16:02.784Z] Step 11/12 : ARG MAKE='make build' [2022-06-03T11:16:02.784Z] ---> Running in 67c908a5bc51 [2022-06-03T11:16:02.784Z] Removing intermediate container 67c908a5bc51 [2022-06-03T11:16:02.784Z] ---> b79b01873aa9 [2022-06-03T11:16:02.784Z] Step 12/12 : RUN $MAKE [2022-06-03T11:16:02.784Z] ---> Running in 6204172aad4d [2022-06-03T11:16:02.784Z] noop [2022-06-03T11:16:02.784Z] Removing intermediate container 6204172aad4d [2022-06-03T11:16:02.784Z] ---> f469cf7c767e [2022-06-03T11:16:02.784Z] Successfully built f469cf7c767e [2022-06-03T11:16:02.784Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-03T11:16:03.148Z] + docker inspect -f . ci-base-image-x86_64 [2022-06-03T11:16:03.148Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-06-03T11:16:03.245Z] prd-ubuntu20.04-docker-8c-8g-921 does not seem to be running inside a container [2022-06-03T11:16:03.290Z] $ 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-03T11:16:03.759Z] $ docker top 9b5b18405d9d69ba9b27f18d66076109d291266fe278e1696516489415c6dc2f -eo pid,comm [Pipeline] { [Pipeline] sh [2022-06-03T11:16:04.127Z] + go version [2022-06-03T11:16:04.127Z] go version go1.17.6 linux/amd64 [Pipeline] } [2022-06-03T11:16:04.145Z] $ docker stop --time=1 9b5b18405d9d69ba9b27f18d66076109d291266fe278e1696516489415c6dc2f [2022-06-03T11:16:05.929Z] $ docker rm -f 9b5b18405d9d69ba9b27f18d66076109d291266fe278e1696516489415c6dc2f [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-03T11:16:06.367Z] + docker inspect -f . ci-base-image-x86_64 [2022-06-03T11:16:06.367Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-06-03T11:16:06.450Z] prd-ubuntu20.04-docker-8c-8g-921 does not seem to be running inside a container [2022-06-03T11:16:06.543Z] $ 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-03T11:16:07.225Z] $ docker top 77907853086fd9ce700781b34b2d116e4b2a8f7b6b685c6edf25c2b4ef4cce76 -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh [2022-06-03T11:16:07.675Z] + make test [2022-06-03T11:16:07.675Z] CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out [2022-06-03T11:16:08.251Z] ? github.com/edgexfoundry/device-virtual-go [no test files] [2022-06-03T11:16:18.252Z] ? github.com/edgexfoundry/device-virtual-go/cmd [no test files] [2022-06-03T11:16:18.252Z] ok github.com/edgexfoundry/device-virtual-go/internal/driver 0.044s coverage: 65.7% of statements [2022-06-03T11:16:26.388Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2022-06-03T11:16:30.587Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-06-03T11:16:30.587Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2022-06-03T11:16:30.587Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2022-06-03T11:16:30.600Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2022-06-03T11:16:30.620Z] $ docker stop --time=1 77907853086fd9ce700781b34b2d116e4b2a8f7b6b685c6edf25c2b4ef4cce76 [2022-06-03T11:16:33.130Z] $ docker rm -f 77907853086fd9ce700781b34b2d116e4b2a8f7b6b685c6edf25c2b4ef4cce76 [Pipeline] // withDockerContainer [Pipeline] sh [2022-06-03T11:16:33.608Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2022-06-03T11:16:33.655Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2022-06-03T11:16:34.151Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2022-06-03T11:16:34.441Z] + ls -al . [2022-06-03T11:16:34.442Z] total 192 [2022-06-03T11:16:34.442Z] drwxrwxr-x 9 jenkins jenkins 4096 Jun 3 11:16 . [2022-06-03T11:16:34.442Z] drwxrwxr-x 4 jenkins jenkins 4096 Jun 3 11:15 .. [2022-06-03T11:16:34.442Z] drwxrwxr-x 8 jenkins jenkins 4096 Jun 3 11:15 .git [2022-06-03T11:16:34.442Z] drwxrwxr-x 3 jenkins jenkins 4096 Jun 3 11:15 .github [2022-06-03T11:16:34.442Z] -rw-rw-r-- 1 jenkins jenkins 337 Jun 3 11:15 .gitignore [2022-06-03T11:16:34.442Z] -rw-rw-r-- 1 jenkins jenkins 41 Jun 3 11:15 .golangci.yml [2022-06-03T11:16:34.442Z] drwxr-xr-x 3 jenkins jenkins 4096 Jun 3 11:15 .semver [2022-06-03T11:16:34.442Z] -rw-rw-r-- 1 jenkins jenkins 8026 Jun 3 11:15 Attribution.txt [2022-06-03T11:16:34.442Z] -rw-rw-r-- 1 jenkins jenkins 9649 Jun 3 11:15 CHANGELOG.md [2022-06-03T11:16:34.442Z] -rw-rw-r-- 1 jenkins jenkins 1974 Jun 3 11:15 Dockerfile [2022-06-03T11:16:34.442Z] -rw-rw-r-- 1 jenkins jenkins 677 Jun 3 11:15 GOVERNANCE.md [2022-06-03T11:16:34.442Z] -rw-rw-r-- 1 jenkins jenkins 660 Jun 3 11:15 Jenkinsfile [2022-06-03T11:16:34.442Z] -rw-rw-r-- 1 jenkins jenkins 11340 Jun 3 11:15 LICENSE [2022-06-03T11:16:34.442Z] -rw-rw-r-- 1 jenkins jenkins 2248 Jun 3 11:15 Makefile [2022-06-03T11:16:34.442Z] -rw-rw-r-- 1 jenkins jenkins 623 Jun 3 11:15 OWNERS.md [2022-06-03T11:16:34.442Z] -rw-rw-r-- 1 jenkins jenkins 2914 Jun 3 11:15 README.md [2022-06-03T11:16:34.442Z] -rw-rw-r-- 1 jenkins jenkins 5 Jun 3 11:15 VERSION [2022-06-03T11:16:34.442Z] drwxrwxr-x 2 jenkins jenkins 4096 Jun 3 11:15 bin [2022-06-03T11:16:34.442Z] drwxrwxr-x 3 jenkins jenkins 4096 Jun 3 11:15 cmd [2022-06-03T11:16:34.442Z] -rw-r--r-- 1 jenkins jenkins 44128 Jun 3 11:16 coverage.out [2022-06-03T11:16:34.442Z] -rw-rw-r-- 1 jenkins jenkins 3139 Jun 3 11:15 go.mod [2022-06-03T11:16:34.442Z] -rw-rw-r-- 1 jenkins jenkins 35006 Jun 3 11:15 go.sum [2022-06-03T11:16:34.442Z] drwxrwxr-x 3 jenkins jenkins 4096 Jun 3 11:15 internal [2022-06-03T11:16:34.442Z] drwxrwxr-x 3 jenkins jenkins 4096 Jun 3 11:15 snap [2022-06-03T11:16:34.442Z] -rw-rw-r-- 1 jenkins jenkins 235 Jun 3 11:15 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-03T11:16:34.897Z] + 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=e414a0ef60f40c4bc0a47abe8eed3674be8d338f --label arch=amd64 --label version=0.0.0 . [2022-06-03T11:16:34.897Z] Sending build context to Docker daemon 23.19MB [2022-06-03T11:16:34.897Z] Step 1/26 : ARG BASE=golang:1.17-alpine3.15 [2022-06-03T11:16:34.897Z] Step 2/26 : FROM ${BASE} AS builder [2022-06-03T11:16:34.897Z] ---> f469cf7c767e [2022-06-03T11:16:34.897Z] Step 3/26 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2022-06-03T11:16:35.159Z] ---> Running in 6a8230e8588c [2022-06-03T11:16:35.159Z] Removing intermediate container 6a8230e8588c [2022-06-03T11:16:35.159Z] ---> 1a2222602ac5 [2022-06-03T11:16:35.159Z] Step 4/26 : ARG ALPINE_PKG_EXTRA="" [2022-06-03T11:16:35.421Z] ---> Running in 4bb1c7258d20 [2022-06-03T11:16:35.421Z] Removing intermediate container 4bb1c7258d20 [2022-06-03T11:16:35.421Z] ---> 88af4b782619 [2022-06-03T11:16:35.421Z] Step 5/26 : WORKDIR /device-virtual-go [2022-06-03T11:16:35.421Z] ---> Running in a993ca8bd6f5 [2022-06-03T11:16:35.683Z] Removing intermediate container a993ca8bd6f5 [2022-06-03T11:16:35.683Z] ---> 3f9eff47ff3e [2022-06-03T11:16:35.683Z] Step 6/26 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-06-03T11:16:35.683Z] ---> Running in 26b142ccbead [2022-06-03T11:16:36.255Z] Removing intermediate container 26b142ccbead [2022-06-03T11:16:36.255Z] ---> 7c77348b7f11 [2022-06-03T11:16:36.255Z] Step 7/26 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-06-03T11:16:36.255Z] ---> Running in acadc8a82c2a [2022-06-03T11:16:36.828Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz [2022-06-03T11:16:37.397Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz [2022-06-03T11:16:37.659Z] OK: 224 MiB in 56 packages [2022-06-03T11:16:38.236Z] Removing intermediate container acadc8a82c2a [2022-06-03T11:16:38.236Z] ---> bc819661b457 [2022-06-03T11:16:38.236Z] Step 8/26 : COPY go.mod vendor* ./ [2022-06-03T11:16:38.236Z] ---> 4370d46bdb6d [2022-06-03T11:16:38.236Z] Step 9/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-06-03T11:16:38.236Z] ---> Running in 0bd417070d8a [2022-06-03T11:16:39.178Z] Removing intermediate container 0bd417070d8a [2022-06-03T11:16:39.178Z] ---> e0132728d488 [2022-06-03T11:16:39.178Z] Step 10/26 : COPY . . [2022-06-03T11:16:40.120Z] ---> 692c48e2beb7 [2022-06-03T11:16:40.120Z] Step 11/26 : ARG MAKE='make build' [2022-06-03T11:16:40.120Z] ---> Running in da8dd2276b84 [2022-06-03T11:16:40.120Z] Removing intermediate container da8dd2276b84 [2022-06-03T11:16:40.120Z] ---> f8fafeef9cb7 [2022-06-03T11:16:40.120Z] Step 12/26 : RUN $MAKE [2022-06-03T11:16:40.382Z] ---> Running in b19bc5c4f302 [2022-06-03T11:16:40.640Z] 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-03T11:17:02.617Z] Removing intermediate container b19bc5c4f302 [2022-06-03T11:17:02.617Z] ---> a00968414efd [2022-06-03T11:17:02.617Z] Step 13/26 : FROM alpine:3.14 [2022-06-03T11:17:02.617Z] 3.14: Pulling from library/alpine [2022-06-03T11:17:02.617Z] 8663204ce13b: Pulling fs layer [2022-06-03T11:17:02.617Z] 8663204ce13b: Verifying Checksum [2022-06-03T11:17:02.617Z] 8663204ce13b: Download complete [2022-06-03T11:17:02.617Z] 8663204ce13b: Pull complete [2022-06-03T11:17:02.617Z] Digest: sha256:06b5d462c92fc39303e6363c65e074559f8d6b1363250027ed5053557e3398c5 [2022-06-03T11:17:02.617Z] Status: Downloaded newer image for alpine:3.14 [2022-06-03T11:17:02.617Z] ---> e04c818066af [2022-06-03T11:17:02.617Z] Step 14/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2021: IOTech' [2022-06-03T11:17:02.878Z] ---> Running in 8b3936d99319 [2022-06-03T11:17:02.878Z] Removing intermediate container 8b3936d99319 [2022-06-03T11:17:02.878Z] ---> e1235557fab2 [2022-06-03T11:17:02.878Z] Step 15/26 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-06-03T11:17:02.878Z] ---> Running in f783a0efab22 [2022-06-03T11:17:03.448Z] Removing intermediate container f783a0efab22 [2022-06-03T11:17:03.448Z] ---> c4455f6ac66a [2022-06-03T11:17:03.448Z] Step 16/26 : RUN apk add --update --no-cache zeromq dumb-init [2022-06-03T11:17:03.708Z] ---> Running in f3fc3eb4c3b4 [2022-06-03T11:17:03.968Z] fetch https://nl.alpinelinux.org/alpine/v3.14/main/x86_64/APKINDEX.tar.gz [2022-06-03T11:17:04.909Z] fetch https://nl.alpinelinux.org/alpine/v3.14/community/x86_64/APKINDEX.tar.gz [2022-06-03T11:17:05.181Z] (1/6) Installing dumb-init (1.2.5-r1) [2022-06-03T11:17:05.181Z] (2/6) Installing libgcc (10.3.1_git20210424-r2) [2022-06-03T11:17:05.181Z] (3/6) Installing libsodium (1.0.18-r0) [2022-06-03T11:17:05.442Z] (4/6) Installing libstdc++ (10.3.1_git20210424-r2) [2022-06-03T11:17:05.443Z] (5/6) Installing libzmq (4.3.4-r0) [2022-06-03T11:17:05.443Z] (6/6) Installing zeromq (4.3.4-r0) [2022-06-03T11:17:05.703Z] Executing busybox-1.33.1-r7.trigger [2022-06-03T11:17:05.703Z] OK: 8 MiB in 20 packages [2022-06-03T11:17:06.276Z] Removing intermediate container f3fc3eb4c3b4 [2022-06-03T11:17:06.276Z] ---> edc83b82b469 [2022-06-03T11:17:06.276Z] Step 17/26 : WORKDIR / [2022-06-03T11:17:06.276Z] ---> Running in 5f14f37242c8 [2022-06-03T11:17:06.276Z] Removing intermediate container 5f14f37242c8 [2022-06-03T11:17:06.276Z] ---> 0b282ba2c52e [2022-06-03T11:17:06.276Z] Step 18/26 : COPY --from=builder /device-virtual-go/Attribution.txt / [2022-06-03T11:17:06.538Z] ---> 17a1848b2e51 [2022-06-03T11:17:06.538Z] Step 19/26 : COPY --from=builder /device-virtual-go/LICENSE / [2022-06-03T11:17:06.538Z] ---> 3074565c2be6 [2022-06-03T11:17:06.538Z] Step 20/26 : COPY --from=builder /device-virtual-go/cmd / [2022-06-03T11:17:07.482Z] ---> 7b4be5afed27 [2022-06-03T11:17:07.482Z] Step 21/26 : EXPOSE 59900 [2022-06-03T11:17:07.482Z] ---> Running in b03264ea1a79 [2022-06-03T11:17:07.742Z] Removing intermediate container b03264ea1a79 [2022-06-03T11:17:07.742Z] ---> 0c3c9cd915fc [2022-06-03T11:17:07.742Z] Step 22/26 : ENTRYPOINT ["/device-virtual"] [2022-06-03T11:17:07.742Z] ---> Running in dab8c13e6215 [2022-06-03T11:17:08.003Z] Removing intermediate container dab8c13e6215 [2022-06-03T11:17:08.003Z] ---> d12c9fa07916 [2022-06-03T11:17:08.003Z] Step 23/26 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2022-06-03T11:17:08.003Z] ---> Running in 54e4c5df2358 [2022-06-03T11:17:08.263Z] Removing intermediate container 54e4c5df2358 [2022-06-03T11:17:08.263Z] ---> 885c65736f4a [2022-06-03T11:17:08.263Z] Step 24/26 : LABEL arch=amd64 [2022-06-03T11:17:08.263Z] ---> Running in c9bdde338d61 [2022-06-03T11:17:08.263Z] Removing intermediate container c9bdde338d61 [2022-06-03T11:17:08.263Z] ---> fde13f87c2c5 [2022-06-03T11:17:08.263Z] Step 25/26 : LABEL git_sha=e414a0ef60f40c4bc0a47abe8eed3674be8d338f [2022-06-03T11:17:08.524Z] ---> Running in de61b9cf13a3 [2022-06-03T11:17:08.524Z] Removing intermediate container de61b9cf13a3 [2022-06-03T11:17:08.524Z] ---> 622c575464c0 [2022-06-03T11:17:08.524Z] Step 26/26 : LABEL version=0.0.0 [2022-06-03T11:17:08.524Z] ---> Running in 3c65a4fb60aa [2022-06-03T11:17:08.785Z] Removing intermediate container 3c65a4fb60aa [2022-06-03T11:17:08.785Z] ---> 990bf2d76532 [2022-06-03T11:17:08.785Z] [Warning] One or more build-args [ARCH] were not consumed [2022-06-03T11:17:08.785Z] Successfully built 990bf2d76532 [2022-06-03T11:17:08.785Z] 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-03T11:17:09.193Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-06-03T11:17:09.194Z] [2022-06-03T11:17:09.194Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-03T11:17:09.499Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-06-03T11:17:09.499Z] latest: Pulling from edgex-lftools-log-publisher [2022-06-03T11:17:09.499Z] 5eb5b503b376: Pulling fs layer [2022-06-03T11:17:09.499Z] 5c69ac0246d0: Pulling fs layer [2022-06-03T11:17:09.499Z] ec43610c2a17: Pulling fs layer [2022-06-03T11:17:09.499Z] 3a2ae6a8a46f: Pulling fs layer [2022-06-03T11:17:09.499Z] 33b1e0a273af: Pulling fs layer [2022-06-03T11:17:09.499Z] 5d3b04190fa2: Pulling fs layer [2022-06-03T11:17:09.499Z] 2f39f015ded8: Pulling fs layer [2022-06-03T11:17:09.499Z] 3a2ae6a8a46f: Waiting [2022-06-03T11:17:09.499Z] 5c69ac0246d0: Verifying Checksum [2022-06-03T11:17:09.499Z] 5c69ac0246d0: Download complete [2022-06-03T11:17:09.499Z] 3a2ae6a8a46f: Verifying Checksum [2022-06-03T11:17:09.499Z] 3a2ae6a8a46f: Download complete [2022-06-03T11:17:09.499Z] ec43610c2a17: Verifying Checksum [2022-06-03T11:17:09.499Z] ec43610c2a17: Download complete [2022-06-03T11:17:09.499Z] 33b1e0a273af: Verifying Checksum [2022-06-03T11:17:09.499Z] 33b1e0a273af: Download complete [2022-06-03T11:17:09.759Z] 5d3b04190fa2: Download complete [2022-06-03T11:17:09.759Z] 5eb5b503b376: Verifying Checksum [2022-06-03T11:17:09.759Z] 5eb5b503b376: Download complete [2022-06-03T11:17:10.331Z] 2f39f015ded8: Verifying Checksum [2022-06-03T11:17:10.331Z] 2f39f015ded8: Download complete [2022-06-03T11:17:11.273Z] 5eb5b503b376: Pull complete [2022-06-03T11:17:11.273Z] 5c69ac0246d0: Pull complete [2022-06-03T11:17:11.843Z] ec43610c2a17: Pull complete [2022-06-03T11:17:11.843Z] 3a2ae6a8a46f: Pull complete [2022-06-03T11:17:12.104Z] 33b1e0a273af: Pull complete [2022-06-03T11:17:12.365Z] 5d3b04190fa2: Pull complete [2022-06-03T11:17:17.651Z] 2f39f015ded8: Pull complete [2022-06-03T11:17:17.651Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2022-06-03T11:17:17.651Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-06-03T11:17:17.651Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-06-03T11:17:17.747Z] prd-ubuntu20.04-docker-8c-8g-921 does not seem to be running inside a container [2022-06-03T11:17:17.802Z] $ 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-03T11:17:21.069Z] $ docker top c008a25b9df797a5678c7a3f349047b45494f89d417dbd70acac1fd6ffecb845 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-06-03T11:17:21.568Z] ---> job-cost.sh [2022-06-03T11:17:21.568Z] lf-activate-venv: SKIPPING [2022-06-03T11:17:21.568Z] INFO: No Stack... [2022-06-03T11:17:21.828Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2022-06-03T11:17:22.401Z] INFO: Archiving Costs [Pipeline] sh [2022-06-03T11:17:22.695Z] + cat /w/workspace/foundry_device-virtual-go_PR-287/archives/cost.csv [2022-06-03T11:17:22.695Z] + cut -d, -f6 [Pipeline] lock [2022-06-03T11:17:22.710Z] Trying to acquire lock on [jenkins-edgexfoundry-device-virtual-go-PR-287-10-stack-cost] [2022-06-03T11:17:22.716Z] Resource [jenkins-edgexfoundry-device-virtual-go-PR-287-10-stack-cost] did not exist. Created. [2022-06-03T11:17:22.716Z] Lock acquired on [jenkins-edgexfoundry-device-virtual-go-PR-287-10-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-06-03T11:17:23.020Z] + echo total: 0.2199999988079071 [Pipeline] stash [2022-06-03T11:17:23.045Z] Stashed 1 file(s) [Pipeline] } [2022-06-03T11:17:23.051Z] Lock released on resource [jenkins-edgexfoundry-device-virtual-go-PR-287-10-stack-cost] [Pipeline] // lock [Pipeline] } [2022-06-03T11:17:23.073Z] $ docker stop --time=1 c008a25b9df797a5678c7a3f349047b45494f89d417dbd70acac1fd6ffecb845 [2022-06-03T11:17:24.290Z] $ docker rm -f c008a25b9df797a5678c7a3f349047b45494f89d417dbd70acac1fd6ffecb845 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2022-06-03T11:19:26.776Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-922 in /w/workspace/foundry_device-virtual-go_PR-287 [Pipeline] { [Pipeline] ws [2022-06-03T11:19:26.791Z] Running in /w/workspace/device-virtual-go/10 [Pipeline] { [Pipeline] checkout [2022-06-03T11:19:26.835Z] The recommended git tool is: git [2022-06-03T11:19:32.698Z] using credential edgex-jenkins-ssh [2022-06-03T11:19:32.717Z] Cloning the remote Git repository [2022-06-03T11:19:32.772Z] Cloning repository git@github.com:edgexfoundry/device-virtual-go.git [2022-06-03T11:19:32.894Z] > git init /w/workspace/device-virtual-go/10 # timeout=10 [2022-06-03T11:19:33.026Z] Fetching upstream changes from git@github.com:edgexfoundry/device-virtual-go.git [2022-06-03T11:19:33.026Z] > git --version # timeout=10 [2022-06-03T11:19:33.080Z] > git --version # 'git version 2.25.1' [2022-06-03T11:19:33.082Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-06-03T11:19:33.210Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-virtual-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-06-03T11:19:35.799Z] Merging remotes/origin/main commit 9cab87334a4d5affcc1b2c5c12d642008ef46c2d into PR head commit e414a0ef60f40c4bc0a47abe8eed3674be8d338f [2022-06-03T11:19:36.055Z] Merge succeeded, producing e414a0ef60f40c4bc0a47abe8eed3674be8d338f [2022-06-03T11:19:36.055Z] Checking out Revision e414a0ef60f40c4bc0a47abe8eed3674be8d338f (PR-287) [2022-06-03T11:19:35.150Z] > git config remote.origin.url git@github.com:edgexfoundry/device-virtual-go.git # timeout=10 [2022-06-03T11:19:35.166Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-06-03T11:19:35.197Z] > git config remote.origin.url git@github.com:edgexfoundry/device-virtual-go.git # timeout=10 [2022-06-03T11:19:35.237Z] Fetching upstream changes from git@github.com:edgexfoundry/device-virtual-go.git [2022-06-03T11:19:35.238Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-06-03T11:19:35.250Z] > 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-03T11:19:35.821Z] > git config core.sparsecheckout # timeout=10 [2022-06-03T11:19:35.838Z] > git checkout -f e414a0ef60f40c4bc0a47abe8eed3674be8d338f # timeout=10 [2022-06-03T11:19:35.946Z] > git remote # timeout=10 [2022-06-03T11:19:35.969Z] > git config --get remote.origin.url # timeout=10 [2022-06-03T11:19:35.988Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-06-03T11:19:36.003Z] > git merge 9cab87334a4d5affcc1b2c5c12d642008ef46c2d # timeout=10 [2022-06-03T11:19:36.034Z] > git rev-parse HEAD^{commit} # timeout=10 [2022-06-03T11:19:36.067Z] > git config core.sparsecheckout # timeout=10 [2022-06-03T11:19:36.079Z] > git checkout -f e414a0ef60f40c4bc0a47abe8eed3674be8d338f # timeout=10 [2022-06-03T11:19:40.338Z] Commit message: "feat(snap): Enable config options after SetComponentName" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-06-03T11:19:41.288Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2022-06-03T11:19:41.288Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-06-03T11:19:41.288Z] Dload Upload Total Spent Left Speed [2022-06-03T11:19:41.288Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12253 100 12253 0 0 59480 0 --:--:-- --:--:-- --:--:-- 59193 [Pipeline] sh [2022-06-03T11:19:42.107Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2022-06-03T11:19:42.451Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2022-06-03T11:19:42.451Z] + sudo tee /etc/docker/daemon.new [2022-06-03T11:19:42.451Z] { [2022-06-03T11:19:42.451Z] "registry-mirrors": [ [2022-06-03T11:19:42.451Z] "https://nexus3.edgexfoundry.org:10001" [2022-06-03T11:19:42.451Z] ], [2022-06-03T11:19:42.451Z] "bip": "10.250.0.254/24", [2022-06-03T11:19:42.451Z] "hosts": [ [2022-06-03T11:19:42.451Z] "tcp://0.0.0.0:5555", [2022-06-03T11:19:42.451Z] "unix:///var/run/docker.sock" [2022-06-03T11:19:42.451Z] ], [2022-06-03T11:19:42.451Z] "mtu": 1458, [2022-06-03T11:19:42.451Z] "selinux-enabled": true, [2022-06-03T11:19:42.451Z] "seccomp-profile": "/etc/docker/seccomp.json" [2022-06-03T11:19:42.451Z] } [Pipeline] sh [2022-06-03T11:19:42.801Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2022-06-03T11:19:43.158Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-06-03T11:20:01.493Z] provisioning config files... [2022-06-03T11:20:01.515Z] copy managed file [device-virtual-go-settings] to file:/w/workspace/device-virtual-go/10@tmp/config1055302428802433200tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-06-03T11:20:02.035Z] ---> docker-login.sh [2022-06-03T11:20:02.035Z] nexus3.edgexfoundry.org:10001 [2022-06-03T11:20:02.629Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-03T11:20:02.901Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-03T11:20:02.902Z] Configure a credential helper to remove this warning. See [2022-06-03T11:20:02.902Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-03T11:20:02.902Z] [2022-06-03T11:20:02.902Z] Login Succeeded [2022-06-03T11:20:02.902Z] nexus3.edgexfoundry.org:10002 [2022-06-03T11:20:03.175Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-03T11:20:03.448Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-03T11:20:03.448Z] Configure a credential helper to remove this warning. See [2022-06-03T11:20:03.448Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-03T11:20:03.448Z] [2022-06-03T11:20:03.448Z] Login Succeeded [2022-06-03T11:20:03.448Z] nexus3.edgexfoundry.org:10003 [2022-06-03T11:20:03.721Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-03T11:20:03.721Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-03T11:20:03.721Z] Configure a credential helper to remove this warning. See [2022-06-03T11:20:03.721Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-03T11:20:03.721Z] [2022-06-03T11:20:03.721Z] Login Succeeded [2022-06-03T11:20:03.721Z] nexus3.edgexfoundry.org:10004 [2022-06-03T11:20:04.325Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-03T11:20:04.325Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-03T11:20:04.325Z] Configure a credential helper to remove this warning. See [2022-06-03T11:20:04.325Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-03T11:20:04.325Z] [2022-06-03T11:20:04.325Z] Login Succeeded [2022-06-03T11:20:04.325Z] docker.io [2022-06-03T11:20:04.597Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-03T11:20:04.873Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-03T11:20:04.873Z] Configure a credential helper to remove this warning. See [2022-06-03T11:20:04.873Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-03T11:20:04.873Z] [2022-06-03T11:20:04.873Z] Login Succeeded [2022-06-03T11:20:05.144Z] ---> docker-login.sh ends [Pipeline] } [2022-06-03T11:20:05.161Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-06-03T11:20:05.425Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-06-03T11:20:05.436Z] ========================================================= [2022-06-03T11:20:05.436Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine] [2022-06-03T11:20:05.436Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-03T11:20:05.792Z] + 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-03T11:20:06.395Z] Sending build context to Docker daemon 11.76MB [2022-06-03T11:20:06.395Z] Step 1/12 : ARG BASE=golang:1.17-alpine3.15 [2022-06-03T11:20:06.395Z] Step 2/12 : FROM ${BASE} AS builder [2022-06-03T11:20:06.395Z] 1.17-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2022-06-03T11:20:06.395Z] 9b3977197b4f: Pulling fs layer [2022-06-03T11:20:06.395Z] 1a89e8eeedd5: Pulling fs layer [2022-06-03T11:20:06.395Z] 94645a83ff95: Pulling fs layer [2022-06-03T11:20:06.395Z] 3f3a8bcf1eab: Pulling fs layer [2022-06-03T11:20:06.395Z] 0c92f367c5e7: Pulling fs layer [2022-06-03T11:20:06.395Z] 3096ccb668a1: Pulling fs layer [2022-06-03T11:20:06.395Z] e8cf19c19ddd: Pulling fs layer [2022-06-03T11:20:06.395Z] a4caa8a26152: Pulling fs layer [2022-06-03T11:20:06.395Z] 3096ccb668a1: Waiting [2022-06-03T11:20:06.395Z] e8cf19c19ddd: Waiting [2022-06-03T11:20:06.395Z] 3f3a8bcf1eab: Waiting [2022-06-03T11:20:06.395Z] a4caa8a26152: Waiting [2022-06-03T11:20:06.395Z] 0c92f367c5e7: Waiting [2022-06-03T11:20:06.395Z] 94645a83ff95: Verifying Checksum [2022-06-03T11:20:06.395Z] 94645a83ff95: Download complete [2022-06-03T11:20:06.395Z] 1a89e8eeedd5: Verifying Checksum [2022-06-03T11:20:06.395Z] 1a89e8eeedd5: Download complete [2022-06-03T11:20:06.395Z] 0c92f367c5e7: Verifying Checksum [2022-06-03T11:20:06.395Z] 0c92f367c5e7: Download complete [2022-06-03T11:20:06.670Z] 3096ccb668a1: Verifying Checksum [2022-06-03T11:20:06.670Z] 3096ccb668a1: Download complete [2022-06-03T11:20:06.670Z] 9b3977197b4f: Download complete [2022-06-03T11:20:06.670Z] e8cf19c19ddd: Verifying Checksum [2022-06-03T11:20:06.670Z] e8cf19c19ddd: Download complete [2022-06-03T11:20:07.284Z] 9b3977197b4f: Pull complete [2022-06-03T11:20:07.889Z] 1a89e8eeedd5: Pull complete [2022-06-03T11:20:08.165Z] 94645a83ff95: Pull complete [2022-06-03T11:20:08.443Z] a4caa8a26152: Verifying Checksum [2022-06-03T11:20:08.443Z] a4caa8a26152: Download complete [2022-06-03T11:20:09.038Z] 3f3a8bcf1eab: Verifying Checksum [2022-06-03T11:20:09.038Z] 3f3a8bcf1eab: Download complete [2022-06-03T11:20:21.445Z] 3f3a8bcf1eab: Pull complete [2022-06-03T11:20:21.445Z] 0c92f367c5e7: Pull complete [2022-06-03T11:20:21.445Z] 3096ccb668a1: Pull complete [2022-06-03T11:20:21.445Z] e8cf19c19ddd: Pull complete [2022-06-03T11:20:28.352Z] a4caa8a26152: Pull complete [2022-06-03T11:20:28.352Z] Digest: sha256:b3ad895ecde34a7521bb8912598475bc58d052e1c2c58d00df7f0fe54a102a46 [2022-06-03T11:20:28.352Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine [2022-06-03T11:20:28.352Z] ---> 725f1c02e7f9 [2022-06-03T11:20:28.352Z] Step 3/12 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2022-06-03T11:20:28.955Z] ---> Running in b931538d0fc2 [2022-06-03T11:20:29.235Z] Removing intermediate container b931538d0fc2 [2022-06-03T11:20:29.235Z] ---> 64d44605f258 [2022-06-03T11:20:29.235Z] Step 4/12 : ARG ALPINE_PKG_EXTRA="" [2022-06-03T11:20:29.512Z] ---> Running in 325c8472e529 [2022-06-03T11:20:29.784Z] Removing intermediate container 325c8472e529 [2022-06-03T11:20:29.785Z] ---> a093e33e35a3 [2022-06-03T11:20:29.785Z] Step 5/12 : WORKDIR /device-virtual-go [2022-06-03T11:20:29.785Z] ---> Running in eb08778ecf06 [2022-06-03T11:20:30.083Z] Removing intermediate container eb08778ecf06 [2022-06-03T11:20:30.083Z] ---> b31b736779f0 [2022-06-03T11:20:30.083Z] Step 6/12 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-06-03T11:20:30.364Z] ---> Running in 4e913ccd5dbc [2022-06-03T11:20:33.008Z] Removing intermediate container 4e913ccd5dbc [2022-06-03T11:20:33.008Z] ---> e0b4bca6c149 [2022-06-03T11:20:33.008Z] Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-06-03T11:20:33.008Z] ---> Running in c6103f8aa1da [2022-06-03T11:20:33.985Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz [2022-06-03T11:20:34.961Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz [2022-06-03T11:20:35.938Z] (1/4) Installing openssh-keygen (8.8_p1-r1) [2022-06-03T11:20:35.938Z] (2/4) Installing libedit (20210910.3.1-r0) [2022-06-03T11:20:35.938Z] (3/4) Installing openssh-client-common (8.8_p1-r1) [2022-06-03T11:20:36.217Z] (4/4) Installing openssh-client-default (8.8_p1-r1) [2022-06-03T11:20:36.217Z] Executing busybox-1.34.1-r3.trigger [2022-06-03T11:20:36.217Z] OK: 224 MiB in 56 packages [2022-06-03T11:20:37.201Z] Removing intermediate container c6103f8aa1da [2022-06-03T11:20:37.201Z] ---> bd9b6e5da56a [2022-06-03T11:20:37.201Z] Step 8/12 : COPY go.mod vendor* ./ [2022-06-03T11:20:37.802Z] ---> e466e4d82ae7 [2022-06-03T11:20:37.802Z] Step 9/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-06-03T11:20:37.802Z] ---> Running in 4f8841d31449 [2022-06-03T11:21:24.823Z] Removing intermediate container 4f8841d31449 [2022-06-03T11:21:24.823Z] ---> 8cbb86769567 [2022-06-03T11:21:24.824Z] Step 10/12 : COPY . . [2022-06-03T11:21:24.824Z] ---> c539fb68d803 [2022-06-03T11:21:24.824Z] Step 11/12 : ARG MAKE='make build' [2022-06-03T11:21:24.824Z] ---> Running in a4971d2998c7 [2022-06-03T11:21:24.824Z] Removing intermediate container a4971d2998c7 [2022-06-03T11:21:24.824Z] ---> 2bd0b68c12ea [2022-06-03T11:21:24.824Z] Step 12/12 : RUN $MAKE [2022-06-03T11:21:24.824Z] ---> Running in e312743b3842 [2022-06-03T11:21:25.422Z] noop [2022-06-03T11:21:26.024Z] Removing intermediate container e312743b3842 [2022-06-03T11:21:26.024Z] ---> 40c7cf2b4c0b [2022-06-03T11:21:26.024Z] Successfully built 40c7cf2b4c0b [2022-06-03T11:21:26.024Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-03T11:21:26.407Z] + docker inspect -f . ci-base-image-arm64 [2022-06-03T11:21:26.407Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-06-03T11:21:26.683Z] prd-ubuntu20.04-docker-arm64-4c-16g-922 does not seem to be running inside a container [2022-06-03T11:21:26.776Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-virtual-go/10 -v /w/workspace/device-virtual-go/10:/w/workspace/device-virtual-go/10:rw,z -v /w/workspace/device-virtual-go/10@tmp:/w/workspace/device-virtual-go/10@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-03T11:21:28.150Z] $ docker top 44eebd41ab463fbfcf46a1949549bf3b112c8ffc7cae6c2b4a8427dc12bd5703 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-06-03T11:21:29.054Z] + go version [2022-06-03T11:21:29.054Z] go version go1.17.6 linux/arm64 [Pipeline] } [2022-06-03T11:21:29.088Z] $ docker stop --time=1 44eebd41ab463fbfcf46a1949549bf3b112c8ffc7cae6c2b4a8427dc12bd5703 [2022-06-03T11:21:30.770Z] $ docker rm -f 44eebd41ab463fbfcf46a1949549bf3b112c8ffc7cae6c2b4a8427dc12bd5703 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-03T11:21:31.404Z] + docker inspect -f . ci-base-image-arm64 [2022-06-03T11:21:31.404Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-06-03T11:21:31.638Z] prd-ubuntu20.04-docker-arm64-4c-16g-922 does not seem to be running inside a container [2022-06-03T11:21:31.727Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-virtual-go/10 -v /w/workspace/device-virtual-go/10:/w/workspace/device-virtual-go/10:rw,z -v /w/workspace/device-virtual-go/10@tmp:/w/workspace/device-virtual-go/10@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-03T11:21:32.980Z] $ docker top 59ea31f79fa50819710aaee47837f388f20dd66ac13e9d6076ef14f5b036c8e5 -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh [2022-06-03T11:21:33.918Z] + make test [2022-06-03T11:21:33.919Z] CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out [2022-06-03T11:21:35.369Z] ? github.com/edgexfoundry/device-virtual-go [no test files] [2022-06-03T11:22:57.271Z] ? github.com/edgexfoundry/device-virtual-go/cmd [no test files] [2022-06-03T11:22:57.271Z] ok github.com/edgexfoundry/device-virtual-go/internal/driver 0.149s coverage: 65.7% of statements [2022-06-03T11:22:57.271Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2022-06-03T11:22:57.271Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2022-06-03T11:23:24.099Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-06-03T11:23:24.099Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2022-06-03T11:23:24.099Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2022-06-03T11:23:25.556Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2022-06-03T11:23:25.577Z] $ docker stop --time=1 59ea31f79fa50819710aaee47837f388f20dd66ac13e9d6076ef14f5b036c8e5 [2022-06-03T11:23:27.348Z] $ docker rm -f 59ea31f79fa50819710aaee47837f388f20dd66ac13e9d6076ef14f5b036c8e5 [Pipeline] // withDockerContainer [Pipeline] sh [2022-06-03T11:23:28.297Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2022-06-03T11:23:28.324Z] Warning: overwriting stash ‘coverage-report’ [2022-06-03T11:23:29.096Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-06-03T11:23:29.502Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2022-06-03T11:23:29.854Z] + ls -al . [2022-06-03T11:23:29.855Z] total 188 [2022-06-03T11:23:29.855Z] drwxrwxr-x 8 jenkins jenkins 4096 Jun 3 11:23 . [2022-06-03T11:23:29.855Z] drwxrwxr-x 4 jenkins jenkins 4096 Jun 3 11:19 .. [2022-06-03T11:23:29.855Z] drwxrwxr-x 8 jenkins jenkins 4096 Jun 3 11:19 .git [2022-06-03T11:23:29.855Z] drwxrwxr-x 3 jenkins jenkins 4096 Jun 3 11:19 .github [2022-06-03T11:23:29.855Z] -rw-rw-r-- 1 jenkins jenkins 337 Jun 3 11:19 .gitignore [2022-06-03T11:23:29.855Z] -rw-rw-r-- 1 jenkins jenkins 41 Jun 3 11:19 .golangci.yml [2022-06-03T11:23:29.855Z] -rw-rw-r-- 1 jenkins jenkins 8026 Jun 3 11:19 Attribution.txt [2022-06-03T11:23:29.855Z] -rw-rw-r-- 1 jenkins jenkins 9649 Jun 3 11:19 CHANGELOG.md [2022-06-03T11:23:29.855Z] -rw-rw-r-- 1 jenkins jenkins 1974 Jun 3 11:19 Dockerfile [2022-06-03T11:23:29.855Z] -rw-rw-r-- 1 jenkins jenkins 677 Jun 3 11:19 GOVERNANCE.md [2022-06-03T11:23:29.855Z] -rw-rw-r-- 1 jenkins jenkins 660 Jun 3 11:19 Jenkinsfile [2022-06-03T11:23:29.855Z] -rw-rw-r-- 1 jenkins jenkins 11340 Jun 3 11:19 LICENSE [2022-06-03T11:23:29.855Z] -rw-rw-r-- 1 jenkins jenkins 2248 Jun 3 11:19 Makefile [2022-06-03T11:23:29.855Z] -rw-rw-r-- 1 jenkins jenkins 623 Jun 3 11:19 OWNERS.md [2022-06-03T11:23:29.855Z] -rw-rw-r-- 1 jenkins jenkins 2914 Jun 3 11:19 README.md [2022-06-03T11:23:29.855Z] -rw-rw-r-- 1 jenkins jenkins 5 Jun 3 11:15 VERSION [2022-06-03T11:23:29.855Z] drwxrwxr-x 2 jenkins jenkins 4096 Jun 3 11:19 bin [2022-06-03T11:23:29.855Z] drwxrwxr-x 3 jenkins jenkins 4096 Jun 3 11:19 cmd [2022-06-03T11:23:29.855Z] -rw-r--r-- 1 jenkins jenkins 44128 Jun 3 11:22 coverage.out [2022-06-03T11:23:29.855Z] -rw-rw-r-- 1 jenkins jenkins 3139 Jun 3 11:19 go.mod [2022-06-03T11:23:29.855Z] -rw-rw-r-- 1 jenkins jenkins 35006 Jun 3 11:19 go.sum [2022-06-03T11:23:29.855Z] drwxrwxr-x 3 jenkins jenkins 4096 Jun 3 11:19 internal [2022-06-03T11:23:29.855Z] drwxrwxr-x 3 jenkins jenkins 4096 Jun 3 11:19 snap [2022-06-03T11:23:29.855Z] -rw-rw-r-- 1 jenkins jenkins 235 Jun 3 11:19 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-03T11:23:30.262Z] + 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=e414a0ef60f40c4bc0a47abe8eed3674be8d338f --label arch=arm64 --label version=0.0.0 . [2022-06-03T11:23:30.880Z] Sending build context to Docker daemon 11.81MB [2022-06-03T11:23:30.880Z] Step 1/26 : ARG BASE=golang:1.17-alpine3.15 [2022-06-03T11:23:30.880Z] Step 2/26 : FROM ${BASE} AS builder [2022-06-03T11:23:30.880Z] ---> 40c7cf2b4c0b [2022-06-03T11:23:30.880Z] Step 3/26 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2022-06-03T11:23:31.172Z] ---> Running in 4c75d254d69e [2022-06-03T11:23:31.448Z] Removing intermediate container 4c75d254d69e [2022-06-03T11:23:31.448Z] ---> cc4971bff6c3 [2022-06-03T11:23:31.448Z] Step 4/26 : ARG ALPINE_PKG_EXTRA="" [2022-06-03T11:23:31.448Z] ---> Running in b3e7cd42d355 [2022-06-03T11:23:31.721Z] Removing intermediate container b3e7cd42d355 [2022-06-03T11:23:31.721Z] ---> 46601b57e33b [2022-06-03T11:23:31.721Z] Step 5/26 : WORKDIR /device-virtual-go [2022-06-03T11:23:31.999Z] ---> Running in 198077f6ffc5 [2022-06-03T11:23:32.274Z] Removing intermediate container 198077f6ffc5 [2022-06-03T11:23:32.274Z] ---> a25e417347b4 [2022-06-03T11:23:32.274Z] Step 6/26 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-06-03T11:23:32.274Z] ---> Running in f6ae822b28e4 [2022-06-03T11:23:34.247Z] Removing intermediate container f6ae822b28e4 [2022-06-03T11:23:34.247Z] ---> da86f453ac37 [2022-06-03T11:23:34.247Z] Step 7/26 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-06-03T11:23:34.247Z] ---> Running in 77f63f064953 [2022-06-03T11:23:35.222Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz [2022-06-03T11:23:35.815Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz [2022-06-03T11:23:36.794Z] OK: 224 MiB in 56 packages [2022-06-03T11:23:37.786Z] Removing intermediate container 77f63f064953 [2022-06-03T11:23:37.786Z] ---> f1345fbb9184 [2022-06-03T11:23:37.786Z] Step 8/26 : COPY go.mod vendor* ./ [2022-06-03T11:23:38.386Z] ---> 0a1ad1e8544e [2022-06-03T11:23:38.386Z] Step 9/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-06-03T11:23:38.386Z] ---> Running in 9392ae88107e [2022-06-03T11:23:40.377Z] Removing intermediate container 9392ae88107e [2022-06-03T11:23:40.377Z] ---> 0bf495403f11 [2022-06-03T11:23:40.377Z] Step 10/26 : COPY . . [2022-06-03T11:23:41.815Z] ---> a0b06c127496 [2022-06-03T11:23:41.815Z] Step 11/26 : ARG MAKE='make build' [2022-06-03T11:23:41.815Z] ---> Running in 76ec7102ab4a [2022-06-03T11:23:42.103Z] Removing intermediate container 76ec7102ab4a [2022-06-03T11:23:42.103Z] ---> b22d62fab0d2 [2022-06-03T11:23:42.103Z] Step 12/26 : RUN $MAKE [2022-06-03T11:23:42.383Z] ---> Running in 309222b4e13e [2022-06-03T11:23:43.367Z] 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-03T11:25:50.316Z] Removing intermediate container 309222b4e13e [2022-06-03T11:25:50.316Z] ---> 1eb8feb4ea08 [2022-06-03T11:25:50.316Z] Step 13/26 : FROM alpine:3.14 [2022-06-03T11:25:50.316Z] 3.14: Pulling from library/alpine [2022-06-03T11:25:50.316Z] 455c02918c45: Pulling fs layer [2022-06-03T11:25:50.316Z] 455c02918c45: Verifying Checksum [2022-06-03T11:25:50.316Z] 455c02918c45: Download complete [2022-06-03T11:25:50.316Z] 455c02918c45: Pull complete [2022-06-03T11:25:50.316Z] Digest: sha256:06b5d462c92fc39303e6363c65e074559f8d6b1363250027ed5053557e3398c5 [2022-06-03T11:25:50.316Z] Status: Downloaded newer image for alpine:3.14 [2022-06-03T11:25:50.316Z] ---> ac73e934f311 [2022-06-03T11:25:50.316Z] Step 14/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2021: IOTech' [2022-06-03T11:25:50.316Z] ---> Running in be93f664e818 [2022-06-03T11:25:50.592Z] Removing intermediate container be93f664e818 [2022-06-03T11:25:50.592Z] ---> 939ec36d54a9 [2022-06-03T11:25:50.592Z] Step 15/26 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-06-03T11:25:50.870Z] ---> Running in 17b6c4e2cf3c [2022-06-03T11:25:52.333Z] Removing intermediate container 17b6c4e2cf3c [2022-06-03T11:25:52.333Z] ---> d94e0ba01a13 [2022-06-03T11:25:52.333Z] Step 16/26 : RUN apk add --update --no-cache zeromq dumb-init [2022-06-03T11:25:52.616Z] ---> Running in bf6b51112977 [2022-06-03T11:25:53.599Z] fetch https://nl.alpinelinux.org/alpine/v3.14/main/aarch64/APKINDEX.tar.gz [2022-06-03T11:25:54.582Z] fetch https://nl.alpinelinux.org/alpine/v3.14/community/aarch64/APKINDEX.tar.gz [2022-06-03T11:25:55.569Z] (1/6) Installing dumb-init (1.2.5-r1) [2022-06-03T11:25:55.570Z] (2/6) Installing libgcc (10.3.1_git20210424-r2) [2022-06-03T11:25:55.570Z] (3/6) Installing libsodium (1.0.18-r0) [2022-06-03T11:25:55.570Z] (4/6) Installing libstdc++ (10.3.1_git20210424-r2) [2022-06-03T11:25:55.843Z] (5/6) Installing libzmq (4.3.4-r0) [2022-06-03T11:25:55.843Z] (6/6) Installing zeromq (4.3.4-r0) [2022-06-03T11:25:55.843Z] Executing busybox-1.33.1-r7.trigger [2022-06-03T11:25:56.116Z] OK: 8 MiB in 20 packages [2022-06-03T11:25:57.120Z] Removing intermediate container bf6b51112977 [2022-06-03T11:25:57.120Z] ---> f1ac477adf8b [2022-06-03T11:25:57.120Z] Step 17/26 : WORKDIR / [2022-06-03T11:25:57.120Z] ---> Running in 6f8c1b5ad088 [2022-06-03T11:25:57.394Z] Removing intermediate container 6f8c1b5ad088 [2022-06-03T11:25:57.394Z] ---> e6a93c0fb336 [2022-06-03T11:25:57.394Z] Step 18/26 : COPY --from=builder /device-virtual-go/Attribution.txt / [2022-06-03T11:25:57.997Z] ---> 3e1a36cb2398 [2022-06-03T11:25:57.997Z] Step 19/26 : COPY --from=builder /device-virtual-go/LICENSE / [2022-06-03T11:25:58.600Z] ---> a56a9e50e005 [2022-06-03T11:25:58.600Z] Step 20/26 : COPY --from=builder /device-virtual-go/cmd / [2022-06-03T11:26:00.036Z] ---> fb7d6d618c66 [2022-06-03T11:26:00.036Z] Step 21/26 : EXPOSE 59900 [2022-06-03T11:26:00.036Z] ---> Running in 6f8b369f0656 [2022-06-03T11:26:00.318Z] Removing intermediate container 6f8b369f0656 [2022-06-03T11:26:00.318Z] ---> 9e801d9aa672 [2022-06-03T11:26:00.318Z] Step 22/26 : ENTRYPOINT ["/device-virtual"] [2022-06-03T11:26:00.601Z] ---> Running in ac3738cd591f [2022-06-03T11:26:00.877Z] Removing intermediate container ac3738cd591f [2022-06-03T11:26:00.877Z] ---> ae34156aab01 [2022-06-03T11:26:00.877Z] Step 23/26 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2022-06-03T11:26:00.877Z] ---> Running in 724681c8914e [2022-06-03T11:26:01.151Z] Removing intermediate container 724681c8914e [2022-06-03T11:26:01.151Z] ---> 0f8c06df368c [2022-06-03T11:26:01.151Z] Step 24/26 : LABEL arch=arm64 [2022-06-03T11:26:01.151Z] ---> Running in e93f90023339 [2022-06-03T11:26:01.753Z] Removing intermediate container e93f90023339 [2022-06-03T11:26:01.753Z] ---> 3bcece27c961 [2022-06-03T11:26:01.753Z] Step 25/26 : LABEL git_sha=e414a0ef60f40c4bc0a47abe8eed3674be8d338f [2022-06-03T11:26:01.753Z] ---> Running in a38d713207e9 [2022-06-03T11:26:02.028Z] Removing intermediate container a38d713207e9 [2022-06-03T11:26:02.028Z] ---> 17684ed5aec4 [2022-06-03T11:26:02.028Z] Step 26/26 : LABEL version=0.0.0 [2022-06-03T11:26:02.028Z] ---> Running in 459791f2ac54 [2022-06-03T11:26:02.304Z] Removing intermediate container 459791f2ac54 [2022-06-03T11:26:02.304Z] ---> 076ad4eaefcb [2022-06-03T11:26:02.304Z] [Warning] One or more build-args [ARCH] were not consumed [2022-06-03T11:26:02.304Z] Successfully built 076ad4eaefcb [2022-06-03T11:26:02.304Z] 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-03T11:26:02.783Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-06-03T11:26:02.783Z] [2022-06-03T11:26:02.783Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-03T11:26:03.131Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-06-03T11:26:03.404Z] arm64: Pulling from edgex-lftools-log-publisher [2022-06-03T11:26:03.404Z] 8998bd30e6a1: Pulling fs layer [2022-06-03T11:26:03.404Z] 04944245beec: Pulling fs layer [2022-06-03T11:26:03.404Z] 699f458cf7ca: Pulling fs layer [2022-06-03T11:26:03.404Z] 765212b225bb: Pulling fs layer [2022-06-03T11:26:03.404Z] f23df028b6ca: Pulling fs layer [2022-06-03T11:26:03.404Z] d65c8cfc05b1: Pulling fs layer [2022-06-03T11:26:03.404Z] 2437ff75d9bd: Pulling fs layer [2022-06-03T11:26:03.404Z] 765212b225bb: Waiting [2022-06-03T11:26:03.404Z] f23df028b6ca: Waiting [2022-06-03T11:26:03.404Z] d65c8cfc05b1: Waiting [2022-06-03T11:26:03.404Z] 2437ff75d9bd: Waiting [2022-06-03T11:26:03.404Z] 04944245beec: Verifying Checksum [2022-06-03T11:26:03.404Z] 04944245beec: Download complete [2022-06-03T11:26:03.404Z] 765212b225bb: Verifying Checksum [2022-06-03T11:26:03.404Z] 765212b225bb: Download complete [2022-06-03T11:26:03.404Z] f23df028b6ca: Verifying Checksum [2022-06-03T11:26:03.404Z] f23df028b6ca: Download complete [2022-06-03T11:26:03.404Z] d65c8cfc05b1: Verifying Checksum [2022-06-03T11:26:03.404Z] d65c8cfc05b1: Download complete [2022-06-03T11:26:03.679Z] 699f458cf7ca: Verifying Checksum [2022-06-03T11:26:03.679Z] 699f458cf7ca: Download complete [2022-06-03T11:26:03.955Z] 8998bd30e6a1: Verifying Checksum [2022-06-03T11:26:03.955Z] 8998bd30e6a1: Download complete [2022-06-03T11:26:06.584Z] 2437ff75d9bd: Verifying Checksum [2022-06-03T11:26:06.584Z] 2437ff75d9bd: Download complete [2022-06-03T11:26:08.031Z] 8998bd30e6a1: Pull complete [2022-06-03T11:26:08.629Z] 04944245beec: Pull complete [2022-06-03T11:26:10.066Z] 699f458cf7ca: Pull complete [2022-06-03T11:26:10.340Z] 765212b225bb: Pull complete [2022-06-03T11:26:11.323Z] f23df028b6ca: Pull complete [2022-06-03T11:26:11.323Z] d65c8cfc05b1: Pull complete [2022-06-03T11:26:26.446Z] 2437ff75d9bd: Pull complete [2022-06-03T11:26:26.446Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2022-06-03T11:26:26.446Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-06-03T11:26:26.446Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-06-03T11:26:26.722Z] prd-ubuntu20.04-docker-arm64-4c-16g-922 does not seem to be running inside a container [2022-06-03T11:26:26.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/10 -v /w/workspace/device-virtual-go/10:/w/workspace/device-virtual-go/10:rw,z -v /w/workspace/device-virtual-go/10@tmp:/w/workspace/device-virtual-go/10@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-03T11:26:29.612Z] $ docker top 416c6e24db15800b0e82fa95465358efcc0420cbcfc3e0bb33346b1e50a52109 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-06-03T11:26:30.610Z] ---> job-cost.sh [2022-06-03T11:26:30.611Z] lf-activate-venv: SKIPPING [2022-06-03T11:26:30.611Z] INFO: No Stack... [2022-06-03T11:26:30.887Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2022-06-03T11:26:31.879Z] INFO: Archiving Costs [Pipeline] sh [2022-06-03T11:26:32.540Z] + cat /w/workspace/device-virtual-go/10/archives/cost.csv [2022-06-03T11:26:32.540Z] + cut -d, -f6 [Pipeline] lock [2022-06-03T11:26:32.604Z] Trying to acquire lock on [jenkins-edgexfoundry-device-virtual-go-PR-287-10-stack-cost] [2022-06-03T11:26:32.610Z] Resource [jenkins-edgexfoundry-device-virtual-go-PR-287-10-stack-cost] did not exist. Created. [2022-06-03T11:26:32.610Z] Lock acquired on [jenkins-edgexfoundry-device-virtual-go-PR-287-10-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-06-03T11:26:33.286Z] /w/workspace/device-virtual-go/10@tmp/durable-2152ba47/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2022-06-03T11:26:33.965Z] + echo total: 0.10999999940395355 [Pipeline] stash [2022-06-03T11:26:33.992Z] Warning: overwriting stash ‘stack-cost’ [2022-06-03T11:26:34.040Z] Stashed 1 file(s) [Pipeline] } [2022-06-03T11:26:34.046Z] Lock released on resource [jenkins-edgexfoundry-device-virtual-go-PR-287-10-stack-cost] [Pipeline] // lock [Pipeline] } [2022-06-03T11:26:34.076Z] $ docker stop --time=1 416c6e24db15800b0e82fa95465358efcc0420cbcfc3e0bb33346b1e50a52109 [2022-06-03T11:26:35.598Z] $ docker rm -f 416c6e24db15800b0e82fa95465358efcc0420cbcfc3e0bb33346b1e50a52109 [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-03T11:26:36.048Z] provisioning config files... [2022-06-03T11:26:36.057Z] copy managed file [device-virtual-go-codecov-token] to file:/w/workspace/foundry_device-virtual-go_PR-287@tmp/config5064380232862937683tmp [Pipeline] { [Pipeline] sh [2022-06-03T11:26:36.349Z] + set +x [2022-06-03T11:26:36.349Z] + bash -s -- [2022-06-03T11:26:36.349Z] + curl -s https://codecov.io/bash [2022-06-03T11:26:36.611Z] [2022-06-03T11:26:36.611Z] _____ _ [2022-06-03T11:26:36.611Z] / ____| | | [2022-06-03T11:26:36.611Z] | | ___ __| | ___ ___ _____ __ [2022-06-03T11:26:36.611Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2022-06-03T11:26:36.611Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2022-06-03T11:26:36.611Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2022-06-03T11:26:36.611Z] Bash-1.0.6 [2022-06-03T11:26:36.611Z] [2022-06-03T11:26:36.611Z] [2022-06-03T11:26:36.611Z] ==> git version 2.25.1 found [2022-06-03T11:26:36.611Z] ==> 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-03T11:26:36.611Z] Release-Date: 2020-01-08 [2022-06-03T11:26:36.611Z] 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-03T11:26:36.611Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2022-06-03T11:26:36.611Z] ==> Jenkins CI detected. [2022-06-03T11:26:36.611Z] current dir:  /w/workspace/foundry_device-virtual-go_PR-287 [2022-06-03T11:26:36.611Z] project root: . [2022-06-03T11:26:36.611Z] --> token set from env [2022-06-03T11:26:36.611Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2022-06-03T11:26:36.611Z] ==> Running gcov in . (disable via -X gcov) [2022-06-03T11:26:36.611Z] ==> Python coveragepy not found [2022-06-03T11:26:36.611Z] ==> Searching for coverage reports in: [2022-06-03T11:26:36.611Z] + . [2022-06-03T11:26:36.611Z] -> Found 1 reports [2022-06-03T11:26:36.611Z] ==> Detecting git/mercurial file structure [2022-06-03T11:26:36.611Z] ==> Reading reports [2022-06-03T11:26:36.611Z] + ./coverage.out bytes=44128 [2022-06-03T11:26:36.611Z] ==> Appending adjustments [2022-06-03T11:26:36.611Z] https://docs.codecov.io/docs/fixing-reports [2022-06-03T11:26:36.871Z] + Found adjustments [2022-06-03T11:26:36.871Z] ==> Gzipping contents [2022-06-03T11:26:36.871Z] 8.0K /tmp/codecov.fPokna.gz [2022-06-03T11:26:36.871Z] ==> Uploading reports [2022-06-03T11:26:36.871Z] url: https://codecov.io [2022-06-03T11:26:36.871Z] query: branch=PR-287&commit=e414a0ef60f40c4bc0a47abe8eed3674be8d338f&build=10&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-virtual-go%2Fjob%2FPR-287%2F10%2F&name=&tag=&slug=edgexfoundry%2Fdevice-virtual-go&service=jenkins&flags=&pr=287&job=&cmd_args= [2022-06-03T11:26:36.871Z] -> Pinging Codecov [2022-06-03T11:26:36.871Z] 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=e414a0ef60f40c4bc0a47abe8eed3674be8d338f&build=10&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-virtual-go%2Fjob%2FPR-287%2F10%2F&name=&tag=&slug=edgexfoundry%2Fdevice-virtual-go&service=jenkins&flags=&pr=287&job=&cmd_args= [2022-06-03T11:26:37.132Z] -> Uploading to [2022-06-03T11:26:37.132Z] https://storage.googleapis.com/codecov/v4/raw/2022-06-03/5E52B4B073DB2E39498172D8E973AA87/e414a0ef60f40c4bc0a47abe8eed3674be8d338f/96f1e7d6-b02b-4047-b380-43eb572bd2b3.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EKKHVKCKHW7KBCGM7IHR55T63V2PAVJWLVFNITJHDU5G6R5IRN3LMWJA%2F20220603%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20220603T112636Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=ab900b8ca70636bc3da342e0989e726ea46acf0a13a88f397cfe5269a3b56163 [2022-06-03T11:26:37.132Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-06-03T11:26:37.132Z] Dload Upload Total Spent Left Speed [2022-06-03T11:26:37.392Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 5470 0 0 100 5470 0 22603 --:--:-- --:--:-- --:--:-- 22603 [2022-06-03T11:26:37.392Z] -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/device-virtual-go/commit/e414a0ef60f40c4bc0a47abe8eed3674be8d338f [Pipeline] } [2022-06-03T11:26:37.401Z] 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-03T11:26:38.083Z] + [ -d /w/workspace/foundry_device-virtual-go_PR-287/archives ] [2022-06-03T11:26:38.083Z] + ls -al /w/workspace/foundry_device-virtual-go_PR-287/archives [2022-06-03T11:26:38.083Z] total 16 [2022-06-03T11:26:38.083Z] drwxr-xr-x 3 root root 4096 Jun 3 11:17 . [2022-06-03T11:26:38.083Z] drwxrwxr-x 10 jenkins jenkins 4096 Jun 3 11:17 .. [2022-06-03T11:26:38.083Z] drwxr-xr-x 2 root root 4096 Jun 3 11:17 cost [2022-06-03T11:26:38.083Z] -rw-r--r-- 1 root root 89 Jun 3 11:17 cost.csv [2022-06-03T11:26:38.083Z] + sudo chown -R jenkins:jenkins /w/workspace/foundry_device-virtual-go_PR-287/archives [2022-06-03T11:26:38.083Z] + ls -al /w/workspace/foundry_device-virtual-go_PR-287/archives [2022-06-03T11:26:38.083Z] total 16 [2022-06-03T11:26:38.083Z] drwxr-xr-x 3 jenkins jenkins 4096 Jun 3 11:17 . [2022-06-03T11:26:38.083Z] drwxrwxr-x 10 jenkins jenkins 4096 Jun 3 11:17 .. [2022-06-03T11:26:38.083Z] drwxr-xr-x 2 jenkins jenkins 4096 Jun 3 11:17 cost [2022-06-03T11:26:38.083Z] -rw-r--r-- 1 jenkins jenkins 89 Jun 3 11:17 cost.csv [Pipeline] libraryResource [Pipeline] sh [2022-06-03T11:26:38.376Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2022-06-03T11:26:39.244Z] ---> package-listing.sh [2022-06-03T11:26:39.244Z] ++ facter osfamily [2022-06-03T11:26:39.244Z] ++ tr '[:upper:]' '[:lower:]' [2022-06-03T11:26:39.506Z] + OS_FAMILY=debian [2022-06-03T11:26:39.506Z] + workspace=/w/workspace/foundry_device-virtual-go_PR-287 [2022-06-03T11:26:39.506Z] + START_PACKAGES=/tmp/packages_start.txt [2022-06-03T11:26:39.506Z] + END_PACKAGES=/tmp/packages_end.txt [2022-06-03T11:26:39.506Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2022-06-03T11:26:39.506Z] + PACKAGES=/tmp/packages_start.txt [2022-06-03T11:26:39.506Z] + '[' /w/workspace/foundry_device-virtual-go_PR-287 ']' [2022-06-03T11:26:39.506Z] + PACKAGES=/tmp/packages_end.txt [2022-06-03T11:26:39.506Z] + case "${OS_FAMILY}" in [2022-06-03T11:26:39.506Z] + dpkg -l [2022-06-03T11:26:39.506Z] + grep '^ii' [2022-06-03T11:26:39.506Z] + '[' -f /tmp/packages_start.txt ']' [2022-06-03T11:26:39.506Z] + '[' -f /tmp/packages_end.txt ']' [2022-06-03T11:26:39.506Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2022-06-03T11:26:39.506Z] + '[' /w/workspace/foundry_device-virtual-go_PR-287 ']' [2022-06-03T11:26:39.506Z] + mkdir -p /w/workspace/foundry_device-virtual-go_PR-287/archives/ [2022-06-03T11:26:39.506Z] + 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-03T11:26:39.521Z] 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-03T11:26:39.804Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-03T11:26:40.374Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-06-03T11:26:40.374Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-06-03T11:26:40.463Z] prd-ubuntu20.04-docker-8c-8g-921 does not seem to be running inside a container [2022-06-03T11:26:40.512Z] $ 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-03T11:26:40.931Z] $ docker top 07641757e28e5b410ec61a98ffb8f80ba8331196370ea179418a53e3a5858a94 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-06-03T11:26:41.293Z] + touch /tmp/pre-build-complete [Pipeline] sh [2022-06-03T11:26:41.585Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2022-06-03T11:26:41.873Z] + ls /var/log/sa-host [2022-06-03T11:26:41.873Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-06-03T11:26:42.012Z] provisioning config files... [2022-06-03T11:26:42.022Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/foundry_device-virtual-go_PR-287@tmp/config5049554145111268715tmp [Pipeline] { [Pipeline] echo [2022-06-03T11:26:42.039Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2022-06-03T11:26:42.325Z] ---> create-netrc.sh [Pipeline] } [2022-06-03T11:26:42.333Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2022-06-03T11:26:42.673Z] ---> python-tools-install.sh [Pipeline] echo [2022-06-03T11:26:42.683Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2022-06-03T11:26:42.971Z] ---> sudo-logs.sh [2022-06-03T11:26:42.971Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2022-06-03T11:26:42.993Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2022-06-03T11:26:43.275Z] ---> job-cost.sh [2022-06-03T11:26:43.275Z] lf-activate-venv: SKIPPING [2022-06-03T11:26:43.275Z] DEBUG: total: 0.2199999988079071 [2022-06-03T11:26:43.275Z] INFO: Retrieving Stack Cost... [2022-06-03T11:26:43.536Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2022-06-03T11:26:44.106Z] INFO: Archiving Costs [Pipeline] echo [2022-06-03T11:26:44.117Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2022-06-03T11:26:44.405Z] ---> logs-deploy.sh [2022-06-03T11:26:44.405Z] lf-activate-venv: SKIPPING [2022-06-03T11:26:44.406Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-virtual-go/PR-287/10 [2022-06-03T11:26:44.406Z] INFO: archiving workspace using pattern(s): [2022-06-03T11:26:45.346Z] Archives upload complete. [2022-06-03T11:26:45.346Z] INFO: archiving logs to Nexus