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 ccb4f5e4411e93ad5a61be90557f2f0c2d4571c5 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-ssh7622354605436446425.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-ssh2061715299000254015.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-ssh17059308346429390332.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-ssh731147780238532937.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-ssh9850411340774401716.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision 0f180ed1236c637af8c254f95ad106931cc77145 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 0f180ed1236c637af8c254f95ad106931cc77145 # timeout=10 Commit message: "Feat: Add initial docker pipelines" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-virtual-go] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[ubuntu20.04-docker-8c-8g, ubuntu20.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-virtual-go-settings PROJECT: device-virtual-go USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.17 USE_ALPINE: true DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-virtual DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: false SWAGGER_API_FOLDERS: openapi/v1 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org SNYK_DEBUG: false [Pipeline] node Still waiting to schedule task Waiting for next available executor Running on prd-ubuntu20.04-docker-8c-8g-913 in /w/workspace/foundry_device-virtual-go_PR-287 [Pipeline] { [Pipeline] stage [Pipeline] { (Declarative: Checkout SCM) [Pipeline] checkout The recommended git tool is: git using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning repository git@github.com:edgexfoundry/device-virtual-go.git > git init /w/workspace/foundry_device-virtual-go_PR-287 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-virtual-go.git > git --version # timeout=10 > git --version # 'git version 2.25.1' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-virtual-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Merging remotes/origin/main commit 9cab87334a4d5affcc1b2c5c12d642008ef46c2d into PR head commit ccb4f5e4411e93ad5a61be90557f2f0c2d4571c5 Merge succeeded, producing ccb4f5e4411e93ad5a61be90557f2f0c2d4571c5 Checking out Revision ccb4f5e4411e93ad5a61be90557f2f0c2d4571c5 (PR-287) > git config remote.origin.url git@github.com:edgexfoundry/device-virtual-go.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-virtual-go.git # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-virtual-go.git using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-virtual-go.git +refs/pull/287/head:refs/remotes/origin/PR-287 +refs/heads/main:refs/remotes/origin/main # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f ccb4f5e4411e93ad5a61be90557f2f0c2d4571c5 # 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 ccb4f5e4411e93ad5a61be90557f2f0c2d4571c5 # timeout=10 Commit message: "build(snap): Update CI workflow with canonical repo v2" > git rev-list --no-walk 253bc954d7726a3ef5e384993d6e5cd9a4957198 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2022-06-03T09:45:24.335Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2022-06-03T09:45:24.373Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2022-06-03T09:45:24.386Z] ========================================================= [2022-06-03T09:45:24.386Z] EdgeX Global Pipelines Version Info [2022-06-03T09:45:24.386Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2022-06-03T09:45:25.174Z] ------------------- [2022-06-03T09:45:25.174Z] stable info: [2022-06-03T09:45:25.174Z] ------------------- [2022-06-03T09:45:25.174Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2022-06-03T09:45:25.174Z] Commit SHA: e2cac8b444d664382c771f5dccbf61e369ddf83e [2022-06-03T09:45:25.174Z] Message: update stable to v1.0.231 [2022-06-03T09:45:25.748Z] ------------------- [2022-06-03T09:45:25.748Z] experimental info: [2022-06-03T09:45:25.748Z] ------------------- [2022-06-03T09:45:25.748Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2022-06-03T09:45:25.748Z] Commit SHA: e2cac8b444d664382c771f5dccbf61e369ddf83e [2022-06-03T09:45:25.748Z] Message: update experimental to v1.0.231 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2022-06-03T09:45:25.928Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-virtual-go-settings [Pipeline] echo [2022-06-03T09:45:25.939Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-virtual-go [Pipeline] echo [2022-06-03T09:45:25.954Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2022-06-03T09:45:25.965Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2022-06-03T09:45:25.977Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2022-06-03T09:45:25.988Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.17 [Pipeline] echo [2022-06-03T09:45:25.999Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2022-06-03T09:45:26.011Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2022-06-03T09:45:26.022Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2022-06-03T09:45:26.034Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2022-06-03T09:45:26.047Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2022-06-03T09:45:26.058Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-virtual [Pipeline] echo [2022-06-03T09:45:26.073Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2022-06-03T09:45:26.089Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2022-06-03T09:45:26.107Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2022-06-03T09:45:26.123Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2022-06-03T09:45:26.133Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2022-06-03T09:45:26.144Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2022-06-03T09:45:26.155Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2022-06-03T09:45:26.168Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2022-06-03T09:45:26.180Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2022-06-03T09:45:26.191Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2022-06-03T09:45:26.205Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2022-06-03T09:45:26.223Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2022-06-03T09:45:26.232Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2022-06-03T09:45:26.246Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2022-06-03T09:45:26.258Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2022-06-03T09:45:26.271Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-287 [Pipeline] echo [2022-06-03T09:45:26.282Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-287 [Pipeline] echo [2022-06-03T09:45:26.293Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-287 [Pipeline] echo [2022-06-03T09:45:26.305Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = ccb4f5e4411e93ad5a61be90557f2f0c2d4571c5 [Pipeline] echo [2022-06-03T09:45:26.321Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = ccb4f5e [Pipeline] echo [2022-06-03T09:45:26.335Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-06-03T09:45:26.377Z] provisioning config files... [2022-06-03T09:45:26.393Z] copy managed file [device-virtual-go-settings] to file:/w/workspace/foundry_device-virtual-go_PR-287@tmp/config8271625524593780940tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-06-03T09:45:26.801Z] ---> docker-login.sh [2022-06-03T09:45:26.801Z] nexus3.edgexfoundry.org:10001 [2022-06-03T09:45:27.062Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-03T09:45:27.323Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-03T09:45:27.323Z] Configure a credential helper to remove this warning. See [2022-06-03T09:45:27.323Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-03T09:45:27.323Z] [2022-06-03T09:45:27.323Z] Login Succeeded [2022-06-03T09:45:27.323Z] nexus3.edgexfoundry.org:10002 [2022-06-03T09:45:27.323Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-03T09:45:27.323Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-03T09:45:27.323Z] Configure a credential helper to remove this warning. See [2022-06-03T09:45:27.323Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-03T09:45:27.323Z] [2022-06-03T09:45:27.323Z] Login Succeeded [2022-06-03T09:45:27.323Z] nexus3.edgexfoundry.org:10003 [2022-06-03T09:45:27.583Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-03T09:45:27.583Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-03T09:45:27.583Z] Configure a credential helper to remove this warning. See [2022-06-03T09:45:27.583Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-03T09:45:27.583Z] [2022-06-03T09:45:27.583Z] Login Succeeded [2022-06-03T09:45:27.583Z] nexus3.edgexfoundry.org:10004 [2022-06-03T09:45:27.583Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-03T09:45:27.583Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-03T09:45:27.583Z] Configure a credential helper to remove this warning. See [2022-06-03T09:45:27.583Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-03T09:45:27.583Z] [2022-06-03T09:45:27.583Z] Login Succeeded [2022-06-03T09:45:27.583Z] docker.io [2022-06-03T09:45:27.845Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-03T09:45:28.105Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-03T09:45:28.105Z] Configure a credential helper to remove this warning. See [2022-06-03T09:45:28.105Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-03T09:45:28.105Z] [2022-06-03T09:45:28.105Z] Login Succeeded [2022-06-03T09:45:28.105Z] ---> docker-login.sh ends [Pipeline] } [2022-06-03T09:45:28.114Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2022-06-03T09:45:28.504Z] + git rev-list -1 --merges ccb4f5e4411e93ad5a61be90557f2f0c2d4571c5~1..ccb4f5e4411e93ad5a61be90557f2f0c2d4571c5 [Pipeline] echo [2022-06-03T09:45:28.544Z] -----------> git rev-list -1 --merges ccb4f5e4411e93ad5a61be90557f2f0c2d4571c5~1..ccb4f5e4411e93ad5a61be90557f2f0c2d4571c5 ccb4f5e4411e93ad5a61be90557f2f0c2d4571c5 [false] [Pipeline] sh [2022-06-03T09:45:28.838Z] + git log --format=format:%s -1 ccb4f5e4411e93ad5a61be90557f2f0c2d4571c5 [Pipeline] echo [2022-06-03T09:45:28.856Z] ========================================================= [2022-06-03T09:45:28.856Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2022-06-03T09:45:28.856Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-06-03T09:45:29.203Z] + git log --format=format:%s -1 ccb4f5e4411e93ad5a61be90557f2f0c2d4571c5 [Pipeline] echo [2022-06-03T09:45:29.215Z] [semverPrep] GIT_COMMIT: ccb4f5e4411e93ad5a61be90557f2f0c2d4571c5, Commit Message: build(snap): Update CI workflow with canonical repo v2 [Pipeline] echo [2022-06-03T09:45:29.228Z] [semverPrep] This is not a build commit. [Pipeline] sh [2022-06-03T09:45:29.610Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2022-06-03T09:45:29.610Z] + grep -v github /etc/ssh/ssh_known_hosts [2022-06-03T09:45:29.610Z] + [ -e /tmp/ssh_known_hosts ] [2022-06-03T09:45:29.610Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2022-06-03T09:45:29.610Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2022-06-03T09:45:29.610Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2022-06-03T09:45:29.610Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-03T09:45:30.038Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest [2022-06-03T09:45:30.038Z] [2022-06-03T09:45:30.038Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-03T09:45:30.354Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest [2022-06-03T09:45:30.354Z] latest: Pulling from edgex-devops/py-git-semver [2022-06-03T09:45:30.354Z] 42c077c10790: Pulling fs layer [2022-06-03T09:45:30.354Z] f63e77b7563a: Pulling fs layer [2022-06-03T09:45:30.354Z] bd5fdadae976: Pulling fs layer [2022-06-03T09:45:30.354Z] 205491f53016: Pulling fs layer [2022-06-03T09:45:30.354Z] df18705c85c3: Pulling fs layer [2022-06-03T09:45:30.354Z] bdb3f477010e: Pulling fs layer [2022-06-03T09:45:30.354Z] c8a8fc8e1c8f: Pulling fs layer [2022-06-03T09:45:30.354Z] 2c6e9b1d212d: Pulling fs layer [2022-06-03T09:45:30.354Z] bdb8f0575790: Pulling fs layer [2022-06-03T09:45:30.354Z] 386e3cb2ff24: Pulling fs layer [2022-06-03T09:45:30.354Z] 2343380bae48: Pulling fs layer [2022-06-03T09:45:30.354Z] 205491f53016: Waiting [2022-06-03T09:45:30.354Z] df18705c85c3: Waiting [2022-06-03T09:45:30.354Z] bdb3f477010e: Waiting [2022-06-03T09:45:30.354Z] 386e3cb2ff24: Waiting [2022-06-03T09:45:30.354Z] 2343380bae48: Waiting [2022-06-03T09:45:30.354Z] bdb8f0575790: Waiting [2022-06-03T09:45:30.354Z] c8a8fc8e1c8f: Waiting [2022-06-03T09:45:30.354Z] 2c6e9b1d212d: Waiting [2022-06-03T09:45:30.354Z] f63e77b7563a: Verifying Checksum [2022-06-03T09:45:30.354Z] f63e77b7563a: Download complete [2022-06-03T09:45:30.354Z] 205491f53016: Verifying Checksum [2022-06-03T09:45:30.354Z] 205491f53016: Download complete [2022-06-03T09:45:30.614Z] df18705c85c3: Verifying Checksum [2022-06-03T09:45:30.614Z] df18705c85c3: Download complete [2022-06-03T09:45:30.614Z] bdb3f477010e: Verifying Checksum [2022-06-03T09:45:30.614Z] bdb3f477010e: Download complete [2022-06-03T09:45:30.614Z] bd5fdadae976: Verifying Checksum [2022-06-03T09:45:30.614Z] bd5fdadae976: Download complete [2022-06-03T09:45:30.614Z] 2c6e9b1d212d: Verifying Checksum [2022-06-03T09:45:30.614Z] 2c6e9b1d212d: Download complete [2022-06-03T09:45:30.614Z] bdb8f0575790: Download complete [2022-06-03T09:45:30.614Z] 386e3cb2ff24: Verifying Checksum [2022-06-03T09:45:30.614Z] 386e3cb2ff24: Download complete [2022-06-03T09:45:30.614Z] 2343380bae48: Verifying Checksum [2022-06-03T09:45:30.614Z] 2343380bae48: Download complete [2022-06-03T09:45:30.614Z] 42c077c10790: Verifying Checksum [2022-06-03T09:45:30.614Z] 42c077c10790: Download complete [2022-06-03T09:45:30.874Z] c8a8fc8e1c8f: Download complete [2022-06-03T09:45:31.815Z] 42c077c10790: Pull complete [2022-06-03T09:45:32.077Z] f63e77b7563a: Pull complete [2022-06-03T09:45:32.339Z] bd5fdadae976: Pull complete [2022-06-03T09:45:32.600Z] 205491f53016: Pull complete [2022-06-03T09:45:32.861Z] df18705c85c3: Pull complete [2022-06-03T09:45:32.861Z] bdb3f477010e: Pull complete [2022-06-03T09:45:34.771Z] c8a8fc8e1c8f: Pull complete [2022-06-03T09:45:34.771Z] 2c6e9b1d212d: Pull complete [2022-06-03T09:45:34.771Z] bdb8f0575790: Pull complete [2022-06-03T09:45:35.032Z] 386e3cb2ff24: Pull complete [2022-06-03T09:45:35.032Z] 2343380bae48: Pull complete [2022-06-03T09:45:35.032Z] Digest: sha256:c3bf284c02da7271302b7a373f1d48320b54229aa5119b2a29c7f8015e6a9264 [2022-06-03T09:45:35.032Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest [2022-06-03T09:45:35.032Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-06-03T09:45:35.142Z] prd-ubuntu20.04-docker-8c-8g-913 does not seem to be running inside a container [2022-06-03T09:45:35.181Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/foundry_device-virtual-go_PR-287 -v /w/workspace/foundry_device-virtual-go_PR-287:/w/workspace/foundry_device-virtual-go_PR-287:rw,z -v /w/workspace/foundry_device-virtual-go_PR-287@tmp:/w/workspace/foundry_device-virtual-go_PR-287@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest cat [2022-06-03T09:45:37.042Z] $ docker top 8cc936122b8a064f11f11f05a6f992cd2c5af0e4f638bc97e3fcb6b85be0a869 -eo pid,comm [2022-06-03T09:45:37.110Z] ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). [2022-06-03T09:45:37.110Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2022-06-03T09:45:37.150Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-06-03T09:45:37.150Z] [ssh-agent] Looking for ssh-agent implementation... [2022-06-03T09:45:37.277Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-06-03T09:45:37.275Z] $ docker exec 8cc936122b8a064f11f11f05a6f992cd2c5af0e4f638bc97e3fcb6b85be0a869 ssh-agent [2022-06-03T09:45:37.416Z] SSH_AUTH_SOCK=/tmp/ssh-xVgGWDZfHnZK/agent.33 [2022-06-03T09:45:37.416Z] SSH_AGENT_PID=39 [2022-06-03T09:45:37.422Z] Running ssh-add (command line suppressed) [2022-06-03T09:45:37.532Z] Identity added: /w/workspace/foundry_device-virtual-go_PR-287@tmp/private_key_6294565933814670586.key (/w/workspace/foundry_device-virtual-go_PR-287@tmp/private_key_6294565933814670586.key) [2022-06-03T09:45:37.554Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-06-03T09:45:37.845Z] + git tag --points-at HEAD [Pipeline] } [2022-06-03T09:45:37.853Z] $ docker exec --env ******** --env ******** 8cc936122b8a064f11f11f05a6f992cd2c5af0e4f638bc97e3fcb6b85be0a869 ssh-agent -k [2022-06-03T09:45:37.961Z] unset SSH_AUTH_SOCK; [2022-06-03T09:45:37.961Z] unset SSH_AGENT_PID; [2022-06-03T09:45:37.962Z] echo Agent pid 39 killed; [2022-06-03T09:45:37.981Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2022-06-03T09:45:38.005Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-06-03T09:45:38.005Z] [ssh-agent] Looking for ssh-agent implementation... [2022-06-03T09:45:38.138Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-06-03T09:45:38.136Z] $ docker exec 8cc936122b8a064f11f11f05a6f992cd2c5af0e4f638bc97e3fcb6b85be0a869 ssh-agent [2022-06-03T09:45:38.277Z] SSH_AUTH_SOCK=/tmp/ssh-WpHVg8GUttwK/agent.73 [2022-06-03T09:45:38.277Z] SSH_AGENT_PID=79 [2022-06-03T09:45:38.283Z] Running ssh-add (command line suppressed) [2022-06-03T09:45:38.398Z] Identity added: /w/workspace/foundry_device-virtual-go_PR-287@tmp/private_key_6926089418527621614.key (/w/workspace/foundry_device-virtual-go_PR-287@tmp/private_key_6926089418527621614.key) [2022-06-03T09:45:38.421Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-06-03T09:45:38.715Z] + git semver init [2022-06-03T09:45:38.978Z] 2022-06-03 09:45:38,956 [run_init] DEBUG init version:0.0.0 force:False [2022-06-03T09:45:38.978Z] 2022-06-03 09:45:38,957 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/foundry_device-virtual-go_PR-287/.semver [2022-06-03T09:45:38.978Z] 2022-06-03 09:45:38,957 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-virtual-go.git /w/workspace/foundry_device-virtual-go_PR-287/.semver [2022-06-03T09:45:38.978Z] 2022-06-03 09:45:38,957 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-virtual-go.git', '/w/workspace/foundry_device-virtual-go_PR-287/.semver'], cwd=/w/workspace/foundry_device-virtual-go_PR-287, universal_newlines=False, shell=None, istream=None) [2022-06-03T09:45:40.369Z] 2022-06-03 09:45:39,923 [append_file] DEBUG append to file:/w/workspace/foundry_device-virtual-go_PR-287/.git/info/exclude [2022-06-03T09:45:40.369Z] 2022-06-03 09:45:39,923 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/foundry_device-virtual-go_PR-287/.semver/PR-287 with force:False [2022-06-03T09:45:40.369Z] 2022-06-03 09:45:39,923 [write_file] DEBUG write to file:/w/workspace/foundry_device-virtual-go_PR-287/.semver/PR-287 [2022-06-03T09:45:40.369Z] 2022-06-03 09:45:39,927 [execute] INFO git cat-file --batch-check [2022-06-03T09:45:40.369Z] 2022-06-03 09:45:39,927 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/foundry_device-virtual-go_PR-287/.semver, universal_newlines=False, shell=None, istream=) [2022-06-03T09:45:40.369Z] 2022-06-03 09:45:39,931 [execute] INFO git cat-file --batch [2022-06-03T09:45:40.369Z] 2022-06-03 09:45:39,932 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/foundry_device-virtual-go_PR-287/.semver, universal_newlines=False, shell=None, istream=) [2022-06-03T09:45:40.369Z] 2022-06-03 09:45:39,937 [read_version] DEBUG read version from /w/workspace/foundry_device-virtual-go_PR-287/.semver/PR-287 [2022-06-03T09:45:40.369Z] 0.0.0 [Pipeline] } [2022-06-03T09:45:40.377Z] $ docker exec --env ******** --env ******** 8cc936122b8a064f11f11f05a6f992cd2c5af0e4f638bc97e3fcb6b85be0a869 ssh-agent -k [2022-06-03T09:45:40.484Z] unset SSH_AUTH_SOCK; [2022-06-03T09:45:40.484Z] unset SSH_AGENT_PID; [2022-06-03T09:45:40.484Z] echo Agent pid 79 killed; [2022-06-03T09:45:40.498Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2022-06-03T09:45:40.801Z] + git semver [Pipeline] } [2022-06-03T09:45:41.073Z] $ docker stop --time=1 8cc936122b8a064f11f11f05a6f992cd2c5af0e4f638bc97e3fcb6b85be0a869 [2022-06-03T09:45:42.412Z] $ docker rm -f 8cc936122b8a064f11f11f05a6f992cd2c5af0e4f638bc97e3fcb6b85be0a869 [Pipeline] // withDockerContainer [Pipeline] sh [2022-06-03T09:45:42.764Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2022-06-03T09:45:43.021Z] Stashed 1 file(s) [Pipeline] echo [2022-06-03T09:45:43.024Z] [edgeXSemver]: initialized semver on version 0.0.0 [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] parallel [Pipeline] { (Branch: amd64) [Pipeline] { (Branch: arm64) [Pipeline] stage [Pipeline] { (amd64) [Pipeline] stage [Pipeline] { (arm64) [Pipeline] withEnv [Pipeline] { [Pipeline] node [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-06-03T09:45:43.138Z] provisioning config files... [2022-06-03T09:45:43.150Z] copy managed file [device-virtual-go-settings] to file:/w/workspace/foundry_device-virtual-go_PR-287@tmp/config9095211986015478396tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-06-03T09:45:43.451Z] ---> docker-login.sh [2022-06-03T09:45:43.451Z] nexus3.edgexfoundry.org:10001 [2022-06-03T09:45:43.451Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-03T09:45:43.451Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-03T09:45:43.451Z] Configure a credential helper to remove this warning. See [2022-06-03T09:45:43.451Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-03T09:45:43.451Z] [2022-06-03T09:45:43.451Z] Login Succeeded [2022-06-03T09:45:43.451Z] nexus3.edgexfoundry.org:10002 [2022-06-03T09:45:43.451Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-03T09:45:43.711Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-03T09:45:43.711Z] Configure a credential helper to remove this warning. See [2022-06-03T09:45:43.711Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-03T09:45:43.711Z] [2022-06-03T09:45:43.711Z] Login Succeeded [2022-06-03T09:45:43.711Z] nexus3.edgexfoundry.org:10003 [2022-06-03T09:45:43.711Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-03T09:45:43.711Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-03T09:45:43.711Z] Configure a credential helper to remove this warning. See [2022-06-03T09:45:43.711Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-03T09:45:43.711Z] [2022-06-03T09:45:43.711Z] Login Succeeded [2022-06-03T09:45:43.711Z] nexus3.edgexfoundry.org:10004 [2022-06-03T09:45:43.971Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-03T09:45:43.971Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-03T09:45:43.971Z] Configure a credential helper to remove this warning. See [2022-06-03T09:45:43.971Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-03T09:45:43.971Z] [2022-06-03T09:45:43.971Z] Login Succeeded [2022-06-03T09:45:43.971Z] docker.io [2022-06-03T09:45:43.971Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-03T09:45:44.231Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-03T09:45:44.231Z] Configure a credential helper to remove this warning. See [2022-06-03T09:45:44.231Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-03T09:45:44.231Z] [2022-06-03T09:45:44.231Z] Login Succeeded [2022-06-03T09:45:44.231Z] ---> docker-login.sh ends [Pipeline] } [2022-06-03T09:45:44.239Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-06-03T09:45:44.309Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-06-03T09:45:44.318Z] ========================================================= [2022-06-03T09:45:44.318Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine] [2022-06-03T09:45:44.318Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-03T09:45:44.638Z] + docker build -t ci-base-image-x86_64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine --build-arg MAKE=echo noop --target=builder . [2022-06-03T09:45:44.638Z] Sending build context to Docker daemon 23.13MB [2022-06-03T09:45:44.638Z] Step 1/12 : ARG BASE=golang:1.17-alpine3.15 [2022-06-03T09:45:44.638Z] Step 2/12 : FROM ${BASE} AS builder [2022-06-03T09:45:44.897Z] 1.17-alpine: Pulling from edgex-devops/edgex-golang-base [2022-06-03T09:45:44.897Z] 59bf1c3509f3: Pulling fs layer [2022-06-03T09:45:44.897Z] 666ba61612fd: Pulling fs layer [2022-06-03T09:45:44.897Z] 8ed8ca486205: Pulling fs layer [2022-06-03T09:45:44.897Z] 4fe6c5a15a65: Pulling fs layer [2022-06-03T09:45:44.897Z] 22a0e8bec74d: Pulling fs layer [2022-06-03T09:45:44.897Z] ca2b28591e48: Pulling fs layer [2022-06-03T09:45:44.897Z] a51346096db8: Pulling fs layer [2022-06-03T09:45:44.897Z] daebc70d1ce1: Pulling fs layer [2022-06-03T09:45:44.897Z] 0e18a0eac166: Pulling fs layer [2022-06-03T09:45:44.897Z] 4fe6c5a15a65: Waiting [2022-06-03T09:45:44.897Z] 22a0e8bec74d: Waiting [2022-06-03T09:45:44.897Z] ca2b28591e48: Waiting [2022-06-03T09:45:44.897Z] a51346096db8: Waiting [2022-06-03T09:45:44.897Z] daebc70d1ce1: Waiting [2022-06-03T09:45:44.897Z] 0e18a0eac166: Waiting [2022-06-03T09:45:44.897Z] 8ed8ca486205: Verifying Checksum [2022-06-03T09:45:44.897Z] 8ed8ca486205: Download complete [2022-06-03T09:45:44.897Z] 666ba61612fd: Verifying Checksum [2022-06-03T09:45:44.897Z] 666ba61612fd: Download complete [2022-06-03T09:45:44.897Z] 22a0e8bec74d: Verifying Checksum [2022-06-03T09:45:44.897Z] 22a0e8bec74d: Download complete [2022-06-03T09:45:44.897Z] ca2b28591e48: Download complete [2022-06-03T09:45:44.897Z] a51346096db8: Verifying Checksum [2022-06-03T09:45:44.897Z] a51346096db8: Download complete [2022-06-03T09:45:44.897Z] 59bf1c3509f3: Verifying Checksum [2022-06-03T09:45:44.897Z] 59bf1c3509f3: Download complete [2022-06-03T09:45:44.897Z] daebc70d1ce1: Verifying Checksum [2022-06-03T09:45:44.897Z] daebc70d1ce1: Download complete [2022-06-03T09:45:45.157Z] 59bf1c3509f3: Pull complete [2022-06-03T09:45:45.157Z] 666ba61612fd: Pull complete [2022-06-03T09:45:45.157Z] 8ed8ca486205: Pull complete [2022-06-03T09:45:45.415Z] 0e18a0eac166: Verifying Checksum [2022-06-03T09:45:45.415Z] 0e18a0eac166: Download complete [2022-06-03T09:45:45.674Z] 4fe6c5a15a65: Verifying Checksum [2022-06-03T09:45:45.674Z] 4fe6c5a15a65: Download complete [2022-06-03T09:45:48.963Z] 4fe6c5a15a65: Pull complete [2022-06-03T09:45:49.222Z] 22a0e8bec74d: Pull complete [2022-06-03T09:45:49.222Z] ca2b28591e48: Pull complete [2022-06-03T09:45:49.222Z] a51346096db8: Pull complete [2022-06-03T09:45:49.482Z] daebc70d1ce1: Pull complete [2022-06-03T09:45:51.385Z] 0e18a0eac166: Pull complete [2022-06-03T09:45:51.385Z] Digest: sha256:5cf2d0a306c5171eb5b3008c4b83cc7b6044f1808c238cb17927cddb93576120 [2022-06-03T09:45:51.385Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine [2022-06-03T09:45:51.385Z] ---> f018257e8ee9 [2022-06-03T09:45:51.385Z] Step 3/12 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2022-06-03T09:45:53.931Z] ---> Running in 58ff7b3528cc [2022-06-03T09:45:53.931Z] Removing intermediate container 58ff7b3528cc [2022-06-03T09:45:53.931Z] ---> 373d34f0f7b7 [2022-06-03T09:45:53.931Z] Step 4/12 : ARG ALPINE_PKG_EXTRA="" [2022-06-03T09:45:53.931Z] ---> Running in 867a01c227ad [2022-06-03T09:45:53.931Z] Removing intermediate container 867a01c227ad [2022-06-03T09:45:53.931Z] ---> 33ac793ac0e2 [2022-06-03T09:45:53.931Z] Step 5/12 : WORKDIR /device-virtual-go [2022-06-03T09:45:53.931Z] ---> Running in 8eda4001c196 [2022-06-03T09:45:53.931Z] Removing intermediate container 8eda4001c196 [2022-06-03T09:45:53.931Z] ---> 3d5ad5d9a5a4 [2022-06-03T09:45:53.931Z] Step 6/12 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-06-03T09:45:54.191Z] ---> Running in 0093713790bd [2022-06-03T09:45:54.761Z] Removing intermediate container 0093713790bd [2022-06-03T09:45:54.761Z] ---> 390f56308ba6 [2022-06-03T09:45:54.761Z] Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-06-03T09:45:54.761Z] ---> Running in 3ea66d554ab1 [2022-06-03T09:45:55.021Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz [2022-06-03T09:45:55.963Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz [2022-06-03T09:45:56.225Z] (1/4) Installing openssh-keygen (8.8_p1-r1) [2022-06-03T09:45:56.225Z] (2/4) Installing libedit (20210910.3.1-r0) [2022-06-03T09:45:56.485Z] (3/4) Installing openssh-client-common (8.8_p1-r1) [2022-06-03T09:45:56.485Z] (4/4) Installing openssh-client-default (8.8_p1-r1) [2022-06-03T09:45:56.485Z] Executing busybox-1.34.1-r3.trigger [2022-06-03T09:45:56.485Z] OK: 224 MiB in 56 packages [2022-06-03T09:45:57.053Z] Removing intermediate container 3ea66d554ab1 [2022-06-03T09:45:57.053Z] ---> 48f4a15fd7ad [2022-06-03T09:45:57.053Z] Step 8/12 : COPY go.mod vendor* ./ [2022-06-03T09:45:57.053Z] ---> 5b098f11470d [2022-06-03T09:45:57.053Z] Step 9/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-06-03T09:45:57.313Z] ---> Running in a5071cb13945 [2022-06-03T09:45:58.103Z] Still waiting to schedule task [2022-06-03T09:45:58.104Z] All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline [2022-06-03T09:46:12.221Z] Removing intermediate container a5071cb13945 [2022-06-03T09:46:12.221Z] ---> ec31b2f3e93c [2022-06-03T09:46:12.221Z] Step 10/12 : COPY . . [2022-06-03T09:46:12.481Z] ---> bc1038a910e1 [2022-06-03T09:46:12.481Z] Step 11/12 : ARG MAKE='make build' [2022-06-03T09:46:12.481Z] ---> Running in 9c6752cd8794 [2022-06-03T09:46:12.481Z] Removing intermediate container 9c6752cd8794 [2022-06-03T09:46:12.481Z] ---> 4c1e94d7e9cb [2022-06-03T09:46:12.481Z] Step 12/12 : RUN $MAKE [2022-06-03T09:46:12.481Z] ---> Running in 3bd80f8c0d0b [2022-06-03T09:46:12.740Z] noop [2022-06-03T09:46:13.310Z] Removing intermediate container 3bd80f8c0d0b [2022-06-03T09:46:13.310Z] ---> d3b2aba144c4 [2022-06-03T09:46:13.310Z] Successfully built d3b2aba144c4 [2022-06-03T09:46:13.310Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-03T09:46:13.627Z] + docker inspect -f . ci-base-image-x86_64 [2022-06-03T09:46:13.627Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-06-03T09:46:13.708Z] prd-ubuntu20.04-docker-8c-8g-913 does not seem to be running inside a container [2022-06-03T09:46:13.753Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/foundry_device-virtual-go_PR-287 -v /w/workspace/foundry_device-virtual-go_PR-287:/w/workspace/foundry_device-virtual-go_PR-287:rw,z -v /w/workspace/foundry_device-virtual-go_PR-287@tmp:/w/workspace/foundry_device-virtual-go_PR-287@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2022-06-03T09:46:14.215Z] $ docker top 3c4330327d7a160571474725bea12b36f6bbe091073399dd827472172b45644a -eo pid,comm [Pipeline] { [Pipeline] sh [2022-06-03T09:46:14.575Z] + go version [2022-06-03T09:46:14.575Z] go version go1.17.6 linux/amd64 [Pipeline] } [2022-06-03T09:46:14.594Z] $ docker stop --time=1 3c4330327d7a160571474725bea12b36f6bbe091073399dd827472172b45644a [2022-06-03T09:46:15.896Z] $ docker rm -f 3c4330327d7a160571474725bea12b36f6bbe091073399dd827472172b45644a [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-03T09:46:16.317Z] + docker inspect -f . ci-base-image-x86_64 [2022-06-03T09:46:16.317Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-06-03T09:46:16.404Z] prd-ubuntu20.04-docker-8c-8g-913 does not seem to be running inside a container [2022-06-03T09:46:16.470Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/foundry_device-virtual-go_PR-287 -v /w/workspace/foundry_device-virtual-go_PR-287:/w/workspace/foundry_device-virtual-go_PR-287:rw,z -v /w/workspace/foundry_device-virtual-go_PR-287@tmp:/w/workspace/foundry_device-virtual-go_PR-287@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2022-06-03T09:46:16.845Z] $ docker top 9a6f99e9b10315a44d9e1bbd961ae03a4be0b0a80c6c645ed4099bbc095c5f72 -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh [2022-06-03T09:46:17.242Z] + make test [2022-06-03T09:46:17.242Z] CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out [2022-06-03T09:46:17.502Z] ? github.com/edgexfoundry/device-virtual-go [no test files] [2022-06-03T09:46:27.488Z] ? github.com/edgexfoundry/device-virtual-go/cmd [no test files] [2022-06-03T09:46:27.488Z] ok github.com/edgexfoundry/device-virtual-go/internal/driver 0.043s coverage: 65.7% of statements [2022-06-03T09:46:32.770Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2022-06-03T09:46:36.063Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-06-03T09:46:36.323Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2022-06-03T09:46:36.323Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2022-06-03T09:46:36.913Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2022-06-03T09:46:36.939Z] $ docker stop --time=1 9a6f99e9b10315a44d9e1bbd961ae03a4be0b0a80c6c645ed4099bbc095c5f72 [2022-06-03T09:46:38.971Z] $ docker rm -f 9a6f99e9b10315a44d9e1bbd961ae03a4be0b0a80c6c645ed4099bbc095c5f72 [Pipeline] // withDockerContainer [Pipeline] sh [2022-06-03T09:46:39.432Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2022-06-03T09:46:39.488Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2022-06-03T09:46:39.994Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2022-06-03T09:46:40.287Z] + ls -al . [2022-06-03T09:46:40.288Z] total 192 [2022-06-03T09:46:40.288Z] drwxrwxr-x 9 jenkins jenkins 4096 Jun 3 09:46 . [2022-06-03T09:46:40.288Z] drwxrwxr-x 4 jenkins jenkins 4096 Jun 3 09:45 .. [2022-06-03T09:46:40.288Z] drwxrwxr-x 8 jenkins jenkins 4096 Jun 3 09:45 .git [2022-06-03T09:46:40.288Z] drwxrwxr-x 3 jenkins jenkins 4096 Jun 3 09:45 .github [2022-06-03T09:46:40.288Z] -rw-rw-r-- 1 jenkins jenkins 337 Jun 3 09:45 .gitignore [2022-06-03T09:46:40.288Z] -rw-rw-r-- 1 jenkins jenkins 41 Jun 3 09:45 .golangci.yml [2022-06-03T09:46:40.288Z] drwxr-xr-x 3 jenkins jenkins 4096 Jun 3 09:45 .semver [2022-06-03T09:46:40.288Z] -rw-rw-r-- 1 jenkins jenkins 8026 Jun 3 09:45 Attribution.txt [2022-06-03T09:46:40.288Z] -rw-rw-r-- 1 jenkins jenkins 9649 Jun 3 09:45 CHANGELOG.md [2022-06-03T09:46:40.288Z] -rw-rw-r-- 1 jenkins jenkins 1974 Jun 3 09:45 Dockerfile [2022-06-03T09:46:40.288Z] -rw-rw-r-- 1 jenkins jenkins 677 Jun 3 09:45 GOVERNANCE.md [2022-06-03T09:46:40.288Z] -rw-rw-r-- 1 jenkins jenkins 660 Jun 3 09:45 Jenkinsfile [2022-06-03T09:46:40.288Z] -rw-rw-r-- 1 jenkins jenkins 11340 Jun 3 09:45 LICENSE [2022-06-03T09:46:40.288Z] -rw-rw-r-- 1 jenkins jenkins 2248 Jun 3 09:45 Makefile [2022-06-03T09:46:40.288Z] -rw-rw-r-- 1 jenkins jenkins 623 Jun 3 09:45 OWNERS.md [2022-06-03T09:46:40.288Z] -rw-rw-r-- 1 jenkins jenkins 2914 Jun 3 09:45 README.md [2022-06-03T09:46:40.288Z] -rw-rw-r-- 1 jenkins jenkins 5 Jun 3 09:45 VERSION [2022-06-03T09:46:40.288Z] drwxrwxr-x 2 jenkins jenkins 4096 Jun 3 09:45 bin [2022-06-03T09:46:40.288Z] drwxrwxr-x 3 jenkins jenkins 4096 Jun 3 09:45 cmd [2022-06-03T09:46:40.288Z] -rw-r--r-- 1 jenkins jenkins 44128 Jun 3 09:46 coverage.out [2022-06-03T09:46:40.288Z] -rw-rw-r-- 1 jenkins jenkins 3139 Jun 3 09:45 go.mod [2022-06-03T09:46:40.288Z] -rw-rw-r-- 1 jenkins jenkins 35006 Jun 3 09:45 go.sum [2022-06-03T09:46:40.288Z] drwxrwxr-x 3 jenkins jenkins 4096 Jun 3 09:45 internal [2022-06-03T09:46:40.288Z] drwxrwxr-x 3 jenkins jenkins 4096 Jun 3 09:45 snap [2022-06-03T09:46:40.288Z] -rw-rw-r-- 1 jenkins jenkins 235 Jun 3 09:45 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-03T09:46:40.657Z] + 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=ccb4f5e4411e93ad5a61be90557f2f0c2d4571c5 --label arch=amd64 --label version=0.0.0 . [2022-06-03T09:46:40.657Z] Sending build context to Docker daemon 23.18MB [2022-06-03T09:46:40.657Z] Step 1/26 : ARG BASE=golang:1.17-alpine3.15 [2022-06-03T09:46:40.657Z] Step 2/26 : FROM ${BASE} AS builder [2022-06-03T09:46:40.657Z] ---> d3b2aba144c4 [2022-06-03T09:46:40.657Z] Step 3/26 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2022-06-03T09:46:40.918Z] ---> Running in a0be1235aa76 [2022-06-03T09:46:40.918Z] Removing intermediate container a0be1235aa76 [2022-06-03T09:46:40.918Z] ---> 3d08695e4258 [2022-06-03T09:46:40.918Z] Step 4/26 : ARG ALPINE_PKG_EXTRA="" [2022-06-03T09:46:41.178Z] ---> Running in 9f00bfa18425 [2022-06-03T09:46:41.178Z] Removing intermediate container 9f00bfa18425 [2022-06-03T09:46:41.178Z] ---> 998587d66b6b [2022-06-03T09:46:41.178Z] Step 5/26 : WORKDIR /device-virtual-go [2022-06-03T09:46:41.178Z] ---> Running in d48507f694de [2022-06-03T09:46:41.439Z] Removing intermediate container d48507f694de [2022-06-03T09:46:41.439Z] ---> 3ac15a7b0752 [2022-06-03T09:46:41.439Z] Step 6/26 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-06-03T09:46:41.439Z] ---> Running in fa0ba7c0d348 [2022-06-03T09:46:42.011Z] Removing intermediate container fa0ba7c0d348 [2022-06-03T09:46:42.011Z] ---> 4ced0bef57c2 [2022-06-03T09:46:42.011Z] Step 7/26 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-06-03T09:46:42.011Z] ---> Running in 29f0317673b5 [2022-06-03T09:46:42.271Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz [2022-06-03T09:46:43.211Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz [2022-06-03T09:46:43.471Z] OK: 224 MiB in 56 packages [2022-06-03T09:46:43.731Z] Removing intermediate container 29f0317673b5 [2022-06-03T09:46:43.731Z] ---> b710172e73f9 [2022-06-03T09:46:43.731Z] Step 8/26 : COPY go.mod vendor* ./ [2022-06-03T09:46:43.991Z] ---> b287abb9d15d [2022-06-03T09:46:43.991Z] Step 9/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-06-03T09:46:43.991Z] ---> Running in 36eda489176b [2022-06-03T09:46:44.928Z] Removing intermediate container 36eda489176b [2022-06-03T09:46:44.928Z] ---> f2cb79bee4fb [2022-06-03T09:46:44.928Z] Step 10/26 : COPY . . [2022-06-03T09:46:45.507Z] ---> 7167c050ddf7 [2022-06-03T09:46:45.507Z] Step 11/26 : ARG MAKE='make build' [2022-06-03T09:46:45.507Z] ---> Running in 67955a5d0106 [2022-06-03T09:46:45.507Z] Removing intermediate container 67955a5d0106 [2022-06-03T09:46:45.507Z] ---> 37594a198d06 [2022-06-03T09:46:45.507Z] Step 12/26 : RUN $MAKE [2022-06-03T09:46:45.507Z] ---> Running in 593cdff788ea [2022-06-03T09:46:46.076Z] CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-linkmode=external -X github.com/edgexfoundry/device-virtual-go.Version=0.0.0" -trimpath -mod=readonly -buildmode=pie -o cmd/device-virtual ./cmd [2022-06-03T09:47:08.024Z] Removing intermediate container 593cdff788ea [2022-06-03T09:47:08.024Z] ---> b8dd50a6bcea [2022-06-03T09:47:08.024Z] Step 13/26 : FROM alpine:3.14 [2022-06-03T09:47:08.024Z] 3.14: Pulling from library/alpine [2022-06-03T09:47:08.024Z] 8663204ce13b: Pulling fs layer [2022-06-03T09:47:08.024Z] 8663204ce13b: Verifying Checksum [2022-06-03T09:47:08.024Z] 8663204ce13b: Download complete [2022-06-03T09:47:08.024Z] 8663204ce13b: Pull complete [2022-06-03T09:47:08.024Z] Digest: sha256:06b5d462c92fc39303e6363c65e074559f8d6b1363250027ed5053557e3398c5 [2022-06-03T09:47:08.024Z] Status: Downloaded newer image for alpine:3.14 [2022-06-03T09:47:08.024Z] ---> e04c818066af [2022-06-03T09:47:08.024Z] Step 14/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2021: IOTech' [2022-06-03T09:47:08.024Z] ---> Running in 7deb971bb7d8 [2022-06-03T09:47:08.024Z] Removing intermediate container 7deb971bb7d8 [2022-06-03T09:47:08.024Z] ---> cc20617a5e10 [2022-06-03T09:47:08.024Z] Step 15/26 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-06-03T09:47:08.024Z] ---> Running in 290e295b40d2 [2022-06-03T09:47:08.024Z] Removing intermediate container 290e295b40d2 [2022-06-03T09:47:08.024Z] ---> bd110e5d061f [2022-06-03T09:47:08.024Z] Step 16/26 : RUN apk add --update --no-cache zeromq dumb-init [2022-06-03T09:47:08.024Z] ---> Running in 55f1f2e6f645 [2022-06-03T09:47:08.024Z] fetch https://nl.alpinelinux.org/alpine/v3.14/main/x86_64/APKINDEX.tar.gz [2022-06-03T09:47:08.285Z] fetch https://nl.alpinelinux.org/alpine/v3.14/community/x86_64/APKINDEX.tar.gz [2022-06-03T09:47:08.545Z] (1/6) Installing dumb-init (1.2.5-r1) [2022-06-03T09:47:08.545Z] (2/6) Installing libgcc (10.3.1_git20210424-r2) [2022-06-03T09:47:08.545Z] (3/6) Installing libsodium (1.0.18-r0) [2022-06-03T09:47:08.806Z] (4/6) Installing libstdc++ (10.3.1_git20210424-r2) [2022-06-03T09:47:08.806Z] (5/6) Installing libzmq (4.3.4-r0) [2022-06-03T09:47:08.806Z] (6/6) Installing zeromq (4.3.4-r0) [2022-06-03T09:47:09.068Z] Executing busybox-1.33.1-r7.trigger [2022-06-03T09:47:09.068Z] OK: 8 MiB in 20 packages [2022-06-03T09:47:09.639Z] Removing intermediate container 55f1f2e6f645 [2022-06-03T09:47:09.639Z] ---> c66d633f6937 [2022-06-03T09:47:09.639Z] Step 17/26 : WORKDIR / [2022-06-03T09:47:09.639Z] ---> Running in 60d91a737681 [2022-06-03T09:47:09.639Z] Removing intermediate container 60d91a737681 [2022-06-03T09:47:09.639Z] ---> 44d7dd325630 [2022-06-03T09:47:09.639Z] Step 18/26 : COPY --from=builder /device-virtual-go/Attribution.txt / [2022-06-03T09:47:09.901Z] ---> 59b7c7df4c1f [2022-06-03T09:47:09.901Z] Step 19/26 : COPY --from=builder /device-virtual-go/LICENSE / [2022-06-03T09:47:10.162Z] ---> 8b45f55ee112 [2022-06-03T09:47:10.162Z] Step 20/26 : COPY --from=builder /device-virtual-go/cmd / [2022-06-03T09:47:10.732Z] ---> 37623e2853b8 [2022-06-03T09:47:10.732Z] Step 21/26 : EXPOSE 59900 [2022-06-03T09:47:10.732Z] ---> Running in d698b406205b [2022-06-03T09:47:10.997Z] Removing intermediate container d698b406205b [2022-06-03T09:47:10.997Z] ---> 4ce7aa76bc5b [2022-06-03T09:47:10.997Z] Step 22/26 : ENTRYPOINT ["/device-virtual"] [2022-06-03T09:47:10.997Z] ---> Running in a2cf173861dc [2022-06-03T09:47:10.997Z] Removing intermediate container a2cf173861dc [2022-06-03T09:47:10.997Z] ---> eb5884ab7236 [2022-06-03T09:47:10.997Z] Step 23/26 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2022-06-03T09:47:11.258Z] ---> Running in 6a0c8992b089 [2022-06-03T09:47:11.258Z] Removing intermediate container 6a0c8992b089 [2022-06-03T09:47:11.258Z] ---> f4a86ed0f16e [2022-06-03T09:47:11.258Z] Step 24/26 : LABEL arch=amd64 [2022-06-03T09:47:11.258Z] ---> Running in 62eb2b48ffa1 [2022-06-03T09:47:11.519Z] Removing intermediate container 62eb2b48ffa1 [2022-06-03T09:47:11.519Z] ---> 3d50d11dd852 [2022-06-03T09:47:11.519Z] Step 25/26 : LABEL git_sha=ccb4f5e4411e93ad5a61be90557f2f0c2d4571c5 [2022-06-03T09:47:11.519Z] ---> Running in e442a304155e [2022-06-03T09:47:11.519Z] Removing intermediate container e442a304155e [2022-06-03T09:47:11.519Z] ---> 548a90cfd703 [2022-06-03T09:47:11.519Z] Step 26/26 : LABEL version=0.0.0 [2022-06-03T09:47:11.519Z] ---> Running in 8d3ec7db172d [2022-06-03T09:47:11.780Z] Removing intermediate container 8d3ec7db172d [2022-06-03T09:47:11.780Z] ---> 45339e9db86f [2022-06-03T09:47:11.780Z] [Warning] One or more build-args [ARCH] were not consumed [2022-06-03T09:47:11.780Z] Successfully built 45339e9db86f [2022-06-03T09:47:11.780Z] Successfully tagged device-virtual:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-03T09:47:12.203Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-06-03T09:47:12.203Z] [2022-06-03T09:47:12.203Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-03T09:47:12.511Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-06-03T09:47:12.511Z] latest: Pulling from edgex-lftools-log-publisher [2022-06-03T09:47:12.511Z] 5eb5b503b376: Pulling fs layer [2022-06-03T09:47:12.511Z] 5c69ac0246d0: Pulling fs layer [2022-06-03T09:47:12.511Z] ec43610c2a17: Pulling fs layer [2022-06-03T09:47:12.511Z] 3a2ae6a8a46f: Pulling fs layer [2022-06-03T09:47:12.511Z] 33b1e0a273af: Pulling fs layer [2022-06-03T09:47:12.511Z] 5d3b04190fa2: Pulling fs layer [2022-06-03T09:47:12.511Z] 2f39f015ded8: Pulling fs layer [2022-06-03T09:47:12.511Z] 3a2ae6a8a46f: Waiting [2022-06-03T09:47:12.511Z] 5d3b04190fa2: Waiting [2022-06-03T09:47:12.511Z] 33b1e0a273af: Waiting [2022-06-03T09:47:12.511Z] 2f39f015ded8: Waiting [2022-06-03T09:47:12.511Z] 5c69ac0246d0: Download complete [2022-06-03T09:47:12.511Z] 3a2ae6a8a46f: Verifying Checksum [2022-06-03T09:47:12.511Z] 3a2ae6a8a46f: Download complete [2022-06-03T09:47:12.511Z] ec43610c2a17: Verifying Checksum [2022-06-03T09:47:12.511Z] ec43610c2a17: Download complete [2022-06-03T09:47:12.511Z] 33b1e0a273af: Verifying Checksum [2022-06-03T09:47:12.511Z] 33b1e0a273af: Download complete [2022-06-03T09:47:12.511Z] 5d3b04190fa2: Download complete [2022-06-03T09:47:12.769Z] 5eb5b503b376: Download complete [2022-06-03T09:47:13.336Z] 2f39f015ded8: Download complete [2022-06-03T09:47:13.905Z] 5eb5b503b376: Pull complete [2022-06-03T09:47:14.164Z] 5c69ac0246d0: Pull complete [2022-06-03T09:47:14.424Z] ec43610c2a17: Pull complete [2022-06-03T09:47:14.684Z] 3a2ae6a8a46f: Pull complete [2022-06-03T09:47:14.943Z] 33b1e0a273af: Pull complete [2022-06-03T09:47:14.943Z] 5d3b04190fa2: Pull complete [2022-06-03T09:47:19.136Z] 2f39f015ded8: Pull complete [2022-06-03T09:47:19.136Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2022-06-03T09:47:19.136Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-06-03T09:47:19.136Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-06-03T09:47:19.226Z] prd-ubuntu20.04-docker-8c-8g-913 does not seem to be running inside a container [2022-06-03T09:47:19.275Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/foundry_device-virtual-go_PR-287 -v /w/workspace/foundry_device-virtual-go_PR-287:/w/workspace/foundry_device-virtual-go_PR-287:rw,z -v /w/workspace/foundry_device-virtual-go_PR-287@tmp:/w/workspace/foundry_device-virtual-go_PR-287@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2022-06-03T09:47:24.354Z] $ docker top 5523bff78261a82b4b1053253560bc6d215337e54163a67d68a2b6d3927fe64c -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-06-03T09:47:24.753Z] ---> job-cost.sh [2022-06-03T09:47:24.753Z] lf-activate-venv: SKIPPING [2022-06-03T09:47:24.753Z] INFO: No Stack... [2022-06-03T09:47:25.012Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2022-06-03T09:47:25.584Z] INFO: Archiving Costs [Pipeline] sh [2022-06-03T09:47:25.878Z] + cat /w/workspace/foundry_device-virtual-go_PR-287/archives/cost.csv [2022-06-03T09:47:25.878Z] + cut -d, -f6 [Pipeline] lock [2022-06-03T09:47:25.892Z] Trying to acquire lock on [jenkins-edgexfoundry-device-virtual-go-PR-287-9-stack-cost] [2022-06-03T09:47:25.898Z] Resource [jenkins-edgexfoundry-device-virtual-go-PR-287-9-stack-cost] did not exist. Created. [2022-06-03T09:47:25.898Z] Lock acquired on [jenkins-edgexfoundry-device-virtual-go-PR-287-9-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-06-03T09:47:26.205Z] + echo total: 0.2199999988079071 [Pipeline] stash [2022-06-03T09:47:26.239Z] Stashed 1 file(s) [Pipeline] } [2022-06-03T09:47:26.247Z] Lock released on resource [jenkins-edgexfoundry-device-virtual-go-PR-287-9-stack-cost] [Pipeline] // lock [Pipeline] } [2022-06-03T09:47:26.277Z] $ docker stop --time=1 5523bff78261a82b4b1053253560bc6d215337e54163a67d68a2b6d3927fe64c [2022-06-03T09:47:27.457Z] $ docker rm -f 5523bff78261a82b4b1053253560bc6d215337e54163a67d68a2b6d3927fe64c [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2022-06-03T09:47:38.084Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-914 in /w/workspace/foundry_device-virtual-go_PR-287 [Pipeline] { [Pipeline] ws [2022-06-03T09:47:38.096Z] Running in /w/workspace/device-virtual-go/9 [Pipeline] { [Pipeline] checkout [2022-06-03T09:47:38.174Z] The recommended git tool is: git [2022-06-03T09:47:44.055Z] using credential edgex-jenkins-ssh [2022-06-03T09:47:44.071Z] Cloning the remote Git repository [2022-06-03T09:47:44.138Z] Cloning repository git@github.com:edgexfoundry/device-virtual-go.git [2022-06-03T09:47:44.211Z] > git init /w/workspace/device-virtual-go/9 # timeout=10 [2022-06-03T09:47:44.277Z] Fetching upstream changes from git@github.com:edgexfoundry/device-virtual-go.git [2022-06-03T09:47:44.278Z] > git --version # timeout=10 [2022-06-03T09:47:44.295Z] > git --version # 'git version 2.25.1' [2022-06-03T09:47:44.297Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-06-03T09:47:44.400Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-virtual-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-06-03T09:47:46.861Z] Merging remotes/origin/main commit 9cab87334a4d5affcc1b2c5c12d642008ef46c2d into PR head commit ccb4f5e4411e93ad5a61be90557f2f0c2d4571c5 [2022-06-03T09:47:47.068Z] Merge succeeded, producing ccb4f5e4411e93ad5a61be90557f2f0c2d4571c5 [2022-06-03T09:47:47.069Z] Checking out Revision ccb4f5e4411e93ad5a61be90557f2f0c2d4571c5 (PR-287) [2022-06-03T09:47:46.249Z] > git config remote.origin.url git@github.com:edgexfoundry/device-virtual-go.git # timeout=10 [2022-06-03T09:47:46.265Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-06-03T09:47:46.290Z] > git config remote.origin.url git@github.com:edgexfoundry/device-virtual-go.git # timeout=10 [2022-06-03T09:47:46.318Z] Fetching upstream changes from git@github.com:edgexfoundry/device-virtual-go.git [2022-06-03T09:47:46.319Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-06-03T09:47:46.332Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-virtual-go.git +refs/pull/287/head:refs/remotes/origin/PR-287 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2022-06-03T09:47:46.886Z] > git config core.sparsecheckout # timeout=10 [2022-06-03T09:47:46.900Z] > git checkout -f ccb4f5e4411e93ad5a61be90557f2f0c2d4571c5 # timeout=10 [2022-06-03T09:47:46.987Z] > git remote # timeout=10 [2022-06-03T09:47:47.005Z] > git config --get remote.origin.url # timeout=10 [2022-06-03T09:47:47.022Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-06-03T09:47:47.033Z] > git merge 9cab87334a4d5affcc1b2c5c12d642008ef46c2d # timeout=10 [2022-06-03T09:47:47.057Z] > git rev-parse HEAD^{commit} # timeout=10 [2022-06-03T09:47:47.080Z] > git config core.sparsecheckout # timeout=10 [2022-06-03T09:47:47.094Z] > git checkout -f ccb4f5e4411e93ad5a61be90557f2f0c2d4571c5 # timeout=10 [2022-06-03T09:47:51.196Z] Commit message: "build(snap): Update CI workflow with canonical repo v2" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-06-03T09:47:52.084Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2022-06-03T09:47:52.084Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-06-03T09:47:52.084Z] Dload Upload Total Spent Left Speed [2022-06-03T09:47:52.084Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12253 100 12253 0 0 90095 0 --:--:-- --:--:-- --:--:-- 90762 [Pipeline] sh [2022-06-03T09:47:52.793Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2022-06-03T09:47:53.127Z] + + sudosudo tee jq /etc/docker/daemon.new . += {"seccomp-profile": "/etc/docker/seccomp.json"} [2022-06-03T09:47:53.127Z] /etc/docker/daemon.json [2022-06-03T09:47:53.127Z] { [2022-06-03T09:47:53.127Z] "registry-mirrors": [ [2022-06-03T09:47:53.127Z] "https://nexus3.edgexfoundry.org:10001" [2022-06-03T09:47:53.127Z] ], [2022-06-03T09:47:53.127Z] "bip": "10.250.0.254/24", [2022-06-03T09:47:53.127Z] "hosts": [ [2022-06-03T09:47:53.127Z] "tcp://0.0.0.0:5555", [2022-06-03T09:47:53.127Z] "unix:///var/run/docker.sock" [2022-06-03T09:47:53.127Z] ], [2022-06-03T09:47:53.127Z] "mtu": 1458, [2022-06-03T09:47:53.127Z] "selinux-enabled": true, [2022-06-03T09:47:53.127Z] "seccomp-profile": "/etc/docker/seccomp.json" [2022-06-03T09:47:53.127Z] } [Pipeline] sh [2022-06-03T09:47:53.477Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2022-06-03T09:47:53.811Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-06-03T09:48:12.131Z] provisioning config files... [2022-06-03T09:48:12.155Z] copy managed file [device-virtual-go-settings] to file:/w/workspace/device-virtual-go/9@tmp/config477193666134533948tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-06-03T09:48:12.511Z] ---> docker-login.sh [2022-06-03T09:48:12.512Z] nexus3.edgexfoundry.org:10001 [2022-06-03T09:48:13.118Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-03T09:48:13.393Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-03T09:48:13.393Z] Configure a credential helper to remove this warning. See [2022-06-03T09:48:13.394Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-03T09:48:13.394Z] [2022-06-03T09:48:13.394Z] Login Succeeded [2022-06-03T09:48:13.394Z] nexus3.edgexfoundry.org:10002 [2022-06-03T09:48:13.666Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-03T09:48:13.666Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-03T09:48:13.666Z] Configure a credential helper to remove this warning. See [2022-06-03T09:48:13.666Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-03T09:48:13.666Z] [2022-06-03T09:48:13.666Z] Login Succeeded [2022-06-03T09:48:13.666Z] nexus3.edgexfoundry.org:10003 [2022-06-03T09:48:14.264Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-03T09:48:14.264Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-03T09:48:14.264Z] Configure a credential helper to remove this warning. See [2022-06-03T09:48:14.264Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-03T09:48:14.264Z] [2022-06-03T09:48:14.264Z] Login Succeeded [2022-06-03T09:48:14.264Z] nexus3.edgexfoundry.org:10004 [2022-06-03T09:48:14.542Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-03T09:48:14.542Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-03T09:48:14.542Z] Configure a credential helper to remove this warning. See [2022-06-03T09:48:14.542Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-03T09:48:14.542Z] [2022-06-03T09:48:14.542Z] Login Succeeded [2022-06-03T09:48:14.542Z] docker.io [2022-06-03T09:48:15.137Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-03T09:48:15.409Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-03T09:48:15.409Z] Configure a credential helper to remove this warning. See [2022-06-03T09:48:15.409Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-03T09:48:15.409Z] [2022-06-03T09:48:15.409Z] Login Succeeded [2022-06-03T09:48:15.409Z] ---> docker-login.sh ends [Pipeline] } [2022-06-03T09:48:15.427Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-06-03T09:48:15.946Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-06-03T09:48:15.955Z] ========================================================= [2022-06-03T09:48:15.955Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine] [2022-06-03T09:48:15.955Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-03T09:48:16.311Z] + docker build -t ci-base-image-arm64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine --build-arg MAKE=echo noop --target=builder . [2022-06-03T09:48:16.907Z] Sending build context to Docker daemon 11.75MB [2022-06-03T09:48:16.907Z] Step 1/12 : ARG BASE=golang:1.17-alpine3.15 [2022-06-03T09:48:16.907Z] Step 2/12 : FROM ${BASE} AS builder [2022-06-03T09:48:16.907Z] 1.17-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2022-06-03T09:48:16.907Z] 9b3977197b4f: Pulling fs layer [2022-06-03T09:48:16.907Z] 1a89e8eeedd5: Pulling fs layer [2022-06-03T09:48:16.907Z] 94645a83ff95: Pulling fs layer [2022-06-03T09:48:16.907Z] 3f3a8bcf1eab: Pulling fs layer [2022-06-03T09:48:16.907Z] 0c92f367c5e7: Pulling fs layer [2022-06-03T09:48:16.907Z] 3096ccb668a1: Pulling fs layer [2022-06-03T09:48:16.907Z] e8cf19c19ddd: Pulling fs layer [2022-06-03T09:48:16.907Z] a4caa8a26152: Pulling fs layer [2022-06-03T09:48:16.907Z] 3096ccb668a1: Waiting [2022-06-03T09:48:16.907Z] 3f3a8bcf1eab: Waiting [2022-06-03T09:48:16.907Z] e8cf19c19ddd: Waiting [2022-06-03T09:48:16.907Z] a4caa8a26152: Waiting [2022-06-03T09:48:16.907Z] 0c92f367c5e7: Waiting [2022-06-03T09:48:16.907Z] 94645a83ff95: Verifying Checksum [2022-06-03T09:48:16.907Z] 94645a83ff95: Download complete [2022-06-03T09:48:16.907Z] 1a89e8eeedd5: Download complete [2022-06-03T09:48:16.907Z] 0c92f367c5e7: Verifying Checksum [2022-06-03T09:48:16.907Z] 0c92f367c5e7: Download complete [2022-06-03T09:48:16.907Z] 3096ccb668a1: Verifying Checksum [2022-06-03T09:48:16.907Z] 3096ccb668a1: Download complete [2022-06-03T09:48:17.195Z] e8cf19c19ddd: Verifying Checksum [2022-06-03T09:48:17.195Z] e8cf19c19ddd: Download complete [2022-06-03T09:48:17.195Z] 9b3977197b4f: Verifying Checksum [2022-06-03T09:48:17.195Z] 9b3977197b4f: Download complete [2022-06-03T09:48:17.798Z] 9b3977197b4f: Pull complete [2022-06-03T09:48:18.401Z] 1a89e8eeedd5: Pull complete [2022-06-03T09:48:18.680Z] 94645a83ff95: Pull complete [2022-06-03T09:48:18.953Z] a4caa8a26152: Verifying Checksum [2022-06-03T09:48:18.953Z] a4caa8a26152: Download complete [2022-06-03T09:48:19.547Z] 3f3a8bcf1eab: Download complete [2022-06-03T09:48:31.950Z] 3f3a8bcf1eab: Pull complete [2022-06-03T09:48:31.950Z] 0c92f367c5e7: Pull complete [2022-06-03T09:48:31.950Z] 3096ccb668a1: Pull complete [2022-06-03T09:48:32.225Z] e8cf19c19ddd: Pull complete [2022-06-03T09:48:38.959Z] a4caa8a26152: Pull complete [2022-06-03T09:48:38.959Z] Digest: sha256:b3ad895ecde34a7521bb8912598475bc58d052e1c2c58d00df7f0fe54a102a46 [2022-06-03T09:48:38.959Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine [2022-06-03T09:48:38.959Z] ---> 725f1c02e7f9 [2022-06-03T09:48:38.959Z] Step 3/12 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2022-06-03T09:48:38.959Z] ---> Running in f598cdbe3e62 [2022-06-03T09:48:39.243Z] Removing intermediate container f598cdbe3e62 [2022-06-03T09:48:39.243Z] ---> a1fe52fbe60c [2022-06-03T09:48:39.243Z] Step 4/12 : ARG ALPINE_PKG_EXTRA="" [2022-06-03T09:48:39.531Z] ---> Running in ba31a2c17cf4 [2022-06-03T09:48:39.804Z] Removing intermediate container ba31a2c17cf4 [2022-06-03T09:48:39.804Z] ---> 54906d9e1ed0 [2022-06-03T09:48:39.804Z] Step 5/12 : WORKDIR /device-virtual-go [2022-06-03T09:48:39.804Z] ---> Running in b7e5ef9cf375 [2022-06-03T09:48:40.108Z] Removing intermediate container b7e5ef9cf375 [2022-06-03T09:48:40.108Z] ---> c4e03a507729 [2022-06-03T09:48:40.108Z] Step 6/12 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-06-03T09:48:40.108Z] ---> Running in f6fea9042d70 [2022-06-03T09:48:42.099Z] Removing intermediate container f6fea9042d70 [2022-06-03T09:48:42.099Z] ---> 9cf923a9ee1b [2022-06-03T09:48:42.099Z] Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-06-03T09:48:42.099Z] ---> Running in 1b55b6902d2b [2022-06-03T09:48:43.076Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz [2022-06-03T09:48:44.064Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz [2022-06-03T09:48:44.668Z] (1/4) Installing openssh-keygen (8.8_p1-r1) [2022-06-03T09:48:44.668Z] (2/4) Installing libedit (20210910.3.1-r0) [2022-06-03T09:48:44.941Z] (3/4) Installing openssh-client-common (8.8_p1-r1) [2022-06-03T09:48:44.941Z] (4/4) Installing openssh-client-default (8.8_p1-r1) [2022-06-03T09:48:45.213Z] Executing busybox-1.34.1-r3.trigger [2022-06-03T09:48:45.213Z] OK: 224 MiB in 56 packages [2022-06-03T09:48:46.200Z] Removing intermediate container 1b55b6902d2b [2022-06-03T09:48:46.200Z] ---> fca0988bf36f [2022-06-03T09:48:46.200Z] Step 8/12 : COPY go.mod vendor* ./ [2022-06-03T09:48:46.800Z] ---> 50be278a8d95 [2022-06-03T09:48:46.800Z] Step 9/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-06-03T09:48:46.800Z] ---> Running in 95f1286c4ce7 [2022-06-03T09:49:33.808Z] Removing intermediate container 95f1286c4ce7 [2022-06-03T09:49:33.808Z] ---> 3dd8d2c29d4d [2022-06-03T09:49:33.808Z] Step 10/12 : COPY . . [2022-06-03T09:49:33.808Z] ---> 9a4ed0bce3f0 [2022-06-03T09:49:33.808Z] Step 11/12 : ARG MAKE='make build' [2022-06-03T09:49:33.808Z] ---> Running in 27e081e22aba [2022-06-03T09:49:33.808Z] Removing intermediate container 27e081e22aba [2022-06-03T09:49:33.808Z] ---> c87a60507e71 [2022-06-03T09:49:33.808Z] Step 12/12 : RUN $MAKE [2022-06-03T09:49:33.808Z] ---> Running in 176e2510cf2a [2022-06-03T09:49:33.808Z] noop [2022-06-03T09:49:33.808Z] Removing intermediate container 176e2510cf2a [2022-06-03T09:49:33.808Z] ---> ea4d554e6180 [2022-06-03T09:49:33.808Z] Successfully built ea4d554e6180 [2022-06-03T09:49:33.808Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-03T09:49:34.178Z] + docker inspect -f . ci-base-image-arm64 [2022-06-03T09:49:34.178Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-06-03T09:49:34.436Z] prd-ubuntu20.04-docker-arm64-4c-16g-914 does not seem to be running inside a container [2022-06-03T09:49:34.524Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-virtual-go/9 -v /w/workspace/device-virtual-go/9:/w/workspace/device-virtual-go/9:rw,z -v /w/workspace/device-virtual-go/9@tmp:/w/workspace/device-virtual-go/9@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2022-06-03T09:49:35.801Z] $ docker top 78bdf5e464bbb4d78e636878375844ba52da660c40cfc67c7dc36c3c082fd701 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-06-03T09:49:36.701Z] + go version [2022-06-03T09:49:36.701Z] go version go1.17.6 linux/arm64 [Pipeline] } [2022-06-03T09:49:36.734Z] $ docker stop --time=1 78bdf5e464bbb4d78e636878375844ba52da660c40cfc67c7dc36c3c082fd701 [2022-06-03T09:49:38.355Z] $ docker rm -f 78bdf5e464bbb4d78e636878375844ba52da660c40cfc67c7dc36c3c082fd701 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-03T09:49:38.954Z] + docker inspect -f . ci-base-image-arm64 [2022-06-03T09:49:38.954Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-06-03T09:49:39.184Z] prd-ubuntu20.04-docker-arm64-4c-16g-914 does not seem to be running inside a container [2022-06-03T09:49:39.272Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-virtual-go/9 -v /w/workspace/device-virtual-go/9:/w/workspace/device-virtual-go/9:rw,z -v /w/workspace/device-virtual-go/9@tmp:/w/workspace/device-virtual-go/9@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2022-06-03T09:49:40.552Z] $ docker top c9fee4c4dba2859c4ac713997e8c8587ed0ddade96f71e59fe26147d1a9f40f1 -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh [2022-06-03T09:49:41.474Z] + make test [2022-06-03T09:49:41.474Z] CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out [2022-06-03T09:49:42.916Z] ? github.com/edgexfoundry/device-virtual-go [no test files] [2022-06-03T09:51:04.749Z] ? github.com/edgexfoundry/device-virtual-go/cmd [no test files] [2022-06-03T09:51:04.749Z] ok github.com/edgexfoundry/device-virtual-go/internal/driver 0.134s coverage: 65.7% of statements [2022-06-03T09:51:04.749Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2022-06-03T09:51:04.749Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2022-06-03T09:51:26.954Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-06-03T09:51:26.954Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2022-06-03T09:51:26.954Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2022-06-03T09:51:26.978Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2022-06-03T09:51:26.999Z] $ docker stop --time=1 c9fee4c4dba2859c4ac713997e8c8587ed0ddade96f71e59fe26147d1a9f40f1 [2022-06-03T09:51:28.747Z] $ docker rm -f c9fee4c4dba2859c4ac713997e8c8587ed0ddade96f71e59fe26147d1a9f40f1 [Pipeline] // withDockerContainer [Pipeline] sh [2022-06-03T09:51:29.686Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2022-06-03T09:51:29.707Z] Warning: overwriting stash ‘coverage-report’ [2022-06-03T09:51:30.222Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-06-03T09:51:30.616Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2022-06-03T09:51:30.947Z] + ls -al . [2022-06-03T09:51:30.947Z] total 188 [2022-06-03T09:51:30.948Z] drwxrwxr-x 8 jenkins jenkins 4096 Jun 3 09:51 . [2022-06-03T09:51:30.948Z] drwxrwxr-x 4 jenkins jenkins 4096 Jun 3 09:47 .. [2022-06-03T09:51:30.948Z] drwxrwxr-x 8 jenkins jenkins 4096 Jun 3 09:47 .git [2022-06-03T09:51:30.948Z] drwxrwxr-x 3 jenkins jenkins 4096 Jun 3 09:47 .github [2022-06-03T09:51:30.948Z] -rw-rw-r-- 1 jenkins jenkins 337 Jun 3 09:47 .gitignore [2022-06-03T09:51:30.948Z] -rw-rw-r-- 1 jenkins jenkins 41 Jun 3 09:47 .golangci.yml [2022-06-03T09:51:30.948Z] -rw-rw-r-- 1 jenkins jenkins 8026 Jun 3 09:47 Attribution.txt [2022-06-03T09:51:30.948Z] -rw-rw-r-- 1 jenkins jenkins 9649 Jun 3 09:47 CHANGELOG.md [2022-06-03T09:51:30.948Z] -rw-rw-r-- 1 jenkins jenkins 1974 Jun 3 09:47 Dockerfile [2022-06-03T09:51:30.948Z] -rw-rw-r-- 1 jenkins jenkins 677 Jun 3 09:47 GOVERNANCE.md [2022-06-03T09:51:30.948Z] -rw-rw-r-- 1 jenkins jenkins 660 Jun 3 09:47 Jenkinsfile [2022-06-03T09:51:30.948Z] -rw-rw-r-- 1 jenkins jenkins 11340 Jun 3 09:47 LICENSE [2022-06-03T09:51:30.948Z] -rw-rw-r-- 1 jenkins jenkins 2248 Jun 3 09:47 Makefile [2022-06-03T09:51:30.948Z] -rw-rw-r-- 1 jenkins jenkins 623 Jun 3 09:47 OWNERS.md [2022-06-03T09:51:30.948Z] -rw-rw-r-- 1 jenkins jenkins 2914 Jun 3 09:47 README.md [2022-06-03T09:51:30.948Z] -rw-rw-r-- 1 jenkins jenkins 5 Jun 3 09:45 VERSION [2022-06-03T09:51:30.948Z] drwxrwxr-x 2 jenkins jenkins 4096 Jun 3 09:47 bin [2022-06-03T09:51:30.948Z] drwxrwxr-x 3 jenkins jenkins 4096 Jun 3 09:47 cmd [2022-06-03T09:51:30.948Z] -rw-r--r-- 1 jenkins jenkins 44128 Jun 3 09:50 coverage.out [2022-06-03T09:51:30.948Z] -rw-rw-r-- 1 jenkins jenkins 3139 Jun 3 09:47 go.mod [2022-06-03T09:51:30.948Z] -rw-rw-r-- 1 jenkins jenkins 35006 Jun 3 09:47 go.sum [2022-06-03T09:51:30.948Z] drwxrwxr-x 3 jenkins jenkins 4096 Jun 3 09:47 internal [2022-06-03T09:51:30.948Z] drwxrwxr-x 3 jenkins jenkins 4096 Jun 3 09:47 snap [2022-06-03T09:51:30.948Z] -rw-rw-r-- 1 jenkins jenkins 235 Jun 3 09:47 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-03T09:51:31.303Z] + 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=ccb4f5e4411e93ad5a61be90557f2f0c2d4571c5 --label arch=arm64 --label version=0.0.0 . [2022-06-03T09:51:31.903Z] Sending build context to Docker daemon 11.8MB [2022-06-03T09:51:31.903Z] Step 1/26 : ARG BASE=golang:1.17-alpine3.15 [2022-06-03T09:51:31.903Z] Step 2/26 : FROM ${BASE} AS builder [2022-06-03T09:51:31.903Z] ---> ea4d554e6180 [2022-06-03T09:51:31.903Z] Step 3/26 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2022-06-03T09:51:31.903Z] ---> Running in c5a8d36725c6 [2022-06-03T09:51:32.175Z] Removing intermediate container c5a8d36725c6 [2022-06-03T09:51:32.175Z] ---> 1103cca3e50e [2022-06-03T09:51:32.175Z] Step 4/26 : ARG ALPINE_PKG_EXTRA="" [2022-06-03T09:51:32.175Z] ---> Running in f246601dc6b9 [2022-06-03T09:51:32.452Z] Removing intermediate container f246601dc6b9 [2022-06-03T09:51:32.452Z] ---> 28a1f2f186d4 [2022-06-03T09:51:32.452Z] Step 5/26 : WORKDIR /device-virtual-go [2022-06-03T09:51:32.728Z] ---> Running in 09eb5ca055b8 [2022-06-03T09:51:32.999Z] Removing intermediate container 09eb5ca055b8 [2022-06-03T09:51:32.999Z] ---> c6858b3c494d [2022-06-03T09:51:32.999Z] Step 6/26 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-06-03T09:51:32.999Z] ---> Running in 131d2b987def [2022-06-03T09:51:34.444Z] Removing intermediate container 131d2b987def [2022-06-03T09:51:34.444Z] ---> dcb99a948e2a [2022-06-03T09:51:34.444Z] Step 7/26 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-06-03T09:51:34.722Z] ---> Running in 6f44b5f70f69 [2022-06-03T09:51:35.695Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz [2022-06-03T09:51:36.666Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz [2022-06-03T09:51:37.257Z] OK: 224 MiB in 56 packages [2022-06-03T09:51:38.250Z] Removing intermediate container 6f44b5f70f69 [2022-06-03T09:51:38.250Z] ---> a008c0e6c7aa [2022-06-03T09:51:38.250Z] Step 8/26 : COPY go.mod vendor* ./ [2022-06-03T09:51:38.522Z] ---> eca3e777c75f [2022-06-03T09:51:38.522Z] Step 9/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-06-03T09:51:38.802Z] ---> Running in 816503b4bb12 [2022-06-03T09:51:40.790Z] Removing intermediate container 816503b4bb12 [2022-06-03T09:51:40.790Z] ---> bada2cdb72e6 [2022-06-03T09:51:40.790Z] Step 10/26 : COPY . . [2022-06-03T09:51:41.773Z] ---> 5cf48be78e9a [2022-06-03T09:51:41.773Z] Step 11/26 : ARG MAKE='make build' [2022-06-03T09:51:42.048Z] ---> Running in 3a310446ebfb [2022-06-03T09:51:42.320Z] Removing intermediate container 3a310446ebfb [2022-06-03T09:51:42.320Z] ---> db20958783a7 [2022-06-03T09:51:42.320Z] Step 12/26 : RUN $MAKE [2022-06-03T09:51:42.320Z] ---> Running in 72ae8348bc68 [2022-06-03T09:51:43.312Z] CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-linkmode=external -X github.com/edgexfoundry/device-virtual-go.Version=0.0.0" -trimpath -mod=readonly -buildmode=pie -o cmd/device-virtual ./cmd [2022-06-03T09:53:50.192Z] Removing intermediate container 72ae8348bc68 [2022-06-03T09:53:50.192Z] ---> 5e334db592b9 [2022-06-03T09:53:50.192Z] Step 13/26 : FROM alpine:3.14 [2022-06-03T09:53:50.192Z] 3.14: Pulling from library/alpine [2022-06-03T09:53:50.192Z] 455c02918c45: Pulling fs layer [2022-06-03T09:53:50.192Z] 455c02918c45: Verifying Checksum [2022-06-03T09:53:50.192Z] 455c02918c45: Download complete [2022-06-03T09:53:50.192Z] 455c02918c45: Pull complete [2022-06-03T09:53:50.192Z] Digest: sha256:06b5d462c92fc39303e6363c65e074559f8d6b1363250027ed5053557e3398c5 [2022-06-03T09:53:50.192Z] Status: Downloaded newer image for alpine:3.14 [2022-06-03T09:53:50.192Z] ---> ac73e934f311 [2022-06-03T09:53:50.192Z] Step 14/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2021: IOTech' [2022-06-03T09:53:50.192Z] ---> Running in 4e166a961e38 [2022-06-03T09:53:50.192Z] Removing intermediate container 4e166a961e38 [2022-06-03T09:53:50.192Z] ---> 7bd1456f3427 [2022-06-03T09:53:50.192Z] Step 15/26 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-06-03T09:53:50.192Z] ---> Running in f1f616fc75a1 [2022-06-03T09:53:50.192Z] Removing intermediate container f1f616fc75a1 [2022-06-03T09:53:50.192Z] ---> e5d4bb6a3bf2 [2022-06-03T09:53:50.192Z] Step 16/26 : RUN apk add --update --no-cache zeromq dumb-init [2022-06-03T09:53:50.192Z] ---> Running in b99c209239a9 [2022-06-03T09:53:50.192Z] fetch https://nl.alpinelinux.org/alpine/v3.14/main/aarch64/APKINDEX.tar.gz [2022-06-03T09:53:50.192Z] fetch https://nl.alpinelinux.org/alpine/v3.14/community/aarch64/APKINDEX.tar.gz [2022-06-03T09:53:50.192Z] (1/6) Installing dumb-init (1.2.5-r1) [2022-06-03T09:53:50.192Z] (2/6) Installing libgcc (10.3.1_git20210424-r2) [2022-06-03T09:53:50.192Z] (3/6) Installing libsodium (1.0.18-r0) [2022-06-03T09:53:50.192Z] (4/6) Installing libstdc++ (10.3.1_git20210424-r2) [2022-06-03T09:53:50.192Z] (5/6) Installing libzmq (4.3.4-r0) [2022-06-03T09:53:50.192Z] (6/6) Installing zeromq (4.3.4-r0) [2022-06-03T09:53:50.192Z] Executing busybox-1.33.1-r7.trigger [2022-06-03T09:53:50.192Z] OK: 8 MiB in 20 packages [2022-06-03T09:53:50.192Z] Removing intermediate container b99c209239a9 [2022-06-03T09:53:50.192Z] ---> 30e4d282ad4c [2022-06-03T09:53:50.192Z] Step 17/26 : WORKDIR / [2022-06-03T09:53:50.192Z] ---> Running in a15d45a112a7 [2022-06-03T09:53:50.192Z] Removing intermediate container a15d45a112a7 [2022-06-03T09:53:50.192Z] ---> c4010989d727 [2022-06-03T09:53:50.192Z] Step 18/26 : COPY --from=builder /device-virtual-go/Attribution.txt / [2022-06-03T09:53:50.192Z] ---> f666899be9f2 [2022-06-03T09:53:50.192Z] Step 19/26 : COPY --from=builder /device-virtual-go/LICENSE / [2022-06-03T09:53:50.192Z] ---> a492b31f1108 [2022-06-03T09:53:50.192Z] Step 20/26 : COPY --from=builder /device-virtual-go/cmd / [2022-06-03T09:53:50.192Z] ---> 8210ba85bb1d [2022-06-03T09:53:50.192Z] Step 21/26 : EXPOSE 59900 [2022-06-03T09:53:50.192Z] ---> Running in 1cddb9053bcf [2022-06-03T09:53:50.192Z] Removing intermediate container 1cddb9053bcf [2022-06-03T09:53:50.192Z] ---> ac9d2755833e [2022-06-03T09:53:50.192Z] Step 22/26 : ENTRYPOINT ["/device-virtual"] [2022-06-03T09:53:50.192Z] ---> Running in 8ded8c86e7bc [2022-06-03T09:53:50.192Z] Removing intermediate container 8ded8c86e7bc [2022-06-03T09:53:50.192Z] ---> 1bc26f9048d9 [2022-06-03T09:53:50.192Z] Step 23/26 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2022-06-03T09:53:50.192Z] ---> Running in a4c02cd7fd13 [2022-06-03T09:53:50.192Z] Removing intermediate container a4c02cd7fd13 [2022-06-03T09:53:50.192Z] ---> 462e227bb0c5 [2022-06-03T09:53:50.192Z] Step 24/26 : LABEL arch=arm64 [2022-06-03T09:53:50.192Z] ---> Running in 062856f50d4a [2022-06-03T09:53:50.192Z] Removing intermediate container 062856f50d4a [2022-06-03T09:53:50.192Z] ---> b4c269042cc2 [2022-06-03T09:53:50.192Z] Step 25/26 : LABEL git_sha=ccb4f5e4411e93ad5a61be90557f2f0c2d4571c5 [2022-06-03T09:53:50.192Z] ---> Running in 0b35a4609731 [2022-06-03T09:53:50.192Z] Removing intermediate container 0b35a4609731 [2022-06-03T09:53:50.193Z] ---> b79e4c6f384d [2022-06-03T09:53:50.193Z] Step 26/26 : LABEL version=0.0.0 [2022-06-03T09:53:50.193Z] ---> Running in 7868258ba200 [2022-06-03T09:53:50.193Z] Removing intermediate container 7868258ba200 [2022-06-03T09:53:50.193Z] ---> eb9d240d9128 [2022-06-03T09:53:50.193Z] [Warning] One or more build-args [ARCH] were not consumed [2022-06-03T09:53:50.193Z] Successfully built eb9d240d9128 [2022-06-03T09:53:50.193Z] Successfully tagged device-virtual-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-03T09:53:50.658Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-06-03T09:53:50.658Z] [2022-06-03T09:53:50.658Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-03T09:53:51.012Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-06-03T09:53:51.290Z] arm64: Pulling from edgex-lftools-log-publisher [2022-06-03T09:53:51.290Z] 8998bd30e6a1: Pulling fs layer [2022-06-03T09:53:51.290Z] 04944245beec: Pulling fs layer [2022-06-03T09:53:51.290Z] 699f458cf7ca: Pulling fs layer [2022-06-03T09:53:51.290Z] 765212b225bb: Pulling fs layer [2022-06-03T09:53:51.290Z] f23df028b6ca: Pulling fs layer [2022-06-03T09:53:51.290Z] d65c8cfc05b1: Pulling fs layer [2022-06-03T09:53:51.290Z] 2437ff75d9bd: Pulling fs layer [2022-06-03T09:53:51.290Z] 765212b225bb: Waiting [2022-06-03T09:53:51.290Z] f23df028b6ca: Waiting [2022-06-03T09:53:51.290Z] 2437ff75d9bd: Waiting [2022-06-03T09:53:51.290Z] d65c8cfc05b1: Waiting [2022-06-03T09:53:51.290Z] 04944245beec: Verifying Checksum [2022-06-03T09:53:51.290Z] 04944245beec: Download complete [2022-06-03T09:53:51.290Z] 765212b225bb: Verifying Checksum [2022-06-03T09:53:51.290Z] 765212b225bb: Download complete [2022-06-03T09:53:51.290Z] f23df028b6ca: Verifying Checksum [2022-06-03T09:53:51.290Z] f23df028b6ca: Download complete [2022-06-03T09:53:51.290Z] d65c8cfc05b1: Verifying Checksum [2022-06-03T09:53:51.290Z] d65c8cfc05b1: Download complete [2022-06-03T09:53:51.587Z] 699f458cf7ca: Verifying Checksum [2022-06-03T09:53:51.587Z] 699f458cf7ca: Download complete [2022-06-03T09:53:51.863Z] 8998bd30e6a1: Verifying Checksum [2022-06-03T09:53:51.863Z] 8998bd30e6a1: Download complete [2022-06-03T09:53:54.491Z] 2437ff75d9bd: Verifying Checksum [2022-06-03T09:53:54.492Z] 2437ff75d9bd: Download complete [2022-06-03T09:53:56.481Z] 8998bd30e6a1: Pull complete [2022-06-03T09:53:56.756Z] 04944245beec: Pull complete [2022-06-03T09:53:58.198Z] 699f458cf7ca: Pull complete [2022-06-03T09:53:58.471Z] 765212b225bb: Pull complete [2022-06-03T09:53:59.453Z] f23df028b6ca: Pull complete [2022-06-03T09:53:59.453Z] d65c8cfc05b1: Pull complete [2022-06-03T09:54:14.552Z] 2437ff75d9bd: Pull complete [2022-06-03T09:54:14.552Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2022-06-03T09:54:14.552Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-06-03T09:54:14.552Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-06-03T09:54:14.795Z] prd-ubuntu20.04-docker-arm64-4c-16g-914 does not seem to be running inside a container [2022-06-03T09:54:14.885Z] $ 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/9 -v /w/workspace/device-virtual-go/9:/w/workspace/device-virtual-go/9:rw,z -v /w/workspace/device-virtual-go/9@tmp:/w/workspace/device-virtual-go/9@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat [2022-06-03T09:54:17.344Z] $ docker top 9c48d7e332a6e2b7034ee742a1a6757732d2dd12abeb55326ce408cf0e1aeacf -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-06-03T09:54:18.250Z] ---> job-cost.sh [2022-06-03T09:54:18.250Z] lf-activate-venv: SKIPPING [2022-06-03T09:54:18.250Z] INFO: No Stack... [2022-06-03T09:54:18.524Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2022-06-03T09:54:19.502Z] INFO: Archiving Costs [Pipeline] sh [2022-06-03T09:54:20.164Z] + cat /w/workspace/device-virtual-go/9/archives/cost.csv [2022-06-03T09:54:20.164Z] + cut -d, -f6 [Pipeline] lock [2022-06-03T09:54:20.230Z] Trying to acquire lock on [jenkins-edgexfoundry-device-virtual-go-PR-287-9-stack-cost] [2022-06-03T09:54:20.239Z] Resource [jenkins-edgexfoundry-device-virtual-go-PR-287-9-stack-cost] did not exist. Created. [2022-06-03T09:54:20.239Z] Lock acquired on [jenkins-edgexfoundry-device-virtual-go-PR-287-9-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-06-03T09:54:20.929Z] /w/workspace/device-virtual-go/9@tmp/durable-efb9ce40/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2022-06-03T09:54:21.612Z] + echo total: 0.10999999940395355 [Pipeline] stash [2022-06-03T09:54:21.634Z] Warning: overwriting stash ‘stack-cost’ [2022-06-03T09:54:21.682Z] Stashed 1 file(s) [Pipeline] } [2022-06-03T09:54:21.688Z] Lock released on resource [jenkins-edgexfoundry-device-virtual-go-PR-287-9-stack-cost] [Pipeline] // lock [Pipeline] } [2022-06-03T09:54:21.713Z] $ docker stop --time=1 9c48d7e332a6e2b7034ee742a1a6757732d2dd12abeb55326ce408cf0e1aeacf [2022-06-03T09:54:23.205Z] $ docker rm -f 9c48d7e332a6e2b7034ee742a1a6757732d2dd12abeb55326ce408cf0e1aeacf [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) [Pipeline] unstash [Pipeline] configFileProvider [2022-06-03T09:54:23.655Z] provisioning config files... [2022-06-03T09:54:23.668Z] copy managed file [device-virtual-go-codecov-token] to file:/w/workspace/foundry_device-virtual-go_PR-287@tmp/config3731765754953183284tmp [Pipeline] { [Pipeline] sh [2022-06-03T09:54:23.970Z] + set +x [2022-06-03T09:54:23.970Z] + curl -s https://codecov.io/bash [2022-06-03T09:54:23.970Z] + bash -s -- [2022-06-03T09:54:23.970Z] [2022-06-03T09:54:23.970Z] _____ _ [2022-06-03T09:54:23.970Z] / ____| | | [2022-06-03T09:54:23.970Z] | | ___ __| | ___ ___ _____ __ [2022-06-03T09:54:23.970Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2022-06-03T09:54:23.970Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2022-06-03T09:54:23.970Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2022-06-03T09:54:23.970Z] Bash-1.0.6 [2022-06-03T09:54:23.970Z] [2022-06-03T09:54:23.970Z] [2022-06-03T09:54:23.970Z] ==> git version 2.25.1 found [2022-06-03T09:54:23.970Z] ==> curl 7.68.0 (x86_64-pc-linux-gnu) libcurl/7.68.0 OpenSSL/1.1.1f zlib/1.2.11 brotli/1.0.7 libidn2/2.2.0 libpsl/0.21.0 (+libidn2/2.2.0) libssh/0.9.3/openssl/zlib nghttp2/1.40.0 librtmp/2.3 [2022-06-03T09:54:23.970Z] Release-Date: 2020-01-08 [2022-06-03T09:54:23.970Z] Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp [2022-06-03T09:54:23.970Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2022-06-03T09:54:23.970Z] ==> Jenkins CI detected. [2022-06-03T09:54:23.970Z] current dir:  /w/workspace/foundry_device-virtual-go_PR-287 [2022-06-03T09:54:23.970Z] project root: . [2022-06-03T09:54:23.970Z] --> token set from env [2022-06-03T09:54:23.970Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2022-06-03T09:54:23.970Z] ==> Running gcov in . (disable via -X gcov) [2022-06-03T09:54:23.970Z] ==> Python coveragepy not found [2022-06-03T09:54:23.970Z] ==> Searching for coverage reports in: [2022-06-03T09:54:23.970Z] + . [2022-06-03T09:54:23.970Z] -> Found 1 reports [2022-06-03T09:54:23.970Z] ==> Detecting git/mercurial file structure [2022-06-03T09:54:23.970Z] ==> Reading reports [2022-06-03T09:54:23.970Z] + ./coverage.out bytes=44128 [2022-06-03T09:54:23.970Z] ==> Appending adjustments [2022-06-03T09:54:23.970Z] https://docs.codecov.io/docs/fixing-reports [2022-06-03T09:54:24.233Z] + Found adjustments [2022-06-03T09:54:24.233Z] ==> Gzipping contents [2022-06-03T09:54:24.233Z] 8.0K /tmp/codecov.KSOt8Q.gz [2022-06-03T09:54:24.233Z] ==> Uploading reports [2022-06-03T09:54:24.233Z] url: https://codecov.io [2022-06-03T09:54:24.233Z] query: branch=PR-287&commit=ccb4f5e4411e93ad5a61be90557f2f0c2d4571c5&build=9&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-virtual-go%2Fjob%2FPR-287%2F9%2F&name=&tag=&slug=edgexfoundry%2Fdevice-virtual-go&service=jenkins&flags=&pr=287&job=&cmd_args= [2022-06-03T09:54:24.233Z] -> Pinging Codecov [2022-06-03T09:54:24.233Z] 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=ccb4f5e4411e93ad5a61be90557f2f0c2d4571c5&build=9&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-virtual-go%2Fjob%2FPR-287%2F9%2F&name=&tag=&slug=edgexfoundry%2Fdevice-virtual-go&service=jenkins&flags=&pr=287&job=&cmd_args= [2022-06-03T09:54:24.522Z] -> Uploading to [2022-06-03T09:54:24.522Z] https://storage.googleapis.com/codecov/v4/raw/2022-06-03/5E52B4B073DB2E39498172D8E973AA87/ccb4f5e4411e93ad5a61be90557f2f0c2d4571c5/0cfa663b-29f0-4c49-b4be-e97eadfc4065.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EKKHVKCKHW7KBCGM7IHR55T63V2PAVJWLVFNITJHDU5G6R5IRN3LMWJA%2F20220603%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20220603T095424Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=4f6ac56208c008854e30d1e8e0ee284da41973bbd35ca491d9264a40dbafb1f9 [2022-06-03T09:54:24.522Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-06-03T09:54:24.522Z] Dload Upload Total Spent Left Speed [2022-06-03T09:54:24.808Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 5495 0 0 100 5495 0 24752 --:--:-- --:--:-- --:--:-- 24752 100 5495 0 0 100 5495 0 23685 --:--:-- --:--:-- --:--:-- 23583 [2022-06-03T09:54:24.808Z] -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/device-virtual-go/commit/ccb4f5e4411e93ad5a61be90557f2f0c2d4571c5 [Pipeline] } [2022-06-03T09:54:24.816Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) Stage "Snyk Dependency Scan" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) Stage "Semver" skipped due to when conditional [Pipeline] stage [Pipeline] { (Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] sh [2022-06-03T09:54:25.611Z] + [ -d /w/workspace/foundry_device-virtual-go_PR-287/archives ] [2022-06-03T09:54:25.611Z] + ls -al /w/workspace/foundry_device-virtual-go_PR-287/archives [2022-06-03T09:54:25.611Z] total 16 [2022-06-03T09:54:25.611Z] drwxr-xr-x 3 root root 4096 Jun 3 09:47 . [2022-06-03T09:54:25.611Z] drwxrwxr-x 10 jenkins jenkins 4096 Jun 3 09:47 .. [2022-06-03T09:54:25.611Z] drwxr-xr-x 2 root root 4096 Jun 3 09:47 cost [2022-06-03T09:54:25.611Z] -rw-r--r-- 1 root root 88 Jun 3 09:47 cost.csv [2022-06-03T09:54:25.611Z] + sudo chown -R jenkins:jenkins /w/workspace/foundry_device-virtual-go_PR-287/archives [2022-06-03T09:54:25.611Z] + ls -al /w/workspace/foundry_device-virtual-go_PR-287/archives [2022-06-03T09:54:25.611Z] total 16 [2022-06-03T09:54:25.611Z] drwxr-xr-x 3 jenkins jenkins 4096 Jun 3 09:47 . [2022-06-03T09:54:25.611Z] drwxrwxr-x 10 jenkins jenkins 4096 Jun 3 09:47 .. [2022-06-03T09:54:25.611Z] drwxr-xr-x 2 jenkins jenkins 4096 Jun 3 09:47 cost [2022-06-03T09:54:25.611Z] -rw-r--r-- 1 jenkins jenkins 88 Jun 3 09:47 cost.csv [Pipeline] libraryResource [Pipeline] sh [2022-06-03T09:54:25.925Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2022-06-03T09:54:26.791Z] ---> package-listing.sh [2022-06-03T09:54:26.791Z] ++ facter osfamily [2022-06-03T09:54:26.791Z] ++ tr '[:upper:]' '[:lower:]' [2022-06-03T09:54:27.050Z] + OS_FAMILY=debian [2022-06-03T09:54:27.050Z] + workspace=/w/workspace/foundry_device-virtual-go_PR-287 [2022-06-03T09:54:27.050Z] + START_PACKAGES=/tmp/packages_start.txt [2022-06-03T09:54:27.050Z] + END_PACKAGES=/tmp/packages_end.txt [2022-06-03T09:54:27.050Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2022-06-03T09:54:27.050Z] + PACKAGES=/tmp/packages_start.txt [2022-06-03T09:54:27.050Z] + '[' /w/workspace/foundry_device-virtual-go_PR-287 ']' [2022-06-03T09:54:27.050Z] + PACKAGES=/tmp/packages_end.txt [2022-06-03T09:54:27.050Z] + case "${OS_FAMILY}" in [2022-06-03T09:54:27.050Z] + dpkg -l [2022-06-03T09:54:27.050Z] + grep '^ii' [2022-06-03T09:54:27.050Z] + '[' -f /tmp/packages_start.txt ']' [2022-06-03T09:54:27.050Z] + '[' -f /tmp/packages_end.txt ']' [2022-06-03T09:54:27.050Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2022-06-03T09:54:27.050Z] + '[' /w/workspace/foundry_device-virtual-go_PR-287 ']' [2022-06-03T09:54:27.050Z] + mkdir -p /w/workspace/foundry_device-virtual-go_PR-287/archives/ [2022-06-03T09:54:27.050Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/foundry_device-virtual-go_PR-287/archives/ [Pipeline] echo [2022-06-03T09:54:27.062Z] Launching container with: [--privileged -u 0:0 --net host -v /var/log/sysstat:/var/log/sysstat -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/foundry_device-virtual-go_PR-287/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2022-06-03T09:54:27.343Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-03T09:54:27.914Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-06-03T09:54:27.914Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-06-03T09:54:28.009Z] prd-ubuntu20.04-docker-8c-8g-913 does not seem to be running inside a container [2022-06-03T09:54:28.065Z] $ docker run -t -d -u 1001:1001 --privileged -u 0:0 --net host -v /var/log/sysstat:/var/log/sysstat -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/foundry_device-virtual-go_PR-287/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/foundry_device-virtual-go_PR-287 -v /w/workspace/foundry_device-virtual-go_PR-287:/w/workspace/foundry_device-virtual-go_PR-287:rw,z -v /w/workspace/foundry_device-virtual-go_PR-287@tmp:/w/workspace/foundry_device-virtual-go_PR-287@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2022-06-03T09:54:28.319Z] $ docker top 5350b21753f7f0111e0421bc2e57a293544b3ba51970af4dd39cddaf63a5bb4f -eo pid,comm [Pipeline] { [Pipeline] sh [2022-06-03T09:54:28.674Z] + touch /tmp/pre-build-complete [Pipeline] sh [2022-06-03T09:54:28.967Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2022-06-03T09:54:29.256Z] + ls /var/log/sa-host [2022-06-03T09:54:29.256Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-06-03T09:54:29.401Z] provisioning config files... [2022-06-03T09:54:29.412Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/foundry_device-virtual-go_PR-287@tmp/config1721379440956181025tmp [Pipeline] { [Pipeline] echo [2022-06-03T09:54:29.433Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2022-06-03T09:54:29.719Z] ---> create-netrc.sh [Pipeline] } [2022-06-03T09:54:29.727Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2022-06-03T09:54:30.060Z] ---> python-tools-install.sh [Pipeline] echo [2022-06-03T09:54:30.069Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2022-06-03T09:54:30.351Z] ---> sudo-logs.sh [2022-06-03T09:54:30.351Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2022-06-03T09:54:30.382Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2022-06-03T09:54:30.670Z] ---> job-cost.sh [2022-06-03T09:54:30.670Z] lf-activate-venv: SKIPPING [2022-06-03T09:54:30.670Z] DEBUG: total: 0.2199999988079071 [2022-06-03T09:54:30.670Z] INFO: Retrieving Stack Cost... [2022-06-03T09:54:30.931Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2022-06-03T09:54:31.509Z] INFO: Archiving Costs [Pipeline] echo [2022-06-03T09:54:31.522Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2022-06-03T09:54:31.810Z] ---> logs-deploy.sh [2022-06-03T09:54:31.810Z] lf-activate-venv: SKIPPING [2022-06-03T09:54:31.810Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-virtual-go/PR-287/9 [2022-06-03T09:54:31.810Z] INFO: archiving workspace using pattern(s): [2022-06-03T09:54:32.755Z] Archives upload complete. [2022-06-03T09:54:33.017Z] INFO: archiving logs to Nexus