Pull request #250 opened 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 lenny-intel for edgexfoundry/device-virtual-go Obtained Jenkinsfile from 5134c9ff46a981c1bd859d26ec74b5af94450f92+6ddaff437b35cb1cf19c5e7b018d8eb1ac37551f (3b6a2a6dbc310b915c113130c3f737b57c652de7) Running in Durability level: MAX_SURVIVABILITY 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-ssh5433686393646533946.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision a03e002eace0db65b27acd1444eb3c4392a49323 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-ssh1371558711800715620.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 a03e002eace0db65b27acd1444eb3c4392a49323 The recommended git tool is: git using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning with configured refspecs honoured and with tags Cloning repository git@github.com:edgexfoundry/edgex-global-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/device-virtual-go/branches/PR-250/workspace@libs/edgex-global-pipelines # timeout=10 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-250/workspace@libs/edgex-global-pipelines@tmp/jenkins-gitclient-ssh8494376758212765788.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 > 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 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-250/workspace@libs/edgex-global-pipelines@tmp/jenkins-gitclient-ssh6663197325724721677.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision a03e002eace0db65b27acd1444eb3c4392a49323 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f a03e002eace0db65b27acd1444eb3c4392a49323 # timeout=10 Commit message: "Merge pull request #364 from ernestojeda/fix-folder-name" > 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 > git --version # timeout=10 > git --version # 'git version 2.16.6' Excluding src/test/ from checkout of git git@github.com:edgexfoundry/edgex-global-pipelines.git so that shared 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-ssh4939364011827139006.key > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision 9bc0e518fca0494fd51682b06eec2da29a326327 The recommended git tool is: NONE using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning with configured refspecs honoured and without tags Cloning repository git@github.com:lfit/releng-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/device-virtual-go/branches/PR-250/workspace@libs/lf-pipelines # timeout=10 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-250/workspace@libs/lf-pipelines@tmp/jenkins-gitclient-ssh8190348436583780995.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 Avoid second fetch Checking out Revision 9bc0e518fca0494fd51682b06eec2da29a326327 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 9bc0e518fca0494fd51682b06eec2da29a326327 # timeout=10 Commit message: "Merge "Fix: Make archiveArtifacts overwriteable in lfJava"" > 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 > git --version # timeout=10 > git --version # 'git version 2.16.6' fatal: bad object a03e002eace0db65b27acd1444eb3c4392a49323 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that shared 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: [[centos7-docker-4c-2g, ubuntu18.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.16 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 [Pipeline] node Still waiting to schedule task Waiting for next available executor on ‘centos7-docker-4c-2g’ Running on prd-centos7-docker-4c-2g-215 in /w/workspace/foundry_device-virtual-go_PR-250 [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-250 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-virtual-go.git > git --version # timeout=10 > git --version # 'git version 2.24.4' 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 /w/workspace/foundry_device-virtual-go_PR-250@tmp/jenkins-gitclient-ssh5909997975595189552.key > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-virtual-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-virtual-go.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-virtual-go.git # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-virtual-go.git using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /w/workspace/foundry_device-virtual-go_PR-250@tmp/jenkins-gitclient-ssh3587034264227038532.key > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-virtual-go.git +refs/pull/250/head:refs/remotes/origin/PR-250 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit 6ddaff437b35cb1cf19c5e7b018d8eb1ac37551f into PR head commit 5134c9ff46a981c1bd859d26ec74b5af94450f92 Merge succeeded, producing 5134c9ff46a981c1bd859d26ec74b5af94450f92 Checking out Revision 5134c9ff46a981c1bd859d26ec74b5af94450f92 (PR-250) > git config core.sparsecheckout # timeout=10 > git checkout -f 5134c9ff46a981c1bd859d26ec74b5af94450f92 # timeout=10 > git remote # timeout=10 > 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 /w/workspace/foundry_device-virtual-go_PR-250@tmp/jenkins-gitclient-ssh208737591039545242.key > git merge 6ddaff437b35cb1cf19c5e7b018d8eb1ac37551f # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 5134c9ff46a981c1bd859d26ec74b5af94450f92 # timeout=10 Commit message: "build: Update to latest SDK and released go-mods" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.24.4' fatal: bad object a03e002eace0db65b27acd1444eb3c4392a49323 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2021-11-11T20:34:13.382Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2021-11-11T20:34:14.456Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2021-11-11T20:34:15.008Z] ========================================================= [2021-11-11T20:34:15.008Z] EdgeX Global Pipelines Version Info [2021-11-11T20:34:15.008Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2021-11-11T20:34:16.529Z] ------------------- [2021-11-11T20:34:16.529Z] stable info: [2021-11-11T20:34:16.529Z] ------------------- [2021-11-11T20:34:16.529Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2021-11-11T20:34:16.529Z] Commit SHA: a03e002eace0db65b27acd1444eb3c4392a49323 [2021-11-11T20:34:16.529Z] Message: update stable to v1.0.213 [2021-11-11T20:34:17.105Z] ------------------- [2021-11-11T20:34:17.105Z] experimental info: [2021-11-11T20:34:17.105Z] ------------------- [2021-11-11T20:34:17.105Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2021-11-11T20:34:17.105Z] Commit SHA: a03e002eace0db65b27acd1444eb3c4392a49323 [2021-11-11T20:34:17.105Z] Message: update experimental to v1.0.213 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2021-11-11T20:34:17.568Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-virtual-go-settings [Pipeline] echo [2021-11-11T20:34:17.708Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-virtual-go [Pipeline] echo [2021-11-11T20:34:17.787Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2021-11-11T20:34:18.135Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2021-11-11T20:34:18.223Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2021-11-11T20:34:18.318Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.16 [Pipeline] echo [2021-11-11T20:34:18.412Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2021-11-11T20:34:18.492Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2021-11-11T20:34:18.569Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2021-11-11T20:34:18.644Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2021-11-11T20:34:18.751Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2021-11-11T20:34:18.838Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-virtual [Pipeline] echo [2021-11-11T20:34:18.939Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2021-11-11T20:34:19.075Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2021-11-11T20:34:19.228Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2021-11-11T20:34:19.319Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2021-11-11T20:34:19.407Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2021-11-11T20:34:19.483Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2021-11-11T20:34:19.826Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2021-11-11T20:34:19.897Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2021-11-11T20:34:20.239Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2021-11-11T20:34:21.220Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2021-11-11T20:34:22.356Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2021-11-11T20:34:24.464Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2021-11-11T20:34:26.290Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2021-11-11T20:34:28.000Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2021-11-11T20:34:29.643Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-250 [Pipeline] echo [2021-11-11T20:34:31.745Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-250 [Pipeline] echo [2021-11-11T20:34:33.168Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-250 [Pipeline] echo [2021-11-11T20:34:35.418Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 5134c9ff46a981c1bd859d26ec74b5af94450f92 [Pipeline] echo [2021-11-11T20:34:37.141Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 5134c9f [Pipeline] echo [2021-11-11T20:34:38.996Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-11-11T20:34:42.501Z] provisioning config files... [2021-11-11T20:34:42.516Z] copy managed file [device-virtual-go-settings] to file:/w/workspace/foundry_device-virtual-go_PR-250@tmp/config627258048267851232tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-11-11T20:34:45.984Z] ---> docker-login.sh [2021-11-11T20:34:45.984Z] nexus3.edgexfoundry.org:10001 [2021-11-11T20:34:45.984Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-11-11T20:34:46.244Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-11-11T20:34:46.245Z] Configure a credential helper to remove this warning. See [2021-11-11T20:34:46.245Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-11-11T20:34:46.245Z] [2021-11-11T20:34:46.245Z] Login Succeeded [2021-11-11T20:34:46.245Z] nexus3.edgexfoundry.org:10002 [2021-11-11T20:34:46.245Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-11-11T20:34:46.245Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-11-11T20:34:46.245Z] Configure a credential helper to remove this warning. See [2021-11-11T20:34:46.245Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-11-11T20:34:46.245Z] [2021-11-11T20:34:46.245Z] Login Succeeded [2021-11-11T20:34:46.245Z] nexus3.edgexfoundry.org:10003 [2021-11-11T20:34:46.245Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-11-11T20:34:46.245Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-11-11T20:34:46.245Z] Configure a credential helper to remove this warning. See [2021-11-11T20:34:46.245Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-11-11T20:34:46.245Z] [2021-11-11T20:34:46.245Z] Login Succeeded [2021-11-11T20:34:46.245Z] nexus3.edgexfoundry.org:10004 [2021-11-11T20:34:46.503Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-11-11T20:34:46.503Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-11-11T20:34:46.503Z] Configure a credential helper to remove this warning. See [2021-11-11T20:34:46.503Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-11-11T20:34:46.503Z] [2021-11-11T20:34:46.503Z] Login Succeeded [2021-11-11T20:34:46.503Z] docker.io [2021-11-11T20:34:46.503Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-11-11T20:34:46.764Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-11-11T20:34:46.764Z] Configure a credential helper to remove this warning. See [2021-11-11T20:34:46.764Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-11-11T20:34:46.764Z] [2021-11-11T20:34:46.764Z] Login Succeeded [2021-11-11T20:34:46.764Z] ---> docker-login.sh ends [Pipeline] } [2021-11-11T20:34:47.765Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2021-11-11T20:34:58.324Z] + git rev-list -1 --merges 5134c9ff46a981c1bd859d26ec74b5af94450f92~1..5134c9ff46a981c1bd859d26ec74b5af94450f92 [Pipeline] echo [2021-11-11T20:34:58.627Z] -----------> git rev-list -1 --merges 5134c9ff46a981c1bd859d26ec74b5af94450f92~1..5134c9ff46a981c1bd859d26ec74b5af94450f92 5134c9ff46a981c1bd859d26ec74b5af94450f92 [false] [Pipeline] sh [2021-11-11T20:34:59.002Z] + git log --format=format:%s -1 5134c9ff46a981c1bd859d26ec74b5af94450f92 [Pipeline] echo [2021-11-11T20:34:59.071Z] ========================================================= [2021-11-11T20:34:59.071Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2021-11-11T20:34:59.071Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-11-11T20:34:59.729Z] + git log --format=format:%s -1 5134c9ff46a981c1bd859d26ec74b5af94450f92 [Pipeline] echo [2021-11-11T20:34:59.787Z] [semverPrep] GIT_COMMIT: 5134c9ff46a981c1bd859d26ec74b5af94450f92, Commit Message: build: Update to latest SDK and released go-mods [Pipeline] echo [2021-11-11T20:34:59.877Z] [semverPrep] This is not a build commit. [Pipeline] isUnix [Pipeline] sh [2021-11-11T20:35:00.434Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-11-11T20:35:00.434Z] [2021-11-11T20:35:00.434Z] Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh [2021-11-11T20:35:01.068Z] + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-11-11T20:35:01.651Z] latest: Pulling from edgex-devops/git-semver [2021-11-11T20:35:01.651Z] a0d0a0d46f8b: Pulling fs layer [2021-11-11T20:35:01.651Z] 3e5f54012d9b: Pulling fs layer [2021-11-11T20:35:01.651Z] 4c7163046ea9: Pulling fs layer [2021-11-11T20:35:01.651Z] 0c2d73faf560: Pulling fs layer [2021-11-11T20:35:01.651Z] 0c2d73faf560: Waiting [2021-11-11T20:35:01.651Z] 3e5f54012d9b: Verifying Checksum [2021-11-11T20:35:01.651Z] 3e5f54012d9b: Download complete [2021-11-11T20:35:01.651Z] a0d0a0d46f8b: Verifying Checksum [2021-11-11T20:35:01.651Z] a0d0a0d46f8b: Download complete [2021-11-11T20:35:01.651Z] 0c2d73faf560: Verifying Checksum [2021-11-11T20:35:01.651Z] 0c2d73faf560: Download complete [2021-11-11T20:35:01.930Z] 4c7163046ea9: Verifying Checksum [2021-11-11T20:35:01.930Z] 4c7163046ea9: Download complete [2021-11-11T20:35:01.930Z] a0d0a0d46f8b: Pull complete [2021-11-11T20:35:01.930Z] 3e5f54012d9b: Pull complete [2021-11-11T20:35:02.205Z] 4c7163046ea9: Pull complete [2021-11-11T20:35:02.464Z] 0c2d73faf560: Pull complete [2021-11-11T20:35:02.465Z] Digest: sha256:2751de6e655929dcbe46418c7769d9d992331b5b721eb968631a4166222929f9 [2021-11-11T20:35:02.465Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-11-11T20:35:02.465Z] nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer [2021-11-11T20:35:02.580Z] prd-centos7-docker-4c-2g-215 does not seem to be running inside a container [2021-11-11T20:35:02.623Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/foundry_device-virtual-go_PR-250 -v /w/workspace/foundry_device-virtual-go_PR-250:/w/workspace/foundry_device-virtual-go_PR-250:rw,z -v /w/workspace/foundry_device-virtual-go_PR-250@tmp:/w/workspace/foundry_device-virtual-go_PR-250@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 ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat [2021-11-11T20:35:03.161Z] $ docker top 52010bdcc5d70201a37929ce8ffdfa3785a848830161e9b83fe3ed4dc54245ed -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2021-11-11T20:35:03.728Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-11-11T20:35:03.728Z] [ssh-agent] Looking for ssh-agent implementation... [2021-11-11T20:35:03.844Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-11-11T20:35:03.848Z] $ docker exec 52010bdcc5d70201a37929ce8ffdfa3785a848830161e9b83fe3ed4dc54245ed ssh-agent [2021-11-11T20:35:03.949Z] SSH_AUTH_SOCK=/tmp/ssh-XXXXXXNFlAnM/agent.13 [2021-11-11T20:35:03.949Z] SSH_AGENT_PID=19 [2021-11-11T20:35:03.956Z] Running ssh-add (command line suppressed) [2021-11-11T20:35:04.047Z] Identity added: /w/workspace/foundry_device-virtual-go_PR-250@tmp/private_key_7365893726562852104.key (/w/workspace/foundry_device-virtual-go_PR-250@tmp/private_key_7365893726562852104.key) [2021-11-11T20:35:04.057Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-11-11T20:35:04.508Z] + git tag --points-at HEAD [Pipeline] } [2021-11-11T20:35:04.540Z] $ docker exec --env ******** --env ******** 52010bdcc5d70201a37929ce8ffdfa3785a848830161e9b83fe3ed4dc54245ed ssh-agent -k [2021-11-11T20:35:04.621Z] unset SSH_AUTH_SOCK; [2021-11-11T20:35:04.621Z] unset SSH_AGENT_PID; [2021-11-11T20:35:04.621Z] echo Agent pid 19 killed; [2021-11-11T20:35:04.629Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2021-11-11T20:35:04.833Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-11-11T20:35:04.833Z] [ssh-agent] Looking for ssh-agent implementation... [2021-11-11T20:35:04.927Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-11-11T20:35:04.930Z] $ docker exec 52010bdcc5d70201a37929ce8ffdfa3785a848830161e9b83fe3ed4dc54245ed ssh-agent [2021-11-11T20:35:05.021Z] SSH_AUTH_SOCK=/tmp/ssh-XXXXXXapIDFk/agent.52 [2021-11-11T20:35:05.021Z] SSH_AGENT_PID=59 [2021-11-11T20:35:05.027Z] Running ssh-add (command line suppressed) [2021-11-11T20:35:05.113Z] Identity added: /w/workspace/foundry_device-virtual-go_PR-250@tmp/private_key_7748193974871646026.key (/w/workspace/foundry_device-virtual-go_PR-250@tmp/private_key_7748193974871646026.key) [2021-11-11T20:35:05.130Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-11-11T20:35:05.493Z] + git semver init [2021-11-11T20:35:05.493Z] # -> Open(): unable to determine branch for HEAD [2021-11-11T20:35:05.493Z] # $GIT_DIR = /w/workspace/foundry_device-virtual-go_PR-250/.git [2021-11-11T20:35:05.493Z] # $GIT_WORK_TREE = /w/workspace/foundry_device-virtual-go_PR-250 [2021-11-11T20:35:05.493Z] # $SEMVER_REMOTE_NAME = origin [2021-11-11T20:35:05.493Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2021-11-11T20:35:05.493Z] # $SEMVER_USER_NAME = edgex-jenkins [2021-11-11T20:35:05.493Z] # $SEMVER_BRANCH = PR-250 [2021-11-11T20:35:05.493Z] # $SEMVER_TEMP = /tmp/semver-358003297 [2021-11-11T20:35:05.493Z] # git clone --branch semver git@github.com:edgexfoundry/device-virtual-go.git $SEMVER_TEMP [2021-11-11T20:35:06.442Z] # '/tmp/semver-358003297' -> '/w/workspace/foundry_device-virtual-go_PR-250/.semver' [2021-11-11T20:35:06.442Z] # -> Force: false [2021-11-11T20:35:06.442Z] # $SEMVER_DIR = /w/workspace/foundry_device-virtual-go_PR-250/.semver [Pipeline] } [2021-11-11T20:35:06.471Z] $ docker exec --env ******** --env ******** 52010bdcc5d70201a37929ce8ffdfa3785a848830161e9b83fe3ed4dc54245ed ssh-agent -k [2021-11-11T20:35:06.565Z] unset SSH_AUTH_SOCK; [2021-11-11T20:35:06.565Z] unset SSH_AGENT_PID; [2021-11-11T20:35:06.565Z] echo Agent pid 59 killed; [2021-11-11T20:35:06.570Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2021-11-11T20:35:07.649Z] + git semver [Pipeline] } [2021-11-11T20:35:07.709Z] $ docker stop --time=1 52010bdcc5d70201a37929ce8ffdfa3785a848830161e9b83fe3ed4dc54245ed [2021-11-11T20:35:08.949Z] $ docker rm -f 52010bdcc5d70201a37929ce8ffdfa3785a848830161e9b83fe3ed4dc54245ed [Pipeline] // withDockerContainer [Pipeline] sh [2021-11-11T20:35:09.638Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2021-11-11T20:35:10.046Z] Stashed 1 file(s) [Pipeline] echo [2021-11-11T20:35:10.098Z] [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] node [Pipeline] node [2021-11-11T20:35:26.167Z] Still waiting to schedule task [2021-11-11T20:35:26.167Z] Waiting for next available executor on ‘centos7-docker-4c-2g’ [2021-11-11T20:35:26.588Z] Still waiting to schedule task [2021-11-11T20:35:26.588Z] Waiting for next available executor on ‘ubuntu18.04-docker-arm64-4c-16g’ [2021-11-11T20:37:49.416Z] Running on prd-centos7-docker-4c-2g-219 in /w/workspace/foundry_device-virtual-go_PR-250 [Pipeline] { [Pipeline] ws [2021-11-11T20:37:50.482Z] Running in /w/workspace/device-virtual-go/1 [Pipeline] { [Pipeline] checkout [2021-11-11T20:37:51.114Z] The recommended git tool is: git [2021-11-11T20:37:53.008Z] using credential edgex-jenkins-ssh [2021-11-11T20:37:53.030Z] Cloning the remote Git repository [2021-11-11T20:37:52.305Z] Cloning repository git@github.com:edgexfoundry/device-virtual-go.git [2021-11-11T20:37:52.412Z] > git init /w/workspace/device-virtual-go/1 # timeout=10 [2021-11-11T20:37:52.440Z] Fetching upstream changes from git@github.com:edgexfoundry/device-virtual-go.git [2021-11-11T20:37:52.441Z] > git --version # timeout=10 [2021-11-11T20:37:52.447Z] > git --version # 'git version 2.24.4' [2021-11-11T20:37:52.448Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-11-11T20:37:52.472Z] [INFO] Currently running in a labeled security context [2021-11-11T20:37:52.472Z] [INFO] Currently SELinux is 'enforcing' on the host [2021-11-11T20:37:52.472Z] > /usr/bin/chcon --type=ssh_home_t /w/workspace/device-virtual-go/1@tmp/jenkins-gitclient-ssh9174594635761470761.key [2021-11-11T20:37:52.486Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-virtual-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-11-11T20:37:53.378Z] > git config remote.origin.url git@github.com:edgexfoundry/device-virtual-go.git # timeout=10 [2021-11-11T20:37:53.389Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-11-11T20:37:53.401Z] > git config remote.origin.url git@github.com:edgexfoundry/device-virtual-go.git # timeout=10 [2021-11-11T20:37:53.414Z] Fetching upstream changes from git@github.com:edgexfoundry/device-virtual-go.git [2021-11-11T20:37:53.414Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-11-11T20:37:53.415Z] [INFO] Currently running in a labeled security context [2021-11-11T20:37:53.416Z] [INFO] Currently SELinux is 'enforcing' on the host [2021-11-11T20:37:53.416Z] > /usr/bin/chcon --type=ssh_home_t /w/workspace/device-virtual-go/1@tmp/jenkins-gitclient-ssh4925554403579963831.key [2021-11-11T20:37:53.426Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-virtual-go.git +refs/pull/250/head:refs/remotes/origin/PR-250 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2021-11-11T20:37:54.716Z] Merging remotes/origin/main commit 6ddaff437b35cb1cf19c5e7b018d8eb1ac37551f into PR head commit 5134c9ff46a981c1bd859d26ec74b5af94450f92 [2021-11-11T20:37:54.798Z] Merge succeeded, producing 5134c9ff46a981c1bd859d26ec74b5af94450f92 [2021-11-11T20:37:54.799Z] Checking out Revision 5134c9ff46a981c1bd859d26ec74b5af94450f92 (PR-250) [2021-11-11T20:37:54.022Z] > git config core.sparsecheckout # timeout=10 [2021-11-11T20:37:54.035Z] > git checkout -f 5134c9ff46a981c1bd859d26ec74b5af94450f92 # timeout=10 [2021-11-11T20:37:54.064Z] > git remote # timeout=10 [2021-11-11T20:37:54.070Z] > git config --get remote.origin.url # timeout=10 [2021-11-11T20:37:54.076Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-11-11T20:37:54.077Z] [INFO] Currently running in a labeled security context [2021-11-11T20:37:54.077Z] [INFO] Currently SELinux is 'enforcing' on the host [2021-11-11T20:37:54.077Z] > /usr/bin/chcon --type=ssh_home_t /w/workspace/device-virtual-go/1@tmp/jenkins-gitclient-ssh7313330071069056609.key [2021-11-11T20:37:54.084Z] > git merge 6ddaff437b35cb1cf19c5e7b018d8eb1ac37551f # timeout=10 [2021-11-11T20:37:54.095Z] > git rev-parse HEAD^{commit} # timeout=10 [2021-11-11T20:37:54.108Z] > git config core.sparsecheckout # timeout=10 [2021-11-11T20:37:54.117Z] > git checkout -f 5134c9ff46a981c1bd859d26ec74b5af94450f92 # timeout=10 [2021-11-11T20:37:58.134Z] Commit message: "build: Update to latest SDK and released go-mods" [2021-11-11T20:37:57.749Z] > git --version # timeout=10 [2021-11-11T20:37:57.756Z] > git --version # 'git version 2.24.4' [2021-11-11T20:37:57.772Z] fatal: bad object a03e002eace0db65b27acd1444eb3c4392a49323 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-11-11T20:38:02.390Z] provisioning config files... [2021-11-11T20:38:02.403Z] copy managed file [device-virtual-go-settings] to file:/w/workspace/device-virtual-go/1@tmp/config5602170272368940696tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-11-11T20:38:06.157Z] ---> docker-login.sh [2021-11-11T20:38:06.157Z] nexus3.edgexfoundry.org:10001 [2021-11-11T20:38:06.157Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-11-11T20:38:06.420Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-11-11T20:38:06.420Z] Configure a credential helper to remove this warning. See [2021-11-11T20:38:06.420Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-11-11T20:38:06.420Z] [2021-11-11T20:38:06.420Z] Login Succeeded [2021-11-11T20:38:06.420Z] nexus3.edgexfoundry.org:10002 [2021-11-11T20:38:06.420Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-11-11T20:38:06.420Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-11-11T20:38:06.420Z] Configure a credential helper to remove this warning. See [2021-11-11T20:38:06.420Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-11-11T20:38:06.420Z] [2021-11-11T20:38:06.420Z] Login Succeeded [2021-11-11T20:38:06.420Z] nexus3.edgexfoundry.org:10003 [2021-11-11T20:38:06.420Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-11-11T20:38:06.686Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-11-11T20:38:06.686Z] Configure a credential helper to remove this warning. See [2021-11-11T20:38:06.686Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-11-11T20:38:06.686Z] [2021-11-11T20:38:06.686Z] Login Succeeded [2021-11-11T20:38:06.686Z] nexus3.edgexfoundry.org:10004 [2021-11-11T20:38:06.686Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-11-11T20:38:06.686Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-11-11T20:38:06.686Z] Configure a credential helper to remove this warning. See [2021-11-11T20:38:06.686Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-11-11T20:38:06.686Z] [2021-11-11T20:38:06.686Z] Login Succeeded [2021-11-11T20:38:06.686Z] docker.io [2021-11-11T20:38:06.686Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-11-11T20:38:07.267Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-11-11T20:38:07.267Z] Configure a credential helper to remove this warning. See [2021-11-11T20:38:07.267Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-11-11T20:38:07.267Z] [2021-11-11T20:38:07.267Z] Login Succeeded [2021-11-11T20:38:07.267Z] ---> docker-login.sh ends [Pipeline] } [2021-11-11T20:38:08.156Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2021-11-11T20:38:14.295Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2021-11-11T20:38:15.572Z] ========================================================= [2021-11-11T20:38:15.573Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine] [2021-11-11T20:38:15.573Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh [2021-11-11T20:38:20.979Z] + docker build -t ci-base-image-x86_64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine --build-arg 'MAKE=echo noop' --target=builder . [2021-11-11T20:38:20.979Z] Sending build context to Docker daemon 8.746MB [2021-11-11T20:38:20.979Z] Step 1/11 : ARG BASE=golang:1.16-alpine3.14 [2021-11-11T20:38:20.979Z] Step 2/11 : FROM ${BASE} AS builder [2021-11-11T20:38:20.979Z] 1.16-alpine: Pulling from edgex-devops/edgex-golang-base [2021-11-11T20:38:20.979Z] a0d0a0d46f8b: Pulling fs layer [2021-11-11T20:38:20.979Z] 31adcdaf11c8: Pulling fs layer [2021-11-11T20:38:20.979Z] b8b176561691: Pulling fs layer [2021-11-11T20:38:20.979Z] 4527c011a84f: Pulling fs layer [2021-11-11T20:38:20.979Z] 5d74067f8e1e: Pulling fs layer [2021-11-11T20:38:20.979Z] e0aca202a116: Pulling fs layer [2021-11-11T20:38:20.979Z] 3a43be97a3b4: Pulling fs layer [2021-11-11T20:38:20.979Z] 34cad66bf833: Pulling fs layer [2021-11-11T20:38:20.979Z] b4e3c513aaa6: Pulling fs layer [2021-11-11T20:38:20.979Z] 4527c011a84f: Waiting [2021-11-11T20:38:20.979Z] 5d74067f8e1e: Waiting [2021-11-11T20:38:20.979Z] e0aca202a116: Waiting [2021-11-11T20:38:20.979Z] 3a43be97a3b4: Waiting [2021-11-11T20:38:20.979Z] 34cad66bf833: Waiting [2021-11-11T20:38:20.979Z] b4e3c513aaa6: Waiting [2021-11-11T20:38:20.979Z] b8b176561691: Verifying Checksum [2021-11-11T20:38:20.979Z] b8b176561691: Download complete [2021-11-11T20:38:20.979Z] 31adcdaf11c8: Verifying Checksum [2021-11-11T20:38:20.979Z] 31adcdaf11c8: Download complete [2021-11-11T20:38:21.250Z] 5d74067f8e1e: Verifying Checksum [2021-11-11T20:38:21.250Z] 5d74067f8e1e: Download complete [2021-11-11T20:38:21.250Z] e0aca202a116: Verifying Checksum [2021-11-11T20:38:21.250Z] e0aca202a116: Download complete [2021-11-11T20:38:21.250Z] a0d0a0d46f8b: Verifying Checksum [2021-11-11T20:38:21.250Z] a0d0a0d46f8b: Download complete [2021-11-11T20:38:21.250Z] 3a43be97a3b4: Verifying Checksum [2021-11-11T20:38:21.250Z] 3a43be97a3b4: Download complete [2021-11-11T20:38:21.250Z] 34cad66bf833: Verifying Checksum [2021-11-11T20:38:21.250Z] 34cad66bf833: Download complete [2021-11-11T20:38:21.517Z] b4e3c513aaa6: Verifying Checksum [2021-11-11T20:38:21.517Z] b4e3c513aaa6: Download complete [2021-11-11T20:38:21.781Z] 4527c011a84f: Verifying Checksum [2021-11-11T20:38:21.781Z] 4527c011a84f: Download complete [2021-11-11T20:38:21.781Z] a0d0a0d46f8b: Pull complete [2021-11-11T20:38:21.781Z] 31adcdaf11c8: Pull complete [2021-11-11T20:38:21.781Z] b8b176561691: Pull complete [2021-11-11T20:38:26.024Z] 4527c011a84f: Pull complete [2021-11-11T20:38:26.024Z] 5d74067f8e1e: Pull complete [2021-11-11T20:38:26.024Z] e0aca202a116: Pull complete [2021-11-11T20:38:26.024Z] 3a43be97a3b4: Pull complete [2021-11-11T20:38:26.024Z] 34cad66bf833: Pull complete [2021-11-11T20:38:28.606Z] b4e3c513aaa6: Pull complete [2021-11-11T20:38:28.606Z] Digest: sha256:75229776e65f3af88907aed05f91058a30c94a2fbbc20266ef4560f68deb3433 [2021-11-11T20:38:28.606Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine [2021-11-11T20:38:28.606Z] ---> 9f6097aaca64 [2021-11-11T20:38:28.606Z] Step 3/11 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2021-11-11T20:38:31.908Z] ---> Running in 66e7169f3ba9 [2021-11-11T20:38:31.908Z] Removing intermediate container 66e7169f3ba9 [2021-11-11T20:38:31.908Z] ---> a7091a548f1a [2021-11-11T20:38:31.908Z] Step 4/11 : ARG ALPINE_PKG_EXTRA="" [2021-11-11T20:38:31.908Z] ---> Running in a964e8efe95c [2021-11-11T20:38:31.908Z] Removing intermediate container a964e8efe95c [2021-11-11T20:38:31.908Z] ---> 121e2a85266b [2021-11-11T20:38:31.908Z] Step 5/11 : WORKDIR /device-virtual-go [2021-11-11T20:38:31.908Z] ---> Running in 86038a04fb28 [2021-11-11T20:38:32.180Z] Removing intermediate container 86038a04fb28 [2021-11-11T20:38:32.180Z] ---> 416997d4bd0e [2021-11-11T20:38:32.180Z] Step 6/11 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-11-11T20:38:32.180Z] ---> Running in 0ba015e09235 [2021-11-11T20:38:32.771Z] Removing intermediate container 0ba015e09235 [2021-11-11T20:38:32.771Z] ---> 8fe381326cde [2021-11-11T20:38:32.771Z] Step 7/11 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2021-11-11T20:38:32.771Z] ---> Running in 2d450ad2cb7b [2021-11-11T20:38:33.032Z] fetch https://nl.alpinelinux.org/alpine/v3.14/main/x86_64/APKINDEX.tar.gz [2021-11-11T20:38:33.607Z] fetch https://nl.alpinelinux.org/alpine/v3.14/community/x86_64/APKINDEX.tar.gz [2021-11-11T20:38:34.185Z] (1/4) Installing openssh-keygen (8.6_p1-r3) [2021-11-11T20:38:34.185Z] (2/4) Installing libedit (20210216.3.1-r0) [2021-11-11T20:38:34.449Z] (3/4) Installing openssh-client-common (8.6_p1-r3) [2021-11-11T20:38:34.449Z] (4/4) Installing openssh-client-default (8.6_p1-r3) [2021-11-11T20:38:34.718Z] Executing busybox-1.33.1-r3.trigger [2021-11-11T20:38:34.718Z] OK: 224 MiB in 56 packages [2021-11-11T20:38:34.985Z] Removing intermediate container 2d450ad2cb7b [2021-11-11T20:38:34.985Z] ---> e98ce832edb8 [2021-11-11T20:38:34.985Z] Step 8/11 : COPY . . [2021-11-11T20:38:35.247Z] ---> 65543ee1bb6f [2021-11-11T20:38:35.247Z] Step 9/11 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2021-11-11T20:38:35.247Z] ---> Running in 90cf25577cde [2021-11-11T20:39:07.399Z] Removing intermediate container 90cf25577cde [2021-11-11T20:39:07.399Z] ---> 3f670a1e992a [2021-11-11T20:39:07.399Z] Step 10/11 : ARG MAKE='make build' [2021-11-11T20:39:07.399Z] ---> Running in 8683b250d15c [2021-11-11T20:39:07.399Z] Removing intermediate container 8683b250d15c [2021-11-11T20:39:07.399Z] ---> a31b0b716634 [2021-11-11T20:39:07.399Z] Step 11/11 : RUN $MAKE [2021-11-11T20:39:07.399Z] ---> Running in 099eef99f0c8 [2021-11-11T20:39:07.399Z] noop [2021-11-11T20:39:07.399Z] Removing intermediate container 099eef99f0c8 [2021-11-11T20:39:07.399Z] ---> 8045e93434b4 [2021-11-11T20:39:07.399Z] Successfully built 8045e93434b4 [2021-11-11T20:39:07.399Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh [2021-11-11T20:39:11.046Z] + docker inspect -f . ci-base-image-x86_64 [2021-11-11T20:39:11.046Z] . [Pipeline] withDockerContainer [2021-11-11T20:39:12.739Z] prd-centos7-docker-4c-2g-219 does not seem to be running inside a container [2021-11-11T20:39:12.778Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-virtual-go/1 -v /w/workspace/device-virtual-go/1:/w/workspace/device-virtual-go/1:rw,z -v /w/workspace/device-virtual-go/1@tmp:/w/workspace/device-virtual-go/1@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 ******** ci-base-image-x86_64 cat [2021-11-11T20:39:13.112Z] $ docker top 739256d3b2db4ff186eaa937ad7f264748096eabdbe120d596456a580369e81e -eo pid,comm [Pipeline] { [Pipeline] sh [2021-11-11T20:39:16.342Z] + go version [2021-11-11T20:39:16.342Z] go version go1.16.8 linux/amd64 [Pipeline] } [2021-11-11T20:39:17.293Z] $ docker stop --time=1 739256d3b2db4ff186eaa937ad7f264748096eabdbe120d596456a580369e81e [2021-11-11T20:39:18.508Z] $ docker rm -f 739256d3b2db4ff186eaa937ad7f264748096eabdbe120d596456a580369e81e [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-11-11T20:39:33.265Z] + docker inspect -f . ci-base-image-x86_64 [2021-11-11T20:39:33.265Z] . [2021-11-11T20:39:33.758Z] Running on prd-ubuntu18.04-docker-arm64-4c-16g-221 in /w/workspace/foundry_device-virtual-go_PR-250 [Pipeline] { [Pipeline] withDockerContainer [2021-11-11T20:39:36.868Z] prd-centos7-docker-4c-2g-219 does not seem to be running inside a container [2021-11-11T20:39:36.923Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-virtual-go/1 -v /w/workspace/device-virtual-go/1:/w/workspace/device-virtual-go/1:rw,z -v /w/workspace/device-virtual-go/1@tmp:/w/workspace/device-virtual-go/1@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 ******** ci-base-image-x86_64 cat [2021-11-11T20:39:37.239Z] $ docker top 0892010dc29d8ae68ea782d6385cdf6bc92590852f658052dc881b5c1dd55573 -eo pid,comm [Pipeline] { [Pipeline] ws [2021-11-11T20:39:39.991Z] Running in /w/workspace/device-virtual-go/1 [Pipeline] { [Pipeline] fileExists [Pipeline] sh [Pipeline] checkout [2021-11-11T20:39:41.077Z] + make test [2021-11-11T20:39:41.077Z] CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out [2021-11-11T20:39:41.344Z] ? github.com/edgexfoundry/device-virtual-go [no test files] [2021-11-11T20:39:42.296Z] The recommended git tool is: git [2021-11-11T20:39:47.714Z] using credential edgex-jenkins-ssh [2021-11-11T20:39:47.736Z] Cloning the remote Git repository [2021-11-11T20:39:47.792Z] Cloning repository git@github.com:edgexfoundry/device-virtual-go.git [2021-11-11T20:39:47.957Z] > git init /w/workspace/device-virtual-go/1 # timeout=10 [2021-11-11T20:39:48.119Z] Fetching upstream changes from git@github.com:edgexfoundry/device-virtual-go.git [2021-11-11T20:39:48.120Z] > git --version # timeout=10 [2021-11-11T20:39:48.197Z] > git --version # 'git version 2.17.1' [2021-11-11T20:39:48.199Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-11-11T20:39:48.353Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-virtual-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-11-11T20:39:50.707Z] Merging remotes/origin/main commit 6ddaff437b35cb1cf19c5e7b018d8eb1ac37551f into PR head commit 5134c9ff46a981c1bd859d26ec74b5af94450f92 [2021-11-11T20:39:50.935Z] Merge succeeded, producing 5134c9ff46a981c1bd859d26ec74b5af94450f92 [2021-11-11T20:39:50.935Z] Checking out Revision 5134c9ff46a981c1bd859d26ec74b5af94450f92 (PR-250) [2021-11-11T20:39:49.915Z] > git config remote.origin.url git@github.com:edgexfoundry/device-virtual-go.git # timeout=10 [2021-11-11T20:39:49.938Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-11-11T20:39:49.974Z] > git config remote.origin.url git@github.com:edgexfoundry/device-virtual-go.git # timeout=10 [2021-11-11T20:39:50.025Z] Fetching upstream changes from git@github.com:edgexfoundry/device-virtual-go.git [2021-11-11T20:39:50.026Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-11-11T20:39:50.040Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-virtual-go.git +refs/pull/250/head:refs/remotes/origin/PR-250 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2021-11-11T20:39:50.731Z] > git config core.sparsecheckout # timeout=10 [2021-11-11T20:39:50.750Z] > git checkout -f 5134c9ff46a981c1bd859d26ec74b5af94450f92 # timeout=10 [2021-11-11T20:39:50.837Z] > git remote # timeout=10 [2021-11-11T20:39:50.854Z] > git config --get remote.origin.url # timeout=10 [2021-11-11T20:39:50.876Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-11-11T20:39:50.889Z] > git merge 6ddaff437b35cb1cf19c5e7b018d8eb1ac37551f # timeout=10 [2021-11-11T20:39:50.917Z] > git rev-parse HEAD^{commit} # timeout=10 [2021-11-11T20:39:50.945Z] > git config core.sparsecheckout # timeout=10 [2021-11-11T20:39:50.963Z] > git checkout -f 5134c9ff46a981c1bd859d26ec74b5af94450f92 # timeout=10 [2021-11-11T20:39:55.383Z] Commit message: "build: Update to latest SDK and released go-mods" [2021-11-11T20:39:55.456Z] > git --version # timeout=10 [2021-11-11T20:39:55.471Z] > git --version # 'git version 2.17.1' [2021-11-11T20:39:55.489Z] fatal: bad object a03e002eace0db65b27acd1444eb3c4392a49323 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-11-11T20:40:01.057Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2021-11-11T20:40:01.057Z] % Total % Received % Xferd Average Speed Time Time Time Current [2021-11-11T20:40:01.057Z] Dload Upload Total Spent Left Speed [2021-11-11T20:40:01.057Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 11824 100 11824 0 0 192k 0 --:--:-- --:--:-- --:--:-- 195k [Pipeline] sh [2021-11-11T20:40:02.983Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [2021-11-11T20:40:03.422Z] ? github.com/edgexfoundry/device-virtual-go/cmd [no test files] [2021-11-11T20:40:03.422Z] ok github.com/edgexfoundry/device-virtual-go/internal/driver 0.287s coverage: 64.6% of statements [2021-11-11T20:40:03.422Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [Pipeline] sh [2021-11-11T20:40:04.174Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2021-11-11T20:40:04.174Z] + sudo tee /etc/docker/daemon.new [2021-11-11T20:40:04.174Z] { [2021-11-11T20:40:04.174Z] "registry-mirrors": [ [2021-11-11T20:40:04.174Z] "https://nexus3.edgexfoundry.org:10001" [2021-11-11T20:40:04.174Z] ], [2021-11-11T20:40:04.174Z] "bip": "10.250.0.254/24", [2021-11-11T20:40:04.174Z] "hosts": [ [2021-11-11T20:40:04.174Z] "tcp://0.0.0.0:5555", [2021-11-11T20:40:04.174Z] "unix:///var/run/docker.sock" [2021-11-11T20:40:04.174Z] ], [2021-11-11T20:40:04.174Z] "mtu": 1458, [2021-11-11T20:40:04.174Z] "selinux-enabled": true, [2021-11-11T20:40:04.174Z] "seccomp-profile": "/etc/docker/seccomp.json" [2021-11-11T20:40:04.174Z] } [Pipeline] sh [2021-11-11T20:40:05.086Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2021-11-11T20:40:06.515Z] + sudo service docker restart [2021-11-11T20:40:10.083Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2021-11-11T20:40:10.084Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2021-11-11T20:40:10.084Z] ./bin/test-attribution-txt.sh [Pipeline] } [2021-11-11T20:40:10.660Z] $ docker stop --time=1 0892010dc29d8ae68ea782d6385cdf6bc92590852f658052dc881b5c1dd55573 [2021-11-11T20:40:12.192Z] $ docker rm -f 0892010dc29d8ae68ea782d6385cdf6bc92590852f658052dc881b5c1dd55573 [Pipeline] // withDockerContainer [Pipeline] sh [2021-11-11T20:40:14.515Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2021-11-11T20:40:15.314Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2021-11-11T20:40:22.787Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2021-11-11T20:40:24.375Z] + ls -al . [2021-11-11T20:40:24.376Z] total 176 [2021-11-11T20:40:24.376Z] drwxrwxr-x. 7 jenkins jenkins 4096 Nov 11 20:40 . [2021-11-11T20:40:24.376Z] drwxrwxr-x. 4 jenkins jenkins 28 Nov 11 20:37 .. [2021-11-11T20:40:24.376Z] -rw-rw-r--. 1 jenkins jenkins 8449 Nov 11 20:37 Attribution.txt [2021-11-11T20:40:24.376Z] drwxrwxr-x. 2 jenkins jenkins 37 Nov 11 20:37 bin [2021-11-11T20:40:24.376Z] -rw-rw-r--. 1 jenkins jenkins 6349 Nov 11 20:37 CHANGELOG.md [2021-11-11T20:40:24.376Z] drwxrwxr-x. 3 jenkins jenkins 32 Nov 11 20:37 cmd [2021-11-11T20:40:24.376Z] -rw-r--r--. 1 jenkins jenkins 46339 Nov 11 20:40 coverage.out [2021-11-11T20:40:24.376Z] -rw-rw-r--. 1 jenkins jenkins 1951 Nov 11 20:37 Dockerfile [2021-11-11T20:40:24.376Z] drwxrwxr-x. 8 jenkins jenkins 179 Nov 11 20:37 .git [2021-11-11T20:40:24.376Z] drwxrwxr-x. 2 jenkins jenkins 103 Nov 11 20:37 .github [2021-11-11T20:40:24.376Z] -rw-rw-r--. 1 jenkins jenkins 270 Nov 11 20:37 .gitignore [2021-11-11T20:40:24.376Z] -rw-rw-r--. 1 jenkins jenkins 351 Nov 11 20:37 go.mod [2021-11-11T20:40:24.376Z] -rw-rw-r--. 1 jenkins jenkins 52493 Nov 11 20:37 go.sum [2021-11-11T20:40:24.376Z] -rw-rw-r--. 1 jenkins jenkins 677 Nov 11 20:37 GOVERNANCE.md [2021-11-11T20:40:24.376Z] drwxrwxr-x. 3 jenkins jenkins 20 Nov 11 20:37 internal [2021-11-11T20:40:24.376Z] -rw-rw-r--. 1 jenkins jenkins 660 Nov 11 20:37 Jenkinsfile [2021-11-11T20:40:24.376Z] -rw-rw-r--. 1 jenkins jenkins 11340 Nov 11 20:37 LICENSE [2021-11-11T20:40:24.376Z] -rw-rw-r--. 1 jenkins jenkins 999 Nov 11 20:37 Makefile [2021-11-11T20:40:24.376Z] -rw-rw-r--. 1 jenkins jenkins 623 Nov 11 20:37 OWNERS.md [2021-11-11T20:40:24.376Z] -rw-rw-r--. 1 jenkins jenkins 2913 Nov 11 20:37 README.md [2021-11-11T20:40:24.376Z] -rw-rw-r--. 1 jenkins jenkins 5 Nov 11 20:35 VERSION [2021-11-11T20:40:24.376Z] -rw-rw-r--. 1 jenkins jenkins 235 Nov 11 20:37 version.go [Pipeline] isUnix [Pipeline] sh [2021-11-11T20:40:27.642Z] + 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=5134c9ff46a981c1bd859d26ec74b5af94450f92 --label arch=amd64 --label version=0.0.0 . [2021-11-11T20:40:27.643Z] Sending build context to Docker daemon 8.794MB [2021-11-11T20:40:27.643Z] Step 1/25 : ARG BASE=golang:1.16-alpine3.14 [2021-11-11T20:40:27.643Z] Step 2/25 : FROM ${BASE} AS builder [2021-11-11T20:40:27.643Z] ---> 8045e93434b4 [2021-11-11T20:40:27.643Z] Step 3/25 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2021-11-11T20:40:27.643Z] ---> Running in e1ca41fc66c5 [2021-11-11T20:40:27.908Z] Removing intermediate container e1ca41fc66c5 [2021-11-11T20:40:27.908Z] ---> 26bb870a041b [2021-11-11T20:40:27.908Z] Step 4/25 : ARG ALPINE_PKG_EXTRA="" [2021-11-11T20:40:27.908Z] ---> Running in e2e4cfe6d53e [2021-11-11T20:40:27.908Z] Removing intermediate container e2e4cfe6d53e [2021-11-11T20:40:27.908Z] ---> 8ba9f3850bd1 [2021-11-11T20:40:27.908Z] Step 5/25 : WORKDIR /device-virtual-go [2021-11-11T20:40:27.908Z] ---> Running in 90ef141357fe [2021-11-11T20:40:28.168Z] Removing intermediate container 90ef141357fe [2021-11-11T20:40:28.168Z] ---> 9f73645ce584 [2021-11-11T20:40:28.168Z] Step 6/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-11-11T20:40:28.168Z] ---> Running in af2ec013f445 [2021-11-11T20:40:28.432Z] Removing intermediate container af2ec013f445 [2021-11-11T20:40:28.432Z] ---> 61e1e3e604fd [2021-11-11T20:40:28.432Z] Step 7/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2021-11-11T20:40:28.432Z] ---> Running in 9d6e489000aa [2021-11-11T20:40:28.692Z] fetch https://nl.alpinelinux.org/alpine/v3.14/main/x86_64/APKINDEX.tar.gz [Pipeline] withEnv [2021-11-11T20:40:29.633Z] fetch https://nl.alpinelinux.org/alpine/v3.14/community/x86_64/APKINDEX.tar.gz [Pipeline] { [2021-11-11T20:40:29.895Z] OK: 224 MiB in 56 packages [2021-11-11T20:40:30.154Z] Removing intermediate container 9d6e489000aa [2021-11-11T20:40:30.154Z] ---> eb822bb960d6 [2021-11-11T20:40:30.154Z] Step 8/25 : COPY . . [2021-11-11T20:40:30.422Z] ---> 2e9670673bd4 [2021-11-11T20:40:30.422Z] Step 9/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2021-11-11T20:40:30.422Z] ---> Running in ca659bdafd75 [2021-11-11T20:40:31.365Z] Removing intermediate container ca659bdafd75 [2021-11-11T20:40:31.365Z] ---> f24550a727b6 [2021-11-11T20:40:31.365Z] Step 10/25 : ARG MAKE='make build' [2021-11-11T20:40:31.365Z] ---> Running in b5d7ade502b2 [2021-11-11T20:40:31.365Z] Removing intermediate container b5d7ade502b2 [2021-11-11T20:40:31.365Z] ---> ea050a6000f8 [2021-11-11T20:40:31.365Z] Step 11/25 : RUN $MAKE [2021-11-11T20:40:31.365Z] ---> Running in 9e49b1261d0d [2021-11-11T20:40:31.631Z] CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-virtual-go.Version=0.0.0" -o cmd/device-virtual ./cmd [Pipeline] configFileProvider [2021-11-11T20:40:32.049Z] provisioning config files... [2021-11-11T20:40:32.076Z] copy managed file [device-virtual-go-settings] to file:/w/workspace/device-virtual-go/1@tmp/config6212874234171680326tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-11-11T20:40:36.725Z] ---> docker-login.sh [2021-11-11T20:40:36.725Z] nexus3.edgexfoundry.org:10001 [2021-11-11T20:40:37.321Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-11-11T20:40:37.594Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-11-11T20:40:37.594Z] Configure a credential helper to remove this warning. See [2021-11-11T20:40:37.594Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-11-11T20:40:37.594Z] [2021-11-11T20:40:37.594Z] Login Succeeded [2021-11-11T20:40:37.594Z] nexus3.edgexfoundry.org:10002 [2021-11-11T20:40:38.189Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-11-11T20:40:38.189Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-11-11T20:40:38.189Z] Configure a credential helper to remove this warning. See [2021-11-11T20:40:38.189Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-11-11T20:40:38.189Z] [2021-11-11T20:40:38.189Z] Login Succeeded [2021-11-11T20:40:38.189Z] nexus3.edgexfoundry.org:10003 [2021-11-11T20:40:38.462Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-11-11T20:40:38.739Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-11-11T20:40:38.739Z] Configure a credential helper to remove this warning. See [2021-11-11T20:40:38.739Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-11-11T20:40:38.739Z] [2021-11-11T20:40:38.739Z] Login Succeeded [2021-11-11T20:40:38.739Z] nexus3.edgexfoundry.org:10004 [2021-11-11T20:40:39.013Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-11-11T20:40:39.289Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-11-11T20:40:39.289Z] Configure a credential helper to remove this warning. See [2021-11-11T20:40:39.289Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-11-11T20:40:39.289Z] [2021-11-11T20:40:39.289Z] Login Succeeded [2021-11-11T20:40:39.289Z] docker.io [2021-11-11T20:40:39.565Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-11-11T20:40:39.838Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-11-11T20:40:39.838Z] Configure a credential helper to remove this warning. See [2021-11-11T20:40:39.838Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-11-11T20:40:39.838Z] [2021-11-11T20:40:39.838Z] Login Succeeded [2021-11-11T20:40:39.838Z] ---> docker-login.sh ends [Pipeline] } [2021-11-11T20:40:40.684Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2021-11-11T20:40:49.727Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [2021-11-11T20:40:49.851Z] Removing intermediate container 9e49b1261d0d [2021-11-11T20:40:49.851Z] ---> e6fb7103a4a8 [2021-11-11T20:40:49.851Z] Step 12/25 : FROM alpine:3.14 [2021-11-11T20:40:49.851Z] 3.14: Pulling from library/alpine [2021-11-11T20:40:49.851Z] a0d0a0d46f8b: Already exists [2021-11-11T20:40:49.851Z] Digest: sha256:e1c082e3d3c45cccac829840a25941e679c25d438cc8412c2fa221cf1a824e6a [2021-11-11T20:40:49.851Z] Status: Downloaded newer image for alpine:3.14 [2021-11-11T20:40:49.851Z] ---> 14119a10abf4 [2021-11-11T20:40:49.851Z] Step 13/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2021: IOTech' [2021-11-11T20:40:49.851Z] ---> Running in b44205ca8ba7 [2021-11-11T20:40:49.851Z] Removing intermediate container b44205ca8ba7 [2021-11-11T20:40:49.851Z] ---> da9e2443f855 [2021-11-11T20:40:49.851Z] Step 14/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-11-11T20:40:49.851Z] ---> Running in ceaaea031de2 [2021-11-11T20:40:49.851Z] Removing intermediate container ceaaea031de2 [2021-11-11T20:40:49.851Z] ---> 11988c3b332e [2021-11-11T20:40:49.851Z] Step 15/25 : RUN apk add --update --no-cache zeromq dumb-init [2021-11-11T20:40:49.851Z] ---> Running in 395078a0ea11 [2021-11-11T20:40:49.851Z] fetch https://nl.alpinelinux.org/alpine/v3.14/main/x86_64/APKINDEX.tar.gz [2021-11-11T20:40:50.420Z] fetch https://nl.alpinelinux.org/alpine/v3.14/community/x86_64/APKINDEX.tar.gz [2021-11-11T20:40:50.679Z] (1/6) Installing dumb-init (1.2.5-r1) [2021-11-11T20:40:50.939Z] (2/6) Installing libgcc (10.3.1_git20210424-r2) [2021-11-11T20:40:50.939Z] (3/6) Installing libsodium (1.0.18-r0) [2021-11-11T20:40:50.939Z] (4/6) Installing libstdc++ (10.3.1_git20210424-r2) [2021-11-11T20:40:51.204Z] (5/6) Installing libzmq (4.3.4-r0) [2021-11-11T20:40:51.204Z] (6/6) Installing zeromq (4.3.4-r0) [2021-11-11T20:40:51.204Z] Executing busybox-1.33.1-r3.trigger [Pipeline] echo [2021-11-11T20:40:51.463Z] OK: 8 MiB in 20 packages [2021-11-11T20:40:51.464Z] Removing intermediate container 395078a0ea11 [2021-11-11T20:40:51.464Z] ---> 821b76f3eafe [2021-11-11T20:40:51.464Z] Step 16/25 : WORKDIR / [2021-11-11T20:40:51.729Z] ---> Running in 25328d9ae506 [2021-11-11T20:40:51.729Z] Removing intermediate container 25328d9ae506 [2021-11-11T20:40:51.729Z] ---> 12e23d156f19 [2021-11-11T20:40:51.729Z] Step 17/25 : COPY --from=builder /device-virtual-go/Attribution.txt / [2021-11-11T20:40:51.729Z] ---> 692d63773cb0 [2021-11-11T20:40:51.729Z] Step 18/25 : COPY --from=builder /device-virtual-go/LICENSE / [2021-11-11T20:40:51.990Z] ---> 10b83871d1ad [2021-11-11T20:40:51.990Z] Step 19/25 : COPY --from=builder /device-virtual-go/cmd / [2021-11-11T20:40:52.172Z] ========================================================= [2021-11-11T20:40:52.172Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine] [2021-11-11T20:40:52.172Z] ========================================================= [2021-11-11T20:40:52.562Z] ---> 419cf88b022d [2021-11-11T20:40:52.562Z] Step 20/25 : EXPOSE 59900 [2021-11-11T20:40:52.562Z] ---> Running in b420089b025c [2021-11-11T20:40:52.562Z] Removing intermediate container b420089b025c [2021-11-11T20:40:52.562Z] ---> ed11b7e20bb4 [2021-11-11T20:40:52.562Z] Step 21/25 : ENTRYPOINT ["/device-virtual"] [2021-11-11T20:40:52.562Z] ---> Running in 2cb8406c85fb [2021-11-11T20:40:52.562Z] Removing intermediate container 2cb8406c85fb [2021-11-11T20:40:52.562Z] ---> d29c7d19054f [2021-11-11T20:40:52.562Z] Step 22/25 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2021-11-11T20:40:52.562Z] ---> Running in a5a41d1de2eb [2021-11-11T20:40:52.562Z] Removing intermediate container a5a41d1de2eb [2021-11-11T20:40:52.562Z] ---> 2e0d2c1702c8 [2021-11-11T20:40:52.562Z] Step 23/25 : LABEL arch=amd64 [2021-11-11T20:40:52.827Z] ---> Running in 1252a72f38cd [2021-11-11T20:40:52.827Z] Removing intermediate container 1252a72f38cd [2021-11-11T20:40:52.827Z] ---> 9c13ff3021da [2021-11-11T20:40:52.827Z] Step 24/25 : LABEL git_sha=5134c9ff46a981c1bd859d26ec74b5af94450f92 [2021-11-11T20:40:52.827Z] ---> Running in 85137e544f30 [2021-11-11T20:40:52.827Z] Removing intermediate container 85137e544f30 [2021-11-11T20:40:52.827Z] ---> d76e02419413 [2021-11-11T20:40:52.827Z] Step 25/25 : LABEL version=0.0.0 [2021-11-11T20:40:52.827Z] ---> Running in b2127e452399 [2021-11-11T20:40:53.090Z] Removing intermediate container b2127e452399 [2021-11-11T20:40:53.090Z] ---> 9e14385e707b [2021-11-11T20:40:53.090Z] [Warning] One or more build-args [ARCH] were not consumed [2021-11-11T20:40:53.090Z] Successfully built 9e14385e707b [2021-11-11T20:40:53.090Z] Successfully tagged device-virtual:latest [Pipeline] fileExists [Pipeline] fileExists [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) [Pipeline] isUnix [Pipeline] sh [2021-11-11T20:41:00.906Z] + docker build -t ci-base-image-arm64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine --build-arg MAKE=echo noop --target=builder . Stage "Docker Push" skipped due to when conditional [2021-11-11T20:41:01.529Z] Sending build context to Docker daemon 8.745MB [2021-11-11T20:41:01.529Z] Step 1/11 : ARG BASE=golang:1.16-alpine3.14 [2021-11-11T20:41:01.529Z] Step 2/11 : FROM ${BASE} AS builder [2021-11-11T20:41:01.529Z] 1.16-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2021-11-11T20:41:01.529Z] 552d1f2373af: Pulling fs layer [2021-11-11T20:41:01.529Z] ea3f2d53f512: Pulling fs layer [2021-11-11T20:41:01.529Z] 9e70ebbbe112: Pulling fs layer [2021-11-11T20:41:01.529Z] 7a9cfe048b4a: Pulling fs layer [2021-11-11T20:41:01.529Z] 72dc09318566: Pulling fs layer [2021-11-11T20:41:01.529Z] f4f7b4309257: Pulling fs layer [2021-11-11T20:41:01.529Z] 0ac9a79272e3: Pulling fs layer [2021-11-11T20:41:01.529Z] b78e95d17946: Pulling fs layer [2021-11-11T20:41:01.529Z] 7a9cfe048b4a: Waiting [2021-11-11T20:41:01.529Z] 72dc09318566: Waiting [2021-11-11T20:41:01.529Z] f4f7b4309257: Waiting [2021-11-11T20:41:01.529Z] 0ac9a79272e3: Waiting [2021-11-11T20:41:01.529Z] b78e95d17946: Waiting [2021-11-11T20:41:01.529Z] 9e70ebbbe112: Verifying Checksum [2021-11-11T20:41:01.529Z] 9e70ebbbe112: Download complete [2021-11-11T20:41:01.529Z] ea3f2d53f512: Verifying Checksum [2021-11-11T20:41:01.529Z] ea3f2d53f512: Download complete [2021-11-11T20:41:01.529Z] 72dc09318566: Verifying Checksum [2021-11-11T20:41:01.529Z] 72dc09318566: Download complete [Pipeline] } [2021-11-11T20:41:01.806Z] f4f7b4309257: Verifying Checksum [2021-11-11T20:41:01.806Z] f4f7b4309257: Download complete [2021-11-11T20:41:01.806Z] 552d1f2373af: Verifying Checksum [2021-11-11T20:41:01.806Z] 552d1f2373af: Download complete [2021-11-11T20:41:01.806Z] 0ac9a79272e3: Verifying Checksum [2021-11-11T20:41:01.806Z] 0ac9a79272e3: Download complete [2021-11-11T20:41:02.414Z] 552d1f2373af: Pull complete [Pipeline] // stage [2021-11-11T20:41:03.037Z] ea3f2d53f512: Pull complete [2021-11-11T20:41:03.664Z] 9e70ebbbe112: Pull complete [2021-11-11T20:41:03.664Z] b78e95d17946: Verifying Checksum [2021-11-11T20:41:03.664Z] b78e95d17946: Download complete [2021-11-11T20:41:04.268Z] 7a9cfe048b4a: Verifying Checksum [2021-11-11T20:41:04.268Z] 7a9cfe048b4a: Download complete [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [2021-11-11T20:41:14.412Z] 7a9cfe048b4a: Pull complete [2021-11-11T20:41:14.412Z] 72dc09318566: Pull complete [Pipeline] { [2021-11-11T20:41:14.686Z] f4f7b4309257: Pull complete [2021-11-11T20:41:15.280Z] 0ac9a79272e3: Pull complete [Pipeline] isUnix [Pipeline] sh [2021-11-11T20:41:18.235Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2021-11-11T20:41:18.236Z] [2021-11-11T20:41:18.236Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [2021-11-11T20:41:20.705Z] b78e95d17946: Pull complete [2021-11-11T20:41:20.705Z] Digest: sha256:8f77ec77db7124c2038421266515449a73d34d95fd7f90866b77fbf8f5a401c7 [2021-11-11T20:41:20.705Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine [2021-11-11T20:41:20.705Z] ---> 8b459fc5aaf0 [2021-11-11T20:41:20.705Z] Step 3/11 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [Pipeline] sh [2021-11-11T20:41:21.782Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2021-11-11T20:41:21.782Z] latest: Pulling from edgex-lftools-log-publisher [2021-11-11T20:41:21.782Z] b4d181a07f80: Pulling fs layer [2021-11-11T20:41:21.782Z] a1111a8f2ec3: Pulling fs layer [2021-11-11T20:41:21.782Z] ed53099fbce6: Pulling fs layer [2021-11-11T20:41:21.782Z] dc539afda2c1: Pulling fs layer [2021-11-11T20:41:21.782Z] 77bc0d833cb6: Pulling fs layer [2021-11-11T20:41:21.782Z] 9065ff56babe: Pulling fs layer [2021-11-11T20:41:21.782Z] d287ab97295c: Pulling fs layer [2021-11-11T20:41:21.782Z] dc539afda2c1: Waiting [2021-11-11T20:41:21.782Z] 77bc0d833cb6: Waiting [2021-11-11T20:41:21.782Z] 9065ff56babe: Waiting [2021-11-11T20:41:21.782Z] d287ab97295c: Waiting [2021-11-11T20:41:21.782Z] a1111a8f2ec3: Verifying Checksum [2021-11-11T20:41:21.782Z] a1111a8f2ec3: Download complete [2021-11-11T20:41:21.782Z] dc539afda2c1: Verifying Checksum [2021-11-11T20:41:21.782Z] dc539afda2c1: Download complete [2021-11-11T20:41:22.052Z] ed53099fbce6: Verifying Checksum [2021-11-11T20:41:22.052Z] ed53099fbce6: Download complete [2021-11-11T20:41:22.052Z] 77bc0d833cb6: Verifying Checksum [2021-11-11T20:41:22.052Z] 77bc0d833cb6: Download complete [2021-11-11T20:41:22.052Z] 9065ff56babe: Verifying Checksum [2021-11-11T20:41:22.052Z] 9065ff56babe: Download complete [2021-11-11T20:41:22.052Z] b4d181a07f80: Verifying Checksum [2021-11-11T20:41:22.052Z] b4d181a07f80: Download complete [2021-11-11T20:41:22.626Z] d287ab97295c: Verifying Checksum [2021-11-11T20:41:22.626Z] d287ab97295c: Download complete [2021-11-11T20:41:22.676Z] ---> Running in fc963426d511 [2021-11-11T20:41:22.955Z] Removing intermediate container fc963426d511 [2021-11-11T20:41:22.955Z] ---> 63defeb50df7 [2021-11-11T20:41:22.955Z] Step 4/11 : ARG ALPINE_PKG_EXTRA="" [2021-11-11T20:41:22.955Z] ---> Running in 9bfd1768a987 [2021-11-11T20:41:23.550Z] Removing intermediate container 9bfd1768a987 [2021-11-11T20:41:23.550Z] ---> f5f2114d3a5e [2021-11-11T20:41:23.550Z] Step 5/11 : WORKDIR /device-virtual-go [2021-11-11T20:41:23.550Z] ---> Running in ab389e9f6f19 [2021-11-11T20:41:23.572Z] b4d181a07f80: Pull complete [2021-11-11T20:41:23.572Z] a1111a8f2ec3: Pull complete [2021-11-11T20:41:24.148Z] ed53099fbce6: Pull complete [2021-11-11T20:41:24.148Z] dc539afda2c1: Pull complete [2021-11-11T20:41:24.150Z] Removing intermediate container ab389e9f6f19 [2021-11-11T20:41:24.150Z] ---> 6aea6e15e019 [2021-11-11T20:41:24.150Z] Step 6/11 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-11-11T20:41:24.150Z] ---> Running in 013c7b3ae635 [2021-11-11T20:41:24.411Z] 77bc0d833cb6: Pull complete [2021-11-11T20:41:24.411Z] 9065ff56babe: Pull complete [2021-11-11T20:41:26.139Z] Removing intermediate container 013c7b3ae635 [2021-11-11T20:41:26.140Z] ---> 36d692aa5239 [2021-11-11T20:41:26.140Z] Step 7/11 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2021-11-11T20:41:26.417Z] ---> Running in c8dbe05c7268 [2021-11-11T20:41:27.395Z] fetch https://nl.alpinelinux.org/alpine/v3.14/main/aarch64/APKINDEX.tar.gz [2021-11-11T20:41:28.828Z] fetch https://nl.alpinelinux.org/alpine/v3.14/community/aarch64/APKINDEX.tar.gz [2021-11-11T20:41:29.428Z] (1/4) Installing openssh-keygen (8.6_p1-r3) [2021-11-11T20:41:29.428Z] (2/4) Installing libedit (20210216.3.1-r0) [2021-11-11T20:41:29.428Z] (3/4) Installing openssh-client-common (8.6_p1-r3) [2021-11-11T20:41:29.701Z] (4/4) Installing openssh-client-default (8.6_p1-r3) [2021-11-11T20:41:29.701Z] Executing busybox-1.33.1-r3.trigger [2021-11-11T20:41:29.701Z] OK: 223 MiB in 56 packages [2021-11-11T20:41:29.740Z] d287ab97295c: Pull complete [2021-11-11T20:41:29.740Z] Digest: sha256:0c69325c24349bfb3ea32a3c3cbcab1fb66df42c981276dd8ebcf6aa441257c4 [2021-11-11T20:41:29.740Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2021-11-11T20:41:29.740Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2021-11-11T20:41:30.680Z] Removing intermediate container c8dbe05c7268 [2021-11-11T20:41:30.680Z] ---> cc5ee1a4369a [2021-11-11T20:41:30.680Z] Step 8/11 : COPY . . [Pipeline] withDockerContainer [2021-11-11T20:41:31.331Z] prd-centos7-docker-4c-2g-219 does not seem to be running inside a container [2021-11-11T20:41:31.378Z] $ 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/1 -v /w/workspace/device-virtual-go/1:/w/workspace/device-virtual-go/1:rw,z -v /w/workspace/device-virtual-go/1@tmp:/w/workspace/device-virtual-go/1@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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2021-11-11T20:41:32.112Z] ---> 36a46de36941 [2021-11-11T20:41:32.112Z] Step 9/11 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2021-11-11T20:41:32.112Z] ---> Running in 616e0b0a38e5 [2021-11-11T20:41:34.472Z] $ docker top 5638b5f04479264bb1e10bcd01e1c6e8e812100c546360deddc26be69f8746bc -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-11-11T20:41:36.582Z] ---> job-cost.sh [2021-11-11T20:41:36.582Z] lf-activate-venv: SKIPPING [2021-11-11T20:41:36.582Z] INFO: No Stack... [2021-11-11T20:41:36.844Z] INFO: Retrieving Pricing Info for: v3-standard-2 [2021-11-11T20:41:37.104Z] INFO: Archiving Costs [Pipeline] sh [2021-11-11T20:41:37.516Z] + cat /w/workspace/device-virtual-go/1/archives/cost.csv [2021-11-11T20:41:37.516Z] + cut -d, -f6 [Pipeline] lock [2021-11-11T20:41:46.615Z] Trying to acquire lock on [jenkins-edgexfoundry-device-virtual-go-PR-250-1-stack-cost] [2021-11-11T20:41:46.676Z] Resource [jenkins-edgexfoundry-device-virtual-go-PR-250-1-stack-cost] did not exist. Created. [2021-11-11T20:41:46.676Z] Lock acquired on [jenkins-edgexfoundry-device-virtual-go-PR-250-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2021-11-11T20:41:48.315Z] + echo total: 0.05999999865889549 [Pipeline] stash [2021-11-11T20:41:48.435Z] Stashed 1 file(s) [Pipeline] } [2021-11-11T20:41:49.094Z] Lock released on resource [jenkins-edgexfoundry-device-virtual-go-PR-250-1-stack-cost] [Pipeline] // lock [Pipeline] } [2021-11-11T20:41:49.616Z] $ docker stop --time=1 5638b5f04479264bb1e10bcd01e1c6e8e812100c546360deddc26be69f8746bc [2021-11-11T20:41:50.770Z] $ docker rm -f 5638b5f04479264bb1e10bcd01e1c6e8e812100c546360deddc26be69f8746bc [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [2021-11-11T20:42:53.903Z] Removing intermediate container 616e0b0a38e5 [2021-11-11T20:42:53.903Z] ---> 6c81a285d554 [2021-11-11T20:42:53.903Z] Step 10/11 : ARG MAKE='make build' [2021-11-11T20:42:53.903Z] ---> Running in 52488ae5cf28 [2021-11-11T20:42:53.903Z] Removing intermediate container 52488ae5cf28 [2021-11-11T20:42:53.903Z] ---> e27cd9c1ccfc [2021-11-11T20:42:53.903Z] Step 11/11 : RUN $MAKE [2021-11-11T20:42:53.903Z] ---> Running in 92ff6fc17be0 [2021-11-11T20:42:53.903Z] noop [2021-11-11T20:42:53.903Z] Removing intermediate container 92ff6fc17be0 [2021-11-11T20:42:53.903Z] ---> 71b4c91a61f6 [2021-11-11T20:42:53.903Z] Successfully built 71b4c91a61f6 [2021-11-11T20:42:53.903Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh [2021-11-11T20:42:57.539Z] + docker inspect -f . ci-base-image-arm64 [2021-11-11T20:42:57.539Z] . [Pipeline] withDockerContainer [2021-11-11T20:43:00.038Z] prd-ubuntu18.04-docker-arm64-4c-16g-221 does not seem to be running inside a container [2021-11-11T20:43:00.156Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-virtual-go/1 -v /w/workspace/device-virtual-go/1:/w/workspace/device-virtual-go/1:rw,z -v /w/workspace/device-virtual-go/1@tmp:/w/workspace/device-virtual-go/1@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 ******** ci-base-image-arm64 cat [2021-11-11T20:43:01.683Z] $ docker top 58ecd92b3f50609ef4a861d65c9e6c1b7abf7cbcf20ba5db6cc1c1d957d2f451 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-11-11T20:43:04.591Z] + go version [2021-11-11T20:43:04.592Z] go version go1.16.8 linux/arm64 [Pipeline] } [2021-11-11T20:43:06.046Z] $ docker stop --time=1 58ecd92b3f50609ef4a861d65c9e6c1b7abf7cbcf20ba5db6cc1c1d957d2f451 [2021-11-11T20:43:07.722Z] $ docker rm -f 58ecd92b3f50609ef4a861d65c9e6c1b7abf7cbcf20ba5db6cc1c1d957d2f451 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-11-11T20:43:21.537Z] + docker inspect -f . ci-base-image-arm64 [2021-11-11T20:43:21.538Z] . [Pipeline] withDockerContainer [2021-11-11T20:43:21.881Z] prd-ubuntu18.04-docker-arm64-4c-16g-221 does not seem to be running inside a container [2021-11-11T20:43:21.998Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-virtual-go/1 -v /w/workspace/device-virtual-go/1:/w/workspace/device-virtual-go/1:rw,z -v /w/workspace/device-virtual-go/1@tmp:/w/workspace/device-virtual-go/1@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 ******** ci-base-image-arm64 cat [2021-11-11T20:43:23.482Z] $ docker top ec9b48593ca42f611ef28016c1d5bb41cdac15d62e62c6b95cadd1860e8118ad -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh [2021-11-11T20:43:25.066Z] + make test [2021-11-11T20:43:25.066Z] CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out [2021-11-11T20:43:26.538Z] ? github.com/edgexfoundry/device-virtual-go [no test files] [2021-11-11T20:44:34.601Z] ? github.com/edgexfoundry/device-virtual-go/cmd [no test files] [2021-11-11T20:44:35.580Z] ok github.com/edgexfoundry/device-virtual-go/internal/driver 1.973s coverage: 64.6% of statements [2021-11-11T20:44:35.860Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2021-11-11T20:45:08.249Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2021-11-11T20:45:08.249Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2021-11-11T20:45:08.249Z] ./bin/test-attribution-txt.sh [Pipeline] } [2021-11-11T20:45:08.355Z] $ docker stop --time=1 ec9b48593ca42f611ef28016c1d5bb41cdac15d62e62c6b95cadd1860e8118ad [2021-11-11T20:45:10.232Z] $ docker rm -f ec9b48593ca42f611ef28016c1d5bb41cdac15d62e62c6b95cadd1860e8118ad [Pipeline] // withDockerContainer [Pipeline] sh [2021-11-11T20:45:11.379Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2021-11-11T20:45:11.429Z] Warning: overwriting stash ‘coverage-report’ [2021-11-11T20:45:12.052Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-11-11T20:45:14.028Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2021-11-11T20:45:14.451Z] + ls -al . [2021-11-11T20:45:14.451Z] total 200 [2021-11-11T20:45:14.451Z] drwxrwxr-x 7 jenkins jenkins 4096 Nov 11 20:45 . [2021-11-11T20:45:14.451Z] drwxrwxr-x 4 jenkins jenkins 4096 Nov 11 20:39 .. [2021-11-11T20:45:14.451Z] drwxrwxr-x 8 jenkins jenkins 4096 Nov 11 20:39 .git [2021-11-11T20:45:14.451Z] drwxrwxr-x 2 jenkins jenkins 4096 Nov 11 20:39 .github [2021-11-11T20:45:14.451Z] -rw-rw-r-- 1 jenkins jenkins 270 Nov 11 20:39 .gitignore [2021-11-11T20:45:14.451Z] -rw-rw-r-- 1 jenkins jenkins 8449 Nov 11 20:39 Attribution.txt [2021-11-11T20:45:14.451Z] -rw-rw-r-- 1 jenkins jenkins 6349 Nov 11 20:39 CHANGELOG.md [2021-11-11T20:45:14.451Z] -rw-rw-r-- 1 jenkins jenkins 1951 Nov 11 20:39 Dockerfile [2021-11-11T20:45:14.451Z] -rw-rw-r-- 1 jenkins jenkins 677 Nov 11 20:39 GOVERNANCE.md [2021-11-11T20:45:14.451Z] -rw-rw-r-- 1 jenkins jenkins 660 Nov 11 20:39 Jenkinsfile [2021-11-11T20:45:14.451Z] -rw-rw-r-- 1 jenkins jenkins 11340 Nov 11 20:39 LICENSE [2021-11-11T20:45:14.451Z] -rw-rw-r-- 1 jenkins jenkins 999 Nov 11 20:39 Makefile [2021-11-11T20:45:14.451Z] -rw-rw-r-- 1 jenkins jenkins 623 Nov 11 20:39 OWNERS.md [2021-11-11T20:45:14.451Z] -rw-rw-r-- 1 jenkins jenkins 2913 Nov 11 20:39 README.md [2021-11-11T20:45:14.451Z] -rw-rw-r-- 1 jenkins jenkins 5 Nov 11 20:35 VERSION [2021-11-11T20:45:14.451Z] drwxrwxr-x 2 jenkins jenkins 4096 Nov 11 20:39 bin [2021-11-11T20:45:14.451Z] drwxrwxr-x 3 jenkins jenkins 4096 Nov 11 20:39 cmd [2021-11-11T20:45:14.451Z] -rw-r--r-- 1 jenkins jenkins 46339 Nov 11 20:44 coverage.out [2021-11-11T20:45:14.451Z] -rw-rw-r-- 1 jenkins jenkins 351 Nov 11 20:39 go.mod [2021-11-11T20:45:14.451Z] -rw-rw-r-- 1 jenkins jenkins 52493 Nov 11 20:39 go.sum [2021-11-11T20:45:14.451Z] drwxrwxr-x 3 jenkins jenkins 4096 Nov 11 20:39 internal [2021-11-11T20:45:14.451Z] -rw-rw-r-- 1 jenkins jenkins 235 Nov 11 20:39 version.go [Pipeline] isUnix [Pipeline] sh [2021-11-11T20:45:15.150Z] + 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=5134c9ff46a981c1bd859d26ec74b5af94450f92 --label arch=arm64 --label version=0.0.0 . [2021-11-11T20:45:15.762Z] Sending build context to Docker daemon 8.793MB [2021-11-11T20:45:15.762Z] Step 1/25 : ARG BASE=golang:1.16-alpine3.14 [2021-11-11T20:45:15.762Z] Step 2/25 : FROM ${BASE} AS builder [2021-11-11T20:45:15.762Z] ---> 71b4c91a61f6 [2021-11-11T20:45:15.762Z] Step 3/25 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2021-11-11T20:45:16.053Z] ---> Running in 89dd22c4fb04 [2021-11-11T20:45:16.339Z] Removing intermediate container 89dd22c4fb04 [2021-11-11T20:45:16.339Z] ---> 2609008aed60 [2021-11-11T20:45:16.339Z] Step 4/25 : ARG ALPINE_PKG_EXTRA="" [2021-11-11T20:45:16.612Z] ---> Running in 4d1d2ee9807a [2021-11-11T20:45:16.885Z] Removing intermediate container 4d1d2ee9807a [2021-11-11T20:45:16.885Z] ---> 61277a83453b [2021-11-11T20:45:16.885Z] Step 5/25 : WORKDIR /device-virtual-go [2021-11-11T20:45:16.885Z] ---> Running in aa4d8c0a5c7d [2021-11-11T20:45:17.480Z] Removing intermediate container aa4d8c0a5c7d [2021-11-11T20:45:17.480Z] ---> 7857c3791216 [2021-11-11T20:45:17.480Z] Step 6/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-11-11T20:45:17.480Z] ---> Running in d258623da639 [2021-11-11T20:45:20.094Z] Removing intermediate container d258623da639 [2021-11-11T20:45:20.094Z] ---> b5b16cdf6c0a [2021-11-11T20:45:20.094Z] Step 7/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2021-11-11T20:45:20.094Z] ---> Running in 4b80d83e9115 [2021-11-11T20:45:21.099Z] fetch https://nl.alpinelinux.org/alpine/v3.14/main/aarch64/APKINDEX.tar.gz [2021-11-11T20:45:22.086Z] fetch https://nl.alpinelinux.org/alpine/v3.14/community/aarch64/APKINDEX.tar.gz [2021-11-11T20:45:22.680Z] OK: 223 MiB in 56 packages [2021-11-11T20:45:23.660Z] Removing intermediate container 4b80d83e9115 [2021-11-11T20:45:23.660Z] ---> cc0333e445f2 [2021-11-11T20:45:23.660Z] Step 8/25 : COPY . . [2021-11-11T20:45:25.097Z] ---> 54c3e120c57f [2021-11-11T20:45:25.097Z] Step 9/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2021-11-11T20:45:25.097Z] ---> Running in 71534d3e1ff4 [2021-11-11T20:45:27.716Z] Removing intermediate container 71534d3e1ff4 [2021-11-11T20:45:27.716Z] ---> 945bc3280beb [2021-11-11T20:45:27.716Z] Step 10/25 : ARG MAKE='make build' [2021-11-11T20:45:27.716Z] ---> Running in 081959c59955 [2021-11-11T20:45:27.992Z] Removing intermediate container 081959c59955 [2021-11-11T20:45:27.992Z] ---> 91730e5c8086 [2021-11-11T20:45:27.992Z] Step 11/25 : RUN $MAKE [2021-11-11T20:45:27.992Z] ---> Running in 879897b9934f [2021-11-11T20:45:29.429Z] CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-virtual-go.Version=0.0.0" -o cmd/device-virtual ./cmd [2021-11-11T20:46:37.460Z] Removing intermediate container 879897b9934f [2021-11-11T20:46:37.460Z] ---> 74cc1efb76ba [2021-11-11T20:46:37.460Z] Step 12/25 : FROM alpine:3.14 [2021-11-11T20:46:37.460Z] 3.14: Pulling from library/alpine [2021-11-11T20:46:37.460Z] 552d1f2373af: Already exists [2021-11-11T20:46:37.460Z] Digest: sha256:e1c082e3d3c45cccac829840a25941e679c25d438cc8412c2fa221cf1a824e6a [2021-11-11T20:46:37.460Z] Status: Downloaded newer image for alpine:3.14 [2021-11-11T20:46:37.460Z] ---> bb3de5531c18 [2021-11-11T20:46:37.460Z] Step 13/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2021: IOTech' [2021-11-11T20:46:37.460Z] ---> Running in 4d5da845a9f3 [2021-11-11T20:46:37.460Z] Removing intermediate container 4d5da845a9f3 [2021-11-11T20:46:37.460Z] ---> 63ed98cf1be8 [2021-11-11T20:46:37.460Z] Step 14/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-11-11T20:46:37.460Z] ---> Running in 72872bbd7bcb [2021-11-11T20:46:37.460Z] Removing intermediate container 72872bbd7bcb [2021-11-11T20:46:37.460Z] ---> c0dad8acb2de [2021-11-11T20:46:37.460Z] Step 15/25 : RUN apk add --update --no-cache zeromq dumb-init [2021-11-11T20:46:37.460Z] ---> Running in 85491a68a698 [2021-11-11T20:46:37.460Z] fetch https://nl.alpinelinux.org/alpine/v3.14/main/aarch64/APKINDEX.tar.gz [2021-11-11T20:46:37.460Z] fetch https://nl.alpinelinux.org/alpine/v3.14/community/aarch64/APKINDEX.tar.gz [2021-11-11T20:46:37.460Z] (1/6) Installing dumb-init (1.2.5-r1) [2021-11-11T20:46:37.460Z] (2/6) Installing libgcc (10.3.1_git20210424-r2) [2021-11-11T20:46:37.460Z] (3/6) Installing libsodium (1.0.18-r0) [2021-11-11T20:46:37.460Z] (4/6) Installing libstdc++ (10.3.1_git20210424-r2) [2021-11-11T20:46:37.460Z] (5/6) Installing libzmq (4.3.4-r0) [2021-11-11T20:46:37.460Z] (6/6) Installing zeromq (4.3.4-r0) [2021-11-11T20:46:37.460Z] Executing busybox-1.33.1-r3.trigger [2021-11-11T20:46:37.460Z] OK: 8 MiB in 20 packages [2021-11-11T20:46:38.448Z] Removing intermediate container 85491a68a698 [2021-11-11T20:46:38.448Z] ---> 31b05d9e0230 [2021-11-11T20:46:38.448Z] Step 16/25 : WORKDIR / [2021-11-11T20:46:38.448Z] ---> Running in a65579699bc4 [2021-11-11T20:46:39.047Z] Removing intermediate container a65579699bc4 [2021-11-11T20:46:39.047Z] ---> 7ef86b83bbd3 [2021-11-11T20:46:39.047Z] Step 17/25 : COPY --from=builder /device-virtual-go/Attribution.txt / [2021-11-11T20:46:39.646Z] ---> 597f313f87b1 [2021-11-11T20:46:39.646Z] Step 18/25 : COPY --from=builder /device-virtual-go/LICENSE / [2021-11-11T20:46:40.631Z] ---> eab0be255801 [2021-11-11T20:46:40.631Z] Step 19/25 : COPY --from=builder /device-virtual-go/cmd / [2021-11-11T20:46:42.079Z] ---> 4ea64a237b56 [2021-11-11T20:46:42.079Z] Step 20/25 : EXPOSE 59900 [2021-11-11T20:46:42.079Z] ---> Running in 96fb4210c846 [2021-11-11T20:46:42.354Z] Removing intermediate container 96fb4210c846 [2021-11-11T20:46:42.354Z] ---> 77a161bd27cf [2021-11-11T20:46:42.354Z] Step 21/25 : ENTRYPOINT ["/device-virtual"] [2021-11-11T20:46:42.628Z] ---> Running in 53010947f375 [2021-11-11T20:46:42.903Z] Removing intermediate container 53010947f375 [2021-11-11T20:46:42.903Z] ---> 4f6ea000e547 [2021-11-11T20:46:42.903Z] Step 22/25 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2021-11-11T20:46:43.179Z] ---> Running in 4387c745c2e8 [2021-11-11T20:46:43.452Z] Removing intermediate container 4387c745c2e8 [2021-11-11T20:46:43.452Z] ---> e5e90aa0b34a [2021-11-11T20:46:43.452Z] Step 23/25 : LABEL arch=arm64 [2021-11-11T20:46:43.729Z] ---> Running in 555d1b9eac84 [2021-11-11T20:46:44.005Z] Removing intermediate container 555d1b9eac84 [2021-11-11T20:46:44.005Z] ---> 43c65b076889 [2021-11-11T20:46:44.005Z] Step 24/25 : LABEL git_sha=5134c9ff46a981c1bd859d26ec74b5af94450f92 [2021-11-11T20:46:44.280Z] ---> Running in 064081bc6917 [2021-11-11T20:46:44.877Z] Removing intermediate container 064081bc6917 [2021-11-11T20:46:44.878Z] ---> a98193a8e7fa [2021-11-11T20:46:44.878Z] Step 25/25 : LABEL version=0.0.0 [2021-11-11T20:46:44.878Z] ---> Running in 9ebf35ae1623 [2021-11-11T20:46:45.152Z] Removing intermediate container 9ebf35ae1623 [2021-11-11T20:46:45.152Z] ---> d57b800f5d56 [2021-11-11T20:46:45.152Z] [Warning] One or more build-args [ARCH] were not consumed [2021-11-11T20:46:45.431Z] Successfully built d57b800f5d56 [2021-11-11T20:46:45.431Z] Successfully tagged device-virtual-arm64:latest [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] sh [2021-11-11T20:46:46.975Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2021-11-11T20:46:47.250Z] [2021-11-11T20:46:47.250Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] sh [2021-11-11T20:46:47.662Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2021-11-11T20:46:47.937Z] arm64: Pulling from edgex-lftools-log-publisher [2021-11-11T20:46:47.937Z] 448f6bf000e3: Pulling fs layer [2021-11-11T20:46:47.937Z] f757da607395: Pulling fs layer [2021-11-11T20:46:47.937Z] 05883995daec: Pulling fs layer [2021-11-11T20:46:47.937Z] 8603b9c90790: Pulling fs layer [2021-11-11T20:46:47.937Z] 1560dd03e051: Pulling fs layer [2021-11-11T20:46:47.937Z] 27f5ce0e4adf: Pulling fs layer [2021-11-11T20:46:47.937Z] c2d8d7efcc4b: Pulling fs layer [2021-11-11T20:46:47.937Z] 8603b9c90790: Waiting [2021-11-11T20:46:47.937Z] 27f5ce0e4adf: Waiting [2021-11-11T20:46:47.937Z] c2d8d7efcc4b: Waiting [2021-11-11T20:46:47.937Z] 1560dd03e051: Waiting [2021-11-11T20:46:47.937Z] f757da607395: Verifying Checksum [2021-11-11T20:46:47.937Z] f757da607395: Download complete [2021-11-11T20:46:47.937Z] 8603b9c90790: Verifying Checksum [2021-11-11T20:46:47.937Z] 8603b9c90790: Download complete [2021-11-11T20:46:48.212Z] 1560dd03e051: Verifying Checksum [2021-11-11T20:46:48.212Z] 1560dd03e051: Download complete [2021-11-11T20:46:48.212Z] 27f5ce0e4adf: Download complete [2021-11-11T20:46:48.212Z] 05883995daec: Verifying Checksum [2021-11-11T20:46:48.212Z] 05883995daec: Download complete [2021-11-11T20:46:48.489Z] 448f6bf000e3: Verifying Checksum [2021-11-11T20:46:48.489Z] 448f6bf000e3: Download complete [2021-11-11T20:46:51.110Z] c2d8d7efcc4b: Verifying Checksum [2021-11-11T20:46:51.110Z] c2d8d7efcc4b: Download complete [2021-11-11T20:46:52.089Z] 448f6bf000e3: Pull complete [2021-11-11T20:46:52.688Z] f757da607395: Pull complete [2021-11-11T20:46:54.123Z] 05883995daec: Pull complete [2021-11-11T20:46:54.722Z] 8603b9c90790: Pull complete [2021-11-11T20:46:55.697Z] 1560dd03e051: Pull complete [2021-11-11T20:46:55.972Z] 27f5ce0e4adf: Pull complete [2021-11-11T20:47:11.056Z] c2d8d7efcc4b: Pull complete [2021-11-11T20:47:11.056Z] Digest: sha256:42f6a1c33103aa4ecfebf648e29883a20fd84132c0f0d4f855d8bcfd8dd9c454 [2021-11-11T20:47:11.056Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2021-11-11T20:47:11.056Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] withDockerContainer [2021-11-11T20:47:11.339Z] prd-ubuntu18.04-docker-arm64-4c-16g-221 does not seem to be running inside a container [2021-11-11T20:47:11.465Z] $ 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/1 -v /w/workspace/device-virtual-go/1:/w/workspace/device-virtual-go/1:rw,z -v /w/workspace/device-virtual-go/1@tmp:/w/workspace/device-virtual-go/1@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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat [2021-11-11T20:47:14.913Z] $ docker top c9f7d29bdcd7b3ae13e5b1b34a64f99e5b8b6b19c655a885653092c5f13e19f3 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-11-11T20:47:16.375Z] ---> job-cost.sh [2021-11-11T20:47:16.375Z] lf-activate-venv: SKIPPING [2021-11-11T20:47:16.375Z] INFO: No Stack... [2021-11-11T20:47:21.773Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2021-11-11T20:47:21.773Z] INFO: Archiving Costs [Pipeline] sh [2021-11-11T20:47:22.491Z] + cut -d, -f6 [2021-11-11T20:47:22.491Z] + cat /w/workspace/device-virtual-go/1/archives/cost.csv [Pipeline] lock [2021-11-11T20:47:22.614Z] Trying to acquire lock on [jenkins-edgexfoundry-device-virtual-go-PR-250-1-stack-cost] [2021-11-11T20:47:22.749Z] Resource [jenkins-edgexfoundry-device-virtual-go-PR-250-1-stack-cost] did not exist. Created. [2021-11-11T20:47:22.749Z] Lock acquired on [jenkins-edgexfoundry-device-virtual-go-PR-250-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2021-11-11T20:47:24.115Z] /w/workspace/device-virtual-go/1@tmp/durable-e7157487/script.sh: 1: /w/workspace/device-virtual-go/1@tmp/durable-e7157487/script.sh: Syntax error: Unterminated quoted string [Pipeline] sh [2021-11-11T20:47:24.851Z] + echo total: 0.10999999940395355 [Pipeline] stash [2021-11-11T20:47:24.902Z] Warning: overwriting stash ‘stack-cost’ [2021-11-11T20:47:24.954Z] Stashed 1 file(s) [Pipeline] } [2021-11-11T20:47:25.363Z] Lock released on resource [jenkins-edgexfoundry-device-virtual-go-PR-250-1-stack-cost] [Pipeline] // lock [Pipeline] } [2021-11-11T20:47:25.546Z] $ docker stop --time=1 c9f7d29bdcd7b3ae13e5b1b34a64f99e5b8b6b19c655a885653092c5f13e19f3 [2021-11-11T20:47:27.130Z] $ docker rm -f c9f7d29bdcd7b3ae13e5b1b34a64f99e5b8b6b19c655a885653092c5f13e19f3 [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 [2021-11-11T20:47:30.267Z] provisioning config files... [2021-11-11T20:47:30.278Z] copy managed file [device-virtual-go-codecov-token] to file:/w/workspace/foundry_device-virtual-go_PR-250@tmp/config1612024874739518883tmp [Pipeline] { [Pipeline] sh [2021-11-11T20:47:30.920Z] + set +x [2021-11-11T20:47:30.920Z] + curl -s https://codecov.io/bash [2021-11-11T20:47:30.920Z] + bash -s -- [2021-11-11T20:47:30.920Z] [2021-11-11T20:47:30.920Z] _____ _ [2021-11-11T20:47:30.920Z] / ____| | | [2021-11-11T20:47:30.920Z] | | ___ __| | ___ ___ _____ __ [2021-11-11T20:47:30.920Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2021-11-11T20:47:30.920Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2021-11-11T20:47:30.920Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2021-11-11T20:47:30.920Z] Bash-1.0.6 [2021-11-11T20:47:30.920Z] [2021-11-11T20:47:30.920Z] [2021-11-11T20:47:30.920Z] ==> git version 2.24.4 found [2021-11-11T20:47:30.920Z] ==> curl 7.29.0 (x86_64-redhat-linux-gnu) libcurl/7.29.0 NSS/3.53.1 zlib/1.2.7 libidn/1.28 libssh2/1.8.0 [2021-11-11T20:47:30.920Z] Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtsp scp sftp smtp smtps telnet tftp [2021-11-11T20:47:30.920Z] Features: AsynchDNS GSS-Negotiate IDN IPv6 Largefile NTLM NTLM_WB SSL libz unix-sockets [2021-11-11T20:47:30.920Z] ==> Jenkins CI detected. [2021-11-11T20:47:31.185Z] current dir:  /w/workspace/foundry_device-virtual-go_PR-250 [2021-11-11T20:47:31.185Z] project root: . [2021-11-11T20:47:31.185Z] --> token set from env [2021-11-11T20:47:31.185Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2021-11-11T20:47:31.185Z] ==> Running gcov in . (disable via -X gcov) [2021-11-11T20:47:31.185Z] ==> Python coveragepy not found [2021-11-11T20:47:31.185Z] ==> Searching for coverage reports in: [2021-11-11T20:47:31.185Z] + . [2021-11-11T20:47:31.185Z] -> Found 1 reports [2021-11-11T20:47:31.185Z] ==> Detecting git/mercurial file structure [2021-11-11T20:47:31.185Z] ==> Reading reports [2021-11-11T20:47:31.185Z] + ./coverage.out bytes=46339 [2021-11-11T20:47:31.185Z] ==> Appending adjustments [2021-11-11T20:47:31.185Z] https://docs.codecov.io/docs/fixing-reports [2021-11-11T20:47:31.185Z] + Found adjustments [2021-11-11T20:47:31.185Z] ==> Gzipping contents [2021-11-11T20:47:31.185Z] 8.0K /tmp/codecov.dSUlSD.gz [2021-11-11T20:47:31.185Z] ==> Uploading reports [2021-11-11T20:47:31.185Z] url: https://codecov.io [2021-11-11T20:47:31.185Z] query: branch=PR-250&commit=5134c9ff46a981c1bd859d26ec74b5af94450f92&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-virtual-go%2Fjob%2FPR-250%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-virtual-go&service=jenkins&flags=&pr=250&job=&cmd_args= [2021-11-11T20:47:31.185Z] -> Pinging Codecov [2021-11-11T20:47:31.185Z] https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=a35e349c-7876-4d48-9269-e9fc36774240&branch=PR-250&commit=5134c9ff46a981c1bd859d26ec74b5af94450f92&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-virtual-go%2Fjob%2FPR-250%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-virtual-go&service=jenkins&flags=&pr=250&job=&cmd_args= [2021-11-11T20:47:31.752Z] -> Uploading to [2021-11-11T20:47:31.752Z] https://storage.googleapis.com/codecov/v4/raw/2021-11-11/5E52B4B073DB2E39498172D8E973AA87/5134c9ff46a981c1bd859d26ec74b5af94450f92/41755b69-e9be-4475-8442-784e5a93001a.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EKKHVKCKHW7KBCGM7IHR55T63V2PAVJWLVFNITJHDU5G6R5IRN3LMWJA%2F20211111%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20211111T204731Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=da424cd227a5119b98cd1092051918016e3b3dd98d91de9ab475f916e7840cf6 [2021-11-11T20:47:31.752Z] % Total % Received % Xferd Average Speed Time Time Time Current [2021-11-11T20:47:31.752Z] Dload Upload Total Spent Left Speed [2021-11-11T20:47:32.013Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 5451 0 0 100 5451 0 16511 --:--:-- --:--:-- --:--:-- 16518 [2021-11-11T20:47:32.013Z] -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/device-virtual-go/commit/5134c9ff46a981c1bd859d26ec74b5af94450f92 [Pipeline] } [2021-11-11T20:47:32.047Z] 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 [2021-11-11T20:47:36.660Z] + '[' -d /w/workspace/foundry_device-virtual-go_PR-250/archives ']' [Pipeline] libraryResource [Pipeline] sh [2021-11-11T20:47:37.053Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2021-11-11T20:47:37.683Z] ---> package-listing.sh [2021-11-11T20:47:37.683Z] ++ facter osfamily [2021-11-11T20:47:37.683Z] ++ tr '[:upper:]' '[:lower:]' [2021-11-11T20:47:37.950Z] + OS_FAMILY=redhat [2021-11-11T20:47:37.950Z] + workspace=/w/workspace/foundry_device-virtual-go_PR-250 [2021-11-11T20:47:37.950Z] + START_PACKAGES=/tmp/packages_start.txt [2021-11-11T20:47:37.950Z] + END_PACKAGES=/tmp/packages_end.txt [2021-11-11T20:47:37.950Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2021-11-11T20:47:37.950Z] + PACKAGES=/tmp/packages_start.txt [2021-11-11T20:47:37.950Z] + '[' /w/workspace/foundry_device-virtual-go_PR-250 ']' [2021-11-11T20:47:37.950Z] + PACKAGES=/tmp/packages_end.txt [2021-11-11T20:47:37.950Z] + case "${OS_FAMILY}" in [2021-11-11T20:47:37.950Z] + rpm -qa [2021-11-11T20:47:37.950Z] + sort [2021-11-11T20:47:38.522Z] + '[' -f /tmp/packages_start.txt ']' [2021-11-11T20:47:38.522Z] + '[' -f /tmp/packages_end.txt ']' [2021-11-11T20:47:38.522Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2021-11-11T20:47:38.522Z] + '[' /w/workspace/foundry_device-virtual-go_PR-250 ']' [2021-11-11T20:47:38.522Z] + mkdir -p /w/workspace/foundry_device-virtual-go_PR-250/archives/ [2021-11-11T20:47:38.522Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/foundry_device-virtual-go_PR-250/archives/ [Pipeline] echo [2021-11-11T20:47:38.565Z] Launching container with: [--privileged -u 0:0 --net host -v /var/log/sa:/var/log/sa-host -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/foundry_device-virtual-go_PR-250/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2021-11-11T20:47:38.887Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] sh [2021-11-11T20:47:39.877Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2021-11-11T20:47:39.877Z] [2021-11-11T20:47:39.877Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] sh [2021-11-11T20:47:40.878Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2021-11-11T20:47:40.878Z] latest: Pulling from edgex-lftools-log-publisher [2021-11-11T20:47:40.878Z] b4d181a07f80: Pulling fs layer [2021-11-11T20:47:40.878Z] a1111a8f2ec3: Pulling fs layer [2021-11-11T20:47:40.878Z] ed53099fbce6: Pulling fs layer [2021-11-11T20:47:40.878Z] dc539afda2c1: Pulling fs layer [2021-11-11T20:47:40.878Z] 77bc0d833cb6: Pulling fs layer [2021-11-11T20:47:40.878Z] 9065ff56babe: Pulling fs layer [2021-11-11T20:47:40.878Z] d287ab97295c: Pulling fs layer [2021-11-11T20:47:40.878Z] 77bc0d833cb6: Waiting [2021-11-11T20:47:40.878Z] 9065ff56babe: Waiting [2021-11-11T20:47:40.878Z] d287ab97295c: Waiting [2021-11-11T20:47:40.878Z] dc539afda2c1: Waiting [2021-11-11T20:47:40.878Z] a1111a8f2ec3: Verifying Checksum [2021-11-11T20:47:40.878Z] a1111a8f2ec3: Download complete [2021-11-11T20:47:40.878Z] dc539afda2c1: Verifying Checksum [2021-11-11T20:47:40.878Z] dc539afda2c1: Download complete [2021-11-11T20:47:40.878Z] ed53099fbce6: Verifying Checksum [2021-11-11T20:47:40.878Z] ed53099fbce6: Download complete [2021-11-11T20:47:41.138Z] 9065ff56babe: Verifying Checksum [2021-11-11T20:47:41.138Z] 9065ff56babe: Download complete [2021-11-11T20:47:41.138Z] 77bc0d833cb6: Verifying Checksum [2021-11-11T20:47:41.138Z] 77bc0d833cb6: Download complete [2021-11-11T20:47:41.138Z] b4d181a07f80: Verifying Checksum [2021-11-11T20:47:41.138Z] b4d181a07f80: Download complete [2021-11-11T20:47:41.710Z] d287ab97295c: Verifying Checksum [2021-11-11T20:47:41.710Z] d287ab97295c: Download complete [2021-11-11T20:47:42.669Z] b4d181a07f80: Pull complete [2021-11-11T20:47:42.669Z] a1111a8f2ec3: Pull complete [2021-11-11T20:47:43.625Z] ed53099fbce6: Pull complete [2021-11-11T20:47:43.625Z] dc539afda2c1: Pull complete [2021-11-11T20:47:43.886Z] 77bc0d833cb6: Pull complete [2021-11-11T20:47:43.886Z] 9065ff56babe: Pull complete [2021-11-11T20:47:49.202Z] d287ab97295c: Pull complete [2021-11-11T20:47:49.202Z] Digest: sha256:0c69325c24349bfb3ea32a3c3cbcab1fb66df42c981276dd8ebcf6aa441257c4 [2021-11-11T20:47:49.202Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2021-11-11T20:47:49.202Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] withDockerContainer [2021-11-11T20:47:49.889Z] prd-centos7-docker-4c-2g-215 does not seem to be running inside a container [2021-11-11T20:47:49.932Z] $ docker run -t -d -u 1001:1001 --privileged -u 0:0 --net host -v /var/log/sa:/var/log/sa-host -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/foundry_device-virtual-go_PR-250/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-250 -v /w/workspace/foundry_device-virtual-go_PR-250:/w/workspace/foundry_device-virtual-go_PR-250:rw,z -v /w/workspace/foundry_device-virtual-go_PR-250@tmp:/w/workspace/foundry_device-virtual-go_PR-250@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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2021-11-11T20:47:52.114Z] $ docker top 53ede683b1ae44e5f18ca9b6e23d83fe2249fa45835ef119e503705a280ac96a -eo pid,comm [Pipeline] { [Pipeline] sh [2021-11-11T20:47:53.317Z] + touch /tmp/pre-build-complete [Pipeline] sh [2021-11-11T20:47:54.194Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2021-11-11T20:47:55.040Z] + ls /var/log/sa-host [2021-11-11T20:47:55.040Z] + sadf -c /var/log/sa-host/sa11 [2021-11-11T20:47:55.040Z] file_magic: OK [2021-11-11T20:47:55.040Z] HZ: Using current value: 100 [2021-11-11T20:47:55.040Z] file_header: OK [2021-11-11T20:47:55.040Z] file_activity: A_CPU A_PCSW A_SWAP A_PAGE A_IO A_MEMORY A_HUGE A_KTABLES A_QUEUE A_SERIAL A_DISK A_NET_DEV A_NET_EDEV A_NET_NFS A_NET_NFSD A_NET_SOCK OK [2021-11-11T20:47:55.040Z] Statistics: [2021-11-11T20:47:55.040Z] HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... [2021-11-11T20:47:55.040Z] File successfully converted to sysstat format version 12.0.3 [2021-11-11T20:47:55.040Z] + sadf -c /var/log/sa-host/sa30 [2021-11-11T20:47:55.040Z] file_magic: OK [2021-11-11T20:47:55.040Z] HZ: Using current value: 100 [2021-11-11T20:47:55.040Z] file_header: OK [2021-11-11T20:47:55.040Z] file_activity: A_CPU A_PCSW A_SWAP A_PAGE A_IO A_MEMORY A_HUGE A_KTABLES A_QUEUE A_SERIAL A_DISK A_NET_DEV A_NET_EDEV A_NET_NFS A_NET_NFSD A_NET_SOCK OK [2021-11-11T20:47:55.040Z] Statistics: [2021-11-11T20:47:55.040Z] Hnuu...uuuununununu...Hnuu...uuuununununu... [2021-11-11T20:47:55.040Z] File successfully converted to sysstat format version 12.0.3 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-11-11T20:47:57.014Z] provisioning config files... [2021-11-11T20:47:57.026Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/foundry_device-virtual-go_PR-250@tmp/config934564324470678972tmp [Pipeline] { [Pipeline] echo [2021-11-11T20:47:58.092Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2021-11-11T20:48:00.052Z] ---> create-netrc.sh [Pipeline] } [2021-11-11T20:48:00.534Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2021-11-11T20:48:02.732Z] ---> python-tools-install.sh [Pipeline] echo [2021-11-11T20:48:03.105Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2021-11-11T20:48:05.197Z] ---> sudo-logs.sh [2021-11-11T20:48:05.197Z] Archiving 'sudo' log.. [2021-11-11T20:48:05.197Z] sudo: unable to resolve host prd-centos7-docker-4c-2g-215.novalocal: Name or service not known [2021-11-11T20:48:05.197Z] sudo: unable to resolve host prd-centos7-docker-4c-2g-215.novalocal: Name or service not known [Pipeline] unstash [Pipeline] echo [2021-11-11T20:48:06.497Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2021-11-11T20:48:08.623Z] ---> job-cost.sh [2021-11-11T20:48:08.623Z] lf-activate-venv: SKIPPING [2021-11-11T20:48:08.623Z] DEBUG: total: 0.10999999940395355 [2021-11-11T20:48:08.623Z] INFO: Retrieving Stack Cost... [2021-11-11T20:48:09.192Z] INFO: Retrieving Pricing Info for: v3-standard-2 [2021-11-11T20:48:09.454Z] INFO: Archiving Costs [Pipeline] echo [2021-11-11T20:48:10.319Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2021-11-11T20:48:12.013Z] ---> logs-deploy.sh [2021-11-11T20:48:12.013Z] lf-activate-venv: SKIPPING [2021-11-11T20:48:12.013Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-virtual-go/PR-250/1 [2021-11-11T20:48:12.013Z] INFO: archiving workspace using pattern(s): [2021-11-11T20:48:12.960Z] Archives upload complete. [2021-11-11T20:48:12.960Z] INFO: archiving logs to Nexus